* calendar/todos.el: Further code rearrangement and comment
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6be04162
SB
12012-09-22 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Further code rearrangement and comment
4 revision.
5 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
6 (todos-file-buffers): New variable.
7 (todos-reset-global-current-todos-file): Use it to simplify
8 implementation of this function.
9 (todos-filtered): New defgroup.
10 (todos-filter-buffer, todos-top-priorities-buffer)
11 (todos-diary-items-buffer, todos-regexp-items-buffer)
12 (todos-priorities-rules, todos-show-priorities)
13 (todos-filter-files, todos-filter-done-items): Use it.
14 (todos-skip-archived-categories): Rename from
15 todos-ignore-archived-categories and adjust users.
16 (todos-display-as-todos-file): Rename from todos-after-find-file
17 and adjust callers.
18 (todos-reset-highlight-item, todos-mode-external-set)
19 (todos-jump-to-category, todos-jump-to-item)
20 (todos-raise-category-priority, todos-insert-item)
21 (todos-move-item): Use find-file-visiting.
22 (todos-make-categories-list): Use file-truename.
23 (todos-display-categories-1): Adjust title text for archive files;
24 use done label for item counts in archive files.
25 (todos-modes-set-3): Add todos-display-as-todos-file to
26 find-file-hook.
27 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
28 todos-update-buffer-list post-command-hook.
29 (todos-unload-hook): And remove them.
30 (todos-show): Only when interactively invoked from an archive,
31 switch to corresponding Todos file.
32 (todos-archive-done-item): Remove obsolete code; fix handling of
33 marked items; fix search for existing category; check whether
34 archive exists and write to file if not; improve display handling.
35
0833689a
SB
362012-09-21 Stephen Berman <stephen.berman@gmx.net>
37
38 * calendar/todos.el: Further comment revision.
39 (todos-item-end): Replace use of command todos-forward-item by
40 regexp searches using internal variables.
41 (todos-raise-category-priority): Improve and comment.
42 (todos-insert-item): Fix insertion of empty time string.
43
7464f422
SB
442012-09-21 Stephen Berman <stephen.berman@gmx.net>
45
46 * calendar/todos.el (todos-ignore-archived-categories):
47 Revert last change; remove :initialize and :set functions; change
48 use and change users accordingly.
49 (todos-reset-categories, todos-categories-full)
50 (todos-truncate-categories-list): Remove.
51 (todos-set-categories, todos-update-categories-sexp):
52 Use todos-categories instead of todos-categories-full; remove use
53 of todos-ignore-archived-categories and
54 todos-truncate-categories-list.
55 (todos-check-format, todos-repair-categories-sexp):
56 Use todos-categories instead of todos-categories-full.
57 (todos-read-category): Improve last change.
58 (todos-validate-name): Use completing-read.
59 (todos-categories-category-number): Rename from
60 todos-category-number and adjust users.
61 (todos-update-categories-display, todos-mode-external-set)
62 (todos-delete-category, todos-move-category, todos-merge-category)
63 (todos-unarchive-items): Remove use of todos-categories-full and
64 todos-ignore-archived-categories.
65 (todos-modes-set-3, todos-add-category): Remove use of
66 todos-categories-full.
67 (todos-edit-mode): Fix typo.
68 (todos-forward-category): Use todos-ignore-archived-categories.
69
4de20201
SB
702012-09-21 Stephen Berman <stephen.berman@gmx.net>
71
72 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
73 (todos-ignore-archived-categories): Change default value.
74
459c6e93
SB
752012-09-21 Stephen Berman <stephen.berman@gmx.net>
76
77 * calendar/todos.el: Further comment revision.
78 (todos-reset-global-current-todos-file):
79 Try to make this not slow down kill-buffer.
80 (todos-update-categories-sexp): Handle the case where there is no
81 categories sexp yet, i.e. after inserting the first item in the
82 file, so todos-display-categories works.
83 (todos-read-file-name): Improve implementation.
84 (todos-validate-name): Use variable todos-files.
85 (todos-category-number): New variable.
86 (todos-insert-category-line, todos-update-categories-display)
87 (todos-raise-category-priority): Use it.
88 (todos-add-file): Remove unused remnant code.
89
2a9e69d6
SB
902012-09-21 Stephen Berman <stephen.berman@gmx.net>
91
92 * calendar/todos.el: Further comment revision.
93 (todos-set-item-top-priority): New command.
94 (todos-reset-global-current-todos-file):
95 Use todos-files-function instead of todos-files.
96 (todos-read-category): Add optional argument to test whether
97 caller adds new category; if so, don't prompt for new category and
98 don't restore original todos-categories list.
99 (todos-categories-mode-map): Update to renamed commands.
100 (todos-filter-items-mode-map): Add binding for new command.
101 (todos-mode): Fix typo.
102 (todos-show): If called from archive file, show corresponding
103 category in Todos file, if it exists.
104 (todos-jump-to-category): Remove code to add new category, since
105 todos-read-category can do that.
106 (todos-add-file): Remove obsolete code; visit new file in selected
107 window.
108 (todos-add-category): Simplify.
109 (todos-rename-category): Use force-mode-line-update instead of
110 setting mode-line-buffer-identification.
111 (todos-delete-category): Improve logic of prompts; use
112 todos-categories-full and check todos-ignore-archived-categories.
113 (todos-raise-category-priority, todos-lower-category-priority):
114 Rename from todos-{raise,lower}-category and adjust callers.
115 (todos-move-category, todos-merge-category):
116 Set todos-categories-full; on setting todos-categories check
117 todos-ignore-archived-categories.
118 (todos-insert-item): Let-bind use-empty-active-region and use
119 use-region-p instead of transient-mark-mode.
120 (todos-raise-item-priority): Improve implementation.
121 (todos-archive-done-item): Rename from
122 todos-archive-done-item-or-items and adjust callers; confine to
123 Todos mode.
124 (todos-unarchive-items): On setting todos-categories check
125 todos-ignore-archived-categories.
126
47011bed
SB
1272012-09-21 Stephen Berman <stephen.berman@gmx.net>
128
129 * calendar/todos.el (todos-key-bindings): Remove binding of
130 deleted command.
131 (todos-menu): Remove entry of deleted command.
132 (todos-show-archive): Fix last change.
133 (todos-done-item-add-or-edit-comment): Rename from
134 todos-comment-done-item and adjust callers; prompt to edit an
135 existing comment.
136
3af3cd0b
SB
1372012-09-21 Stephen Berman <stephen.berman@gmx.net>
138
2a9e69d6 139 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
140 todos-toggle-show-current-file and adjust callers.
141 (todos-number-priorities): Rename from todos-number-prefix and
142 adjust users.
143 (todos-update-count): Rename from todos-set-count and adjust
144 callers.
145 (todos-hide-show-item-numbering): Rename from
146 todos-toggle-item-numbering and adjust callers.
147 (todos-hide-show-done-items): Rename from
148 todos-toggle-view-done-items and adjust callers.
149 (todos-show-done-only): Rename from todos-toggle-show-done-only.
150 (todos-view-archived-items): Comment out.
151 (todos-show-archive): Prompt to choose another archive file if
152 current Todos file lacks an archive; prompt to visit archive
153 anyway when current category has no archived items.
154
78fe7289
SB
1552012-09-21 Stephen Berman <stephen.berman@gmx.net>
156
157 * calendar/todos.el: Further comment revision and code
158 rearrangement.
159 (todos-item-end): Revert last change.
160 (todos-key-bindings, todos-menu, todos-archive-mode-map)
161 (todos-filter-items-mode-map): Use renamed commands.
162 (todos-hide-show-date-time): Rename from
163 todos-toggle-display-date-time.
164 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
165 adjust caller.
166 (todos-backward-item): Exempt special handling only from
167 todos-regexp-items-buffer instead of todos-filter-items-mode.
168 (todos-raise-item-priority): Don't allow item reprioritizing in
169 Todos filter items mode except for top priority items.
170
520d912e
SB
1712012-09-21 Stephen Berman <stephen.berman@gmx.net>
172
173 * calendar/todos.el: Add and revise further doc strings and
174 comments.
175 (todos-filter-function, todos-custom-items)
176 (todos-custom-items-multifile): Remove.
177 (todos-filter-done-items): New defcustom.
178 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
179 (todos-filter-items): Check return value of caller first; tag
180 archived items for todos-jump-to-item; delete categories sexp
181 before processing filter; check todos-filter-done-items for
182 whether to leave done items; remove custom filter; fix regexp for
183 file and category tags; don't invoke buffer fontification.
184 (powerset-recursive): Fix typo.
185 (todos-key-bindings): Remove unused bindings.
186 (todos-top-priorities-multifile, todos-diary-items-multifile)
187 (todos-regexp-items-multifile): Use variable todos-multiple-files.
188 (todos-jump-to-item): Fix regexp; handle archive tags; take
189 todos-filter-done-items into account.
190 (todos-insert-item-from-calendar): Relocate to end of file
191 together with key-binding as addition to calendar.el.
192
0e89c3fc
SB
1932012-09-20 Stephen Berman <stephen.berman@gmx.net>
194
520d912e 195 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
196 comments; major code rearrangement.
197 (todos-merged-files, todos-prompt-merged-files)
198 (todos-print-priorities, todos-tmp-buffer-name)
199 (todos-top-priorities-widgets, todos-update-merged-files)
200 (todos-merged-top-priorities, todos-merged-diary-items)
201 (todos-merged-regexp-items, todos-merged-custom-items)
202 (todos-raw-mode, todos-change-default-file)
203 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
204 (todos-toggle-diary-nonmarking, todos-validate-category-name):
205 Remove.
206 (todos-category-string-matcher): Comment out.
207 (todos-categories): New defgroup.
208 (todos-initial-file, todos-filter-buffer)
209 (todos-top-priorities-buffer, todos-categories-category-label)
210 (todos-diary-items-buffer, todos-regexp-items-buffer)
211 (todos-custom-items-buffer, todos-filter-files)
212 (todos-highlight-item, todos-todo-mode-date-time-regexp):
213 New defcustoms.
214 (todos-diary-expired): New face.
215 (todos-print-buffer, todos-multiple-files)
216 (todos-multiple-files-widget, todos-key-bindings): New variables.
217 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
218 (todos-special-buffer-name)
219 (todos-reevaluate-filter-files-defcustom)
220 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
221 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
222 (todos-diary-expired-matcher, todos-category-string-matcher-1)
223 (todos-category-string-matcher-2, todos-repair-categories-sexp)
224 (todos-validate-name, todos-multiple-files)
225 (todos-display-categories-1, todos-update-categories-display)
226 (todos-modes-set-3, todos-mode-external-set): New functions.
227 (todos-set-top-priorities-in-file)
228 (todos-set-top-priorities-in-category)
229 (todos-top-priorities-multifile, todos-diary-items-multifile)
230 (todos-regexp-items-multifile, todos-custom-items-multifile)
231 (todos-convert-legacy-files, todos-jump-to-item)
232 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
233 (todos-edit-item-diary-inclusion)
234 (todos-edit-category-diary-inclusion)
235 (todos-edit-item-diary-nonmarking)
236 (todos-edit-category-diary-nonmarking): New commands.
237 (todos, todos-faces): Update :version.
238 (todos-done-separator, todos-completion-ignore-case):
239 Change default value.
240 (todos-done-separator): Change :set function.
241 (todos-indent-to-here): Add :validate function to :type.
242 (todos-prefix-string, todos-mark, todos-button)
243 (todos-sorted-column, todos-archived-only, todos-search)
244 (todos-done, todos-done-sep): Provide full face definitions
245 instead of inheriting.
246 (todos-edit-buffer, todos-categories-buffer): Change from
247 defcustom to defvar.
248 (todos-category-beg, todos-category-done): Change from defvar to
249 defconst.
250 (todos-files): Check if todos-files-directory exists.
251 (todos-default-todos-file, todos-mode-line-control, todos-print):
252 Use todos-short-file-name.
253 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
254 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
255 todos-category-string-matcher-2, todos-diary-expired-matcher.
256 (todos-category-select): Use todos-done-string-start, and
257 condition search on todos-show-with-done; don't make display
258 overlay for done items separator string if there already is one;
259 use todos-highlight-item, require hl-line and activate
260 hl-line-mode here in order to avoid a hang if done in todos-mode
261 or the mode hook.
262 (todos-update-categories-sexp): Use todos-categories-full if set,
263 otherwise todos-categories.
264 (todos-make-categories-list): Don't test for archive file when
265 processing a legacy todo-mode file.
266 (todos-check-format): Add check for todos-categories sexp.
267 (todos-diary-item-p): Use todos-nondiary-start instead of
268 todos-date-pattern.
269 (todos-marked-item-p): Rename from todos-item-marked-p.
270 (todos-read-file-name): Don't accept empty name; validate.
271 (todos-read-category): Validate new name before prompting whether
272 to add new category; force quit if user answers no.
273 (todos-filter-items): Improve implementation.
274 (todos-set-top-priorities): Rewrite as a noninteractive function
275 using minibuffer input instead of widgets.
276 (todos-insert-sort-button): Call todos-display-sorted with
277 argument nil to display categories in numerical order, instead of
278 calling todos-display-categories.
279 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
280 Common Lisp powerset function at
281 http://rosettacode.org/wiki/Power_set#Common_Lisp.
282 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
283 powerset function at http://rosettacode.org/wiki/Power_set#C.
284 (todos-powerset): Defalias to powerset-bitwise.
285 (todos-mode-map): Generate from todos-key-bindings instead of
286 listing each key definition.
287 (todos-categories-mode-map): Add two bindings.
288 (todos-filter-items-mode-map): Add some bindings, remove others.
289 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
290 function setting todos-done-separator to
291 window-configuration-change-hook.
292 (todos-unload-hook): Remove function setting todos-done-separator
293 from window-configuration-change-hook.
294 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
295 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
296 (todos-categories-mode): Derive from special-mode; use
297 todos-mode-external-set.
298 (todos-filter-items-mode): Derive from special-mode.
299 (todos-quit): Save archive file if it hasn't yet been saved.
300 (todos-display-categories): Delegate all functionality to
301 todos-display-categories-1 and todos-update-categories-display.
302 (todos-toggle-view-done-items): Improve implementation.
303 (todos-highlight-item): Require hl-line.
304 (todos-toggle-display-date-time): Remove argument and make it
305 apply only to whole file.
306 (todos-top-priorities, todos-diary-items, todos-regexp-items)
307 (todos-custom-items): Use todos-special-buffer-name.
308 (todos-add-file): Use todos-short-file-name and
309 todos-reevaluate-defcustoms; remove validation, since it's now
310 done in todos-read-file-name.
311 (todos-add-category): Also update todos-categories-full if non-nil.
312 (todos-delete-category): Delete file after confirmation if only
313 category is deleted.
314 (todos-move-category): Use todos-short-file-name and
315 todos-reevaluate-defcustoms.
316 (todos-insert-item): Fix getting date from the calendar and
317 insertion of time string.
318 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
319 display of diary entries.
320 (todos-edit-multiline): Add optional argument to restrict editing
321 buffer to current item, otherwise make entire buffer (i.e. whole
322 file) editable.
323 (todos-edit-quit): When whole file is editable, check file format
324 validity before killing buffer, and if valid, recalculate
325 categories sexp to be safe.
326 (todos-edit-item-header): Allow choosing date from calendar.
327 (todos-item-done): Handle marked items.
328
697bd4a3
SB
3292012-09-19 Stephen Berman <stephen.berman@gmx.net>
330
331 * calendar/todos.el (todos-item-start): Restore commented out code
332 to prevent wrongly moving point in widened buffer.
333
58c7641d
SB
3342012-09-19 Stephen Berman <stephen.berman@gmx.net>
335
336 * calendar/todos.el: Remove old commentary from todo-mode.el; add
337 and revise further doc strings and comments; require cl.el at
338 compile time for remove-duplicates; use function powerset from
339 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
340 code rearrangement. Add adapted version of diary-goto-entry as comment.
341 (todos-file-top, todos-archived-categories-buffer)
342 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
343 (todos-save-top-priorities, todos-reset-separator)
344 (todos-switch-todos-file, todos-item-string-start, todos-counts)
345 (todos-string-count-lines, todos-string-multiline-p)
346 (todos-display-categories-alphabetically): Remove.
347 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
348 (todos-insert-item-ask-date-time-for-diary)
349 (todos-insert-item-ask-date-time-for-diary-here)
350 (todos-insert-item-ask-date-time-here)
351 (todos-insert-item-ask-date-maybe-notime)
352 (todos-insert-item-ask-date-maybe-notime-for-diary)
353 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
354 (todos-insert-item-ask-date-maybe-notime-here)
355 (todos-insert-item-ask-date-for-diary)
356 (todos-insert-item-ask-date-for-diary-here)
357 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
358 (todos-insert-item-ask-dayname-time)
359 (todos-insert-item-ask-dayname-time-for-diary)
360 (todos-insert-item-ask-dayname-time-for-diary-here)
361 (todos-insert-item-ask-dayname-time-here)
362 (todos-insert-item-ask-dayname-maybe-notime)
363 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
364 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
365 (todos-insert-item-ask-dayname-maybe-notime-here)
366 (todos-insert-item-ask-dayname-for-diary)
367 (todos-insert-item-ask-dayname-for-diary-here)
368 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
369 (todos-insert-item-ask-time-for-diary)
370 (todos-insert-item-ask-time-for-diary-here)
371 (todos-insert-item-ask-time-here)
372 (todos-insert-item-maybe-notime)
373 (todos-insert-item-maybe-notime-for-diary)
374 (todos-insert-item-maybe-notime-for-diary-here)
375 (todos-insert-item-maybe-notime-here)
376 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
377 (todos-insert-item-here): Remove; all of these are now generated
378 on loading (some with the same name, most with other names.)
379 (todos-item-counts, todos-display-categories-alphabetically)
380 (todos-display-categories-sorted-by-todo)
381 (todos-display-categories-sorted-by-diary)
382 (todos-display-categories-sorted-by-done)
383 (todos-display-categories-sorted-by-archived): Comment out.
384 (todos-comment-string, todos-mode-line-function)
385 (todos-filter-function, todos-priorities-rules)
386 (todos-visit-files-commands, todos-categories-totals-label)
387 (todos-use-only-highlighted-region, todos-diary-nonmarking):
388 New defcustoms.
389 (todos-mark, todos-comment): New faces.
390 (todos-comment-face): Corresponding new variable.
391 (todos-categories-full, todos-global-current-todos-file)
392 (todos-first-visit, todos-insertion-commands-args-genlist)
393 (todos-insertion-commands-args, todos-insertion-commands-names)
394 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
395 (todos-top-priorities-widgets, todos-date-from-calendar)
396 (todos-item-mark, todos-categories-with-marks): New variables.
397 (todos-mode-line-control, todos-reset-global-current-todos-file)
398 (todos-gen-arglists, todos-insertion-command-name)
399 (todos-insertion-key-bindings, todos-unload-hook)
400 (todos-filter-items, todos-set-date-from-calendar)
401 (todos-comment-string-matcher, todos-after-find-file)
402 (todos-reset-nondiary-marker, todos-reset-done-string)
403 (todos-reset-comment-string, todos-show-current-file)
404 (todos-item-marked-p, todos-total-item-counts): New functions.
405 (todos-define-insertion-command): New macro.
406 (todos-toggle-mark-item, todos-mark-category)
407 (todos-unmark-category, todos-set-top-priorities)
408 (todos-merged-diary-items, todos-regexp-items)
409 (todos-merged-regexp-items, todos-custom-items)
410 (todos-merged-custom-items, todos-comment-done-item)
411 (todos-archive-category-done-items, todos-unarchive-items)
412 (todos-print-to-file): New commands.
413 (todos-done-separator): Change :set function.
414 (todos-done-string): Uncomment :initialize and :set functions.
415 (todos-files): Use file-truename.
416 (todos-show-current-file): Rename from
417 todos-auto-switch-todos-file and change :set function accordingly.
418 (todos-font-lock-keywords): Use todos-comment-string-matcher;
419 change names of other matcher functions to new *-matcher.
420 (todos-category-number): Change initial value.
421 (todos-insertion-map): Use todos-insertion-key-bindings to
422 generate key definitions.
423 (todos-mode-map): Don't suppress digit keys, so they can supply
424 prefix arguments; add new and change some existing bindings.
425 (todos-archive-mode-map): Change a key binding.
426 (todos-categories-mode-map): Comment out a key binding.
427 (todos-filter-items-mode-map): Rename from
428 todos-top-priorities-mode-map.
429 (todos-mode): Make todos-current-todos-file,
430 todos-categories-full, todos-categories, todos-first-visit,
431 todos-category-number, todos-show-done-only,
432 todos-categories-with-marks local variables and set them; add
433 todos-show-current-file to pre-command-hook, todos-after-find-file
434 to post-command-hook and todos-reset-global-current-todos-file to
435 kill-buffer-hook.
436 (todos-archive-mode): Make todos-current-todos-file,
437 todos-categories and todos-category-number local variables and set
438 them; add todos-after-find-file to post-command-hook.
439 (todos-raw-mode): New derived major mode.
440 (todos-categories-mode): Don't set font-lock-defaults and
441 buffer-read-only; make todos-current-todos-file and
442 todos-categories local variables and set them.
443 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
444 (todos-quit): Don't reset todos-categories on quitting
445 todos-categories-mode; handle quitting todos-filter-items-mode.
446 (todos-show): Simplify; when visiting an archive file switch to
447 corresponding Todos file; use todos-first-visit.
448 (todos-view-archived-items): Simplify; call todos-category-number.
449 (todos-show-archive): Rename from todos-switch-to-archive and
450 adjust callers; simplify.
451 (todos-toggle-display-date-time): Add optional argument to toggle
452 display in entire file.
453 (todos-top-priorities): Use todos-filter-items, which now contains
454 the previous core of this command.
455 (todos-merged-top-priorities, todos-diary-items):
456 Use todos-filter-items.
457 (todos-forward-category): Add optional argument to go to the
458 previous category.
459 (todos-backward-category): Use todos-forward-category.
460 (todos-jump-to-category): Refine implementation.
461 (todos-forward-item, todos-backward-item): Fix movement from todo
462 to done item and vice versa.
463 (todos-add-file): Remove argument and simplify.
464 (todos-rename-category): Use todos-current-todos-file and
465 todos-mode-line-function; set todos-categories with
466 todos-set-categories.
467 (todos-delete-category): Ask what to do if category has archived items.
468 (todos-raise-category): Ensure modified todos-categories is added
469 to file's categories sexp.
470 (todos-move-category): Improve implementation, especially handling
471 of archived categories.
472 (todos-merge-category): Tweak; set item counts.
473 (todos-insert-item): Improve handling of various argument values;
474 add new argument values to control marking of diary items and to
475 use region for item body.
476 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
477 (todos-delete-item, todos-edit-item-header): Handle marked items.
478 (todos-edit-item): Incorporate functionality of removed
479 todos-string-multiline-p.
480 (todos-edit-multiline): Use set-window-buffer instead of
481 switch-to-buffer.
482 (todos-edit-quit): Don't save on quitting; use todos-show instead
483 of todos-category-select.
484 (todos-raise-item-priority): Add argument to lower priority;
485 improve handling of top priority items in todos-filter-items-mode;
486 restore marks.
487 (todos-lower-item-priority): Use todos-raise-item-priority.
488 (todos-set-item-priority): Increment maximum number if item is new.
489 (todos-move-item): Handle marked items; delay changing category
490 moved from till after movement to avoid restoring if user cancels
491 before insertion.
492 (todos-item-done): Add optional argument to insert comment; fix
493 item counts and update sexp.
494 (todos-item-undo): Fix item counts and update.
495 (todos-archive-done-item-or-items): Rename from
496 todos-archive-done-items; add optional argument to archive all
497 items in category; handle marked items.
498 (todos-unarchive-category): Use todos-unarchive-items.
499 (todos-toggle-diary-inclusion): Incorporate functionality of
500 removed todos-toggle-item-diary-inclusion; handle marked items.
501 (todos-print): Add optional argument to print to file.
502 (todos-done-string-start): Don't use todos-nondiary-start.
503 (todos-date-string-matcher, todos-time-string-matcher)
504 (todos-done-string-matcher, todos-category-string-matcher): Rename
505 from *-match and adjust callers.
506 (todos-wrap-and-indent): Use set instead of setq for local variables.
507 (todos-prefix-overlays): Improve overlay handling.
508 (todos-reset-categories): Fix and complete implementation.
509 (todos-toggle-show-current-file): Rename from
510 todos-toggle-switch-todos-file-noninteractively.
511 (todos-category-select): Use todos-mode-line-function.
512 (todos-item-start): Comment out code used by removed function.
513 (todos-remove-item): Handle presence of both prefix/number and
514 mark overlays.
515 (todos-get-count): Simplify.
516 (todos-set-count): Change argument list and adjust callers; simplify.
517 (todos-set-categories): Handle new archive files; use
518 todos-categories-full and todos-ignore-archived-categories.
519 (todos-truncate-categories-list): Use todos-categories-full.
520 (todos-update-categories-sexp): Use kill-region instead of
521 kill-line; use todos-categories-full.
522 (todos-read-file-name): Add argument to require existing file and
523 adjust callers; use file-truename.
524 (todos-read-category): Remove argument to require existing
525 category and delegate it to completing-read in function body.
526 (todos-validate-category-name): Make empty string prompt only for
527 initial category name.
528 (todos-read-date): Use = instead of eq for testing if month = 13,
529 and if it is, set monthname to *.
530 (todos-display-categories): Use todos-global-current-todos-file;
531 use set-window-buffer instead of switch-to-buffer; add a line
532 showing item count totals.
533 (todos-padded-string): Use the longest of category name or label.
534 (todos-descending-counts): Rename from
535 todos-descending-counts-store and adjust users.
536 (todos-insert-category-line): Adjust format; use mapconcat; kill
537 buffer after jumping to category.
538
d04d6b95
SB
5392012-09-18 Stephen Berman <stephen.berman@gmx.net>
540
541 * calendar/todos.el Add and revise various doc strings, remove
542 further commented out code; add further comments; further code
543 rearrangement.
544 (todos-file-do, todos-archive-file, todos-mode-hook)
545 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
546 (todos-view-archive, todos-search-string)
547 (todos-jump-to-category-noninteractively, todos-initial-setup):
548 Remove.
549 (todos-files): Remove this defcustom.
550 (todos-initial-category, todos-display-categories-first)
551 (todos-auto-switch-todos-file, todos-default-todos-file)
552 (todos-categories-category-label, todos-categories-todo-label)
553 (todos-categories-diary-label, todos-categories-done-label)
554 (todos-categories-archived-label)
555 (todos-categories-number-separator, todos-categories-align)
556 (todos-ignore-archived-categories, todos-nondiary-marker):
557 New defcustoms.
558 (todos-prefix, todos-done-separator, todos-file-top)
559 (todos-categories-buffer, todos-archived-categories-buffer)
560 (todos-edit-buffer, todos-always-add-time-string, todos-button):
561 Change default value.
562 (todos-done-string): Add todos-reset-done-string as :set function,
563 but keep this commented out.
564 (todos-files, todos-archives, todos-insertion-map)
565 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
566 (todos-show-done-only, todos-date-string-start)
567 (todos-done-string-start): New variables.
568 (todos-files-directory, todos-files-function, todos-merged-files)
569 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
570 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
571 (todos-toggle-switch-todos-file-noninteractively)
572 (todos-switch-todos-file, todos-counts, todos-get-count)
573 (todos-set-count, todos-set-categories)
574 (todos-truncate-categories-list, todos-update-categories-sexp)
575 (todos-read-file-name, todos-sort, todos-display-sorted)
576 (todos-label-to-key, todos-insert-sort-button): New functions.
577 (todos-display-categories-sorted-by-todo)
578 (todos-display-categories-sorted-by-diary)
579 (todos-display-categories-sorted-by-done)
580 (todos-display-categories-sorted-by-archived)
581 (todos-update-merged-files, todos-switch-to-archive)
582 (todos-choose-archive, todos-merged-top-priorities)
583 (todos-jump-to-category-other-file, todos-clear-matches)
584 (todos-add-file, todos-change-default-file, todos-move-category)
585 (todos-merge-category, todos-merge-categories)
586 (todos-edit-item-time, todos-move-item-to-file)
587 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
588 (todos-toggle-diary-nonmarking): New commands.
589 (todos-toggle-show-done-only): New command replacing todos-view-archive.
590 (todos-faces): New defgroup; use in all face definitions.
591 (todos-sorted-column, todos-archived-only, todos-search): New faces.
592 (todos-font-lock-keywords): Use subexpression 1 with matcher
593 todos-category-string-match.
594 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
595 (todos-categories-mode-map): Add new key bindings; change some
596 existing bindings.
597 (todos-top-priorities-mode-map): New keymap.
598 (todos-menu): Add submenues and new entries.
599 (auto-mode-alist): Add extension of Todos and Todos archive files.
600 (todos-mode, todos-archive-mode): Make derived mode; use
601 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
602 and todos-switch-todos-file; make todos-show-done-only local
603 variable.
604 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
605 (todos-categories-mode): Make derived mode.
606 (todos-top-priorities-mode): New derived major mode.
607 (todos-save): Remove unused code.
608 (todos-quit): Handle todos-categories-mode; save archive buffer.
609 (todos-show): Add optional argument to prompt for a Todos file; if
610 called interactively or with prefix arg or from an archive, don't
611 make a no-op but reset todos-current-todos-file, todos-categories
612 and todos-category-number; use todos-read-file-name,
613 todos-display-categories-first, todos-ignore-archived-categories.
614 (todos-display-categories): Change argument name; refactor code
615 for inserting table labels and lines, using
616 todos-ignore-archived-categories, todos-sort,
617 todos-categories-number-separator, todos-insert-sort-button,
618 todos-categories-*-labels, and todos-insert-category-line.
619 (todos-display-categories-alphabetically): Use todos-display-sorted.
620 (todos-toggle-view-done-items): Use todos-done-string-start and
621 todos-get-count.
622 (todos-toggle-display-date-time): Use todos-done-string-start.
623 (todos-top-priorities): Remove autoload cookie; partially rewrite:
624 new argument list; allow combining top priorities of multiple
625 Todos files; change display to include category (and file) name as
626 part of item header; use todos-top-priorities-mode.
627 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 628 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
629 1-based numbering of categories; move point to top of category.
630 (todos-jump-to-category): Rewrite, adding optional arguments to
631 provide a category in non-interactive uses and to prompt for which
632 Todos file to jump to.
633 (todos-search): Reimplement; highlight each match as found, say
634 how many matches remain and prompt whether to go to next one; at
635 end of search prompt whether to remove highlighting.
636 (todos-add-category): Remove autoload cookie; assign new category
637 the highest category number; associate zero-initialized vector of
638 item counts, instead of property list, with new category; use
639 todos-validate-category-name and todos-update-categories-sexp.
640 (todos-rename-category): Use todos-validate-category-name and
641 todos-update-categories-sexp; take archive files into account.
642 (todos-delete-category): Use todos-get-count and
643 todos-update-categories-sexp, let-bind variable that were
644 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
645 adjust to 1-based numbering of categories; move point to top of
646 category.
d04d6b95
SB
647 (todos-raise-category): Handle item count vectors; use
648 todos-insert-category-line and todos-update-categories-sexp.
649 (todos-insert-item): Use nil time-string argument to omit time
650 string; use todos-nondiary-start and todos-nondiary-end and
651 todos-update-categories-sexp; if category named to insert into
652 does not exist, add it; take new diary items into account.
653 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
654 (todos-insert-item-ask-date-time-for-diary)
655 (todos-insert-item-ask-date-time-for-diary-here)
656 (todos-insert-item-ask-date-time-here)
657 (todos-insert-item-ask-date-maybe-notime)
658 (todos-insert-item-ask-date-maybe-notime-for-diary)
659 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
660 (todos-insert-item-ask-date-maybe-notime-here)
661 (todos-insert-item-ask-date-for-diary)
662 (todos-insert-item-ask-date-for-diary-here)
663 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
664 (todos-insert-item-ask-dayname-time)
665 (todos-insert-item-ask-dayname-time-for-diary)
666 (todos-insert-item-ask-dayname-time-for-diary-here)
667 (todos-insert-item-ask-dayname-time-here)
668 (todos-insert-item-ask-dayname-maybe-notime)
669 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
670 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
671 (todos-insert-item-ask-dayname-maybe-notime-here)
672 (todos-insert-item-ask-dayname-for-diary)
673 (todos-insert-item-ask-dayname-for-diary-here)
674 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
675 (todos-insert-item-ask-time-for-diary)
676 (todos-insert-item-ask-time-for-diary-here)
677 (todos-insert-item-ask-time-here)
678 (todos-insert-item-maybe-notime)
679 (todos-insert-item-maybe-notime-for-diary)
680 (todos-insert-item-maybe-notime-for-diary-here)
681 (todos-insert-item-maybe-notime-here)
682 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
683 New insertion commands.
684 (todos-insert-item-from-calendar): Use todos-current-todos-file.
685 (todos-delete-item): Handle diary items;
686 use todos-update-categories-sexp.
687 (todos-edit-item): Check if point is with item string;
688 use read-string instead of read-from-minibuffer;
689 use todos-date-string-start; after editing put point at start of
690 item text.
691 (todos-edit-multiline): Narrow to item before invoking
692 todos-edit-mode; show key binding of todos-edit-quit in a message.
693 (todos-edit-quit): Use todos-save; kill buffer.
694 (todos-edit-item-header): Add optional argument to prompt for
695 editing only date string or only time string;
696 use todos-date-string-start.
697 (todos-edit-item-date, todos-edit-item-date-is-today)
698 (todos-raise-item-priority, todos-lower-item-priority): Rename
699 from todos-{raise, lower}-item and make them DTRT in
700 todos-top-priorities-mode.
701 (todos-set-item-priority): Make interactive; use todos-get-count
702 and todos-insert-with-overlays; interactively, just relocate the
703 item within its category.
704 (todos-move-item): Add optional argument to prompt for a category
705 in another Todos file; handle diary items; fix restoration after
706 cancelling before inserting.
707 (todos-item-done): Handle diary items; simplify handling of
708 insertion in done items section.
709 (todos-item-undo): Handle diary items.
58c7641d 710 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
711 files (in parallel with Todos files); handle diary items; use
712 todos-done-string-start.
713 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
714 todos-nondiary-end and todos-item-counts.
715 (todos-toggle-diary-inclusion): Use todos-category-done instead of
716 todos-category-end.
717 (todos-print): Remove autoload cookie; rewrite to make overlays,
718 line wrapping and wrap prefixes printable.
719 (todos-date-pattern): Make parenthesized groups shy.
720 (todos-date-string-match): Use todos-date-string-start; make
721 todos-date-pattern an explicitly numbered group.
722 (todos-time-string-match): Use todos-date-string-start.
723 (todos-done-string-match): Use todos-done-string-start.
724 (todos-category-string-match): Rewrite to match new category and
725 category+filename patterns in todos-top-priorities-mode.
726 (todos-prefix-overlays): Use todos-done-string-start and
727 todos-category-done.
728 (todos-reset-prefix): Handle archive files; restore point after
729 changing prefix.
730 (todos-reset-separator): Handle archive files.
731 (todos-category-number): Make category number one more than its
732 list index.
58c7641d 733 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
734 (todos-category-select): Simplify handling of done items and done
735 separator string overlay.
736 (todos-item-start): Use todos-date-string-start and
737 todos-done-string-start.
738 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
739 (todos-item-string): Restore point after getting item bounds; use
740 buffer-substring-no-properties.
741 (todos-done-item-p): Use todos-done-string-start.
742 (todos-make-categories-list): Add optional argument to force
743 looping through file to get categories and their item counts,
744 otherwise set todos-categories from sexp in first line; use
745 vectors of item counts instead of plists; count diary items.
746 (todos-item-counts): Use todos-counts, todos-set-counts,
747 todos-get-counts, and todos-update-categories-sexp instead of
748 getting and setting properties; handle diary items.
749 (todos-read-category): Add argument to set prompt; don't offer
750 default category.
751 (todos-validate-category-name): Rename from
752 todos-check-category-name; take into account whether there are
753 already categories or not.
754 (todos-read-date): Accept `*' as an unspecified month, day, or year.
755 (todos-padded-string): Accommodate new structure of
756 todos-categories as alists; use todos-categories-align.
757 (todos-descending-counts-store): New variable.
758 (todos-insert-category-line): Rename from
759 todos-insert-category-name and reimplement using labels and
760 todos-get-counts instead of properties; use
761 todos-ignore-archived-categories; highlight sorted column.
762
f730d273
SB
7632012-09-14 Stephen Berman <stephen.berman@gmx.net>
764
765 * calendar/todos.el Remove lots of commented out code; add various
766 comments; further code rearrangement.
767 (todos-insert-item-here-ask-date-time)
768 (todos-insert-item-ask-date-time)
769 (todos-insert-item-ask-dayname-time)
770 (todos-insert-item-for-diary)
771 (todos-insert-item-for-diary-ask-date-time)
772 (todos-make-categories-alist, todos-categories-alist): Remove.
773 (todos-categories-list): Comment out.
774 (todos-make-categories-list): New function replacing
775 todos-make-categories-alist, using category plists to get item
776 counts and taking archive into account.
777 (todos-current-todos-file): New variable.
778 (todos-mode-map): Update key bindings.
779 (todos-save): Add as comment code to make sure todos-categories
780 sexp is current on saving.
781 (todos-quit): Call todos-show on quitting Todos archive buffer.
782 (todos-show): If todos-current-todos-file is not set to Todos
783 file, set it as a new file; set todos-categories from
784 todos-make-categories-alist.
785 (todos-display-categories): Use a different display format for
786 archive file; put point initially on the first button.
787 (todos-toggle-view-done-items): Check the category's `done'
788 property to determine if there are done items.
789 (todos-view-archive): Set todos-current-todos-file to the archive
790 file; jump from the Todos file to the same category in the
791 archive, if it exists, else jump to the first category; use
792 message instead of error.
793 (todos-add-category): Intern a special symbol for the new category
794 and set its property list to holds counts of the numbers of todo,
795 done and archived items in the category; assign the new category
796 the current highest category number.
797 (todos-rename-category): Don't use todos-categories-alist.
798 (todos-delete-category): Check the category's `todo' and `done'
799 properties to determine if it is empty; ensure that the end of the
800 last category is found; after deleting the category, empty its
801 plist and unintern its special symbol.
802 (todos-insert-item-here): Fix argument list of todos-insert-item.
803 (todos-delete-item, todos-raise-item, todos-lower-item):
804 Use message instead of error.
805 (todos-move-item): If the category to be moved to does not exist,
806 add it as a new category.
807 (todos-item-done, todos-reset-separator):
808 Use todos-category-select instead of todos-show.
809 (todos-archive-done-items): Make buffer writeable; conditionalize
810 search for end of category; save after adding to archive in case
811 the file is new, so it can be found.
812 (todos-category-select): Wrap search in if instead of or+and;
813 don't hide done items in an archive.
814 (todos-set-item-priority): Check the category's `todo'
815 property to determine if there are not done todo items.
816 (todos-jump-to-category-noninteractively): Just switch to buffer
817 visiting todos-current-todos-file, since this can be either a
818 Todos file or an archive.
819 (todos-item-counts): Use category's plist instead of an alist.
820 (todos-longest-category-name-length): Argument is now a list of
821 category names, not an alist, so just test each element, not each
822 element's the car.
823 (todos-padded-string): Use todos-categories instead of
824 todos-categories-alist.
825 (todos-insert-category-name): Use category plist to get item
826 counts; take archived items into account.
827
ee7412e4
SB
8282012-09-13 Stephen Berman <stephen.berman@gmx.net>
829
830 * calendar/todos.el: Numerous spelling and comment fixes, doc
831 string fixes to conform with checkdoc, further rearrangement of
832 definitions, etc.
833 (todos-previous-line, todos-previous-answer)
834 (todos-insert-item-ask-date, todos-change-date)
835 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
836 (todos-count-items-in-category, todos-count-all-items): Remove.
837 (todos-update-numbered-prefix, todos-item-start-overlays)
838 (todos-add-item-non-interactively): Comment out, also in uses.
839 (todos-done-separator): Change default value.
840 (todos-always-add-time-string): Rename from todos-add-time-string
841 and adjust uses.
842 (todos-read-category): Rename from todos-completing-read and
843 adjust callers; use todos-current-category.
844 (todos-make-categories-alist): Rename from function
845 todos-categories-alist.
846 (todos-categories-alist): New variable.
847 (todos-indent-to-here): New defcustom.
848 (todos-button): New face.
849 (todos-display-categories-alphabetically, todos-raise-category)
850 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
851 (todos-insert-item-here-ask-date-time)
852 (todos-insert-item-ask-date-time)
853 (todos-insert-item-ask-dayname-time): New commands.
854 (todos-edit-item-header): New command replacing todos-change-date.
855 (todos-category-number, todos-indent, todos-item-counts)
856 (todos-check-category-name, todos-read-date, todos-read-dayname)
857 (todos-read-time, todos-padded-string)
858 (todos-insert-category-name): New functions.
859 (todos-set-item-priority): New function replacing
860 todos-add-item-non-interactively.
861 (todos-mode-map): Remap newline to newline-and-indent.
862 (todos-edit-mode-map): Make sparse keymap; remap newline to
863 newline-and-indent.
864 (todos-categories-mode-map): New keymap.
865 (todos-mode, todos-edit-mode): Make indent-line-function local
866 variable and set to todos-indent.
867 (todos-categories-mode): New major mode.
868 (todos-display-categories): List categories initially in their
869 numerical order; add optional argument to switch to alphabetical
870 listing.
871 (todos-toggle-view-done-items): Simplify implementation.
872 (todos-toggle-display-date-time): Fix regexp search string.
873 (todos-backward-item, todos-forward-item): Use variable
874 todos-item-start.
875 (todos-add-category): Use todos-check-category-name and
876 todos-categories-alist.
877 (todos-rename-category): Use todos-current-category,
878 todos-check-category-name and todos-categories-alist.
879 (todos-delete-category): Use todos-check-category-name and
880 todos-categories-alist and take done items into account.
881 (todos-insert-item): Use separate arguments to handle insertion of
882 date/dayname and time strings, add new argument to mark item for
883 diary inclusion, use new todos-read-* functions,
884 todos-set-item-priority and todos-item-counts.
885 (todos-insert-item-here, todos-insert-item-for-diary)
886 (todos-insert-item-from-calendar): Adapt to new version of
887 todos-insert-item.
888 (todos-delete-item, todos-item-done): Use todos-item-counts.
889 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
890 char follows.
891 (todos-lower-item): Ensure only not-done items can be lowered.
892 (todos-move-item): Use todos-current-category, todos-read-category
893 and todos-item-counts.
894 (todos-archive-done-items): Use todos-current-category and
895 todos-item-counts; fix regexp search string.
896 (todos-item-undo): Use todos-current-category,
897 todos-set-item-priority, todos-insert-with-overlays and
898 todos-item-counts; restore if user quits before inserting undone
899 item.
900 (todos-date-pattern): Rewrite without using
901 todos-date-nodayname-pattern and todos-dayname-date-pattern.
902 (todos-date-string-match): Do not make todos-date-pattern an
903 unnumbered group.
904 (todos-time-string-match): Make todos-date-pattern a shy group.
905 (todos-wrap-and-indent): Use todos-indent-to-here.
906 (todos-reset-prefix): Revert to using todos-show instead of
907 todos-category-select.
908 (todos-prefix-overlays): Fix numbering of done items and updating
909 of prefix.
910 (todos-category-select): Use todos-current-category; fix display
911 of separator string; don't move point to top of category.
912 (todos-jump-to-category-noninteractively): Use todos-category-number.
913 (todos-insert-with-overlays): Use todos-item-start unconditionally.
914 (todos-item-start): New variable.
915 (todos-item-start): Use it to define this function.
916 (todos-item-end): Adjust if item is last unfinished one before
917 displayed done items.
918 (todos-remove-item): Use todos-item-start and todos-item-end
919 instead of todos-forward-item and todos-backward-item.
920 (todos-longest-category-name-length): Add argument for list of
921 categories.
922
2c173503
SB
9232012-09-13 Stephen Berman <stephen.berman@gmx.net>
924
925 * calendar/todos.el: Comment out calendar require, since diary-lib
926 requires calendar. Rearrange file to group definitions according
927 to their use (types of commands, internal functions, etc.)
928 (todos-file-done, todos-insert-threshold, todos-remove-separator)
929 (todos-date-string, todos-time-string, todos-check-overlay)
930 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
931 Comment out.
932 (todos-current-date, todos-item-end-overlays)
933 (todos-list-categories): Remove.
934 (todos-item-end): Remove (the variable, not the function).
ee7412e4 935 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 936 callers.
2c173503
SB
937 (todos-done-separator, todos-done-string, todos-show-with-done)
938 (todos-files, todos-archive-file, todos-categories-buffer)
939 (todos-archived-categories-buffer, todos-wrap-lines)
940 (todos-line-wrapping-function): New defcustoms.
941 (todos-done, todos-done-sep): New faces.
942 (todos-done-face, todos-done-sep-face): Corresponding new variables.
943 (todos-search-string, todos-date-nodayname-pattern)
944 (todos-dayname-date-pattern, todos-date-pattern): New variables.
945 (todos-done-string-match, todos-category-string-match)
946 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
947 (todos-current-category, todos-count-items-in-category)
948 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
949 (todos-longest-category-name-length): New functions.
950 (todos-categories-list): New buffer-specific function replacing
951 todos-list-categories.
952 (todos-toggle-item-numbering, todos-toggle-view-done-items)
953 (todos-search, todos-view-archive, todos-diary-items)
954 (todos-toggle-display-date-time, todos-insert-item-no-time)
955 (todos-insert-item-ask-date, todos-insert-item-for-diary)
956 (todos-insert-item-from-calendar, todos-edit-quit)
957 (todos-change-date, todos-item-done, todos-archive-done-items)
958 (todos-item-undo): New commands.
ee7412e4 959 (todos-archive-mode): New major mode.
2c173503
SB
960 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
961 (todos-category-beg): Change value.
962 (todos-number-prefix): Change default value.
963 (todos-edit-buffer): Change from defvar to defcustom.
964 (todos-font-lock-keywords): Use todos-done-string-match and
965 todos-category-string-match.
966 (todos-backward-item, todos-forward-item): Use todos-done-string
967 and todos-date-pattern.
968 (todos-display-categories): Reimplement using buttons from
969 button.el instead of widgets.
970 (todos-top-priorities): Use with-current-buffer; take done items
971 into account; ensure buffers gets fontified.
972 (todos-add-category): Ensure new category does not begin with
973 empty lines.
974 (todos-jump-to-category): Use todos-category-select instead of
975 todos-show.
976 (todos-rename-category): Prompt for new name in body instead of in
977 interactive spec.
978 (todos-insert-item): Don't insert in done items section of
979 category. Add two optional arguments to control insertion: (i) to
980 insert near point without prompting for priority; (ii) to use
981 defaults for date and time strings, to prompt for these, or to
982 choose date from the Calendar.
983 (todos-insert-item-here): Reimplement using todos-insert-item.
984 (todos-delete-item): Don't move point after deleting last item.
985 (todos-raise-item, todos-lower-item): Take done items into account.
986 (todos-move-item): Don't move done items; update item numbering;
987 restore if user quits before inserting moved item.
988 (todos-print): Prompt for confirmation to print.
989 (todos-reset-prefix): Search backward from end of file instead of
990 forward from top.
991 (todos-jump-to-category-noninteractively): Take Todos archive into
992 account.
993 (todos-category-select): Show or hide done items according to
994 todos-show-with-done; if shown, coordinate separator and prefix
995 overlays.
996 (todos-add-item-non-interactively): Replace binary insertion
997 algorithm with prompting for numerical priority.
998 (todos-insert-with-overlays): Remove use of variable todos-item-end.
999 (todos-item-start): Take done items into account; use
1000 todos-date-pattern.
1001 (todos-item-end): Reimplement using todos-forward-item.
1002 (todos-remove-item): Reimplement using todos-forward-item and
1003 todos-backward-item; redo overlay handling.
1004 (todos-mode-map): Add some new key bindings and change numerous
1005 existing bindings; use "i" as prefix key for item insertion
1006 commands.
1007 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1008 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1009 spec; set buffer-read-only to t and consequently let-bind this
1010 variable in all Todos commands that change buffer content.
1011 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1012 (todos-save): Don't save top priorities buffer.
1013 (todos-show): Make a no-op if called interactively in narrowed
1014 Todos mode, since, also to work around item prefix reduplication
1015 bug with show-paren-mode enabled; use todos-categories-list.
1016
b28025ed
SB
10172012-09-12 Stephen Berman <stephen.berman@gmx.net>
1018
1019 * calendar/todos.el: Comment out time-stamp require; require
1020 calendar and diary-lib.
1021 (todos-prefix): Change default value and doc string to reflect new
1022 meaning; add :initialize and :set functions.
1023 (todos-time-string-format, todos-entry-prefix-function)
1024 (todos-initials, todos-entry-timestamp-initials)
1025 (todos-prefix-face, todos-category-sep, todos-category-end)
1026 (todos-cp): Comment out.
1027 (todos-prefix-string): Inherit from font-lock-comment-face.
1028 (todos-item-header, todos-item-header-face): Remove.
1029 (todos-date, todos-time): New faces.
1030 (todos-date-face, todos-time-face): Corresponding new variables.
1031 (todos-add-time-string, todos-include-in-diary)
1032 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1033 New defcustoms.
1034 (todos-item-end, todos-item-start-overlays)
1035 (todos-item-end-overlays): New variables.
1036 (todos-date-string-match, todos-time-string-match): New functions.
1037 (todos-font-lock-keywords): Use them.
1038 (todos-current-date, todos-date-string, todos-time-string)
1039 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1040 (todos-reset-prefix, todos-update-numbered-prefix)
1041 (todos-check-overlay, todos-item-overlays)
1042 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1043 (todos-highlight-item): New command.
1044 (todos-category-beg): Change value.
1045 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1046 (todos-backward-item): Add optional count argument; use it and
1047 todos-item-start.
1048 (todos-forward-item): Use todos-check-overlay, todos-item-start
1049 and variable todos-item-end.
1050 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1051 todos-update-numbered-prefix, todos-item-overlays.
1052 (todos-add-category, todos-rename-category)
1053 (todos-list-categories): Use new category format.
1054 (todos-delete-category): Allow deleting non-empty category;
1055 use new category format.
1056 (todos-add-item-non-interactively): Comment out unnecessary
1057 save-excursion; use todos-insert-with-overlays.
1058 (todos-insert-item): Comment out unnecessary save-excursion; use
1059 new item format for date/time header and diary inclusion marking.
1060 (todos-insert-item-here): Use new item format for date/time header
1061 and diary inclusion marking; use todos-insert-with-overlays.
1062 (todos-raise-item): Make a no-op if point is on an empty line; use
1063 todos-insert-with-overlays.
1064 (todos-lower-item): Use todos-insert-with-overlays.
1065 (todos-top-priorities): Move call to todos-show inside
1066 save-excursion; add save-current-buffer after save-restriction.
1067 (todos-item-start): Use variable todos-item-end.
1068 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1069 (todos-remove-item): Take item overlays into account.
1070 (todos-mode): Change calculation of wrap-prefix; make
1071 hl-line-range-function a local variable and set it to highlight
1072 todo item.
1073 (todos-show): Ensure point stays at top of category.
1074
98c97dee
SB
10752012-09-12 Stephen Berman <stephen.berman@gmx.net>
1076
1077 * calendar/todos.el (todos-window-configuration): Comment out.
1078 (todos-display-categories): Comment out use of
1079 todos-window-configuration; use switch-to-buffer instead of
1080 pop-to-buffer.
1081 (todos-jump-to-category-noninteractively): Comment out use of
1082 todos-window-configuration.
1083 (todos-edit-item): Don't allow editing of date/time item header.
1084 (todos-insert-item, todos-insert-item-here): Insert date/time
1085 header in front of new item string.
1086 (todos-mode): Tweak wrap-prefix.
1087
1f678911
SB
10882012-09-12 Stephen Berman <stephen.berman@gmx.net>
1089
1090 * calendar/todos.el (todos-file-do, todos-file-done):
1091 Change default location to directory "~/.emacs.d/".
1092 (todos-completion-ignore-case, todos-categories-buffer):
1093 New defcustoms.
1094 (todos-prefix-string, todos-item-header): New faces.
1095 (todos-prefix-face, todos-item-header-face): Corresponding
1096 new variables.
1097 (todos-rename-category, todos-delete-category)
1098 (todos-display-categories, todos-move-item): New commands.
1099 (todos-mode-map): Add key bindings for new commands and for
1100 todos-add-category, which had no key binding.
1101 (todos-jump-to-category-noninteractively): New function.
1102 (todos-top-priorities): Comment out code using a previously
1103 deleted variable.
1104 (todos-completing-read): Allow SPC to insert a space when entering
1105 a new category name; use todos-completion-ignore-case.
1106 (todos-font-lock-keywords, todos-window-configuration):
1107 New variables.
1108 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1109 word-wrap, and wrap-prefix local variables.
1110
fffe5949
SB
11112012-09-12 Stephen Berman <stephen.berman@gmx.net>
1112
1113 * calendar/todos.el (todos-list-categories): Fix typos.
1114 (todos-show): Ensure file is in todos-mode.
1115
1e3d87b3
SB
11162012-09-12 Stephen Berman <stephen.berman@gmx.net>
1117
1118 * calendar/todos.el (todos-header): Remove defvar.
1119 (todos-add-category): Comment out code that inserts and updates
1120 the file local variables first line of the file todos-file-do.
1121 (todos-list-categories): New function.
1122 (todos-show): Use it; remove use of a previously deleted variable.
1123
3f031767
SB
11242012-09-11 Stephen Berman <stephen.berman@gmx.net>
1125
1126 * calendar/todos.el: New file. This is a copy of todo-mode.el
1127 from revision 94343 except for the following changes: replace all
1128 occurrences of the namespace prefix "todo-" with "todos-", delete
1129 the defvar todo-cats (the old name of todo-categories) and its use
1130 in todos-add-category, delete all defaliases of old command names.
1131
baa26ea0
BG
11322012-09-11 Bastien Guerry <bzg@gnu.org>
1133
1134 * subr.el (set-temporary-overlay-map): Add a docstring.
1135 (bug#12346)
1136
04e8abfa
BG
11372012-09-11 Bastien Guerry <bzg@gnu.org>
1138
96d03571
BG
1139 * minibuffer.el (completion-table-subvert): Fix docstring.
1140 (bug#12347)
1141
11422012-09-11 Bastien Guerry <bzg@gnu.org>
1143
1144 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1145
04e082b0
MM
11462012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1147
1148 * progmodes/sql.el: Version 3.1
1149 (sql-db2-escape-newlines): New variable.
1150 (sql-escape-newlines-filter): Use it.
1151
399a361b
JB
11522012-09-10 Juanma Barranquero <lekktu@gmail.com>
1153
1154 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1155
0780c517
DN
11562012-09-10 Dan Nicolaescu <dann@gnu.org>
1157
1158 * vc/diff-mode.el (diff-mode-menu): Bind
1159 diff-remove-trailing-whitespace.
1160
9b851e25
SM
11612012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1164 (emacs-lisp-byte-code-comment)
1165 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1166 New functions.
1167 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1168 (eval-defun-2): Remove bogus interactive spec.
1169 (lisp-indent-line): Remove redundant whole-exp code, now done in
1170 indent-according-to-mode.
1171 (save-match-data): Remove redundant indent data.
1172
1173 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1174 Use `declare'.
1175
3231d532
JL
11762012-09-09 Juri Linkov <juri@jurta.org>
1177
1178 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1179 (replace-lax-whitespace, query-replace-regexp)
1180 (query-replace-regexp-eval, replace-regexp): Doc fix.
1181 (perform-replace, replace-highlight): Let-bind
1182 isearch-lax-whitespace to replace-lax-whitespace and
1183 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1184
1185 * isearch.el (isearch-query-replace): Let-bind
1186 replace-lax-whitespace to isearch-lax-whitespace and
1187 replace-regexp-lax-whitespace to
1188 isearch-regexp-lax-whitespace. (Bug#10885)
1189
70fe8236
SM
11902012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1191
1192 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1193
8ed43f15
AM
11942012-09-09 Alan Mackenzie <acm@muc.de>
1195
70fe8236
SM
1196 * progmodes/cc-engine.el (c-state-cache-init):
1197 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1198 (c-record-parse-state-state):
1199 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1200
bfabf70a
AS
12012012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1202
1203 * register.el (register-separator): Rename from
1204 separator-register. All uses changed. Doc fix.
1205 (register): Fix version.
1206
011474aa
CY
12072012-09-09 Chong Yidong <cyd@gnu.org>
1208
1209 * replace.el (query-replace-map): Bind four new symbols for
1210 requesting window scrolling.
1211
1212 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1213 query-replace-map (Bug#8948).
1214
1215 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1216
1217 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1218 since they are now in query-replace-map.
1219
1220 * window.el (scroll-other-window-down): Make the arg optional.
1221
a8b7cd8d
CY
12222012-09-09 Chong Yidong <cyd@gnu.org>
1223
1224 * files.el (hack-local-variables-confirm): Use quit-window to kill
1225 the *Local Variables* buffer.
1226
c3268831
DG
12272012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1230 not just expect to be at its beginning. Adjust callees.
1231 Succeed when do-end block has no space before the pipe character.
1232 (ruby-brace-to-do-end): When the original block is one-liner,
1233 convert to multiline. Reindent the result.
1234
0979429b
J
12352012-09-08 Jambunathan K <kjambunathan@gmail.com>
1236
1237 * register.el (register): New group.
1238 (register-separator): New user option.
1239 (increment-register): Route it to `append-to-register', if
1240 register contains text. Implication is that `C-x r +' can now be
1241 used for appending to a text register (bug#12217).
1242 (append-to-register, prepend-to-register): Add separator based on
1243 `register-separator.
1244
ace2989a
AM
12452012-09-08 Alan Mackenzie <acm@muc.de>
1246
1247 AWK Mode: make auto-newline work when there's "==" in the pattern.
1248 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1249 correctly.
0979429b
J
1250 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1251 Test more rigorously for "=" token.
ace2989a 1252
616c6c36
DG
12532012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1254
0979429b
J
1255 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1256 Only fail when reached LIMIT.
616c6c36 1257
35d98877
CY
12582012-09-08 Chong Yidong <cyd@gnu.org>
1259
1260 * dired.el (dired-mode-map): Don't bind M-=.
1261
1262 * dired-aux.el (dired-diff): Use backup file as default.
1263
1715f2db
DA
12642012-09-08 Drew Adams <drew.adams@oracle.com>
1265
1266 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1267
6dcef6ec
CY
12682012-09-08 Chong Yidong <cyd@gnu.org>
1269
1270 * subr.el (syntax-after, syntax-class): Doc fix.
1271
fa2bcf43
MR
12722012-09-08 Martin Rudalics <rudalics@gmx.at>
1273
1274 * window.el (display-buffer-in-previous-window): New buffer
1275 display action function.
1276
1277 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1278 (debugger-previous-window): New variable.
1279 (debug): Rewrite using display-buffer-in-previous-window,
1280 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1281
daac280a
SM
12822012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1285
9dd40b00
MM
12862012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1287
daac280a
SM
1288 * progmodes/python.el (python-shell-send-string):
1289 When default-directory is remote, create temp file on remote
9dd40b00
MM
1290 filesystem.
1291 (python-shell-send-file): When file is remote, pass local view of
1292 file paths to remote Python interpreter. (Bug#12340)
1293
145823ec
CY
12942012-09-07 Chong Yidong <cyd@gnu.org>
1295
cee2e90d
CY
1296 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1297
0d7eb2ea
CY
1298 * files.el (after-find-file): Don't fail on a read-only buffer if
1299 require-final-newline is `visit' or `visit-save' (Bug#11156).
1300
145823ec
CY
1301 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1302
daac280a
SM
1303 * userlock.el (ask-user-about-supersession-threat):
1304 Use read-char-choice (Bug#12093).
145823ec 1305
74c582e6
CY
13062012-09-07 Chong Yidong <cyd@gnu.org>
1307
e5c2edf7
CY
1308 * subr.el (buffer-narrowed-p): New function.
1309
1310 * ses.el (ses-widen):
1311 * simple.el (count-words--buffer-message):
1312 * net/browse-url.el (browse-url-of-buffer): Use it
1313
1314 * simple.el (count-words-region): Don't signal an error if there
1315 is a non-nil prefix arg and the mark is not set.
c640e87d 1316
74c582e6
CY
1317 * help.el (describe-key-briefly): Allow the message to be seen
1318 when invoked from the minibuffer (Bug#7014).
1319
d81ceaaf
DG
13202012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * progmodes/ruby-mode.el (ruby-end-of-defun)
1323 (ruby-beginning-of-defun): Simplify, allow indentation before
1324 block beginning and end keywords.
8f06acce
DG
1325 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1326 (ruby-end-of-defun): Expect that the point is at the beginning of
1327 the defun.
d81ceaaf 1328
d458ef98
SM
13292012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1332 (bug#12367).
1333 (cl--make-usage-args): Strip _ from argument names.
1334
20367d28
RS
13352012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1336
1337 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1338 obsolete alias speedbar-key-map.
1339 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1340 (vhdl-index-menu-init): Don't use obsolete variable
1341 font-lock-maximum-size.
1342
3424a4f6
CY
13432012-09-06 Chong Yidong <cyd@gnu.org>
1344
1345 * frame.el (window-system-version): Mark as obsolete.
1346
fcbfbdea
CY
1347 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1348 of obsolete variable speedbar-key-map.
1349
826b3235
JL
13502012-09-06 Juri Linkov <juri@jurta.org>
1351
1352 * replace.el (replace-lax-whitespace): New defcustom.
1353 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1354 (replace-string, replace-regexp): Mention it in docstrings.
1355 (perform-replace, replace-highlight): Let-bind
1356 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1357 to the values of replace-lax-whitespace and regexp-flag.
1358 Don't let-bind search-whitespace-regexp. (Bug#10885)
1359
1360 * isearch.el (isearch-query-replace): Let-bind
1361 replace-lax-whitespace instead of let-binding
1362 replace-search-function and replace-re-search-function.
1363 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1364 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1365 (isearch-toggle-symbol): Set isearch-regexp to nil
1366 in isearch-word mode (like in isearch-toggle-word).
1367
1ec5e41d
JL
13682012-09-06 Juri Linkov <juri@jurta.org>
1369
1370 * replace.el (replace-search-function)
1371 (replace-re-search-function): Set default values to nil.
1372 (perform-replace): Let-bind isearch-related variables based on
1373 replace-related values, call `isearch-search-fun' and let-bind
1374 the result to `search-function'. Remove code that sets
1375 `search-function' and `search-string' separately for
1376 `delimited-flag'.
1377 (replace-highlight): Add new argument `delimited-flag' and
1378 rename other arguments to the names used in `perform-replace'.
1379 Let-bind `isearch-word' to the argument `delimited-flag'.
1380 (Bug#10885, bug#10887)
1381
0ba2d4b6
DG
13822012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1383
1384 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1385 ruby-beginning-of-indent, simplify, allow all keywords to have
1386 indentation before them.
1387 (ruby-beginning-of-indent): Adjust for above. Search until the
1388 found point is not inside a string or comment.
1389 (ruby-font-lock-keywords): Allow symbols to start with "@"
1390 character, give them higher priority than variables.
1391 (ruby-syntax-propertize-function)
1392 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1393 matchers. Expression expansions are not comments when inside a
1394 string, and there comment syntax status is irrelevant.
1395 (ruby-match-expression-expansion): New function. Check that
1396 expression expansion is inside a string, and it's not escaped.
1397 (ruby-font-lock-keywords): Use it.
1398
ef654460
MR
13992012-09-05 Martin Rudalics <rudalics@gmx.at>
1400
1401 * help.el (temp-buffer-max-height): New default value.
1402 (temp-buffer-resize-frames): New option.
1403 (resize-temp-buffer-window): Optionally resize frame.
1404
1405 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1406 (fit-frame-to-buffer): New function.
1407
7e570fbf 14082012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1409
1410 * emulation/cua-rect.el (cua--init-rectangles):
1411 * textmodes/picture.el (picture-mode-map):
1412 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1413 like forward-char and backward-char. (Bug#12317)
1414
7e570fbf 14152012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1416
1417 * progmodes/flymake.el (flymake-warning-re): New variable.
1418 (flymake-parse-line): Use it.
1419
7e570fbf 14202012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1421
1422 * calendar/holidays.el (holiday-christian-holidays):
1423 Rename an entry. (Bug#12289)
1424
7e570fbf 14252012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1426
1427 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1428 (bug#12222).
1429
972debf2
SM
14302012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * loadup.el: Load macroexp. Remove hack.
1433 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1434 (macroexp--expand-all): Use it to get better warnings.
1435 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1436 (internal-macroexpand-for-load): New functions.
1437 (macroexp--pending-eager-loads): New var.
1438 (emacs-startup-hook): New hack to replace one in loadup.el.
1439 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1440 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1441 (cl-psetf): Simplify.
1442 (cl-defstruct): Add indent rule.
1443
8ce192e3
LI
14442012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1445
1446 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1447 over `user-mail-address' for the SMTP MAIL FROM envelope.
1448 (smtpmail-via-smtp): Ditto.
1449
6578b4d8
DG
14502012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1451
1452 * progmodes/ruby-mode.el: Clean up keybindings.
1453 (ruby-mode-map): Don't bind ruby-electric-brace,
1454 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1455 backward-kill-word, reindent-then-newline-and-indent.
1456 (ruby-mark-defun): Remove.
1457 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1458 (ruby-mode): Set local beginning-of-defun-function and
1459 end-of-defun-function values.
1460
c5e28e39
MR
14612012-09-03 Martin Rudalics <rudalics@gmx.at>
1462
1463 * window.el (temp-buffer-window-setup-hook)
1464 (temp-buffer-window-show-hook): New hooks.
1465 (temp-buffer-window-setup, temp-buffer-window-show)
1466 (with-temp-buffer-window): New functions.
972debf2
SM
1467 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1468 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1469
1470 * help.el (temp-buffer-resize-mode): Fix doc-string.
1471 (resize-temp-buffer-window): New optional argument WINDOW.
1472
1473 * files.el (recover-file, save-buffers-kill-emacs):
1474 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1475
73406194
MA
14762012-09-02 Michael Albinus <michael.albinus@gmx.de>
1477
1478 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1479 remote definition of `default-directory', ensure we can connect.
1480
63dd1c6f
JL
14812012-09-02 Juri Linkov <juri@jurta.org>
1482
1483 Toggle whitespace matching mode with M-s SPC.
1484 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1485
1486 * isearch.el (search-whitespace-regexp): Doc fix.
1487 Remove cons cell customization.
1488 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1489 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1490 New variables.
1491 (isearch-forward, isearch-forward-regexp): Doc fix.
1492 (isearch-toggle-lax-whitespace): New command.
1493 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1494 (re-search-forward-lax-whitespace)
1495 (re-search-backward-lax-whitespace): New functions.
1496 (isearch-whitespace-regexp): Remove function.
1497 (isearch-query-replace): Let-bind replace-search-function and
1498 replace-re-search-function.
1499 (isearch-occur): Let-bind search-spaces-regexp according to the
1500 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1501 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1502 condition for C-q SPC.
1503 (isearch-search-fun-default): Use new functions mentioned above.
1504 (isearch-search-forward, isearch-search-backward): Remove functions.
1505 (isearch-search): Don't let-bind search-spaces-regexp.
1506 (isearch-lazy-highlight-space-regexp): Remove variable.
1507 (isearch-lazy-highlight-lax-whitespace)
1508 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1509 (isearch-lazy-highlight-new-loop): Use them.
1510 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1511
af7dda05
CY
15122012-09-02 Chong Yidong <cyd@gnu.org>
1513
1514 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1515
d67d3afd
GM
15162012-09-02 Glenn Morris <rgm@gnu.org>
1517
1518 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1519
69678719
GM
15202012-09-01 Glenn Morris <rgm@gnu.org>
1521
1522 * term.el: Tidy up menu definitions.
1523 (term-mode-map): Use easymenu for In/Out, Complete menus.
1524 (term-pager-break-map): Initialize in the defvar.
1525 (term-terminal-menu, term-signals-menu): Define with easymenu.
1526 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1527 (term-pager-menu): New, extracted from term-process-pager.
1528 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1529 (term-update-mode-line): Propertize line/char and page items.
1530 (term-process-pager): Move keymap initialization elsewhere.
1531
78dd6ab1
MR
15322012-09-01 Martin Rudalics <rudalics@gmx.at>
1533
1534 * window.el (switch-to-prev-buffer): Handle additional values of
1535 BURY-OR-KILL argument. Don't switch in minibuffer window.
1536 (switch-to-next-buffer): Don't switch in minibuffer window.
1537 (quit-restore-window): New function based on quit-window.
1538 Handle additional values of former KILL argument.
1539 (quit-window): Call quit-restore-window with appropriate
1540 interpretation of KILL argument.
1541 (display-buffer-below-selected): New buffer display action
1542 function.
1543
3d10e134
SM
15442012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * minibuffer.el (completion-at-point-functions): Complete docstring
1547 (bug#12254).
1548
0e23ef9d
PE
15492012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1550
1551 Better seed support for (random).
1552 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1553 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1554 * play/mpuz.el, play/tetris.el, play/zone.el:
1555 * calc/calc-comb.el (math-init-random-base):
1556 * play/blackbox.el (bb-init-board):
1557 * play/life.el (life):
1558 * server.el (server-use-tcp):
1559 * type-break.el (type-break):
1560 Remove unnecessary call to (random t).
1561 * net/sasl.el (sasl-unique-id-function):
1562 Change (random t) to (random), now that the latter is more random.
1563 * play/life.el (life-initialized): Remove no-longer-needed var.
1564
862382df
MR
15652012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1566
1567 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1568 Consider frame's buffer predicate when choosing the buffer.
1569 (Bug#12081)
1570
262a66e1
RS
15712012-08-30 Richard Stallman <rms@gnu.org>
1572
1573 * simple.el (special-mode-map): Delete binding for `z'.
1574
f17e1d00
AS
15752012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1576
1577 * progmodes/compile.el (compilation-always-kill): Doc fix.
1578
24777832
CY
15792012-08-30 Chong Yidong <cyd@gnu.org>
1580
1581 * window.el (display-buffer-reuse-frames): Make the obsolescence
1582 message more informative.
1583
69ba1f04
GM
15842012-08-30 Glenn Morris <rgm@gnu.org>
1585
1586 * paren.el (show-paren-delay):
1587 Add a :set function. Doc fix. (Bug#12297)
1588
f0019ede
MB
15892012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1590
1591 * progmodes/compile.el (compilation-always-kill): New var.
1592 (compilation-start): Use it.
1593
35e62fc9
SM
15942012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1595
af070a1c
SM
1596 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1597 * files.el (read-only-mode): Move to simple.el.
1598
35e62fc9
SM
1599 * files.el (read-only-mode): New minor mode.
1600 (toggle-read-only): Use it and mark obsolete.
1601 (find-file--read-only):
1602 * vc/vc.el (vc-next-action, vc-checkout):
1603 * vc/vc-cvs.el (vc-cvs-checkout):
1604 * obsolete/vc-mcvs.el (vc-mcvs-update):
1605 * ffap.el (ffap--toggle-read-only): Update callers.
1606
c2c43c23
MA
16072012-08-29 Michael Albinus <michael.albinus@gmx.de>
1608
1609 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1610 remote shell scripts.
1611 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1612
1613 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1614 "/usr/local/sbin".
1615
9fba804b
SM
16162012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1619
eada0861 16202012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1621
806f0cc7
LL
1622 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1623 completion-at-point. (Bug#12220)
1624
3bb213b9
LL
1625 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1626
22ab32ef
LL
1627 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1628
eada0861 16292012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1630
19c17fc1
CY
1631 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1632 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1633
eada0861 16342012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1635
1636 * progmodes/hideif.el (hif-compress-define-list):
1637 Fix typo. (Bug#11951)
1638
eada0861 16392012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1640
1641 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1642 buffer local setting.
1643
27d6c5a8
LL
1644 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1645 rcirc-encode-coding-system.
1646
eada0861 16472012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1648
1649 * net/rcirc.el (rcirc-split-message): New function.
1650 (rcirc-send-message): Use it. (Bug#12051)
1651
d44688e4
JL
16522012-08-28 Juri Linkov <juri@jurta.org>
1653
1654 * info.el (Info-fontify-node): Hide empty lines at the end of
1655 the node. (Bug#12272)
1656
34f10d41
MR
16572012-08-27 Drew Adams <drew.adams@oracle.com>
1658
1659 * dired.el (dired-pop-to-buffer): Make window start at beginning
1660 of buffer (Bug#12281).
1661
77f1f99c
CY
16622012-08-26 Chong Yidong <cyd@gnu.org>
1663
1664 * window.el (special-display-regexps, special-display-frame-alist)
1665 (special-display-buffer-names, special-display-function)
1666 (display-buffer-reuse-frames): Mark as obsolete.
1667
1668 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1669
1670 * help.el (help-print-return-message): Don't treat
1671 display-buffer-reuse-frames specially.
1672
d97af5a0
CY
16732012-08-26 Chong Yidong <cyd@gnu.org>
1674
9fba804b
SM
1675 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1676 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1677 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1678 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1679 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1680 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1681 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1682 the functions directly with gdb-display-buffer-other-frame-action.
1683 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1684 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1685 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1686 (gdb-display-registers-buffer): Define directly.
1687 (def-gdb-display-buffer): Macro deleted.
1688 (gdb-display-buffer): Remove second and third args, callers don't
1689 use them. Defer to the default display-buffer behavior, apart
1690 from making windows dedicated.
1691 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1692
1693 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1694
1695 * window.el (display-buffer-pop-up-frame): Handle a
1696 pop-up-frame-parameters alist entry.
1697 (display-buffer): Document it.
1698
dd7ffad6
CY
16992012-08-26 Chong Yidong <cyd@gnu.org>
1700
1701 * isearch.el (search-whitespace-regexp): Make string and nil
1702 values apply to both ordinary and regexp search. Allow a cons
1703 cell value to distinguish between the two.
1704 (isearch-whitespace-regexp, isearch-search-forward)
1705 (isearch-search-backward): New functions.
1706 (isearch-occur, isearch-search-fun-default, isearch-search)
1707 (isearch-lazy-highlight-new-loop): Use them.
1708 (isearch-forward, isearch-forward-regexp): Doc fix.
1709
4c47bd1e
CY
17102012-08-26 Chong Yidong <cyd@gnu.org>
1711
1712 * faces.el (help-argument-name): Always inherit from italic
1713 (Bug#12213).
1714
9aba119d
MR
17152012-08-25 Martin Rudalics <rudalics@gmx.at>
1716
1717 * window.el (window--even-window-heights): Even heights when
1718 WINDOW and the selected window form a vertical combination.
1719 (display-buffer-use-some-window): Provide that window used gets
1720 sized back by quit-window. (Bug#11880) and (Bug#12091)
1721
ca5256ad
PE
17222012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1723
1724 Fix file time stamp problem with bzr and CVS (Bug#12001).
1725 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1726 in the file's time stamp, since the version control system loses
1727 that information.
1728
d1c0d176
JL
17292012-08-22 Juri Linkov <juri@jurta.org>
1730
1731 * info.el (Info-fontify-node): Hide the suffix of the
1732 Info file name in the header line. (Bug#12187)
1733
141562ff
GM
17342012-08-22 Glenn Morris <rgm@gnu.org>
1735
1736 * calendar/cal-tex.el (cal-tex-weekly-common):
1737 Restore leading blank page.
1738
61a48e19 17392012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1740
1741 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1742 the region under `shift-select-mode'. (Bug#12231)
1743
17442012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1745
1746 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1747 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1748 gives details on why the space is never needed.
1749
ea95074e
MR
17502012-08-22 Martin Rudalics <rudalics@gmx.at>
1751
9fba804b
SM
1752 * window.el (walk-window-tree, window-with-parameter):
1753 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1754 should run on the minibuffer window.
1755 (window-at-side-list): Don't operate on minibuffer window.
1756 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1757 (window--size-ignore): Rename to window--size-ignore-p.
1758 Update callers.
caceae25
MR
1759 (display-buffer-in-atom-window, window--major-non-side-window)
1760 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1761 (delete-side-window, display-buffer-in-side-window):
1762 New functions.
caceae25
MR
1763 (window--side-check, window-deletable-p, delete-window)
1764 (delete-other-windows, split-window): Handle side windows and
1765 atomic windows appropriately.
1766 (window--display-buffer): Call display-buffer-record-window also
1767 when the window buffer did not change.
ea95074e 1768
80a51fa0
CS
17692012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1770
1771 * help-fns.el (help-fns--key-bindings):
1772 Abbreviate non-symbol remap targets. (Bug#12174)
1773
fbb6300b
MR
17742012-08-22 Martin Rudalics <rudalics@gmx.at>
1775
1776 * dired.el (dired-mark-remembered): Don't clobber point.
1777 (Bug#11795)
1778
2b2c0794
GM
17792012-08-22 Glenn Morris <rgm@gnu.org>
1780
1781 * progmodes/bug-reference.el (bug-reference): New custom group.
1782 (bug-reference-bug-regexp): Make it a defcustom.
1783
37219830
DU
17842012-08-22 Daiki Ueno <ueno@unixuser.org>
1785
1786 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1787 (js-paren-indent-offset, js-square-indent-offset)
1788 (js-curly-indent-offset): Add :safe (Bug#12257).
1789
94e0e559
EC
17902012-08-22 Edward O'Connor <hober0@gmail.com>
1791
1792 * json.el (json-key-format): Add error properties.
1793 (json-encode-key): New function.
1794 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1795 Use json-encode-key.
1796
da485f5e
GM
17972012-08-22 Glenn Morris <rgm@gnu.org>
1798
1799 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1800 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1801 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1802 Update for above change.
1803
c6cc78b8
AS
18042012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1805
1806 * cus-face.el (custom-face-attributes): Fix customize type for the
1807 :underline attribute. (Bug#11805)
1808
5481664a
MR
18092012-08-21 Martin Rudalics <rudalics@gmx.at>
1810
1811 * window.el (window-point-1, set-window-point-1): Remove.
1812 (window-in-direction, record-window-buffer)
1813 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1814 (window--state-get-1, display-buffer-record-window):
1815 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1816 window-point and set-window-point respectively.
1817
6d74698e
GM
18182012-08-21 Glenn Morris <rgm@gnu.org>
1819
b7fa2691
GM
1820 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1821 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1822 Use it.
1823
52f56d5a
GM
1824 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1825 (cal-tex-shortday): New function.
1826 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1827 (cal-tex-cursor-filofax-daily): Use the above.
1828
9f1ee09e
GM
1829 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1830 New functions.
1831 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1832 (cal-tex-cursor-filofax-week): Use them.
1833
79858159
GM
1834 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1835 New constants.
1836 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1837 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1838
d346b2b4
GM
1839 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1840 (cal-tex-end-document): Don't rely on buffer name.
1841
b2403709
GM
1842 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1843 Use cal-tex-vspace.
1844 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1845 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1846 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1847 Use cal-tex-arg.
b2403709 1848
1cebb5c0
GM
1849 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1850 (cal-tex-cursor-week, cal-tex-cursor-week2)
1851 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1852 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1853 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1854 (cal-tex-insert-preamble, cal-tex-b-document)
1855 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1856 Improve cal-tex-cmd usage.
1857
c68cd5d4
GM
1858 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1859 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1860 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1861 (cal-tex-weekly-paper): New function.
1862 (cal-tex-cursor-week, cal-tex-cursor-week2)
1863 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1864 (cal-tex-cursor-day): Use it.
1865
9dca4801
GM
1866 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1867 (cal-tex-cursor-filofax-week): Remove leading blank page.
1868
1941e134
GM
1869 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1870 Add autoload cookie. For now at least, don't use color, since
1871 no other cal-tex function does.
1872
6d74698e
GM
1873 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1874 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1875 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1876
64cde199
JL
18772012-08-21 Juri Linkov <juri@jurta.org>
1878
1879 * info.el (Info-file-attributes): New variable.
1880 (info-insert-file-contents): Add file attributes to
1881 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1882 `Info-toc-nodes' when previous modtime of the Info file is less
1883 than new modtime.
1884 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1885 of info.el. (Bug#12230)
1886
32757648
GM
18872012-08-20 Glenn Morris <rgm@gnu.org>
1888
1889 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1890 * calendar/holidays.el (calendar-holiday-list):
1891 Report errors with display-warning rather than beep'n'sleep.
1892
a32fbbcf
MA
18932012-08-20 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * net/tramp.el (tramp-accept-process-output): Accept only output
1896 from PROC. Otherwise, process filters and sentinels might be
1897 confused. (Bug#12145)
1898
a05731a0
CY
18992012-08-20 Chong Yidong <cyd@gnu.org>
1900
1901 * descr-text.el (describe-text-properties-1): Use overlays-in to
1902 report on empty overlays (Bug#3322).
1903
36e8d1eb
GM
19042012-08-20 Glenn Morris <rgm@gnu.org>
1905
3d300447
GM
1906 * mail/rmailout.el (rmail-output-read-file-name):
1907 Trap and report errors in rmail-output-file-alist elements.
1908
36e8d1eb
GM
1909 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1910 since most non-font-lock faces are not also variables).
1911
b96e5814
ER
19122012-08-20 Edward Reingold <reingold@iit.edu>
1913
1914 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1915 New function. (Bug12160)
1916
7cef3569
GM
19172012-08-19 Glenn Morris <rgm@gnu.org>
1918
1919 * mail/rmailout.el (rmail-output-read-file-name):
1920 Fix previous change (when the alist is nil or does not match).
1921
17975d7f
CY
19222012-08-19 Chong Yidong <cyd@gnu.org>
1923
1924 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1925 (Bug#12228).
1926
2170b1bd
CY
19272012-08-18 Chong Yidong <cyd@gnu.org>
1928
1929 * simple.el (yank-handled-properties): New defcustom.
1930 (yank-excluded-properties): Add font-lock-face and category.
1931 (yank): Doc fix.
1932
9fba804b
SM
1933 * subr.el (remove-yank-excluded-properties):
1934 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1935 and category is now done this way, instead of being hard-coded.
1936 (insert-for-yank-1): Remove font-lock-face handling.
1937 (yank-handle-font-lock-face-property)
1938 (yank-handle-category-property): New function.
1939
ee218151
GM
19402012-08-17 Glenn Morris <rgm@gnu.org>
1941
1942 * mail/rmailout.el (rmail-output-read-file-name):
1943 Check rmail-output-file-alist against the full message body
1944 in the correct rmail buffer. (Bug#12214)
1945
4a6bc3fd
MA
19462012-08-17 Michael Albinus <michael.albinus@gmx.de>
1947
9fba804b
SM
1948 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1949 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1950
383dcbf9
CY
19512012-08-17 Chong Yidong <cyd@gnu.org>
1952
1953 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1954 font spec, set the font directly (Bug#3228).
1955
998c4a6a
MR
19562012-08-17 Martin Rudalics <rudalics@gmx.at>
1957
1958 * window.el (delete-window): Fix last fix.
1959
52162052
MR
19602012-08-16 Martin Rudalics <rudalics@gmx.at>
1961
1962 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1963 (window-child, window-child-count, window-last-child)
1964 (window-normalize-window, window-combined-p)
1965 (window-combinations, window-atom-root, window-min-size)
1966 (window-sizable, window-sizable-p, window-size-fixed-p)
1967 (window-min-delta, window-max-delta, window--resizable)
1968 (window--resizable-p, window-resizable, window-total-size)
1969 (window-full-height-p, window-full-width-p, window-body-size)
1970 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1971 (minimize-window, window-deletable-p, delete-window)
1972 (delete-other-windows, set-window-buffer-start-and-point)
1973 (next-buffer, previous-buffer, split-window, balance-windows-2)
1974 (set-window-text-height, window-buffer-height)
1975 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1976 (truncated-partial-width-window-p): Minor code adjustments.
1977 In doc-strings state whether the argument window has to denote a
85c2386b 1978 live, valid or any window.
52162052 1979
1c308380
PS
19802012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1981
1982 * progmodes/subword.el (subword-forward-function)
1983 (subword-backward-function, subword-forward-regexp)
1984 (subword-backward-regexp): New variables.
1985 (subword-forward, subword-forward-internal, subword-backward-internal):
1986 Use new variables, eg so that different "word" definitions
1987 can be easily used. (Bug#11411)
1988
94c9ece1
SM
19892012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1992 for composite selectors.
1993 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1994 operation just because we can't find a previous revision.
1995
f2045622
CY
19962012-08-15 Chong Yidong <cyd@gnu.org>
1997
1998 * frame.el (set-frame-font): Accept font objects.
1999
582db660
SM
20002012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2003
2f29c200
WJ
20042012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2005
456e62c2
WJ
2006 * man.el (Man-overstrike-face, Man-underline-face)
2007 (Man-reverse-face): Remove variables.
2008 (Man-overstrike, Man-underline, Man-reverse): New faces.
2009 (Man-fontify-manpage): Use them instead of the variables.
2010 (Man-cleanup-manpage): Comment change.
2011 (Man-ansi-color-map): New variable.
2012 (Man-fontify-manpage): Use it.
2013 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2014
2f29c200
WJ
2015 Implement ANSI SGR parameters 22-27 (bug#12146).
2016 * ansi-color.el (ansi-colors): Doc fix.
2017 (ansi-color-context, ansi-color-context-region): Doc fix.
2018 (ansi-color--find-face): New function.
2019 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2020 Rename the local variable `face' to `codes' since it is now a list of
2021 ansi codes. Doc fix.
2022 (ansi-color-get-face): Remove.
2023 (ansi-color-parse-sequence): New function, derived from
2024 ansi-color-get-face.
2025 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2026 codes 22-27.
2027
b4f5e9df
SM
20282012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * subr.el (read-passwd): Allow use from a minibuffer.
2031
ba025fbd
EZ
20322012-08-14 Eli Zaretskii <eliz@gnu.org>
2033
2034 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2035 inside comments and strings as identifiers.
2036
2037 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2038 expression to evaluate. This allows to evaluate expressions with
2039 embedded whitespace.
2040 (gud-tooltip-tips): Add a blank before the newline in the
2041 message-box text, for the benefit of message-box emulation on
2042 MS-Windows.
2043
2044 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2045 messages from GDB, pop them up in a tooltip to give feedback to
2046 user.
b4f5e9df
SM
2047 (gdb-tooltip-print-1): Quote the expression to evaluate.
2048 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2049 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2050 if the TTY name is nil or empty (which happens when communicating
2051 with the inferior via pipes, e.g. on MS-Windows).
2052 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2053 don't send that to the GUD buffer.
2054
c548f821
GM
20552012-08-14 Glenn Morris <rgm@gnu.org>
2056
2057 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2058 Optimize away setq-default with no args, as for setq. (Bug#12195)
2059
55802e4a
CY
20602012-08-14 Chong Yidong <cyd@gnu.org>
2061
4abcdac8
CY
2062 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2063
55802e4a
CY
2064 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2065 (Bug#12085).
2066
3c3cda1a
GM
20672012-08-14 Glenn Morris <rgm@gnu.org>
2068
2069 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2070
e1873bd0
MA
20712012-08-14 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2074 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2075 Use cached shell name.
2076
925411b4
FEG
20772012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2078
2079 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2080 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2081
e636fafe
DG
20822012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2085 (ruby-percent-literal-beg-re): New constant.
2086 (ruby-syntax-general-delimiters-goto-beg): Rename to
2087 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2088 (ruby-syntax-propertize-general-delimiters): Rename to
2089 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2090 popular term. Adjust comments everywhere.
2091 (ruby-syntax-propertize-percent-literal): Only propertize when not
2092 inside a simple string or comment. When the literal is unclosed,
2093 leave the text after it unpropertized.
f063063a
DG
2094 (ruby-syntax-methods-before-regexp): New constant.
2095 (ruby-syntax-propertize-function): Use it to recognize regexps.
2096 Don't look at the text after regexp, just use the whitelist.
e636fafe 2097
e5b19827
AS
20982012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2099
2100 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2101 non-nil always load the compiled file if it exists. (Bug#12197)
2102
a9f6f311
CY
21032012-08-14 Chong Yidong <cyd@gnu.org>
2104
2105 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2106 (hi-lock-set-pattern): When deciding whether to use font lock or
2107 overlays, look at font-lock-mode instead of font-lock-fontified
2108 (Bug#12168).
2109 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2110 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2111
7d806b1e
DU
21122012-08-14 Daiki Ueno <ueno@unixuser.org>
2113
2114 * subr.el (internal--after-with-selected-window): Fix typo
2115 (Bug#12193).
2116
5beed586
FEG
21172012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2118
2119 Use `completion-table-dynamic' for completion functions.
2120 * progmodes/python.el
2121 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2122 (python-shell-completion--get-completions):
2123 Remove functions.
5beed586
FEG
2124 (python-shell-completion-complete-at-point): New function.
2125 (python-completion-complete-at-point): Use it.
2126
92cb3b04
J
21272012-08-13 Jambunathan K <kjambunathan@gmail.com>
2128
2129 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2130 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2131
89660017
SM
21322012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2133
3c98c962
SM
2134 * subr.el (function-get): Refine `autoload' arg so it can also
2135 autoload functions for gv.el (bug#12191).
2136 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2137 autoloads macros.
2138
aa7c6dbe
SM
2139 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2140 Prefer pcase-let over destructuring-bind.
2141 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2142 Also, remove whitespace as we go, rather than after accumulating the
2143 various places.
2144
89660017
SM
2145 * subr.el (internal--before-with-selected-window)
2146 (internal--after-with-selected-window): Fix typo seleted->selected.
2147 (with-selected-window): Adjust callers.
2148 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2149
31cd32c9
BG
21502012-08-13 Bastien Guerry <bzg@gnu.org>
2151
0fcd3d9f 2152 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2153 enhancement. (Bug#12172)
2154
1b15d8ad
AS
21552012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2156
31e54db0
AS
2157 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2158 type 1-6.
2159 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2160 extended headers.
2161
1b15d8ad
AS
2162 * files.el (hack-local-variables-filter): Remove useless eval.
2163
35cb9c06
MR
21642012-08-13 Martin Rudalics <rudalics@gmx.at>
2165
2166 * subr.el (with-selected-window): Fix last change.
2167
1439443b
SM
21682012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * subr.el (internal--before-with-seleted-window)
2171 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2172 (with-selected-window): Use them, to replace dependency on
2173 tty-top-frame.
1439443b 2174
0d9e2599
NN
21752012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2176
2177 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2178 binding for `newline'.
2179 (ruby-move-to-block): When moving backward, stop at block opening,
2180 not indentation.
2181 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2182 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2183 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2184 `ruby-toggle-block'.
2185
ba10c48c
SM
21862012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * ibuffer.el (ibuffer-do-toggle-read-only):
2189 * dired.el (dired-toggle-read-only):
2190 * buff-menu.el (Buffer-menu-toggle-read-only):
2191 * bindings.el (mode-line-toggle-read-only):
2192 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2193
9229c658
AS
21942012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * descr-text.el (describe-char): Put the overlays over the
2197 "displayed as" character.
2198
0fd09128
JB
21992012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2200
2201 * calc/calc-units.el (math-default-units-table): Give an
2202 initial value.
2203 (math-put-default-units): Add options to put composite units and
2204 unit systems in the default units table.
2205 (calc-convert-units): Send composite units to
2206 `math-put-default-units' when appropriate.
2207
9ff9402d 22082012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2209
fbb5e336
GM
2210 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2211
7aacaf15
GM
2212 * tutorial.el (help-with-tutorial):
2213 * emacs-lisp/copyright.el (copyright-update-directory):
2214 * emacs-lisp/autoload.el (autoload-find-generated-file)
2215 (autoload-find-file): Disable local eval: (for insurance).
2216
f40b9f10
GM
2217 * files.el (hack-local-variables-filter): If an eval: form is not
2218 known to be safe, and enable-local-variables is :safe, then ignore
2219 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2220 This is CVE-2012-3479.
f40b9f10 2221
daa9f1a6
SM
22222012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2225 (rx-form): Simplify.
2226
9cd80478
DG
22272012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2228
0d9e2599
NN
2229 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2230 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2231 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2232 (ruby-syntax-propertize-function): Adjust for changes in
2233 `ruby-syntax-propertize-heredoc'.
2234
22352012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2236
9cd80478
DG
2237 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2238 binding (use `M-;' instead).
9cd80478 2239 (ruby-singleton-class-p): New function.
0d9e2599 2240 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2241
d301b413
SM
22422012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2245
1530c98e
CY
22462012-08-10 Chong Yidong <cyd@gnu.org>
2247
2248 * progmodes/python.el (python-shell-get-process-name): Don't mess
2249 with same-window-buffer-names.
2250
2251 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2252 (eshell-remove-from-window-buffer-names): Make obsolete.
2253 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2254 (eshell): Just use pop-to-buffer-same-window instead.
2255
e1293765
CY
22562012-08-10 Chong Yidong <cyd@gnu.org>
2257
2258 * bindings.el: Bind M-= back to count-words-region.
2259
2260 * simple.el (count-words-region): Accept a prefix arg for acting
2261 on the entire buffer.
2262 (count-words--buffer-message): New helper function.
2263
e1894109
SM
22642012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2267 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2268 (event-start, event-end): Use posn-at-point to return a more
2269 informative posn.
2270 (posnp): New function.
2271 * mouse.el (popup-menu-normalize-position): Use it.
2272
c69f56a2
MY
22732012-08-10 Masatake YAMATO <yamato@redhat.com>
2274
2275 * mouse.el (popup-menu-normalize-position): New function.
2276 (popup-menu): Use `popup-menu-normalize-position' to normalize
2277 the form for POSITION argument.
2278
2279 * term/x-win.el (x-menu-bar-open):
2280 Use the value returend from (posn-at-point) as position
2281 passed to `popup-menu'.
2282
31673780
JB
22832012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2284
2285 * calc/calccomp.el (math-compose-expr): Add extra argument
2286 indicating that parentheses should be put around products in
2287 denominators. Give multiplication precedence over division during
2288 composition.
2289
dab7711b
CY
22902012-08-09 Chong Yidong <cyd@gnu.org>
2291
dee4ef93
CY
2292 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2293 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2294 (Man-untabify-command, manual-program): Convert to defcustom
2295 (Bug#10429).
2296
73e2bbc5
CY
2297 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2298
3e861c8a
CY
2299 * descr-text.el (describe-char): Don't insert extra newlines
2300 (Bug#10127).
2301
a9f5a649
CY
2302 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2303 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2304
dab7711b
CY
2305 * align.el (align-region): Delete temporary markers (Bug#10047).
2306 Plus some code cleanups.
2307
e0cc4efa
FEG
23082012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2309
2310 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2311 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2312 (python-shell-internal-last-output): Use make-local-variable
2313 instead of make-variable-buffer-local.
2314
489af14f
FEG
23152012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2316
2317 * progmodes/python.el: Enhancements to forward-sexp.
2318 (python-nav-forward-sexp): Rename from
2319 python-nav-forward-sexp-function.
c69f56a2
MY
2320 (python-nav--forward-sexp, python-nav--backward-sexp):
2321 New functions.
489af14f 2322
0fc50303
JB
23232012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2324
2325 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2326 modes and simplification modes.
2327
5d65606a
SM
23282012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * delsel.el (delete-selection-pre-hook): Don't propagate the
2331 file-supersession signals (bug#12161).
2332
4250fdf5
SM
23332012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2336 (cl-map-extents): Add compatibility aliases (bug#12135).
2337
d9f9b465
MA
23382012-08-08 Michael Albinus <michael.albinus@gmx.de>
2339
2340 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2341 tests by `ignore-error'.
2342 (tramp-find-shell): Open also a new shell, when cache is already
2343 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2344
ce0fcefa
JL
23452012-08-08 Juri Linkov <juri@jurta.org>
2346
2347 * bookmark.el: Add `defaults' property to the bookmark record.
2348 (bookmark-current-buffer): Doc fix.
2349 (bookmark-make-record): Add `defaults' property with default values
2350 to the bookmark record.
2351 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2352 with `bookmark-insert-current-bookmark'.
2353 (bookmark-set): Get `defaults' property from the bookmark record
2354 and use it in `read-from-minibuffer'.
2355 (bookmark-insert-current-bookmark): Remove function.
2356
2357 * info.el (Info-bookmark-make-record): Add `defaults' property
2358 with values of canonical Info node name, the current Info file
2359 name and the current Info node name. (Bug#12107)
2360
53fa8652
JL
23612012-08-08 Juri Linkov <juri@jurta.org>
2362
2363 * files.el (basic-save-buffer): Use `buffer-name' as the default
2364 of `read-file-name' when buffer is not visiting a file (bug#12128).
2365
242c0a95
JL
23662012-08-08 Juri Linkov <juri@jurta.org>
2367
2368 * info.el (Info-isearch-search): Doc fix.
2369 (Info-search): Change search-failed message from "initial node" to
2370 "end of node" (bug#12078).
2371 (Info-isearch-search): Change `isearch-string-state' to
2372 `isearch--state-string'.
2373
32ac3a6b
GM
23742012-08-08 Glenn Morris <rgm@gnu.org>
2375
2376 * language/persian.el: Remove file.
f8c1afd5 2377 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2378 * loadup.el: Remove language/persian.
2379
2c2d9c9c
OF
23802012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2381
2382 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2383
2d79ec42
FEG
23842012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2385
2386 * progmodes/python.el Fixed defsubst warning.
2387 (python-syntax-context) Rename from python-info-ppss-context.
2388 (python-syntax-context-type): Rename from
2389 python-info-ppss-context-type.
2390 (python-syntax-comment-or-string-p): Rename from
2391 python-info-ppss-comment-or-string-p.
2392
2bd255dd
JB
23932012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2394
2395 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2396
c395097f
AS
23972012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2398
6125983e
AS
2399 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2400 a defcustom that is quoted with backquote.
2401
4250fdf5
SM
2402 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2403 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2404 (math-do-arg-check, math-define-function-body): Use backquote forms.
2405 * calc/calc-ext.el (math-defcache): Likewise.
2406 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2407 * allout.el (allout-new-exposure): Likewise.
2408 * calc/calcalg2.el (math-tracing-integral): Likewise.
2409 * info.el (Info-last-menu-item): Likewise.
2410 * emulation/vip.el (vip-loop): Likewise.
2411 * textmodes/artist.el (artist-funcall): Likewise.
2412 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2413 Construct menu-item directly.
2414
4250fdf5
SM
2415 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2416 Don't declare.
c395097f 2417
5fb50dd3
CY
24182012-08-07 Chong Yidong <cyd@gnu.org>
2419
2420 * simple.el (deactivate-mark): Preserve text properties when
2421 saving the primary selection (Bug#8384).
2422
54eea618
KR
24232012-08-07 Kevin Ryde <user42@zip.com.au>
2424
2425 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2426 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2427 and continue processing (Bug#12110).
2428
638eaeb9
SM
24292012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2432 syntax-propertize-function (bug#10095).
2433
ea376861
SM
24342012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2435
f91b35be
SM
2436 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2437 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2438 describe-function-1.
2439 (describe-function-1): Use them. Move compiler macro after sig.
2440 (help-fns--compiler-macro): Use function-get. Assume we're already in
2441 standard-output. Adjust layout to new call order.
2442
ea376861
SM
2443 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2444 re-binding a symbol that has a symbol-macro (bug#12119).
2445
d5be7bd0
MB
24462012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2447
2448 * language/persian.el: New file. (Bug#11812)
2449 * loadup.el: Add language/persian.el.
2450
90749b53
CY
24512012-08-06 Chong Yidong <cyd@gnu.org>
2452
2453 * window.el (window--maybe-raise-frame): New function.
2454 (window--display-buffer): Split off from here.
2455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2456 (display-buffer-pop-up-window, display-buffer-use-some-window):
2457 Obey an inhibit-switch-frame action alist entry.
2458 (display-buffer): Update doc.
2459
2460 * replace.el (occur-after-change-function): Avoid losing focus by
2461 using the inhibit-switch-frame display parameter (Bug#12139).
2462
ba7b0154
FEG
24632012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2464
2465 Make internal shell process buffer names start with space.
2466 * progmodes/python.el (python-shell-make-comint): Add optional
2467 argument INTERNAL.
2468 (run-python-internal): Use it.
2469 (python-shell-internal-get-or-create-process): Check for new
2470 internal buffer names.
2471
5eaeacb5
GM
24722012-08-06 Glenn Morris <rgm@gnu.org>
2473
e296d94b 2474 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2475 Do less getting and setting of environment variables.
2476
b7ccbdc2
CY
24772012-08-05 Chong Yidong <cyd@gnu.org>
2478
777fe95e
CY
2479 * proced.el (proced): Add substitution string to docstring to
2480 trigger autoloading of the proced library on C-h f (Bug#1768).
2481
4250fdf5
SM
2482 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2483 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2484
2485 * imenu.el (imenu-generic-expression): Move documentation here
2486 from imenu--generic-function.
2487 (imenu--generic-function): Refer to imenu-generic-expression.
2488
9e3b7800 24892012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2490
2491 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2492 indentation declaration.
2493 (viper-loop): Add indentation declaration (Bug#7025).
2494
e5d9c0d1
CY
24952012-08-05 Chong Yidong <cyd@gnu.org>
2496
f0422feb
CY
2497 * help-fns.el (describe-variable): Add hyperlink for
2498 directory-local variables files. Improve buffer-local and
2499 permanent-local reporting; suggested by MON KEY (Bug#6644).
2500
2501 * help-mode.el (help-dir-local-var-def): New button type.
2502
e5d9c0d1
CY
2503 * files.el (kill-buffer-hook): Provide a defvar.
2504
a4f2deaa
GM
25052012-08-05 Glenn Morris <rgm@gnu.org>
2506
2507 * eshell/esh-ext.el (eshell/addpath):
2508 Also update eshell-path-env. (Bug#12013)
2509
a9dd5754
CY
25102012-08-05 Chong Yidong <cyd@gnu.org>
2511
a4f2deaa 2512 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2513
d014c740
CY
2514 * fringe.el (fringe-styles): Add docstring.
2515 (fringe--check-mode): New function.
2516 (set-fringe-mode, set-fringe-style): Use it.
2517 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2518
a9dd5754
CY
2519 * files.el (set-auto-mode): Fix invalid setq call.
2520
7c2dc8bd
SM
25212012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * isearch.el: Misc simplification; use defstruct.
2524 (isearch-mode-map): Dense maps now work like sparse ones.
2525 (isearch--state): New defstruct.
2526 (isearch-string-state, isearch-message-state, isearch-point-state)
2527 (isearch-success-state, isearch-forward-state)
2528 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2529 (isearch-wrapped-state, isearch-barrier-state)
2530 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2531 replaced by defstruct's accessors.
2532 (isearch--set-state): Rename from isearch-top-state and change
2533 calling convention.
2534 (isearch-push-state): Use new isearch--get-state.
2535 (isearch-toggle-word): Disable regexp when enabling word.
2536 (isearch-message-prefix): Remove unused arg _c-q-hack.
2537 (isearch-message-suffix): Remove unused arg _ellipsis.
2538
7fcc0070
AS
25392012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2540
2541 * simple.el (list-processes--refresh): For a server use :host or
2542 :local as the address.
97ad0769 2543 (list-processes): Doc fix.
7fcc0070 2544
00340faf
MN
25452012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2546
2547 * lisp/mpc.el: Support password in host argument.
2548 (mpc--proc-connect): Parse and use new password element.
2549 Set mpc-proc variable instead of returning process.
2550 (mpc-proc): Adjust accordingly.
2551
6dad7178
EZ
25522012-08-03 Eli Zaretskii <eliz@gnu.org>
2553
18949c2f
EZ
2554 * whitespace.el (whitespace-display-mappings): Use Unicode
2555 codepoints, instead of emacs-mule codepoints. See
2556 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2557 for the details.
2558
6dad7178
EZ
2559 * files.el (file-truename): Don't skip symlink-chasing part on
2560 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2561 Windows into the loop that recursively chases symlinks.
2562 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2563 MS-DOS.
2564
385b0198
CY
25652012-08-03 Chong Yidong <cyd@gnu.org>
2566
6200f3c4
CY
2567 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2568
385b0198
CY
2569 * sort.el (sort-regexp-fields): Doc fix.
2570
b9e74744
TH
25712012-08-03 Tassilo Horn <tsdh@gnu.org>
2572
2573 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2574 labels regex position point at the expected place.
2575
41013cb4
MK
25762012-08-03 MON KEY <monkey@sandpframing.com>
2577
2578 * net/imap.el (imap-interactive-login, imap-authenticate)
2579 (imap-mailbox-lsub, imap-mailbox-list)
2580 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2581 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2582 (imap-parse-response): Doc fix.
2583
0ffee616
JT
25842012-08-03 João Távora <joaotavora@gmail.com>
2585
2586 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2587 if sexp scanning does not move point (Bug#5734).
2588
cfcc9cc8
TH
25892012-08-02 Tassilo Horn <tsdh@gnu.org>
2590
2591 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2592 Add listings, minted, and ctable packages.
2593 (reftex-label-alist-builtin): Move listings, minted, and ctable
2594 entries before LaTeX.
a01bbb84 2595 (reftex-label-alist): Docfix.
cfcc9cc8 2596
66ec2442
BG
25972012-08-02 Bastien Guerry <bzg@gnu.org>
2598
2599 * replace.el (occur): Fix docstring (bug#12122).
2600
837b365b
GM
26012012-08-02 Glenn Morris <rgm@gnu.org>
2602
2603 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2604
e098de97
PE
26052012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2606
2607 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2608 * international/mule-cmds.el: Create
2609 inactivate-current-input-method-function as an obsolete alias for
2610 deactivate-current-input-method-function. See Katsumi Yamaoka in
2611 <http://bugs.gnu.org/10150#46>.
2612
a0f95636
JB
26132012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2614
2615 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2616 of nested `if's.
2617
0d26d7c4
GM
26182012-08-01 Glenn Morris <rgm@gnu.org>
2619
2620 * progmodes/autoconf.el (autoconf-definition-regexp):
2621 Add AH_TEMPLATE, adjust submatch numbering.
2622 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2623 (autoconf-current-defun-function): Update for above change.
2624 (autoconf-current-defun-function): First skip to end of current word.
2625
b686ba06
RS
26262012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2627
2628 * calendar/cal-html.el (cal-html-insert-agenda-days):
2629 Fix typo. (Bug#12018)
2630
0d49da68
FEG
26312012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2632
2633 Shell processes: enhancements to startup and CEDET compatibility.
2634 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2635 (python-shell-make-comint): accept-process-output at startup.
2636 (run-python-internal): Set inferior-python-mode-hook to nil.
2637 (python-shell-internal-get-or-create-process): call sit-for.
2638 (python-preoutput-result): Add obsolete alias.
2639 (python-shell-internal-send-string): Use it.
2640 (python-shell-send-setup-code): Remove call to
2641 accept-process-output.
2642
f1a71c6e
AS
26432012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2644
2645 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2646 (Bug#12108)
2647
d2605269
JB
26482012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2649
2650 * calc-mode.el (calc-basic-simplification-mode): Rename from
2651 `calc-limited-simplification-mode'.
2652 (calc-alg-simplification-mode): New function.
d66060f8 2653 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2654
d2605269
JB
2655 * calc.el (calc-set-mode-line): Adjust mode line display for
2656 basic simplification mode.
2657
2658 * calc-help.el (calc-m-prefix-help): Update help message.
2659
2660 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2661 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2662
a3827a43
BG
26632012-07-31 Bastien Guerry <bzg@gnu.org>
2664
2665 * man.el (man): Fix comment. (bug#12101)
2666
502e3f89
MR
26672012-07-31 Martin Rudalics <rudalics@gmx.at>
2668
2669 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2670 Don't return a non-nil value when no suitable buffer was found.
2671
d7714961
FEG
26722012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2673
2674 * progmodes/python.el (run-python-internal): Disable font lock for
2675 internal shells.
2676
1f45e27e
SM
26772012-07-30 Stefan Merten <smerten@oekonux.de>
2678
2679 * rst.el: Silence `checkdoc-ispell'.
2680 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2681 (rst-official-version, rst-official-cvs-rev)
2682 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2683 (rst-mode-map): New key binding.
2684
0aee6912
PE
26852012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 Update .PHONY listings in makefiles.
2688 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2689 autoloads, update-subdirs, updates, bzr-update, update-authors,
2690 compile-onefile, compile-calc, backup-compiled-files,
2691 compile-after-backup, compile-one-process, mh-autoloads,
2692 bootstrap-clean, distclean, maintainer-clean.
2693
9052f9f0
JB
26942012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2695
1823ac5a
JB
2696 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2697 (calc-set-mode-line): Don't display "AlgSimp ".
2698
2699 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2700 (calc-lim-simplify-mode): New function.
2701 (calc-set-simplify-mode): Default to 'alg.
2702 (calc-default-simplify-mode): Make algebraic simplifications
2703 the default.
2704
2705 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2706 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2707
8d7c7eed 2708 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2709 indicate new simplification modes.
2710
1823ac5a
JB
2711 * calc/README: Mention new default simplification mode.
2712
9052f9f0
JB
2713 * calc/calc.el (math-normalize-error): New variable.
2714 (math-normalize): Set `math-normalize-error' to t
2715 when there's an error.
2716
2717 * calc/calc-alg.el (math-simplify): Don't simplify when
2718 `math-normalize' returns an error.
2719
20ba0cb4
EZ
27202012-07-29 Eli Zaretskii <eliz@gnu.org>
2721
2722 * international/mule-cmds.el (set-locale-environment): Revert last
2723 change, since display-graphic-p returns nil when this function is
2724 called during startup. Instead...
2725
2726 * term/w32console.el (terminal-init-w32console): ...setup the
2727 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2728
a5dcc929
JL
27292012-07-29 Juri Linkov <juri@jurta.org>
2730
2731 * simple.el (goto-line): Don't display default line number in the
2732 prompt because it should be displayed by `read-number' (bug#9952).
2733 Add the current line number to the defaults of `goto-line' to
2734 allow its easier modification by users with `M-n' (bug#9201).
2735
2736 * subr.el (read-number): Support multiple default values like in
2737 other minibuffer reading functions. Replace `read' with
2738 `string-to-number' for consistency with `number-to-string'.
2739
72b255c7
PE
27402012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2741
2742 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2743 * emulation/viper-init.el (viper-deactivate-input-method-action):
2744 Rename from viper-inactivate-input-method-action.
2745 (viper-deactivate-input-method):
2746 Rename from viper-inactivate-input-method.
2747 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2748 * international/mule-cmds.el (deactivate-input-method):
2749 Rename from inactivate-input-method.
2750 Also run input-method-deactivate-hook.
2751 (deactivate-current-input-method-function):
2752 Rename from inactivate-current-input-method-function.
2753 (input-method-deactivate-hook): New hook.
2754 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2755 (inactivate-input-method): Mark obsolete.
2756
72b255c7
PE
2757 * international/quail.el (quail-activate):
2758 Also run quail-deactivate-hook.
2759 (quail-deactivate): Rename from quail-inactivate.
2760 * international/robin.el (robin-activate):
2761 Also run robin-deactivate-hook.
2762 (robin-deactivate): Rename from robin-inactivate.
2763
2549c068
CY
27642012-07-29 Chong Yidong <cyd@gnu.org>
2765
2766 * simple.el (indicate-copied-region): New function.
2767 (kill-ring-save): Split off from here.
2768
2769 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2770 (kill-rectangle): Set deactivate-mark to t on read-only error.
2771
2772 * register.el (copy-to-register, copy-rectangle-to-register):
2773 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2774 (append-to-register, prepend-to-register):
2775 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2776
2777 * simple.el (async-shell-command-buffer): New defcustom.
2778 (shell-command): Use it. (Bug#4719)
2779
01bd1b0d
EZ
27802012-07-28 Eli Zaretskii <eliz@gnu.org>
2781
2782 * international/mule-cmds.el (set-locale-environment): In a
2783 console session on MS-Windows, set up keyboard and terminal
2784 encoding from the OEM codepage, not the ANSI codepage.
2785 (Bug#12055)
2786
a55739d3
CY
27872012-07-28 Chong Yidong <cyd@gnu.org>
2788
2789 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2790 gdb-get-location.
2791
0e1a094f 27922012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2793
2794 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2795 the alist (bug#12029).
2796
20329d73
EZ
27972012-07-28 Eli Zaretskii <eliz@gnu.org>
2798
2799 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2800 (compile-always, compile-first)
2801 ($(lisp)/calendar/cal-loaddefs.el)
2802 ($(lisp)/calendar/diary-loaddefs.el)
2803 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2804 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2805 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2806 instead of on update-subdirs.
2807 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2808
345a2258
CY
28092012-07-28 Chong Yidong <cyd@gnu.org>
2810
1eee6341
CY
2811 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2812 directory if vc-deduce-backend returns nil (Bug#7350).
2813
345a2258
CY
2814 * simple.el (delete-trailing-lines): New option.
2815 (delete-trailing-whitespace): Obey it (Bug#11879).
2816
049a0936
DE
28172012-07-28 David Engster <deng@randomsample.de>
2818
2819 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2820 Explanation of new 'symbol-qnames feature in doc-strings.
2821 (xml-maybe-do-ns): Return expanded names as plain symbols if
2822 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2823 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2824
aa81af71
FEG
28252012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2826
2827 Consistent completion in inferior python with emacs -nw.
2828 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2829 binding in inferior-python-mode-map with "\t".
2830 (python-shell-completion-complete-at-point)
2831 (python-completion-complete-at-point): Remove interactive spec.
2832
e827b1eb
JB
28332012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2834
2835 * calc/calccomp.el (math-compose-expr): Undo previous change.
2836
a90dfb95
FEG
28372012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2838
4250fdf5 2839 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2840 run-python.
2841 (python-shell-make-comint): Fix pop-to-buffer call.
2842 (run-python): Autoload. New arg SHOW.
2843 (python-shell-get-or-create-process): Do not pop python process
2844 buffer.
2845
32770973 28462012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2847
2848 * notifications.el (notifications-on-action-signal)
2849 (notifications-on-closed-signal): Use also the bus address for the map.
2850 (notifications-notify, notifications-close-notification)
2851 (notifications-get-capabilities): Add optional argument BUS.
2852
86332df2
TH
28532012-07-27 Tassilo Horn <tsdh@gnu.org>
2854
4250fdf5
SM
2855 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2856 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2857 ctable macro.
2858 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2859 labels written in keyvals syntax.
2860
ca1302a4
JB
28612012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2862
2863 * calc/calccomp.el (math-compose-expr): Use parentheses when
2864 there is a product in the denominator of a fraction.
2865
f8b91036
EZ
28662012-07-26 Eli Zaretskii <eliz@gnu.org>
2867
2868 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2869 ($(lisp)/calendar/diary-loaddefs.el)
2870 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2871 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2872 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2873 rewritten while the autoload files are built at the same time,
2874 which needs to load subdirs.el.
2875
c8e5a42c
MR
28762012-07-26 Martin Rudalics <rudalics@gmx.at>
2877
2878 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2879 (mouse-drag-line): Don't exit tracking when a switch-frame or
2880 switch-window event occurs (Bug#12006).
2881
670d85ea
SM
28822012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * mouse.el (popup-menu): Fix last change.
2885
7abaf5cc
SM
28862012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 Autoload from Lisp with more care. Follow aliases when looking for
2889 function properties.
2890 * subr.el (autoloadp): New function.
2891 (symbol-file): Use it.
2892 (function-get): New function.
2893 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2894 autoload-do-load.
2895 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2896 (lisp-indent-function):
2897 * emacs-lisp/gv.el (gv-get):
2898 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2899 * emacs-lisp/byte-opt.el (byte-optimize-form):
2900 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2901 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2902 Use function-get.
2903 * emacs-lisp/cl.el: Don't propagate function properties any more.
2904
2905 * speedbar.el (speedbar-add-localized-speedbar-support):
2906 * emacs-lisp/disass.el (disassemble-internal):
2907 * desktop.el (desktop-load-file):
2908 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2909 (describe-function-1):
2910 * emacs-lisp/find-func.el (find-function-noselect):
2911 * emacs-lisp/elp.el (elp-instrument-function):
2912 * emacs-lisp/advice.el (ad-has-proper-definition):
2913 * apropos.el (apropos-safe-documentation, apropos-macrop):
2914 * emacs-lisp/debug.el (debug-on-entry):
2915 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2916 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2917 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2918
b1364986
AA
29192012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2920
2921 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2922 function, not an obsolete variable (Bug#12046).
2923
67ada220
AS
29242012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2925
2926 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2927
f08088e3
CS
29282012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2929
2930 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2931 window only if it is still live (Bug#12034).
2932
8137e7b3
MR
29332012-07-25 Martin Rudalics <rudalics@gmx.at>
2934
2935 * subr.el (redirect-frame-focus): Add advertised calling
2936 convention (Bug#12030).
2937
09ae5da1
PE
29382012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2939
2940 Prefer typical American spelling for "acknowledgment".
2941 * vc/add-log.el (change-log-acknowledgment): Rename from
2942 change-log-acknowledgement, with an alias for the old name.
2943
3cc5a3a8
JB
29442012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2945
2946 * calc-alg.el (math-simplify-divide): Don't cross multiply
2947 in an equation when the lhs is a variable.
2948
b7af7f62
JD
29492012-07-24 Julien Danjou <julien@danjou.info>
2950
2951 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2952 Remove, unused.
2953
ec1b09b1
EZ
29542012-07-23 Eli Zaretskii <eliz@gnu.org>
2955
2956 * startup.el (command-line): Don't display an empty user name in
2957 the error message about non-existent home directory, when
2958 init-file-user was set to an empty string. See
2959 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2960 for the details and context.
2961
b525fd8a
VB
29622012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2963
2964 * ses.el (ses-cell-formula-aset): New macro.
2965 (ses-cell-references-aset): New macro.
2966 (ses-cell-p): New function.
2967 (ses-rename-cell): Do no longer rely on complex operations like
2968 ses-cell-set-formula or ses-set-cell to change the cell and handle
2969 the undo at the same time, but rather use lower level new macros
2970 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2971 the undo directly. Refresh the mode line.
2972
2c73e345
LL
29732012-07-21 Leo Liu <sdl.web@gmail.com>
2974
670d85ea
SM
2975 * progmodes/cc-cmds.el (c-defun-name):
2976 Use match-string-no-properties instead for consistency.
2c73e345 2977
542dfbde
LL
29782012-07-20 Leo Liu <sdl.web@gmail.com>
2979
3646bcd6
LL
2980 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2981 (Bug#7879)
2982
542dfbde
LL
2983 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2984
25721031
CY
29852012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2988 * progmodes/bug-reference.el, misearch.el: Provide themselves
2989 (bug#11915).
2990
2991 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2992 of narrowed buffer (bug#11966).
2993
316e68a7
VB
29942012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2995
2996 * ses.el (ses-rename-cell): Set new name also in reference list of
2997 cells of which the renamed cell depends.
2998
bbf0e7d9
MY
29992012-07-20 Masatake YAMATO <yamato@redhat.com>
3000
3001 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3002 to check whether menu-bar is shown or not. If not shown,
3003 show the menu-bar as a popup menu instead of using tmm.
3004 * mouse.el (popup-menu): Accept `point' as `position' argument.
3005
c28662a8
DG
30062012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3007
3008 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3009 up inside string symbol literal (bug#11923).
3010
87ab808f
EZ
30112012-07-20 Eli Zaretskii <eliz@gnu.org>
3012
3013 * startup.el (fancy-startup-text): Read the whole tutorial, not
3014 just its first 256 bytes. Prevents gibberish in display of the
3015 tutorial title.
3016
89dea803
DA
30172012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3018
3019 Drop idle buffer compaction due to an absence of the
3020 proved efficiency.
3021 * compact.el: Remove.
3022
8a4e6db8
SS
30232012-07-19 Sam Steingold <sds@gnu.org>
3024
3025 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3026 vc-bzr-pull & vc-bzr-merge-branch.
3027 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3028 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3029 for consistency with compilation-error-regexp-alist.
3030 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3031 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3032 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3033 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3034
5db81e33
SM
30352012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * emacs-lisp/chart.el: Use lexical-binding.
3038 (chart-emacs-storage): Don't hardcode the list of entries.
3039
5b835e1d
DA
30402012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3041
3042 Next round of tweaks caused by Fgarbage_collect changes.
3043 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3044
9cd47b72
DA
30452012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3046
3047 Compact buffers when idle.
3048 * compact.el: New file.
3049
1d6fc0df
SM
30502012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * subr.el (eventp): Presume that if it looks vaguely like an event,
3053 it's an event (bug#10190).
3054
1d29cc7d
FEG
30552012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3056
3057 Enhancements to ppss related code (thanks Stefan).
3058 * progmodes/python.el (python-indent-context)
3059 (python-indent-calculate-indentation, python-indent-dedent-line)
3060 (python-indent-electric-colon, python-nav-forward-block)
3061 (python-mode-abbrev-table)
1d6fc0df 3062 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3063 for ppss context.
3064 (python-info-continuation-line-p): Cleanup.
3065 (python-info-ppss-context): Do not catch 'quote.
3066 (python-info-ppss-context-type)
3067 (python-info-ppss-comment-or-string-p): Simplify.
3068
d583cbe6
FEG
30692012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3070
3071 * progmodes/python.el: Enhancements to eldoc support.
3072 (python-info-current-symbol): New function.
3073 (python-eldoc-at-point): Use python-info-current-symbol.
3074 (python-info-current-defun): Fix cornercase on first defun scan.
3075 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3076 and signal error when no inferior python process is available.
3077
eceb6feb
DG
30782012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3079
3080 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3081 assume it's always t.
3082 (vc-git-registered): Remove caching, the function is only called
3083 once.
3084 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3085
4c8ff0fe
CY
30862012-07-18 Chong Yidong <cyd@gnu.org>
3087
19fb7186
CY
3088 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3089
9587c688
CY
3090 * simple.el (count-words): Report on narrowing (Bug#9959).
3091
0fe776a1
CY
3092 * bindings.el: Bind M-= to count-words.
3093
4c8ff0fe
CY
3094 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3095
7f5331cc
MY
30962012-07-18 Masatake YAMATO <yamato@redhat.com>
3097
3098 * progmodes/sh-script.el (sh-imenu-generic-expression):
3099 Capture a function with `function' keyword and without parentheses
3100 like "function FOO" (bug#11856).
3101
2dc2a609
TH
31022012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3103
3104 * window.el (split-window-sensibly): Make WINDOW argument
3105 optional.
3106
439f7677
CY
31072012-07-18 Chong Yidong <cyd@gnu.org>
3108
9aeb25a6
CY
3109 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3110
439f7677
CY
3111 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3112 and make C-x 8 RET exit isearch (Bug#11439).
3113
3114 * international/iso-transl.el: Move isearch-mode-map key
3115 definitions to isearch.el.
3116
12999ea8
SM
31172012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3120 (eieio-defclass): Use gv-define-setter when possible.
3121
3ab6e069
DA
31222012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3123
3124 Reflect recent changes in Fgarbage_collect.
3125 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3126 reflect new format of data returned by Fgarbage_collect.
3127
0a60bc10
FEG
31282012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3129
3130 New utility functions + python-info-ppss-context fix (Bug#11910).
3131 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3132 (python-info-ppss-comment-or-string-p): New functions.
3133 (python-info-ppss-context): Small fix for string check.
3134
6dafa0d5
JL
31352012-07-17 Juri Linkov <juri@jurta.org>
3136
3137 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3138 (dired-do-async-shell-command): Don't add `*' at the end of the
3139 command (Bug#11815).
3140 (dired-do-shell-command): Doc fix.
3141 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3142 Join the individual commands using either "&" or ";" as the
3143 separator depending on the values of these trailing characters.
3144 At the end re-add the trailing "&". (Bug#10598)
3145
3146 * simple.el (async-shell-command): Sync the interactive spec with
3147 `shell-command'. Doc fix.
3148 (shell-command): Doc fix.
3149
b19dd9d1
JL
31502012-07-17 Juri Linkov <juri@jurta.org>
3151
3152 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3153
bcdc27d7 31542012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3155
bcdc27d7 3156 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3157 * progmodes/python.el (python-nav-beginning-of-statement):
3158 Rename from python-nav-statement-start.
bcdc27d7
FEG
3159 (python-nav-end-of-statement): Rename from
3160 python-nav-statement-end.
3161 (python-nav-beginning-of-block): Rename from
3162 python-nav-block-start.
3163 (python-nav-end-of-block): Rename from python-nav-block-end.
3164
191da00e
FEG
31652012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3166
7f5331cc
MY
3167 * progmodes/python.el (python-shell-send-string-no-output):
3168 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3169 future interactions (Bug#11868).
3170
4dc7c8d5 31712012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3172
88ecaf8f
SM
3173 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3174
ef501ef0
SM
3175 * emacs-lisp/elint.el (elint-find-args-in-code):
3176 Use help-function-arglist, so as to handle lexical byte-code.
3177
aa7aaf8f
SM
3178 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3179 change (bug#11826).
3180
45fd731c
SM
31812012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3182
2143fa32
SM
3183 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3184 Avoid spuriously marking the buffer as modified because of c-is-sws.
3185
efc26dbe
SM
3186 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3187 as not-a-comment (bug#11946).
3188
f5695c9a
SM
3189 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3190 for uninterned vars.
3191
3192 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3193 Use read-event since we don't really want to read chars but bytes.
3194
45fd731c
SM
3195 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3196 $$..$$ but also $..$ using regexps (bug#11953).
3197 Use tex-verbatim for \url and \path.
3198 (tex-font-lock-keywords): Define as defconst like the others.
3199 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3200
ddfc8813
RK
32012012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3202
3203 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3204 alias for insert-char.
3205
758e556a
FEG
32062012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3207
3208 * progmodes/python.el: Simplified imenu implementation.
3209 (python-nav-jump-to-defun): Remove command.
3210 (python-mode-map): Use `imenu' instead.
3211 (python-nav-list-defun-positions-cache)
3212 (python-imenu-include-defun-type, python-imenu-make-tree)
3213 (python-imenu-subtree-root-label, python-imenu-index-alist):
3214 Remove vars.
3215 (python-nav-list-defun-positions, python-nav-read-defun)
3216 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3217 (python-imenu-make-tree, python-imenu-create-index):
3218 Remove functions.
758e556a
FEG
3219 (python-mode): Update to interact with imenu by setting
3220 `imenu-extract-index-name-function' only.
3221
032d23ab
FEG
32222012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3223
3224 * progmodes/python.el: Enhancements to navigation commands.
3225 (python-nav-backward-sentence)
3226 (python-nav-forward-sentence): Remove.
3227 (python-nav-backward-statement, python-nav-forward-statement)
3228 (python-nav-statement-start, python-nav-statement-end)
3229 (python-nav-backward-block, python-nav-forward-block)
3230 (python-nav-block-start, python-nav-block-end)
3231 (python-nav-forward-sexp-function)
3232 (python-info-current-line-comment-p)
3233 (python-info-current-line-empty-p): New functions.
3234 (python-indent-context): Use `python-nav-statement-start'.
3235
01795a1b
MA
32362012-07-16 Michael Albinus <michael.albinus@gmx.de>
3237
9328d9aa
MA
3238 * eshell/em-ls.el (eshell/ls): Use `apply'.
3239
3240 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3241 multi-hops, instead of Tramp internals.
3242
01795a1b
MA
3243 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3244
3245 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3246 when F1 and F2 are located on different hosts.
3247
63408057
CY
32482012-07-14 Chong Yidong <cyd@gnu.org>
3249
3250 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3251 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3252 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3253 (xterm-mouse--read-event-sequence-1000)
3254 (xterm-mouse--read-event-sequence-1006): New functions. For old
3255 mouse protocol, handle M-mouse-X events correctly.
3256 (xterm-mouse-event): New arg specifying mouse protocol.
3257 (turn-on-xterm-mouse-tracking-on-terminal)
3258 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3259 sequence to toggle extended coordinates on newer XTerms.
3260 This appears to be harmless on terminals which do not support this.
63408057 3261
cd276f6e
LL
32622012-07-14 Leo Liu <sdl.web@gmail.com>
3263
28ca98ac
LL
3264 Add fringe bitmap indicators for flymake. (Bug#11253)
3265 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3266 (flymake-make-overlay): New arg BITMAP.
3267 (flymake-error-bitmap, flymake-warning-bitmap)
3268 (flymake-fringe-indicator-position): New user variables.
3269
cd276f6e
LL
3270 * fringe.el: New bitmap exclamation-mark.
3271
04408072
JD
32722012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3273
3274 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3275 also (Bug#7879).
3276
b5cf7fc4
CY
32772012-07-14 Chong Yidong <cyd@gnu.org>
3278
3279 * electric.el (electric-pair-post-self-insert-function): Fix pair
3280 insertion in empty-region case (Bug#11520).
3281
be755c79
RT
32822012-07-14 Chong Yidong <cyd@gnu.org>
3283
45fd731c
SM
3284 * bindings.el: Consolidate ctl-x-r-map bindings.
3285 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3286
3287 * rect.el, register.el: Move bindings to bindings.el.
3288
32892012-07-14 Reuben Thomas <rrt@sc3d.org>
3290
3291 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3292
7f5b3198
AS
32932012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3294
3295 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3296
97662200
JB
32972012-07-13 Juanma Barranquero <lekktu@gmail.com>
3298
80185fed
JB
3299 * bindings.el (top): Use `mapc' instead of `mapcar'.
3300
97662200
JB
3301 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3302
2bb1ae55
MA
33032012-07-13 Michael Albinus <michael.albinus@gmx.de>
3304
3305 * progmodes/sql.el (sql-comint): Suppress the check for program on
3306 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3307 (Bug#11908)
3308
dea31bd3
CY
33092012-07-13 Chong Yidong <cyd@gnu.org>
3310
3311 * bindings.el: Assign a non-nil permanent-local property to
3312 per-buffer variables which lack a default value (Bug#11930).
3313
3314 * help-fns.el (describe-variable): In the "automatically becomes
3315 local" notice, take note of permanent-local variables.
3316
b68b3337
CY
33172012-07-13 Chong Yidong <cyd@gnu.org>
3318
3319 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3320 to allow printing the message when called from Lisp.
3321
3322 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3323 Remove toggle-read-only.
3324
3325 * bs.el (bs-toggle-readonly):
45fd731c
SM
3326 * buff-menu.el (Buffer-menu-toggle-read-only):
3327 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3328
3329 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3330 Remove with-no-warnings around toggle-read-only.
3331 (ffap-read-only, ffap-read-only-other-window)
3332 (ffap-read-only-other-frame): Callers changed.
3333
3334 * help-mode.el: Don't require view package.
3335 (help-mode-finish): Set buffer-read-only instead of calling
3336 toggle-read-only.
3337
3338 * bindings.el (mode-line-toggle-read-only):
3339 * dired.el (dired-toggle-read-only):
3340 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3341 with non-nil second arg.
3342
3343 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3344 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3345 directly.
3346
56bc1586
EZ
33472012-07-12 Eli Zaretskii <eliz@gnu.org>
3348
3349 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3350 not incf.
3351
a464a6c7
SM
33522012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 More CL cleanups and reduction of use of cl.el.
3355 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3356 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3357 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3358 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3359 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3360 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3361 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3362 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3363 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3364 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3365 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3366 * eshell/em-cmpl.el, eshell/em-banner.el:
3367 * calendar/parse-time.el: Use cl-lib.
3368 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3369 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3370 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3371 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3372 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3373 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3374 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3375 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3376 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3377 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3378 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3379 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3380 `lambda' rather than with `quote'.
3381 (eshell-do-opt): Adjust accordingly.
3382 (eshell-process-option): Simplify.
3383 * eshell/esh-var.el:
3384 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3385 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3386 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3387 to `pcase--dontcare'.
3388 * emacs-lisp/cl.el (labels): Mark obsolete.
3389 (cl--letf, letf): Move to cl-lib.
3390 (cl--letf*, letf*): Remove.
3391 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3392 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3393 (cl-progv): Rewrite.
3394 (cl--letf, cl-letf): Move from cl.el.
3395 (cl-letf*): New macro.
3396 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3397
7ad4afe1
MA
33982012-07-11 Michael Albinus <michael.albinus@gmx.de>
3399
3400 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3401
9af57756
CY
34022012-07-11 Chong Yidong <cyd@gnu.org>
3403
3404 * vc/log-edit.el (log-edit-vc-backend): New variable.
3405 (log-edit): Doc fix.
3406
3407 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3408 argument of log-edit to set up all local variables.
3409 (vc-start-logentry): New optional arg specifying VC backend.
3410
3411 * vc/vc.el (vc-checkin): Use it.
3412 (vc-deduce-fileset): Handle Log Edit buffers.
3413 (vc-diff): Make first argument optional too.
3414
3415 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3416
8477cc7a
MA
34172012-07-10 Michael Albinus <michael.albinus@gmx.de>
3418
3419 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3420 command, just in case. The function is not needed anymore.
3421 (eshell-external-command): Do not call `eshell-remote-command'.
3422
19faa8e8
SM
34232012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3424
f58e0fd5
SM
3425 Reduce use of (require 'cl).
3426 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3427 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3428 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3429 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3430 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3431 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3432 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3433 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3434 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3435 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3436 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3437 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3438 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3439 (byte-compile-unfold-bcf, byte-compile-check-variable):
3440 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3441 (byte-compile-nilconstp):
3442 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3443 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3444
2519d43a
SM
3445 * emacs-lisp/gv.el (cond): Make it a valid place.
3446 (if): Simplify slightly.
3447
19faa8e8
SM
3448 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3449 (pcase--self-quoting-p): New function.
3450 (pcase--u1): Use it.
3451
c4907a5e
GM
34522012-07-10 Glenn Morris <rgm@gnu.org>
3453
3454 * emacs-lisp/authors.el (authors-fixed-entries):
3455 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3456
c4444d16
PE
34572012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3458
3459 Rename configure.in to configure.ac (Bug#11603).
3460 * emacs-lisp/authors.el (authors-canonical-file-name):
3461 * progmodes/autoconf.el (autoconf-mode):
3462 Prefer configure.ac to configure.in.
3463
d75be97d
CY
34642012-07-08 Chong Yidong <cyd@gnu.org>
3465
01ac65bd
CY
3466 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3467 Implement the mouse-1-click-follows-link handling properly.
3468
3469 * info.el (Info-link-keymap): Use follow-link mechanism for
3470 header-line links (Bug#374).
3471
d75be97d
CY
3472 * simple.el (deactivate-mark): Do not set the primary selection
3473 if another program has acquired it (Bug#11772).
3474
87a92845 34752012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3476
3477 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3478 (woman-decode-region): Replace escaped-escapes without destroying
3479 bold or underline (Bug#11552).
87a92845 3480 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3481
621b9d6c
CY
34822012-07-07 Chong Yidong <cyd@gnu.org>
3483
3484 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3485 (interprogram-cut-function, interprogram-paste-function):
3486 Mention that we typically mean the clipboard.
621b9d6c 3487
133a11fc
GM
34882012-07-06 Glenn Morris <rgm@gnu.org>
3489
0d27a45e
GM
3490 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3491
133a11fc
GM
3492 * files.el (toggle-read-only): Restrict message to interactive use.
3493
07b151f1
MA
34942012-07-06 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3497
3498 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3499
211b896b
GM
35002012-07-06 Glenn Morris <rgm@gnu.org>
3501
50394322
GM
3502 * Makefile.in (compile-one-process): Rename from "recompile".
3503
211b896b
GM
3504 * Makefile.in (bzr-update): "compile" is the same as "recompile
3505 autoloads", but parallelizable, so use that instead.
3506
4737eec9
DG
35072012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3508
3509 * window.el (quit-window): Always restore window height when
8137e7b3 3510 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3511
226c3633 35122012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3513
3514 * simple.el (kill-whole-line): Doc tweak.
3515
226c3633 35162012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3517
3518 * files.el (file-relative-name): Compare file names
3519 case-insensitively if on MS-Windows or MS-DOS, or if
3520 read-file-name-completion-ignore-case is non-nil. Don't use
3521 case-fold-search for this purpose. (Bug#11827)
3522
4dc7c8d5
SM
35232012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3524
3525 * calendar/cal-dst.el (calendar-current-time-zone):
3526 Return calendar-current-time-zone-cache if non-nil.
3527
35282012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 35292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3530
19faa8e8
SM
3531 * calendar/cal-dst.el (calendar-current-time-zone):
3532 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3533
60198fc9
GM
35342012-07-06 Glenn Morris <rgm@gnu.org>
3535
3536 * Makefile.in (cvs-update): Remove old alias.
3537
957b3189
MA
35382012-07-05 Michael Albinus <michael.albinus@gmx.de>
3539
3540 Sync with Tramp 2.2.6-pre.
3541
3542 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3543 compatible declaration.
3544
19faa8e8
SM
3545 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3546 Protect `list-load-path-shadows' call.
957b3189
MA
3547
3548 * net/tramp-compat.el (top): Require packages, which aren't
3549 autoloaded anymore for XEmacs. Protect call of
3550 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3551 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3552 it hurts at least for SXEmacs.
3553 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3554 standard-value for `temporary-file-directory'.
3555
3556 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3557 Redirect stderr to /dev/null.
3558 (tramp-sh-handle-write-region): uid and gid can be floats.
3559 Reported by Russell Sim <russell.sim@gmail.com>.
3560 (tramp-sh-handle-vc-registered): Hide errors.
3561 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3562 and `start-file-process'.
3563 (tramp-maybe-open-connection): Check also whether `non-essential'
3564 is bound.
3565
566df3fc
CY
35662012-07-04 Chong Yidong <cyd@gnu.org>
3567
3568 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3569 (xml-parse-tag): Likewise, and avoid changing entity tables.
3570 (xml-syntax-table): Define from scratch, making sure not to give
3571 x2000 and other Unicode spaces whitespace syntax, since those are
3572 not spaces in XML.
3573 (xml-parse-fragment): Delete unused function.
3574 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3575 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3576 (xml-entity-ref, xml-pe-reference-re)
3577 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3578 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3579 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3580 (xml-entity-value-re): Use syntax references in regexps where
3581 possible; no need to define inside a let-binding.
3582 (xml-parse-dtd): Use xml-pe-reference-re.
3583 (xml-entity-or-char-ref-re): New defconst.
3584 (xml-parse-string, xml-substitute-special): Use it.
3585
30eabd7a
SM
35862012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3587
0781098a
SM
3588 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3589 (find-file--read-only): New function.
3590 (find-file-read-only, find-file-read-only-other-window)
3591 (find-file-read-only-other-frame): Use it.
3592 (insert-file-contents-literally): Don't `fset'.
3593 (get-free-disk-space): Use locate-dominating-file.
3594
b5771c0d
SM
3595 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3596 function is already compiled.
3597
30eabd7a
SM
3598 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3599
b4886f6e
MA
36002012-07-03 Michael Albinus <michael.albinus@gmx.de>
3601
3602 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3603 files on the same host.
3604
b9d82339
AS
36052012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3606
3607 * help-fns.el (describe-function-1): Only call
3608 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3609
a76e6535
CY
36102012-07-03 Chong Yidong <cyd@gnu.org>
3611
3612 * xml.el: Protect parser against XML bombs.
3613 (xml-entity-expansion-limit): New variable.
3614 (xml-parse-string, xml-substitute-special): Use it.
3615 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3616
b544fef2
GM
36172012-07-03 Glenn Morris <rgm@gnu.org>
3618
3619 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3620 Allow linking to specific messages in debbugs reports (eg 123#5).
3621
a7aef6f5
CY
36222012-07-02 Chong Yidong <cyd@gnu.org>
3623
3624 * xml.el: Fix entity and character reference expansion, allowing
3625 them to expand into markup as per XML spec.
3626 (xml-default-ns): New variable.
3627 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3628 (xml-parse-region): Make first two arguments optional.
3629 Discard text properties.
3630 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3631 All callers changed.
a7aef6f5
CY
3632 (xml-parse-tag): Call xml-parse-tag-1. For backward
3633 compatibility, this function should not modify buffer contents.
3634 (xml-parse-tag-1): Fix opening-tag regexp.
3635 (xml-parse-string): Rewrite, handling entity and character
3636 references properly.
3637 (xml--entity-replacement-text): Signal an error if a parameter
3638 entity is undefined.
3639
3df31c9f
SM
36402012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3641
2b5208f1
SM
3642 * comint.el (comint-output-filter): Filter out repeated prompts.
3643
3df31c9f
SM
3644 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3645 and file-name-absolute-p.
3646 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3647 internal calls.
3648
e3ac1281
PE
36492012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3650
3651 Spelling fixes.
3652 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3653 Rename from byte-compile--refiy-function. All uses changed.
3654
fbf2e7ad
CY
36552012-07-01 Chong Yidong <cyd@gnu.org>
3656
3657 * xml.el (xml--parse-buffer): New function. Move most of
3658 xml-parse-region here.
3659 (xml-parse-region): Copy region into a temporary buffer, since
3660 parameter entity substitution requires changing buffer contents.
3661 Use xml--parse-buffer.
3662 (xml-parse-file): Use xml--parse-buffer.
3663 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3664 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3665
9bf0aa15
GM
36662012-06-30 Glenn Morris <rgm@gnu.org>
3667
bbce2853
GM
3668 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3669
9bf0aa15
GM
3670 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3671 Remove outdated and unnecessary dbus declarations.
3672
0d23c240
EZ
36732012-06-30 Eli Zaretskii <eliz@gnu.org>
3674
3675 * emacs-lisp/timer.el (timer-until): Subtract results of
3676 float-time, instead of taking float-time of the result of
3677 time-subtract, since float-time signals an error for negative time
3678 arguments.
3679
b3218de1
CY
36802012-06-30 Chong Yidong <cyd@gnu.org>
3681
3682 * xml.el (xml-*-re): Convert defvars into defconsts, and
3683 eval-and-compile them so eval-and-compile works on derivatives.
3684 (xml--entity-replacement-text): Use eval-and-comple.
3685
a40c87a0
MA
36862012-06-30 Michael Albinus <michael.albinus@gmx.de>
3687
3688 * vc/vc-git.el (vc-git-registered): Use cache property
3689 `git-registered'.
3690 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3691 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3692 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3693
ac87de97
DG
36942012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3695
3696 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3697 removed (likely outside Emacs). (Bug#11757)
ac87de97 3698
ac10fe06
SM
36992012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3df31c9f 3701 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3702
7f3fbd5d
CY
37032012-06-30 Chong Yidong <cyd@gnu.org>
3704
3705 * xml.el: Implement XML parameter entities.
3706 (xml-parameter-entity-alist): New variable.
3707 (xml-parse-region, xml-parse-fragment): Preserve previous values
3708 of xml-entity-alist and xml-parameter-entity-alist, so that
3709 repeated calls on different documents do not change them.
3710 (xml-parse-tag): Fix doctype regexp.
3711 (xml--entity-replacement-text): New function.
3712 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3713 properly requires url retrieval which is unimplemented.
3714 (xml-escape-string): Doc fix.
3715
3cfbebba
SM
37162012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3719
2af3565e
DA
37202012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3721
3722 * fringe.el (fringe-mode): Doc fix.
3723
929df0e7
MA
37242012-06-29 Michael Albinus <michael.albinus@gmx.de>
3725
3726 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3727 is non-nil.
3728 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3729 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3730
c8d3a25c 37312012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3732
c8d3a25c
GM
3733 * calendar/cal-dst.el (calendar-current-time-zone):
3734 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3735
c8d3a25c 37362012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3737
3738 * progmodes/which-func.el (which-func-format):
3739 Add mouse-face. (Bug#11698)
3740
c8d3a25c
GM
37412012-06-29 Leo Liu <sdl.web@gmail.com>
3742
3743 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3744
37452012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * minibuffer.el (minibuffer-confirm-exit-commands):
3748 Add completion-at-point (bug#11725).
3749
37502012-06-29 Glenn Morris <rgm@gnu.org>
3751
3752 * progmodes/f90.el (f90-font-lock-keywords-2):
3753 Add some preprocessor elements. (Bug#10499)
3754
37552012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3758 Use syntax-propertize (bug#11739).
3759
2badeec4
JB
37602012-06-28 Juanma Barranquero <lekktu@gmail.com>
3761
3762 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3763
ae4969c2
JD
37642012-06-28 Julien Danjou <julien@danjou.info>
3765
3766 * term.el (term-handle-colors-array): Use a set of new faces to
3767 color the terminal. Also uses :inverse-video property.
3768 (term-default-fg-color): Set to nil by default, deprecate in favor
3769 of `term-face'.
3770 (term-default-bg-color): Set to nil by default, deprecate in favor
3771 of `term-face'.
3772 (term-current-face): Use `term-face' by default.
3773 (term-bold-attribute): Variable deleted.
3774
1c9bd870
GM
37752012-06-28 Glenn Morris <rgm@gnu.org>
3776
3777 * simple.el (completion-list-mode-finish):
3778 Don't use toggle-read-only. (Since completion-list-mode has
3779 a special mode-class, it wasn't doing anything extra anyway.)
3780
c207708c
SM
37812012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 Make inlining of other-mode interpreted functions work (bug#11799).
3784 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3785 (byte-compile): Use it to fix compilation of lexical-binding closures.
3786 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3787 function, if needed.
3788
3fd56834
SM
37892012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3790
04901786
SM
3791 * help-mode.el (help-make-xrefs): Don't just withstand
3792 cyclic-variable-indirection but any error in documentation-property.
3793
1ec4b7b2
SM
3794 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3795 memory use.
3796 * bindings.el (bindings--define-key): New function.
3797 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3798 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3799 * bindings.el: Use it to purecopy define-key bindings.
3800
e309e2a5
SM
3801 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3802
d5c6faf9
SM
3803 * emacs-lisp/cl.el (flet): Mark obsolete.
3804 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3805 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3806 * progmodes/js.el (js-c-fill-paragraph):
3807 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3808 (ebrowse-switch-member-buffer-to-derived-class):
3809 * play/5x5.el (5x5-solver): Use cl-flet.
3810
6e9590e2
SM
3811 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3812 (cl--symbol-function): New macro.
3813 (cl--letf, cl--letf*): Use it.
3814
3fd56834
SM
3815 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3816 Strip "toggle-" if any.
3817
35ff222c
GM
38182012-06-27 Glenn Morris <rgm@gnu.org>
3819
1ba6038a
GM
3820 * info.el (Info-default-directory-list): Move here from paths.el.
3821 * paths.el: Remove file, which is now empty.
3822 * loadup.el: No longer load "paths".
3823
0ea0e51b
GM
3824 * custom.el (custom-initialize-delay): Doc fix.
3825
35ff222c
GM
3826 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3827 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3828 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3829 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3830 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3831 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3832 * eshell/eshell.el (eshell-defgroup): Remove alias.
3833
c89926a5
CY
38342012-06-27 Chong Yidong <cyd@gnu.org>
3835
3836 * help.el (help-enable-auto-load): New variable.
3837
3838 * help-fns.el (help-fns--autoloaded-p): New function.
3839 (describe-function-1): Refer to a function as "autoloaded" if it
3840 was autoloaded at any time in the past. Perform autoloading if
3841 help-enable-auto-load is non-nil.
3842
cc06e7e7
EZ
38432012-06-26 Eli Zaretskii <eliz@gnu.org>
3844
3845 * makefile.w32-in (compile, compile-always): Depend on
3846 update-subdirs, not on subdirs.el. Otherwise, several different
3847 sub-targets of 'bootstrap' running in parallel could
3848 simultaneously write to subdirs.el, producing a garbled file.
3849
d2c32364
SS
38502012-06-26 Sam Steingold <sds@gnu.org>
3851
3852 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3853 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3854 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3855 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3856 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3857 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3858 * textmodes/tex-mode.el: Use it.
3859 Did not touch cedet and org because they are maintained elsewhere.
3860
5cf983b2
MR
38612012-06-26 Martin Rudalics <rudalics@gmx.at>
3862
3863 * calendar/calendar.el (calendar-exit): Don't try to delete or
3864 iconify last frame. See:
3865 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3866
8c4f2952
JD
38672012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3868
3869 * server.el (server-process-filter): Remember dir in the
3870 process's `server-client-directory' properties.
3871
772b2e2c
CY
38722012-06-24 Chong Yidong <cyd@gnu.org>
3873
3874 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3875 non-tag text.
3876
711b11e1
JB
38772012-06-23 Juanma Barranquero <lekktu@gmail.com>
3878
3879 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3880
dc5d230c
SM
38812012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * help-fns.el (describe-variable): Don't croak when doc is not found.
3884 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3885 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3886 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3887 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3888 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3889 ((lambda ..) ..).
3890 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3891
136e1c1d
CY
38922012-06-23 Chong Yidong <cyd@gnu.org>
3893
e8c1cabf
CY
3894 * info.el (Info-mouse-follow-link): Accept symbol values of
3895 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3896 (Info-fontify-node): Use Info-link-keymap for all navigation
3897 buttons, with link-args property to perform the desired action.
3898 (Info-link-keymap): Doc fix.
3899 (Info-next-link-keymap, Info-prev-link-keymap)
3900 (Info-up-link-keymap): Delete now-unused keymaps.
3901
0e9e6c6a
CY
39022012-06-23 Chong Yidong <cyd@gnu.org>
3903
05e89fea
CY
3904 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3905
0e9e6c6a
CY
3906 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3907 system abbrevs.
3908
3909 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3910
e33c6771
SM
39112012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3912
b68581e2
SM
3913 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3914 (bug#11719).
3915
e33c6771
SM
3916 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3917 the requote function doesn't work properly (bug#11714).
3918
7117e105
GM
39192012-06-23 Glenn Morris <rgm@gnu.org>
3920
3921 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3922
36cec983
SM
39232012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 Further GV/CL cleanups.
3926 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3927 gv-expander.
3928 (gv--defun-declaration): New function.
3929 (defun-declarations-alist): Use it.
3930 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3931 (gv-place): Autoload.
3932 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3933 original definition of dotimes and dolist.
3934 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3935 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3936 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3937 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3938 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3939 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3940 to the function's definition.
3941 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3942 * window.el:
3943 * files.el:
3944 * faces.el:
3945 * env.el: Don't use CL.
3946
d35af63c
PE
39472012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3948
3949 Support higher-resolution time stamps (Bug#9000).
3950
3951 * calendar/time-date.el (with-decoded-time-value): New arg
3952 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3953 (encode-time-value): New optional arg PICO. New type 3.
3954 (time-to-seconds) [!float-time]: Support the new picoseconds
3955 component if it's used.
3956 (seconds-to-time, time-subtract, time-add):
3957 Support ps-resolution time stamps as well.
3958
3959 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3960 (timerp): Timer vectors now have length 9, not 8.
3961 (timer--time): Support new-style (4-part) time stamps.
3962 (timer-next-integral-multiple-of-time): Time stamps now have
3963 picosecond resolution, so take a bit more care about rounding.
3964 (timer-relative-time, timer-inc-time): New optional arg psecs.
3965 (timer-set-time-with-usecs): Set psecs to 0.
3966 (timer--activate): Check psecs component, too.
3967
3968 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3969
ac77b21a
SM
39702012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3971
f143bfe3
SM
3972 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3973 Move the non-essential binding to the post/pre-command-hook where it is
3974 more obviously correct.
3975
ac77b21a
SM
3976 * subr.el (read-passwd): Don't use a history at all.
3977 * savehist.el (savehist-save): Remove password saved accidentally
3978 because of the above bug.
3979
76386c5a
BG
39802012-06-22 Bastien Guerry <bzg@gnu.org>
3981
3982 * files.el (toggle-read-only): Display a message telling whether
3983 the buffer is read-only or not (bug#11726).
3984
2ee3d7f0
SM
39852012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * emacs-lisp/gv.el: New file.
3988 * subr.el (push, pop): Extend to generalized variables.
3989 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3990 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3991 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3992 gv-define-simple-setter, and gv-define-expander.
3993 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3994 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3995 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3996 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3997 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3998 gv-letplace.
3999 (cl-defstruct): Don't define setf-method any more.
4000 * emacs-lisp/cl.el (flet): Don't autoload.
4001 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4002 (define-setf-expander, defsetf, define-modify-macro)
4003 (cl-struct-setf-expander): Move from cl-lib.el.
4004 * emacs-lisp/syntax.el:
4005 * emacs-lisp/ewoc.el:
4006 * emacs-lisp/smie.el:
4007 * emacs-lisp/cconv.el:
4008 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4009 (timer--time): Use gv-define-simple-setter.
4010 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4011 to avoid coding-system problems in subr.el. Adjust all users.
4012 (macroexp--maxsize, macroexp-small-p): New functions.
4013 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4014 * scroll-bar.el (scroll-bar-mode):
4015 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4016 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4017 * winner.el (winner-configuration, winner-make-point-alist)
4018 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4019 * files.el (locate-file-completion-table): Avoid list*.
4020
c5695d1d
CY
40212012-06-22 Chong Yidong <cyd@gnu.org>
4022
4023 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4024 (dired-create-files): Doc fix (Bug#11329).
4025 (dired-do-copy): Doc fix (Bug#11334).
4026 (dired-mark-read-string): Doc fix (Bug#11553).
4027
2ee3d7f0
SM
4028 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4029 Doc fix (Bug#11326).
c5695d1d
CY
4030 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4031 (dired-dwim-target): Doc fix.
4032
4033 * wdired.el (wdired-mode): Doc fix.
4034
89b5595a
GM
40352012-06-22 Glenn Morris <rgm@gnu.org>
4036
575db3f1
GM
4037 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4038 (pcmpl-rpm-cache-stamp-file): New constant.
4039 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4040 (pcmpl-rpm-packages): Optionally cache list of packages.
4041
a4c8dd51
GM
4042 * pcmpl-rpm.el (pcmpl-rpm): New group.
4043 (pcmpl-rpm-query-options): New option.
4044 (pcmpl-rpm-packages): No need to inline it.
4045 Use pcmpl-rpm-query-options.
4046
89b5595a
GM
4047 * calendar/calendar.el (calendar-in-read-only-buffer):
4048 Avoid some needless mode changes.
4049
e76f0800
CY
40502012-06-21 Chong Yidong <cyd@gnu.org>
4051
4052 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4053 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4054 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4055
297a8f1d
CY
40562012-06-20 Chong Yidong <cyd@gnu.org>
4057
4058 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4059
d34c18b1
DR
40602012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4061
4062 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4063 (bug#11201).
4064
32f7f28e
CY
40652012-06-20 Chong Yidong <cyd@gnu.org>
4066
4067 * term.el (term-window-width): Handle the case of a missing right
4068 fringe (Bug#8837).
4069 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4070 (term-mode): Use define-derived-mode. Minor cleanups.
4071 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4072 (term-move-columns, term-insert-char, term-emulate-terminal)
4073 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4074
493c6688
MA
40752012-06-20 Michael Albinus <michael.albinus@gmx.de>
4076
d34c18b1
DR
4077 * net/ange-ftp.el (ange-ftp-get-passwd):
4078 Bind `enable-recursive-minibuffers'.
493c6688
MA
4079 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4080
3f06ecf4
DR
40812012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4082
4083 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4084
68f12411
GM
40852012-06-19 Glenn Morris <rgm@gnu.org>
4086
4087 * progmodes/python.el (python-mode): Derive from prog-mode.
4088
b3820318
KG
40892012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4090
4091 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4092 (edt-user-menu-bar-update-buffers): New functions.
4093 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4094
c6bf3022
CY
40952012-06-19 Chong Yidong <cyd@gnu.org>
4096
4097 * subr.el (with-selected-window): Preserve the selected window's
4098 terminal's top-frame (Bug#4702).
4099
4100 * window.el (save-selected-window): Likewise.
4101
25f09295
SM
41022012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * progmodes/python.el (python-rx-constituents): Move backquote.
4105 (python-skeleton-define, python-define-auxiliary-skeleton):
4106 Use `declare'.
4107
6b11952a
MA
41082012-06-18 Michael Albinus <michael.albinus@gmx.de>
4109
4110 * minibuffer.el (read-file-name-default): Revert the patch from
4111 2012-06-17.
4112
ee4b1330
SM
41132012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4116 (pcase--u1, pcase--q1): Don't use apply-partially.
4117
35647f79
GM
41182012-06-18 Glenn Morris <rgm@gnu.org>
4119
4120 * progmodes/python.el (python-proc, python-buffer)
4121 (python-send-receive, python-send-string): Fix obsolete versions.
4122
24b0cff0
MR
41232012-06-18 Martin Rudalics <rudalics@gmx.at>
4124
4125 * window.el (special-display-p): Completely remove stringp
4126 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4127
29855149
MA
41282012-06-17 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4131
4132 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4133
4134 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4135 * net/tramp-sh.el (tramp-maybe-open-connection):
4136 Throw if `non-essential' is non-nil.
4137
07463363
MR
41382012-06-17 Martin Rudalics <rudalics@gmx.at>
4139
4140 * window.el (special-display-p): Signal an error if BUFFER-NAME
4141 is not a string (Bug#11713).
4142
48d1354e
PE
41432012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4144
4145 * progmodes/python.el (python-info-beginning-of-backslash):
4146 Rename from python-info-beginning-of-backlash, as a spelling fix.
4147
eb4a8a9a
CY
41482012-06-17 Chong Yidong <cyd@gnu.org>
4149
4150 * term.el (term-emulate-terminal): If term-check-size is called,
4151 move point to the process mark without resetting point (Bug#4635).
4152
ddfbf826 41532012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4154
4155 * international/mule-cmds.el (mule-menu-keymap)
4156 (set-language-environment, set-locale-environment): Doc tweaks.
4157
9b0e3eba
AA
41582012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4159
4160 * cus-face.el (custom-face-attributes): Add wave-style underline
4161 attribute.
4162 * faces.el (set-face-attribute): Update docstring to describe
4163 wave-style underline attribute.
4164
771e3eae
CY
41652012-06-16 Chong Yidong <cyd@gnu.org>
4166
4167 * term/xterm.el (terminal-init-xterm): Discard input before
4168 querying background mode (Bug#10959).
4169
7ae2ea10
SM
41702012-06-16 Stefan Merten <smerten@oekonux.de>
4171
4172 * textmodes/rst.el: Added and corrected some comments.
4173 (rst-re-alist-def): Improve symbol syntax.
4174 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4175 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4176 (rst-official-version, rst-official-cvs-rev): Update version
4177 information.
7ae2ea10 4178
b6974efa
JB
41792012-06-15 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4182 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4183
8826d473
GM
41842012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4185
4186 * progmodes/python.el: New python.el merge.
4187 (python-guess-indent): Obsolete var.
4188 (python-indent-guess-indent-offset): New defcustom.
4189 (python-indent): Obsolete var.
4190 (python-indent-offset): New defcustom.
4191 (python-python-command, python-jython-command): Delete var.
4192 (python-shell-interpreter): New defcustom.
4193 (python-pdbtrack-do-tracking-p): Delete var.
4194 (python-pdbtrack-activate): New defcustom.
4195 (python-use-skeletons): Obsolete var.
4196 (python-skeleton-autoinsert): New defcustom.
4197 (inferior-python-filter-regexp, python-continuation-offset)
4198 (python-honour-comment-indentation, python-indent-string-contents)
4199 (python-jython-packages, python-mode-hook)
4200 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4201 (python-shell-prompt-alist)
4202 (python-source-modes): Delete defcustoms.
4203 (python-check-buffer-name, python-eldoc-setup-code)
4204 (python-eldoc-string-code, python-ffap-setup-code)
4205 (python-ffap-string-code, python-fill-comment-function)
4206 (python-fill-decorator-function, python-fill-paren-function)
4207 (python-fill-string-function, python-imenu-include-defun-type)
4208 (python-imenu-make-tree, python-imenu-subtree-root-label)
4209 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4210 (python-shell-compilation-regexp-alist)
4211 (python-shell-completion-module-string-code)
4212 (python-shell-completion-pdb-string-code)
4213 (python-shell-completion-setup-code)
4214 (python-shell-completion-string-code)
4215 (python-shell-enable-font-lock, python-shell-exec-path)
4216 (python-shell-extra-pythonpaths)
4217 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4218 (python-shell-process-environment)
4219 (python-shell-prompt-block-regexp)
4220 (python-shell-prompt-output-regexp)
4221 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4222 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4223 (python-shell-virtualenv-path): New defcustoms.
4224 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4225 (inferior-python-mode-syntax-table, python--prompt-regexp)
4226 (python-buffer, python-command python-python-command)
4227 (python-default-template, python-imports, python-indent-index)
4228 (python-indent-list, python-indent-list-length)
4229 (python-mode-running, python-pdbtrack-is-tracking-p)
4230 (python-preoutput-continuation, python-preoutput-leftover)
4231 (python-preoutput-result, python-preoutput-skip-next-prompt)
4232 (python-prev-dir/file, python-recursing)
4233 (python-saved-check-command, python-version-checked)
4234 (python-which-func-length-limit)
4235 (view-return-to-alist): Delete vars.
4236 (python-check-custom-command, python-dotty-syntax-table)
4237 (python-imenu-index-alist, python-indent-current-level)
4238 (python-indent-dedenters, python-indent-levels)
4239 (python-nav-beginning-of-defun-regexp)
4240 (python-nav-list-defun-positions-cache)
4241 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4242 (python-shell-internal-buffer)
4243 (python-skeleton-available): New vars.
4244 (def-python-skeleton): Delete macro.
4245 (python-skeleton-define): New macro.
4246 (python-define-auxiliary-skeleton, python-rx): New macros.
4247 (python-insert-class): Delete command.
4248 (python-skeleton-class): New command.
4249 (python-insert-def): Delete command.
4250 (python-skeleton-def): New command.
4251 (python-insert-for): Delete command.
4252 (python-skeleton-for): New command.
4253 (python-insert-if): Delete command.
4254 (python-skeleton-if): New command.
4255 (python-insert-try/except, python-insert-try/finally): Delete commands.
4256 (python-skeleton-try): New command.
4257 (python-insert-while): Delete command.
4258 (python-skeleton-while): New command.
4259 (python-backspace): Delete command.
4260 (python-indent-dedent-line-backspace): New command.
4261 (python-electric-colon): Delete command.
4262 (python-indent-electric-colon): New command.
4263 (python-guess-indent): Delete command.
4264 (python-indent-guess-indent-offset): New command.
4265 (python-shift-left): Delete command.
4266 (python-indent-shift-left): New command.
4267 (python-shift-right): Delete command.
4268 (python-indent-shift-right): New command.
4269 (python-find-function): Delete command.
4270 (python-nav-jump-to-defun): New command.
4271 (python-next-statement): Delete command.
4272 (python-nav-forward-sentence): New command.
4273 (python-previous-statement): Delete command.
4274 (python-nav-backward-sentence): New command.
4275 (python-fill-paragraph): Delete command.
4276 (python-fill-paragraph-function): New command.
4277 (python-send-buffer): Delete command.
4278 (python-shell-send-buffer): New command.
4279 (python-send-defun): Delete command.
4280 (python-shell-send-defun): New command.
4281 (python-send-region, python-send-region-and-go): Delete commands.
4282 (python-shell-send-region)
4283 (python-shell-switch-to-shell): New commands.
4284 (python-send-string): Delete command.
4285 (python-shell-send-string): New command.
4286 (python-switch-to-python): Delete command.
4287 (python-shell-switch-to-shell): New command.
4288 (python-describe-symbol): Delete command.
4289 (python-eldoc-at-point): New command.
4290 (python--set-prompt-regexp, python-args-to-list)
4291 (python-after-info-look, python-check-version)
4292 (python-check-comint-prompt, python-find-imports)
4293 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4294 (python-unload-function, python-expand-template)
4295 (python-maybe-jython, python-preoutput-filter)
4296 (python-pdbtrack-get-source-buffer)
4297 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4298 (python-pdbtrack-toggle-stack-tracking)
4299 (python-pdbtrack-track-stack-file, python-initial-text)
4300 (python-first-word, python-comment-line-p, python-send-command)
4301 (python-setup-brm, python-sentinel, python-set-proc)
4302 (python-skip-out, python-input-filter, python-outdent-p)
4303 (python-outline-level, python-backslash-continuation-line-p)
4304 (python-end-of-block, python-end-of-statement, python-mark-block)
4305 (python-beginning-of-block, python-beginning-of-statement)
4306 (python-blank-line-p, python-beginning-of-string)
4307 (python-open-block-statement-p): Delete functions.
4308 (python-indent-line, python-indent-line-1): Delete functions.
4309 (python-indent-line): New function.
4310 (python-indentation-levels): Delete function.
4311 (python-indent-calculate-levels): New function.
4312 (python-proc): Delete function.
4313 (python-shell-get-process): New function.
4314 (python-send-receive): Delete function.
4315 (python-shell-send-string-no-output): New function.
4316 (python-module-path): Delete function.
4317 (python-ffap-module-path): New function.
4318 (python-completion-at-point)
4319 (python-symbol-completions): Delete functions.
4320 (python-completion-complete-at-point): New function.
4321 (python-load-file): Delete function.
4322 (python-shell-send-file): New function.
4323 (python-calculate-indentation): Delete function.
4324 (python-indent-calculate-indentation): New function.
4325 (python-skip-comments/blanks): Delete function.
4326 (python-util-forward-comment): New function.
4327 (python-continuation-line-p): Delete function.
4328 (python-info-continuation-line-p): New function.
4329 (python-which-func, python-current-defun): Delete function.
4330 (python-info-current-defun): New function.
4331 (python-beginning-of-defun): Delete function.
4332 (python-nav-beginning-of-defun): New function.
4333 (python-close-block-statement-p)
4334 (python-block-end-p): Delete function.
4335 (python-info-closing-block): New function.
4336 (python-comint-output-filter-function)
4337 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4338 (python-fill-comment, python-fill-decorator, python-fill-paren)
4339 (python-fill-string, python-imenu-make-element-tree)
4340 (python-imenu-make-tree, python-imenu-tree-assoc)
4341 (python-indent-context, python-indent-dedent-line)
4342 (python-indent-line-function)
4343 (python-indent-post-self-insert-function)
4344 (python-indent-toggle-levels)
4345 (python-info-assignment-continuation-line-p)
4346 (python-info-beginning-of-backlash)
4347 (python-info-block-continuation-line-p)
4348 (python-info-closing-block-message)
4349 (python-info-line-ends-backslash-p)
4350 (python-info-looking-at-beginning-of-defun)
4351 (python-info-ppss-context, python-info-ppss-context-type)
4352 (python-nav-list-defun-positions, python-nav-read-defun)
4353 (python-nav-sentence-end, python-nav-sentence-start)
4354 (python-pdbtrack-comint-output-filter-function)
4355 (python-pdbtrack-set-tracked-buffer)
4356 (python-shell-calculate-exec-path)
4357 (python-shell-calculate-process-environment)
4358 (python-shell-completion--do-completion-at-point)
4359 (python-shell-completion--get-completions)
4360 (python-shell-completion-complete-at-point)
4361 (python-shell-completion-complete-or-indent)
4362 (python-shell-get-or-create-process)
4363 (python-shell-get-process-name)
4364 (python-shell-internal-get-or-create-process)
4365 (python-shell-internal-get-process-name)
4366 (python-shell-internal-send-string, python-shell-make-comint)
4367 (python-shell-parse-command, python-shell-send-setup-code)
4368 (python-skeleton-add-menu-items)
4369 (python-util-clone-local-variables, python-util-position)
4370 (run-python-internal, python-indentation-levels)
4371 (python-nav-beginning-of-defun)
4372 (python-completion-complete-at-point): New functions.
4373 (run-python): Change arguments. New API requirements.
4374
4302f5ba
SM
43752012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4376
f38ea36d
SM
4377 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4378 (bug#11649).
4379
4380 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4381 (macroexp--expand-all): Use it.
4382
4302f5ba
SM
4383 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4384 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4385 Use `cl-function' instead.
4386
33377562
JB
43872012-06-14 Juanma Barranquero <lekktu@gmail.com>
4388
4389 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4390 Suggested by Stefan Monnier while discussing bug#11657.
4391
54c5ba1a
SS
43922012-06-14 Sam Steingold <sds@gnu.org>
4393
4394 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4395
f9f1b1fe
AS
43962012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4397
4398 * play/doctor.el (doctor-doc): Remove parameter and use
4399 doctor-sent instead of sent.
4400 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4401
a81068ba
SM
44022012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4403
5a315f9c
SM
4404 * files.el: Require cl-lib.
4405 (file-name-non-special): Replace case -> cl-case.
4406
4407 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4408
a81068ba
SM
4409 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4410 mapping from #' to function*.
4411
8cca9703
CY
44122012-06-13 Chong Yidong <cyd@gnu.org>
4413
4414 * mouse.el (mouse-drag-track): Do not set the mark if the user
4415 releases the mouse without selecting anything (Bug#11588).
4416
a12ac9d7
SM
44172012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4418
ccf1dc18
SM
4419 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4420 as well (bug#11646).
4421
ef62b23d
SM
4422 * loadup.el: Count byte-code functions as well.
4423
c4c8444a
SM
4424 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4425 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4426
a12ac9d7
SM
4427 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4428 (bug#11649). Add cl-defun and cl-defmacro.
4429
87e6e64f
DA
44302012-06-13 Drew Adams <drew.adams@oracle.com>
4431
4432 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4433 Fix last change.
4434
682cefaf
MA
44352012-06-13 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4438 Otherwise, it blocks in batch mode.
4439
773e1f08
JB
44402012-06-13 Juanma Barranquero <lekktu@gmail.com>
4441
4442 * help-mode.el (bookmark-make-record-default): Declare.
4443
60057926
CY
44442012-06-13 Chong Yidong <cyd@gnu.org>
4445
4446 * emacs-lisp/package.el (list-packages): Compute a list of
4447 packages that are newly-available since the last list-packages
4448 invocation.
4449 (package-menu--new-package-list): New var.
4450 (package-menu--generate, package-menu--print-info)
4451 (package-menu--status-predicate, package-menu-mark-install):
4452 Handle new status label "new".
4453
ad4d226c
SM
44542012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4457 conversion to backquotes.
4458
f1a4e679
CY
44592012-06-12 Chong Yidong <cyd@gnu.org>
4460
4461 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4462 Rename from gud-inhibit-global-bindings.
4463
4464 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4465
4466 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4467 hook from nxml-glyph-set-hook.
4468
4469 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4470 declaration.
4471
4472 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4473
4474 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4475 Convert to defcustom.
4476
0c9e42b5
DA
44772012-06-12 Drew Adams <drew.adams@oracle.com>
4478
4479 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4480 New functions.
4481 (help-mode): Use them.
4482
09e06855
GM
44832012-06-11 Glenn Morris <rgm@gnu.org>
4484
4485 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4486 Use preprocessor face for directives.
4487 (fortran-directive-re): Doc fix.
4488
71adb94b
SM
44892012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4490
2eb87922
SM
4491 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4492 conversion to backquotes (bug#11652).
4493
71adb94b
SM
4494 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4495 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4496 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4497 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4498 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4499 (cl-ninth, cl-tenth): Mark them as inlinable.
4500 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4501 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4502 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4503 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4504 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4505 (cl-list*, cl-adjoin): Don't put an autoload manually.
4506 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4507 (cl--compiler-macro-list*): Add autoload cookie.
4508 (cl--compiler-macro-cXXr): New function.
2eb87922 4509
71adb94b
SM
4510 * help-fns.el (help-fns--compiler-macro): New function extracted from
4511 describe-function-1; follow aliases and use `compiler-macro' property.
4512 (describe-function-1): Use it.
4513
a6674402
CY
45142012-06-11 Chong Yidong <cyd@gnu.org>
4515
4516 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4517 is uninstalled, if imagemagick is installed.
4518
bb3faf5b
SM
45192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4520
4521 * emacs-lisp/cl-lib.el: Use lexical-binding.
4522 (cl-map-extents, cl-maclisp-member): Remove.
4523 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4524 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4525 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4526 * emacs-lisp/cl-extra.el: Use lexical-binding.
4527 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4528 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4529 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4530 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4531 * emacs-lisp/cl-seq.el: Use lexical-binding.
4532 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4533 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4534 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4535 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4536 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4537 CL's internals.
4538
2fe4b125
MA
45392012-06-11 Michael Albinus <michael.albinus@gmx.de>
4540
4541 Sync with Tramp 2.2.6-pre.
4542
4543 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4544 `print-length' and `print-level' to nil, in order to avoid
4545 truncation. Reported by Christopher Schmidt
4546 <christopher@ristopher.com>.
4547
4548 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4549
4550 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4551 New defmacro.
4552 (tramp-compat-copy-directory): Add optional argument
4553 COPY-CONTENTS. It is not handled yet.
4554
4555 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4556 (tramp-ftp-file-name-p): Simplify.
4557
4558 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4559 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4560 connection vector.
4561
4562 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4563 (tramp-methods): Do not use `tramp-password-end-of-line'.
4564 (tramp-completion-function-alist-putty): Handle UNIX case.
4565 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4566 (tramp-do-file-attributes-with-stat)
4567 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4568 gid as real numbers. They could run out of integer range on cygwin.
4569 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4570 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4571 (tramp-open-connection-setup-interactive-shell):
4572 Use `tramp-cleanup'. Move check for busyboxes ...
4573 (tramp-find-shell): ... here. Simplify implementation.
4574 Set "remote-shell" property also for alternative shells.
4575 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4576 If failing, a regular file would be written otherwise.
4577 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4578 (tramp-find-inline-encoding): Cache the coding commands in the
4579 process cache. Apply test command on the remote side, if defined.
4580 (tramp-find-inline-compress): Cache the compress commands in the
4581 process cache.
4582 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4583 when requested. Handle hops.
4584 (tramp-current-connection): New defvar.
87e6e64f
DA
4585 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4586 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4587 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4588 (tramp-get-inline-compress, tramp-get-inline-coding):
4589 Read connection properties from the process cache.
2fe4b125
MA
4590
4591 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4592 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4593 New defconsts.
2fe4b125
MA
4594 (tramp-smb-prompt): Extend for powershell prompt.
4595 (tramp-smb-file-name-handler-alist): Add handlers for
4596 `process-file', `shell-command' and `start-file-process'.
4597 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4598 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4599 (tramp-smb-file-name-p): Simplify.
4600 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4601 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4602 (tramp-smb-shell-quote-argument): New defuns.
4603 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4604 Implement using "tar". By this, time-stamps are preserved.
4605 (tramp-smb-handle-copy-file): Handle also the case of directories.
4606 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4607 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4608 Use `tramp-get-connection-buffer').
2fe4b125
MA
4609 (tramp-smb-handle-rename-file): Use "rename", when source and
4610 target are on the same share.
87e6e64f
DA
4611 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4612 Use `tramp-smb-server-version'.
2fe4b125
MA
4613 (tramp-smb-wait-for-output): Remove prompt.
4614
4615 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4616 (tramp-methods, tramp-rsh-end-of-line):
4617 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4618 (tramp-save-ad-hoc-proxies): New defcustom.
4619 (tramp-completion-function-alist): Adapt docstring.
4620 (tramp-default-password-end-of-line): Remove defcustom.
4621 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4622 (tramp-user-regexp, tramp-file-name-regexp-unified)
4623 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4624 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4625 (tramp-remote-file-name-spec-regexp): New defconst.
4626 (tramp-file-name-structure): Extend structure for hops.
4627 (tramp-get-method-parameter): Move up.
4628 (tramp-file-name-p, tramp-dissect-file-name)
4629 (with-parsed-tramp-file-name): Handle hops.
4630 (tramp-file-name-hop): New defun.
4631 (tramp-make-tramp-file-name): New optional arg HOP.
4632 (tramp-message-show-progress-reporter-message): New defvar.
4633 (tramp-with-progress-reporter): Use it. We cannot use
4634 `tramp-message-show-message' here, because this suppresses also
4635 error buffers.
4636 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4637 `tramp-message-show-message' is nil.
4638 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4639 (tramp-cleanup): New defun.
4640 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4641 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4642 an error unchanged.
4643 (tramp-completion-handle-file-name-all-completions): Handle hops.
4644 Fix an error when called from ido.
4645 (tramp-completion-dissect-file-name): Use better local variable
4646 name. Add hop to the vector.
4647 (tramp-handle-insert-file-contents): Use progress-reporter for the
4648 whole scenario.
4649 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4650 to `t'.
4651 (tramp-check-for-regexp): Simplify search.
4652 (tramp-enter-password): Remove it. Move implementation ...
4653 (tramp-action-password): ... here.
4654 (tramp-mode-string-to-int, tramp-local-host-p)
4655 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4656 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4657 Set tramp-autoload cookie.
2fe4b125
MA
4658
4659 * net/trampver.el: Update release number.
4660
46612012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4662 Michael Albinus <michael.albinus@gmx.de>
4663
4664 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4665 (tramp-parse-group, tramp-parse-file)
4666 (tramp-parse-shostkeys-sknownhosts): New defuns.
4667 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4668 (tramp-parse-shosts-group, tramp-parse-sconfig)
4669 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4670 (tramp-parse-sknownhosts, tramp-parse-hosts)
4671 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4672 Use them.
4673 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4674 (tramp-parse-putty-group): Don't narrow.
4675 (tramp-parse-putty): Make a loop.
4676 (tramp-file-name-handler): Catch the `suppress' signal.
4677
72834e10
CY
46782012-06-11 Chong Yidong <cyd@gnu.org>
4679
4680 * image.el (imagemagick-register-types): Put the ImageMagick entry
4681 at the end of image-type-file-name-regexps.
4682
a4712e11
JB
46832012-06-11 Johan Bockgård <bojohan@gnu.org>
4684
4685 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4686 (pcase, pcase-let*, pcase-dolist): Use them.
4687
82ad98e3
SM
46882012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * emacs-lisp/pcase.el (pcase--let*): New function.
4691 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4692 (pcase--expand): Use macroexp-let².
4693
f80efb86
SM
46942012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4697 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4698 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4699 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4700 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4701 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4702
31ca4639 47032012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4704
31ca4639
CY
4705 * mail/rmail.el (rmail-yank-current-message): Leave point at
4706 correct position. (Bug#11660)
94f0aa34 4707
31ca4639 47082012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4709
31ca4639 4710 * allout-widgets.el: Fix code header.
9e1b8ec4 4711
31ca4639 47122012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4713
f80efb86
SM
4714 * cus-edit.el (customize-changed-options-previous-release):
4715 Bump to 24.1.
31ca4639 4716
642b6d30
AS
47172012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4718
4719 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4720
4f5d2ba1
CY
47212012-06-09 Chong Yidong <cyd@gnu.org>
4722
4723 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4724
e75852fd
MR
47252012-06-09 Martin Rudalics <rudalics@gmx.at>
4726
4727 * window.el (special-display-popup-frame): Don't use
4728 window--display-buffer (Bug#11651).
4729
1e48e282
EZ
47302012-06-09 Eli Zaretskii <eliz@gnu.org>
4731
8a26b487
EZ
4732 Fix parallel builds: make sure loaddefs.el is not being written
4733 while Lisp files are compiled.
4734 (compile): Don't depend on 'mh-autoloads'.
4735 (compile-CMD, compile-SH): Depend on 'autoloads'.
4736 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4737
1e48e282
EZ
4738 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4739
6175e34b
CY
47402012-06-09 Chong Yidong <cyd@gnu.org>
4741
4742 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4743 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4744 Doc fixes (Bug#11225).
4745
d9857e53
SM
47462012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4749 a function if there's a clear indication that it has a compiler-macro.
4750 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4751 (macro-declarations-alist): Add arglist to declaration functions.
4752 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4753 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4754 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4755 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4756 Also add autoload to find the compiler macro.
4757 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4758 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4759 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4760 (cl--compiler-macro-get): New functions, replacing calls to
4761 cl-define-compiler-macro.
4762 (cl-typep) [compiler-macro]: Use macroexp-let².
4763
f81298f8 47642012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4765
4766 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4767 string properly, fixes Bug#11473.
4768
4b56d0fe
CY
47692012-06-08 Chong Yidong <cyd@gnu.org>
4770
4771 * faces.el (set-face-attribute): Doc fix.
4772 (modify-face): Don't use :bold and :italic.
4773 (error, warning, success): Tweak definitions.
4774
4775 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4776 (custom-modified, custom-set, custom-changed, custom-themed)
4777 (custom-saved, custom-button, custom-button-mouse)
4778 (custom-button-pressed, custom-state, custom-comment-tag)
4779 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4780 (custom-group-subtitle): Use new-style face specs.
4781 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4782 (custom-set-face, custom-changed-face, custom-saved-face)
4783 (custom-button-face, custom-button-pressed-face)
4784 (custom-documentation-face, custom-state-face)
4785 (custom-comment-face, custom-comment-tag-face)
4786 (custom-variable-tag-face, custom-variable-button-face)
4787 (custom-face-tag-face, custom-group-tag-face-1)
4788 (custom-group-tag-face): Remove obsolete face alias.
4789
4790 * epa.el (epa-validity-high, epa-validity-medium)
4791 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4792 (epa-field-name, epa-field-body):
4793 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4794 (font-lock-keyword-face, font-lock-builtin-face)
4795 (font-lock-function-name-face, font-lock-variable-name-face)
4796 (font-lock-type-face, font-lock-constant-face):
4797 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4798 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4799 * speedbar.el (speedbar-button-face, speedbar-file-face)
4800 (speedbar-directory-face, speedbar-tag-face)
4801 (speedbar-selected-face, speedbar-highlight-face)
4802 (speedbar-separator-face):
4803 * whitespace.el (whitespace-newline, whitespace-space)
4804 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4805 (whitespace-line, whitespace-space-before-tab)
4806 (whitespace-space-after-tab, whitespace-indentation)
4807 (whitespace-empty):
4808 * emulation/cua-base.el (cua-global-mark):
4809 * eshell/em-prompt.el (eshell-prompt):
4810 * net/newst-plainview.el (newsticker-new-item-face)
4811 (newsticker-old-item-face, newsticker-immortal-item-face)
4812 (newsticker-obsolete-item-face, newsticker-date-face)
4813 (newsticker-statistics-face, newsticker-default-face):
4814 * net/newst-reader.el (newsticker-feed-face)
4815 (newsticker-extra-face, newsticker-enclosure-face):
4816 * net/newst-treeview.el (newsticker-treeview-face)
4817 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4818 (newsticker-treeview-immortal-face)
4819 (newsticker-treeview-obsolete-face)
4820 (newsticker-treeview-selection-face):
4821 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4822 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4823 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4824 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4825 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4826 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4827 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4828 (mpuz-text):
4829 * progmodes/vera-mode.el (vera-font-lock-number)
4830 (vera-font-lock-function, vera-font-lock-interface):
4831 * textmodes/table.el (table-cell): Use new-style face specs, and
4832 don't use the old :bold and :italic attributes.
4833
4834 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4835 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4836 (ebrowse-member-class, ebrowse-progress): Likewise.
4837 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4838 (ebrowse-file-name-face, ebrowse-default-face)
4839 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4840 (ebrowse-progress-face): Remove obsolete faces.
4841
4842 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4843 Inherit from error and warning faces respectively.
4844
4845 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4846 Likewise.
f80efb86
SM
4847 (flyspell-incorrect-face, flyspell-duplicate-face):
4848 Remove obsolete aliases.
4b56d0fe 4849
03310646
MA
48502012-06-08 Michael Albinus <michael.albinus@gmx.de>
4851
4852 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4853 Avoid infloop.
4854
513749ee
SM
48552012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * startup.el (argv, argi): Make lexically scoped.
4858 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4859 * emacs-lisp/cl-macs.el: Use lexical-binding.
4860 Rename cl-bind-* to cl--bind-*.
4861 * files.el: Don't require `cl' since it doesn't use it.
4862 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4863
595ef4ad
JB
48642012-06-08 Juanma Barranquero <lekktu@gmail.com>
4865
4866 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4867 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4868 instead of calling external sort utility.
4869 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4870
e9f66fcb
EZ
48712012-06-08 Eli Zaretskii <eliz@gnu.org>
4872
4873 * descr-text.el (describe-char): Mention how to insert the
4874 character, if the current input method doesn't support it.
4875 See the discussion in this thread for the details:
4876 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4877
3d10db47
SS
48782012-06-08 Sam Steingold <sds@gnu.org>
4879
4880 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4881 XF86Back to previous-buffer.
4882 (minibuffer-local-map): Bind them to next-history-element and
4883 previous-history-element respectively.
4884 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4885 help-go-back respectively.
4886 * info.el (Info-mode-map): Bind them to Info-history-forward and
4887 Info-history-back respectively.
4888 These are the keys next to Up on the ThinkPad keyboard.
4889
de7e2b36
SM
48902012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4893 * emacs-lisp/cl-macs.el: Provide itself.
4894 (cl--labels-convert-cache): New var.
4895 (cl--labels-convert): New function.
4896 (cl-flet, cl-labels): New implementation with new semantics, relying on
4897 lexical-binding.
4898 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4899 (cl-closure-vars, cl--function-convert-cache)
4900 (cl--function-convert): Move from cl-macs.el.
4901 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4902 rename by removing the "cl-" prefix.
4903 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4904
6fa6c4ae
SM
49052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4908 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4909 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4910 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4911 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4912 (cl-hash-table-count): Add old compatibility aliases.
4913
4914 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4915 Use macroexpand-all-environment instead.
4916 (cl--old-macroexpand): New var.
4917 (cl--sm-macroexpand): New function.
4918 (cl-symbol-macrolet): Use it during macro expansion.
4919 (cl--function-convert-cache): New var.
4920 (cl--function-convert): New function, extracted from
4921 cl-macroexpand-all.
4922 (cl-lexical-let): Use it.
4923
4924 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4925 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4926 (cl-member): Remove old alias.
4927
4928 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4929 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4930 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4931 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4932 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4933 (cl-macroexpand-cmacs): Remove var.
4934 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4935 Use macroexpand-all instead.
4936
4dd1c416
SM
49372012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4940 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4941 (macroexp-copyable-p): New functions and macros.
4942 * emacs-lisp/edebug.el (edebug-unwrap):
4943 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4944 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4945 (pcase--let*): Remove.
4946 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4947 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4948 macroexp-const-p instead.
4949 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4950
4951 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4952 instead of "cl-" for internal definitions. Use macroexp-const-p.
4953 (cl-old-bc-file-form): Remove var.
4954 (cl-const-exprs-p): Remove fun.
4955 (cl-labels, cl-macrolet): Use backquote.
4956 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4957 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4958 (cl-define-setf-expander): Rename from cl-define-setf-method.
4959 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4960
4961 * international/mule-cmds.el: Don't require CL.
4962 (view-hello-file): Don't use `letf'.
4963
ed8bd4d7
SM
49642012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4965
7287f2f3
SM
4966 * tmm.el (tmm-prompt): Use string-prefix-p.
4967 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4968 (tmm-add-prompt): Use minibuffer-completion-help.
4969 (tmm-delete-map): Remove.
4970
ed8bd4d7
SM
4971 * subr.el (kbd): Make it its own function.
4972
7b4cdbf4
SM
49732012-06-07 Stefan Merten <smerten@oekonux.de>
4974
4975 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4976 Silence compiler warnings. Fix versions.
ed8bd4d7 4977 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4978 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4979 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4980 (rst-package-emacs-version-alist): Correct Emacs version to
4981 represent major merge with upstream.
ed8bd4d7 4982 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4983
2b48d721
GM
49842012-06-06 Glenn Morris <rgm@gnu.org>
4985
4986 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4987 Only print environment variables if set.
4988
fa779ab0
SM
49892012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4992 (macroexp--cons): Rename from maybe-cons.
4993 (macroexp--accumulate): Rename from macroexp-accumulate.
4994 (macroexp--all-forms): Rename from macroexpand-all-forms.
4995 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4996 (macroexp--expand-all): Rename from macroexpand-all-1.
4997
628299e0
SS
49982012-06-06 Sam Steingold <sds@gnu.org>
4999
5000 * calendar/calendar.el (calendar-in-read-only-buffer):
5001 Call `special-mode' to enable the standard read-only keybindings.
5002
b7bb5838
SM
50032012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5006 with "loading" messages (bug#11635).
5007
dfb308ba
MA
50082012-06-06 Michael Albinus <michael.albinus@gmx.de>
5009
5010 * files.el (enable-remote-dir-locals): New option.
5011 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5012
0372ee92
MA
5013 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5014 Ensure, that the temp directory is local.
5015
5016 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5017 `temporary-file-directory'.
5018
eed0bb91
MA
5019 * progmodes/python.el (python-send-region): Ensure, that the
5020 temporary file is created also in the remote case.
5021
7a58f64d
GM
50222012-06-06 Glenn Morris <rgm@gnu.org>
5023
f7dd4e98
GM
5024 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5025 (vc-rcs-update-changelog): Use it.
5026
090bd7cb 5027 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5028
7a58f64d
GM
5029 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5030 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5031 (vc-sccs-diff): Replace use of the external vcdiff script.
5032
daed4003
GM
50332012-06-05 Glenn Morris <rgm@gnu.org>
5034
5035 * ledit.el: Move to obsolete/.
5036
48c455c7
SS
50372012-06-05 Sam Steingold <sds@gnu.org>
5038
ed9265fc 5039 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5040 patch (Bug#11140).
5041
57a7d507
SM
50422012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5043
090bd7cb 5044 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5045
53aacf21
SM
5046 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5047 compiler-macro expansion.
5048
57a7d507
SM
5049 Add native compiler-macro support.
5050 * emacs-lisp/macroexp.el (macroexpand-all-1):
5051 Support compiler-macros directly. Properly follow aliases and apply
5052 the compiler macros more thoroughly.
5053 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5054 macroexpand now properly follows aliases.
5055 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5056 (cl-compiler-macroexpand): Use new prop.
5057 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5058
5059 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5060
51a5f9d8
MR
50612012-06-05 Martin Rudalics <rudalics@gmx.at>
5062
5063 * window.el (get-lru-window, get-mru-window, get-largest-window):
5064 New argument NOT-SELECTED to avoid picking the selected window.
5065 (window--display-buffer-1, window--display-buffer-2): Replace by
5066 new function window--display-buffer
5067 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5068 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5069 Use window--display-buffer.
51a5f9d8
MR
5070 (display-buffer-use-some-window): Remove temporary dedication
5071 hack by calling get-lru-window and get-largest-window with
5072 NOT-SELECTED argument non-nil. Call window--display-buffer.
5073
08f9f738
GM
50742012-06-05 Glenn Morris <rgm@gnu.org>
5075
5076 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5077 Replace external vcdiff script.
5078
e364a2b7
SM
50792012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5082
041df390
CY
50832012-06-04 Chong Yidong <cyd@gnu.org>
5084
e364a2b7
SM
5085 * image.el (imagemagick-types-inhibit): Revert last change.
5086 Add INFO and M.
47b36b94 5087 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5088
7c1898a7
SM
50892012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * emacs-lisp/cl-lib.el: Rename from cl.el.
5092 * emacs-lisp/cl.el: New compatibility file.
5093 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5094 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5095 to obey the "cl-" prefix.
5096 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5097
0c3461de
GM
50982012-06-03 Glenn Morris <rgm@gnu.org>
5099
1e266c88
GM
5100 * emacs-lisp/authors.el (authors-aliases): Addition.
5101
0c3461de
GM
5102 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5103 Fix :version.
5104
d8a52e15
SM
51052012-06-03 Stefan Merten <smerten@oekonux.de>
5106
5107 * textmodes/rst.el: Add comments.
5108 (rst-transition, rst-adornment): New faces.
5109 (rst-adornment-faces-alist): Make default safe to reevaluate.
5110 Fixes
5111 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5112 Improve customization tags.
5113 (rst-define-level-faces): Clarify meaning.
5114
5205d6f6
CY
51152012-06-03 Chong Yidong <cyd@gnu.org>
5116
5117 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5118 (compilation-mode-line-run, compilation-mode-line-exit):
5119 New faces.
5205d6f6
CY
5120 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5121
757ee657
JD
51222012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5123
7c1898a7
SM
5124 * progmodes/which-func.el (which-func-update-ediff-windows):
5125 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5126
5f2c76c6
CY
51272012-06-03 Chong Yidong <cyd@gnu.org>
5128
5129 * bindings.el: Remove explicit help text from format-mode-line.
5130 It is now supplied by mode-line-default-help-echo.
5131 (mode-line-front-space, mode-line-end-spaces)
5132 (mode-line-misc-info): New variables.
5133 (mode-line-modes, mode-line-position): Move the default value to
5134 the variable definition.
5135 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5136 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5137 (mode-line-modified-help-echo): New functions.
5138 (mode-line-mule-info, mode-line-modified): Use them.
5139 (mode-line-eol-desc, propertized-buffer-identification):
5140 Consistency fixes for help text.
cbe46e5f
CY
5141 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5142 set-buffer-file-coding-system (Bug#289).
5143 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5144
f2d6a3df
SM
51452012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * simple.el (execute-extended-command): Set real-this-command
5148 (bug#11506).
5149
37269466
CY
51502012-06-02 Chong Yidong <cyd@gnu.org>
5151
5152 Remove incorrect uses of "modeline" in comments, docstrings, and
5153 function/variable names (Bug#10329).
5154
5155 * cus-edit.el (mode-line):
5156 * dframe.el (dframe-mouse-hscroll):
5157 * emacs-lisp/re-builder.el:
5158 * emacs-lisp/easy-mmode.el (define-minor-mode):
5159 * frame.el (set-frame-name):
5160 * help.el (lookup-minor-mode-from-indicator):
5161 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5162 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5163 (c-toggle-hungry-state):
5164 * progmodes/antlr-mode.el (antlr-language-alist):
5165 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5166 * progmodes/vhdl-mode.el (vhdl-mode):
5167 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5168 * term/ns-win.el (ns-face-at-pos):
5169 * term/sup-mouse.el (sup-mouse-report):
5170 * textmodes/flyspell.el (flyspell-mode-line-string):
5171 * textmodes/ispell.el (ispell-highlight-face):
5172 * textmodes/reftex-global.el:
5173 * vc/vc-arch.el (vc-arch-mode-line-string):
5174 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5175 * vc/vc-git.el (vc-git-mode-line-string):
5176 * vc/vc-hooks.el (vc-display-status)
5177 (vc-default-mode-line-string):
5178 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5179
5180 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5181
5182 * dired.el (dired-sort-set-mode-line): Rename from
5183 dired-sort-set-modeline. All callers changed.
5184
5185 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5186 eshell-status-in-modeline.
5187
5188 * foldout.el (foldout-mode-line-string): Rename from
5189 foldout-modeline-string. All callers changed.
5190 (foldout-update-mode-line): Rename from foldout-update-modeline.
5191
5192 * subr.el (redraw-modeline): Make into obsolete alias.
5193
5194 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5195 timeclock-modeline-display. Make old name an alias.
5196 (timeclock-update-mode-line): Likewise. All callers changed.
5197 (timeclock-mode-line-display): No need to check before using
5198 add-hook.
5199 (timeclock-relative, timeclock-day-over-hook)
5200 (timeclock-use-elapsed, timeclock-mode-string)
5201 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5202
5203 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5204 crisp-mode-modeline-string.
5205
5206 * play/solitaire.el (solitaire-build-mode-line): Rename from
5207 solitaire-build-modeline. All callers changed.
5208
5209 * play/zone.el (zone-hiding-mode-line): Rename from
5210 zone-hiding-modeline. All callers changed.
5211 (zone): Remove unusued `modeline-hidden-level' property.
5212
5213 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5214 xscheme-modeline-initialize. All callers changed.
5215
5216 * strokes.el (strokes-lighter): Rename from
5217 strokes-modeline-string.
5218
5219 * textmodes/sgml-mode.el (html-face-tag-alist)
5220 (html-tag-face-alist): Use mode-line face instead of obsolete
5221 alias modeline.
5222
42152ee4
SM
52232012-06-02 Stefan Merten <smerten@oekonux.de>
5224
5225 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5226 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5227
95f520b5
CY
52282012-06-02 Chong Yidong <cyd@gnu.org>
5229
5230 * image.el (imagemagick-enabled-types): Rename from
5231 imagemagick-types-enable. Add many more types.
5232 (imagemagick-types-inhibit): Change default to nil.
5233 (imagemagick-filter-types): Caller changed.
5234
4a5f187a
SM
52352012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5236
03fef3e6
SM
5237 * emacs-lisp/cl-macs.el: Use backquotes.
5238 (cl-transform-function-property): Use eval-and-compile rather than
5239 abusing `require'.
5240 (defstruct): Use declare-function instead of with-no-warnings.
5241
4a5f187a
SM
5242 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5243 (byte-compile-output-docform): Re-add the print-circle bindings.
5244 (byte-compile-fix-header): Use #$ just because it's shorter.
5245 (byte-compile-output-file-form): Remove defun/defmacro.
5246
bd56924f
MR
52472012-06-01 Martin Rudalics <rudalics@gmx.at>
5248
5249 * simple.el (choose-completion): Remove now obsolete binding for
5250 owindow.
5251
046e38ce
MA
52522012-06-01 Michael Albinus <michael.albinus@gmx.de>
5253
5254 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5255 in order to avoid "Stack overflow in regexp matcher".
5256
32d72c2f
GM
52572012-05-31 Glenn Morris <rgm@gnu.org>
5258
5259 * image.el: For clarity, call imagemagick-register-types at
5260 top-level, rather than relying on a custom :initialize.
5261 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5262 (imagemagick-filter-types): New function. (Bug#7406)
5263 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5264 If disabling support, remove elements altogether rather
5265 than using an impossible regexp.
5266 (imagemagick-types-inhibit): Give it the default init function.
5267
dd41169b
SM
52682012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5269
4a5f187a
SM
5270 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5271 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5272
efc00ab1 52732012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5274
5275 * desktop.el (desktop-read): Clear previous and next buffers for
5276 all windows and bury *Messages* buffer (bug#11556).
5277
500fcedc
SM
52782012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 Add `declare' for `defun'. Align `defmacro's with it.
5281 * emacs-lisp/easy-mmode.el (define-minor-mode)
5282 (define-globalized-minor-mode): Don't autoload the var definitions.
5283 * emacs-lisp/byte-run.el: Use lexical-binding.
5284 (defun-declarations-alist, macro-declarations-alist): New vars.
5285 (defmacro, defun): Use them.
5286 (make-obsolete, define-obsolete-function-alias)
5287 (make-obsolete-variable, define-obsolete-variable-alias):
5288 Use `declare'.
5289 (macro-declaration-function): Mark obsolete.
5290 * emacs-lisp/autoload.el: Use lexical-binding.
5291 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5292
6e8a1786
AM
52932012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5294
5295 * textmodes/ispell.el (ispell-with-no-warnings):
5296 Define as a macro.
500fcedc
SM
5297 (ispell-kill-ispell, ispell-change-dictionary):
5298 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5299 `interactive-p'.
5300
61b108cc
SM
53012012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5304 (macro-declaration-function): Move var from C code.
5305 (macro-declaration-function): Define function with defalias.
5306 * emacs-lisp/macroexp.el (macroexpand-all-1):
5307 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5308 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5309 defun/defmacro any more.
5310 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5311 Provide fallback for unknown arglist.
5312 (byte-compile-arglist-warn): Change calling convention.
5313 (byte-compile-output-file-form): Move print-vars binding.
5314 (byte-compile-output-docform): Simplify accordingly.
5315 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5316 (byte-compile-defmacro-declaration): Remove.
5317 (byte-compile-file-form-defmumble): Generalize to defalias.
5318 (byte-compile-output-as-comment): Return byte-positions.
5319 Simplify callers accordingly.
5320 (byte-compile-lambda): Use `assert'.
5321 (byte-compile-defun, byte-compile-defmacro): Remove.
5322 (byte-compile-file-form-defalias):
5323 Use byte-compile-file-form-defmumble.
5324 (byte-compile-defalias-warn): Remove.
5325
6d3f7c2f
SM
53262012-05-29 Stefan Merten <smerten@oekonux.de>
5327
5328 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5329 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5330
5331 (rst-mode-abbrev-table): Merge definition.
5332 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5333 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5334
6dbaa1c7
UJ
53352012-05-29 Ulf Jasper <ulf.jasper@web.de>
5336
5337 * calendar/icalendar.el
5338 (icalendar-export-region): Export UID properly.
5339
d209e2fb 53402012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5341 * calendar/icalendar.el (icalendar-import-format):
5342 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5343 (icalendar-import-format-uid): New.
5344 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5345 Export UID.
5346
6876a58d
SM
53472012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5350 different alternative patterns.
5351 (pcase-codegen): Be more careful to preserve identity.
5352 (pcase--u1): Don't forget to mark vars as used.
5353
5354 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5355 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5356 (byte-compile-from-buffer): ...rather than here.
5357
5358 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5359 functions from byte-compile-function-environment.
5360
46b7967e
TN
53612012-05-29 Troels Nielsen <bn.troels@gmail.com>
5362
5363 * window.el (window-deletable-p): Avoid deleting the root window
5364 of a frame with an active minibuffer.
5365
69d565e2
MR
53662012-05-29 Martin Rudalics <rudalics@gmx.at>
5367
5368 * simple.el (choose-completion): Use quit-window (Bug#11567).
5369
a149fa51
CY
53702012-05-29 Chong Yidong <cyd@gnu.org>
5371
5372 * whitespace.el (whitespace-cleanup): Fix usage of
5373 whitespace-empty-at-bob-regexp (Bug#11492).
5374
2b311310
AH
53752012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5376
5377 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5378 revert (Bug#11488).
5379
b9cb2387
JL
53802012-05-29 Juri Linkov <juri@jurta.org>
5381
5382 * isearch.el (isearch-mode-map): Bind `M-s _' to
5383 `isearch-toggle-symbol'. Bind `M-s c' to
5384 `isearch-toggle-case-fold'.
5385 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5386 (isearch-forward): Add `M-s _' to the docstring.
5387 (isearch-forward-symbol, isearch-toggle-case-fold)
5388 (isearch-symbol-regexp): New functions. (Bug#11381)
5389
d5e61c1c
JL
53902012-05-29 Juri Linkov <juri@jurta.org>
5391
5392 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5393 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5394 a function, call it to get the regexp.
5395 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5396 property `isearch-message-prefix' instead of the string "word ".
5397 (isearch-search-fun-default): For the case of `isearch-word',
5398 return a lambda that calls re-search-forward/re-search-backward
5399 with a regexp returned by `word-search-regexp' or by the function
5400 in `isearch-word'.
5401
8cbd80f7
JL
54022012-05-29 Juri Linkov <juri@jurta.org>
5403
5404 * isearch.el (isearch-search-fun-default): New function.
5405 (isearch-search-fun): Move default part to the new function
5406 `isearch-search-fun-default'.
5407 (isearch-search-fun-function): Set the default value to
5408 `isearch-search-fun-default'. (Bug#11381)
5409
5410 * comint.el (comint-history-isearch-end):
5411 Use `isearch-search-fun-default'.
5412 (comint-history-isearch-search): Use `isearch-search-fun-default'
5413 and remove spacial case for `isearch-word'.
5414 (comint-history-isearch-wrap): Remove spacial case for
5415 `isearch-word'.
5416
5417 * hexl.el (hexl-isearch-search-function):
5418 Use `isearch-search-fun-default'.
5419
5420 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5421 Use `word-search-regexp' for `isearch-word'.
5422
5423 * misearch.el (multi-isearch-search-fun):
5424 Use `isearch-search-fun-default'.
5425
5426 * simple.el (minibuffer-history-isearch-search):
5427 Use `isearch-search-fun-default' and remove spacial case for
5428 `isearch-word'.
5429 (minibuffer-history-isearch-wrap): Remove spacial case for
5430 `isearch-word'.
5431
5432 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5433 Remove spacial case for `isearch-word'.
5434 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5435
85c8c5b6
AM
54362012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5437
5438 Decrease XEmacs incompatibilities.
5439 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5440 Use `string-match'.
5441 (flyspell-delete-region-overlays): Use alternative definition for
5442 XEmacs.
5443 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5444 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5445 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5446 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5447 `define-obsolete-face-alias' under XEmacs, but old method.
5448
5449 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5450 `with-no-warnings' definition or Emacs alias.
5451 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5452 (ispell-word): Do not use `region-p' if XEmacs.
5453
8cab9efc
AM
54542012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5455
5456 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5457 Check for `ispell-dictionary-base-alist' instead of full
5458 `ispell-dictionary-alist'.
5459 (ispell-init-process): Show spellchecker when starting new Ispell
5460 process.
5461
fda91268
RZ
54622012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5465 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5466
694ea8e3
JB
54672012-05-27 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * version.el (motif-version-string, gtk-version-string)
5470 (ns-version-string): Declare.
5471
e4d4f539
JL
54722012-05-27 Juri Linkov <juri@jurta.org>
5473
5474 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5475 after the `eval-defun-1' specialcaseing
5476 like in `edebug-eval-defun' (bug#10181).
5477
5478 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5479 like in `eval-defun-1'.
5480
33017faf 54812012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5482
fda91268
RZ
5483 * mail/sendmail.el (mail-yank-region):
5484 Recognize rmail-yank-current-message in addition to insert-buffer.
5485 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5486 a *mail* buffer created through rmail-start-mail with sendmail as
5487 mail-user-agent.
5488
33017faf
GM
54892012-05-27 Chong Yidong <cyd@gnu.org>
5490
5491 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5492 Default to 256 (Bug#11267).
5493
5494 * help.el (describe-mode): Doc fix.
5495
04188bb9
GM
54962012-05-26 Glenn Morris <rgm@gnu.org>
5497
38264cc9
GM
5498 * w32-fns.el (w32-init-info): Remove.
5499 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5500
eb7afdad
GM
5501 * info.el (info-initialize): For self-contained NS builds, put the
5502 included info/ directory at the front. (Bug#2791)
5503
04188bb9
GM
5504 * paths.el (Info-default-directory-list): Make it a defcustom,
5505 mainly so that we can use custom-initialize-delay.
5506
a179e3f7
SM
55072012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5508
43416392
SM
5509 * subr.el (buffer-has-markers-at): Mark obsolete.
5510
a179e3f7 5511 * subr.el (lambda): Use declare.
43416392 5512
a179e3f7
SM
5513 * emacs-lisp/lisp-mode.el (lambda):
5514 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5515
34a008d9
AH
55162012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5517
5518 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5519
0a3b289f
GM
55202012-05-26 Glenn Morris <rgm@gnu.org>
5521
5522 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5523
758c81e8
GM
55242012-05-25 Glenn Morris <rgm@gnu.org>
5525
f9f334f0
GM
5526 * paths.el: Remove no-byte-compile.
5527 * loadup.el: No need to load paths.el uncompiled.
5528
87eb79c2
GM
5529 * image.el (imagemagick-types-inhibit): Doc fix.
5530
758c81e8
GM
5531 * version.el: Remove no-byte-compile and associated formatting.
5532 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5533 is ancient code from when there was an "inc-vers.el".
5534
e7e85dc0
SM
55352012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * progmodes/gdb-mi.el: Minor style changes.
5538 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5539 Turn into minor modes.
5540 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5541 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5542 (gdb-shell): Remove unneeded let-binding.
5543 (gdb-get-many-fields): Eliminate O(n²) behavior.
5544
f31237a4
EZ
55452012-05-25 Eli Zaretskii <eliz@gnu.org>
5546
5547 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5548 platforms that don't link in fontset.c.
5549
bc1b21bb
JL
55502012-05-25 Juri Linkov <juri@jurta.org>
5551
5552 Use the same diff color scheme as in modern VCSes (bug#10181).
5553
5554 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5555 to avoid confusion with `diff-added' that now uses green colors.
5556 (diff-removed): Use shades of red.
5557 (diff-added): Use shades of green.
5558 (diff-changed): Leave just the yellow color.
5559 (diff-use-changed-face): New variable.
5560 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5561 how to highlight context diff changes.
5562 (diff-refine-change): Use shades of yellow.
5563 (diff-refine-removed): New face that uses shades of red.
5564 (diff-refine-added): New face that uses shades of green.
5565 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5566 `diff-refine-removed' in the call to `smerge-refine-subst'
5567 depending on the value of `diff-use-changed-face'.
5568
5569 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5570 (smerge-other): Use shades of green.
5571 (smerge-base): Use shades of yellow.
5572 (smerge-refined-change): Empty face.
5573 (smerge-refined-removed): New face that uses shades of red.
5574 (smerge-refined-added): New face that uses shades of green.
5575 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5576 args `props-r' and `props-a', and use them. Doc fix.
5577 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5578 on its value use different faces `smerge-refined-change',
5579 `smerge-refined-removed', `smerge-refined-added' in the call to
5580 `smerge-refine-subst'.
5581
5582 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5583 Add face condition `min-colors 88' with shades of red.
5584 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5585 `min-colors 88' with shades of green.
5586 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5587 `min-colors 88' with shades of yellow.
5588
6df9112c
GM
55892012-05-24 Glenn Morris <rgm@gnu.org>
5590
ead5edc0
GM
5591 * paths.el (prune-directory-list, remote-shell-program): Move to...
5592 * files.el (prune-directory-list, remote-shell-program): ...here.
5593 For the latter, delay initialization, prefer ssh, just search PATH.
5594
f18b81e6
GM
5595 * paths.el (term-file-prefix): Move to faces.el (the only user).
5596 * faces.el (term-file-prefix): Move here, make it a defcustom.
5597
ee2f89a6
GM
5598 * paths.el (news-directory, news-path, news-inews-program):
5599 Move to gnus/nnspool.el.
61a583ca 5600
f8815e4c
GM
5601 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5602
c8f3b42c
GM
5603 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5604 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5605 Make the latter a defcustom, with a delayed initialization.
5606
6df9112c
GM
5607 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5608 These were deleted from Gnus itself late 2010.
5609
5dadff36
JB
56102012-05-22 Juanma Barranquero <lekktu@gmail.com>
5611
9e1701c6
JB
5612 * progmodes/which-func.el (which-func-ff-hook):
5613 Check against user-error, not error.
5614
bd7239f5 5615 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5616 cl-specs.el, which no longer exists.
5617
3290526d
GM
56182012-05-22 Glenn Morris <rgm@gnu.org>
5619
5620 * info.el (info-emacs-bug): New command.
5621 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5622 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5623
ff0c3cfb
GM
56242012-05-21 Glenn Morris <rgm@gnu.org>
5625
5626 * makefile.w32-in (update-subdirs-SH):
5627 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5628
5814f126
SM
56292012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5630
a52c0aa0
SM
5631 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5632
5814f126
SM
5633 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5634 Simplify Maven regexp, and make sure the file can't start with a space
5635 (bug#11517).
5636
b847032c
GM
56372012-05-21 Glenn Morris <rgm@gnu.org>
5638
5639 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5640 Scrap superfluous subshells.
5641
3858bfe7
SM
56422012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5645 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5646
d14b0029
JB
56472012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5648
5649 * calc/calc.el (calc-ensure-consistent-units): New variable.
5650
a52c0aa0
SM
5651 * calc/calc-units.el (math-consistent-units-p)
5652 (math-check-unit-consistency): New functions.
5653 (calc-quick-units, calc-convert-units):
5654 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5655 is non-nil.
d14b0029
JB
5656 (calc-extract-units): Fix typo.
5657
60c4db3a
SM
56582012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5659
77f3b62e
SM
5660 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5661
60c4db3a
SM
5662 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5663 (flyspell-default-deplacement-commands): Don't spell check after
5664 repeated window/frame switches (e.g. triggered by mouse-movement).
5665 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5666 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5667 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5668 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5669 Remove unused vars.
5670 (flyspell-get-casechars, flyspell-get-not-casechars):
5671 Simplify; Don't bother removing a ] just to add it back.
5672 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5673
d209e2fb 56742012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5675
5676 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5677 New functions.
bd7239f5 5678 (math-function-table): Add support for more C functions.
b1a10716 5679
3f1b25b5
AM
56802012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5681
090bd7cb
JB
5682 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5683 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5684 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5685
b581bb5c
SM
56862012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5689 their respective macro declarations.
5690 * skeleton.el (define-skeleton):
5691 * progmodes/compile.el (define-compilation-mode):
5692 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5693 (define-ibuffer-filter):
5694 * emacs-lisp/generic.el (define-generic-mode):
5695 * emacs-lisp/easy-mmode.el (define-minor-mode)
5696 (define-globalized-minor-mode):
5697 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5698 * emacs-lisp/byte-run.el (defsubst):
5699 * custom.el (deftheme): Add doc-string metadata.
5700
70b8ef8f
SM
57012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5704
b1198e17
SM
57052012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5706
9abdc45d
SM
5707 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5708
b1198e17
SM
5709 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5710 * emacs-lisp/cl-macs.el: Idem.
5711 * emacs-lisp/cl-specs.el: Remove.
5712
4735906a
SM
57132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 Minor renaming of internal CL functions and variables.
5716 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5717 (cl--position): Rename from cl-position.
5718 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5719 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5720 (cl--random-state): Rename from *random-state*.
5721
ac348012
SM
57222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5725 parens around the arg list (bug#11499).
5726
a0a79cde
JL
57272012-05-17 Juri Linkov <juri@jurta.org>
5728
5729 * isearch.el (word-search-regexp, word-search-backward)
5730 (word-search-forward, word-search-backward-lax)
5731 (word-search-forward-lax): Move functions from search.c
5732 (bug#10145, bug#11381).
5733
65034a51
AM
57342012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5735
090bd7cb
JB
5736 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5737 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5738 Delay for otherchars as for normal word components.
65034a51 5739
1a72a195
SM
57402012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * minibuffer.el (completion--sifn-requote): Fix last change.
5743 (minibuffer-local-must-match-filename-map):
5744 Move define-obsolete-variable-alias before its var.
5745
fdb058c2
SM
57462012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5747
c41045e6
SM
5748 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5749
036dfb8b
SM
5750 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5751 behavior.
5752 (completion--string-equal-p): New function.
5753 (completion--twq-all): Use it to get better assertion failure data.
5754
2473256d
SM
5755 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5756 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5757 (shell--requote-argument): New functions.
5758 (shell-completion-vars): Use them.
5759 (shell--parse-pcomplete-arguments): Rename from
5760 shell-parse-pcomplete-arguments.
5761 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5762 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5763 Obey comint-file-name-quote-list.
5764
fdb058c2
SM
5765 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5766 (smie-indent-keyword): Use it.
5767
51fa99f1
SM
57682012-05-14 Stefan Merten <smerten@oekonux.de>
5769
5770 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5771
e18afed7 57722012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5773
5774 * net/rlogin.el (rlogin-mode-map): Fix last change.
5775
e18afed7 57762012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5777
5778 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5779 the following \r\n using a single `process-send-string', since the
5780 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5781 with two `process-send-string's (Bug#11444).
8633b1f4 5782
e18afed7 57832012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5784
fdb058c2
SM
5785 * shell.el (shell-parse-pcomplete-arguments):
5786 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5787
2d21d7f6
WJ
57882012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5789
e18afed7 5790 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5791 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5792 (image-transform-width, image-transform-fit-width): New functions.
5793 (image-transform-properties): Use them.
5794 (image-transform-check-size): New function.
5795 (image-toggle-display-image): Use it (for testing).
5796 (image-transform-set-rotation): Reduce angle mod 360.
5797 Delete obsolete comment.
5798
7102e6d0
WJ
57992012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5800
5801 * image-mode.el: Fix scaling (bug#11399).
5802 (image-transform-resize): Doc fix.
5803 (image-transform-properties): Default scale is 1 and height should
5804 be an integer.
5805
06bc5e6e
SM
58062012-05-13 Johan Bockgård <bojohan@gnu.org>
5807
5808 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5809 than hard-coding `car', to fix misbehavior when moving forward.
5810
0ae03b6a
CY
58112012-05-13 Chong Yidong <cyd@gnu.org>
5812
5813 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5814 (tabulated-list-entries, tabulated-list-padding)
5815 (tabulated-list-sort-key): Make permanent-local.
5816
5817 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5818 (electric-buffer-list): Put electric buffer menu
5819 command descriptions in this docstring, instead of the docstring
5820 of electric-buffer-menu-mode. Code cleanups.
5821 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5822 Electric-buffer-menu-mode.
5823 (electric-buffer-update-highlight): Minor code cleanup.
5824
205a7391
MA
58252012-05-13 Michael Albinus <michael.albinus@gmx.de>
5826
5827 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5828 (Bug#11447)
5829
e5bd0a28
SM
58302012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 Move define-obsolete-variable-alias before the var's definition.
5833 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5834 * tooltip.el (tooltip-hook):
5835 * textmodes/reftex-toc.el (reftex-toc-map):
5836 * textmodes/reftex-sel.el (reftex-select-label-map)
5837 (reftex-select-bib-map):
5838 * textmodes/reftex-index.el (reftex-index-map)
5839 (reftex-index-phrases-map):
5840 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5841 * progmodes/meta-mode.el (meta-mode-map):
5842 * novice.el (disabled-command-hook):
5843 * loadhist.el (unload-hook-features-list):
5844 * frame.el (blink-cursor):
5845 * files.el (find-file-not-found-hooks, write-file-hooks)
5846 (write-contents-hooks):
5847 * emulation/tpu-edt.el (GOLD-map):
5848 * emacs-lock.el (emacs-lock-from-exiting):
5849 * emacs-lisp/generic.el (generic-font-lock-defaults):
5850 * emacs-lisp/chart.el (chart-map):
5851 * dos-fns.el (register-name-alist):
5852 * dired-x.el (dired-omit-files-p):
5853 * desktop.el (desktop-enable):
5854 * cus-edit.el (custom-mode-hook):
5855 * buff-menu.el (buffer-menu-mode-hook):
5856 * bookmark.el (bookmark-read-annotation-text-func)
5857 (bookmark-exit-hooks):
5858 * allout.el (allout-mode-deactivate-hook)
5859 (allout-exposure-change-hook, allout-structure-added-hook)
5860 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5861 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5862 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5863 comes before the corresponding variable's definition.
5864
ac59c2f6
CY
58652012-05-12 Chong Yidong <cyd@gnu.org>
5866
5867 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5868 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5869 (Buffer-menu-mode-map): Bind it.
5870 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5871
dee6c9a3
SM
58722012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5873
2171cea5
SM
5874 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5875 (prolog-upper-case-string, prolog-lower-case-string)
5876 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5877 (prolog-use-smie, prolog-smie-grammar): New vars.
5878 (prolog-smie-forward-token, prolog-smie-backward-token)
5879 (prolog-smie-rules): New funs.
5880 (prolog-comment-indent): Remove.
5881 (prolog-mode-variables): Use default comment indentation instead.
5882 Setup SMIE.
5883 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5884 (prolog-mode): Don't call them any more.
5885 (prolog-electric-colon, prolog-electric-dash)
5886 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5887
aa0382bd
SM
5888 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5889
dbacb4bd
SM
5890 * minibuffer.el (completion--twq-all): Again, allow case differences.
5891
13bdd94c
SM
5892 * term.el: Move keymap initialization code to be more idiomatic.
5893 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5894 (term-terminal-menu): Move initialization into declaration.
5895 (term-escape-char): Let the user set it in her .emacs.
5896
ff46c759
SM
5897 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5898 Provide SMIE-based indentation (not enabled by default yet).
5899 (sh-mode-map): Don't bind electric keys.
5900 Use electric-pair-mode instead of skeleton-pair.
5901 (sh-assignment-regexp): Fit within 80 columns.
5902 (sh-indent-supported): Specify actual shell name instead of boolean.
5903 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5904 (sh-maybe-here-document): Use it. Make obsolete.
5905 (sh-electric-here-document-mode) New minor mode.
5906 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5907 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5908 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5909 (sh-smie-rc-grammar, sh-use-smie): New vars.
5910 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5911 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5912 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5913 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5914 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5915 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5916 (sh-set-shell): Use smie-setup if requested.
5917
dee6c9a3
SM
5918 * term.el (term-set-escape-char): Properly set term-escape-char.
5919 See http://stackoverflow.com/questions/10524656.
5920
9f9aa044
CY
59212012-05-10 Chong Yidong <cyd@gnu.org>
5922
5923 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5924 Use url-generic-parse-url, and handle host names and Windows
5925 filenames properly.
5926 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5927 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5928 URL schemes to work on.
5929 (ffap--toggle-read-only): New function.
5930 (ffap-read-only, ffap-read-only-other-window)
5931 (ffap-read-only-other-frame): Use it.
5932 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5933 necessary for ffap-url-unwrap-remote.
5934
836d29b3
DA
59352012-05-10 Dave Abrahams <dave@boostpro.com>
5936
5937 * cus-start.el (create-lockfiles): Add it.
5938
00fd78ed
CY
59392012-05-09 Chong Yidong <cyd@gnu.org>
5940
5941 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5942 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5943
666b903b 59442012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5945
5946 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5947
666b903b 59482012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5949
5950 * ansi-color.el (ansi-color-process-output): Check for validity of
5951 comint-last-output-start before using it. This avoids a bad
5952 interaction with gdb-mi's input/output buffer.
5953
666b903b 59542012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5955
5956 * files.el (dir-locals-read-from-file):
5957 Mention dir-locals in any error message.
5958
666b903b 59592012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5960
5961 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5962 package (Bug#11410).
5963
f677562b
CY
5964 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5965 variables into description.
5966
666b903b 59672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5968
5969 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5970 shell-delimiter-argument-list (bug#11348).
5971 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5972
b499d8d0
JB
59732012-05-09 Juanma Barranquero <lekktu@gmail.com>
5974
8f6b6da8
JB
5975 * textmodes/rst.el: Silence byte-compiler warnings.
5976 (rst-re-alist, rst-reset-section-caches): Move around.
5977 (rst-re): Use `characterp', not `char-valid-p'.
5978 (font-lock-beg, font-lock-end): Declare.
5979
4824146a
JB
5980 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5981 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5982
b499d8d0
JB
5983 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5984
ad89bb83
GM
59852012-05-08 Glenn Morris <rgm@gnu.org>
5986
5987 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5988
8bba5a75
SM
59892012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5990
49ed9c8e
SM
5991 * vc/log-edit.el: Add GNU coding standards highlighting.
5992 (log-edit-font-lock-gnu-style)
5993 (log-edit-font-lock-gnu-keywords): New vars.
5994 (log-edit-font-lock-keywords): New fun.
5995 (log-edit-mode): Don't fold case in font-lock.
5996 (log-edit-font-lock-keywords): Do not assume case-folding.
5997
07d00b56
SM
5998 * imenu.el: Misc cleanup. Make docstrings out of comments.
5999 Use lexical-binding.
6000 (imenu--index-alist, imenu--last-menubar-index-alist)
6001 (imenu-menubar-modified-tick): Use defvar-local.
6002 (imenu--split-menu): Remove unused var.
6003 (imenu--cleanup-seen): Declare as global.
6004 (imenu--cleanup): Use dolist.
6005
8bba5a75
SM
6006 * subr.el (defvar-local): Add debug spec and doc-string position.
6007
5075bdb5
GM
60082012-05-08 Glenn Morris <rgm@gnu.org>
6009
090bd7cb 6010 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6011 * language/english.el, language/georgian.el, language/greek.el:
6012 * language/japanese.el, language/khmer.el, language/korean.el:
6013 * language/lao.el, language/misc-lang.el, language/romanian.el:
6014 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6015 * language/thai.el, language/utf-8-lang.el:
6016 Remove no-byte-compile setting.
6017
5075bdb5
GM
6018 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6019
06f679a7
AH
60202012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6021
6022 * progmodes/make-mode.el (makefile-browse):
6023 Remove unnecessary interactive. (Bug#11324)
6024
03794570
GM
60252012-05-07 Glenn Morris <rgm@gnu.org>
6026
af8630f4
GM
6027 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6028
03794570
GM
6029 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6030
f0809a9d
SM
60312012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6032
28be5ce7
SM
6033 * loadup.el: Preload newcomment.el.
6034 * newcomment.el: Move autoload-only code to toplevel.
6035
f0809a9d
SM
6036 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6037 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6038 Handle new :right-align column property.
6039 (tabulated-list-print-col): Idem, plus use `display' text-property to
6040 try and preserve alignment for variable pitch fonts.
6041
1241b724
CY
60422012-05-07 Chong Yidong <cyd@gnu.org>
6043
6044 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6045 (tabulated-list-use-header-line): New var.
6046 (tabulated-list-init-header): Use it.
6047 (tabulated-list-print-fake-header): New function.
6048 (tabulated-list-print): Use it.
6049 (tabulated-list-sort-button-map): Add non-header-line commands.
6050 (tabulated-list-init-header): Add column name property to basic
6051 labels as well.
6052 (tabulated-list-col-sort): Handle non-header-line button case.
6053 (tabulated-list--sort-by-column-name): Fix a corner case.
6054
f0809a9d
SM
6055 * buff-menu.el (list-buffers--refresh):
6056 Handle Buffer-menu-use-header-line.
1241b724 6057
e5f9458f
CY
60582012-05-06 Chong Yidong <cyd@gnu.org>
6059
6060 * buff-menu.el: Convert to Tabulated List mode.
6061 (Buffer-menu-buffer+size-width): Make obsolete.
6062 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6063 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6064 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6065 documentation into docstring of buffer-menu.
6066 (Buffer-menu-toggle-files-only): Add an informative message.
6067 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6068 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6069 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6070 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6071 (Buffer-menu-execute, Buffer-menu-select)
6072 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6073 (Buffer-menu-bury): Use Tabulated List machinery.
6074 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6075 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6076 Delete.
e5f9458f
CY
6077 (list-buffers--refresh): New function.
6078 (list-buffers-noselect): Use it.
6079 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6080 (Buffer-menu--pretty-file-name): New helper functions.
6081
6082 * loadup.el: Preload tabulated-list.
6083
6084 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6085 tabulated-list-sort-column.
6086 (tabulated-list-init-header): Add the initial aligning space even
6087 if tabulated-list-padding is zero.
6088
e129292c
CS
60892012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6090
6091 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6092 whose cdr is not a cons cell correctly (bug#11038).
6093
6632d361
CY
60942012-05-06 Chong Yidong <cyd@gnu.org>
6095
e129292c
CS
6096 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6097 Accept additional plist in column descriptors.
6632d361
CY
6098 (tabulated-list-init-header): Obey it.
6099 (tabulated-list-get-entry): New function.
6100 (tabulated-list-put-tag): Use it. Use string-width instead of
6101 length.
6102 (tabulated-list--column-number): New function.
6103 (tabulated-list-print): Use it.
e129292c
CS
6104 (tabulated-list-print-col): New function.
6105 Set `tabulated-list-column-name' property on each column's text.
6632d361 6106 (tabulated-list-print-entry): Use it.
e129292c
CS
6107 (tabulated-list-delete-entry, tabulated-list-set-col):
6108 New functions.
6632d361
CY
6109 (tabulated-list-sort-column): New command (Bug#11337).
6110
3cc99f68
CY
6111 * buff-menu.el (list-buffers): Move C-x C-b binding from
6112 buff-menu.el to bindings.el.
6113
6114 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6115 :advertised-binding feature.
6116
52b61776
TN
61172012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6118
6119 * progmodes/compile.el (compilation-internal-error-properties):
6120 Calculate start position correctly when end-col is set but
6121 end-line is not (Bug#11382).
6122
ebfe2597
WJ
61232012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6124
6125 * man.el (Man-unindent): Use text-property-default-nonsticky to
6126 prevent untabify from inheriting face properties (Bug#11408).
6127
6d3f7c2f
SM
61282012-05-05 Stefan Merten <smerten@oekonux.de>
6129
6130 * textmodes/rst.el: Major merge with upstream development up to
6131 Docutils SVN r7399 / rst.el V1.2.1.
6132
6133 Clarify maintainership and authors.
6134
6135 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6136 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6137 (rst-official-version, rst-official-cvs-rev, rst-version)
6138 (rst-package-emacs-version-alist): New functions and variables
6139 for version information.
6140
6141 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6142 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6143 (rst-mode-syntax-table, rst-mode): New and corrected functions
6144 and variables representing reStructuredText features.
6145
6146 (rst-re): New function for reStructuredText regexes. Use in
6147 many places.
6148
6149 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6150 (rst-mode-map): Rebind keys.
6151
6152 (rst-mode-lazy, rst-font-lock-keywords)
6153 (rst-font-lock-extend-region)
6154 (rst-font-lock-extend-region-internal)
6155 (rst-font-lock-extend-region-extend)
6156 (rst-font-lock-find-unindented-line-limit)
6157 (rst-font-lock-find-unindented-line-match)
6158 (rst-adornment-level, rst-font-lock-adornment-level)
6159 (rst-font-lock-adornment-match)
6160 (rst-font-lock-handle-adornment-pre-match-form)
6161 (rst-font-lock-handle-adornment-matcher): Major revision of
6162 font-locking. Integrate with other code. Use `jit-lock-mode'.
6163
6164 (rst-preferred-adornments, rst-adjust-hook)
6165 (rst-new-adornment-down, rst-preferred-bullets)
6166 (rst-preferred-bullets, rst-indent, rst-indent-width)
6167 (rst-indent-field, rst-indent-literal-normal)
6168 (rst-indent-literal-minimized, rst-indent-comment): Change,
6169 extend and improve customization.
6170
6171 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6172 (rst-normalize-cursor-position, rst-get-decoration)
6173 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6174 (rst-rstrip, rst-toc-insert-find-delete-contents)
6175 (rst-shift-fill-region, rst-compute-bullet-tabs)
6176 (rst-debug-print-tabs, rst-debug-mark-found)
6177 (rst-shift-region-guts, rst-shift-region-right)
6178 (rst-shift-region-left, rst-use-char-classes)
6179 (rst-font-lock-keywords-function)
6180 (rst-font-lock-indentation-point)
6181 (rst-font-lock-find-unindented-line-begin)
6182 (rst-font-lock-find-unindented-line-end)
6183 (rst-font-lock-find-unindented-line)
6184 (rst-font-lock-adornment-point, rst-font-lock-level)
6185 (rst-adornment-level-alist): Remove functions and variables.
6186
6187 (rst-compare-adornments, rst-get-adornment-match)
6188 (rst-suggest-new-adornment, rst-get-adornments-around)
6189 (rst-adornment-complete-p, rst-get-next-adornment)
6190 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6191 (rst-straighten-adornments): Standardize function names to
6192 use "adornment" instead of "decoration". Correct callers.
6193 Similar standardizing in many places.
6194
6195 (rst-update-section, rst-adjust, rst-promote-region)
6196 (rst-enumerate-region, rst-bullet-list-region)
6197 (rst-repeat-last-character): Correct use of `interactive'.
6198
6199 (rst-classify-adornment, rst-find-all-adornments)
6200 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6201 (rst-find-leftmost-column, rst-repeat-last-character):
6202 Refactor functions.
6203
6204 (rst-find-title-line, rst-reset-section-caches)
6205 (rst-get-adornments-around, rst-adjust-adornment-work)
6206 (rst-arabic-to-roman, rst-roman-to-arabic)
6207 (rst-insert-list-pos, rst-insert-list-new-item)
6208 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6209 New functions.
6210
6211 (rst-all-sections, rst-section-hierarchy)
6212 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6213 New variables.
6214
6215 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6216 configuration instead of only buffer. Change where necessary.
6217
6218 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6219 (rst-shift-region, rst-adaptive-fill): New functions for
6220 indentation and filling.
6221
6222 (rst-comment-line-break, rst-comment-indent)
6223 (rst-comment-insert-comment, rst-comment-region)
6224 (rst-uncomment-region): New functions for handling comments.
6225
6226 (rst-compile): Quote shell arguments.
6227
6228 (rst-compile-pdf-preview, rst-compile-slides-preview):
6229 Delete temporary files after use.
6230
a43f98b3
GM
62312012-05-05 Glenn Morris <rgm@gnu.org>
6232
48176e8b
GM
6233 * calendar/cal-html.el: Optionally include holidays in the output.
6234 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6235 (cal-html-holidays): New option.
6236 (cal-html-css-default): Add holiday entry.
6237 (holiday-in-range): Autoload it.
6238 (cal-html-htmlify-entry): Add optional class argument.
6239 (cal-html-htmlify-list): Add optional holidays argument.
6240 (cal-html-insert-agenda-days): Include holidays in the output.
6241 (cal-html-one-month): Maybe include holidays.
6242
a43f98b3
GM
6243 * calendar/holidays.el (holiday-in-range):
6244 Move here from cal-tex-list-holidays.
6245 * calendar/cal-tex.el (cal-tex-list-holidays):
6246 Make it an obsolete alias for holiday-in-range. Update all callers.
6247
fef9d149 62482012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6249
6250 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6251 Nextstep.
6252
248da2f4
RW
62532012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6254
6255 * files.el (file-auto-mode-skip): New var.
6256 (set-auto-mode-1): Use it.
6257
f95e9344
SM
62582012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6259
df96ab1e
SM
6260 * repeat.el: Use lexical-binding.
6261 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6262 (repeat-undo-count): Remove.
6263 (repeat):
6264 * progmodes/octave-mod.el (octave-abbrev-start):
6265 * progmodes/f90.el (f90-abbrev-start):
6266 * face-remap.el (text-scale-adjust):
6267 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6268
5342bb06
SM
6269 * emacs-lisp/pcase.el (pcase--let*): New function.
6270 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6271 a bit more.
6272 (pcase--split-pred): Be more clever about ruling out overlap between
6273 a predicate and some constant pattern.
6274 (pcase--q1): Use `null' instead of (eq foo nil).
6275
f95e9344
SM
6276 * subr.el (setq-local, defvar-local): New macros.
6277 (kbd): Redefine as an alias.
6278 (with-selected-window): Leave unrelated frames alone.
6279 (set-temporary-overlay-map): New function.
6280
71873e2b
SM
62812012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * subr.el (user-error): New function.
6284 * window.el (switch-to-buffer):
6285 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6286 (smerge-match-conflict):
6287 * simple.el (previous-matching-history-element)
6288 (next-matching-history-element, goto-history-element, undo-more)
6289 (undo-start):
6290 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6291 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6292 (next-file, tags-loop-scan, list-tags, complete-tag):
6293 * progmodes/compile.el (compilation-loop):
6294 * mouse.el (mouse-minibuffer-check):
6295 * man.el (Man-bgproc-sentinel, Man-goto-page):
6296 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6297 (Info-history-forward, Info-follow-reference, Info-menu)
6298 (Info-extract-menu-item, Info-extract-menu-counting)
6299 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6300 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6301 (Info-next-reference, Info-prev-reference, Info-index)
6302 (Info-index-next, Info-follow-nearest-node)
6303 (Info-copy-current-node-name):
6304 * imenu.el (imenu--make-index-alist)
6305 (imenu-default-create-index-function, imenu-add-to-menubar):
6306 * files.el (basic-save-buffer, recover-file):
6307 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6308 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6309 (checkdoc-message-text, checkdoc-defun):
6310 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6311 * cus-edit.el (customize-changed-options, customize-rogue)
6312 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6313 (custom-variable-mark-to-reset-standard)
6314 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6315 (custom-file):
6316 * completion.el (check-completion-length):
6317 * comint.el (comint-search-arg)
6318 (comint-previous-matching-input-string-position)
6319 (comint-previous-matching-input)
6320 (comint-replace-by-expanded-history-before-point, comint-send-input)
6321 (comint-copy-old-input, comint-backward-matching-input)
6322 (comint-goto-process-mark, comint-set-process-mark):
6323 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6324 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6325
8a61ee22
SM
63262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6327
66408d1e
SM
6328 * dabbrev.el (dabbrev--ignore-case-p): New function.
6329 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6330 Use it.
6331
8a61ee22
SM
6332 * files.el (automount-dir-prefix): Mark as obsolete.
6333
3c74813a
GM
63342012-05-04 Glenn Morris <rgm@gnu.org>
6335
6336 * patcomp.el, play/bruce.el: Move to obsolete/.
6337
0bfcf5c5
PE
63382012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6339
6340 Fix minor Y10k bugs.
6341 * arc-mode.el (archive-unixdate):
6342 * autoinsert.el (auto-insert-alist):
6343 * calc/calc-forms.el (math-this-year):
6344 * emacs-lisp/copyright.el (copyright-current-year)
6345 (copyright-update-year, copyright):
6346 * tar-mode.el (tar-clip-time-string):
6347 * time.el (display-time-update):
6348 Don't assume years have 4 digits.
6349
78f3273a
CY
63502012-05-04 Chong Yidong <cyd@gnu.org>
6351
6352 * dos-w32.el (file-name-buffer-file-type-alist)
6353 (direct-print-region-use-command-dot-com):
6354 * ffap.el (ffap-menu-regexp):
6355 * find-file.el (ff-special-constructs):
6356 * follow.el (follow-debug):
6357 * forms.el (forms--debug):
6358 * iswitchb.el (iswitchb-all-frames):
6359 * ido.el (ido-all-frames):
6360 * emacs-lisp/timer.el (timer-max-repeats):
6361 * mail/feedmail.el (feedmail-mail-send-hook)
6362 (feedmail-mail-send-hook-queued):
6363 * mail/footnote.el (footnote-signature-separator):
6364 * mail/mailabbrev.el (mail-alias-separator-string)
6365 (mail-abbrev-mode-regexp):
6366 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6367 * progmodes/idlwave.el (idlwave-libinfo-file)
6368 (idlwave-default-completion-case-is-down)
6369 (idlwave-library-routines): Convert defvars to defcustoms.
6370
6371 * mail/rmail.el (rmail-decode-mime-charset):
6372 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6373 (idlwave-shell-fix-inserted-breaks)
6374 (idlwave-shell-activate-alt-keybindings)
6375 (idlwave-shell-use-breakpoint-glyph):
6376 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6377
f7ae6719
SM
63782012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6381
47086495
WS
63822012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6383
6384 * progmodes/verilog-mode.el (font-lock-keywords):
6385 Fix mis-highligting auto. Reported by Craig Barner.
6386 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6387 defines from global name space. Reported by Dan Dever.
6388 (verilog-auto-reset, verilog-auto-reset-widths)
6389 (verilog-auto-tieoff): Support using unbased numbers for
6390 AUTORESET and AUTOTIEOFF.
6391 (verilog-submit-bug-report): Update variable list.
6392 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6393 parenthesis from not matching. Reported by Michael Rytting.
6394 (verilog-auto-template-lint): Fix hash error when linting modules
6395 with no used templates.
6396 (verilog-warn, verilog-warn-error)
6397 (verilog-warn-fatal): When non-interactive report multiple
6398 warnings before exiting. Suggested by Brad Dobbie.
6399 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6400 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6401 to report unused template errors. Reported by Brad Dobbie.
6402 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6403 nets, bug438. Reported by Vns Blore.
6404 (verilog-auto-inout-module, verilog-auto-reg)
6405 (verilog-read-decls, verilog-read-sub-decls-sig)
6406 (verilog-signals-edit-wire-reg, verilog-signals-with):
6407 Fix passing of Verilog data types in ANSI input/output ports
6408 such as "output logic" into the AUTOs. Special case "wire" and
6409 "reg" for backwards compatibility presuming Verilog 2001.
6410 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6411 (verilog-preprocess): Fix replication of preprocess output.
6412 Reported by Brad Dobbie.
6413 (verilog-auto-inst-interfaced-ports):
6414 Create verilog-auto-inst-interfaced-ports, bug429.
6415 Reported by Julian Gorfajn.
6416 (verilog-after-save-font-hook)
6417 (verilog-before-save-font-hook): New variable.
6418 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6419 (verilog-save-font-mods): Wrap disabling fontification, reported
6420 by David Rogoff.
6421 (verilog-do-indent, verilog-pretty-declarations-auto)
6422 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6423 Reported by Pierre-David Pfister.
6424 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6425 of class declarations, bug292. Reported by Kevin Heilman.
6426 (verilog-read-decls): Fix 'parameter type' not appearing in
6427 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6428 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6429 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6430 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6431 Reported by David Kravitz.
6432
64332012-05-03 Michael McNamara <mac@mail.brushroad.com>
6434
6435 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6436 assignment with tests in ifs and for loops.
6437 (verilog-extended-complete-re, verilog-complete-reg): Change so
6438 that DPI inport functions don't look like fuction declarations.
6439 (verilog-pretty-expr): Don't line up assignment
6440 operations to the test and increment in if and for loops
6441 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6442 that DPI inport functions don't look like fuction declarations.
47086495 6443
2e51d4b5
KH
64442012-05-03 Kenichi Handa <handa@m17n.org>
6445
6446 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6447 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6448 (Bug#11282).
6449
2bd785a2
SM
64502012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/bytecomp.el
6453 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6454 since cconv.el might have introduced :fun-body, internal-make-closure,
6455 and friends for bytecomp to handle (bug#11391).
6456 * custom.el (defcustom): Avoid ((λ ..) ..).
6457
99d27583
SM
64582012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6461
55a71479
JB
64622012-05-02 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * notifications.el (dbus-debug):
6465 * term/linux.el (gpm-mouse-enable):
6466 * term/screen.el (xterm-register-default-colors): Declare.
6467
7b97c764
CY
64682012-05-02 Chong Yidong <cyd@gnu.org>
6469
2bc356d7
CY
6470 * cus-start.el (gc-cons-percentage, exec-suffixes)
6471 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6472 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6473 (make-cursor-line-fully-visible, void-text-area-pointer)
6474 (font-list-limit): Add customization data.
6475
7b97c764
CY
6476 * allout.el (allout-exposure-change-functions)
6477 (allout-structure-added-functions)
6478 (allout-structure-deleted-functions)
6479 (allout-structure-shifted-functions): Rename abnormal hooks from
6480 *-hook, and convert to defcustoms.
5d3385a0
JB
6481 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6482 Convert to defcustoms.
7b97c764
CY
6483 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6484
6485 * allout-widgets.el: Hook callers changed.
6486
90207a15 64872012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6488
6489 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6490 the yanked message in preference to the default value of
6491 buffer-file-coding-system.
6492
90207a15 64932012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6494
5d3385a0
JB
6495 * window.el (display-buffer--action-function-custom-type):
6496 Fix entry.
d9558cad 6497
90207a15 64982012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6499
6500 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6501
d80ac57b
GM
65022012-05-01 Glenn Morris <rgm@gnu.org>
6503
976f7668
GM
6504 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6505
beb83b5a
GM
6506 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6507
d80ac57b
GM
6508 * cus-edit.el (custom-variable-documentation): Simplify with format.
6509
b593d6a9 65102012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6511 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6512
6513 * simple.el (suggest-key-bindings, execute-extended-command):
6514 Move from keyboard.c.
6515
782fbf2a
CY
65162012-05-01 Chong Yidong <cyd@gnu.org>
6517
6518 * follow.el: Eliminate advice.
6519 (set-process-filter, process-filter, sit-for): Advice deleted.
6520 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6521 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6522 Vars deleted.
782fbf2a
CY
6523 (follow-auto): Use a :set function.
6524 (follow-mode): Rewritten. Don't advise process filters.
6525 (follow-switch-to-current-buffer-all, follow-scroll-up)
6526 (follow-scroll-down): Assume follow-mode is bound.
6527 (follow-comint-scroll-to-bottom)
6528 (follow-align-compilation-windows): New functions.
6529 (follow--window-sorter): New function.
6530 (follow-all-followers): Use it to explicitly sort windows by their
6531 positions; don't make assumptions about next-window order.
6532 (follow-windows-start-end, follow-delete-other-windows-and-split)
6533 (follow-calc-win-start): Doc fix.
6534 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6535 vertical-motion unnecessarily.
6536 (follow-adjust-window): New function.
6537 (follow-post-command-hook): Use it.
6538 (follow-call-set-process-filter, follow-call-process-filter)
6539 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6540 (follow-stop-intercept-process-output, follow-generic-filter):
6541 Functions deleted.
6542 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6543 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6544 New functions, replacing advice on scroll-bar-* commands.
87233a14 6545 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6546
6547 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6548 (comint-postoutput-scroll-to-bottom): Use it.
6549 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6550
290af740
GM
65512012-05-01 Glenn Morris <rgm@gnu.org>
6552
6553 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6554 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6555 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6556 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6557 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6558 Remove no-byte-compile setting.
6559
6eac8dc9
SM
65602012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6563 all-completions code to not return a number in the last cdr.
6564
9cc7819c
LL
65652012-04-30 Leo Liu <sdl.web@gmail.com>
6566
6567 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6568 read-only error.
6569
c93b886f
CY
65702012-04-29 Chong Yidong <cyd@gnu.org>
6571
6572 * follow.el (follow-calc-win-end): Rewrite to handle partial
6573 screen lines correctly (Bug#8390).
6574 (follow-avoid-tail-recenter): Minor cleanup.
6575
8b6c19f4
SM
65762012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 Avoid the obsolete `assoc' package.
6579 * speedbar.el (speedbar-refresh): Avoid adelete.
6580 (speedbar-file-lists): Simplify and avoid aput.
6581 * man.el (Man--sections, Man--refpages): New vars, replacing
6582 Man-sections-alist and Man-refpages-alist.
6583 (Man-build-section-alist, Man-build-references-alist):
6584 Use them; avoid aput.
6585 (Man--last-section, Man--last-refpage): New vars.
6586 (Man-follow-manual-reference): Use them.
6587 Use the `default' arg of completing-read.
6588 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6589
c5bb7569
CY
65902012-04-27 Chong Yidong <cyd@gnu.org>
6591
d1d2e2e8
CY
6592 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6593
15cd8efd
CY
6594 * startup.el (x-apply-session-resources): New function.
6595
6596 * term/ns-win.el (ns-initialize-window-system):
6597 * term/w32-win.el (w32-initialize-window-system):
6598 * term/x-win.el (x-initialize-window-system): Use it to properly
6599 set menu-bar-mode and other vars from X resources, even if the
6600 initial frame is not a window-system frame (Bug#2299).
6601
c5bb7569
CY
6602 * subr.el (read-key): Avoid running filter function when setting
6603 up temporary tool bar entries (Bug#9922).
6604
a8e7d6d7 66052012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6606
6607 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6608 (Bug#11344)
6609
a8e7d6d7 66102012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6611
6612 * select.el (xselect--encode-string): New function, split from
6613 xselect-convert-to-string.
6614 (xselect-convert-to-string): Use it.
6615 (xselect-convert-to-filename, xselect-convert-to-os)
6616 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6617 returned strings are properly encoded (Bug#11315).
6618
a8e7d6d7 66192012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6620
6621 * simple.el (delete-active-region): Move to killing custom group.
6622
a8e7d6d7 66232012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6624
6625 * progmodes/which-func.el (which-func-current): Quote %
6626 characters for mode-line processing.
6627
578c1d4b 66282012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6629
6630 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6631 reaching eob (Bug#11286).
6632
a8e7d6d7 66332012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6634
6635 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6636 (gdb): Make it buffer-local and init to zero.
6637 (gdb-control-commands-regexp): New variable.
6638 (gdb-send): Don't wrap in "-interpreter-exec console" if
6639 gdb-control-level is positive. Increment gdb-control-level
6640 whenever the command matches gdb-control-commands-regexp, and
6641 decrement it each time the command is "end". (Bug#11279)
6642
a8e7d6d7 66432012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6644
6645 * window.el (adjust-window-trailing-edge, enlarge-window)
6646 (shrink-window, window-resize):
6647 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6648 windows (Bug#11276).
6649
b3608390
CY
66502012-04-27 Chong Yidong <cyd@gnu.org>
6651
6652 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6653 fix "missing prefix" warning. All callers changed.
b3608390 6654
797e6e88
SM
66552012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * emacs-lisp/assoc.el: Move to obsolete/.
6658
e95a67dc
SM
66592012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6660
657c21e4 6661 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6662
6663 * term/ns-win.el (ns-define-service):
6664 * progmodes/pascal.el (pascal-goto-defun):
6665 * progmodes/js.el (js--read-tab):
6666 * progmodes/etags.el (tags-lazy-completion-table):
6667 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6668 * emacs-lisp/ewoc.el (ewoc--wrap):
6669 * emacs-lisp/assoc.el (aput, adelete, amake):
6670 * doc-view.el (doc-view-convert-current-doc):
6671 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6672
cb3e7ae0
CY
66732012-04-26 Chong Yidong <cyd@gnu.org>
6674
dce04f7f
CY
6675 * image.el (image-type-from-buffer): Only return supported image
6676 type (Bug#9045).
6677
cb3e7ae0
CY
6678 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6679 value, for symmetry with diff-end-of-hunk.
6680 (diff-split-hunk, diff-find-source-location)
6681 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6682 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6683 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6684 compute the relevant hunk or file properly (Bug#6005).
6685 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6686
0d42eb3e
SM
66872012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * vc/vc-mtn.el:
6690 * vc/vc-hg.el:
6691 * vc/vc-git.el:
6692 * vc/vc-dir.el:
6693 * vc/vc-cvs.el:
6694 * vc/vc-bzr.el:
6695 * vc/vc-arch.el:
6696 * vc/vc.el: Replace lexical-let by lexical-binding.
6697 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6698 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6699 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6700
f08ae1c9
CY
67012012-04-26 Chong Yidong <cyd@gnu.org>
6702
8b71081d
CY
6703 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6704 (diff-mode-shared-map): Bind it to / and [remap undo].
6705
f08ae1c9
CY
6706 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6707 (ediff-window-setup-function): Use it as the default, to set up
6708 windows based on whether the current frame is graphical (Bug#2138).
6709 (ediff-choose-window-setup-function-automatically): Make obsolete.
6710
6711 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6712
ef24141c
SM
67132012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6714
cc356a5d
SM
6715 * ffap.el: Remove old code for obsolete package.
6716 (ffap-complete-as-file-p): Remove.
6717
b4ff4f1f
SM
6718 Use completion-table-with-quoting for comint and pcomplete.
6719 * comint.el (comint--unquote&requote-argument)
6720 (comint--unquote-argument, comint--requote-argument): New functions.
6721 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6722 (comint-quote-filename): Use regexp-opt-charset.
6723 (comint--common-suffix, comint--common-quoted-suffix)
6724 (comint--table-subvert): Remove.
6725 (comint-unquote-function, comint-requote-function): New vars.
6726 (comint--complete-file-name-data): Use them with
6727 completion-table-with-quoting.
6728 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6729 * pcomplete.el (pcomplete-arg-quote-list)
6730 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6731 (pcomplete-unquote-argument-function): Default to non-nil.
6732 (pcomplete-unquote-argument): Simplify.
6733 (pcomplete--common-quoted-suffix): Remove.
6734 (pcomplete-requote-argument-function): New var.
6735 (pcomplete--common-suffix): New function.
6736 (pcomplete-completions-at-point): Use completion-table-with-quoting
6737 and completion-table-subvert.
6738
79c4eeb4
SM
6739 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6740 (minibuffer--double-dollars): Preserve properties.
6741 (completion--sifn-requote): New function.
6742 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6743
ef24141c
SM
6744 * minibuffer.el: Add support for completion of quoted/escaped data.
6745 (completion-table-with-quoting, completion-table-subvert): New funs.
6746 (completion--twq-try, completion--twq-all): New functions.
6747 (completion--nth-completion): New function.
6748 (completion-try-completion, completion-all-completions): Use it.
6749
784e7d6e
LL
67502012-04-25 Leo Liu <sdl.web@gmail.com>
6751
dd2ac746
SM
6752 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6753 Use compilation-message if available to find real filename.
784e7d6e 6754
07875ee7
CY
67552012-04-25 Chong Yidong <cyd@gnu.org>
6756
6757 * vc/diff-mode.el (diff-setup-whitespace): New function.
6758 (diff-mode): Use it.
6759
6760 * vc/diff.el (diff-sentinel):
6761 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6762 Whitespace mode variables based on diff style (Bug#8612).
6763
5055880d
LL
67642012-04-25 Leo Liu <sdl.web@gmail.com>
6765
daf75653
LL
6766 * progmodes/python.el (python-send-region): Add suffix .py to the
6767 temp file.
6768
5055880d
LL
6769 * files.el (auto-mode-alist): Use javascript-mode instead.
6770
db9b177b
AH
67712012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6772
ef24141c 6773 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6774
090bd7cb 6775 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6776 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6777 references, see Bug#9.
ef24141c 6778 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6779 when receiving a fault reply.
ef24141c 6780 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6781
090bd7cb 6782 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6783 (soap-inspect-simple-type): New function.
db9b177b 6784
090bd7cb 6785 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6786 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6787 (soap-decode-basic-type, soap-encode-basic-type):
6788 support unsignedInt and double basic types.
db9b177b 6789 (soap-resolve-references-for-simple-type)
ef24141c
SM
6790 (soap-parse-simple-type, soap-encode-simple-type): New function.
6791 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6792
090bd7cb 6793 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6794 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6795 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6796 the local name of "soapenc:Array".
6797 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6798 decoding integer, byte and anyURI xsd types.
6799
1fc6097b
CY
68002012-04-25 Chong Yidong <cyd@gnu.org>
6801
6802 * cus-edit.el (custom-buffer-create-internal): Update header text.
6803
afc6df87
EZ
68042012-04-25 Eli Zaretskii <eliz@gnu.org>
6805
6806 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6807 settings on 'system-type', not on 'window-system'. On MS-Windows,
6808 set interactive-mode on in GDB.
6809
dfbd787f
SM
68102012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6813 (ruby-syntax-propertize-regexp): Remove.
6814 (ruby-syntax-propertize-function): Split regexp into chunks.
6815 Match following code directly.
6816
85222d44
DG
68172012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6818
51a8ea2a
DG
6819 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6820 (ruby-syntax-propertize-regexp): New function.
6821 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6822 by a special keyword.
6823
85222d44
DG
6824 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6825 (ruby-syntax-general-delimiters-goto-beg)
6826 (ruby-syntax-propertize-general-delimiters): New functions.
6827 (ruby-syntax-propertize-function): Use them to handle GDL.
6828 (ruby-font-lock-keywords): Move old handling of GDL...
6829 (ruby-font-lock-syntactic-keywords): .. to here.
6830 (ruby-calculate-indent): Adjust indentation for GDL.
6831
b613912b
MA
68322012-04-24 Michael Albinus <michael.albinus@gmx.de>
6833
b5380639
MA
6834 * notifications.el (top): Remove unneeded declarations.
6835 (notifications-specification-version): Change to "1.2".
e43042fe 6836 (notifications-interface, notifications-notify-method)
b613912b
MA
6837 (notifications-close-notification-method): Fix docstring.
6838 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6839 (notifications-notify): Add :action-items, :resident and
6840 :transient hints. Change "image_data" to "image-data" and
6841 "image_path" to "image-path".
b613912b
MA
6842 (notifications-get-capabilities): New defun.
6843
257440aa
LL
68442012-04-24 Leo Liu <sdl.web@gmail.com>
6845
6846 * progmodes/python.el: Move hideshow setup to the end.
6847
b1bac16e
MR
68482012-04-24 Martin Rudalics <rudalics@gmx.at>
6849
6850 * window.el (handle-select-window): Clear echo area since this is
6851 no more done by read_char (Bug#11304).
6852
d81bd059
SM
68532012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6856 and `/ M' to filter-derived-mode.
6857 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6858 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6859 (ibuffer-mark-by-mode): Use default rather than initial-input.
6860 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6861
c4cf6d91
IA
68622012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6863
6864 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6865 (ibuffer-filter-by-derived-mode): New filter.
6866 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6867
7511ded8
CY
68682012-04-23 Andreas Politz <politza@fh-trier.de>
6869
6870 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6871
775c916b
CY
68722012-04-23 Chong Yidong <cyd@gnu.org>
6873
6874 * cus-edit.el (customize-apropos, customize-apropos-options):
6875 Disable matching of non-option variables (Bug#11176).
6876 (customize-option, customize-option-other-window)
6877 (customize-changed-options): Doc fix.
6878 (customize-apropos-options, customize-apropos-faces)
6879 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6880
6881 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6882 Fix word list splitting (Bug#11132).
46c71e23
CY
6883 (apropos-symbol, apropos-keybinding, apropos-label)
6884 (apropos-property, apropos-function-button)
6885 (apropos-variable-button, apropos-misc-button): New faces.
6886 (apropos-symbol-face, apropos-keybinding-face)
6887 (apropos-label-face, apropos-property-face, apropos-match-face):
6888 Variables removed (Bug#8396).
6889 (apropos-library-button, apropos-format-plist, apropos-print)
6890 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6891
2df41f9c
MA
68922012-04-23 Michael Albinus <michael.albinus@gmx.de>
6893
6894 * net/xesam.el (xesam-mode-map): Use let-bound map in
6895 initialization. (Bug#11292)
6896
da00640a
AM
68972012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6898
6899 Preserve ispell session localwords when switching back to
6900 original buffer.
6901
090bd7cb
JB
6902 * textmodes/ispell.el (ispell-buffer-session-localwords):
6903 New buffer-local variable to hold buffer session localwords.
ed9265fc 6904 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6905 localwords.
6906 (ispell-command-loop, ispell-change-dictionary)
6907 (ispell-buffer-local-words): Preserve session localwords when
6908 needed.
6909
090bd7cb
JB
6910 * textmodes/flyspell.el (flyspell-process-localwords)
6911 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6912
f621ccf5
AM
69132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6914
090bd7cb
JB
6915 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6916 using obsolete `translation-table-for-input'.
ef24141c
SM
6917 (ispell-word, ispell-process-line, ispell-complete-word):
6918 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6919
c2d1019e
CY
69202012-04-22 Chong Yidong <cyd@gnu.org>
6921
6922 * cus-edit.el (custom-variable-menu)
6923 (custom-variable-reset-saved, custom-face-menu)
6924 (custom-face-reset-saved): If there is no saved value, make the
6925 "reset-saved" operation bring back the default (Bug#9509).
6926 (custom-face-state): Properly detect themed faces.
6927
eeddc531
CY
6928 * faces.el (face-spec-set): Stop supporting deprecated form of
6929 third arg.
6930
dcbf5805
MA
69312012-04-22 Michael Albinus <michael.albinus@gmx.de>
6932
6933 Move functions from C to Lisp. Make non-blocking method calls
6934 the default. Implement further D-Bus standard interfaces.
6935
ef24141c
SM
6936 * net/dbus.el (dbus-message-internal): Declare function.
6937 Remove unneeded function declarations.
dcbf5805
MA
6938 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6939 (dbus-message-type-method-return, dbus-message-type-error)
6940 (dbus-message-type-signal): Declare variables. Remove local
6941 definitions.
6942 (dbus-interface-dbus, dbus-interface-peer)
6943 (dbus-interface-introspectable, dbus-interface-properties)
6944 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6945 Adapt docstring.
6946 (dbus-interface-objectmanager): New defconst.
6947 (dbus-call-method, dbus-call-method-asynchronously)
6948 (dbus-send-signal, dbus-method-return-internal)
6949 (dbus-method-error-internal, dbus-register-service)
6950 (dbus-register-signal, dbus-register-method): New defuns, moved
6951 from dbusbind.c
6952 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6953 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6954 New defuns.
dcbf5805
MA
6955 (dbus-call-method-non-blocking): Make it an obsolete function.
6956 (dbus-unregister-object, dbus-unregister-service)
6957 (dbus-handle-event, dbus-register-property)
6958 (dbus-property-handler): Obey the new structure of
6959 `bus-registered-objects'.
6960 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6961 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6962 Use `dbus-call-method'.
6963
cf20dee0
CY
69642012-04-22 Chong Yidong <cyd@gnu.org>
6965
6966 * cus-edit.el (custom-commands, custom-reset-menu)
6967 (Custom-reset-standard): Tweak labels.
6968 (custom-reset-button-menu): Change default to t.
6969 (custom-buffer-create-internal): For the custom-reset-button-menu
6970 case, put the revert button first.
6971 (custom-group-subtitle): New face.
6972 (custom-group-value-create): Align docstring to a specific column.
6973
6974 * wid-edit.el (widget-documentation-link-add): Don't handle
6975 indentation in this function.
6976 (widget-documentation-string-indent-to): New function.
6977 (widget-documentation-string-value-create): Use it.
6978
6979 * autorevert.el (auto-revert):
6980 * epg-config.el (epg):
6981 * ibuffer.el (ibuffer):
6982 * mpc.el (mpc):
6983 * ses.el (ses):
6984 * eshell/eshell.el (eshell):
6985 * net/ange-ftp.el (ange-ftp):
6986 * progmodes/ebnf2ps.el (postscript):
6987 * progmodes/flymake.el (flymake):
6988 * progmodes/prolog.el (prolog):
6989 * progmodes/verilog-mode.el (verilog-mode):
6990 * progmodes/which-func.el (which-func):
6991 * term/xterm.el (xterm):
6992 * textmodes/picture.el (picture):
6993 * textmodes/tildify.el (tildify):
6994 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6995 customization buffers.
6996
583e23bd
AM
69972012-04-22 Alan Mackenzie <acm@muc.de>
6998
6999 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7000 Adding a ) can hide the resulting (..) from searches. Fix it.
7001 Bound the backward search to the position of the existing (.
7002
7dd51bf1
JB
70032012-04-21 Juanma Barranquero <lekktu@gmail.com>
7004
7005 * progmodes/verilog-mode.el (verilog-mode): Check whether
7006 which-func-modes is t before adding verilog-mode.
7007 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7008
d64a438f
LL
70092012-04-21 Leo Liu <sdl.web@gmail.com>
7010
7dd51bf1 7011 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7012
081e8d65
MV
70132012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7014
7015 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7016 filling of the last column of a table (Bug#5635).
7017 (woman-find-next-control-line): New arg, specifying an additional
7018 regexp component for the control line.
7019 (woman2-roff-buffer): Use it.
7020 (woman-break-table): New function.
7021 (woman2-TS): Use it.
7022
70232012-04-21 Chong Yidong <cyd@gnu.org>
7024
7025 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7026 (woman-horizontal-escapes, woman-negative-vertical-space)
7027 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7028 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7029
ed571ccb
SM
70302012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * minibuffer.el (completion-file-name-table): Complete user names.
7033
39773899
LL
70342012-04-20 Leo Liu <sdl.web@gmail.com>
7035
7036 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7037 and pcase-let*.
7038
de6ff46d
CY
70392012-04-20 Chong Yidong <cyd@gnu.org>
7040
7041 * server.el (server-execute): Respect initial-buffer-choice if it
7042 is a string and there are no files to open (Bug#2825).
7043 (server-create-window-system-frame, server-create-tty-frame):
7044 Don't switch buffers here.
2d0e8e61
CY
7045 (server-process-filter): Only try to open a window system frame if
7046 compiled with graphical support (Bug#8314).
de6ff46d 7047
54071013
DN
70482012-04-20 Dan Nicolaescu <dann@gnu.org>
7049
7050 * battery.el (battery-echo-area-format): Display remaining time
7051 for sysfs backend too (Bug#11269).
7052 (battery-linux-sysfs): Fix conditional for the charge.
7053
f30d612a
CY
70542012-04-20 Chong Yidong <cyd@gnu.org>
7055
c07a4c0b 7056 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7057 (gdb-inferior-io--init-proc): New function.
7058 (gdb-init-1): Use it.
7059 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7060 responsible for allocating a new pty and hooking it to gdb when
7061 the old pty gets an EIO due to process exit.
7062 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7063 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7064 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7065
2116e93c
EZ
70662012-04-20 Eli Zaretskii <eliz@gnu.org>
7067
7068 * window.el (window-min-size, window-sizable, window-min-delta)
7069 (window-max-delta, window--resizable, window-resizable)
7070 (window-total-size, window-full-height-p, window-full-width-p)
7071 (window-in-direction, window--resize-mini-window, window-resize)
7072 (window--resize-child-windows-normal)
7073 (window--resize-child-windows, window--resize-siblings)
7074 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7075 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7076
c07a4c0b 70772012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7078
ef24141c
SM
7079 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7080 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7081 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7082 pty process (Bug#11273).
7083 (gdb-update): New arg to suppress talking to the gdb process.
7084 (gdb-done-or-error): Use it.
7085 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7086 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7087 sentinel not being called.
7088
7089 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7090
d02766ab
CY
7091 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7092
c07a4c0b 70932012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7094
7095 * net/network-stream.el (open-network-stream): Doc fix.
7096
c07a4c0b 70972012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7098
7099 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7100
c07a4c0b 71012012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7102
7103 Ensure searching for keywords is case sensitive.
7104
7105 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7106 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7107 (c-defun-name, c-mark-function, c-cpp-define-name)
7108 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7109 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7110
ef24141c
SM
7111 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7112 Bind case-fold-search to nil.
f0f6bc35 7113
c07a4c0b 71142012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7115
7116 * mail/sendmail.el (mail-bury): Call return action with the right
7117 Rmail buffer (Bug#11242).
7118
9a864fa2
CY
7119 * server.el (server-process-filter): Handle corner case where both
7120 tty and nowait options are present (Bug#11102).
7121
539aa513
EZ
71222012-04-20 Eli Zaretskii <eliz@gnu.org>
7123
7124 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7125 (top level): Put into the executable the ident-style '$Id:' tag on
7126 windows-nt as well.
539aa513 7127
cfc7d5da
SM
71282012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * electric.el (electric-indent-post-self-insert-function): Check that
7131 electric-indent-mode is enabled in current buffer.
7132
5b01685c
JB
71332012-04-19 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * imenu.el (imenu-progress-message): Restore; it is "used" in
7136 erc/erc-imenu.el and net/snmp-mode.el.
7137
4d6769e1
JB
71382012-04-19 Juanma Barranquero <lekktu@gmail.com>
7139
7140 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7141 (mouse-avoidance-nudge-mouse): Remove unused binding.
7142
7143 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7144
7145 * descr-text.el (describe-char):
7146 * progmodes/python.el (python-describe-symbol):
7147 Don't call `toggle-read-only', set `buffer-read-only'.
7148
7149 * imenu.el (imenu-default-goto-function): Mark unused args.
7150 (imenu-progress-message): Remove obsolete macro; all callers changed.
7151
7152 * subr.el (keymap-canonicalize): Remove unused binding.
7153 (read-passwd): Mark unused arg.
7154
7155 * tutorial.el (tutorial--display-changes): Remove unused binding.
7156 (tutorial--save-tutorial-to): Remove unused variable.
7157
7158 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7159 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7160 (package-generate-autoloads, package-menu--generate)
7161 (package-menu--find-upgrades): Remove unused bindings.
7162
7163 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7164 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7165 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7166 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7167 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7168 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7169 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7170 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7171 (cua-delete-char-rectangle): Mark unused args.
7172 (cua-align-rectangle): Remove unused binding.
7173
7174 * mail/rmail.el (compilation--message->loc)
7175 (epa--find-coding-system-for-mime-charset): Declare.
7176
7177 * net/dbus.el (dbus-register-service): Declare.
7178 (dbus-name-owner-changed-handler): Remove unused binding.
7179
7180 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7181 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7182 (nxml-scan-backward-within): Mark unused arg.
7183 (nxml-dynamic-markup-word): Remove unused binding.
7184
7185 * mouse.el (mouse-menu-major-mode-map):
7186 * emacs-lisp/authors.el (authors-scan-change-log)
7187 (authors-add-to-author-list):
7188 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7189 * emacs-lisp/smie.el (smie-auto-fill):
7190 * mail/sendmail.el (mail-bury):
7191 * mail/unrmail.el (unrmail):
7192 * net/tls.el (open-tls-stream):
7193 * textmodes/picture.el (picture-mouse-set-point):
7194 Remove unused bindings.
7195
8c8fc5df
MA
71962012-04-19 Michael Albinus <michael.albinus@gmx.de>
7197
7198 * net/tramp.el (tramp-action-password): Let-bind
7199 `enable-recursive-minibuffers' to t.
7200
a77b0ac9
SS
72012012-04-18 Sam Steingold <sds@gnu.org>
7202
7203 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7204 instead of 'string to accommodate values like [f11].
7205 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7206 * progmodes/gdb-mi.el: Likewise.
7207
12a106a9
LL
72082012-04-18 Leo Liu <sdl.web@gmail.com>
7209
7210 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7211 current buffer.
7212 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7213 LOCAL is nil.
7214
bc6494ef
CY
72152012-04-18 Chong Yidong <cyd@gnu.org>
7216
7217 * simple.el (line-move): Use forward-line if in batch mode
7218 (Bug#11053).
7219
c09c46b2
CS
72202012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7221
7222 * files.el (after-find-file): Do not try to add a final newline if
7223 the buffer is read-only (Bug#11156).
7224
5f6530ea
RS
72252012-04-17 Richard Stallman <rms@gnu.org>
7226
7227 * mail/rmail.el (rmail-start-mail):
7228 Pass (rmail-mail-return...) for the return-action.
7229 Pass (rmail-yank-current-message...) for the yank-action.
7230 (rmail-yank-current-message): New function.
7231 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7232 (rmail-reply): Likewise.
7233 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7234
7235 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7236 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7237 buffer, not newbuf.
7238
197b6f3c
JB
72392012-04-17 Juanma Barranquero <lekktu@gmail.com>
7240
7241 * server.el (server-ensure-safe-dir): Simplify.
7242
2311d8e5 72432012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7244
2311d8e5
GM
7245 * emacs-lisp/smie.el: Provide smarter auto-filling.
7246 (smie-auto-fill): New function.
7247 (smie-setup): Use it.
98fb480e 7248
2311d8e5
GM
7249 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7250
72512012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7252
7253 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7254 (comment-indent): Use it.
7255
2311d8e5 72562012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7257
7258 * ses.el: The overall change is to add cell renaming, that is
7259 setting fancy names for cell symbols other than name matching
7260 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7261 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7262 (ses-create-cell-variable): New defun.
2311d8e5 7263 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7264 (ses-relocate-formula): Relocate formulas only for cells the
7265 symbols of which are not renamed, i.e. symbols whose names do not
7266 match regexp "\\`[A-Z]+[0-9]+\\'".
7267 (ses-relocate-all): Relocate values only for cells the symbols of
7268 which are not renamed.
7269 (ses-load): Create cells variables as the (ses-cell ...) are read,
7270 in order to check row col consistency with cell symbol name only
7271 for cells that are not renamed.
7272 (ses-replace-name-in-formula): New defun.
7273 (ses-rename-cell): New defun.
4bdf2ad2 7274
fc72b15c
PO
72752012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7276
7277 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7278 New option (bug#11118).
7279 (perl-calculate-indent): Respect it.
7280
12e10e61
GM
72812012-04-17 Glenn Morris <rgm@gnu.org>
7282
7283 * dired-aux.el (dired-mark-read-string): Doc fix.
7284
30009afd
DA
72852012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7286
7287 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7288 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7289
41f03f4d
GM
72902012-04-17 Glenn Morris <rgm@gnu.org>
7291
7292 * mouse.el (mouse-drag-track):
7293 * speedbar.el (speedbar-frame-mode):
7294 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7295
f45f90f3
LL
72962012-04-16 Leo Liu <sdl.web@gmail.com>
7297
7298 * progmodes/python.el: Trivial cleanup.
7299
94ee8db5
GM
73002012-04-16 Glenn Morris <rgm@gnu.org>
7301
121b8917
GM
7302 * vc/vc.el (vc-string-prefix-p):
7303 * vc/pcvs-util.el (cvs-string-prefix-p):
7304 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7305 * mpc.el (mpc-string-prefix-p):
7306 Make all of these into obsolete aliases for string-prefix-p.
7307 Update callers.
7308 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7309
1197ecfa
GM
7310 * textmodes/two-column.el: Move custom options to the start.
7311 (frame-width): Remove compat definition.
7312 (2C-associate-buffer, 2C-dissociate):
7313 Use with-current-buffer rather than save-excursion.
7314 (2C-dissociate): Force a mode-line update.
7315 (2C-autoscroll): Use ignore-errors.
7316
099e7202
GM
7317 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7318 Autoload trivia.
7319
bf350d6a
GM
7320 * emacs-lisp/cl-extra.el (*random-state*):
7321 Remove unnecessary declaration.
7322
0e829eab
GM
7323 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7324
e3ad7552
GM
7325 * play/cookie1.el (cookie-snarf):
7326 Give an explicit error if input file cannot be read.
7327
68892d27
GM
7328 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7329
20f0c46d
GM
7330 * progmodes/perl-mode.el (c-macro-expand):
7331 Remove unnecessary autoload (it is in loaddefs.el).
7332
5a0978ce
GM
7333 * textmodes/picture.el (picture-desired-column)
7334 (picture-update-desired-column): Convert comments to doc-strings.
7335 (picture-substitute): Remove function.
7336 (picture-mode-map): Initialize in the defvar.
7337
6b955486
GM
7338 * woman.el: Remove eval-after-load for tar-mode.
7339 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7340 (woman-tar-extract-file): Autoload it.
7341
94ee8db5
GM
7342 * frame.el (automatic-hscrolling): Make this alias obsolete.
7343
177eca34
AM
73442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7345
090bd7cb 7346 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7347 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7348 (ispell-dictionary-base-alist): Revert to original XEmacs
7349 friendly version for default. [:alpha:] will be added in
090bd7cb 7350 `ispell-set-spellchecker-params' if needed.
177eca34 7351
c505aaeb
CY
73522012-04-16 Chong Yidong <cyd@gnu.org>
7353
b19dd9d1 7354 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7355 (imagemagick-register-types): Use it.
7356 (imagemagick-types-inhibit): Add :set function. Allow new value
7357 of t to inhibit all types.
7358
7359 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7360 so we can preload it.
7361
7362 * loadup.el (fboundp): Preload regexp-opt, needed by
7363 imagemagick-register-types.
7364
60efac0f
CY
73652012-04-15 Chong Yidong <cyd@gnu.org>
7366
7367 * frame.el (scrolling): Remove nearly unused customization group.
7368
7369 * scroll-all.el (scroll-all-mode): Move to windows group.
7370
5dd1713e
CY
73712012-04-15 Chong Yidong <cyd@gnu.org>
7372
7373 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7374
e6fd457e
CY
73752012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7378 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7379
e153c136
GM
73802012-04-15 Glenn Morris <rgm@gnu.org>
7381
7382 * simple.el (process-file-side-effects): Doc fix.
7383
e6fd457e 73842012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7385
7386 * international/mule-cmds.el (set-language-environment): Doc fix.
7387
3603c3b1
JB
73882012-04-14 Juanma Barranquero <lekktu@gmail.com>
7389
7390 * server.el (server-auth-key, server-generate-key): Doc fixes.
7391 (server-get-auth-key): Doc fix. Use `string-match-p'.
7392 (server-start): Reflow docstring.
7393
e6de100c
LI
73942012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7395
7396 * server.el (server-generate-key): `called-interactively-p'
7397 requires a parameter.
7398
29734c21
MN
73992012-04-14 Michal Nazarewicz <mina86@mina86.com>
7400
7401 * server.el (server-auth-key): New variable.
75f1671a 7402 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7403 (server-start): Use the new variable and functions to allow
7404 setting a permanent server key (bug#9423).
7405
d65c9521
LL
74062012-04-14 Leo Liu <sdl.web@gmail.com>
7407
7408 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7409
5ae255c7
PE
74102012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7411
7412 Spelling fixes.
7413 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7414 Emacs uses American spelling.
7415
d5e6342e
JB
74162012-04-14 Juanma Barranquero <lekktu@gmail.com>
7417
7418 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7419 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7420 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7421 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7422
ab036cd7
SM
74232012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * progmodes/which-func.el (which-func-modes): Change default.
7426
35dc09a1 74272012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7428
7429 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7430 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7431
35dc09a1 74322012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7433
7434 * custom.el (custom-theme-set-variables): Doc fix.
7435
35dc09a1 74362012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7437
7438 * international/mule.el (set-auto-coding-for-load): Doc fix.
7439
35dc09a1 74402012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7441
35dc09a1
GM
7442 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7443 imenu work again for Objective C Mode. Correct the *-index values,
7444 these having been disturbed by a previous change in 2011-08.
57f845ee 7445
0de3da9f
AM
7446 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7447 Correct two search limits.
7448
35dc09a1 74492012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7450
7451 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7452
35dc09a1 74532012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7454
7455 * international/characters.el: Fix sorting.
7456
35dc09a1 74572012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7458
7459 * international/characters.el: Add more missing Latin case pairs.
7460
35dc09a1 74612012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7462
7463 * files.el (dir-locals-set-class-variables): Doc fix.
7464
35dc09a1 74652012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7466
3f1b5bf8
EZ
7467 * international/characters.el: Add set-case-syntax-pair call for
7468 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7469 counterpart. (Bug#11209)
7470
9f847f41
EZ
7471 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7472
35dc09a1 74732012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7474
7475 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7476
35dc09a1 74772012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7478
35dc09a1
GM
7479 * textmodes/ispell.el (ispell-dictionary-base-alist):
7480 Add data for Hebrew.
e2627d21 7481
35dc09a1 74822012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7483
35dc09a1
GM
7484 * net/rcirc.el (rcirc-cmd-quit):
7485 Revert 2012-03-18 change (Bug#11192).
5c14e333 7486
35dc09a1 74872012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7488
7489 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7490
35dc09a1 74912012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7492
4517fe3a
SM
7493 * minibuffer.el (completion-in-region-mode-map):
7494 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7495
b472a594
VD
74962012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7497
7498 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7499
09b95ce3
MY
75002012-04-13 Masatake YAMATO <yamato@redhat.com>
7501
7502 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7503 to allow `C-M-f' and `C-M-b' to move to the nearest path
7504 separator (bug#9511).
7505
4b63a9ca
LI
75062012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7507
7508 * avoid.el: Require cl when compiling. And also move the
7509 `provide' to the end.
7510
7b55b8bf
TV
75112012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7512
7513 * avoid.el (mouse-avoidance-banish-position): New variable.
7514 (mouse-avoidance-banish-destination): Use it (bug#10165).
7515
adedaa1f
LL
75162012-04-13 Leo Liu <sdl.web@gmail.com>
7517
7518 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7519
70e74021
KB
75202012-04-13 Ken Brown <kbrown@cornell.edu>
7521
7522 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7523 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7524 (browse-url-filename-alist): For the same reason, don't modify
7525 file:// URLs on Cygwin.
7526
e75e89ba
SM
75272012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7530 the region on shift if the binding is already shifted (bug#11221).
7531
82f289a4
GM
75322012-04-12 Glenn Morris <rgm@gnu.org>
7533
7534 * mail/mailpost.el: Move to obsolete/.
7535
d333dc4c
DA
75362012-04-12 Drew Adams <drew.adams@oracle.com>
7537
7538 * imenu.el (imenu--generic-function): Ignore invisible definitions
7539 (bug#10123).
7540
0d15b5ba
VD
75412012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7542
7543 * hexl.el (hexl-bits): New variable.
7544 (hexl-options): Mention the variable in the doc string.
75f1671a 7545 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7546 (hexl-mode): Mention the new variable.
75f1671a
JB
7547 (hexl-mode, hexl-current-address, hexl-current-address):
7548 Use the displen.
0d15b5ba
VD
7549 (hexl-ascii-start-column): New function.
7550 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7551 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7552
64a440db
AM
75532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7554
7555 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7556 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7557 the encoding, as expected by hunspell.
7558
6decb6c2
SM
75592012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * battery.el (battery--linux-sysfs-regexp): New const.
7562 (battery-status-function): Use it. Remove yeeloong special case.
7563 (battery-yeeloong-sysfs): Remove.
7564 (battery-echo-area-format): Remove yeeloong special case.
7565
088be6fb
SM
75662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7567
6622e416
SM
7568 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7569 Reported by Noah Friedman.
7570
088be6fb
SM
7571 * subr.el (read-passwd): Use read-string.
7572
b49f886e
LMI
75732012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7574
7575 * vcursor.el (vcursor-move): Increase the priority of the overlay
7576 (bug#9663).
7577
a63067fc
DD
75782012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7579
7580 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7581 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7582
ac3cf14a
WS
75832012-04-11 William Stevenson <yhvh2000@gmail.com>
7584
7585 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7586 define-minor-mode (bug#10760).
7587
c4fc691b 75882012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7589
4d6769e1 7590 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7591 that directories matching `grep-find-ignored-files' won't be
7592 pruned (bug#10351).
7593
af23e2e5
CY
75942012-04-11 Chong Yidong <cyd@gnu.org>
7595
7596 * startup.el (command-line): Remove support for long-obsolete
7597 variable font-lock-face-attributes.
7598
ab7ce8c1
GM
75992012-04-11 Glenn Morris <rgm@gnu.org>
7600
7601 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7602
de8c03dc
SM
76032012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * window.el (window--state-get-1): Obey window-point-insertion-type.
7606
050cc68b
LB
76072012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7608
7609 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7610 to previous function when point is on the first character of a
75f1671a 7611 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7612
a38c310c
GM
76132012-04-11 Glenn Morris <rgm@gnu.org>
7614
effed0c2
GM
7615 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7616 not just file-errors.
7617
a38c310c
GM
7618 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7619 (vc-bzr-sha1): Use internal sha1.
7620
0221e323
SM
76212012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7624
43956923
SG
76252012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7626
7627 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7628 that start in the middle of the line (bug#10496).
7629
6a8c9eaf
DN
76302012-04-10 Dan Nicolaescu <dann@gnu.org>
7631
7632 * battery.el (battery-linux-proc-acpi): Only one battery is
7633 discharged at a time, but that seems to confuse battery.el when
7634 computing `rate-type' for the battery not being discharged
7635 (bug#10332).
7636
1930bf5d
SM
76372012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7638
2a718f6f
SM
7639 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7640
599430d0
SM
7641 * international/quail.el: Use dolist and simplify.
7642 (quail-define-package, quail-update-keyboard-layout)
7643 (quail-define-rules): Use dolist.
7644 (quail-insert-kbd-layout, quail-get-translation): CSE.
7645
a2754b6c
SM
7646 * tmm.el: Use dolist, remove left over hook.
7647 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7648 Use dolist.
7649 (calendar-load-hook): Don't mess with it.
7650
1930bf5d
SM
7651 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7652 Use derived-mode-p. Run the diff asynchronously.
7653
9f67961c
LMI
76542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7655
7656 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7657
2a8ce227
JB
76582012-04-10 Juanma Barranquero <lekktu@gmail.com>
7659
7660 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7661 (list-dynamic-libraries--loaded): New function.
7662 (list-dynamic-libraries--refresh): Use it.
7663
8f33b5f8
NW
76642012-04-10 Nathan Weizenbaum <nweiz@google.com>
7665
1930bf5d
SM
7666 * progmodes/python.el (python-fill-paragraph):
7667 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7668 disabled (bug#7018).
7669
b12f0439
L
76702012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7671
1930bf5d 7672 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7673 DOS/MS Windows for the Baltic languages. There are still plenty
7674 of texts written in this encoding/codepage (bug#6519).
b12f0439 7675
57c3bd01
GM
76762012-04-10 Glenn Morris <rgm@gnu.org>
7677
7678 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7679 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7680
6c3eab30
FA
76812012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7682
1930bf5d 7683 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7684 next-line "n" and previous-line "p" in order to make recentf more
7685 consistent with ibuffer, dired or org-mode (bug#9387).
7686
24d78a88
LMI
76872012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688
bc72b5d9
LMI
7689 * image.el (put-image): Return the overlay created instead of the
7690 optional input string (bug#7834). Note that this may break code
7691 that is (for some reason or other) depending on `put-image'
7692 returning the string.
7693
bd2dba5a
LMI
7694 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7695
74beb59f
LMI
7696 * simple.el (zap-to-char): Allow zapping using input methods
7697 (bug#1580).
7698
24d78a88
LMI
7699 * textmodes/fill.el (fill-region): Leave point and mark where they
7700 were before filling (bug#5399).
7701
263f20cd
GM
77022012-04-09 Glenn Morris <rgm@gnu.org>
7703
7704 * version.el (emacs-bzr-get-version):
7705 Handle lightweight checkouts of local branches.
7706
58d1f797
AS
77072012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7708
263f20cd 7709 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7710
b4d3bc10
CY
77112012-04-09 Chong Yidong <cyd@gnu.org>
7712
7713 * custom.el (custom-variable-p): Return nil for non-symbol
7714 arguments instead of signaling an error.
7715 (user-variable-p): Obsolete alias for custom-variable-p.
7716
7717 * apropos.el (apropos-variable):
7718 * files-x.el (read-file-local-variable):
7719 * simple.el (set-variable):
7720 * woman.el (woman-mini-help):
7721 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7722
fd06db5d
GM
77232012-04-09 Glenn Morris <rgm@gnu.org>
7724
e5fcdb5e
GM
7725 * startup.el (normal-top-level): Don't look for leim-list.el
7726 in places where it will not be found. (Bug#910)
7727
fd06db5d
GM
7728 * international/mule-cmds.el (set-default-coding-systems):
7729 * files.el (normal-mode):
7730 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7731 This function was removed with ucs-tables.el in 2008.
7732
b39bb7e1
EZ
77332012-04-08 Eli Zaretskii <eliz@gnu.org>
7734
7735 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7736 ispell-encoding8-command to "-i", without a trailing space.
7737 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7738 separate command-line arguments, to specify the encoding, since
7739 that's how hunspell expects it.
7740
5c5b8e23
GM
77412012-04-08 Glenn Morris <rgm@gnu.org>
7742
7743 * loadup.el: Load bindings before cus-start.
7744 This reduces somewhat the number of "rogue" settings in emacs -Q.
7745
a1ed8b05
GM
77462012-04-07 Glenn Morris <rgm@gnu.org>
7747
7748 * version.el (emacs-bzr-get-version): New function.
dfae128a 7749 (emacs-bzr-version): New variable.
a1ed8b05
GM
7750 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7751 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7752
b142f158
EZ
77532012-04-07 Eli Zaretskii <eliz@gnu.org>
7754
dfae128a
GM
7755 * international/uni-bidi.el, international/uni-category.el:
7756 * international/uni-combining.el, international/uni-decimal.el:
7757 * international/uni-decomposition.el, international/uni-digit.el:
7758 * international/uni-lowercase.el, international/uni-mirrored.el:
7759 * international/uni-name.el, international/uni-numeric.el:
7760 * international/uni-titlecase.el, international/uni-uppercase.el:
7761 Update for Unicode 6.1.
b142f158 7762
9078ead6
EZ
77632012-04-07 Eli Zaretskii <eliz@gnu.org>
7764
7765 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7766
f23d2c7d
LMI
77672012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7768
7769 * window.el (shrink-window): Mention the `window-min-height'
7770 variable in the doc string.
7771
0a0a3573
BG
77722012-04-05 Bastien Guerry <bzg@altern.org>
7773
7774 * color.el (color-lighten-name): Fix typo.
7775
e5248ac9
SM
77762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * server.el (server--on-display-p): New function.
7779 (server--on-display-p): Use it.
7780
b4243e22
GV
77812012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7782
7783 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7784 (bug#11145).
7785
305d9f44
SM
77862012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * comint.el (comint--common-quoted-suffix): Check string boundary
7789 before comparing (bug#11158).
7790 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7791
3d439cd1
CY
77922012-04-04 Chong Yidong <cyd@gnu.org>
7793
321cc491
CY
7794 * minibuffer.el (completion-extra-properties): Doc fix.
7795
3d439cd1
CY
7796 * subr.el (delayed-warnings-hook): Doc fix.
7797
2d562c0f
DU
77982012-04-04 Daiki Ueno <ueno@unixuser.org>
7799
7800 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7801 selection (Bug#11159).
7802 (epa-insert-keys): Inform that the default public key will be
7803 exported if no key is selected.
7804
4443f204
RS
78052012-04-04 Richard Stallman <rms@gnu.org>
7806
7807 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7808
529c06b6
CY
78092012-04-03 Chong Yidong <cyd@gnu.org>
7810
7811 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7812 mail-insert-file, not its obsolete alias mail-attach-file.
7813
66b907dc
MA
78142012-04-03 Michael Albinus <michael.albinus@gmx.de>
7815
7816 * notifications.el (notifications-notify): Fix docstring.
7817
c0ea195d
GM
78182012-04-02 Glenn Morris <rgm@gnu.org>
7819
7820 * emacs-lisp/authors.el (authors-aliases): Another addition.
7821
5ca64e00
MA
78222012-04-02 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7825 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7826 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7827
42ee526b
CY
78282012-04-01 Chong Yidong <cyd@gnu.org>
7829
7830 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7831 Handle root directory properly.
7832 (copy-directory): Caller changed.
7833
7834 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7835 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7836
0b021094
GM
78372012-03-31 Glenn Morris <rgm@gnu.org>
7838
40f86458
GM
7839 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7840
7019c177
GM
7841 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7842
a1daddd6
GM
7843 * calendar/calendar.el (calendar-window-list)
7844 (calendar-hide-window): Restore. (Bug#11140)
7845 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7846
0b021094
GM
7847 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7848
40311efc
TV
78492012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7850
7851 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7852 Check if file is a symlink (Bug#10489).
7853
7854 * files.el (copy-directory): Likewise.
7855
5319014e
CY
78562012-03-30 Chong Yidong <cyd@gnu.org>
7857
7858 * image.el (imagemagick-types-inhibit)
7859 (imagemagick-register-types): Doc fix.
7860
935d1290
AM
78612012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7862
090bd7cb 7863 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7864 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7865 and treats ~word as ordinary words in pipe mode.
935d1290 7866
61c6e8fd
GM
78672012-03-30 Glenn Morris <rgm@gnu.org>
7868
7869 * tutorial.el (help-with-tutorial): Ensure local variables don't
7870 happen to make the buffer read-only. (Bug#11127)
7871
81fdff00
SM
78722012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7875 (perl-calculate-indent): Return `noindent' in strings.
7876
6e7a6ec0
SS
78772012-03-28 Sam Steingold <sds@gnu.org>
7878
7879 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7880 instead of the broken adhockery which does not prevent calendar
7881 buffers from being displayed at random after exit.
7882 (calendar-window-list, calendar-hide-window): Remove the broken
7883 adhockery.
7884
fee88ca0
GM
78852012-03-28 Glenn Morris <rgm@gnu.org>
7886
7887 * replace.el (query-replace-map): Doc fix.
7888
38de3354
AS
78892012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7890
7891 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7892 contents. (Bug#11109)
7893
b973155e
SM
78942012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7897 (bug#11077).
7898 (avl-tree--check, avl-tree--check-node): New funs.
7899
dcb6e7b3
MR
79002012-03-27 Martin Rudalics <rudalics@gmx.at>
7901
7902 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7903 (switch-to-prev-buffer, switch-to-next-buffer):
7904 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7905 showing a buffer already is done on the same frame.
7906
b4fa35fa
GM
79072012-03-27 Glenn Morris <rgm@gnu.org>
7908
7909 * startup.el (mail-host-address): Doc fix.
7910
f9210e18
SM
79112012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7914 than 197 variables.
7915
c0bf7753
AF
79162012-03-26 Ami Fischman <ami@fischman.org>
7917
7918 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7919
33da7b16
GM
79202012-03-26 Glenn Morris <rgm@gnu.org>
7921
02243d9d
GM
7922 * files.el (save-buffers-kill-emacs): Doc fix.
7923
33da7b16
GM
7924 * startup.el (normal-top-level, command-line, command-line-1):
7925 Give them doc strings.
7926
e5a69fd0
EZ
79272012-03-25 Eli Zaretskii <eliz@gnu.org>
7928
7929 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7930 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7931
9a69676a
CY
79322012-03-25 Chong Yidong <cyd@gnu.org>
7933
4125cb8b
CY
7934 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7935 theme if it was previously enabled before (Bug#11031).
7936
dd470960
CY
7937 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7938 spec with custom-face-get-current-spec if its :shown-value is not
7939 determined yet (Bug#9337).
4125cb8b 7940 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7941
9a69676a
CY
7942 * button.el (button-at): Minor addition to docstring.
7943
6e7e90fa
SL
79442012-03-24 Simon Leinen <simon.leinen@gmail.com>
7945
7946 * vc/vc.el (vc-merge): Fix a prompt.
7947
f06e2758
CY
79482012-03-24 Chong Yidong <cyd@gnu.org>
7949
7950 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7951 point (Bug#9623).
7952
6e7e90fa
SL
7953 * button.el (button-at): Minor addition to docstring.
7954
b9d0879b
SM
79552012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * newcomment.el (comment-choose-indent): No space after BOL.
7958
e71cebb3
SS
79592012-03-22 Sam Steingold <sds@gnu.org>
7960
7961 * window.el (switch-to-prev-buffer): Revert last patch because the
7962 bug turned out to be an advertised feature (Elisp manual 28.14).
7963
335aff35
GM
79642012-03-22 Glenn Morris <rgm@gnu.org>
7965
7966 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7967 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7968
c676576a
LMI
79692012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7970
7971 * net/network-stream.el (network-stream-open-starttls): Make error
7972 message under Windows be less misleading.
7973
126f3d39
LW
79742012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7975
7976 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7977 understands (bug#9942).
7978
64fee311
CY
79792012-03-22 Chong Yidong <cyd@gnu.org>
7980
7981 * simple.el (end-of-visible-line): Handle return value of
7982 next-single-property-change properly (Bug#9371).
7983
a640d29a
KH
79842012-03-22 Kenichi Handa <handa@m17n.org>
7985
7986 * international/quail.el (quail-insert-kbd-layout): Fix previous
7987 change. To avoid unwanted bidi reordering, use
7988 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7989
39675016
DG
79902012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7991
7992 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7993 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7994 (ruby-beginning-of-indent): Be more careful with the difference
7995 between word-boundary and symbol boundary.
7996 (ruby-mode-syntax-table): Make : a symbol constituent.
7997
0a6934fc 79982012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7999
3d008e4f
SM
8000 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8001
0a6934fc
SM
80022012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8003
af67c9d7
SM
8004 * progmodes/etags.el (tags-completion-at-point-function):
8005 Improve last fix.
8006
1acad97c
SM
8007 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8008
e298b5da
SS
80092012-03-21 Sam Steingold <sds@gnu.org>
8010
8011 * progmodes/etags.el (tags-completion-at-point-function):
8012 Avoid the error when point is inside the pattern.
8013
91d82a70
JY
80142012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8015
8016 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8017 line (Bug#10855).
8018
69188b79
CY
80192012-03-21 Drew Adams <drew.adams@oracle.com>
8020
8021 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8022
99fc91fe
AK
80232012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8024
8025 * ido.el (ido-set-current-directory, ido-read-internal)
8026 (ido-choose-completion-string, ido-completion-help): Handle nil
8027 value of ido-completion-buffer (Bug#11008).
8028
087bbb4c
SS
80292012-03-21 Sam Steingold <sds@gnu.org>
8030
8031 * window.el (switch-to-prev-buffer): Do not switch to a visible
8032 window previous buffer, just like with the frame previous buffers.
8033
fb5b8aca
CY
80342012-03-21 Chong Yidong <cyd@gnu.org>
8035
8036 * faces.el (make-face, make-empty-face, copy-face):
8037 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8038 Doc fixes.
8039
dc9924b8
SM
80402012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8043 (widget-complete): Remove broken use of it.
8044
f0bcceb9
CY
80452012-03-20 Chong Yidong <cyd@gnu.org>
8046
dc9924b8
SM
8047 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8048 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8049 characters.
8050
ee52ebf3
TH
80512012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8052
8053 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8054 to draw rectangles, not squares. (Regression introduced by revno
8055 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8056
4c5779ab
CY
80572012-03-18 Chong Yidong <cyd@gnu.org>
8058
8059 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8060 it is not yet defined (for temacs).
8061
15360934
LL
80622012-03-18 Leo Liu <sdl.web@gmail.com>
8063
dc9924b8 8064 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8065
d9a8eb66
EZ
80662012-03-17 Eli Zaretskii <eliz@gnu.org>
8067
8068 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8069 (ispell-choices-win-default-height, ispell-silently-savep)
8070 (ispell-dictionary-alist, ispell-encoding8-command)
8071 (ispell-check-version, ispell-aspell-find-dictionary)
8072 (ispell-valid-dictionary-list, ispell-words-keyword)
8073 (ispell-get-word, ispell-internal-change-dictionary)
8074 (ispell-region, ispell-skip-region-list)
8075 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8076 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8077 (ispell-message-text-end, ispell-message)
8078 (ispell-buffer-local-parsing): Doc fix.
8079
f02ff80d
J
80802012-03-13 Jambunathan K <kjambunathan@gmail.com>
8081
8082 * htmlfontify.el: Add support for code block fontification for ODT
8083 export (Bug #9914).
8084 (hfy-optimisations): Define new option
8085 `body-text-only'
8086 (hfy-fontify-buffer): Honor above setting.
8087 (hfy-begin-span, hfy-end-span): New routines factored out form
8088 `hfy-fontify-buffer'.
8089 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8090 that permit insertion of custom tags.
8091 (hfy-fontify-buffer): Use above handlers.
8092 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8093 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8094 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8095 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8096 bind a special variable `hfy-user-sheet-assoc'.
8097 (htmlfontify-string): New defun.
8098 (hfy-compile-face-map): Make sure that the last char in the
8099 buffer is correctly fontified.
8100 (hfy-face-resolve-face): Whitespace only change.
8101
9ac7a13f
EZ
81022012-03-17 Eli Zaretskii <eliz@gnu.org>
8103
8104 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8105 message more clear.
8106
e2b5bdd7
LL
81072012-03-16 Leo Liu <sdl.web@gmail.com>
8108
8109 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8110
2e492df3
AM
81112012-03-16 Alan Mackenzie <acm@muc.de>
8112
8113 Further optimise the handling of large macros.
8114
8115 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8116 limit to a call of `c-literal-limits'.
8117 (c-determine-+ve-limit): New function.
dc9924b8
SM
8118 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8119 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8120 In CASE 5B, restrict a search limit to 500.
8121 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8122
8123 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8124 Restrict macro bounds to +-500 from after-change's BEG END.
8125
50e94f0c
LL
81262012-03-16 Leo Liu <sdl.web@gmail.com>
8127
8128 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8129
6f09f6ed
AH
81302012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8131
8132 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8133 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8134
c7e73d51
GM
81352012-03-16 Glenn Morris <rgm@gnu.org>
8136
da986230
GM
8137 * view.el (view-buffer, view-buffer-other-window)
8138 (view-buffer-other-frame): Doc fixes re special mode-class.
8139
0835f01e
GM
8140 * subr.el (eval-after-load): If named feature is provided not from
8141 a file, run after-load forms. (Bug#10946)
8142
c7e73d51
GM
8143 * calendar/calendar.el (calendar-insert-at-column):
8144 Handle non-unit-width characters a bit better. (Bug#10978)
8145
3f2eafd1
CY
81462012-03-15 Chong Yidong <cyd@gnu.org>
8147
8148 * emacs-lisp/ring.el (ring-extend): New function.
8149 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8150
8151 * comint.el (comint-read-input-ring)
8152 (comint-add-to-input-history): Grow comint-input-ring lazily.
8153
103af3fe
SM
81542012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8155
663b1677
SM
8156 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8157 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8158
103af3fe
SM
8159 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8160 (imenu-add-to-menubar): Don't add a redundant index.
8161 (imenu-update-menubar): Handle a dynamically composed keymap.
8162
899cb7cb
KY
81632012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8164
8165 * mail/sendmail.el (mail-encode-header):
8166 Bind rfc2047-encode-encoded-words to nil.
8167
3809f91d
GM
81682012-03-13 Glenn Morris <rgm@gnu.org>
8169
8170 * calendar/calendar.el (calendar-string-spread):
8171 Handle non-unit-width characters a bit better. (Bug#10978)
8172
9e345a01
LL
81732012-03-13 Leo Liu <sdl.web@gmail.com>
8174
8175 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8176 directory and file as argument (Bug#10822).
8177
4a07df36
KS
81782012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8179
8180 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8181 For dynamically generated code, follow $PC.
8182 (gdb-disassembly-handler-custom): Handle no function name case.
8183
4aaa9356
TL
81842012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8185
8186 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8187 * emulation/ws-mode.el (ws-query-replace):
8188 * sort.el (sort-regexp-fields):
8189 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8190
225979da
SM
81912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * dabbrev.el: Fix cycle completion order (bug#10963).
8194 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8195 (dabbrev-completion): Don't use an obarray; provide
8196 a cycle-sort-function.
8197
e2f1fdab
LL
81982012-03-12 Leo Liu <sdl.web@gmail.com>
8199
dc9924b8 8200 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8201 (kill-do-not-save-duplicates): Doc fix.
8202
b19490ed
SM
82032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * dabbrev.el: Fix cycle completion (bug#10963).
8206 Use lexical binding and wrap to 80 columns.
8207 (dabbrev-completion): Delay computing the list of completions.
8208
4b05d722
KH
82092012-03-12 Kenichi Handa <handa@m17n.org>
8210
8211 * international/quail.el (quail-insert-kbd-layout): Surround each
8212 row by LRO and PDF instead of inserting many LRMs. Pad the left
8213 and right of each non-spacing marks. Insert invisible space
8214 between lower and upper characters to prevent composition.
8215
dbbc2e69
SM
82162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * minibuffer.el (minibuffer-complete): Don't get confused when the
8219 function is run twice via different commands (bug#10958).
8220 (complete-with-action): Fix docstring.
8221
292112ed
CY
82222012-03-12 Chong Yidong <cyd@gnu.org>
8223
5d1ac394
CY
8224 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8225 (nxml-completion-at-point-function): New function.
8226 (nxml-mode): Use it.
8227 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8228
292112ed
CY
8229 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8230 Load generated autoloads file before byte compiling (Bug#10970).
8231 (package--make-autoloads-and-compile): New helper fun.
8232
4098f8f7
CS
82332012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8234
8235 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8236
8f754691
MA
82372012-03-11 Michael Albinus <michael.albinus@gmx.de>
8238
8239 * autorevert.el (auto-revert-handler): Ensure, that
8240 file-readable-p is applied only for local files or in
8241 auto-revert-tail-mode.
8242
e29ab36b
AS
82432012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8244
dbbc2e69
SM
8245 * server.el (server-eval-at): Handle non-tcp connections.
8246 Decode result string.
ad0bf5b6 8247
e29ab36b
AS
8248 * server.el (server-msg-size): New constant.
8249 (server-reply-print): New function.
8250 (server-eval-and-print): Use it.
8251 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8252 Handle -print-nonl.
8253
de5939ba
CS
82542012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8255
8256 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8257 (Bug#10987).
8258
0c93eabf
CY
82592012-03-11 Chong Yidong <cyd@gnu.org>
8260
397a688f
CY
8261 * simple.el (goto-line): Doc fix (Bug#9938).
8262
2cc775f9
CY
8263 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8264
0c93eabf
CY
8265 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8266 when finished (Bug#10963).
8267
c491fa41
MR
82682012-03-11 Martin Rudalics <rudalics@gmx.at>
8269
8270 * window.el (split-window-below): Fix bug in case where
8271 split-window-keep-point is nil (Bug#10971).
8272
300e8fa5
JL
82732012-03-11 Juri Linkov <juri@jurta.org>
8274
8275 * replace.el (replace-highlight): Set isearch-word to nil
8276 unconditionally. (Bug#10887)
8277
dbf6c5a1
EZ
82782012-03-10 Eli Zaretskii <eliz@gnu.org>
8279
8280 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8281 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8282 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8283 (mairix-widget-create-query): Add usage information about mairix
8284 search forms: negating words, searching for substrings, etc.
8285
b9e501de
JP
82862012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8287
8288 * international/fontset.el (font-encoding-alist): Add an entry for
8289 ksx1001 (Bug#5667).
8290
92795c91
RS
82912012-03-10 Richard Stallman <rms@gnu.org>
8292
1694e6c1
RS
8293 * mail/sendmail.el (mail-encode-header):
8294 Set rfc2047-encode-encoded-words.
8295
607e8555
RS
8296 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8297
de3bc99a
RS
8298 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8299 view buffer means not swapped.
8300 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8301 (rmail-write-region-annotate): Error if real text has disappeared.
8302
92795c91
RS
8303 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8304
699bd04e
CY
83052012-03-10 Chong Yidong <cyd@gnu.org>
8306
8307 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8308 * emulation/cua-base.el (cua--init-keymaps):
8309 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8310
570a1714
MR
83112012-03-10 Martin Rudalics <rudalics@gmx.at>
8312
dbbc2e69
SM
8313 * speedbar.el (speedbar-unhighlight-one-tag-line):
8314 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8315
82dcf4e4
CY
83162012-03-10 Chong Yidong <cyd@gnu.org>
8317
7a2c7ca7
CY
8318 * minibuffer.el (completion-in-region, completion-help-at-point):
8319 Give the completion field overlay a high priority (Bug#6830).
8320
82dcf4e4
CY
8321 * dired.el (dired-goto-file): Recognize absolute file name
8322 listings (Bug#7126).
8323 (dired-goto-file-1): New helper function.
8324 (dired-toggle-read-only): Inhibit warnings.
8325
052e28ac
MA
83262012-03-09 Michael Albinus <michael.albinus@gmx.de>
8327
75f1671a 8328 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8329 there are no properties.
8330
95d5e396
LL
83312012-03-09 Leo Liu <sdl.web@gmail.com>
8332
8333 * savehist.el (savehist-printable): Stricter check for string
8334 value (Bug#10937).
8335
3f018d6d
EZ
83362012-03-09 Eli Zaretskii <eliz@gnu.org>
8337
dbbc2e69
SM
8338 * mail/smtpmail.el (smtpmail-send-it):
8339 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8340 valid mbox format.
8341
f7fd3d79
GM
83422012-03-09 Glenn Morris <rgm@gnu.org>
8343
8344 * files.el (dir-locals-find-file):
8345 Don't check result is regular, readable.
8346 (dir-locals-read-from-file): Demote errors.
8347
6ff6e72f
EZ
83482012-03-08 Eli Zaretskii <eliz@gnu.org>
8349
dbbc2e69
SM
8350 * international/quail.el (quail-insert-kbd-layout):
8351 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8352 layout cell, to prevent their reordering by bidi display engine.
8353 For details, see the discussion in
8354 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8355
9cec7834
AM
83562012-03-08 Alan Mackenzie <acm@muc.de>
8357
8358 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8359 the starting position; make it extend the marked region when
8360 invoked repeatedly - all under appropriate circumstances.
8361 Fixes bugs #5525, #10906.
8362
9a40b8d4
GM
83632012-03-08 Glenn Morris <rgm@gnu.org>
8364
8365 * files.el (locate-dominating-file, dir-locals-find-file):
8366 Undo 2012-03-06 change.
8367
7a08ed35
EZ
83682012-03-07 Eli Zaretskii <eliz@gnu.org>
8369
dbbc2e69
SM
8370 * international/quail.el (quail-help):
8371 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8372 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8373 for the reason.
8374
5aca4f71 83752012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8376
8377 Avoid superfluous registering of signals. (Bug#10807)
8378
8379 * notifications.el (notifications-on-action-object)
8380 (notifications-on-close-object): New defvars.
8381 (notifications-on-action-signal, notifications-on-closed-signal):
8382 Unregister the signal if not needed any longer.
8383 (notifications-notify): Register `notifications-action-signal' or
8384 `notifications-closed-signal', if :on-action or :on-close has been
8385 passed as argument.
8386
78e8b10a
CY
83872012-03-07 Chong Yidong <cyd@gnu.org>
8388
8389 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8390 non-X platforms.
8391
69481eb8
GM
83922012-03-06 Glenn Morris <rgm@gnu.org>
8393
8394 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8395 (x-disown-selection-internal, x-get-selection-internal):
8396 Doc fix (add arglist signatures). (Bug#10783)
8397
133b8e11
KS
83982012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8399
8400 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8401 Handle breakpoints with no "type".
8402
99a83064
GM
84032012-03-06 Glenn Morris <rgm@gnu.org>
8404
8405 * files.el (locate-dominating-file): Add optional predicate argument.
8406 (dir-locals-find-file): Make use of above change.
8407
17798e78
TTN
84082012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8409
8410 * info.el (Info-insert-dir): Also try "dir.gz".
8411
eb182446
GM
84122012-03-06 Glenn Morris <rgm@gnu.org>
8413
8f2114ee
GM
8414 * files.el (dir-locals-find-file):
8415 Ignore non-readable or non-regular files. (Bug#10928)
8416
eb182446
GM
8417 * files.el (locate-dominating-file): Doc fix.
8418
24679323
AS
84192012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8420
8421 * calendar/calendar.el (calendar-set-mode-line):
8422 `getenv' returns a string. (Bug#10951)
8423
01d972a9
LL
84242012-03-05 Leo Liu <sdl.web@gmail.com>
8425
109aa8a9
LL
8426 * simple.el (backward-delete-char-untabify): Constrain point to
8427 field (Bug#10939).
8428
01d972a9
LL
8429 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8430
10607bea
CY
84312012-03-05 Chong Yidong <cyd@gnu.org>
8432
8433 * simple.el (count-words): If called from Lisp, return the word
8434 count, for symmetry with `count-lines'. Arglist changed.
8435 (count-words--message): Args changed. Consolidate counting code
8436 from count-words and count-words-region.
8437 (count-words-region): Caller changed.
8438 (count-lines-region): Make it an obsolete alias.
8439
5dd11cfe
TH
84402012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8441
8442 * saveplace.el (save-place-to-alist)
8443 (save-place-ignore-files-regexp): Allow value nil to disable this
8444 feature.
8445
c349f4e6
CY
84462012-03-04 Chong Yidong <cyd@gnu.org>
8447
8448 * faces.el (face-spec-reset-face): For the default face, reset the
8449 attributes to default values (Bug#10748).
8450
e627be4c
LMI
84512012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452
8453 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8454 previous patch: Check `message-send-mail-function', and not the
8455 default function (bug#10897).
8456
ebeabff4
MA
84572012-03-04 Michael Albinus <michael.albinus@gmx.de>
8458
a41a6cf4
MA
8459 * notifications.el (notifications-on-action-signal)
8460 (notifications-on-closed-signal): Check for unique service name of
8461 incoming event. Fix error in removing entry.
ebeabff4 8462 (top): Register for signals with wildcard service name.
a41a6cf4 8463 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8464
c1ca42b4
CY
84652012-03-04 Chong Yidong <cyd@gnu.org>
8466
dc9924b8 8467 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8468
ea16568d
GM
84692012-03-04 Glenn Morris <rgm@gnu.org>
8470
8471 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8472 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8473 (expand-abbrev, define-abbrev-table): Doc fixes.
8474
fbae4637
LMI
84752012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
8477 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8478 `message-default-send-mail-function' and not `send-mail-function'
8479 when doing the prompting for `sendmail-query-once' before sending
8480 in Message buffers (bug#10897).
8481
a1e7225c
LMI
8482 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8483 This is inconsistent with all the other stream functions, which leave
8484 the setting up to the higher levels (if so wanted) (bug#10931).
8485
56d093a9
AM
84862012-03-02 Alan Mackenzie <acm@muc.de>
8487
8488 Depessimize the handling of very large macros.
8489
8490 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8491 (c-macro-cache-syntactic): New variables to implement a one
8492 element macro cache.
8493 (c-invalidate-macro-cache): New function.
8494 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8495 Adapt to use the new cache.
8496 (c-state-safe-place): Use better the cache of safe positions.
8497 (c-state-semi-nonlit-pos-cache)
8498 (c-state-semi-nonlit-pos-cache-limit):
8499 New variables for...
8500 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8501 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8502 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8503 Use c-state-semi-safe-place.
56d093a9 8504
dbbc2e69
SM
8505 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8506 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8507
817e5c3d
MA
85082012-03-02 Michael Albinus <michael.albinus@gmx.de>
8509
dbbc2e69
SM
8510 * jka-compr.el (jka-compr-call-process):
8511 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8512 not remote.
8513
a032a702
MA
85142012-03-01 Michael Albinus <michael.albinus@gmx.de>
8515
8516 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8517 access of FILE2, if FILE1 does not exist.
8518
99a54f21
MA
8519 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8520 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8521
8522 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8523 Add "PAGER=" to `process-environment'.
8524
f6561e1f
MM
85252012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8526
8527 * progmodes/sql.el: Bug fix
8528 (sql-get-login-ext): Save login values in globals.
8529 (sql-get-login): Use new version of `sql-get-login-ext'.
8530 (sql-interactive-mode): Set global `sql-connection' to nil.
8531 (sql-connect): Set global values for connection.
8532 (sql-product-interactive): Save global values as buffer local.
8533
2d44d9cc
LL
85342012-02-29 Leo Liu <sdl.web@gmail.com>
8535
8536 * abbrev.el (define-abbrevs): Reset sys to nil.
8537
96b49301 85382012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8539
bf7f9bc5
JB
8540 * files.el (file-equal-p): Rename from `files-equal-p'.
8541 Return nil when one or both files don't exist.
96b49301 8542 (file-subdir-of-p): Now only top directory must exists,
8543 return nil if it doesn't.
bf7f9bc5
JB
8544 (copy-directory): No need to test with `file-subdir-of-p' after
8545 creating dir.
8546 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8547 to `file-equal-p'.
96b49301 8548
44e97401
GM
85492012-02-28 Glenn Morris <rgm@gnu.org>
8550
8551 * shell.el (shell-mode):
8552 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8553 * play/landmark.el (landmark-font-lock-face-O):
8554 * play/handwrite.el (handwrite):
8555 * play/gomoku.el (gomoku-O):
8556 * net/browse-url.el (browse-url-browser-display):
8557 * international/mule.el (define-charset):
8558 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8559 * filesets.el (filesets-find-file-delay):
8560 * eshell/em-xtra.el (eshell-xtra):
8561 * eshell/em-unix.el (eshell-grep):
8562 * emulation/viper.el (viper-mode):
8563 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8564 * emacs-lisp/easymenu.el (easy-menu-define):
8565 * calendar/timeclock.el (timeclock-use-display-time):
8566 * bs.el (bs-mode):
8567 * bookmark.el (bookmark-save-flag):
8568 Doc fix (standardize possessive apostrophe usage).
8569
c98c6276
CY
85702012-02-27 Chong Yidong <cyd@gnu.org>
8571
bf7f9bc5
JB
8572 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8573 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8574
c98c6276
CY
8575 * font-lock.el (font-lock-specified-p): Rename from
8576 font-lock-spec-present. Callers changed.
8577
9c62cd04 85782012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8579
bf7f9bc5
JB
8580 * emacs-lisp/package.el (package-compute-transaction):
8581 Handle holding a package version to t in package-load-list.
8ac9e529 8582
530739c9
MA
85832012-02-26 Michael Albinus <michael.albinus@gmx.de>
8584
8585 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8586 (tramp-get-inode, tramp-get-device): Use cached values.
8587
487915d7
AM
85882012-02-26 Alan Mackenzie <acm@muc.de>
8589
8590 Check there is a font-lock specification before doing initial
8591 fontification.
8592
8593 * font-core.el (font-lock-mode): Move the conditional from
8594 :after-hook to font-lock-initial-fontify.
8595 (font-lock-default-function): Move the check for a specification
8596 to font-lock-spec-present.
8597
dc9924b8 8598 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8599 (font-lock-spec-present): New function.
8600
4fd96557
JB
86012012-02-26 Jim Blandy <jimb@red-bean.com>
8602
8603 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8604 (gdb-send): Apply it to the operand of the '-interpreter-exec
8605 console' command, so that we can pass arguments with (say) quotes
8606 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8607
9a4888c0
CY
86082012-02-26 Chong Yidong <cyd@gnu.org>
8609
07498861
CY
8610 * help-fns.el (describe-function-1): Clarify description of
8611 remapping (Bug#10844).
8612
9a4888c0
CY
8613 * files.el (files-equal-p): Doc fix.
8614 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8615 and quit the loop once a mismatch is found.
8616
ea8fb88d
JB
86172012-02-25 Juanma Barranquero <lekktu@gmail.com>
8618
8619 * bs.el (bs--show-with-configuration): Don't throw an error
8620 if the window cannot be split; otherwise, subsequent calls to
8621 bs-show fail, restoring a stale window config. (Bug#10882)
8622
525795c1
JD
86232012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8624
8625 * term/ns-win.el (global-map): Bind ns-drag-file to
8626 ns-find-file (Bug#5855, Bug#10050).
8627
f008086f
AS
86282012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8629
8630 * calendar/parse-time.el (parse-time-string): Allow extractor to
8631 return nil.
8632
a3fcfa99
MA
86332012-02-25 Michael Albinus <michael.albinus@gmx.de>
8634
91027d08
JB
8635 * net/tramp.el (tramp-file-name-for-operation):
8636 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8637
8638 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8639 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8640 Add COPY-CONTENTS argument.
a3fcfa99 8641
67b0de11
CY
86422012-02-25 Chong Yidong <cyd@gnu.org>
8643
8644 Add custom groups for VC backends, for consistency with vc-bzr.
8645
8646 * vc/vc-arch.el (vc-arch):
8647 * vc/vc-cvs.el (vc-cvs):
8648 * vc/vc-git.el (vc-git):
8649 * vc/vc-hg.el (vc-hg):
8650 * vc/vc-mtn.el (vc-mtn):
8651 * vc/vc-rcs.el (vc-rcs):
8652 * vc/vc-sccs.el (vc-sccs):
8653 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8654 All relevant defcustoms reassigned.
8655
3c9dfce6
CY
86562012-02-25 Chong Yidong <cyd@gnu.org>
8657
1339bf43
CY
8658 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8659
3c9dfce6
CY
8660 * term/x-win.el (x-initialize-window-system): Reduce default for
8661 x-selection-timeout to 5 seconds (Bug#8869).
8662
25b2e303 86632012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8664
ec70a47d
GM
8665 * files.el (files-equal-p, file-subdir-of-p): New functions.
8666 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8667 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8668 * dired-aux.el (dired-copy-file-recursive): Same.
8669 (dired-create-files): Modify destination when source is equal to
8670 dest when copying files.
53a46cd0 8671 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8672
914260cd
MA
86732012-02-24 Michael Albinus <michael.albinus@gmx.de>
8674
8675 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8676 (Bug#10874)
8677
2cb228f7
AM
86782012-02-23 Alan Mackenzie <acm@muc.de>
8679
8680 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8681 parameter "after-hook:" to allow the expansion to run code after
8682 the execution of the mode hooks.
8683
8684 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8685 from font-lock-mode-internal.
2cb228f7 8686
91027d08 8687 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8688 :after-hook.
8689
8f0fde21
SM
86902012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8691
3e88618b
SM
8692 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8693 (completion--cache-all-sorted-completions): New function.
8694 (completion-all-sorted-completions): Use it.
8695 (completion--do-completion, minibuffer-force-complete):
8696 Use it to re-instate the flush hook.
8697
8f0fde21
SM
8698 * icomplete.el (icomplete-completions): Replace last fix with a better
8699 one (bug#10850).
8700
8e911f6f
DG
87012012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8702
8703 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8704 when it might call us back infinitely (bug#10797).
8705
49fe4321
GM
87062012-02-23 Glenn Morris <rgm@gnu.org>
8707
8708 * minibuffer.el (completion-category-overrides): Doc fix.
8709
b291b572
SM
87102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8713 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8714
31a9ef2e
GM
87152012-02-23 Glenn Morris <rgm@gnu.org>
8716
5e6e6794 8717 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8718 (authors-obsolete-files-regexps, authors-ignored-files)
8719 (authors-ambiguous-files, authors-renamed-files-alist):
8720 Add more entries.
8721
0bd1e074
JL
87222012-02-23 Juri Linkov <juri@jurta.org>
8723
8724 * isearch.el (isearch-occur): Sync interactive spec with occur's
8725 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8726
b617673c
JL
8727 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8728
19e9789e
JL
87292012-02-22 Juri Linkov <juri@jurta.org>
8730
8731 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8732 (ucs-insert): Doc fix. Check for hex digits in the string.
8733 Don't display `nil' in the error message. (Bug#10857)
8734
f41ce09d
AM
87352012-02-22 Alan Mackenzie <acm@muc.de>
8736
7a71b18d 8737 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8738
ac2eceee
GM
87392012-02-22 Glenn Morris <rgm@gnu.org>
8740
8741 * ffap.el (ffap-c-path):
8742 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8743
abd1f678
CY
87442012-02-22 Chong Yidong <cyd@gnu.org>
8745
8746 * custom.el (load-theme): Doc fix.
8747
f25aef2e
GM
87482012-02-22 Glenn Morris <rgm@gnu.org>
8749
8750 * dired-x.el (dired-guess-shell-alist-default):
8751 Remove escape sequences from nroff output. (Bug#172)
8752
5f8dc2ca
GM
87532012-02-21 Glenn Morris <rgm@gnu.org>
8754
6ff86ec4
GM
8755 * vc/emerge.el (emerge-defvar-local):
8756 Set `permanent-local' property rather than unused `preserved'.
8757
be3223a3 8758 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8759 (picture-mode-map): Use it. (Bug#10860)
8760 (picture-mode): Doc fix.
8761
3fe58f4f
JB
87622012-02-21 Juanma Barranquero <lekktu@gmail.com>
8763
8764 * newcomment.el (uncomment-region-default): Remove unused binding.
8765
f9a998c3
GM
87662012-02-21 Glenn Morris <rgm@gnu.org>
8767
8768 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8769 (picture-self-insert, picture-tab-chars): Doc fix.
8770 (picture-mode-map): Fix C-a, C-e.
8771
c6029348
GM
87722012-02-20 Glenn Morris <rgm@gnu.org>
8773
8774 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8775
ab1ce9d7
LL
87762012-02-20 Leo Liu <sdl.web@gmail.com>
8777
8778 * icomplete.el (icomplete-completions): Check FROM arg before
8779 passing to substring (Bug#10850).
8780
0fd40f89
CY
87812012-02-19 Chong Yidong <cyd@gnu.org>
8782
8783 * comint.el: Require ansi-color.
8784 (comint-output-filter-functions): Add ansi-color-process-output.
8785
8786 * ansi-color.el: Don't set comint-output-filter-functions; it is
8787 now in the initial value defined in comint.el.
8788 (ansi-color-apply-face-function): New variable.
8789 (ansi-color-apply-on-region): Use it.
8790 (ansi-color-apply-overlay-face): New function.
8791
8792 * shell.el (shell): No need to require ansi-color.
8793 (shell-mode): Use ansi-color-apply-face-function to highlight
8794 color escapes using font-lock-face property (Bug#10835).
8795
20af2394
CY
87962012-02-19 Chong Yidong <cyd@gnu.org>
8797
8798 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8799 mode-line formats (Bug#10839).
8800
e23a3fbe
GM
88012012-02-18 Glenn Morris <rgm@gnu.org>
8802
b474519e
GM
8803 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8804
8805 * mail/undigest.el (unforward-rmail-message): Doc fix.
8806
e23a3fbe
GM
8807 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8808
57939ff4
EZ
88092012-02-18 Eli Zaretskii <eliz@gnu.org>
8810
8811 * international/characters.el (script-list): Sync with the latest
8812 Unicode Character Database.
8813
0c23686e
AS
88142012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8815
8816 * international/titdic-cnv.el: Remove duplicate coding tag.
8817 * language/cham.el: Likewise.
8818 * language/tai-viet.el: Likewise.
8819
6818b449
GM
88202012-02-18 Glenn Morris <rgm@gnu.org>
8821
8822 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8823 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8824 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8825 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8826 * calendar/holidays.el (holiday-bahai-holidays)
8827 (calendar-holidays, list-holidays):
8828 Use utf-8 Bahá'í in doc-strings, menus, etc.
8829
0311a3fc
TH
88302012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8831
8832 * saveplace.el (save-place-ignore-files-regexp): New variable
8833 allowing for excluding files from saving their location of point.
8834 The default value matches the temporary commit message editing
8835 files from Git, SVN, Bazaar, and Mercurial.
8836 (save-place-to-alist): Use it.
8837
d209e2fb 88382012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8839 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8840
8841 * newcomment.el (uncomment-region-default): Don't leave extra space
8842 when an arg is provided (bug#8150).
8843
ee0ce425
TZ
88442012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8845
eb864a71 8846 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8847
95ddf442
GM
88482012-02-17 Glenn Morris <rgm@gnu.org>
8849
8850 * net/socks.el: Require network-stream. (Bug#10599)
8851
48dd1e39 88522012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8853
8854 * international/charprop.el:
8855 * international/uni-name.el:
8856 * international/uni-old-name.el:
8857 * international/uni-comment.el: Regenerate.
8858
d68cd087
GM
88592012-02-16 Glenn Morris <rgm@gnu.org>
8860
8861 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8862 Interactively in calendar buffer, give an error if not on a date.
8863
13932042
GM
88642012-02-15 Glenn Morris <rgm@gnu.org>
8865
8866 * shell.el (shell-delimiter-argument-list):
8867 Revert 2011-02-17 change. (Bug#8027)
8868
c3a70e2b
CY
88692012-02-15 Chong Yidong <cyd@gnu.org>
8870
60236b0d
CY
8871 * minibuffer.el (completion-at-point-functions): Doc fix.
8872
c3a70e2b
CY
8873 * custom.el (defcustom): Doc fix; note use of defvar.
8874
9f26dc24
GM
88752012-02-15 Glenn Morris <rgm@gnu.org>
8876
8877 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8878 Doc fixes.
8879
6546b134
GM
88802012-02-14 Glenn Morris <rgm@gnu.org>
8881
8882 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8883
d29b2b4c
LI
88842012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8885
8886 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8887 way the ports list is computed.
835bdcba
LI
8888 (smtpmail-query-smtp-server): Prompt the user for a port number if
8889 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8890
08dcdbc9
TZ
88912012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8892
8893 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8894
2605051a
GM
88952012-02-13 Glenn Morris <rgm@gnu.org>
8896
8897 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8898
7ee99f32
TZ
88992012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8900
8901 * net/gnutls.el (gnutls-trustfiles): New variable.
8902 (gnutls-negotiate): Use it.
8903
5f0af64f
LI
89042012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8905
8906 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8907 does its stuff if Gnus is running.
8908
c14fcc95
AM
89092012-02-13 Alan Mackenzie <acm@muc.de>
8910
8911 Fix a loop in c-set-fl-decl-start.
8912
7a71b18d 8913 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8914 c-backward-syntactic-ws actually moves backwards.
8915
142b4d90
LL
89162012-02-13 Leo Liu <sdl.web@gmail.com>
8917
8918 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8919 beginning so that all \C-o chars are removed.
8920
fa9958a6
TZ
89212012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8922
dc9924b8 8923 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8924
0bc5886a
AM
89252012-02-12 Alan Mackenzie <acm@muc.de>
8926
8927 Fix infinite loop with long macros.
4d6769e1 8928 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8929
d4bd55e7
CY
89302012-02-12 Chong Yidong <cyd@gnu.org>
8931
8932 * window.el (display-buffer): Doc fix (Bug#10785).
8933
66f3fe22
GM
89342012-02-12 Glenn Morris <rgm@gnu.org>
8935
bd7da63e
GM
8936 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8937 (x-disown-selection-internal, x-get-selection-internal):
8938 Sync docs with the xselect.c versions.
8939
66f3fe22
GM
8940 * allout-widgets.el: Add missing license notice.
8941
3e0d2fa7
GM
89422012-02-11 Glenn Morris <rgm@gnu.org>
8943
cfecdf09
GM
8944 * select.el (x-get-selection-internal, x-own-selection-internal)
8945 (x-disown-selection-internal):
8946 * x-dnd.el (x-get-selection-internal): Update declarations.
8947
6d216d7f
GM
8948 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8949
2bed3f04
GM
8950 * window.el (window-sides-slots):
8951 * tool-bar.el (tool-bar-position):
8952 * term/xterm.el (xterm-extra-capabilities):
8953 * ses.el (ses-self-reference-early-detection):
8954 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8955 (verilog-auto-wire-type)
8956 (verilog-auto-delete-trailing-whitespace)
8957 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8958 (verilog-auto-tieoff-declaration):
8959 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8960 (sql-oracle-statement-starters, sql-oracle-scan-on):
8961 * progmodes/prolog.el (prolog-align-comments-flag)
8962 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8963 (prolog-left-indent-regexp, prolog-paren-indent-p)
8964 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8965 (prolog-types, prolog-mode-specificators)
8966 (prolog-determinism-specificators, prolog-directives)
8967 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8968 (prolog-electric-dot-flag)
8969 (prolog-electric-dot-full-predicate-template)
8970 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8971 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8972 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8973 (prolog-program-switches, prolog-prompt-regexp)
8974 (prolog-debug-on-string, prolog-debug-off-string)
8975 (prolog-trace-on-string, prolog-trace-off-string)
8976 (prolog-zip-on-string, prolog-zip-off-string)
8977 (prolog-use-standard-consult-compile-method-flag)
8978 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8979 (prolog-imenu-max-lines, prolog-info-predicate-index)
8980 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8981 (prolog-char-quote-workaround):
8982 * progmodes/cc-vars.el (c-defun-tactic):
8983 * net/tramp.el (tramp-encoding-command-interactive)
8984 (tramp-local-end-of-line):
8985 * net/soap-client.el (soap-client):
8986 * net/netrc.el (netrc-file):
8987 * net/gnutls.el (gnutls):
8988 * minibuffer.el (completion-category-overrides)
8989 (completion-cycle-threshold)
8990 (completion-pcm-complete-word-inserts-delimiters):
8991 * man.el (Man-name-local-regexp):
8992 * mail/feedmail.el (feedmail-display-full-frame):
8993 * international/characters.el (glyphless-char-display-control):
8994 * eshell/em-ls.el (eshell-ls-date-format):
8995 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8996 (lisp-lambda-list-keyword-parameter-indentation)
8997 (lisp-lambda-list-keyword-parameter-alignment):
8998 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8999 * dired-x.el (dired-omit-verbose):
9000 * cus-theme.el (custom-theme-allow-multiple-selections):
9001 * calc/calc.el (calc-highlight-selections-with-faces)
9002 (calc-lu-field-reference, calc-lu-power-reference)
9003 (calc-note-threshold):
9004 * battery.el (battery-mode-line-limit):
9005 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9006 (archive-7z-update):
9007 * allout.el (allout-prefixed-keybindings)
9008 (allout-unprefixed-keybindings)
9009 (allout-inhibit-auto-fill-on-headline)
9010 (allout-flattened-numbering-abbreviation):
9011 * allout-widgets.el (allout-widgets-auto-activation)
9012 (allout-widgets-icons-dark-subdir)
9013 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9014 (allout-widgets-theme-dark-background)
9015 (allout-widgets-theme-light-background)
9016 (allout-widgets-item-image-properties-emacs)
9017 (allout-widgets-item-image-properties-xemacs)
9018 (allout-widgets-run-unit-tests-on-load)
9019 (allout-widgets-time-decoration-activity)
9020 (allout-widgets-hook-error-post-time)
9021 (allout-widgets-track-decoration):
9022 Add missing :version tags to new defcustoms and defgroups.
9023
5fec1b8e
GM
9024 * progmodes/sql.el (sql-ansi-statement-starters)
9025 (sql-oracle-statement-starters): Add custom type.
9026
3e0d2fa7
GM
9027 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9028 (prolog-system-version): Give it a type.
9029
90b671e2
EZ
90302012-02-11 Eli Zaretskii <eliz@gnu.org>
9031
9032 * term/pc-win.el (x-select-text, x-selection-owner-p)
9033 (x-own-selection-internal, x-disown-selection-internal)
9034 (x-get-selection-internal): Sync doc strings and argument lists
9035 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9036
5eac0c02
LL
90372012-02-11 Leo Liu <sdl.web@gmail.com>
9038
9039 * progmodes/python.el (python-end-of-statement): Fix infinite
9040 loop. (Bug#10788)
9041
f82cb659
GM
90422012-02-10 Glenn Morris <rgm@gnu.org>
9043
9044 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9045 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9046
cc26d239
LI
90472012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9048
9049 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9050 about SMTP before checking the From header.
9051
91027d08 9052 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9053 into own function for reuse by emacsbug.el.
9054
1be3ca5a
LL
90552012-02-10 Leo Liu <sdl.web@gmail.com>
9056
9057 * subr.el (condition-case-unless-debug): Rename from
9058 condition-case-no-debug. All callers changed.
9059 (with-demoted-errors): Fix caller.
9060
9061 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9062 * nxml/rng-valid.el (rng-do-some-validation):
9063 * emacs-lisp/package.el (package-refresh-contents)
9064 (package-menu-execute):
9065 * desktop.el (desktop-create-buffer):
91027d08 9066 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9067
b011fbfe
GM
90682012-02-10 Glenn Morris <rgm@gnu.org>
9069
b2096d72
GM
9070 * textmodes/bibtex.el:
9071 Add missing :version tags for new/changed defcustoms.
9072
b011fbfe
GM
9073 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9074
4c7e65bf
LI
90752012-02-09 Lars Ingebrigtsen <larsi@rusty>
9076
9077 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9078 (smtpmail-via-smtp): Use it, or fall back on the From address.
9079 (smtpmail-send-it): Ditto.
9080
f3934f6f
SM
90812012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9084 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9085 (byte-compile-tmp-var): New const.
9086 (byte-compile-defvar): Use it to minimize .elc size.
9087 Just use `defvar' rather than simulate it (bug#10761).
9088
a075a2c5
GM
90892012-02-09 Glenn Morris <rgm@gnu.org>
9090
cf3aa21b
GM
9091 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9092
354998cd
GM
9093 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9094 Add :version tags.
9095
dc9924b8
SM
9096 * progmodes/compile.el (compilation-error-screen-columns)
9097 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9098
dab3703d
GM
9099 * vc/log-view.el (log-view-toggle-entry-display):
9100 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9101
3f88cd72
GM
9102 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9103 (report-emacs-bug-can-use-xdg-email):
9104 (report-emacs-bug-insert-to-mailer): Doc fixes.
9105 (report-emacs-bug): Message fix.
9106
d95b247d
GM
9107 * net/browse-url.el (browse-url-can-use-xdg-open)
9108 (browse-url-xdg-open): Doc fixes.
9109
a075a2c5
GM
9110 * electric.el (electric-indent-mode, electric-pair-mode)
9111 (electric-layout-rules, electric-layout-mode): Doc fixes.
9112 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9113
ffb6157e
MR
91142012-02-08 Martin Rudalics <rudalics@gmx.at>
9115
9116 * server.el (server-unselect-display): Don't inadvertently kill
9117 the current buffer. (Bug#10729)
9118
e1ac4066
GM
91192012-02-08 Glenn Morris <rgm@gnu.org>
9120
34e8a2da
GM
9121 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9122 (sql-list-table): Doc fixes.
9123
b4ac6e8c
GM
9124 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9125 Comment out (does nothing).
9126
e1ac4066
GM
9127 * completion.el (dynamic-completion-mode):
9128 * dirtrack.el (dirtrack-debug-mode):
9129 * electric.el (electric-layout-mode):
9130 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9131 * face-remap.el (text-scale-mode, buffer-face-mode):
9132 * iimage.el (iimage-mode):
9133 * image-mode.el (image-transform-mode):
9134 * minibuffer.el (completion-in-region-mode):
9135 * scroll-lock.el (scroll-lock-mode):
9136 * simple.el (next-error-follow-minor-mode):
9137 * tar-mode.el (tar-subfile-mode):
9138 * tooltip.el (tooltip-mode):
9139 * vcursor.el (vcursor-use-vcursor-map):
9140 * wid-browse.el (widget-minor-mode):
9141 * emulation/tpu-edt.el (tpu-edt-mode):
9142 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9143 * international/iso-ascii.el (iso-ascii-mode):
9144 * language/thai-util.el (thai-word-mode):
9145 * mail/supercite.el (sc-minor-mode):
9146 * net/goto-addr.el (goto-address-mode):
9147 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9148 * progmodes/cwarn.el (cwarn-mode):
9149 * progmodes/flymake.el (flymake-mode):
9150 * progmodes/glasses.el (glasses-mode):
9151 * progmodes/hideshow.el (hs-minor-mode):
9152 * progmodes/pascal.el (pascal-outline-mode):
9153 * textmodes/enriched.el (enriched-mode):
9154 * vc/smerge-mode.el (smerge-mode):
9155 Doc fixes (minor mode argument).
9156
5e0d957f
EZ
91572012-02-07 Eli Zaretskii <eliz@gnu.org>
9158
9159 * ls-lisp.el (ls-lisp-sanitize): New function.
9160 (ls-lisp-insert-directory): Use it to fix or remove any elements
9161 in file-alist with missing attributes. (Bug#4673)
9162
98d7371e
AM
91632012-02-07 Alan Mackenzie <acm@muc.de>
9164
9165 Fix spurious recognition of c-in-knr-argdecl.
9166
9167 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9168 putative K&R region.
9169
667ced3a
AM
91702012-02-07 Alan Mackenzie <acm@muc.de>
9171
eb864a71
LM
9172 * progmodes/cc-engine.el (c-forward-objc-directive):
9173 Prevent looping in "#pragma mark @implementation".
667ced3a 9174
5b77774d
MA
91752012-02-07 Michael Albinus <michael.albinus@gmx.de>
9176
9177 * notifications.el (notifications-on-closed-signal): Make `reason'
9178 optional. (Bug#10744)
9179
af008560
GM
91802012-02-07 Glenn Morris <rgm@gnu.org>
9181
60d47423
GM
9182 * emacs-lisp/easy-mmode.el (define-minor-mode):
9183 Doc fixes for the macro and the mode it defines.
9184
dd605cc4
GM
9185 * image.el (imagemagick-types-inhibit): Doc fix.
9186
af008560
GM
9187 * cus-start.el (imagemagick-render-type): Add it.
9188
5cc59a37
LI
91892012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9190
4d6769e1
JB
9191 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9192 Set the default at load time, too, so that `font-lock-fontify-buffer'
9193 can be called without setting up the entire mode first. This fixes
9194 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9195
9a6dd747
CY
91962012-02-06 Chong Yidong <cyd@gnu.org>
9197
2d16b285
CY
9198 * simple.el (list-processes--refresh): Delete exited processes
9199 (Bug#8094).
9200
171e9b6e
CY
9201 * comint.el (comint-next-prompt): next-single-char-property-change
9202 and prev-single-char-property-change never return nil (Bug#8657).
9203
9a6dd747
CY
9204 * custom.el (defcustom): Doc fix (Bug#9711).
9205
aa4589a7
CY
92062012-02-05 Chong Yidong <cyd@gnu.org>
9207
5c2a252f
CY
9208 * cus-edit.el (custom-variable-reset-backup): Quote the value
9209 before storing it in the customized-value property (Bug#6712).
4aab9006 9210 (custom-display): Add a customization type tag.
983b9602 9211 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9212
aa4589a7
CY
9213 * wid-edit.el (widget-field-value-get): New optional arg to
9214 suppress trailing whitespace truncation.
9215 (character): Use it (Bug#2689).
9216
1ff980ae
AS
92172012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9218
9219 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9220 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9221
03988c98
CY
92222012-02-05 Chong Yidong <cyd@gnu.org>
9223
eeb6cc88
CY
9224 * cus-edit.el (custom-variable-value-create): For mismatched
9225 types, show the current value (Bug#7600).
9226
03988c98
CY
9227 * custom.el (defcustom): Doc fix.
9228
f8cdeef0
GM
92292012-02-05 Glenn Morris <rgm@gnu.org>
9230
9231 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9232
0696d255
JB
92332012-02-05 Juanma Barranquero <lekktu@gmail.com>
9234
9235 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9236 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9237 (pp-last-sexp): Use `looking-at-p'.
9238
34c99998
GM
92392012-02-04 Glenn Morris <rgm@gnu.org>
9240
8f05da42
GM
9241 * files.el (revert-buffer):
9242 Doc fix (mention revert-buffer-in-progress-p).
9243
f160676e
GM
9244 * emacs-lisp/ert-x.el (ert-simulate-command):
9245 Check deferred-action-list (which is obsolete) is bound.
9246
c7291ad9
GM
9247 * subr.el (with-wrapper-hook): Doc fixes.
9248
34c99998
GM
9249 * simple.el (filter-buffer-substring-functions)
9250 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9251
6283a7d3
LL
92522012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9253
9254 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9255 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9256
e96e3013
LL
92572012-02-04 Leo Liu <sdl.web@gmail.com>
9258
9259 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9260
8ded50f2
GM
92612012-02-04 Glenn Morris <rgm@gnu.org>
9262
82ff1d13
GM
9263 * image.el (image-extension-data): Add obsolete alias.
9264
987a0a16
GM
9265 * isearch.el (isearch-update): Doc fix.
9266
ea32ef46
GM
9267 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9268
8ded50f2
GM
9269 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9270
eea14f31
GM
92712012-02-03 Glenn Morris <rgm@gnu.org>
9272
9273 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9274 (image-animate-timeout): Doc fix.
9275
9276 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9277
12f381b7
GM
92782012-02-02 Glenn Morris <rgm@gnu.org>
9279
953cebf5
GM
9280 * server.el (server-auth-dir): Doc fix.
9281 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9282
12f381b7
GM
9283 * subr.el (run-mode-hooks): Doc fix.
9284
953a8c3b
JL
92852012-02-02 Juri Linkov <juri@jurta.org>
9286
9287 * image-mode.el (image-toggle-display-image): Remove tautological
9288 `major-mode' from the `derived-mode-p' test.
9289
c5d3843c
KH
92902012-02-02 Kenichi Handa <handa@m17n.org>
9291
9f6e692e 9292 * composite.el (compose-region): Cancel previous change.
c5d3843c 9293
159462d4 92942012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9295
9296 * composite.el (compose-region, compose-string): Signal error for
9297 a null string component (Bug#6988).
9298
9f562668
CY
92992012-02-01 Chong Yidong <cyd@gnu.org>
9300
e2cef717
CY
9301 * view.el (view-buffer-other-window, view-buffer-other-frame):
9302 Handle special modes like view-buffer (Bug#10650).
9303 (view-buffer): Simplify.
9304
9f562668
CY
9305 * frame.el (set-frame-font): Tweak meaning of third argument.
9306
9f6e692e
JB
9307 * dynamic-setting.el (font-setting-change-default-font):
9308 Use set-frame-font (Bug#9982).
9f562668 9309
781acb9f
GM
93102012-02-01 Glenn Morris <rgm@gnu.org>
9311
6035be52
GM
9312 * progmodes/compile.el (compilation-internal-error-properties):
9313 Respect compilation-first-column in the "*compilation*" buffer.
9314
781acb9f
GM
9315 * emacs-lisp/easy-mmode.el (define-minor-mode):
9316 Relax :variable's test for a named function.
9317
abbceb00
AM
93182012-01-31 Alan Mackenzie <acm@muc.de>
9319
9320 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9321 off by one error.
9322
fce3fdeb
CY
93232012-01-31 Chong Yidong <cyd@gnu.org>
9324
9325 * frame.el (set-frame-font): New arg ALL-FRAMES.
9326
9327 * menu-bar.el (menu-set-font): Use set-frame-font.
9328
9329 * faces.el (face-spec-reset-face): Don't apply unspecified
9330 attribute values to the default face.
9331
47893581
JB
93322012-01-31 Juanma Barranquero <lekktu@gmail.com>
9333
9334 * progmodes/cwarn.el (cwarn): Remove dead link.
9335 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9336 Remove * from defcustom docstrings.
9337 (turn-on-cwarn-mode): Make obsolete.
9338 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9339 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9340
e58e988a
GM
93412012-01-31 Glenn Morris <rgm@gnu.org>
9342
60dc2671 9343 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9344 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9345 Allow named functions to be used as the cdr of :variable.
e58e988a 9346
7a3f511d
GM
93472012-01-30 Glenn Morris <rgm@gnu.org>
9348
9349 * emacs-lisp/authors.el (authors-fixed-entries):
9350 Remove reference to deleted file rnewspost.el.
9351
cb882333
JB
93522012-01-29 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * window.el (window-with-parameter): Remove unused variable `windows'.
9355 (window--side-check): Remove unused variable `code'.
9356 (window--resize-siblings): Remove unused variable `first'.
9357 (adjust-window-trailing-edge): Remove unused variable `failed'.
9358 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9359 Use `let', not `let*'.
9360 (balance-windows-2): Remove unused variable `found'.
9361 (window--state-put-2): Remove unused variable `splits'.
9362 (window-state-put): Remove unused variable `selected'.
9363 (same-window-p): Use `string-match-p'.
9364 (display-buffer-assq-regexp): Remove unused variable `value'.
9365 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9366 Mark argument ALIST as ignored.
9367 (pop-to-buffer): Remove unused variable `old-window'.
9368
907201af
EZ
93692012-01-29 Eli Zaretskii <eliz@gnu.org>
9370
9371 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9372 and .lzma compressed files.
9373
ea162670
CY
93742012-01-29 Chong Yidong <cyd@gnu.org>
9375
5b95ee8a
CY
9376 * frame.el (window-system-default-frame-alist): Doc fix.
9377
ea162670
CY
9378 * dynamic-setting.el (font-setting-change-default-font): Don't
9379 change the default face if SET-FONT argument is non-nil (Bug#9982).
9380
d6e6f4b1
SB
93812012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9382
9383 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9384
0f29fa41 93852012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9386
9387 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9388 breakpoints in files outside current directory (Bug#6098).
9389
db174434
CY
93902012-01-29 Chong Yidong <cyd@gnu.org>
9391
6b25e4e2
SE
9392 * progmodes/python.el: Require ansi-color at top-level.
9393
6df6ae42
JB
9394 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9395 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9396 (lisp-mode-abbrev-table): Add doc.
9397 (lisp-mode-variables): Don't set local-abbrev-table.
9398 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9399
e70ee681
RW
94002012-01-28 Roland Winkler <winkler@gnu.org>
9401
9402 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9403
ace88aa2
RW
94042012-01-28 Roland Winkler <winkler@gnu.org>
9405
9406 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9407 (bibtex-set-dialect): Use it. Either set global values of
9408 dialect-dependent variables or bind these variables buffer-locally
9409 (Bug#10254).
9410 (bibtex-mode): Call bibtex-set-dialect via
9411 hack-local-variables-hook.
eb864a71
LM
9412 (bibtex-dialect): Update docstring.
9413 Add safe-local-variable predicate.
ace88aa2
RW
9414 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9415 bibtex-set-dialect.
9416 (bibtex-mode-map): Define menu for each dialect.
9417 (bibtex-entry): Fix docstring.
9418
93376c5b
CY
94192012-01-28 Chong Yidong <cyd@gnu.org>
9420
9421 * eshell/esh-arg.el (eshell-quote-argument): New function.
9422
9423 * eshell/esh-ext.el (eshell-invoke-batch-file):
9424 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9425 first arg to eshell-parse-command (Bug#10523).
9426
4372494f
DA
94272012-01-28 Drew Adams <drew.adams@oracle.com>
9428
9429 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9430 `default-directory' is non-nil.
9431
4d4ec1f8
EZ
94322012-01-28 Eli Zaretskii <eliz@gnu.org>
9433
9434 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9435 line that displays system-configuration-options. (Bug#9924)
9436
7c188927
DA
94372012-01-28 Drew Adams <drew.adams@oracle.com>
9438
9439 * descr-text.el (describe-char): Show information about POS, in
9440 addition to information about the character at POS. Improve and
9441 update the doc string. Change "code point" to "code point in
9442 charset", to avoid confusion with the character's Unicode code
9443 point shown above that. (Bug#10129)
9444
e0da685a
EZ
94452012-01-28 Eli Zaretskii <eliz@gnu.org>
9446
9447 * descr-text.el (describe-char): Show the raw character, not only
9448 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9449 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9450 for the reasons.
9451
70550acf
PH
94522012-01-28 Phil Hagelberg <phil@hagelb.org>
9453
eb864a71
LM
9454 * emacs-lisp/package.el (package-install):
9455 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9456
0ce8e868
CY
94572012-01-28 Chong Yidong <cyd@gnu.org>
9458
cb882333
JB
9459 * emacs-lisp/package.el (package-maybe-load-descriptor):
9460 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9461 (package-maybe-load-descriptor): Use it.
9462 (package-download-transaction): Fully load required packages
9463 inside the loop, so that `require' calls work (Bug#10593).
9464 (package-install): No need to call package-initialize now.
9465
2e7f3bea
CY
94662012-01-28 Chong Yidong <cyd@gnu.org>
9467
6e9bad14
CY
9468 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9469
f823b8ca
CY
9470 * tooltip.el (tooltip-mode): Doc fix.
9471 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9472
2680c309
CY
9473 * frame.el (set-cursor-color): Doc fix (Bug#352).
9474
d7a9e63b
CY
9475 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9476 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9477
2e7f3bea
CY
9478 * cus-edit.el (custom-buffer-create-internal): Fix search button
9479 action (Bug#10542).
2ae01800 9480 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9481
fc4f7a23
EW
94822012-01-27 Eduard Wiebe <usenet@pusto.de>
9483
9484 * dired.el (dired-mark-files-regexp):
9485 Include any subdirectory components. (Bug#10445)
9486
7dd37071
ML
94872012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9488
9489 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9490 Handle [host]:port syntax. (Bug#10533)
9491
a268160b
AH
94922012-01-27 Alex Harsanyi <harsanyi@mac.com>
9493
9494 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9495
e43273ef
GM
94962012-01-26 Glenn Morris <rgm@gnu.org>
9497
9498 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9499 * term.el (term-raw-escape-map): Use Control-X-prefix.
9500 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9501
1edf595d
MR
95022012-01-25 Martin Rudalics <rudalics@gmx.at>
9503
9504 * window.el (window-state-get, window--state-get-1): Don't deal
9505 with fixed-sizeness of windows. Simplify code.
9506
fa8eafef
JC
95072012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9508
6df6ae42
JB
9509 * window.el (window--state-get-1, window--state-put-2):
9510 Don't save and restore the mark.
fa8eafef 9511
0b21c100
CY
95122012-01-25 Chong Yidong <cyd@gnu.org>
9513
9514 * custom.el (custom-variable-p): Doc fix.
9515
5ae1a6c8
GM
95162012-01-25 Glenn Morris <rgm@gnu.org>
9517
40047858
GM
9518 * dired.el (dired-goto-file): Handle some of the more common
9519 characters that `ls -b' escapes. (Bug#10596)
9520
5ddce96c
GM
9521 * progmodes/compile.el (compilation-next-error-function):
9522 Respect compilation-first-column in the "*compilation*" buffer.
9523 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9524
5ae1a6c8
GM
9525 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9526
b559f1a9
GM
95272012-01-24 Glenn Morris <rgm@gnu.org>
9528
9529 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9530
6725d21a
JD
95312012-01-24 Julien Danjou <julien@danjou.info>
9532
9533 * color.el (color-rgb-to-hsl): Fix value computing.
9534 (color-hue-to-rgb): New function.
9535 (color-hsl-to-rgb): New function.
9536 (color-clamp, color-saturate-hsl, color-saturate-name)
9537 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9538 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9539
70df4bbe
GM
95402012-01-24 Glenn Morris <rgm@gnu.org>
9541
9542 * vc/vc-rcs.el (vc-rcs-create-tag):
9543 * vc/vc-sccs.el (vc-sccs-create-tag):
9544 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9545
802a2ae2
ML
95462012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9547
9548 * eshell/esh-util.el (eshell-read-hosts-file):
9549 Skip comment lines. (Bug#10549)
9550
d7128bb1
ML
9551 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9552
d1a5c3b4
JB
95532012-01-23 Juanma Barranquero <lekktu@gmail.com>
9554
2724d9c7
JB
9555 * subr.el (display-delayed-warnings): Doc fix.
9556 (collapse-delayed-warnings): New function to collapse identical
9557 adjacent warnings.
9558 (delayed-warnings-hook): Add it.
d1a5c3b4 9559
a5509865
MA
95602012-01-22 Michael Albinus <michael.albinus@gmx.de>
9561
9562 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9563
a5509865
MA
9564 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9565 (tramp-default-user-alist): Don't add "pscp".
9566 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9567 property "login-as", if set. (Bug#10530)
9568
cc6d5805
MA
95692012-01-21 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9572 "plink1" and "psftp". (Bug#10530)
9573
95742012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9575
9576 * international/mule-cmds.el (prefer-coding-system): Show a
9577 warning message if the default value of file-name-coding-system
9578 was not changed.
9579
f0960428
JC
95802012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9581
cb882333
JB
9582 * windmove.el (windmove-reference-loc):
9583 Fix windmove-reference-loc miscalculation.
f0960428 9584
dd6f2a63
JB
95852012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9586
9587 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9588 default unit.
9589
7b447e9b
GM
95902012-01-21 Glenn Morris <rgm@gnu.org>
9591
117a9ea1
GM
9592 * international/mule.el (auto-coding-alist): Add .tbz.
9593
7b447e9b
GM
9594 * files.el (local-enable-local-variables): Doc fix.
9595 (inhibit-local-variables-regexps): Rename from
9596 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9597 Doc fix. Add some extensions from auto-coding-alist.
9598 (inhibit-local-variables-suffixes):
9599 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9600 (inhibit-local-variables-p):
9601 New function, extracted from set-auto-mode-1.
9602 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9603 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9604 (hack-local-variables): Doc fix. Make the mode-only case
9605 respect enable-local-variables and friends.
9606 Respect inhibit-local-variables-regexps for file-locals, but
9607 not for directory-locals.
9608 (set-visited-file-name):
9609 Take account of inhibit-local-variables-regexps.
9610 Whether it applies may change as the file name is changed.
9611 * jka-cmpr-hook.el (jka-compr-install):
9612 * jka-compr.el (jka-compr-uninstall):
9613 Update for inhibit-first-line-modes-suffixes name change.
9614
dd6e3cdd
MR
96152012-01-20 Martin Rudalics <rudalics@gmx.at>
9616
9617 * help-macro.el (make-help-screen): Temporarily restore original
9618 binding for minor-mode-map-alist (Bug#10454).
9619
0d0deb38
JD
96202012-01-19 Julien Danjou <julien@danjou.info>
9621
9622 * color.el (color-name-to-rgb): Use the white color to find the max
9623 color component value and return correctly computed values.
9624 (color-name-to-rgb): Add missing float conversion for max value.
9625
34a02f46
MR
96262012-01-19 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9629 special state value for window-persistent-parameters.
9630 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9631 (window--state-put-2): Reset all window parameters to nil before
9632 assigning values of persistent parameters.
9633
606c44c4
AM
96342012-01-18 Alan Mackenzie <acm@muc.de>
9635
9636 Eliminate sluggishness and hangs in fontification of "semicolon
9637 deserts".
9638
cb882333
JB
9639 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9640 Change value 10000 -> 3000.
606c44c4
AM
9641 (c-state-safe-place): Reformulate so it doesn't stack up an
9642 infinite number of wrong entries in c-state-nonlit-pos-cache.
9643 (c-determine-limit-get-base, c-determine-limit): New functions to
9644 determine backward search limits disregarding literals.
9645 (c-find-decl-spots): Amend commenting.
9646 (c-cheap-inside-bracelist-p): New function which detects "={".
9647
9648 * progmodes/cc-fonts.el
9649 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9650 backward search.
9651 (c-font-lock-declarations): Fix an occurrence of point being
9652 undefined. Check additionally for point being in a bracelist or
9653 near a macro invocation without a semicolon so as to avoid a
9654 fruitless time consuming search for a declarator. Give a more
9655 precise search limit for declarators using the new
9656 c-determine-limit.
9657
f3860cea
GM
96582012-01-18 Glenn Morris <rgm@gnu.org>
9659
9660 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9661 (set-auto-mode): Doc fixes.
9662
1db03b16
GM
96632012-01-17 Glenn Morris <rgm@gnu.org>
9664
0e6038be
GM
9665 * isearch.el (search-nonincremental-instead): Fix doc typo.
9666
1db03b16
GM
9667 * dired.el (dired-insert-directory): Handle newlines in directory name.
9668 (dired-build-subdir-alist): Unescape newlines in directory name.
9669
4cb0aa75
MA
96702012-01-17 Michael Albinus <michael.albinus@gmx.de>
9671
9672 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9673 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9674 (tramp-action-terminal): Use it. (Bug#10530)
9675
1d00653d
SM
96762012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9677
9678 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9679
6a6ee00d
MR
96802012-01-16 Martin Rudalics <rudalics@gmx.at>
9681
9682 * window.el (window-state-ignored-parameters): Remove variable.
9683 (window--state-get-1): Rename argument MARKERS to IGNORE.
9684 Handle persistent window parameters. Make copy of clone-of
9685 parameter only if requested. (Bug#10348)
9686 (window--state-put-2): Install a window parameter only if it has
9687 a non-nil value or an existing parameter shall be overwritten.
9688
97912def
MA
96892012-01-15 Michael Albinus <michael.albinus@gmx.de>
9690
9691 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9692
688070a5
EZ
96932012-01-14 Eli Zaretskii <eliz@gnu.org>
9694
9695 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9696 don't pass the (nil) value of `upnode' to string-match.
9697
301afadc
CY
96982012-01-14 Chong Yidong <cyd@gnu.org>
9699
9700 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9701 Fix values recognized by the cursorBlink resource.
301afadc 9702
9e5788aa
PE
97032012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9704
9705 * epg.el (epg--make-temp-file): Avoid permission race condition
9706 when running on old Emacs versions (bug#10403).
9707
3cdb7f5a
GM
97082012-01-14 Glenn Morris <rgm@gnu.org>
9709
9710 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9711
8c82b1b4
AM
97122012-01-13 Alan Mackenzie <acm@muc.de>
9713
9714 Fix filling for when filladapt mode is enabled.
9715
9716 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9717 c-mask-paragraph, pass in `fill-paragraph' rather than
9718 `fill-region-as-paragraph'. (This is a reversion of a previous
9719 change.)
eb864a71
LM
9720 * progmodes/cc-mode.el (c-basic-common-init):
9721 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9722
e517eda4
GM
97232012-01-13 Glenn Morris <rgm@gnu.org>
9724
1498536e
GM
9725 * dired.el (dired-switches-escape-p): New function.
9726 (dired-insert-directory): Use dired-switches-escape-p.
9727 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9728
e517eda4
GM
9729 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9730
328f984d
GM
97312012-01-12 Glenn Morris <rgm@gnu.org>
9732
9733 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9734 changes in adaptive-fill-regexp. (Bug#10276)
9735
2cc769a8
AM
97362012-01-11 Alan Mackenzie <acm@muc.de>
9737
9738 Fix Emacs bug #10463 - put `widen's around the critical spots.
9739
1d00653d 9740 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9741 widen around each invocation of c-state-pp-to-literal. Remove an
9742 unused let variable.
9743
e52c37fa
GM
97442012-01-11 Glenn Morris <rgm@gnu.org>
9745
9746 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9747 Doc fix.
e52c37fa 9748
96f8741e
CY
97492012-01-10 Chong Yidong <cyd@gnu.org>
9750
1d00653d
SM
9751 * net/network-stream.el (network-stream-open-starttls):
9752 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9753 response to the capability command.
9754
b09a806e
GM
97552012-01-10 Glenn Morris <rgm@gnu.org>
9756
9757 * mail/unrmail.el (unrmail): Tweak previous change.
9758
7655cb66
CY
97592012-01-09 Chong Yidong <cyd@gnu.org>
9760
9761 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9762
9d5a8f0b
AM
97632012-01-08 Alan Mackenzie <acm@muc.de>
9764
9765 Optimise font locking in long enum definitions.
9766
9767 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9768 arm to a cond form to handle enums.
9769 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9770 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9771
9a0115ab 97722012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9773
9774 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9775 (Bug#10401)
6bb72cbd 9776
f186bb95
LMI
97772012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9778
29232a68
LMI
9779 * faces.el (set-face-attribute): Clarify the meaning of the nil
9780 frame (bug#10294).
9781
4e5d086d
LMI
9782 * subr.el (with-selected-frame): Mention that the selected frame
9783 is restored (bug#9980).
9784
8e66aebe
LMI
9785 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9786 (bug#9759).
9787
cd394be1 9788 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9789 (password-read): Don't autoload unused function.
9790
adf4e762
JB
97912012-01-07 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * progmodes/which-func.el (which-func-mode): Turn into a
9794 non-interactive function and mark as obsolete (bug#10428).
9795
89bd9ccd
CY
97962012-01-06 Chong Yidong <cyd@gnu.org>
9797
9798 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9799 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9800 functions, along with 1 and -1.
9801
4afee9d5
EZ
98022012-01-06 Eli Zaretskii <eliz@gnu.org>
9803
9804 * time.el (display-time-load-average)
9805 (display-time-default-load-average): Doc fixes. See the thread
9806 starting at
9807 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9808 for the details.
9809
536aea70
GM
98102012-01-06 Glenn Morris <rgm@gnu.org>
9811
665ae865
GM
9812 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9813 has no messages. (Bug#10377)
9814
c869783d
GM
9815 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9816 than Info-edit. (Bug#10385)
9817
2bb4227e
GM
9818 * time.el (display-time-load-average, display-time-next-load-average):
9819 Doc fixes.
9820
7d5944b9
GM
9821 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9822 local setting of buffer-read-only to the input buffer. (Bug#10419)
9823
536aea70
GM
9824 * calendar/calendar.el (calendar-mode):
9825 Locally set scroll-margin to 0. (Bug#10379)
9826
7dccca16
UM
98272012-01-06 Ulrich Mueller <ulm@gentoo.org>
9828
9829 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9830
afbb7930
GM
98312012-01-05 Glenn Morris <rgm@gnu.org>
9832
9833 * eshell/em-unix.el (diff-no-select): Autoload it.
9834 (eshell/diff): Use diff-no-select. (Bug#10420)
9835
04482335
CY
98362012-01-05 Chong Yidong <cyd@gnu.org>
9837
7baca3bc
CY
9838 * shell.el (shell-dynamic-complete-functions): Revert last change.
9839 (shell-command-completion-function): New function.
9840 (shell-completion-vars): Use it to implement
9841 shell-completion-execonly (Bug#10417).
9842
04482335
CY
9843 * custom.el (enable-theme): Don't set custom-safe-themes.
9844
1d00653d
SM
9845 * cus-theme.el (custom-theme-merge-theme):
9846 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9847
bb5aa5d6
MM
98482012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9849
9850 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9851 first prompt in `sql-interacive-mode'.
9852 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9853 keywords.
6df6ae42 9854 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9855 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9856 context of original buffer. Invoke `sql-login-hook'.
9857
a7183d7c
EZ
98582012-01-04 Eli Zaretskii <eliz@gnu.org>
9859
9860 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9861 letters in cite-prefix.
9862
a1eacd1e
LMI
98632012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864
9865 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9866
787cdb34
CY
98672012-01-03 Chong Yidong <cyd@gnu.org>
9868
1d00653d
SM
9869 * shell.el (shell-dynamic-complete-functions):
9870 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9871 comint-filename-completion first (Bug#10417).
9872
30710442
RS
98732012-01-02 Richard Stallman <rms@gnu.org>
9874
9875 * battery.el (battery-status-function):
9876 Detect when to use battery-yeeloong-sysfs.
9877 (battery-echo-area-format): Add string for Yeeloong.
9878 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9879 (battery-yeeloong-sysfs): New function.
9880
f75bfc33
CY
98812012-01-02 Chong Yidong <cyd@gnu.org>
9882
9883 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9884 (dirtrack): Merge code for handling relative filenames in prompt
9885 from shell-dir-cookie-watcher.
9886 (dirtrack-debug-message): New arg to avoid excess format calls.
9887
9888 * shell.el (shell-dir-cookie-re): Variable deleted.
9889 (shell-dir-cookie-watcher): Function deleted.
9890 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9891 with dirtrack-mode.
9892
651e947e
EZ
98932012-01-01 Eli Zaretskii <eliz@gnu.org>
9894
1d00653d
SM
9895 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9896 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9897 libgnutls-26.dll.
9898
94d4c7dc
AS
98992011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9900
9901 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9902
8d43f3cd
EZ
99032011-12-31 Eli Zaretskii <eliz@gnu.org>
9904
9905 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9906 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9907
98c8795a
MA
99082011-12-29 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9911 also for alternative shells.
9912 (tramp-open-connection-setup-interactive-shell): Check, whether
9913 the shell is a busybox.
9914 (tramp-send-command): Don't suppress multiple prompts for
9915 busyboxes, it hurts.
9916
51281b32
CY
99172011-12-28 Chong Yidong <cyd@gnu.org>
9918
9919 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9920 (gdb-get-source-file): Move mode line update to
9921 gdb-get-source-file (Bug#10087).
9922
2170cb53
CY
99232011-12-25 Chong Yidong <cyd@gnu.org>
9924
9925 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9926 gud-gdb-marker-filter without taking it as an argument.
9927 (gud-gdb-run-command-fetch-lines): Caller changed.
9928 (gud-gdb-completion-function): New variable.
9929 (gud-gdb-completion-at-point): Use it.
9930 (gud-gdb-completions-1): Split from gud-gdb-completions.
9931
9932 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9933 function as separate arguments.
9934 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9935 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9936 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9937 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9938 (gdb-stopped, def-gdb-auto-update-trigger)
9939 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9940 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9941 Callers changed.
2170cb53
CY
9942 (gud-gdbmi-completions): New function.
9943 (gdb): Use it for generating the completion table.
9944
be8b11bb
AM
99452011-12-24 Alan Mackenzie <acm@muc.de>
9946
9947 Introduce a mechanism to widen the region used in context font
1d00653d 9948 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9949
1d00653d
SM
9950 * progmodes/cc-langs.el (c-before-font-lock-functions):
9951 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9952 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9953 functions to be run just before context (etc.) font locking.
9954
9955 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9956 New, functionality extracted from
be8b11bb 9957 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9958 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9959 (c-after-change): Set c-in-after-change-fontification.
9960 (c-set-fl-decl-start): Rejig its interface, so it can be called
9961 from both after-change and context fontifying.
b81d40f0
JB
9962 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9963 New functions.
9964 (c-standard-font-lock-fontify-region-function): New variable.
9965 (c-font-lock-fontify-region): New function.
be8b11bb 9966
341cf6ac
JL
99672011-12-24 Juri Linkov <juri@jurta.org>
9968
9969 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9970 (Bug#10348)
9971
bffcee0a
MA
99722011-12-23 Michael Albinus <michael.albinus@gmx.de>
9973
9974 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9975 existence of source file. (Bug#10325)
9976
cb5e207c
AM
99772011-12-23 Alan Mackenzie <acm@muc.de>
9978
9979 Fix unstable fontification inside templates.
9980
b81d40f0
JB
9981 * progmodes/cc-langs.el (c-before-font-lock-functions):
9982 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9983 additionally has c-set-fl-decl-start. The other languages (apart
9984 from AWK) have that as a single entry.
9985
b81d40f0
JB
9986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9987 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9988 c-set-fl-decl-start.
9989
b81d40f0
JB
9990 * progmodes/cc-mode.el (c-common-init, c-after-change):
9991 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9992 (c-set-fl-decl-start): New function, extracted from
9993 c-font-lock-enclosing-decls and enhanced.
9994
60ff536c
JB
99952011-12-23 Juanma Barranquero <lekktu@gmail.com>
9996
9997 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9998
1c4757d6
JL
99992011-12-22 Juri Linkov <juri@jurta.org>
10000
10001 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10002
d031f2c7
CY
100032011-12-22 Chong Yidong <cyd@gnu.org>
10004
10005 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10006
bace743a
DA
100072011-12-21 Drew Adams <drew.adams@oracle.com>
10008
10009 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10010
728a1f2b
JC
100112011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10012
10013 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10014
0d373f73
TZ
100152011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10016
fec0aaa4
TZ
10017 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10018 highlighting and support. Fix up comments for capitalization.
10019 (cfengine-mode-debug): New var.
10020 (cfengine3-mode): Change the modeline indicator to "CFE3".
10021 (cfengine3-font-lock-keywords): Improve defun highlighting.
10022 (cfengine2-actions): Rename from `cfengine-actions'.
10023 (cfengine2-font-lock-keywords): Rename from
10024 `cfengine-font-lock-keywords'.
10025 (cfengine2-imenu-expression): Rename from
10026 `cfengine-imenu-expression'.
10027 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10028 (cfengine2-beginning-of-defun): Rename from
10029 `cfengine-beginning-of-defun'.
10030 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10031 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10032 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10033 modeline indicator to "CFE2".
10034 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10035 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10036
bc86f573
CY
100372011-12-21 Chong Yidong <cyd@gnu.org>
10038
10039 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10040 filename argument.
10041
d45ba96b
MR
100422011-12-20 Martin Rudalics <rudalics@gmx.at>
10043
10044 * window.el (window-normalize-buffer-to-display): Remove.
10045 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10046
a6198c90
CY
100472011-12-19 Chong Yidong <cyd@gnu.org>
10048
10049 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10050 Don't signal an error in a predicate function; return non-nil.
10051 (vc-dir-mark-file): Move the error here.
10052 (vc-dir-mark-unmark): If acting on the region, keep going if one
10053 of the entries cannot be marked/unmarked.
10054 (vc-dir-mark-all-files): If current entry is a directory, mark
10055 only child files, as documented.
10056
34c5fb55
VB
100572011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10058
10059 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10060 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10061 addition.
10062
c803b2b7
JD
100632011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10064
10065 * term/ns-win.el (ns-get-selection-internal)
10066 (ns-store-selection-internal): Declare.
1154d12e
JB
10067 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10068 Declare as obsolete.
10069 (ns-get-pasteboard, ns-paste-secondary):
10070 Use ns-get-selection-internal.
10071 (ns-set-pasteboard, ns-copy-including-secondary):
10072 Use ns-store-selection-internal.
c803b2b7 10073
9cff91f8 100742011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10075
10076 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10077 (vc-deduce-fileset): Doc fix.
99a289d9 10078
f16c898a
AS
100792011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10082
763237c4
SS
100832011-12-13 Sam Steingold <sds@gnu.org>
10084
10085 * man.el (Man-getpage-in-background): When running under a
10086 window-system, ignore $MANWIDTH and $COLUMNS.
10087
5fc1c122
KH
100882011-12-15 Kenichi Handa <handa@m17n.org>
10089
10090 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10091 (setup-ethiopic-environment-internal): Comment out key-binding for
10092 ethio-toggle-punctuation.
10093
13d49cbb
AM
100942011-12-13 Alan Mackenzie <acm@muc.de>
10095
898169a2
AM
10096 Add the switch statement to AWK Mode.
10097
7a71b18d 10098 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10099 "default" to the keywords regexp.
10100
7a71b18d 10101 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10102 expression as the rest.
1d00653d
SM
10103 (c-nonlabel-token-key): Allow string literals for AWK.
10104 Refactor for the other modes.
898169a2 10105
13d49cbb 10106 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10107 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10108 routines. Limit backward searching in c-font-lock-enclosing.decl.
10109
10110 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10111 pp-state and literal type in addition to the limits.
1d00653d 10112 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10113 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10114 (c-slow-in-literal, c-fast-in-literal): Remove.
10115 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10116
10117 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10118 being in a literal. Add a limit for backward searching.
10119
10120 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10121 c-slow-in-literal.
10122
15e0efc7
SM
101232011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10126
454592a6
MR
101272011-12-13 Martin Rudalics <rudalics@gmx.at>
10128
10129 * window.el (delete-other-windows): Use correct frame in call to
10130 window-with-parameter.
10131
87393f26
DP
101322011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10133
10134 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10135 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10136 (makefile-gmake-statements, makefile-makepp-statements):
10137 Use it and add new makepp keywords.
10138 (makefile-makepp-font-lock-keywords): Add new patterns.
10139 (makefile-match-function-end): Match new [...] and [[...]].
10140
11636b22
JB
101412011-12-11 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * ses.el (ses-call-printer-return, ses-cell-property-get)
10144 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10145 (ses-create-cell-variable, ses-reset-header-string)
10146 (ses-cell-set-formula, ses-repair-cell-reference-all)
10147 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10148 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10149 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10150 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10151 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10152 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10153 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10154 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10155 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10156 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10157 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10158 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10159
cf018193
VB
101602011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10161
10162 * ses.el: The overall change is to add cell renaming, that is
10163 setting fancy names for cell symbols other than name matching
10164 "\\`[A-Z]+[0-9]+\\'" regexp .
10165 (ses-create-cell-variable): New defun.
10166 (ses-relocate-formula): Relocate formulas only for cells the
10167 symbols of which are not renamed, i.e. symbols whose names do not
10168 match regexp "\\`[A-Z]+[0-9]+\\'".
10169 (ses-relocate-all): Relocate values only for cells the symbols of
10170 which are not renamed.
10171 (ses-load): Create cells variables as the (ses-cell ...) are read,
10172 in order to check row col consistency with cell symbol name only
10173 for cells that are not renamed.
10174 (ses-replace-name-in-formula): New defun.
10175 (ses-rename-cell): New defun.
10176
ee957461
CY
101772011-12-11 Chong Yidong <cyd@gnu.org>
10178
10179 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10180 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10181
9a9e9ef0
MR
101822011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10183
10184 * window.el (other-window): Fix docstring.
10185
92a8eba5
EZ
101862011-12-10 Eli Zaretskii <eliz@gnu.org>
10187
10188 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10189 `from' or `to' address before taking its substring.
10190 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10191 encoded name is chopped in the middle of the encoded string, and
10192 thus displayed encoded.
10193
e152e577
JB
101942011-12-10 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10197
e5d84bfe
EZ
101982011-12-10 Eli Zaretskii <eliz@gnu.org>
10199
10200 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10201 to use texinfo-update-node and commands that call it if the
10202 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10203 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10204 (texinfo-all-menus-update, texinfo-master-menu)
10205 (texinfo-update-node, texinfo-every-node-update)
10206 (texinfo-multiple-files-update): Doc fix. Warn against updating
10207 all the @node lines.
10208 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10209 argument is numeric. Explain better in the doc string what the
10210 function really does.
10211 (texinfo-insert-master-menu-list): Improve the error message
10212 displayed if there's no menu in the Top node.
10213 (Bug#2975) See also this thread:
e5d84bfe
EZ
10214 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10215
1d84e9bb
MG
102162011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10217
10218 * speedbar.el (speedbar-supported-extension-expressions):
10219 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10220
382c953b
JB
102212011-12-09 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * printing.el (pr-mode-alist):
10224 * simple.el (filter-buffer-substring-functions)
10225 (completion-list-insert-choice-function):
10226 * window.el (window-with-parameter, window-atom-root)
10227 (window-sides-slots, window-size-fixed, window-min-delta)
10228 (window-max-delta, window--resize-mini-window)
10229 (window--resize-child-windows-normal, window-tree)
10230 (delete-other-windows, quit-window, split-window)
10231 (display-buffer-record-window, special-display-buffer-names)
10232 (special-display-regexps, special-display-popup-frame)
10233 (same-window-p, split-window-sensibly)
10234 (display-buffer-overriding-action, display-buffer-alist)
10235 (display-buffer-base-action, display-buffer, switch-to-buffer)
10236 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10237 (fit-window-to-buffer, recenter-positions)
10238 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10239 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10240 and remove unneeded backslashes in docstrings.
10241
39c9faef
SM
102422011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10243
98449af8
SM
10244 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10245
39c9faef
SM
10246 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10247 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10248 end in ".mk".
10249 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10250 when reading the makefile (bug#10116).
10251
86ed9fdc
SM
102522011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10255 (bug#10116).
10256
5580f89d
GM
102572011-12-06 Glenn Morris <rgm@gnu.org>
10258
10259 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10260
28d3917c
CY
102612011-12-06 Chong Yidong <cyd@gnu.org>
10262
10263 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10264
a98edce9
JB
102652011-12-06 Juanma Barranquero <lekktu@gmail.com>
10266
10267 * textmodes/table.el (table-shorten-cell): Fix typo.
10268
e65adfac
CG
102692011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10270
10271 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10272
71cc0b74
EZ
102732011-12-05 Eli Zaretskii <eliz@gnu.org>
10274
10275 * descr-text.el (describe-char): Fix display of strong
10276 right-to-left characters and directional embeddings and overrides.
10277
10278 * simple.el (what-cursor-position): Fix display of codepoints of
10279 strong right-to-left characters.
10280
315bc30d
CY
102812011-12-05 Chong Yidong <cyd@gnu.org>
10282
10283 * faces.el (read-color): Doc fix.
10284
58a70b94
GM
102852011-12-05 Glenn Morris <rgm@gnu.org>
10286
10287 * align.el (align--set-marker): Add doc-string.
10288 Don't try to move something that is not a marker. (Bug#10216)
10289
5158face
GM
102902011-12-04 Glenn Morris <rgm@gnu.org>
10291
10292 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10293 overly zealous deletion of trailing whitespace.
10294
520fca41
JB
102952011-12-04 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * server.el (server-delete-client): On Windows, do not try to delete
10298 the only terminal.
10299 (server-process-filter): On Windows, treat requests for a tty frame as
10300 if they were for a GUI frame if the running server is in GUI mode.
10301
5e605a2e
GM
103022011-12-03 Glenn Morris <rgm@gnu.org>
10303
10304 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10305
5c3fe83f
SM
103062011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10307
6f5e57e7
SM
10308 * electric.el: Streamline electric-indent's hook.
10309 (electric-indent-chars): Revert to simple list.
10310 (electric-indent-functions): New var.
10311 (electric-indent-post-self-insert-function): Use it.
10312
5c3fe83f
SM
10313 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10314 there's no inferior buffer (bug#10196).
10315 (prolog-consult-compile): Don't use toggle-read-only.
10316
6bdac736
MA
103172011-12-02 Michael Albinus <michael.albinus@gmx.de>
10318
10319 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10320 interrupt. (Bug#10187)
10321
6131ba7f
SM
103222011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10323
99c79fee
SM
10324 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10325 (bug#9160).
10326
6131ba7f
SM
10327 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10328 (bug#10191).
10329
cb0a02ea
JL
103302011-12-02 Juri Linkov <juri@jurta.org>
10331
10332 * info.el (Info-search): Display "end of manual" when Isearch
10333 reaches the end of single-file Info manual. (Bug#9918)
10334
66e0570c
EZ
103352011-12-02 Eli Zaretskii <eliz@gnu.org>
10336
10337 * isearch.el (isearch-message-prefix): Run the input method part
10338 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10339
02b16839
JL
103402011-12-02 Juri Linkov <juri@jurta.org>
10341
10342 * isearch.el (isearch-occur): Use `word-search-regexp' for
10343 `isearch-word'.
10344 (isearch-search-and-update): Add condition for `isearch-word' and
10345 call `word-search-regexp'. (Bug#10145)
10346
0b950688
GM
103472011-12-01 Glenn Morris <rgm@gnu.org>
10348
10349 * eshell/em-hist.el (eshell-hist-initialize):
10350 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10351 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10352
9505c3c7
SM
103532011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10356
1bbe96b2 103572011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10358
a1beca85
SM
10359 * progmodes/verilog-mode.el (verilog-pretty-expr):
10360 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10361 verilog, such as += *= and the like.
10362 (verilog-assignment-operator-re): Regular expression to find the
10363 assigment operator in a verilog assignment.
10364 (verilog-assignment-operation-re): Regular expression to find an
10365 assignment statement for pretty-expr.
10366 (verilog-in-attribute-p): Query returns true if point is in an
10367 attribute context; used to skip these for expression line up from
10368 pretty-expr.
10369 (verilog-in-parameter-p): Query returns true if point is in an
10370 parameter definition context; used to skip these for expression
10371 line up from pretty-expr.
10372 (verilog-in-parenthesis-p): Query returns true if point is in a
10373 parenthetical expression, specifically ( ) but not [ ] or { };
10374 used by pretty-expr.
10375 (verilog-just-one-space): If there is no space, don't add one.
10376 (verilog-get-lineup-indent-2): Specifically skip just attribute
10377 contexts for expression lineup, rather than skipping all
10378 parenthetical expressions.
10379 (verilog-calculate-indent): Fix comment, and fix indent.
10380 (verilog-do-indent): Indent declarations in lists (suggested by
10381 Joachim Lechner).
10382 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10383 skeleton items.
10384 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10385 by Alain Mellan).
10386
1bbe96b2 103872011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10388
10389 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10390 parameters with embedded comments. Reported by Ray Stevens.
10391 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10392 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10393 Reported by Tim Holt.
10394 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10395 instantiated by upper module causing wrong expansion until AUTOed a
10396 second time. Reported by K C Buckenmaier.
10397 (verilog-diff-auto): Fix showing .* as a difference when
10398 `verilog-auto-star-save' off. Reported by Dan Dever.
10399 (verilog-auto-reset, verilog-read-always-signals)
10400 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10401 temporary signals in reset list if
10402 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10403 style to each signal's assignment type, bug381.
10404 Reported by Thomas Esposito.
6288f0ca
WS
10405 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10406 (verilog-uvm-statement-re): Support UVM indentation and
10407 highlighting, with old OVM keywords only.
a1beca85 10408 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10409 Support AUTOTIEOFF creating non-wire data types.
10410 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10411 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10412 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10413 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10414 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10415 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10416 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10417 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10418 non-numeric vector width. Reported by Alex Reed.
10419 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10420 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10421 (verilog-auto-delete-trailing-whitespace):
10422 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10423 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10424 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10425 Fix verilog-scan-cache corruption when running user AUTO expansion
10426 hooks that call indentation routines.
10427 (verilog-simplify-range-expression): Fix typo ignoring lower case
10428 identifiers.
10429 (verilog-delete-auto): Fix delete-autos to also remove user created
10430 automatics, as long as they start with AUTO.
10431 (verilog-batch-diff-auto, verilog-diff-auto)
10432 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10433 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10434 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10435 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10436 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10437 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10438 is disabled and its cache will get corrupt, causing AUTOS not to
10439 expand. Instead use only -quick functions.
10440 (verilog-scan-region): Fix scanning over escaped quotes.
10441 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10442 (verilog-re-search-backward-quick)
10443 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10444 related functions now ignore strings, to fix misparsing of strings
10445 with magic comments embedded in them.
a1beca85
SM
10446 (verilog-read-auto-template):
10447 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10448 Reported by Brad Dobbie.
10449 (verilog-read-auto-template):
10450 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10451 Reported by Brad Dobbie.
6288f0ca
WS
10452 (verilog-auto-inst, verilog-auto-inst-param)
10453 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10454 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10455 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10456 debugging templates without merge conflicts, bug357.
10457 Reported by Brad Dobbie.
10458 (verilog-read-auto-template):
10459 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10460 Reported by Brad Dobbie.
10461 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10462 abbrevs so user won't be asked to save.
10463 (verilog-read-auto-lisp-present): Fix to start at beginning of
10464 buffer in case called outside of verilog-auto.
10465 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10466 to "X-2". Reported by Matthew Myers.
10467 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10468 all inputs from module templates. Reported by Leith Johnson.
10469 (verilog-module-inside-filename-p): Fix locating programs as with
10470 modules.
10471 (verilog-auto-inst-port): Fix vl-width expressions when using
10472 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10473 (verilog-decls-get-regs, verilog-decls-get-signals,
10474 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10475 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10476 verilog-read-decls): Combine reg and wire structures into one var
10477 structure to represent SystemVerilog concepts.
10478 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10479 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10480 (verilog-auto-wire-type, verilog-insert-definition):
10481 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10482 SystemVerilog "logic" keyword instead of "wire"/"reg".
10483 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10484 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10485 ifdef or generate if so there's not a driver conflict).
10486 Reported by Matthew Myers.
10487 (verilog-auto-declare-nettype, verilog-insert-definition):
10488 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10489 `default_nettype none. Reported by Julian Gorfajn.
10490 (verilog-read-always-signals-recurse, verilog-read-decls)
10491 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10492 malformed end statement, bug325. Reported by Joshua Wise and
10493 Andrew Drake.
10494 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10495 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10496 when expanding .* in interfaces, bug320.
10497 Reported by Pierre-David Pfister.
6288f0ca 10498 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10499 name and open parenthesis, bug317.
10500 Reported by Pierre-David Pfister.
6288f0ca
WS
10501 (verilog-simplify-range-expression): Fix simplification of
10502 multiplications inside AUTOWIRE connections, bug303.
10503 (verilog-auto-inst-port): Support parameter expansion in
10504 multidimensional arrays.
10505 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10506 after "assert property". Reported by Julian Gorfajn.
10507 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10508 with multiplication, bug303.
10509 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10510 Reported by Jan Frode Lonnum.
10511
1bbe96b2
GM
105122011-11-30 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10515 (hfy-shell-file-name, hfy-shell):
10516 * international/fontset.el (x-decompose-font-name): Fix typos.
10517
105182011-11-29 Ken Brown <kbrown@cornell.edu>
10519
10520 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10521 (gdb-version): Remove defvar.
10522 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10523 (gdb-gud-context-command, gdb-non-stop-handler)
10524 (gdb-current-context-command, gdb-stopped): Use it.
10525 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10526 (gdb-non-stop-handler): Don't enable pretty-printing here.
10527 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10528 non-stop mode. Use the following.
10529 (gdb-check-target-async): New defun.
10530 (gud-watch, gdb-stopped): Fix whitespace.
10531 (gdb-get-source-file): Don't try to display the source file if
10532 `gdb-main-file' is nil.
10533
105342011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10535
10536 * align.el: Try to generate fewer markers (bug#10047).
10537 (align--set-marker): New macro.
10538 (align-region): Use it.
10539
c935221f
SM
105402011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10541
10542 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10543
e70b5064
CY
105442011-11-29 Chong Yidong <cyd@gnu.org>
10545
10546 * indent.el (indent-for-tab-command, indent-according-to-mode):
10547 Doc fix.
10548 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10549
f3af92b7
MA
105502011-11-29 Michael Albinus <michael.albinus@gmx.de>
10551
10552 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10553 aware of remote file names. (Bug#10124)
10554
ed472be9
CY
105552011-11-29 Chong Yidong <cyd@gnu.org>
10556
10557 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10558
24510c22
SM
105592011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * files.el (find-file): Don't use force-same-window (bug#10144).
10562 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10563 use pop-to-buffer if the selected window can't be used.
10564 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10565
c60c3703
EZ
105662011-11-28 Eli Zaretskii <eliz@gnu.org>
10567
10568 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10569 special-mode-map.
10570
e95def75
CY
105712011-11-28 Chong Yidong <cyd@gnu.org>
10572
10573 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10574
c3f1c606
NR
105752011-11-27 Nick Roberts <nickrob@snap.net.nz>
10576
10577 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10578 gdb-get-source-file-list on gdb-create-source-file-list.
10579
00db469c
EZ
105802011-11-26 Eli Zaretskii <eliz@gnu.org>
10581
10582 * whitespace.el (whitespace-newline): Use a different foreground
10583 color for 16-color light-background displays.
10584
4ad3bc2a
CY
105852011-11-24 Chong Yidong <cyd@gnu.org>
10586
10587 * window.el (display-buffer--special-action): Doc fix.
10588
e9fce1ac
JB
105892011-11-25 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10592 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10593 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10594 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10595 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10596 (avl-tree-stack-first):
10597 * emacs-lisp/cconv.el (cconv--analyse-use):
10598 * net/gnutls.el (gnutls-negotiate): Fix typos.
10599
cb825e5d
GM
106002011-11-24 Glenn Morris <rgm@gnu.org>
10601
3adbe224
GM
10602 * lpr.el (lpr-windows-system, lpr-lp-system):
10603 * mail/binhex.el (binhex-begin-line):
10604 * progmodes/grep.el (grep-history, grep-find-history):
10605 * textmodes/flyspell.el:
10606 * vc/pcvs-defs.el (cvs-global-menu):
10607 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10608 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10609 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10610
321decc8
GM
10611 * net/tls.el: Fix case of "GnuTLS".
10612
420b63ad
GM
10613 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10614
cb825e5d
GM
10615 * version.el (emacs-build-system): Give it a doc-string.
10616
a0649f08
JL
106172011-11-24 Juri Linkov <juri@jurta.org>
10618
10619 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10620
c0bc0fd4
GM
106212011-11-24 Glenn Morris <rgm@gnu.org>
10622
10623 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10624 if called on a non-mime message just toggle the headers. (Bug#8006)
10625
20db1522
JB
106262011-11-24 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10629 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10630 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10631 (allout-rebullet-heading, allout-open-sibtopic)
10632 (allout-toggle-current-subtree-encryption)
10633 (allout-toggle-subtree-encryption, allout-encrypt-string)
10634 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10635 (allout-distinctive-bullets-string, allout-auto-activation):
10636 * window.el (window-normalize-buffer-to-display):
10637 * progmodes/verilog-mode.el (verilog-batch-indent):
10638 * textmodes/bibtex.el (bibtex-field-braces-opt)
10639 (bibtex-field-strings-opt):
10640 * vc/cvs-status.el (cvs-tree-merge):
10641 Fix typos.
10642
7262a87c
MA
106432011-11-23 Michael Albinus <michael.albinus@gmx.de>
10644
10645 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10646 `non-essential' to t, in order to avoid remote connections.
10647
283430a1
EZ
106482011-11-23 Eli Zaretskii <eliz@gnu.org>
10649
a1beca85
SM
10650 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10651 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10652 case-insensitively.
10653
d2992a38
ML
106542011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10655
10656 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10657
50419064
GM
106582011-11-23 Glenn Morris <rgm@gnu.org>
10659
da94eca1
GM
10660 * paths.el (rmail-file-name): Reformat the doc-string so that it
10661 is picked up.
10662
9aac4de2
GM
10663 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10664 (rmail-auto-file): Ignore case in the "special" field names,
10665 as mail-fetch-field does for all others.
10666
8038d2d2
GM
10667 * mail/rmail.el (rmail-forward):
10668 * mail/rmailkwd.el (rmail-set-label):
10669 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10670 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10671
f3fe222a
GM
10672 * mail/rmail.el (rmail-current-message): Doc fix.
10673
50419064
GM
10674 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10675
28109f49
SM
106762011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10679
394c65f1
GM
106802011-11-22 Glenn Morris <rgm@gnu.org>
10681
10682 * mail/rmailmm.el (test-rmail-mime-handler)
10683 (test-rmail-mime-bulk-handler)
10684 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10685
f2a0aa3a
JL
106862011-11-21 Juri Linkov <juri@jurta.org>
10687
1154d12e
JB
10688 * calc/calc.el (calc-read-key-sequence):
10689 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10690
9c34a344
LMI
106912011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10692
10693 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10694 Tell the caller that the next line needs recomputation, even
10695 though it doesn't start a sexp (bug#10094).
10696
f04a3be9
SM
106972011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10700
7978747f
SM
107012011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10702
f04a3be9
SM
10703 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10704 Use force-same-window.
7978747f 10705
fe7a3057
JB
107062011-11-20 Juanma Barranquero <lekktu@gmail.com>
10707
10708 * descr-text.el (describe-char-unicode-data):
10709 * json.el (json-string-escape):
10710 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10711 (Footnote-unicode, Footnote-style-p):
10712 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10713
24901d61
CY
107142011-11-20 Chong Yidong <cyd@gnu.org>
10715
10716 * window.el (replace-buffer-in-windows): Restore interactive spec.
10717
bac7ff22
SM
107182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10719
24f3d7b9
SM
10720 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10721
bac7ff22
SM
10722 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10723 (byte-compile-global-not-obsolete-vars): New var.
10724 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10725 Use it.
10726 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10727
cd1181db
JB
107282011-11-20 Juanma Barranquero <lekktu@gmail.com>
10729
10730 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10731 * progmodes/pascal.el (electric-pascal-equal):
10732 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10733 * xml.el (xml-substitute-special): Fix typos.
10734
7fb18e9e
GM
107352011-11-20 Glenn Morris <rgm@gnu.org>
10736
10737 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10738 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10739 Doc fixes.
10740 (rmail-decode-mime-charset): Mark as obsolete.
10741
10742 * mail/rmailsum.el (rmail-message-regexp-p-1):
10743 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10744 Before using mime functions, check they are set. (Bug#10077)
10745
d5a6b3ba
JL
107462011-11-19 Juri Linkov <juri@jurta.org>
10747
10748 * info.el (Info-finder-find-node): Use `package--builtins' instead
10749 of `package-alist'. Use node names formed by the pattern "Keyword "
10750 and the keyword name.
10751
e981b61f
AS
107522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10753
1d00653d 10754 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10755
3ffbc301
JL
107562011-11-19 Juri Linkov <juri@jurta.org>
10757
10758 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10759 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10760 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10761 `old-history', `old-history-forward'. Add let-binding
10762 `window-selected'. Remove calls to `kill-buffer',
10763 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10764 before calling `Info-find-node', so `Info-find-node-2' will reread
10765 the Info file. Restore window positions only when `window-selected'
10766 is non-nil.
10767
30c62133
JL
107682011-11-19 Juri Linkov <juri@jurta.org>
10769
10770 * isearch.el (isearch-lazy-highlight-new-loop):
10771 Remove condition `(not isearch-error)'. (Bug#9918)
10772
10773 * misearch.el (multi-isearch-search-fun): Add condition
10774 `(not bound)' to ignore lazy-highlighting search.
10775 Add the search-failed message "end of multi" when the end of
10776 multi-sequence is reached. Uncapitalize the search-failed
10777 message "Repeat for next buffer".
10778
10779 * info.el (Info-search): Add the search-failed message
10780 "end of the manual" when the end of the manual is reached
10781 in Isearch mode.
10782
645ca9cf
JL
107832011-11-19 Juri Linkov <juri@jurta.org>
10784
10785 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10786 Use non-destructive `remove' instead of `delete' because
10787 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10788 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10789
df754f66
JL
107902011-11-19 Juri Linkov <juri@jurta.org>
10791
10792 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10793 to nil instead of binding `search-ring' and `regexp-search-ring'.
10794 (Bug#9185)
10795
0e23d96a
EZ
107962011-11-19 Eli Zaretskii <eliz@gnu.org>
10797
10798 * simple.el (line-move): Force movement by logical lines for any
10799 hscrolled window, not only when auto-hscroll-mode is on.
10800 (line-move-visual): Update doc string to that effect. (Bug#10076)
10801
8a6ccb66
AS
108022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10803
10804 * language/european.el (macintosh): Define as alias for mac-roman.
10805
49ae5b39
EZ
108062011-11-19 Eli Zaretskii <eliz@gnu.org>
10807
10808 * mail/rmailmm.el (rmail-mime-display-header)
10809 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10810 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10811 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10812 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10813 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10814 of a raw aref.
10815 (rmail-mime-entity-segment): To get past the tagline, move forward
10816 2 more lines, to account for the 2 empty lines that precede and
10817 follow the line with the buttons.
10818 (rmail-mime-update-tagline): Move one more line, to get past the
10819 empty line that follows the buttons in the tagline. (Bug#9520)
10820
c56cad4a
MR
108212011-11-19 Martin Rudalics <rudalics@gmx.at>
10822
10823 * window.el (window-max-delta-1, window-min-delta-1)
10824 (window-min-size-1, window-state-get-1, window-state-put-1)
10825 (window-state-put-2): Use "window--" prefix.
10826
cbe71af3
SM
108272011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10828
2ad52c60
SM
10829 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10830 (smie-warning-count): New var.
10831 (smie-set-prec2tab): Use it.
10832 (smie-bnf->prec2): Improve warnings. Add docstring.
10833 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10834 (smie-bnf--set-class): New function.
10835 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10836 corner case.
10837
6944dbc1
SM
10838 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10839 (compilation-error-properties, compilation-move-to-column):
10840 Handle compilation-first-column while in the target buffer.
10841
c400c4d7
SM
10842 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10843 Don't hardcode point-min==1.
10844
6dbe3e96
SM
10845 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10846 (eshell-rewrite-for-command): Remove workaround.
10847 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10848 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10849 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10850
cbe71af3
SM
10851 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10852
a8e1496d
GM
108532011-11-17 Glenn Morris <rgm@gnu.org>
10854
10855 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10856 Ignore buffer-local generated-autoload-file if it is the same
10857 as the global value. (Bug#10049)
10858
df85d315
JB
108592011-11-17 Juanma Barranquero <lekktu@gmail.com>
10860
10861 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10862 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10863 (reftex-toc-previous-heading, reftex-toc-max-level)
10864 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10865 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10866 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10867 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10868 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10869 (reftex-toc-rename-label, reftex-toc-visit-location)
10870 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10871 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10872 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10873 leaving "*toc*" only for references to the buffer.
10874
a0c2d0ae
MR
108752011-11-17 Martin Rudalics <rudalics@gmx.at>
10876
10877 * window.el (window-resize, delete-window, split-window):
10878 Replace window-splits by window-combination-resize.
1d00653d 10879 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10880
35c0bac8
GM
108812011-11-17 Glenn Morris <rgm@gnu.org>
10882
10883 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10884 Make bash entry derive from sh entry, not shell entry.
10885
d0c8fc8a
MA
108862011-11-16 Michael Albinus <michael.albinus@gmx.de>
10887
7262a87c
MA
10888 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10889 local file name.
10890
7877f373
JB
108912011-11-16 Juanma Barranquero <lekktu@gmail.com>
10892
10893 * menu-bar.el (menu-bar-file-menu):
10894 * printing.el (pr-ps-utility):
10895 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10896 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10897 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10898 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10899 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10900 (icalendar--convert-cyclic-to-ical)
10901 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10902 (icalendar--convert-ical-to-diary)
10903 (icalendar--convert-recurring-to-diary)
10904 (icalendar--convert-non-recurring-all-day-to-diary)
10905 (icalendar-import-format-sample):
10906 * progmodes/idlw-shell.el (idlwave-shell-mode):
10907 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10908 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10909 (vhdl-ps-print-init): Fix typos.
10910
10649b82
KM
109112011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10912
9d0cfcd6
GM
10913 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10914 FSF and collapse date sequence, obscure author/maintainer email address
10915 better, remove extra version line, track relocation of author's webpage.
10649b82 10916
9d0cfcd6
GM
10917 * progmodes/python.el (python-pdbtrack-input-prompt)
10918 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10919 regular python pdb prompts. Adjustments shamelessly taken exactly as
10920 suggested in EmacsWiki page (tiny change):
10921 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10922
58179cce
JB
109232011-11-16 Juanma Barranquero <lekktu@gmail.com>
10924
10925 * expand.el (expand-pos, expand-index, expand-point):
10926 Remove redundant info from docstring.
10927 (expand-add-abbrevs): Doc fix.
10928 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10929 (expand-sample-perl-mode-expand-list): Fix typos.
10930
10931 * net/dbus.el (dbus-event-member-name):
10932 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10933 * term/pc-win.el (msdos-create-frame-with-faces):
10934 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10935
b6f67890
MR
109362011-11-16 Martin Rudalics <rudalics@gmx.at>
10937
10938 * window.el (split-window, window-state-get-1)
10939 (window-state-put-1, window-state-put-2): Rename occurrences of
10940 window-nest to window-combination-limit.
1d00653d 10941 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10942
ce7ddba0
CY
109432011-11-16 Chong Yidong <cyd@gnu.org>
10944
10945 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10946 regexp (Bug#10033).
10947
3ae704f4
SM
109482011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10951 `completing-read' will remove *Completions* and will preserve
10952 current-buffer for us.
10953 (tmm-add-prompt): Users of *Completions* will always (re)set its
10954 major mode.
10955 (tmm-old-comp-map): Remove.
10956
6ad1cdde
GM
109572011-11-16 Glenn Morris <rgm@gnu.org>
10958
10959 * mail/rmailedit.el: Require rmailmm when compiling.
10960 (rmail-old-mime-state): New declaration.
10961 (rmail-edit-current-message): If editing a mime message,
10962 edit the "raw" message from the mbox buffer.
10963 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10964
d20faa20
GM
109652011-11-15 Glenn Morris <rgm@gnu.org>
10966
10967 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10968 which wasn't being used. Add optional arg to force given state.
10969 (rmail-mime): Add optional arg to force given state.
10970
c7015153
JB
109712011-11-15 Juanma Barranquero <lekktu@gmail.com>
10972
10973 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10974 * frame.el (display-mm-dimensions-alist):
10975 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10976 (outline-move-subtree-down):
10977 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10978 (newsticker--treeview-do-get-node):
10979 * net/quickurl.el (quickurl-list-buffer-name):
10980 * progmodes/dcl-mode.el (dcl-mode):
10981 * progmodes/gdb-mi.el (gdb-mapcar*):
10982 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10983
45261b50
GM
109842011-11-15 Glenn Morris <rgm@gnu.org>
10985
10986 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10987 in a boolean sense, so just make it a boolean, and fix the doc.
10988 (rmail-show-mime-function, rmail-mime-feature)
10989 (rmail-require-mime-maybe): Doc fixes.
10990 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10991
10992 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10993
0d26e0b6
JB
109942011-11-15 Juanma Barranquero <lekktu@gmail.com>
10995
10996 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10997 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10998 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10999 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11000
447f30f6
GM
110012011-11-15 Glenn Morris <rgm@gnu.org>
11002
672b871d
GM
11003 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11004 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11005 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11006 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11007 (rmail-mime, rmail-show-mime): Doc fixes.
11008
f6aa5bb1
GM
11009 * term/ns-win.el (mode-line-frame-identification):
11010 Leave it alone. (Bug#10051)
11011
947cd66b
GM
11012 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11013
447f30f6
GM
11014 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11015 Handle empty buffers. (Bug#9978)
11016
0b381c7e
JB
110172011-11-14 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * international/mule.el (define-charset):
11020 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11021 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11022 * progmodes/verilog-mode.el (verilog-backward-token):
11023 * textmodes/ispell.el (lookup-words):
11024 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11025
71e027ac
GM
110262011-11-14 Glenn Morris <rgm@gnu.org>
11027
56632ce4
GM
11028 * progmodes/executable.el
11029 (executable-make-buffer-file-executable-if-script-p):
11030 Handle file-modes returning nil.
11031
40500957
GM
11032 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11033 message - not necessary, and causes problems. (Bug#9831)
11034
071c2340
GM
11035 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11036
d3cfca60
GM
11037 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11038
71e027ac
GM
11039 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11040 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11041 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11042
89d61221
MR
110432011-11-12 Martin Rudalics <rudalics@gmx.at>
11044
11045 * window.el (window-resize, delete-window): Use window-splits
11046 variable instead of function.
11047 (window-state-get-1, window-state-put-2, window-state-put):
11048 Don't deal with windows' splits status.
11049
98282f6f
GM
110502011-11-12 Glenn Morris <rgm@gnu.org>
11051
11052 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11053 (apropos-documentation): Doc fixes.
11054
40a8bdf6
JB
110552011-11-11 Juanma Barranquero <lekktu@gmail.com>
11056
11057 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11058 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11059
65bd19ff
SM
110602011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * electric.el (electric-indent-post-self-insert-function): Make it
11063 possible for a char to only indent in some circumstances.
11064 (electric-indent-mode): Simplify.
11065
54f9154c
MR
110662011-11-11 Martin Rudalics <rudalics@gmx.at>
11067
11068 * window.el (windows-with-parameter): Remove unused function.
11069 (windows-at-side): Rename to window-at-side-list.
11070 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11071 (window-side-check, window-size-ignore, window-size-fixed-1)
11072 (window-in-direction-2): Prefix with "window--".
11073 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11074
68cbc58b
GM
110752011-11-11 Glenn Morris <rgm@gnu.org>
11076
11077 * subr.el (eval-after-load): If FILE is already loaded,
11078 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11079
b2621720
GM
110802011-11-10 Glenn Morris <rgm@gnu.org>
11081
9a4de110
GM
11082 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11083 Call svn via vc-svn-command rather than vc-do-command.
11084 (vc-svn-command): Add --non-interactive. (Bug#9993)
11085 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11086
b2621720
GM
11087 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11088 Add toggle-read-only. (Bug#7292)
11089 * files.el (toggle-read-only): Mention that it should only
11090 be used interactively. (Bug#10006)
11091
1dce7193
SM
110922011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11093
d9ac1a1e
SM
11094 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11095 Adjust regexp for OCaml warnings.
11096
0c325082
SM
11097 * electric.el (electric-pair-post-self-insert-function): Let user
11098 turn it off buffer-locally (bug#9932).
11099
90132c14
SM
11100 * progmodes/python.el (python-beginning-of-statement):
11101 Rewrite (bug#2703).
11102
1dce7193
SM
11103 * progmodes/compile.el: Better handle TABs (bug#9749).
11104 (compilation-internal-error-properties)
11105 (compilation-next-error-function): Obey the target buffer's
11106 compilation-error-screen-columns.
11107
c4e7c63a
JB
111082011-11-09 Juanma Barranquero <lekktu@gmail.com>
11109
11110 * progmodes/meta-mode.el: Remove obsolete comments.
11111 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11112 Fix typos in docstrings.
11113
2cffd681
MR
111142011-11-09 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11117 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11118 (window--resizable): New function. Make all callers of
11119 window-resizable call window--resizable instead.
11120 (window-resizable): Rewrite in terms of window--resizable.
11121
0edcba87
GM
111222011-11-08 Glenn Morris <rgm@gnu.org>
11123
11124 * progmodes/delphi.el (delphi-mode-syntax-table):
11125 Let define-derived-mode define a proper syntax table. (Bug#9994)
11126
4b0d61e3
SM
111272011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * window.el: Stay away from defsubst.
11130 (window-list-no-nils): Remove.
11131 (window-state-get-1, window-state-get): Use backquote instead.
11132
cd394be1 111332011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11134
4b0d61e3 11135 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11136 Fix incorrect use of default argument in `completing-read'.
11137
e1c2c6f2
MR
111382011-11-08 Martin Rudalics <rudalics@gmx.at>
11139
11140 * window.el (display-buffer-function, special-display-function):
11141 Mention display-buffer-record-window but do not mention
11142 help-setup parameter in doc-strings.
b3f4a882 11143 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11144
105216ed
CY
111452011-11-08 Chong Yidong <cyd@gnu.org>
11146
11147 * window.el (window-total-height, window-total-width): Doc fix.
11148 (window-body-size): Move from C.
11149 (window-body-height, window-body-width): Move to C.
11150
0a9f9ab5
SM
111512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * window.el: Make special-display like display-buffer-alist (bug#9532).
11154 (display-buffer--special-action): New function, morphed
11155 from display-buffer--special.
11156 (display-buffer): Use it to handle special-display-buffers at higher
11157 priority (just after display-buffer-alist).
11158 (display-buffer-fallback-action, display-buffer--other-frame-action)
11159 (pop-to-buffer-same-window): Remove display-buffer--special.
11160
a769dd15
GM
111612011-11-07 Glenn Morris <rgm@gnu.org>
11162
11163 * calendar/cal-menu.el (cal-menu-set-date-title):
11164 Do nothing if not in a calendar. (Bug#9976)
11165
05a61ee3
SM
111662011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * files.el (find-file): Always use selected-window.
11169
be7f5545
MR
111702011-11-07 Martin Rudalics <rudalics@gmx.at>
11171
11172 * window.el (window-combinations): Make WINDOW argument
11173 mandatory. Rewrite doc-string.
11174 (walk-window-subtree, window-atom-check, window-min-delta)
11175 (window-max-delta, window--resize-this-window)
11176 (window--resize-root-window-vertically, window-tree)
11177 (balance-windows, window-state-put): Rewrite doc-strings as to
11178 not mention the term "subwindow".
11179 (window--resize-subwindows-skip-p): Rename to
11180 window--resize-child-windows-skip-p.
11181 (window--resize-subwindows-normal): Rename to
11182 window--resize-child-windows-normal.
11183 (window--resize-subwindows): Rename to
11184 window--resize-child-windows.
11185 (window-or-subwindow-p): Rename to window--in-subtree-p.
11186
3c6702ef
ML
111872011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11188
11189 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11190 Ensure that mbox format messages end in two newlines (Bug#9974).
11191
49745b39
CY
111922011-11-06 Chong Yidong <cyd@gnu.org>
11193
11194 * window.el (window-combination-p): Function deleted; its
11195 side-effect is not used in any existing code.
11196 (window-combinations, window-combined-p): Call window-*-child
11197 directly.
11198
24300f5f
CY
111992011-11-05 Chong Yidong <cyd@gnu.org>
11200
11201 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11202 (window-size-ignore, window-state-get): Callers changed.
11203 (window-normalize-window): Rename from window-normalize-any-window.
11204 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11205 (window-normalize-live-window): Delete.
447f16b8
CY
11206 (window-combination-p, window-combined-p, window-combinations)
11207 (walk-window-subtree, window-atom-root, window-min-size)
11208 (window-sizable, window-sizable-p, window-size-fixed-p)
11209 (window-min-delta, window-max-delta, window-resizable)
11210 (window-resizable-p, window-full-height-p, window-full-width-p)
11211 (window-current-scroll-bars, window-point-1, set-window-point-1)
11212 (window-at-side-p, window-in-direction, window-resize)
11213 (adjust-window-trailing-edge, maximize-window, minimize-window)
11214 (window-deletable-p, delete-window, delete-other-windows)
11215 (record-window-buffer, unrecord-window-buffer)
11216 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11217 (quit-window, split-window, window-state-put)
11218 (set-window-text-height, fit-window-to-buffer)
11219 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11220
89bd5ee1
EZ
112212011-11-04 Eli Zaretskii <eliz@gnu.org>
11222
53479029
EZ
11223 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11224 rfc2047-decode-string.
11225 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11226 warnings.
11227
89bd5ee1
EZ
11228 * window.el (window-body-height, window-body-width): Mention in
11229 the doc string that the return values are in frame's canonical
11230 units. (Bug#9949)
11231
bd17fdee
AM
112322011-11-03 Alan Mackenzie <acm@muc.de>
11233
11234 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11235 change in cc-engine.el.
11236
acc825c5
SM
112372011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11240
1885e5b8
MR
112412011-11-02 Martin Rudalics <rudalics@gmx.at>
11242
11243 * window.el (quit-window): Call unrecord-window-buffer after
11244 showing another buffer in the window. (Bug#9937)
acc825c5 11245 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11246
ebe06da9
JB
112472011-11-02 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11250 Accept status with more than 9 shelves. (Bug#9935)
11251 Reported by Colin D Bennett <colin@gibibit.com>.
11252
4ee88440
MR
112532011-11-01 Martin Rudalics <rudalics@gmx.at>
11254
11255 * help.el (with-help-window): Don't reference
11256 temp-buffer-show-specifiers in doc-string.
11257
08e1d82c
AS
112582011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11259
11260 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11261 menu-item.
11262
84bd6e9e
VJL
112632011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11264
11265 * whitespace.el: New version 13.2.2.
11266 (whitespace-newline-mode): Disable properly. Reported by Sarah
11267 <EmacsWiki>.
11268
dba0634a
UJ
112692011-10-30 Ulf Jasper <ulf.jasper@web.de>
11270
11271 * net/newst-treeview.el: Remove "Time-stamp".
11272 (newsticker--group-manage-orphan-feeds): Do not call
11273 newsticker--treeview-tree-update.
db22a3c2
JB
11274 (newsticker-treeview-update, newsticker-treeview):
11275 Call newsticker--treeview-tree-update if necessary.
dba0634a 11276
3d8daefe
MR
112772011-10-30 Martin Rudalics <rudalics@gmx.at>
11278
11279 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11280 (window-iso-combinations): Remove "iso-" infix.
11281 Suggested by Chong Yidong.
3d8daefe
MR
11282 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11283 (window-max-delta-1, window-resize, window--resize-siblings)
11284 (window--resize-this-window, adjust-window-trailing-edge)
11285 (split-window, balance-windows-1)
11286 (shrink-window-if-larger-than-buffer):
11287 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11288 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11289
1bc4c3ae
SM
112902011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11293 in place (bug#9907).
11294 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11295 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11296 (eshell-structure-basic-command, eshell-rewrite-while-command)
11297 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11298 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11299 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11300 (eshell-do-pipelines-synchronously, eshell-eval-command):
11301 Use backquotes and prefer setq to set.
11302 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11303 (eshell-macrop): Use functionp.
c1e2f5fa 11304 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11305
30b65d9c
CY
113062011-10-30 Chong Yidong <cyd@gnu.org>
11307
11308 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11309 instead of set-mark (Bug#9810).
11310
2d197ffb
CY
113112011-10-30 Chong Yidong <cyd@gnu.org>
11312
11313 * window.el (split-window-below, split-window-right): Rename from
11314 split-window-above-each-other and split-window-side-by-side
11315 respectively. All callers changed.
11316 (split-window-sensibly, split-window-sensibly): Use them.
11317 (split-window-keep-point): Doc fix.
11318
11319 * isearch.el: Add isearch-scroll property to split-window-below
11320 and split-window-right.
11321
11322 * follow.el (follow-mode):
11323 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11324 * progmodes/ada-xref.el (ada-gdb-application):
11325 * emulation/vip.el (vip-buffer-in-two-windows):
11326 * image-dired.el (image-dired-dired-with-window-configuration):
11327 * dired-x.el (dired-do-find-marked-files):
11328 * dired.el (dired-pop-to-buffer):
11329 * bs.el (bs--show-with-configuration):
11330 * vc/emerge.el (emerge-setup-windows):
11331 * textmodes/two-column.el (2C-two-columns):
11332 * textmodes/reftex-toc.el (reftex-toc):
11333 * progmodes/gdb-mi.el (gdb-setup-windows):
11334 * progmodes/fortran.el (fortran-window-create):
11335 * net/newst-treeview.el (newsticker--treeview-window-init):
11336 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11337 * emulation/tpu-edt.el (tpu-gold-map):
11338 * emulation/crisp.el (crisp-mode-map):
11339 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11340
38bb2ca8
CY
113412011-10-29 Chong Yidong <cyd@gnu.org>
11342
aa4de341
CY
11343 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11344
e1eb5385
CY
11345 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11346
5d2ece3c
CY
11347 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11348 forged Ispell output (Bug#7904).
11349
38bb2ca8
CY
11350 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11351
d0af9f77
SM
113522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * doc-view.el: Avoid ugly errors about not finding nil.
11355 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11356 (doc-view-dvipdf-program, doc-view-unoconv-program)
11357 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11358 Avoid nil or absolute file name as default value.
11359 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11360
52bedd34
AM
113612011-10-28 Alan Mackenzie <acm@muc.de>
11362
db22a3c2 11363 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11364
7e43cfa5
AM
113652011-10-28 Alan Mackenzie <acm@muc.de>
11366
11367 Amend the handling of c-beginning/end-of-defun in nested declaration
11368 scopes.
11369
52bedd34
AM
11370 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11371 cc-langs.el. Change it to a defcustom.
7e43cfa5 11372
52bedd34
AM
11373 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11374 cc-vars.el.
7e43cfa5 11375
d0af9f77
SM
11376 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11377 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11378
52bedd34 11379 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11380 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11381 (c-widen-to-enclosing-decl-scope): New function.
11382 (c-while-widening-to-decl-block): New macro.
11383 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11384 outward for defun boundaries, and correspondingly change symbol
11385 `respect-enclosure' to `go-outward'.
11386 (c-declaration-limits): Change algorithm to report only the "innermost"
11387 defun's boundaries.
11388
1a2ce9ee
DD
113892011-10-28 Deniz Dogan <deniz@dogan.se>
11390
11391 * net/rcirc.el (rcirc-mode): Use hard newlines.
11392
bc97a826
AM
113932011-10-28 Alan Mackenzie <acm@muc.de>
11394
11395 Amend to indent and fontify macros "which include their own semicolon"
11396 correctly, using the "virtual semicolon" mechanism.
11397
52bedd34 11398 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11399
d0af9f77 11400 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11401 Recode to scan one line at a time rather than having \n and \r
58179cce 11402 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11403 (c-forward-label): Amend for virtual semicolons.
58179cce 11404 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11405
52bedd34
AM
11406 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11407 of the new C macros.
bc97a826 11408
52bedd34 11409 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11410 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11411 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11412 (c-opt-cpp-macro-define): Make into a full language variable.
11413 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11414 AWK Mode (including \n, \r) removed, no longer needed.
11415
d0af9f77
SM
11416 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11417 Invoke c-make-macro-with-semi-re.
bc97a826 11418
52bedd34
AM
11419 * progmodes/cc-vars.el (c-macro-with-semi-re):
11420 (c-macro-names-with-semicolon): New variables.
58179cce 11421 (c-make-macro-with-semi-re): New function.
bc97a826 11422
7a6c0941
SM
114232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11424
11425 * vc/log-edit.el: Fill empty field rather than adding new one.
11426 (log-edit-add-field): New function.
11427 (log-edit-insert-changelog): Use it.
11428
b0c4cdcf
ML
114292011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11430
11431 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11432
ee1f1da9
SM
114332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11436 (gdb--check-interpreter): New function.
11437 (gdb): Use it.
11438
51bc5f8b
GM
114392011-10-27 Glenn Morris <rgm@gnu.org>
11440
416a2c45
GM
11441 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11442 (least-positive-float, least-negative-float)
11443 (least-positive-normalized-float, least-negative-normalized-float)
11444 (float-epsilon, float-negative-epsilon):
11445 Remove unnecessary declarations.
11446
11447 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11448 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11449 (least-positive-float, least-negative-float)
11450 (least-positive-normalized-float, least-negative-normalized-float)
11451 (float-epsilon, float-negative-epsilon): Add doc-strings,
11452 based on those in cl.texi.
11453
51bc5f8b
GM
11454 * files.el (set-visited-file-name): If the major-mode changed,
11455 reload the local variables. (Bug#9796)
11456
15de15c6
CY
114572011-10-27 Chong Yidong <cyd@gnu.org>
11458
11459 * subr.el (change-major-mode-after-body-hook): New hook.
11460 (run-mode-hooks): Run it.
11461
ee1f1da9
SM
11462 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11463 Use change-major-mode-before-body-hook.
15de15c6
CY
11464
11465 * simple.el (fundamental-mode):
11466 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11467 change introducing fundamental-mode-hook.
11468
5430d399
JB
114692011-10-26 Juanma Barranquero <lekktu@gmail.com>
11470
acc825c5 11471 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11472
ad74a69e
MA
114732011-10-26 Michael Albinus <michael.albinus@gmx.de>
11474
11475 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11476 tramp.el explicitly. (Bug#7583)
ad74a69e 11477
71d4c2a5
SM
114782011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * progmodes/octave-mod.el:
11481 * progmodes/octave-inf.el: Update maintainer.
11482
b1f6fa26
CY
114832011-10-26 Chong Yidong <cyd@gnu.org>
11484
11485 * subr.el (with-wrapper-hook): Rewrite doc.
11486
3f04efd6
MA
114872011-10-25 Michael Albinus <michael.albinus@gmx.de>
11488
11489 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11490 filenames "/method:foo:". (Bug#9793)
3f04efd6 11491
410488d3
SM
114922011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11493
11494 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11495 (bug#9865).
11496
c1ebb47e
GM
114972011-10-24 Glenn Morris <rgm@gnu.org>
11498
11499 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11500
7f5c46c7
MA
115012011-10-24 Michael Albinus <michael.albinus@gmx.de>
11502
11503 * notifications.el: Add the requirement of a running D-Bus session
11504 bus to the Commentary.
11505
db2440b6
JL
115062011-10-24 Juri Linkov <juri@jurta.org>
11507
11508 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11509 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11510 (Bug#9364)
11511
feecf435
JL
115122011-10-24 Juri Linkov <juri@jurta.org>
11513
11514 * info.el (Info-following-node-name-re): Add newline to the list
11515 of allowed characters for leading space. (Bug#9824)
11516
a3839de2
SM
115172011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11518
acc825c5
SM
11519 * progmodes/octave-inf.el (inferior-octave-mode-map):
11520 Fix C-c C-h binding.
a3839de2
SM
11521 * progmodes/octave-mod.el (octave-help): Remove.
11522
09388e76
MA
115232011-10-23 Michael Albinus <michael.albinus@gmx.de>
11524
11525 Sync with Tramp 2.2.3.
11526
11527 * net/tramp-cache.el (top): Pacify byte-compiler using
11528 `init-file-user' and `site-run-file'.
11529
11530 * net/trampver.el: Update release number.
11531
86c60681
CY
115322011-10-23 Chong Yidong <cyd@gnu.org>
11533
11534 * files.el (toggle-read-only): Remove obsolete comment about
11535 version control.
11536
11537 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11538 for toggle-read-only. Note that this hasn't called vc-next-action
11539 since 2008-05-02, though it wasn't documented at the time.
11540
a3839de2
SM
11541 * vc/ediff-init.el (ediff-toggle-read-only-function):
11542 Use toggle-read-only.
86c60681 11543
cd5495ff
AM
115442011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11545
11546 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11547 of c-parse-state.
11548
00b77525 11549 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11550 correct faulty logical expression.
cd5495ff
AM
11551 (c-parse-state-state, c-record-parse-state-state):
11552 (c-replay-parse-state-state): New defvar/defuns.
11553 (c-debug-parse-state): Use new functions.
11554
42ee24ed
MR
115552011-10-22 Martin Rudalics <rudalics@gmx.at>
11556
11557 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11558 last fix. Use window-in-direction correctly.
42ee24ed 11559
a7dee7e7
CY
115602011-10-21 Chong Yidong <cyd@gnu.org>
11561
11562 * progmodes/idlwave.el (idlwave-mode):
11563 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11564 require-final-newline; that's done in prog-mode.
11565 Suggested by Stefan Monnier.
a7dee7e7 11566
e07b9a6d
MR
115672011-10-21 Martin Rudalics <rudalics@gmx.at>
11568
11569 * mouse.el (mouse-drag-window-above)
11570 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11571 (mouse-drag-mode-line-1, mouse-drag-header-line)
11572 (mouse-drag-vertical-line-rightward-window): Remove.
11573 (mouse-drag-line): New function.
11574 (mouse-drag-mode-line, mouse-drag-header-line)
11575 (mouse-drag-vertical-line): Call mouse-drag-line.
11576 * window.el (window-at-side-p, windows-at-side): New functions.
11577
7e1361d9
UM
115782011-10-21 Ulrich Mueller <ulm@gentoo.org>
11579
11580 * tar-mode.el (tar-grind-file-mode):
11581 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11582
30fcaf3a
CY
115832011-10-21 Chong Yidong <cyd@gnu.org>
11584
11585 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11586 * progmodes/vera-mode.el (vera-mode):
11587 Use mode-require-final-newline.
30fcaf3a 11588
516eddb0
GM
115892011-10-20 Glenn Morris <rgm@gnu.org>
11590
db22a3c2 11591 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11592
10d5f513
CS
115932011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11594
11595 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11596
ac6c8639
CY
115972011-10-20 Chong Yidong <cyd@gnu.org>
11598
11599 * emulation/cua-base.el (cua-mode):
11600 * mail/footnote.el (footnote-mode):
11601 * mail/mailabbrev.el (mail-abbrevs-mode):
11602 * net/xesam.el (xesam-minor-mode):
11603 * progmodes/bug-reference.el (bug-reference-mode):
11604 * progmodes/cap-words.el (capitalized-words-mode):
11605 * progmodes/compile.el (compilation-minor-mode)
11606 (compilation-shell-minor-mode):
11607 * progmodes/gud.el (gud-tooltip-mode):
11608 * progmodes/hideif.el (hide-ifdef-mode):
11609 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11610 * progmodes/subword.el (subword-mode):
11611 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11612 * progmodes/which-func.el (which-function-mode):
11613 * term/tvi970.el (tvi970-set-keypad-mode):
11614 * term/vt100.el (vt100-wide-mode):
11615 * textmodes/flyspell.el (flyspell-mode):
11616 * textmodes/ispell.el (ispell-minor-mode):
11617 * textmodes/nroff-mode.el (nroff-electric-mode):
11618 * textmodes/paragraphs.el (use-hard-newlines):
11619 * textmodes/refill.el (refill-mode):
11620 * textmodes/reftex.el (reftex-mode):
11621 * textmodes/rst.el (rst-minor-mode):
11622 * textmodes/sgml-mode.el (html-autoview-mode)
11623 (sgml-electric-tag-pair-mode):
11624 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11625 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11626 * emulation/crisp.el (crisp-mode):
11627 * emacs-lisp/eldoc.el (eldoc-mode):
11628 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11629 minor mode behavior.
11630
aa42ab43
JL
116312011-10-19 Juri Linkov <juri@jurta.org>
11632
11633 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11634 the list of hard-coded chars with escape-glyph face.
11635
89400f1d
SM
116362011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11639
305c07f6
MA
116402011-10-19 Michael Albinus <michael.albinus@gmx.de>
11641
11642 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11643 running process.
11644
13754b54
GM
116452011-10-19 Glenn Morris <rgm@gnu.org>
11646
11647 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11648 Ignore ignored files. (Bug#9726)
11649
06e21633
CY
116502011-10-19 Chong Yidong <cyd@gnu.org>
11651
11652 Doc fix for minor modes, stating that an omitted argument enables
11653 the mode unconditionally when called from Lisp.
11654
11655 * abbrev.el (abbrev-mode):
11656 * allout.el (allout-mode):
11657 * autoinsert.el (auto-insert-mode):
11658 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11659 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11660 (global-auto-revert-mode):
11661 * battery.el (display-battery-mode):
11662 * composite.el (global-auto-composition-mode)
11663 (auto-composition-mode):
11664 * delsel.el (delete-selection-mode):
11665 * desktop.el (desktop-save-mode):
11666 * dired-x.el (dired-omit-mode):
11667 * dirtrack.el (dirtrack-mode):
11668 * doc-view.el (doc-view-minor-mode):
11669 * double.el (double-mode):
11670 * electric.el (electric-indent-mode, electric-pair-mode):
11671 * emacs-lock.el (emacs-lock-mode):
11672 * epa-hook.el (auto-encryption-mode):
11673 * follow.el (follow-mode):
11674 * font-core.el (font-lock-mode):
11675 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11676 * help.el (temp-buffer-resize-mode):
11677 * hilit-chg.el (highlight-changes-mode)
11678 (highlight-changes-visible-mode):
11679 * hi-lock.el (hi-lock-mode):
11680 * hl-line.el (hl-line-mode, global-hl-line-mode):
11681 * icomplete.el (icomplete-mode):
11682 * ido.el (ido-everywhere):
11683 * image-file.el (auto-image-file-mode):
11684 * image-mode.el (image-minor-mode):
11685 * iswitchb.el (iswitchb-mode):
11686 * jka-cmpr-hook.el (auto-compression-mode):
11687 * linum.el (linum-mode):
11688 * longlines.el (longlines-mode):
11689 * master.el (master-mode):
11690 * mb-depth.el (minibuffer-depth-indicate-mode):
11691 * menu-bar.el (menu-bar-mode):
11692 * minibuf-eldef.el (minibuffer-electric-default-mode):
11693 * mouse-sel.el (mouse-sel-mode):
11694 * msb.el (msb-mode):
11695 * mwheel.el (mouse-wheel-mode):
11696 * outline.el (outline-minor-mode):
11697 * paren.el (show-paren-mode):
11698 * recentf.el (recentf-mode):
11699 * reveal.el (reveal-mode, global-reveal-mode):
11700 * rfn-eshadow.el (file-name-shadow-mode):
11701 * ruler-mode.el (ruler-mode):
11702 * savehist.el (savehist-mode):
11703 * scroll-all.el (scroll-all-mode):
11704 * scroll-bar.el (scroll-bar-mode):
11705 * server.el (server-mode):
11706 * shell.el (shell-dirtrack-mode):
11707 * simple.el (auto-fill-mode, transient-mark-mode)
11708 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11709 (line-number-mode, column-number-mode, size-indication-mode)
11710 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11711 * strokes.el (strokes-mode):
11712 * time.el (display-time-mode):
11713 * t-mouse.el (gpm-mouse-mode):
11714 * tool-bar.el (tool-bar-mode):
11715 * tooltip.el (tooltip-mode):
11716 * type-break.el (type-break-mode-line-message-mode)
11717 (type-break-query-mode):
11718 * view.el (view-mode):
11719 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11720 (global-whitespace-mode, global-whitespace-newline-mode):
11721 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11722
a3839de2
SM
11723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11724 Fix autogenerated docstring.
06e21633 11725
5214e501
JL
117262011-10-19 Juri Linkov <juri@jurta.org>
11727
11728 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11729 by checking environment variables "DESKTOP_SESSION" and
11730 "XDG_CURRENT_DESKTOP". (Bug#9779)
11731
195f8db9
JL
117322011-10-19 Juri Linkov <juri@jurta.org>
11733
11734 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11735 (browse-url-chromium-program, browse-url-chromium-arguments):
11736 New defcustoms.
11737 (browse-url-default-browser): Check for `browse-url-chromium' and
11738 call `browse-url-chromium-program'.
11739 (browse-url-chromium): New command. (Bug#9779)
11740
343a34ff
JB
117412011-10-18 Juanma Barranquero <lekktu@gmail.com>
11742
11743 * facemenu.el (list-colors-duplicates): On Windows, detect more
11744 duplicates by assuming that only colors matching "^System" are
11745 special "system colors". (Bug#9722)
11746
6978a151
SM
117472011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11750 to distinguish the author from the committer.
11751
6a80b297
MA
117522011-10-18 Michael Albinus <michael.albinus@gmx.de>
11753
11754 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11755
b31a5677
JK
117562011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11757
11758 * international/mule.el (sgml-html-meta-auto-coding-function):
11759 Add support for detecting encoding in HTML5 specified only as
11760 <meta charset="UTF-8">. Implementation just makes http-equiv and
11761 content-type parts from HTML4 encoding string optional. (Bug#9716)
11762
80c6d77f
GM
117632011-10-18 Glenn Morris <rgm@gnu.org>
11764
11765 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11766
08b0fee8
CY
117672011-10-18 Chong Yidong <cyd@gnu.org>
11768
11769 * faces.el (cursor): Doc fix.
11770
67e729a5
CY
117712011-10-17 Chong Yidong <cyd@gnu.org>
11772
11773 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11774
343a34ff 117752011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11776
11777 * dirtrack.el (dirtrack): Support shell buffers with path
11778 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11779
0bc06380
TZ
117802011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11781
11782 * json.el: Bump version to 1.3 and note change in History.
11783 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11784
8b79f3e0
SM
117852011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11786
5a7c536b
SM
11787 * comint.el (comint-insert-input, comint-send-input)
11788 (comint-get-old-input-default, comint-backward-matching-input)
11789 (comint-next-prompt): Use nil instead of `input' for field property of
11790 past user input (bug#114).
11791
96a8a0df
SM
11792 * minibuffer.el (completion--replace): Inherit surrounding properties
11793 (bug#114).
11794 (minibuffer-complete-and-exit): Use it.
11795
8b79f3e0
SM
11796 * comint.el (comint--table-subvert): Quote the all-completions output
11797 (bug#9160).
11798
b8f7ff0d
MR
117992011-10-17 Martin Rudalics <rudalics@gmx.at>
11800
8b79f3e0 11801 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11802
b8f7ff0d 11803 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11804 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11805 entries and separate them from frame entries.
11806
c235b555
GM
118072011-10-15 Glenn Morris <rgm@gnu.org>
11808
11809 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11810 Doc fixes.
11811
6bbfa6e1
CY
118122011-10-15 Chong Yidong <cyd@stupidchicken.com>
11813
8b79f3e0
SM
11814 * net/network-stream.el (network-stream-open-starttls):
11815 Improve detection of failure due to lack of TLS support.
ec5c990d 11816
6bbfa6e1
CY
11817 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11818 putting the input text in front and in bold.
11819
98488977
SM
118202011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11821
3d1337be
SM
11822 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11823
ee0b45e4
SM
11824 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11825 empty buffer.
11826
98488977
SM
11827 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11828 unread-command-events rather than pushing yet-another event.
11829
186f4720
EZ
118302011-10-14 Eli Zaretskii <eliz@gnu.org>
11831
11832 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11833 the explanation of the possible choices. Make the options passed
11834 to completing-read shorter.
11835
8b7a997c
AM
118362011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11837
11838 * textmodes/flyspell.el (flyspell-large-region): Make sure
11839 extended character mode is used if defined (Bug#1339).
11840
12587bbb
EZ
118412011-10-13 Eli Zaretskii <eliz@gnu.org>
11842
11843 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11844 character info for LRE, LRO, RLE, and RLO characters by appending
11845 an invisible PDF.
12587bbb 11846
bad41229
SM
118472011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11850 even in case of error; add debug spec; simplify data flow.
11851 (with-timeout-handler): Remove.
11852
28dbc92f
MA
118532011-10-12 Michael Albinus <michael.albinus@gmx.de>
11854
11855 Fix Bug#6019, Bug#9315.
11856
11857 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11858 complete `buffer-file-name', the local file name part could look
11859 remotely (for example on VMS).
11860
11861 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11862 `tramp-run-real-handler'.
11863 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11864 already quoted by '"'.
11865
11866 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11867 Let `file-name-handler-alist' be nil, the local file name part
11868 could look remotely (for example on VMS).
11869
e1b0b23a
SM
118702011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11873 from here...
11874 (flyspell-post-command-hook): ...to here.
11875
a120bde9
SM
118762011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11879 if not needed.
11880 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11881 using completion. Protect against "slow" callers.
11882 Remove the "message hack".
11883
7ce7717b
JL
118842011-10-11 Juri Linkov <juri@jurta.org>
11885
11886 * isearch.el (isearch-lazy-highlight-word): New variable.
11887 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11888 Use it. (Bug#9727)
11889
c02ee9d6
GM
118902011-10-11 Glenn Morris <rgm@gnu.org>
11891
11892 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11893 like f90-previous-statement does.
11894
93e616fd 118952011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11896
1f190e73 11897 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11898 only in interactive use, to avoid error.
11899
af7b6078
SM
119002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * minibuffer.el (completion-file-name-table): Fix last change,
11903 i.e. ignore normal errors but not the other ones.
11904
0563dae9
MR
119052011-10-10 Martin Rudalics <rudalics@gmx.at>
11906
11907 * window.el (special-display-buffer-names)
11908 (special-display-regexps): Remove some remnants of earlier
11909 changes from doc-strings.
366ca7f3
MR
11910 (quit-windows-on): New function.
11911
11912 * vc/vc.el (vc-revert, vc-rollback):
11913 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11914 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11915 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11916
49677495
MR
119172011-10-09 Martin Rudalics <rudalics@gmx.at>
11918
11919 * window.el (frame-auto-hide-function): Add version tag.
11920 (Bug#9699)
11921
56f2d1e1
MA
119222011-10-09 Michael Albinus <michael.albinus@gmx.de>
11923
11924 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11925 condition.
11926
112a6592
LL
119272011-10-09 Leo Liu <sdl.web@gmail.com>
11928
11929 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11930 (Bug#9701)
11931
0812589b
GM
119322011-10-08 Glenn Morris <rgm@gnu.org>
11933
11934 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11935 before the first code statement zero indent. (Bug#9690)
11936
b2b0776e
CY
119372011-10-08 Chong Yidong <cyd@stupidchicken.com>
11938
11939 * simple.el (count-words-region): Always count in the region.
11940 Report the number of lines and characters too.
11941 (count-words): New command, which counts in the buffer if the
11942 region is inactive, as count-words-region used to.
11943 (count-words--message): New function. Handle plurals.
11944 (count-lines-region): Make it an alias for count-words-region.
11945
11946 * bindings.el (esc-map): Replace count-lines-region with
11947 count-words-region.
11948
c557cd6b
MR
119492011-10-08 Martin Rudalics <rudalics@gmx.at>
11950
11951 * window.el (window--delete): Delete dedicated frame
11952 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11953 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11954
61a57ef4 119552011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11956
3a7d293b 11957 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11958
c3833279
CY
119592011-10-07 Chong Yidong <cyd@stupidchicken.com>
11960
11961 * bindings.el ([M-left],[M-right]): Bind to left-word and
11962 right-word respectively.
11963
21ce8245
GM
119642011-10-07 Glenn Morris <rgm@gnu.org>
11965
11966 * cus-start.el (debug-on-quit): Fix custom type.
11967
6d823bb2
LMI
119682011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11969
0181e193
LMI
11970 * subr.el (define-key-after): Clarify that the function is not
11971 useful for non-menu keymaps.
11972
6d823bb2
LMI
11973 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11974
8e3459ce 119752011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11976
21ce8245 11977 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11978 in current minibuffer (Fix bug with recursive minibuffers).
11979
a1c2d21e
CY
119802011-10-06 Chong Yidong <cyd@stupidchicken.com>
11981
11982 * progmodes/gdb-mi.el (gdb): Doc fix.
11983
5a4cf282
MR
119842011-10-05 Martin Rudalics <rudalics@gmx.at>
11985
11986 * window.el (frame-auto-hide-function): New option replacing
11987 frame-auto-delete. Suggested by Stefan Monnier.
11988 (window--delete): Call frame-auto-hide-function instead of
11989 investigating frame-auto-delete.
c96111ea
MR
11990 (window-point-1, set-window-point-1): New functions.
11991 (window-in-direction, record-window-buffer, window-state-get-1)
11992 (display-buffer-record-window): Use window-point-1 instead of
11993 window-point.
11994 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11995
9854542e
SM
119962011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11999
8943cfb0
GM
120002011-10-05 Glenn Morris <rgm@gnu.org>
12001
12002 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12003 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12004
647ab967
LL
120052011-10-05 Leo Liu <sdl.web@gmail.com>
12006
12007 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12008 works with buffer object.
12009
3ddfbced
SM
120102011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * mpc.el (mpc-tool-bar-map): Add labels.
12013
bdfa5dd2
GM
120142011-10-04 Glenn Morris <rgm@gnu.org>
12015
12016 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12017
0e2070b5
MR
120182011-10-04 Martin Rudalics <rudalics@gmx.at>
12019
12020 * window.el (window--delete): New function.
12021 (frame-auto-delete): Resuscitate option.
12022 (bury-buffer, replace-buffer-in-windows)
12023 (quit-window): Rewrite using window--delete.
12024 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12025 Pass display-buffer-mark-dedicated to window--display-buffer-2
12026 (Bug#9639).
12027
3dc61a09
SM
120282011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12029
915a9b64
SM
12030 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12031 returns a list (bug#9554). Add remote file name completion.
12032 * comint.el (comint--table-subvert): Curry and get quote&unquote
12033 functions as arguments.
12034 (comint--complete-file-name-data): Adjust call accordingly.
12035 * pcomplete.el (pcomplete--table-subvert): Remove.
12036 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12037
3dc61a09
SM
12038 * minibuffer.el (completion-table-case-fold): Use currying.
12039 (completion--styles-type, completion--cycling-threshold-type):
12040 New constants.
12041 (completion-styles, completion-category-overrides)
12042 (completion-cycle-threshold): Use them.
12043 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12044 completion-table-case-fold.
12045
8ea0a993
SB
120462011-10-03 Stephen Berman <stephen.berman@gmx.net>
12047
12048 * minibuffer.el (completion-category-overrides): Fix type of styles
12049 and add more user friendly tags (bug#9660).
12050
8c24b7f6
SM
120512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12054 (mule-input-method-string): New widget.
12055 (default-input-method, language-info-custom-alist): Use it.
12056
428fe61a
SM
120572011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12058
32c1fffd
SM
12059 * pcomplete.el: Require comint.
12060 (pcomplete--common-suffix): Remove.
12061 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12062 (pcomplete--table-subvert): Sync with comint--table-subvert.
12063 (pcomplete--entries): Use comint-completion-file-name-table.
12064 * comint.el (comint-unquote-filename): Simplify.
12065 (comint-completion-file-name-table): New function (bug#9616).
12066 (comint--complete-file-name-data): Use it.
12067
428fe61a
SM
12068 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12069 (pcmpl-gnu-tar-buffer): Remove.
12070 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12071 around. Make sure pcomplete-suffix-list is only changed temporarily.
12072 Don't look inside the tar's file if it's too large.
428fe61a 12073
04c52e2f
CY
120742011-10-01 Chong Yidong <cyd@stupidchicken.com>
12075
ce3cefcc
CY
12076 * cus-edit.el (custom-mode-map):
12077 * epa.el (epa-key-list-mode-map):
12078 * man.el (Man-mode-map):
12079 * startup.el (splash-screen-keymap):
12080 * simple.el (special-mode-map): Use scroll-up-command and
12081 scroll-down-command.
12082
12083 * progmodes/idlw-help.el (idlwave-help-mode-map):
12084 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12085 * net/newst-plainview.el (newsticker-mode-map):
12086 * emulation/ws-mode.el (wordstar-mode-map):
12087 * emulation/vi.el (vi-com-map):
12088 * calc/calc-graph.el (calc-graph-show-dumb):
12089 * term/sun.el (terminal-init-sun):
12090 * term/ns-win.el (global-map):
12091 * progmodes/grep.el (grep-mode-map):
12092 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12093 * mail/rmail.el (rmail-mode-map):
12094 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12095
04c52e2f
CY
12096 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12097 custom-safe-themes as special.
12098
79adf8c8
JD
120992011-10-01 Julien Danjou <julien@danjou.info>
12100
12101 * notifications.el (notifications-notify): Fix docstring.
12102
63bd50d3
PS
121032011-10-01 Per Starbäck <per@starback.se>
12104
12105 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12106
199e4c7e
MR
121072011-09-30 Martin Rudalics <rudalics@gmx.at>
12108
12109 * startup.el (command-line-1): Fix last fix by inserting
12110 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12111 (Bug#9605) and (Bug#9636)
199e4c7e 12112
fe5f08dd
EZ
121132011-09-29 Eli Zaretskii <eliz@gnu.org>
12114
12115 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12116 window is hscrolled, move by logical lines. (Bug#9607)
12117 (line-move-visual): Update the doc string to the above effect.
12118
b5516bbd
MR
121192011-09-29 Martin Rudalics <rudalics@gmx.at>
12120
ccee00c0
MR
12121 * window.el (display-buffer-record-window): When WINDOW is the
12122 selected window use `point' instead of `window-point'. (Bug#9626)
12123
b5516bbd
MR
12124 * startup.el (command-line-1): Use insert-before-markers when
12125 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12126
b5516bbd
MR
12127 * help.el (help-window): Remove variable.
12128
52aa0014
GM
121292011-09-29 Glenn Morris <rgm@gnu.org>
12130
12131 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12132
df9a7357
JB
121332011-09-29 Juanma Barranquero <lekktu@gmail.com>
12134
12135 * descr-text.el (describe-char-categories): Accept category
12136 descriptions more than one line long.
12137
a8406c20
SM
121382011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12139
88d9610c
SM
12140 * simple.el (delete-trailing-whitespace): Fix last change.
12141
a5daf810
SM
12142 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12143 Don't confuse "y => 3" as the beginning of a `y' operation.
12144
a8406c20
SM
12145 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12146 object has more than 4 slots (bug#9613).
12147
a239d4e9
JB
121482011-09-28 Juanma Barranquero <lekktu@gmail.com>
12149
12150 * subr.el (with-output-to-temp-buffer):
12151 * net/quickurl.el (quickurl, quickurl-browse-url):
12152 Fix typos in docstrings.
12153
693fbdb6
EZ
121542011-09-27 Eli Zaretskii <eliz@gnu.org>
12155
12156 * minibuffer.el (completion-styles)
12157 (completion-category-overrides): Cross reference each other in doc
12158 strings.
12159
8b457e28
GM
121602011-09-27 Glenn Morris <rgm@gnu.org>
12161
12162 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12163 to split-string. (Bug#9606)
12164
85a16208
LMI
121652011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12166
12167 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12168 (bug#9615).
12169
502f9ebd
CY
121702011-09-27 Chong Yidong <cyd@stupidchicken.com>
12171
12172 * emacs-lisp/package.el (list-packages): Fix echo area message.
12173
7690bdea
LL
121742011-09-27 Leo Liu <sdl.web@gmail.com>
12175
12176 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12177
e2ee6f30
MA
121782011-09-25 Michael Albinus <michael.albinus@gmx.de>
12179
12180 * net/dbus.el (dbus-unregister-object): Don't release services for
12181 registered signals. (Bug#9581)
12182
f3f98342
TZ
121832011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12184
12185 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12186 function that picks between cfengine 2 and 3 support
12187 automatically. Update docs accordingly.
12188
dd7aa8dd
KH
121892011-09-22 Kenichi Handa <handa@m17n.org>
12190
12191 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12192 ZERO.
12193 (indian-itrans-v5-table-for-tamil): New variable.
12194 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12195
3f2b07f8
KM
121962011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12197
12198 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12199 that's true if the current command involved collapsing of text.
12200 It's reset to false at the beginning of the next command.
12201 (allout-post-command-business): Move the cursor to the beginning
12202 of entry if the cursor is hidden and collapsing activity just
12203 happened.
12204
371d6a61
CY
122052011-09-24 Chong Yidong <cyd@stupidchicken.com>
12206
12207 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12208 tracking (Bug#9541).
12209
2ac2721a
UJ
122102011-09-24 Ulf Jasper <ulf.jasper@web.de>
12211
12212 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12213 (newsticker-show-news): Automatically load html rendering package
12214 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12215 because w3m-fill-column is let-bound" and the error "Symbol's value
12216 as variable is void: w3m-fill-column".
2ac2721a 12217
fac7ae53
MA
122182011-09-24 Michael Albinus <michael.albinus@gmx.de>
12219
12220 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12221 Release services only if they are defined. (Bug#9581)
12222
e08b633b
RS
122232011-09-23 Richard Stallman <rms@gnu.org>
12224
e488d29c
RS
12225 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12226 distinguish start of paragraph from start of its text.
12227
19c38752
RS
12228 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12229
e08b633b
RS
12230 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12231 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12232 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12233
0a39f27e
AS
122342011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12235
12236 * international/mule-diag.el (mule-diag): Insert a newline after
12237 each fontset description.
12238
db4e950d
SM
122392011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12240
12241 * simple.el (delete-trailing-whitespace):
12242 Document last change; simplify.
12243
eca3f3ea
PW
122442011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12245
d68e189a
PW
12246 * simple.el (delete-trailing-whitespace): Also delete
12247 extra newlines at the end of the buffer.
12248
eca3f3ea
PW
12249 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12250 (picture-newline): Use forward-line so as to ignore fields.
12251
01c157cc
SM
122522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * subr.el (with-wrapper-hook): Fix edebug spec.
12255
022de23e
LMI
122562011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12257
12258 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12259 (bug#4538).
12260
91683089
MA
122612011-09-23 Michael Albinus <michael.albinus@gmx.de>
12262
eca3f3ea
PW
12263 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12264 Fix nasty bug using wrong cached values.
91683089 12265
5bdd6fa4
AM
122662011-09-23 Alan Mackenzie <acm@muc.de>
12267
12268 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12269
97adfb97
CY
122702011-09-23 Chong Yidong <cyd@stupidchicken.com>
12271
12272 * window.el (pop-to-buffer): Ensure right window is selected if we
12273 chose another frame.
12274
d4ef2b50
EZ
122752011-09-22 Eli Zaretskii <eliz@gnu.org>
12276
12277 * simple.el (what-cursor-position): Use get-char-property-change
12278 and next-single-char-property-change, to be able to show display
12279 properties that come from overlays as well as text properties.
12280
72258fe5
CY
122812011-09-22 Chong Yidong <cyd@stupidchicken.com>
12282
12283 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12284
12285 * cmuscheme.el (run-scheme, switch-to-scheme):
12286 * cus-edit.el (customize-group, custom-buffer-create)
12287 (customize-browse):
12288 * info.el (info):
12289 * shell.el (shell):
12290 * mail/sendmail.el (mail):
12291 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12292
8f098516
RS
122932011-09-22 Richard Stallman <rms@gnu.org>
12294
12295 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12296 move back only to line beg, don't move back over blank lines.
12297
e74f1bb6
MA
122982011-09-22 Michael Albinus <michael.albinus@gmx.de>
12299
12300 * files.el (copy-directory): Set directory attributes only in case
12301 they could be retrieved from the source directory. (Bug#9565)
12302
bfeef8b6
DK
123032011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12304
12305 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12306 (hs-find-block-beginning, hs-hide-level-recursive):
12307 Ignore strings as well as comments. (Bug#9502)
12308
7e423bb8
AS
123092011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12310
12311 * progmodes/sql.el (sql-comint-postgres):
12312 Convert port number to a string. (Bug#9566)
12313
b4d72fcf
MR
123142011-09-22 Martin Rudalics <rudalics@gmx.at>
12315
12316 * window.el (quit-window): Undedicate window when switching to
12317 previous buffer. Reported by Thierry Volpiatto
12318 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12319 (special-display-popup-frame): When popping up a new frame reset
12320 its previous buffers to nil. Simplify code.
b4d72fcf 12321
a7b88dc6
MA
123222011-09-21 Michael Albinus <michael.albinus@gmx.de>
12323
12324 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12325 and process filter, as done also in `shell-command'.
12326
cf4eacfd
MR
123272011-09-21 Martin Rudalics <rudalics@gmx.at>
12328
eca3f3ea 12329 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12330 Call set-window-start with NOFORCE argument t.
12331 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12332 (quit-window): Reword doc-string. Handle new format of
12333 quit-restore parameter. Don't delete window if it has a
12334 previous buffer we can show instead of the present one.
12335 (display-buffer-record-window): Rewrite using a new format for
12336 the quit-restore window parameter
12337 (special-display-popup-frame, display-buffer-same-window)
12338 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12339 (display-buffer-pop-up-window, display-buffer-use-some-window):
12340 Adapt symbol passed to display-buffer-record-window.
12341 * help.el (help-window-setup): Handle new format of quit-restore
12342 parameter.
12343
8d28cb95
SM
123442011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12345
94ab793f
SM
12346 * faces.el (face-list): Fix docstring (bug#9564).
12347
8d28cb95
SM
12348 * window.el (display-buffer--action-function-custom-type):
12349 Don't include internal functions in the Custom interface.
12350
3820edeb
JL
123512011-09-20 Juri Linkov <juri@jurta.org>
12352
12353 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12354 (Info-forward-node, Info-backward-node, Info-next-preorder)
12355 (Info-last-preorder): Use it. (Bug#9528)
12356
5147931d
JL
123572011-09-20 Juri Linkov <juri@jurta.org>
12358
12359 * info.el (Info-last-preorder): Visit last menu item only when
12360 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12361
cf499a1a
JD
123622011-09-20 Julien Danjou <julien@danjou.info>
12363
12364 * password-cache.el (password-cache-remove): Remove entries even if the
12365 value is nil, so that password with a nil value (negative caching) is
12366 possible to invalidate.
12367
f84e2fe2
LM
123682011-09-20 Lawrence Mitchell <wence@gmx.li>
12369
12370 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12371 all whitespace around breakpoint. (Bug#9553)
12372 (f90-find-breakpoint): Only break at whitespace inside a comment.
12373
78054a46
SM
123742011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * minibuffer.el (completion-file-name-table): Keep track of errors.
12377 (completion-table-with-predicate): Handle the case where pred1 is nil.
12378 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12379
345083b2
SM
123802011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12381
e24e27be
SM
12382 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12383 (debugger-return-value): Signal an error if the debugging context does
12384 not await any return value.
12385
345083b2
SM
12386 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12387 * image-mode.el (image-toggle-display-text)
12388 (image-toggle-display-image): Stay away from evil `intangible'.
12389
08d355e3
LL
123902011-09-19 Leo Liu <sdl.web@gmail.com>
12391
12392 * replace.el (occur-revert-arguments): Make it permanent-local.
12393 (occur-mode): Don't call font-lock-defontify.
12394
f01da43f
CY
123952011-09-19 Chong Yidong <cyd@stupidchicken.com>
12396
12397 * net/ldap.el (ldap-search-internal): Don't push empty search
12398 result (Bug#9508).
12399
b6072fa6
SM
124002011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12401
12402 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12403
443d6696
MA
124042011-09-19 Michael Albinus <michael.albinus@gmx.de>
12405
12406 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12407 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12408
7cc6e154
JL
124092011-09-18 Juri Linkov <juri@jurta.org>
12410
12411 * buff-menu.el (Buffer-menu-mode-map):
12412 * dired.el (dired-mode-map):
12413 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12414 (lisp-interaction-mode-map):
12415 * emacs-lisp/package.el (package-menu-mode-map):
12416 * epa.el (epa-key-list-mode-map):
12417 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12418 (menu-bar-options-menu):
12419 * outline.el (outline-mode-menu-bar-map):
12420 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12421 * vc/vc-dir.el (vc-dir-menu-map):
12422 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12423 Capitalize non-function content words in menu item strings.
12424
12425 * dired.el (dired-mode-map): Add menu item for
12426 `image-dired-dired-toggle-marked-thumbs'.
12427
80302a81
JL
124282011-09-18 Juri Linkov <juri@jurta.org>
12429
12430 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12431 to `isearch-case-fold-search' and restore its original value
12432 after the `isearch-mode' call.
12433
46c5cf66
JL
124342011-09-18 Juri Linkov <juri@jurta.org>
12435
12436 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12437 because `zgrep' returns 1 for successful matches (bug#9226).
12438
d18b513b
JL
124392011-09-18 Juri Linkov <juri@jurta.org>
12440
12441 * info.el (Info-extract-menu-node-name): Check the second match
12442 for empty string (second test-case of bug#9528).
12443 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12444 intermediate nodes to the history (first test-case of bug#9528).
12445
72753f87
JL
124462011-09-18 Juri Linkov <juri@jurta.org>
12447
12448 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12449 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12450
c9384295
JL
124512011-09-18 Juri Linkov <juri@jurta.org>
12452
1154d12e
JB
12453 * info.el (Info-file-supports-index-cookies):
12454 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12455 outputs one more line for long file names (bug#4142).
c9384295 12456
d473dce8
CY
124572011-09-18 Chong Yidong <cyd@stupidchicken.com>
12458
12459 * newcomment.el (comment-normalize-vars): If prompting for
12460 comment-start, set comment-start-skip too (Bug#8424).
12461
2176854d
JB
124622011-09-18 Johan Bockgård <bojohan@gnu.org>
12463
12464 * icomplete.el: Fix previous fix of Bug#5849.
12465 (icomplete-mode): Don't set completion-show-inline-help.
12466 (icomplete-minibuffer-setup): Set completion-show-inline-help
12467 locally during icompletion.
12468
3aace4e4
CY
124692011-09-18 Chong Yidong <cyd@stupidchicken.com>
12470
c940224f
CY
12471 * woman.el (woman2-process-escapes): Don't delete unrecognized
12472 escapes (Bug#7843).
12473
3aace4e4
CY
12474 * files.el (inhibit-first-line-modes-regexps): Add image files.
12475 (hack-local-variables-prop-line): Return nil for malformed
12476 prop-lines (Bug#9044).
12477
710dec63
MA
124782011-09-18 Michael Albinus <michael.albinus@gmx.de>
12479
12480 * net/tramp.el (top): Don't require 'shell.
12481 (tramp-methods): Fix docstring.
12482 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12483 Return complete remote file name. Handle "smb" case.
12484 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12485 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12486
12487 * net/tramp-compat.el (top): Require 'shell.
12488
12489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12490 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12491 `tramp-current-host'.
12492 (tramp-get-remote-tmpdir): Remove.
12493
12494 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12495 `tramp-tmpdir' entries.
12496 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12497 (tramp-smb-handle-file-attributes): Ignore errors.
12498 (tramp-smb-wait-for-output): Check also for process end.
12499
5d5ac8ec
LMI
125002011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12501
12502 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12503 when sending QUIT (bug#9312).
12504
8c0f49f0
CY
125052011-09-17 Chong Yidong <cyd@stupidchicken.com>
12506
12507 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12508 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12509 occur-mode-display-occurrence.
12510 (occur-edit-mode): Add usage message.
12511 (occur-cease-edit): New command.
12512 (occur-after-change-function): Use text properties to find the
12513 position of the prefix text.
12514 (occur-engine): Set stickiness of prefix text properties.
12515
8f1383f7
GM
125162011-09-17 Glenn Morris <rgm@gnu.org>
12517
12518 * progmodes/etags.el (complete-tag):
12519 Fix call to completion-in-region. (Bug#9526)
12520
744ba0e3
JL
125212011-09-17 Juri Linkov <juri@jurta.org>
12522
12523 * textmodes/ispell.el (ispell-word): Add to the error message
12524 the word, ispell program name and current dictionary (bug#9121).
12525 (ispell-tex-arg-end): Capitalize "error" in the error message.
12526
d9bbf400
AS
125272011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12528
12529 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12530 check. (Bug#4251)
12531
8da11505
JL
125322011-09-17 Juri Linkov <juri@jurta.org>
12533
12534 * window.el (window-safe-min-height, window-safe-min-width):
12535 Fix typos (followup to bug#9522).
12536
a91adc7e
SJ
125372011-09-17 Sven Joachim <svenjoac@gmx.de>
12538
12539 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12540
064f328a
EZ
125412011-09-16 Eli Zaretskii <eliz@gnu.org>
12542
12543 * simple.el (line-move): If goal-column is set, move by logical
12544 lines, not by display lines. (Bug#971)
12545 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12546 to reflect the above change.
12547
e69df516
SM
125482011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * image.el (imagemagick-register-types): Use regexp-opt.
12551
cbb0f9ab
CY
125522011-09-15 Chong Yidong <cyd@stupidchicken.com>
12553
12554 * window.el (display-buffer-base-action): Rename from
12555 display-buffer-default-action. Make default value empty.
12556 (display-buffer-overriding-action): Convert to defvar.
12557 (display-buffer-fallback-action): New var.
12558
25322144
CY
125592011-09-15 Chong Yidong <cyd@stupidchicken.com>
12560
12561 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12562 declaration.
12563 (package--add-to-archive-contents): If there is a duplicate entry
12564 with an older version, remove it.
12565 (package-menu-mark-delete, package-menu-mark-install)
12566 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12567 (package-menu-mark-obsolete-for-deletion):
12568 Use package-menu-get-status instead of a regexp search.
25322144
CY
12569 (package-menu-get-status): Use tabulated-list-entry.
12570 (package-menu-mark-upgrades): New command.
d770725a 12571 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12572 (package-menu-execute): Do installation before deletion.
12573 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12574 instead of checking major-mode.
12575 (package-menu--find-upgrades): New function.
12576
7520339c
LMI
125772011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12578
12579 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12580 passwords in the log buffer.
65a046c4
LMI
12581 (smtpmail-process-filter): Update the process marker so that the
12582 "broken by peer" status message is inserted in the right place.
7520339c 12583
d3c30954
SM
125842011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12585
3fe48822
SM
12586 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12587 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12588 bibtex-completion-at-point-function.
12589 (bibtex-completion-at-point-function): Use them.
12590
1b8b3954
SM
12591 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12592
d3c30954
SM
12593 * mpc.el (mpc-constraints-tag-lookup): New function.
12594 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12595 also to browser "album|playlist".
12596
72779976
JL
125972011-09-14 Juri Linkov <juri@jurta.org>
12598
12599 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12600 (isearch-edit-string): Use length of `isearch-string' when
12601 `isearch-fail-pos' returns nil.
12602 (isearch-message): Remove duplicate code and call
12603 `isearch-fail-pos' with arg `t'.
12604
a0bf2bcd
CY
126052011-09-14 Chong Yidong <cyd@stupidchicken.com>
12606
17bb0a2d
CY
12607 * replace.el (occur-mode-goto-occurrence): Don't force using other
12608 window (Bug#9499).
12609
a0bf2bcd
CY
12610 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12611
f678e0b6
MR
126122011-09-14 Martin Rudalics <rudalics@gmx.at>
12613
12614 * window.el (display-buffer-window): Remove.
12615 (display-buffer-record-window): Use help-setup window parameter
12616 instead of variable display-buffer-window.
12617 (display-buffer-function, special-display-buffer-names)
12618 (special-display-function): Mention help-setup parameter instead
12619 of display-buffer-window in doc-string.
d3c30954
SM
12620 * help.el (help-window-setup): New argument help-window.
12621 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12622 Reword some messages.
12623 (with-help-window): Pass window used for displaying the buffer
12624 to help-window-setup. Don't set display-buffer-window.
12625
8e39b2e8
GM
126262011-09-13 Glenn Morris <rgm@gnu.org>
12627
12628 * emacs-lisp/debug.el (debugger-make-xrefs):
12629 Preserve point. (Bug#9462)
12630
85e9c04b
CY
126312011-09-13 Chong Yidong <cyd@stupidchicken.com>
12632
12633 * window.el (window-deletable-p): Use next-frame.
12634
1b36ed6a
MR
126352011-09-13 Martin Rudalics <rudalics@gmx.at>
12636
12637 * window.el (window-auto-delete): Remove.
12638 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12639 dedication and previous buffers.
1b36ed6a
MR
12640 (switch-to-prev-buffer): Don't delete window.
12641 (delete-windows-on): Delete a window's frame if and only if the
12642 window is dedicated.
12643 (replace-buffer-in-windows): Delete buffer's window or frame if
12644 and only if window is dedicated.
12645 (quit-window): Handle quit-restore as before last change.
4d61f28d 12646 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12647
ef8ef9fb
CY
126482011-09-13 Chong Yidong <cyd@stupidchicken.com>
12649
12650 * window.el (window-deletable-p): Never delete the last frame on a
12651 given terminal.
12652
b2cba41e
GM
126532011-09-13 Glenn Morris <rgm@gnu.org>
12654
12655 * help.el (describe-key-briefly): Copy previous standard-output change.
12656
51553db6 126572011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12658
12659 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12660
b7556719
GM
126612011-09-13 Glenn Morris <rgm@gnu.org>
12662
12663 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12664 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12665
64b51947
CY
126662011-09-12 Chong Yidong <cyd@stupidchicken.com>
12667
12668 * dired-aux.el (dired-mark-read-string): Don't return default
12669 value on empty input (Bug#9361).
12670 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12671 Omit initial minibuffer contents.
12672 (dired-do-chmod): Signal an error on empty input.
12673 (dired-mark-read-string): Don't return default on empty input.
12674
12675 * files.el (file-modes-symbolic-to-number): Doc fix.
12676
393a301e
SM
126772011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * international/mule-cmds.el (ucs-completions): Remove.
12680 (read-char-by-name): Use complete-with-action instead; add metadata.
12681
fa5660f9
CY
126822011-09-11 Chong Yidong <cyd@stupidchicken.com>
12683
12684 * window.el (display-buffer--action-function-custom-type)
12685 (display-buffer--action-custom-type): New vars.
12686 (display-buffer-alist, display-buffer-default-action)
12687 (display-buffer-overriding-action): Add defcustom types.
12688
4a592f66
CY
12689 * frame.el (delete-other-frames): Doc fix (Bug#276).
12690
73d56dbd
LMI
126912011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
12693 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12694
37ac18a3
CY
126952011-09-11 Chong Yidong <cyd@stupidchicken.com>
12696
12697 Change modes that used same-window-* vars to use switch-to-buffer.
12698
12699 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12700 Use switch-to-buffer.
12701
12702 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12703 (customize-browse, custom-buffer-create-other-window):
12704 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12705
12706 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12707 (Info-prev, Info-up, Info-speedbar-goto-node)
12708 (info-display-manual): Use switch-to-buffer.
12709 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12710
12711 * mail/sendmail.el (mail): Use switch-to-buffer.
12712 (mail-recover): Use switch-to-buffer-other-window.
12713
12714 * cmuscheme.el (run-scheme, switch-to-scheme):
12715 * ielm.el (ielm):
12716 * shell.el (shell):
12717 * net/rlogin.el (rlogin):
12718 * net/telnet.el (telnet, rsh):
12719 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12720
10195bd6
AS
127212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12722
12723 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12724
b322f63a
LMI
127252011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
39d7fed6
LMI
12727 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12728 so don't mention it (bug#9301).
ba5a81f1 12729 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12730
ee0e9f11
LMI
12731 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12732 match `x', `w32' and `ns', like the manual says (bug#9029).
12733
0b1c89c1 12734 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12735 (process-kill-buffer-query-function): Mention the buffer name in
12736 the query.
0b1c89c1 12737
77549ea8
LMI
12738 * image-mode.el (image-next-line): The line parameter is mandatory
12739 (bug#9258).
12740
803ef892
LMI
12741 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12742 which can be useful (bug#9301).
12743
12980837
LMI
12744 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12745
91054f8f
LMI
12746 * subr.el (match-string): Mention that the current buffer should
12747 be the same as the search was done in (bug#9282).
12748
b322f63a
LMI
12749 * facemenu.el: Disable the remove-* commands if the mark isn't
12750 active (bug#9162).
12751
3199b96f
CY
127522011-09-10 Chong Yidong <cyd@stupidchicken.com>
12753
12754 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12755 of display-buffer.
12756 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12757
12758 * replace.el (occur-mode-goto-occurrence)
12759 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12760 and display-buffer.
12761
12762 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12763 display-buffer.
12764
12765 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12766 special-display and same-window variables.
12767 (mail-other-window): Use switch-to-buffer-other-window.
12768 (mail-other-frame): USe switch-to-buffer-other-frame.
12769
393a301e
SM
12770 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12771 Use display-buffer-other-frame.
3199b96f
CY
12772 (gdb-display-gdb-buffer): Use pop-to-buffer.
12773
12774 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12775
12776 * progmodes/python.el: Don't set same-window-buffer-names.
12777
12778 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12779
12780 * window.el (display-buffer-alist): Add *Python*.
12781
8319e0bf
CY
127822011-09-10 Chong Yidong <cyd@stupidchicken.com>
12783
12784 * window.el (display-buffer-alist): Add entry for buffers
12785 previously handled same-window-*.
12786 (display-buffer-alist, display-buffer-default-action)
12787 (display-buffer-overriding-action): Mark as risky.
12788 (display-buffer-alist): Document action function changes.
12789 (display-buffer--same-window-action)
12790 (display-buffer--other-frame-action): New variables.
12791 (switch-to-buffer, display-buffer-other-frame): Use them.
12792 (display-buffer): Rename reuse-frame entry to reusable-frames.
12793 (display-buffer-reuse-selected-window): Function deleted.
12794 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12795 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12796 (display-buffer-special): New function.
12797 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12798 display-buffer-reuse-or-pop-window. Split off special-display
12799 part into display-buffer-special.
12800 (display-buffer-use-some-window): Don't perform any special
12801 pop-up-frames handling.
12802 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12803 (display-buffer--maybe-same-window): Rename from
0d3ff375 12804 display-buffer-maybe-same-window.
8319e0bf 12805
919a69aa
CY
12806 * info.el: Don't set same-window-regexps.
12807 (info-setup): New function.
12808 (info-other-window, info): Call it.
12809
12810 * cus-edit.el: Don't set same-window-regexps.
12811 (customize-group): New argument.
12812 (customize-group-other-window): Use it.
12813 (customize-face, customize-face-other-window): Likewise.
12814 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12815
8319e0bf
CY
12816 * net/rlogin.el:
12817 * net/telnet.el:
12818 * progmodes/gud.el: Don't set same-window-regexps.
12819
12820 * cmuscheme.el:
12821 * ielm.el:
12822 * shell.el:
12823 * mail/sendmail.el:
12824 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12825
25173000
JL
128262011-09-10 Juri Linkov <juri@jurta.org>
12827
12828 * isearch.el (isearch-edit-string): Remove obsolete mention of
12829 `C-w' (`isearch-yank-word-or-char') from docstring.
12830 (isearch-query-replace): Fix typo in docstring (bug#9466).
12831
056e44ef
JL
128322011-09-10 Juri Linkov <juri@jurta.org>
12833
12834 * paren.el (show-paren-function): Don't show escaped parens.
12835 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12836
c3760c17
EZ
128372011-09-10 Eli Zaretskii <eliz@gnu.org>
12838
12839 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12840 (mm-default-file-encoding): Remove autoload forms, they are
12841 replaced with autoload cookies in mml.el and mm-encode.el.
12842 (mail-add-attachment): New command.
12843 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12844 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12845 the doc string.
12846 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12847
fece895e
RT
128482011-09-10 Reuben Thomas <rrt@sc3d.org>
12849
e69df516
SM
12850 * simple.el (count-words-region): Use buffer if there's no region
12851 (bug#9429).
fece895e 12852
5e68ce4a
JL
128532011-09-09 Juri Linkov <juri@jurta.org>
12854
12855 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12856 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12857 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12858
0a6b9622
AM
128592011-09-09 Alan Mackenzie <acm@muc.de>
12860
12861 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12862 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12863
14a29deb
EZ
128642011-09-09 Eli Zaretskii <eliz@gnu.org>
12865
12866 Fix for Savannah bug#9392.
12867 * simple.el (mail-encode-mml): New defvar.
12868
12869 * mail/rmail.el (mail-encode-mml): Add a defvar.
12870 (rmail-enable-mime-composing): Default to t.
12871 (rmail-forward): Use MIME method of forwarding only if both
12872 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12873 Set mail-encode-mml non-nil if the MIME method was used.
12874
12875 * mail/sendmail.el (mml-to-mime): Add autoload form.
12876 (mail-encode-mml): Add a defvar.
12877 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12878 to nil.
12879 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12880 message through mml-to-mime, and reset mail-encode-mml to nil.
12881
28c45130
GM
128822011-09-09 Glenn Morris <rgm@gnu.org>
12883
12884 * woman.el (woman-if-body): When processing an .el block,
12885 do not delete the next .el block as well. (Bug#9447)
69f4b618 12886 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12887
9b1c252e
MR
128882011-09-08 Martin Rudalics <rudalics@gmx.at>
12889
12890 * window.el (window-deletable-p): Make sure window is live before
12891 invoking window-prev-buffers.
12892
567457e3
LL
128932011-09-08 Leo Liu <sdl.web@gmail.com>
12894
12895 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12896
97f05794
JL
128972011-09-08 Juri Linkov <juri@jurta.org>
12898
12899 * progmodes/compile.el (compilation-environment): Make it
12900 a defcustom (bug#8340).
12901
8b0874b5
MR
129022011-09-08 Martin Rudalics <rudalics@gmx.at>
12903
12904 * window.el (frame-auto-delete): Rename to window-auto-delete.
12905 Make it control auto-deletion of windows and/or frames.
12906 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12907 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12908 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12909 Rewrite handling of case when window/frame can be deleted.
12910 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12911 argument t. (Bug#9456)
8b0874b5 12912
4feb6e73
CY
129132011-09-07 Chong Yidong <cyd@stupidchicken.com>
12914
12915 * help-mode.el (help-mode): Restore autoload.
12916
91ab9c13
JL
129172011-09-07 Juri Linkov <juri@jurta.org>
12918
12919 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12920 `compilation-environment'. Set buffer-local
12921 `compilation-environment' to `thisenv' later after (funcall mode).
12922 (Bug#8340)
12923
12924 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12925 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12926 instead of replacing its value. (Bug#8340)
12927
0527e251
JL
129282011-09-07 Juri Linkov <juri@jurta.org>
12929
12930 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12931 based on text properties put by `grep-filter' instead of matching
12932 escape sequences.
12933 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12934 to the value of `grep-error-screen-columns' (bug#9438).
12935
249f792c
JL
129362011-09-07 Juri Linkov <juri@jurta.org>
12937
12938 * simple.el (next-error-highlight, next-error-highlight-no-select):
12939 Doc fix (bug#9432).
12940
ff7271b9
OT
129412011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12942
12943 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12944 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12945
183fc730
LL
129462011-09-07 Leo Liu <sdl.web@gmail.com>
12947
12948 * net/rcirc.el (rcirc-mode): Conditionally initialize
12949 rcirc-input-ring.
12950
77694924
SM
129512011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * emacs-lisp/find-func.el (find-function-C-source): Only set
12954 find-function-C-source-directory after checking that we found a source
12955 file there (bug#9440).
12956
d809b8eb
AM
129572011-09-06 Alan Mackenzie <acm@muc.de>
12958
12959 * isearch.el (isearch-other-meta-char): Wherever a key list is
12960 unread, "unread" the prefix arg, too. This fixes bug #8901.
12961
453de99f
OG
129622011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12963
12964 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12965
90439906
JL
129662011-09-05 Juri Linkov <juri@jurta.org>
12967
12968 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12969
f62bd846
JL
129702011-09-05 Juri Linkov <juri@jurta.org>
12971
12972 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12973 keeping point where processing of grep matches begins, and
12974 continue to delete remaining escape sequences from the same point.
12975 (grep-filter): Make leading zero optional in "0?1;31m" because
12976 git-grep emits "\033[1;31m" escape sequences unlike expected
12977 "\033[01;31m" as GNU Grep does (bug#9408).
12978 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12979
045820ec
JL
129802011-09-05 Juri Linkov <juri@jurta.org>
12981
12982 * subr.el (y-or-n-p): Capitalize "yes".
12983
f5e29b9b
MA
129842011-09-04 Michael Albinus <michael.albinus@gmx.de>
12985
12986 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12987 `tramp-cache-unload-hook' where appropriate.
12988 (tramp-methods): Rename `tramp-remote-sh' to
12989 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12990 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12991
12992 * net/tramp-sh.el (top): Don't require 'shell.
12993 (tramp-methods): Add `tramp-remote-shell' and
12994 `tramp-remote-shell-args' entries.
12995 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12996 (tramp-sh-handle-shell-command): Remove.
12997 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12998 Use `tramp-remote-shell'.
12999
2784c434
CY
130002011-09-03 Chong Yidong <cyd@stupidchicken.com>
13001
393a301e 13002 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13003 (sendmail-query-once): Save directly to send-mail-function.
13004 Update message-send-mail-function too.
13005
13006 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13007
464cdf56
CS
130082011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13009
13010 * progmodes/python.el (python-mode-map): Use correct function to
13011 start python interpreter from menu-bar (as reported by Geert
13012 Kloosterman).
13013 (inferior-python-mode-map): Fix typo.
393a301e 13014 (python-shell-map): Remove.
464cdf56 13015
d37e5c87
DD
130162011-09-03 Deniz Dogan <deniz@dogan.se>
13017
13018 * net/rcirc.el (rcirc-print): Simplify code for
13019 rcirc-scroll-show-maximum-output. There is no need to walk
13020 through all windows to find the right one.
13021
f3ada0ee
CS
130222011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13023
13024 * help.el (help-return-method): Doc fix.
13025
1f3c99ca
MR
130262011-09-03 Martin Rudalics <rudalics@gmx.at>
13027
13028 * window.el (window-deletable-p): Don't return a non-nil value
13029 when there's a buffer that was shown in the window before.
13030 (Bug#9419)
393a301e
SM
13031 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13032 Set window's previous buffers to nil.
1f3c99ca 13033
a3cf097f
EZ
130342011-09-03 Eli Zaretskii <eliz@gnu.org>
13035
13036 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13037 newline before and after the tag line, so it doesn't interfere
13038 with determining the paragraph direction of bidirectional text.
13039
3d03de90
LL
130402011-09-03 Leo Liu <sdl.web@gmail.com>
13041
13042 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13043
c3313451
CY
130442011-09-02 Chong Yidong <cyd@stupidchicken.com>
13045
393a301e 13046 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13047 (pop-to-buffer): Change interactive spec. Pass second argument
13048 directly to display-buffer.
13049 (display-buffer): Fix interactive spec. Use functionp to
13050 distinguish between a function and a list of functions.
13051
13052 * abbrev.el (edit-abbrevs):
13053 * arc-mode.el (archive-extract):
13054 * autoinsert.el (auto-insert):
13055 * bookmark.el (bookmark-bmenu-list):
13056 * files.el (find-file):
13057 * view.el (view-buffer):
13058 * progmodes/compile.el (compilation-goto-locus):
13059 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13060
89894cd8
CY
130612011-09-02 Chong Yidong <cyd@stupidchicken.com>
13062
13063 * window.el (display-buffer-alist): Doc fix.
13064 (display-buffer): Add docstring. Don't treat
13065 display-buffer-default specially.
13066 (display-buffer-reuse-selected-window)
13067 (display-buffer-same-window, display-buffer-maybe-same-window)
13068 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13069 (display-buffer-pop-up-window)
13070 (display-buffer-reuse-or-pop-window)
13071 (display-buffer-use-some-window): New functions.
13072 (display-buffer-default-action): Use them.
393a301e 13073 (display-buffer-default): Delete.
89894cd8
CY
13074 (pop-to-buffer-1): Fix choice of actions.
13075
ae0bc9fb
SM
130762011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * minibuffer.el (completion--insert-strings): Don't get confused by
13079 completion entries that end with an LF char.
13080
e9d90883
EZ
130812011-09-01 Eli Zaretskii <eliz@gnu.org>
13082
13083 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13084
437014c8
CY
130852011-09-01 Chong Yidong <cyd@stupidchicken.com>
13086
13087 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13088 (display-buffer-same-window, display-buffer-other-window):
13089 New functions.
437014c8
CY
13090 (pop-to-buffer-1): New function. Use the above.
13091 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13092 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13093
13094 * view.el (view-buffer-other-window, view-buffer-other-frame):
13095 Just use pop-to-buffer.
13096
a5e063d5
TV
130972011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13098
13099 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13100
793d32bb
WH
131012011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13102
13103 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13104
d65e4c15
RS
131052011-08-31 Richard Stallman <rms@gnu.org>
13106
13107 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13108 of the separation of rmail-view-buffer from rmail-buffer.
13109 If you say no to "replace original", the decrypt is in the
13110 view buffer. If you say yes, the decrypt goes into the
13111 rmail buffer also.
13112
f818cd2a
MR
131132011-08-31 Martin Rudalics <rudalics@gmx.at>
13114
13115 * window.el (display-buffer-window): Rewrite doc-string.
13116 (display-buffer-record-window): New function.
13117 (display-buffer-macro-specifiers)
13118 (display-buffer-even-window-sizes, display-buffer-set-height)
13119 (display-buffer-set-width, display-buffer-in-window)
13120 (display-buffer-reuse-window, display-buffer-split-specifiers)
13121 (display-buffer-side-specifiers, display-buffer-split-window-1)
13122 (display-buffer-split-window, display-buffer-split-atom-window)
13123 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13124 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13125 (display-buffer-other-window-means-other-frame)
13126 (display-buffer-normalize-special)
13127 (display-buffer-normalize-default)
13128 (display-buffer-normalize-argument)
13129 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13130 (display-buffer-normalize-specifiers, display-buffer-frame)
13131 (display-buffer-same-window, display-buffer-same-frame)
13132 (display-buffer-other-window)
13133 (display-buffer-same-frame-other-window)
13134 (display-buffer-other-frame, pop-to-buffer-same-window)
13135 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13136 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13137 (switch-to-buffer-same-frame)
13138 (switch-to-buffer-other-window-same-frame)
13139 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13140 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13141 (display-buffer-alist-set): Remove.
13142 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13143 (special-display-regexps, special-display-function):
13144 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13145 parameter.
13146 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13147 (special-display-frame-alist, special-display-popup-frame)
13148 (same-window-buffer-names, same-window-regexps, same-window-p)
13149 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13150 (split-window-preferred-function, split-height-threshold)
13151 (split-width-threshold, window-splittable-p)
13152 (split-window-sensibly, window--try-to-split-window)
13153 (window--frame-usable-p, even-window-heights)
13154 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13155 (window--display-buffer-2, display-buffer-other-frame):
13156 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13157 (display-buffer-default, display-buffer-assq-regexp): New functions.
13158 (display-buffer-alist): Rewrite doc-string.
13159 (display-buffer-default-action)
13160 (display-buffer-overriding-action): New variables.
13161 (display-buffer, switch-to-buffer): Rewrite.
13162 (pop-to-buffer): Restore Emacs 23 behavior but use
13163 window-normalize-buffer-to-display.
13164 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13165 Restore Emacs 23 behavior but use
13166 window-normalize-buffer-to-switch-to.
13167 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13168 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13169 Rewrite using Emacs 23 options.
f818cd2a 13170
5bc3b51d
MA
131712011-08-31 Michael Albinus <michael.albinus@gmx.de>
13172
13173 * net/tramp.el (tramp-root-regexp): Remove.
13174 (tramp-completion-file-name-regexp-unified)
13175 (tramp-completion-file-name-regexp-separate)
13176 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13177 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13178 (tramp-drop-volume-letter): Simplify definition.
13179 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13180
b1a4f8e1
SM
131812011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13182
13183 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13184 (bug#9356).
13185
5664fa7b
RT
131862011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13187
b1a4f8e1 13188 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13189
9a45d6c3
JL
131902011-08-29 Juri Linkov <juri@jurta.org>
13191
13192 * isearch.el (isearch-done): Don't display message "Mark saved"
13193 when arg `edit' is non-nil to prevent its flicker in the echo area.
13194
fb87e0fb
CY
131952011-08-28 Chong Yidong <cyd@stupidchicken.com>
13196
13197 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13198 obsolete packages for deletion.
13199
09ac1c2a
CS
132002011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13201
13202 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13203 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13204 view-mode from help-mode.
13205 (help-xref-override-view-map): Remove.
13206 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13207 view-mode is not used anymore.
13208
7a1ff57f
CY
132092011-08-28 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * server.el (server-port): Doc fix.
13212
b9696605
CY
13213 * cus-theme.el (custom-theme-choose-mode): Inherit from
13214 special-mode (Bug#9124).
13215 (custom-theme-choose-mode-map): Add special-mode to parent.
13216
ef8cdf8c
AM
132172011-08-28 Alan Mackenzie <acm@muc.de>
13218
13219 * progmodes/cc-fonts.el
13220 (c-make-font-lock-BO-decl-search-function): New function.
13221 (c-basic-matchers-after - "Fontify the clauses after various
13222 keywords"): Extract the three keyword lists for the 3 erroneous
13223 constructs from the list of four, and use the new function above
13224 in place of an old one.
13225
27de4e20
DD
132262011-08-28 Deniz Dogan <deniz@dogan.se>
13227
13228 * net/rcirc.el (rcirc-insert-prev-input)
13229 (rcirc-insert-next-input): Remove unused argument.
13230
356a3681
SM
132312011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13232
13233 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13234
3fc9b218
AM
132352011-08-27 Alan Mackenzie <acm@muc.de>
13236
13237 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13238 handle function pointer parameters properly.
13239
538a061c
MR
132402011-08-27 Martin Rudalics <rudalics@gmx.at>
13241
13242 * window.el (display-buffer-reuse-window): Fix case where
13243 selected window was reused with non-nil OTHER-WINDOW argument.
13244 (Bug#9381)
13245
35b1c40c
DD
132462011-08-27 Deniz Dogan <deniz@dogan.se>
13247
13248 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13249 oftc's NickServ messages.
13250
2f6a3e79
GM
132512011-08-27 Glenn Morris <rgm@gnu.org>
13252
13253 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13254
7254299e
CY
132552011-08-26 Chong Yidong <cyd@stupidchicken.com>
13256
13257 * emacs-lisp/package.el (package-install): Call package-initialize
13258 if called interactively.
13259
f8ccf167
LL
132602011-08-26 Leo Liu <sdl.web@gmail.com>
13261
13262 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13263
3e8cd5ce
JL
132642011-08-25 Juri Linkov <juri@jurta.org>
13265
13266 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13267 `search-whitespace-regexp' (bug#9364).
13268
93eb7113
JL
132692011-08-25 Juri Linkov <juri@jurta.org>
13270
13271 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13272 `regexp-search-ring' to their global values to protect from
13273 updating by `read-from-minibuffer' (bug#9185).
13274
f65d1611
JL
132752011-08-25 Juri Linkov <juri@jurta.org>
13276
13277 * textmodes/ispell.el (ispell-command-loop): Add newline
13278 at the end of the "Use option `i'..." line.
13279
f1cf7a31
JL
132802011-08-25 Juri Linkov <juri@jurta.org>
13281
13282 * battery.el (display-battery-mode): If `battery-status-function'
13283 or `battery-mode-line-format' is nil, display the message and set
13284 `display-battery-mode' to nil (bug#9363).
13285
0c95fcf7
EZ
132862011-08-25 Eli Zaretskii <eliz@gnu.org>
13287
13288 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13289 bidi-string-mark-left-to-right; they are unnecessary now.
13290
a2ebe600
DD
132912011-08-25 Deniz Dogan <deniz@dogan.se>
13292
13293 * net/quickurl.el: Documentation typo fixes.
13294
e4ed06f1
CY
132952011-08-25 Chong Yidong <cyd@stupidchicken.com>
13296
13297 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13298
e5f1c99e
GM
132992011-08-25 Glenn Morris <rgm@gnu.org>
13300
b2948976
GM
13301 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13302
e5f1c99e
GM
13303 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13304 (smtpmail-via-smtp): Handle nil response from smtp.
13305
f22f4808
JL
133062011-08-24 Juri Linkov <juri@jurta.org>
13307
13308 * proced.el (proced-marked): Inherit from `error' instead of
13309 `font-lock-warning-face'.
13310
13311 * ibuffer.el (ibuffer-marked-face): Change default face from
13312 `font-lock-warning-face' to `warning'.
13313 (ibuffer-deletion-face): Change default face from
13314 `font-lock-type-face' to `error'.
13315
13316 * battery.el (battery-update): Use the face `error' instead of
13317 `font-lock-warning-face' (bug#6117).
13318
6a93965e
JL
133192011-08-24 Juri Linkov <juri@jurta.org>
13320
13321 * faces.el (success): Change face color from "Green3" to
13322 "ForestGreen" on light background (bug#9353).
13323
1ed43b09
CY
133242011-08-24 Chong Yidong <cyd@stupidchicken.com>
13325
5664fa7b
RT
13326 * window.el (quit-window): Rename from quit-restore-window.
13327 Use same arglist as old quit-window.
1ed43b09
CY
13328 (frame-auto-delete): Doc fix.
13329
13330 * view.el (view-mode-exit): Use quit-window.
13331
11dcdbb2
JL
133322011-08-24 Juri Linkov <juri@jurta.org>
13333
13334 * isearch.el (isearch-ring-adjust1): Start visiting previous
13335 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13336 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13337 for empty search string (when the last search string is reused
13338 automatically) to adjust the isearch ring to the last element and
13339 prepare the correct index for further M-p commands (bug#9185).
13340
de62b4df
KH
133412011-08-24 Kenichi Handa <handa@m17n.org>
13342
13343 * international/ucs-normalize.el: If decomposition property of
13344 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13345 nil.
13346 (nfd, nfkd): Likewise.
13347
963b492b
SM
133482011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13351 from process filters aren't reliably transmitted to the surrounding
13352 accept-process-output.
13353 (mpc-proc-check): New function.
13354 (mpc-proc-sync): Use it (bug#8293)
13355
93b6b5e1
SM
133562011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13359 Add compatibility functions (bug#9313).
13360
bca633fb
EZ
133612011-08-23 Eli Zaretskii <eliz@gnu.org>
13362
b177498a
EZ
13363 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13364
6df6ae42 13365 * international/uni-bidi.el: Regenerate.
bca633fb 13366
0902a04e
KH
133672011-08-23 Kenichi Handa <handa@m17n.org>
13368
13369 * international/charprop.el:
13370 * international/uni-bidi.el:
13371 * international/uni-category.el:
13372 * international/uni-combining.el:
13373 * international/uni-comment.el:
13374 * international/uni-decimal.el:
13375 * international/uni-decomposition.el:
13376 * international/uni-digit.el:
13377 * international/uni-lowercase.el:
13378 * international/uni-mirrored.el:
13379 * international/uni-name.el:
13380 * international/uni-numeric.el:
13381 * international/uni-old-name.el:
13382 * international/uni-titlecase.el:
13383 * international/uni-uppercase.el: Regenerate.
13384
3bbf23bc
MR
133852011-08-23 Martin Rudalics <rudalics@gmx.at>
13386
13387 * help.el (help-window-setup): Fix message displayed when other
13388 window is reused. (Bug#9341)
13389
b3fd59bd
SM
133902011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13391
1802e444
SM
13392 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13393 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13394
b3fd59bd
SM
13395 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13396 Mark obsolete.
13397 * shell.el (shell-parse-pcomplete-arguments): New function.
13398 (shell-completion-vars): Use it instead (bug#9160).
13399
4eb61348
SM
134002011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13401
867cab74
SM
13402 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13403 strings and comments (bug#9333).
13404
4eb61348
SM
13405 * emacs-lisp/debug.el (debug-arglist): New function.
13406 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13407 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13408
262a1439
JL
134092011-08-22 Juri Linkov <juri@jurta.org>
13410
56ee679c
JL
13411 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13412 Revert regexp that highlights output switches to its old
13413 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13414
262a1439
JL
13415 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13416 to check for empty output (bug#9226).
13417
f13f86fb
CY
134182011-08-22 Chong Yidong <cyd@stupidchicken.com>
13419
13420 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13421 symbol-constituent as the default, as that stops font-lock from
13422 working properly (Bug#8843).
13423
c65c9622
LMI
134242011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13425
13426 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13427 `coding-system-for-*' around the process open call to avoid
13428 auth-source side effects.
e7f2c178 13429 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13430 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13431 probe hangs.
c65c9622 13432
23a8a5ab
CY
134332011-08-21 Chong Yidong <cyd@stupidchicken.com>
13434
ff98b2dd
CY
13435 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13436
23a8a5ab
CY
13437 * emacs-lisp/find-func.el (find-function-noselect): New arg
13438 lisp-only.
13439
13440 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13441 signal an error for built-in functions (Bug#6664).
13442
f5e3c598
LMI
134432011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13444
13445 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13446 (smtpmail-try-auth-methods): Use it.
13447
a3f2468a
CY
134482011-08-21 Chong Yidong <cyd@stupidchicken.com>
13449
2c34e8da
CY
13450 * font-lock.el (font-lock-fontify-region)
13451 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13452 (font-lock-default-unfontify-buffer)
13453 (font-lock-default-fontify-region)
13454 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13455
b3fd59bd
SM
13456 * progmodes/compile.el (compilation-error-properties):
13457 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13458 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13459 `ant' regexp.
ee31aabc 13460
a3f2468a
CY
13461 * net/browse-url.el (browse-url-firefox): Don't call
13462 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13463
8e999f70
GM
134642011-08-20 Glenn Morris <rgm@gnu.org>
13465
c21a496a
GM
13466 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13467
59ee0542
GM
13468 * tutorial.el (tutorial--default-keys): Update some default bindings.
13469
8e999f70
GM
13470 * files.el (hack-local-variables): Fully ignore case for "mode:".
13471
e3715033
AM
134722011-08-20 Alan Mackenzie <acm@muc.de>
13473
13474 Resolve invalid use of a regexp in regexp-opt.
13475
4d61f28d
JB
13476 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13477 detection for a java annotation.
e3715033 13478
4d61f28d 13479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13480 detection for a java annotation.
13481
4d61f28d
JB
13482 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13483 handling for java.
e3715033
AM
13484 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13485
04ed2e9c
CY
134862011-08-20 Chong Yidong <cyd@stupidchicken.com>
13487
13488 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13489 (Bug#9274).
13490
826cee64
AM
134912011-08-20 Alan Mackenzie <acm@muc.de>
13492
58179cce 13493 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13494 such a construct. Mainly for when jit-lock etc. starts a chunk
13495 here.
13496
58179cce 13497 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13498 variable.
58179cce 13499 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13500 c-make-font-lock-search-function.
13501 (c-make-font-lock-search-function): Use the above function.
13502 (c-make-font-lock-context-search-function): New function.
13503 (c-cpp-matchers): Enhance the preprocessor expression case with
13504 the above function
13505 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13506 which takes an expression.
13507
13508 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13509
13009bd8
MR
135102011-08-20 Martin Rudalics <rudalics@gmx.at>
13511
13512 * window.el (display-buffer-reuse-window)
13513 (display-buffer-pop-up-window): Don't reuse or split a side
13514 window.
13515
9234ff7f
GM
135162011-08-19 Glenn Morris <rgm@gnu.org>
13517
13518 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13519 Downcase "Mode:". (Bug#9331)
9234ff7f 13520
f635daa1
CY
135212011-08-18 Chong Yidong <cyd@stupidchicken.com>
13522
13523 * international/characters.el: Add L and R categories.
13524
13525 * subr.el (bidi-string-mark-left-to-right): Rename from
13526 string-mark-left-to-right. Use category search.
13527
13528 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13529
bc987f8b
JL
135302011-08-18 Juri Linkov <juri@jurta.org>
13531
13532 * faces.el (error, warning, success): New faces with definitions
13533 copied from old default values of `font-lock-warning-face',
13534 `compilation-warning', `compilation-info' (bug#6117).
13535
13536 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13537
13538 * progmodes/compile.el (compilation-error): Inherit from `error'.
13539 (compilation-warning): Inherit from `warning'.
13540 (compilation-info): Inherit from `success'.
13541
13542 * dired.el (dired-marked): Inherit from `warning'.
13543 (dired-flagged): Inherit from `error'.
13544
57173b96
LMI
135452011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546
3e79eb87
LMI
13547 * mail/smtpmail.el (auth-source): Require to avoid problems with
13548 binding variables (bug#9298). Also clean up some unused
13549 autoloads.
13550
b3fd59bd
SM
13551 * net/network-stream.el (network-stream-open-starttls):
13552 Support using starttls.el without using gnutls-cli.
57173b96 13553
02b404de
JL
135542011-08-17 Juri Linkov <juri@jurta.org>
13555
13556 * progmodes/grep.el (rgrep): Handle the case when
13557 `grep-find-command' is a cons cell (bug#9278).
13558
8c9177f2
MR
135592011-08-17 Martin Rudalics <rudalics@gmx.at>
13560
13561 * window.el (display-buffer-pop-up-frame): Run frame creation
13562 function with BUFFER current (as special-display-popup-frame
13563 does). Reported by Drew Adams.
13564
3644a0ab
DU
135652011-08-17 Daiki Ueno <ueno@unixuser.org>
13566
13567 * epa-mail.el: Simplify GnuPG group expansion using
13568 epg-expand-group.
13569 (epa-mail-group-alist, epa-mail-group-modtime)
13570 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13571 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13572 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13573 Remove.
13574
5e617bc2 135752011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13576
13577 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13578
9c4aeabf
AM
135792011-08-16 Alan Mackenzie <acm@muc.de>
13580
13581 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13582 Correct, to avoid the inside of macros.
13583
3a99bf64
RS
135842011-08-16 Richard Stallman <rms@gnu.org>
13585
04963aa8
RS
13586 * epa-mail.el: Handle GnuPG group definitions.
13587 (epa-mail-group-alist, epa-mail-group-modtime)
13588 (epa-mail-gnupg-conf-file): New variables.
13589 (epa-mail-parse-groups, epa-mail-sync-groups)
13590 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13591 (epa-mail-expand-recipients): New functions.
13592 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13593
177549d0
RS
13594 * mail/rmail.el (rmail-epa-decrypt): New command.
13595
fe38beef
RS
13596 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13597 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13598 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13599 (epa-decrypt-armor-in-region): Make error message clearer.
13600
934eacb9
SM
136012011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13604 and "a2b" to "ab" for `prefix'.
13605
d024fb4e
CY
136062011-08-14 Chong Yidong <cyd@stupidchicken.com>
13607
13608 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13609 filter groups.
de148fee
CY
13610 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13611 Fourquet (Bug#8804).
d024fb4e 13612
62f1ca49
JB
136132011-08-12 Juanma Barranquero <lekktu@gmail.com>
13614
13615 * startup.el (argi): Declare as global variable (bug#9275).
13616
9ccaaa4b
CY
136172011-08-12 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * subr.el (string-mark-left-to-right): Search the entire string
13620 for RTL script, not just the terminating character. Doc fix.
13621
a3dae87a
SM
136222011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623
6cd18349
SM
13624 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13625 New function.
13626 (js--regexp-literal, js-syntax-propertize-function): Remove.
13627 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13628 (js-mode-map): Don't rebind electric keys.
13629 (js-insert-and-indent): Remove.
13630 (js-mode): Setup electric-layout and electric-indent instead.
13631
a3dae87a
SM
13632 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13633
9d5cb631
DU
136342011-08-12 Daiki Ueno <ueno@unixuser.org>
13635
13636 * epa.el (epa-progress-callback-function): Fix the logic of
13637 displaying progress.
13638 * epa-file.el (epa-file-insert-file-contents): Make progress
13639 display more user-friendly.
13640 (epa-file-write-region): Ditto.
13641
3e26a4a2
CY
136422011-08-10 Chong Yidong <cyd@stupidchicken.com>
13643
13644 * subr.el (string-mark-left-to-right): New function.
13645
13646 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13647 Use string-mark-left-to-right.
13648 (list-buffers-noselect): Caller changed.
13649
a3dae87a
SM
13650 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13651 Use string-mark-left-to-right.
3e26a4a2
CY
13652 (tabulated-list-print): Recenter after moving point.
13653
ac8cf6e6
JL
136542011-08-10 Juri Linkov <juri@jurta.org>
13655
13656 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13657 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13658 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13659
8d96c9a4
CY
136602011-08-09 Chong Yidong <cyd@stupidchicken.com>
13661
13662 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13663 (Bug#7554).
13664
7be1c708 136652011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13666
13667 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13668 character. (Bug#6594)
13669
37e11a63
CY
136702011-08-08 Chong Yidong <cyd@stupidchicken.com>
13671
839dde57
CY
13672 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13673 (image-dired--with-db-file): New macro.
13674 (image-dired-write-tags, image-dired-remove-tag)
13675 (image-dired-create-gallery-lists, image-dired-write-comments)
13676 (image-dired-get-comment, image-dired-mark-tagged-files)
13677 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13678 (image-dired-gallery-generate): Use insert-file-contents.
13679
37e11a63
CY
13680 * time.el (display-time-world-list, display-time-world-display):
13681 * time-stamp.el (time-stamp-string):
13682 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13683 set-time-zone-rule (Bug#7337).
13684
0b4946c4
DU
136852011-08-08 Daiki Ueno <ueno@unixuser.org>
13686
13687 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13688 (epg-error-to-string, epg-errors-to-string): New function.
13689 (epg-wait-for-completion): Reverse errors list.
13690 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13691 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13692 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13693 (epg-sign-keys, epg-generate-key-from-file)
13694 (epg-generate-key-from-string): Format errors by using
13695 epg-errors-to-string (bug#9255).
13696 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13697
75bfc667
JL
136982011-08-07 Juri Linkov <juri@jurta.org>
13699
13700 * faces.el (list-faces-display): Remove extra angle bracket
13701 from `help-mode-map'.
13702
13703 * info.el (Info-history-toc-nodes): Doc fix.
13704
13705 * longlines.el (longlines-mode): Doc fix.
13706
673e08bb
SM
137072011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13708
4640dd88
SM
13709 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13710 of statements and in a few more cases (bug#9183).
13711
673e08bb
SM
13712 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13713 New functions.
13714 (cl-transform-lambda): Use them (bug#9239).
13715
89b3f019
MR
137162011-08-05 Martin Rudalics <rudalics@gmx.at>
13717
13718 * window.el (display-buffer-same-window)
13719 (display-buffer-same-frame, display-buffer-other-window)
13720 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13721 (pop-to-buffer-other-window)
13722 (pop-to-buffer-same-frame-other-window)
13723 (pop-to-buffer-other-frame): Make them defuns.
13724 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13725
640c8776
SM
137262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 * subr.el (make-composed-keymap): Move from C. Change calling
13729 convention, and improve docstring to bring attention to a subtle point.
13730 * minibuffer.el (completing-read-default): Adjust accordingly.
13731
63648a95
MA
137322011-08-03 Michael Albinus <michael.albinus@gmx.de>
13733
13734 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13735 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13736
13737 * net/trampver.el: Update release number.
13738
b796c9b7
SM
137392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13742 "in" (bug#9190).
13743
2239d7d5
LMI
137442011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13745
e07dd7c3
LMI
13746 * mail/sendmail.el (sendmail-query-once): Restore the current
13747 buffer after querying (bug#9074).
13748
0e6a2bd7
LMI
13749 * dired.el (dired-flagged): Use different faces for marked and
13750 flagged files (bug#6117).
13751
ce887515
LMI
13752 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13753 (bug#4433).
13754
92f2affc
LMI
13755 * ido.el (ido-mode): Switch off the message if called
13756 non-interactively.
13757
57d5aff0
LMI
13758 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13759 before 587, since it appears that that's more likely to work for
13760 more people.
13761
98cd6c18 13762 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13763 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13764 exist.
13765
b96dec83
LMI
13766 * info.el: Remove the `Info-beginning-of-buffer' function
13767 (bug#8325).
13768
b796c9b7
SM
13769 * net/network-stream.el (network-stream-open-starttls):
13770 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13771
d90e2ea0
MR
137722011-08-01 Martin Rudalics <rudalics@gmx.at>
13773
13774 * window.el (display-buffer-in-window): Don't set dedicated status
13775 of window here (Bug#9215).
13776 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13777 (display-buffer-pop-up-side-window)
b796c9b7 13778 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13779
cca09170
SM
137802011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13783 before binding generated-autoload-file.
13784
027b979c
DD
137852011-08-01 Deniz Dogan <deniz@dogan.se>
13786
13787 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13788
3c7ee4f3
MA
137892011-07-30 Michael Albinus <michael.albinus@gmx.de>
13790
13791 Sync with Tramp 2.2.2.
13792
13793 * net/trampver.el: Update release number.
13794
2cc8e51a
JL
137952011-07-30 Juri Linkov <juri@jurta.org>
13796
13797 * dired-aux.el (dired-touch-initial): Remove function.
13798 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13799 current time, and `default' to the last modification time of the
13800 current marked file (bug#6887).
13801
a514d856
JM
138022011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13803
13804 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13805 numeric argument to read-number (bug#9163).
a514d856 13806
8a7eddd7
MA
138072011-07-27 Michael Albinus <michael.albinus@gmx.de>
13808
13809 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13810 connection process, it could be nil.
13811
1ddd96f5
LL
138122011-07-27 Leo Liu <sdl.web@gmail.com>
13813
13814 Simplify url handling in rcirc-mode.
13815
13816 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13817 (rcirc-browse-url-at-mouse): Remove.
13818 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13819
b248a85d
AM
138202011-07-26 Alan Mackenzie <acm@muc.de>
13821
13822 Fontify bitfield declarations properly.
13823
13824 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13825 (c-symbol-chars): Now exported as a lang variable.
13826 (c-not-primitive-type-keywords): New lang variable.
13827
13828 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13829 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13830 parsed as a bitfield declaration.
b248a85d 13831
b796c9b7
SM
13832 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13833 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13834 (c-punctuation-in): New function.
13835 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13836 declarations properly.
13837
68575ab0
UJ
138382011-07-26 Ulf Jasper <ulf.jasper@web.de>
13839
13840 * calendar/icalendar.el (icalendar--all-events): Take care of
13841 multiple vcalendars in a single file.
b796c9b7 13842 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13843
0f0a88b9
DD
138442011-07-25 Deniz Dogan <deniz@dogan.se>
13845
13846 * image.el (insert-image): Clarifying docstring.
13847
0b3f36df
MA
138482011-07-24 Michael Albinus <michael.albinus@gmx.de>
13849
13850 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13851 `tramp-send-command-and-check' if there is no error.
13852 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13853
a9901f61
AM
138542011-07-22 Alan Mackenzie <acm@muc.de>
13855
13856 Prevent cc-langs.elc being loaded at run time.
13857
13858 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13859 cc-langs.
13860
4d61f28d 13861 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13862 "(require 'cc-langs)". Quote a form so it will evaluate at
13863 (cc-mode's) compilation time.
13864
11d074b2
MA
138652011-07-22 Michael Albinus <michael.albinus@gmx.de>
13866
13867 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13868 loading. (Bug#9114)
13869
938b94c8
MR
138702011-07-21 Martin Rudalics <rudalics@gmx.at>
13871
13872 * window.el (display-buffer-pop-up-window)
13873 (display-buffer-pop-up-side-window)
13874 (display-buffer-in-side-window): Call display-buffer-set-height
13875 and display-buffer-set-width after setting the new window's
b796c9b7 13876 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13877
bfa4f190
SS
138782011-07-20 Sam Steingold <sds@gnu.org>
13879
13880 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13881 (etags-tags-included-tables): Call `convert-standard-filename' on
13882 the file names contained in TAGS so that windows Emacs can handle
13883 TAGS files created by cygwin ctags.
13884
8ca42262
LMI
138852011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13886
13887 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13888 which apparently didn't work.
13889
5db2afd2 138902011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13891
5db2afd2
RW
13892 * proced.el (proced-send-signal): For *Marked Processes* buffer
13893 put point at beginning of buffer.
13894
92e15d10
SB
138952011-07-19 Stephen Berman <stephen.berman@gmx.net>
13896
13897 * proced.el (proced-format): Make header lines align with the text
13898 (bug#1779).
13899
1bfd59e5
LMI
139002011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13901
13902 * view.el (view-buffer): Allow running in `special' modes if we're
13903 visiting a file (bug#8615).
13904
f5aae37c
MR
139052011-07-19 Martin Rudalics <rudalics@gmx.at>
13906
13907 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13908 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13909 New functions.
f5aae37c
MR
13910 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13911 more accurately.
13912
bf2c1571
AM
139132011-07-18 Alan Mackenzie <acm@muc.de>
13914
13915 Fontify declarators properly when, e.g., a jit-lock chunk begins
13916 inside a declaration.
13917
13918 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13919
b796c9b7
SM
13920 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13921 New function.
bf2c1571
AM
13922 (c-complex-decl-matchers): Insert reference to
13923 c-font-lock-enclosing-decls.
13924
13925 * progmodes/cc-engine.el (c-backward-single-comment):
13926 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13927 to nil around calls to (forward-comment -1).
13928
4e190b80
LMI
139292011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13930
12dc863d
LMI
13931 * image.el (put-image): Doc typo fix.
13932
a762e966
LMI
13933 * progmodes/etags.el (tags-search): Doc typo fix.
13934
4e190b80
LMI
13935 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13936 password if we get errors 550 to 554.
13937
f019fb21
LMI
139382011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13939
b796c9b7 13940 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13941
81746738
LMI
13942 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13943 indentation character (bug#6380).
13944
3ee3a1b5
LMI
13945 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13946
c82f64de
LMI
13947 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13948 to clarify what the problem is (bug#4291).
13949
f019fb21
LMI
13950 * simple.el (current-kill): Clarify what
13951 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13952 (auto-fill-mode): Document `auto-fill-function' in relation to
13953 `auto-fill-mode' (bug#2470).
f019fb21 13954
0794775d
LM
139552011-07-16 Lawrence Mitchell <wence@gmx.li>
13956
13957 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13958 method if slot is read-only (bug#9035).
13959
be39b8cc
MR
139602011-07-16 Martin Rudalics <rudalics@gmx.at>
13961
b796c9b7 13962 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13963 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13964 selected before, see discussion of (Bug#8615), (Bug#6954).
13965 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13966
6ccf7859
GM
139672011-07-15 Glenn Morris <rgm@gnu.org>
13968
13969 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13970 Respect help-form.
6ccf7859 13971
87e86684
LM
139722011-07-09 Lawrence Mitchell <wence@gmx.li>
13973
13974 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13975 (gnutls-negotiate): Use it.
13976
d6066239
LMI
139772011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13978
b796c9b7
SM
13979 * net/gnutls.el (gnutls-negotiate):
13980 Upcase `gnutls-algorithm-priority'.
d6066239 13981
bd23ebc0
GM
139822011-07-15 Glenn Morris <rgm@gnu.org>
13983
c65bca65
GM
13984 * jka-compr.el (jka-compr-verbose): Move from here...
13985 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13986 Add missing :version tag.
13987 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13988
478615cc
LMI
139892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13990
7b41decb
LMI
13991 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13992 (gnutls-negotiate): Use it.
13993
dbc44fcd
LMI
13994 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13995
06789f97
LMI
13996 * info.el (Info-beginning-of-buffer): New command.
13997 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13998 announcing `b' as the key (bug#8325).
ab896c37 13999 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14000
c39da690
LMI
14001 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14002
3aa5f34b
LMI
14003 * international/mule-cmds.el
14004 (describe-specified-language-support): Make the error message
14005 clearer (bug#8905).
14006
4bf0979f
LMI
14007 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14008
478615cc
LMI
14009 * isearch.el (isearch-barrier): Add a doc string, since it's
14010 mentioned in a function doc string (bug#8678).
14011
75c68aa1
MR
140122011-07-15 Martin Rudalics <rudalics@gmx.at>
14013
14014 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14015 buffer argument (Bug#9083) and self-identifying label argument.
14016
a7c33da2
GM
140172011-07-15 Glenn Morris <rgm@gnu.org>
14018
14019 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14020
2f5c6024
LMI
140212011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14022
14023 * man.el (Man-fontify-manpage): Fix message when formatting the
14024 man page (bug#7929).
14025
0bb23927 140262011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14027
14028 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14029 argument LRM; if non-nil, append an invisible LRM character to the
14030 buffer name.
14031 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14032 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14033 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14034 paragraph direction.
cce4b0a7 14035
621ef9ab
LMI
140362011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14037
d1583c48
LMI
14038 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14039 the man page name (bug#7929).
14040
6a57fb5f
LMI
14041 * image.el (put-image): Mention the `put-image' overlay property
14042 (bug#7834).
14043
d7956b14
LMI
14044 * scroll-bar.el (set-scroll-bar-mode): Mention that
14045 `scroll-bar-mode' lists the values (bug#7772).
14046
5b2d4a66
LMI
14047 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14048 command (bug#7729).
14049
7509a874
LMI
14050 * rect.el (apply-on-rectangle): Return the point after the last
14051 operation.
14052 (string-rectangle): Go to the point after the last operation
14053 (bug#7522).
14054
4fe74b19
LMI
14055 * printing.el (pr-toggle-region): Clarify the documentation
14056 slightly (bug#7493).
14057
b796c9b7
SM
14058 * time.el (display-time-update):
14059 Allow `display-time-mail-function' to return nil (bug#7158).
14060 Fix suggested by Detlev Zundel.
ab283561 14061
fc233c9d
LMI
14062 * vc/diff.el (diff): Clarify the order the file names are read
14063 (bug#7111).
14064
43f5740b
LMI
14065 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14066 the doc string (bug#7015).
14067
f2182a76
LMI
14068 * font-lock.el (font-lock-maximum-decoration): Mention what
14069 numeric levels mean (bug#6935).
14070
621ef9ab
LMI
14071 * startup.el (initial-buffer-choice): Don't mention the `none'
14072 selection, which is against policy.
14073
adc47434
MR
140742011-07-14 Martin Rudalics <rudalics@gmx.at>
14075
b796c9b7
SM
14076 * window.el (display-buffer-normalize-special):
14077 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14078
7e5bfb8f
EZ
140792011-07-14 Eli Zaretskii <eliz@gnu.org>
14080
14081 * subr.el (version<, version<=, version=): Mention "-CVS" and
14082 "-12345" alpha version numbers.
14083
27fa387a
CY
140842011-07-14 Chong Yidong <cyd@stupidchicken.com>
14085
14086 * bindings.el: Add advertised binding for set-mark-command
14087 (Bug#5772).
14088
8bdfa064
CY
140892011-07-14 Chong Yidong <cyd@stupidchicken.com>
14090
14091 * bindings.el (mode-line-other-buffer):
14092 * bookmark.el (bookmark-bmenu-2-window):
14093 * bs.el (bs-cycle-next, bs-cycle-previous):
14094 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14095 switch-to-buffer.
14096
14097 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14098 Delete.
8bdfa064 14099
5eba16a3
JB
141002011-07-14 Juanma Barranquero <lekktu@gmail.com>
14101
14102 * follow.el (follow-debug-message, follow-redisplay):
14103 * jka-cmpr-hook.el (with-auto-compression-mode):
14104 Fix typos in docstrings.
14105
15853710
LMI
141062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14107
a28e4607
LMI
14108 * subr.el (with-silent-modifications): Clarify somewhat what the
14109 macro inhibits (bug#6525).
14110
15853710
LMI
14111 * simple.el (eval-expression): Note what it does if called
14112 interactively (bug#6495).
14113
bee0fcef
CY
141142011-07-13 Chong Yidong <cyd@stupidchicken.com>
14115
b796c9b7
SM
14116 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14117 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14118
14119 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14120 Remove switch-to-buffer.
14121
58274504
LMI
141222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14123
bd2fcc8d
LMI
14124 * files.el (make-directory): Clarify that an error will be raised
14125 if there's an error (bug#6397).
14126
0f04b32c
LMI
14127 * startup.el (initial-buffer-choice): Add `none' as a choice
14128 (bug#6234).
14129
465c5fc8
LMI
14130 * subr.el (add-hook): Clarify section about buffer-local hooks
14131 (bug#6218).
14132
58274504
LMI
14133 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14134
bead9a43
JB
141352011-07-13 Juanma Barranquero <lekktu@gmail.com>
14136
14137 * tabify.el (untabify): Preserve the current column so that point
14138 doesn't move (bug#6032).
14139
3af98a7b
LMI
141402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14141
b796c9b7
SM
14142 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14143 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14144
6240145a
GM
141452011-07-13 Glenn Morris <rgm@gnu.org>
14146
14147 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14148 (dired-insert-directory): Give a message the first time
14149 if ls is found not to support --dired.
14150
1d8c2ccc
LMI
141512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14152
14153 * simple.el (toggle-truncate-lines): Clarify what is toggled
14154 (bug#5580). Text by Drew Adams.
14155
5fc4038e
CY
141562011-07-13 Chong Yidong <cyd@stupidchicken.com>
14157
14158 * simple.el (blink-matching-open): Make the error message from the
14159 last change less verbose.
14160
bf6012e5
DN
141612011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14162
14163 * font-lock.el (font-lock-comment-face): Use the high contrast
14164 "yellow" color for font-lock-comment-face on low color terminals
14165 using a dark background color (bug#4221).
14166
343c3b5a
LMI
141672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14168
7e9505c5
LMI
14169 * dired.el (dired-insert-set-properties): Make the doc string
14170 reflect what it does now (bug#5325).
14171
c26fdcf5
LMI
14172 * simple.el (blink-matching-open): Say that we were unable to find
14173 the match within the limit, if we're limited (bug#5122).
14174
bb388cc5
LMI
14175 * international/mule-cmds.el (prefer-coding-system): Add an
14176 example (bug#4869).
14177
343c3b5a
LMI
14178 * progmodes/etags.el (tags-search): Document `file-list-form'
14179 (bug#4731).
14180
2a517d45
LM
141812011-07-13 Lawrence Mitchell <wence@gmx.li>
14182
14183 * net/browse-url.el (browse-url-default-browser)
14184 (browse-url-browser-function): Make the default browser choice a
14185 bit more logical (bug#4300). Also clean up the doc string.
14186
b6c78ef2
JB
141872011-07-13 Juanma Barranquero <lekktu@gmail.com>
14188
14189 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14190 binary endings (bug#4440).
14191
1c4dd947
LMI
141922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14193
a2014063
LMI
14194 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14195 which can be pretty annoying (bug#8971).
14196
9c9c2d88
LMI
14197 * jka-compr.el (jka-compr-verbose): New variable, and use
14198 throughout (bug#8971).
14199
1c4dd947
LMI
14200 * info.el (Info-find-file): Fall back on the installation
14201 directory if we can't find the info node anywhere else.
14202
a1c9f41b
SO
142032011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14204
14205 * vc/vc.el (vc-revert-file):
14206 Don't set file time-stamp in the past. (Bug#5181)
14207
536f3d36
LMI
142082011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14209
7152b011
LMI
14210 * files.el (after-find-file): Give a better error message when
14211 trying to find a symlink that points to a file that doesn't exist
14212 (bug#4398).
14213
536f3d36
LMI
14214 * progmodes/cc-vars.el: Remove (probably) misleading comment
14215 (bug#4396).
14216
460c0fba
JB
142172011-07-12 Johan Bockgård <bojohan@gnu.org>
14218
14219 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14220
7a6bda45
CY
142212011-07-12 Chong Yidong <cyd@stupidchicken.com>
14222
14223 * mouse-sel.el: Hack restoring functionality, while keeping
14224 compatibility with 2010-07-03 changes to mouse selection.
14225 (mouse-sel-primary-overlay): New var.
14226 (mouse-sel-selection-alist): Use it.
14227 (mouse-sel-mode): Doc fix; remove points that are default features
14228 of mouse.el.
14229
c79598ef
JB
142302011-07-12 Johan Bockgård <bojohan@gnu.org>
14231
14232 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14233 Fix previous fix (bug#2490).
14234
ff8be6ef
RW
142352011-07-12 Roland Winkler <winkler@gnu.org>
14236
b796c9b7
SM
14237 * textmodes/bibtex.el (bibtex-initialize):
14238 Use pop-to-buffer-same-window.
ff8be6ef
RW
14239 (bibtex-search-entries): Fix interactive call.
14240
296ba3ee
LMI
142412011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14242
f5242a02 14243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14244 Fontise bytecomp Error lines more correctly (bug#2490).
14245 Fix suggested by Johan Bockgård.
f5242a02 14246
296ba3ee
LMI
14247 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14248
14249 * dired-x.el (dired-guess-default): Use `delete-dups'.
14250
f69fd0d2
CY
142512011-07-12 Chong Yidong <cyd@stupidchicken.com>
14252
14253 * dired.el (dired-mark-prompt):
14254 * dired-aux.el (dired-read-shell-command): Doc fix.
14255
eab5dc07
LMI
142562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14257
b796c9b7
SM
14258 * mail/sendmail.el (sendmail-query-once):
14259 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14260 emacs -Q.
14261
14262 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14263
eab5dc07
LMI
14264 * cus-edit.el (custom-file): Take an optional no-error variable.
14265 (customize-save-variable): Set the variable, and give a warning if
14266 running under "emacs -q".
14267
a1e65d42
JB
142682011-07-11 Juanma Barranquero <lekktu@gmail.com>
14269
14270 * loadhist.el (unload-feature-special-hooks):
14271 Add `auto-coding-functions', `fill-nobreak-predicate' and
14272 `find-directory-functions' (bug#5327).
14273
1d52da10
LMI
142742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14275
be958f1d
LMI
14276 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14277
5bedb26c
LMI
14278 * cus-edit.el (custom-guess-name-alist): -alist variables should
14279 use the `alist' type (bug#3120). Suggested by Drew Adams.
14280
1d52da10
LMI
14281 * printing.el: Add documentation to all the `pr-toggle-' commands.
14282
cd394be1 142832011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14284
14285 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14286 backends where it makes sense (bug#2623).
14287
dcc88d8a
LMI
142882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14289
c3de9feb
LMI
14290 * dired-x.el (dired-guess-default): Remove duplicate shell command
14291 entries (bug#2028).
8a93078b 14292 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14293 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14294
dcc88d8a
LMI
14295 * subr.el (remove-duplicates): New conveniency function.
14296
505e3645
LMI
142972011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14298
14299 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14300 (bug#1526).
14301
143022011-07-10 Martin Rudalics <rudalics@gmx.at>
14303
14304 * window.el (display-buffer-normalize-default): Don't invert
14305 meaning of even-window-heights. Reported by Eli Zaretskii
14306 <eliz@gnu.org>.
14307
455e4fa1
BR
143082011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14309
14310 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14311
8e0bc3e9
CY
143122011-07-10 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * window.el (display-buffer): Fix arguments to
14315 display-buffer-reuse-window in last change.
14316
fa7c3228
CY
14317 * faces.el (link): Use a less saturated blue on light backgrounds.
14318
14319 * startup.el (fancy-startup-text, fancy-about-text)
14320 (fancy-startup-tail): Use font-lock faces, for background safety.
14321
c0a7f300
BN
143222011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14323
b796c9b7
SM
14324 * emulation/viper-cmd.el (viper-change-state-to-vi):
14325 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14326
4dc2a129
MR
143272011-07-09 Martin Rudalics <rudalics@gmx.at>
14328
14329 * window.el (display-buffer-default-specifiers): Remove.
14330 (display-buffer-macro-specifiers): Remove default specifiers.
14331 (display-buffer-alist): Default to nil.
b796c9b7 14332 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14333 (display-buffer-pop-up-window): Allow splitting internal
14334 windows. Check whether a live window was created.
14335 (display-buffer-other-window-means-other-frame)
14336 (display-buffer-normalize-arguments): Rename to
14337 display-buffer-normalize-argument and rewrite. Set the
14338 other-window specifier.
14339 (display-buffer-normalize-special): New function.
14340 (display-buffer-normalize-options): Rename to
14341 display-buffer-normalize-default and rewrite.
14342 (display-buffer-normalize-options-inhibit): Remove.
14343 (display-buffer-normalize-specifiers): Rewrite.
14344 (display-buffer): Process other-window specifier and call
14345 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14346 more faithfully.
b796c9b7 14347 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14348 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14349 (display-buffer-in-window, display-buffer-alist-set):
14350 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14351 <tassilo@member.fsf.org>.
14352
2d43b8c9
LL
143532011-07-09 Leo Liu <sdl.web@gmail.com>
14354
14355 * register.el (insert-register): Restore accidental change on
14356 2011-06-26. (Bug#9028)
14357
7f9b7c53
GM
143582011-07-09 Glenn Morris <rgm@gnu.org>
14359
14360 * subr.el (remq): Handle the empty list. (Bug#9024)
14361
f042cfd8
AS
143622011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14363
14364 * mail/sendmail.el (send-mail-function): No longer delay custom
14365 initialization.
14366 * custom.el (custom-initialize-delay): Doc fix.
14367
856b2f11
SM
143682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14371
afae1d68
MA
143722011-07-08 Michael Albinus <michael.albinus@gmx.de>
14373
14374 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14375 human-friendly prompt.
14376
0757af94
SM
143772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14378
14379 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14380 provided by a particular plugin.
14381
d760b731
LMI
143822011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14383
14384 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14385 save customizations (with "emacs -Q"), just set the variable
14386 instead of erroring out.
14387
14388 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14389
cd79ce90
JL
143902011-07-08 Juri Linkov <juri@jurta.org>
14391
14392 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14393 (archive-zip-update-case): Use 7z if found by `executable-find'.
14394 The order of searching the available programs is the same as in
14395 `archive-zip-extract' (bug#8968).
14396
14cc04aa
CY
143972011-07-07 Chong Yidong <cyd@stupidchicken.com>
14398
14399 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14400 (menu-bar-options-menu): Tweak descriptions.
14401
0a1848ec
LMI
144022011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14403
14404 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14405 menu items into verb phrases (bug#1421). Also refill to fit under
14406 80 columns.
14407
f5bd0689
CY
144082011-07-07 Chong Yidong <cyd@stupidchicken.com>
14409
538e85c6
CY
14410 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14411 (Info-read-node-name): Doc fix (Bug#1084).
14412
f5bd0689
CY
14413 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14414 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14415 (end-of-sexp, beginning-of-sexp)
14416 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14417 (forward-symbol, forward-same-syntax, word-at-point)
14418 (sentence-at-point): Doc fix (Bug#1144).
14419
56ec5115
LMI
144202011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14421
f3f8e37f
LMI
14422 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14423 should cover it (bug#1281).
14424
0757af94 14425 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14426
e9fce1ac 14427 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14428 negotiation fails, then possibly try again with a non-encrypted
14429 connection (bug#9017).
14430
56ec5115
LMI
14431 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14432 be used.
14433
c2f9aec8
RS
144342011-07-07 Richard Stallman <rms@gnu.org>
14435
14436 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14437 property, and handle its changed format.
14438 Look for the correct line number.
14439 Use file's line contents (but not past first =) to find
14440 correct line in message.
14441
ef7b981d 144422011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14443
14444 * international/characters.el (build-unicode-category-table):
14445 Delete it.
0757af94 14446 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14447
0757af94 14448 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14449 to src/chartab.c.
14450 (get-char-code-property): Call unicode-property-table-internal to
14451 load a file. Call get-unicode-property-internal where necessary.
14452 (put-char-code-property): Call unicode-property-table-internal to
14453 load a file. Call put-unicode-property-internal where necessary.
14454 put-unicode-property-internal where necessary.
0757af94
SM
14455 (char-code-property-description):
14456 Call unicode-property-table-internal to load a file.
c805dec0
KH
14457
14458 * international/charprop.el:
14459 * international/uni-bidi.el:
14460 * international/uni-category.el:
14461 * international/uni-combining.el:
14462 * international/uni-comment.el:
14463 * international/uni-decimal.el:
14464 * international/uni-decomposition.el:
14465 * international/uni-digit.el:
14466 * international/uni-lowercase.el:
14467 * international/uni-mirrored.el:
14468 * international/uni-name.el:
14469 * international/uni-numeric.el:
14470 * international/uni-old-name.el:
14471 * international/uni-titlecase.el:
14472 * international/uni-uppercase.el: Regenerate.
14473
14474 * loadup.el: Load international/charprop.el before
14475 international/characters.
14476
e14b388a
CY
144772011-07-07 Chong Yidong <cyd@stupidchicken.com>
14478
14479 * window.el (next-buffer, previous-buffer): Signal an error if
14480 called from a minibuffer window.
14481
14482 * bindings.el: Revert 2011-07-04 change.
14483
354cf0ba
RS
144842011-07-06 Richard Stallman <rms@gnu.org>
14485
14486 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14487 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14488 Treat markers like ints.
14489 (rmail-mime-entity): Doc fix.
14490
a48868a7
LMI
144912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14492
4906cd3d
LMI
14493 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14494 defcustom again for backwards compatibility.
14495
e0457abe
LMI
14496 * simple.el (shell-command-on-region): Fill.
14497
d67f7e1f
LMI
14498 * dired-aux.el (dired-kill-line): Add a doc string.
14499
fe204702
LMI
14500 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14501 to "\\sw\\|\\s_" (bug#358).
14502
a48868a7
LMI
14503 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14504 (dired-unmark-backward): Ditto.
14505 (dired-flag-backup-files): Ditto.
14506
14507 * dired-x.el (dired-mark-sexp): Ditto.
14508
aa8a705c
RS
145092011-07-06 Richard Stallman <rms@gnu.org>
14510
14511 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14512 (rmail-mime-entity): New arg TRUNCATED.
14513 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14514 New functions.
14515 (rmail-mime-save): Warn if entity is truncated.
14516 (rmail-mime-toggle-hidden): Likewise, for showing.
14517 (rmail-mime-process-multipart): Record when an entity is truncated.
14518
a9a936b9
RS
14519 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14520 if ENTITY is a string.
14521
1f2b92cb
LMI
145222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14523
f4f73198 14524 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14525 of faces when `M-C-x'-ing their definitions (bug#8378).
14526 Also clean up the code slightly.
f4f73198 14527
12b16734 14528 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14529 because that makes the colors go away.
12b16734 14530
f0691d22
LMI
14531 * mail/sendmail.el (send-mail-function): Change the default to
14532 `sendmail-query-once'.
9e87df06 14533 (sendmail-query-once): Add an autoload cookie.
f0691d22 14534
1f2b92cb
LMI
14535 * net/network-stream.el (network-stream-open-starttls): Try using
14536 a plain connection even if the server offered STARTTLS, and we
14537 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14538 capability. This should make smtpmail.el work in slightly more
14539 configurations.
14540
1cdd2a1b
MA
145412011-07-06 Michael Albinus <michael.albinus@gmx.de>
14542
14543 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14544 New defun.
14545 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14546
fbcc67e2
MM
145472011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14548
14549 * progmodes/sql.el: Version 3.0
0757af94 14550 (sql-product-alist): Add product :completion-object,
fbcc67e2 14551 :completion-column, and :statement attributes.
0757af94 14552 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14553 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14554 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14555 ansi keywords.
14556 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14557 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14558 (sql-oracle-show-reserved-words): New function for development.
14559 (sql-product-font-lock): Simplify for source code buffers.
14560 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14561 New functions.
14562 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14563 (sql-mode-map): Add statement movement functions.
14564 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14565 New variable.
fbcc67e2
MM
14566 (sql-statement-regexp, sql-beginning-of-statement)
14567 (sql-end-of-statement, sql-signum): New functions.
0757af94 14568 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14569 (sql-show-sqli-buffer): Bug fix.
14570 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14571 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14572 with sql-interactive-mode.
14573 (sql-save-connection): Save buffer local settings.
0757af94 14574 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14575 (sql-product-interactive): Bug fix.
14576 (sql-preoutput-hold): New variable.
14577 (sql-interactive-remove-continuation-prompt): Bug fixes.
14578 (sql-debug-redirect): New variable.
14579 (sql-str-literal): New function.
14580 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14581 Redesign.
fbcc67e2
MM
14582 (sql-oracle-save-settings, sql-oracle-restore-settings)
14583 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14584 (sql-completion-object, sql-completion-column)
14585 (sql-completion-sqlbuf): New variables.
14586 (sql-build-completions-1, sql-build-completions)
14587 (sql-try-completion): New functions.
14588 (sql-read-table-name): Use them.
14589 (sql-contains-names): New buffer local variable.
14590 (sql-list-all, sql-list-table): Use it.
14591 (sql-oracle-completion-types): New variable.
14592 (sql-oracle-completion-object, sql-sqlite-completion-object)
14593 (sql-postgres-completion-object): New functions.
14594
d4eaeab1
GM
145952011-07-06 Glenn Morris <rgm@gnu.org>
14596
14597 * window.el (pop-to-buffer): Doc fix.
14598
322b7dab 145992011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14600
14601 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14602
322b7dab 146032011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14604
322b7dab 14605 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14606
322b7dab 14607 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14608
605dd5bf
CY
146092011-07-05 Chong Yidong <cyd@stupidchicken.com>
14610
14611 * button.el (button): Inherit from link face. Suggested by Dan
14612 Nicolaescu.
14613
7dbfa719
SM
146142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14615
3db614b0
SM
14616 * progmodes/gdb-mi.el: Fit in 80 columns.
14617 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14618 switch-to-buffer.
14619
7dbfa719
SM
14620 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14621 if imenu is simply not configured (bug#8941).
14622
919d884a
KM
146232011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14624
14625 * allout.el (allout-post-undo-hook): New allout outline-change
14626 event hook to signal undo activity.
14627 (allout-post-command-business): Run allout-post-undo-hook if an
14628 undo just occurred.
7dbfa719
SM
14629 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14630 * allout-widgets.el (allout-widgets-after-undo-function):
14631 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14632 in the vicinity of an undo.
14633 (allout-widgets-mode): Include allout-widgets-after-undo-function
14634 on the new allout-post-undo-hook.
14635
450a0f09
SM
146362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14639 Let define-derived-mode define it.
14640 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14641 cycles of abbrev-table inheritance (bug#8998).
14642
2de69e00
RW
146432011-07-05 Roland Winkler <winkler@gnu.org>
14644
14645 * textmodes/bibtex.el: Add support for biblatex.
14646 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14647 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14648 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14649 (bibtex-entry-alist, bibtex-field-alist): New variables.
14650 (bibtex-entry-field-alist): Obsolete alias for
14651 bibtex-BibTeX-entry-alist.
14652 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14653 (bibtex-set-dialect): New command.
14654 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14655 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14656 Bind via bibtex-set-dialect.
2de69e00
RW
14657 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14658 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14659 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14660 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14661 Define via bibtex-set-dialect.
450a0f09
SM
14662 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14663 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14664 (bibtex-vec-push, bibtex-vec-incr): New functions.
14665 (bibtex-format-entry, bibtex-field-list)
14666 (bibtex-print-help-message, bibtex-validate)
14667 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14668
2dcdbdd9
SM
146692011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * progmodes/compile.el (compilation-goto-locus):
14672 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14673 * bs.el (bs-cycle-next, bs-cycle-previous):
14674 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14675 * bindings.el (mode-line-other-buffer):
14676 * autoinsert.el (auto-insert):
14677 * arc-mode.el (archive-extract):
14678 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14679
b27640fe
JB
146802011-07-05 Juanma Barranquero <lekktu@gmail.com>
14681
14682 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14683 Fix check of `emacs-lock-unlockable-modes'.
14684 Coerce true values of `emacs-lock--try-unlocking' to t.
14685
53bbe3ad
JB
146862011-07-05 Juanma Barranquero <lekktu@gmail.com>
14687
14688 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14689 * emacs-lock.el: New file.
14690
1d3cdbc7
JD
146912011-07-05 Julien Danjou <julien@danjou.info>
14692
14693 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14694 than `boundp' to check if face is set.
14695
9173deec
JB
146962011-07-05 Juanma Barranquero <lekktu@gmail.com>
14697
14698 * register.el (registerv-make):
14699 * window.el (window-min-height): Fix typos in docstrings.
14700
869795d6
JD
147012011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14702
9173deec 14703 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14704 Update doc string.
14705
b768cdcd
JB
147062011-07-04 Juanma Barranquero <lekktu@gmail.com>
14707
14708 * server.el (server-execute): Catch quit and call
14709 `server-return-error' to pass the error back to emacsclient and
14710 close the connection (bug#8942).
14711
13aa217b
KM
147122011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14713
14714 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14715 insecure exception for current topic. Also note that auto-saves
14716 are handled differently.
14717
5d3385a0 14718 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14719 State variables for tracking auto-save inhibition situation.
14720
14721 (allout-write-contents-hook-handler): Rename from
14722 'allout-write-file-hook-handler', and describe how it depends on
14723 write-contents-functions sensitivity to non-nil value to prevent
14724 file write.
14725
14726 (allout-auto-save-hook-handler): Remove. auto-save does not check
14727 this in individual buffers, only in the starting buffer, so this
14728 is not the right way for us to inhibit auto-save in a buffer
14729 according to its condition.
14730
14731 (allout-mode): Use new allout-write-contents-hook-handler, and
14732 only with write-contents-functions. Remove auto-save provisions -
14733 they're implemented elsewhere.
14734
14735 (allout-before-change-handler): If undo is in progress, note that
14736 for attention of allout-post-command-business.
14737
14738 (allout-post-command-business): If the command we're following was
14739 an undo, check for change in the status of encrypted items and
14740 adjust auto-save inhibitions accordingly.
14741
14742 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14743 according to whether there are or aren't any plain-text topics
14744 pending encryption.
14745
2dcdbdd9 14746 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14747 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14748 if there are plain-text topics pending encryption.
13aa217b
KM
14749
14750 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14751 buffer-saved-size and some allout state to not inhibit auto-saves
14752 if there are no longer any plain-text topics pending encryption.
14753
0757af94
SM
14754 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14755 No longer provide for exemption of the current topic.
13aa217b 14756
ac89b32c
JL
147572011-07-04 Juri Linkov <juri@jurta.org>
14758
14759 Add 7z operations to delete and save changed members (bug#8968).
14760 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14761 New defcustoms.
14762 (archive-7z-write-file-member): New function.
14763 (archive-7z-summarize): Fix the number of dashes in the
14764 listing output.
14765
8fa39615
SM
147662011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14769 (bug#8958).
14770
2f11b3f1
CY
147712011-07-04 Chong Yidong <cyd@stupidchicken.com>
14772
d66fef2b
CY
14773 * bindings.el: Ignore next-buffer and previous-buffer in
14774 minibuffer-local-map.
14775
2f11b3f1
CY
14776 * font-lock.el (font-lock-builtin-face): Change light background
14777 color to dark slate blue (Bug#6693).
14778
f932a347
WD
147792011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14780
14781 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14782
c8af70e1
SM
147832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14786 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14787 Add switch-to-buffer.
14788
f158badc
LMI
147892011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14790
14791 * isearch.el (isearch-search-fun-function): Clarify further the
14792 meaning of the function returned.
14793
6d95bd46
MA
147942011-07-04 Michael Albinus <michael.albinus@gmx.de>
14795
14796 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14797
14798 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14799 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14800 Use it.
14801 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14802 `tramp-default-remote-path' does not exist.
14803 (tramp-send-command-and-read): New optional argument NOERROR.
14804 (tramp-open-connection-setup-interactive-shell)
14805 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14806 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14807 (tramp-process-sentinel): Flush also process' connection property.
14808 (tramp-sh-handle-start-file-process): Do not set process
14809 sentinel. It is done now ...
14810 (tramp-maybe-open-connection): ... here. (Bug#8929)
14811
909e6b67
MK
148122011-07-04 MON KEY <monkey@sandpframing.com>
14813
14814 * play/animate.el (animate-string): Doc fixes and allow changing
14815 the buffer name (bug#5417).
14816
148172011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14818
c8af70e1 14819 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14820
f34755dc
PE
148212011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14822
396cec72
PE
14823 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14824 This is simpler and helps future-proof the code.
14825 (timer-until): Use time-subtract and float-time.
08235028 14826 (timer--time-less-p): Use time-less-p.
f34755dc 14827
56e6cc31
JB
148282011-07-04 Juanma Barranquero <lekktu@gmail.com>
14829
3abb79e5
JB
14830 * type-break.el (timep): Use the value of `float-time' to avoid a
14831 byte-compiler warning.
14832
56e6cc31
JB
14833 * server.el (server-eval-and-print): Return any result, even nil.
14834
7b9430b4
PE
148352011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14836
14837 * type-break.el: Accept time formats that the builtins accept.
14838 (timep, type-break-time-difference): Accept any format that
14839 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14840 This is simpler and helps future-proof the code.
14841 (type-break-time-difference): Round rather than ignoring
14842 subseconds components.
14843
3034e9e7
LMI
148442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14845
14846 * info.el (Info-apropos-matches): Make non-interactive, since it
14847 doesn't seem to do anything useful as a command (bug#8829).
14848
1485f4c0
CY
148492011-07-03 Chong Yidong <cyd@stupidchicken.com>
14850
14851 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14852 Move from faces.el.
1485f4c0
CY
14853 (frame-default-terminal-background): New function.
14854
14855 * custom.el (custom-push-theme): Don't record faces in `changed'
14856 theme; this doesn't work correctly for per-frame face settings.
14857 (disable-theme): Use face-set-after-frame-default to reset faces.
14858 (custom--frame-color-default): New function.
14859
9fa3dd45
LMI
148602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14861
c8af70e1 14862 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14863 (bug#8769).
14864
6cbbc20c
KR
148652011-03-29 Kevin Ryde <user42@zip.com.au>
14866
14867 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14868 `perl-Test2' extend to match possible "fail #N" rep count
14869 (bug#8377).
14870
c7f98048
LMI
148712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14872
65676592
LMI
14873 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14874 `smtpmail-via-smtp' now returns the error instead of nil.
14875
c7f98048
LMI
14876 * isearch.el (isearch-search-fun-function): Clarify the doc string
14877 (bug#8101).
14878
56e6cc31 148792011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14880
14881 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14882 unnecessary spaces (bug#8987).
14883
2b216704
LMI
148842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14885
14886 * net/network-stream.el (open-network-stream): Use the
14887 :end-of-capability command thoughout.
14888
148892011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14890
14891 * net/network-stream.el (open-network-stream): Add the
14892 :end-of-capability command parameter, used by pop3.el.
14893
36adf6ce
LMI
148942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14895
1ca0da0e
LMI
14896 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14897
fc00f69c
LMI
14898 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14899 for list)" (bug#6475).
14900
28fd8759 14901 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14902 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14903 an error (bug#6297).
14904
0dd8b6da
LMI
14905 * man.el (Man-reference-regexp): Allow matching possible
14906 word-wrapped references (bug#6289).
14907
ce1438d6
LMI
14908 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14909 for consistency with the other vc buffers (bug#6197).
14910 (vc-checkin): Ditto.
14911
14912 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14913
36adf6ce
LMI
14914 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14915
e83cc1f7
LMI
149162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14917
8a20ca4c
LMI
14918 * custom.el (defcustom): Clarify that :set is only used in the
14919 Customize user interface (bug#6089).
14920
83319045
LMI
14921 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14922 associated with a file, refuse to run instead of erroring out
14923 (bug#6084).
14924
a8392169
LMI
14925 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14926 the doc string, since it appears that using `fill-column' always
14927 controls the width (bug#7845).
14928
e83cc1f7
LMI
14929 * simple.el (shell-command-on-region): Say where the error output
14930 went if `shell-command-default-error-buffer' is set (bug#6857).
14931
e47ca23b
KM
149322011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14933
14934 * allout.el (allout-yank-processing): Adjust cursor position for
14935 backwards-deleted space.
14936
14937 (allout-rebullet-heading): Register changes with
14938 allout-exposure-changed-hook, so the modified topic is properly
14939 decorated.
14940
5cf56143
LMI
149412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14942
08549772
LMI
14943 * minibuffer.el (completion-in-region): Document PREDICATE
14944 (bug#7136).
14945
48e96771
LMI
14946 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14947 of keyword/argument pairs (bug#6904).
14948
c8af70e1
SM
14949 * replace.el (multi-occur):
14950 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14951
e17d05e2
LMI
149522011-07-02 Drew Adams <drew.adams@oracle.com>
14953
14954 * dired.el (dired-mark-if): Make the message about whether it's
14955 marking or unmarking clearer (bug#8523).
14956
063b0e45
LMI
149572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14958
14959 * disp-table.el (display-table-print-array): New function.
14960 (describe-display-table): Use it to print the vectors more pretty
14961 (Bug#8859).
14962
28545e04
MR
149632011-07-02 Martin Rudalics <rudalics@gmx.at>
14964
14965 * window.el (window-state-get-1): Don't assign clone numbers.
14966 Add clone-of item to list of window parameters.
14967 (window-state-put-2): Don't process clone numbers.
14968 (display-buffer-alist): Fix doc-string.
14969
3349e122
SM
149702011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14971
14972 * subr.el (remq): Don't allocate if it's not needed.
14973 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14974 (keymap--merge-bindings): New functions.
14975 (keymap-canonicalize): Use them to refine the canonicalization.
14976 * minibuffer.el (minibuffer-local-completion-map)
14977 (minibuffer-local-must-match-map): Move initialization from C.
14978 (minibuffer-local-filename-completion-map): Move initialization from C;
14979 don't inherit from anything here.
14980 (minibuffer-local-filename-must-match-map): Make obsolete.
14981 (completing-read-default): Use make-composed-keymap to combine
14982 minibuffer-local-filename-completion-map with either
14983 minibuffer-local-must-match-map or
14984 minibuffer-local-filename-completion-map.
14985
d224ac83
GM
149862011-07-01 Glenn Morris <rgm@gnu.org>
14987
3de63bf8
GM
14988 * type-break.el (type-break-time-sum): Use dolist.
14989
d224ac83
GM
14990 * textmodes/flyspell.el (flyspell-word-search-backward):
14991 Replace CL function.
14992
1a1e3f32
SM
149932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14994
fe3f64d5
SM
14995 * mouse.el (mouse--strip-first-event): New function.
14996 (function-key-map): Use it to map fringe clicks to normal clicks
14997 by default.
14998
eb604e34
SM
14999 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15000 (vc-bzr-revision-completion-table): Add support for annotate and date.
15001
1a1e3f32
SM
15002 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15003 inherit from parent.
15004
5bd35902
LMI
150052011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
ace6c69c 15007 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15008 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15009
191e2bed
LMI
15010 * dired.el (dired-mode): Fix up the doc string as suggested by
15011 Drew Adams (bug#8817).
15012
5bd35902
LMI
15013 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15014 cookie, since the manual says that it should be possible to add
15015 this function to `find-file-hook' (bug#8709).
15016
eee8207a
TZ
150172011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15018
15019 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15020 here. Noted Ted Zlatanov as the maintainer.
15021 (cfengine-common-settings, cfengine-common-syntax): New functions
15022 to set up common things between `cfengine-mode' and
15023 `cfengine3-mode'.
15024 (cfengine3-mode): New mode.
15025 (cfengine3-defuns cfengine3-defuns-regex
15026 (cfengine3-class-selector-regex cfengine3-category-regex)
15027 (cfengine3-vartypes cfengine3-font-lock-keywords)
15028 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15029 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15030
36b148cf
MA
150312011-07-01 Michael Albinus <michael.albinus@gmx.de>
15032
15033 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15034
15035 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15036
0bf4ba9a
MR
150372011-07-01 Martin Rudalics <rudalics@gmx.at>
15038
15039 * window.el (same-window-buffer-names, same-window-regexps)
15040 (same-window-p, special-display-frame-alist)
15041 (special-display-popup-frame, special-display-function)
15042 (special-display-buffer-names, special-display-regexps)
15043 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15044 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15045 (split-window-preferred-function, split-height-threshold)
15046 (split-width-threshold, even-window-heights)
15047 (display-buffer-mark-dedicated, window-splittable-p)
15048 (split-window-sensibly, window-safely-shrinkable-p):
15049 Un-obsolete.
15050 (display-buffer): Don't spread args with function specifier
15051 because special-display-popup-frame won't like it.
15052
35837f51
PE
150532011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15054
d0672f86
PE
15055 Time-stamp simplifications and fixes.
15056 These improve accuracy slightly, and future-proof the code
15057 against some potential changes to current-time format.
15058
b9444d97
PE
15059 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15060 by using time-since and float-time.
15061
0ef923dc
PE
15062 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15063 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15064 + NNN microseconds".
15065
2f81380d
PE
15066 * type-break.el (type-break-time-sum): Rewrite using time-add.
15067
845b5c3e
PE
15068 * play/hanoi.el (hanoi-current-time-float): Remove.
15069 All uses replaced by float-time.
15070
ee6f1be0
PE
15071 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15072 This yields a more-accurate answer.
15073 (rng-time-to-float): Remove; no longer needed.
15074
fe955043
PE
15075 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15076
5777162a
PE
15077 * calendar/timeclock.el (timeclock-seconds-to-time):
15078 Defalias to seconds-to-time, since they're the same thing.
15079
3103f8b6 15080 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15081 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15082 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15083
0e61a35f
SM
150842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15085
15086 * window.el (bury-buffer): Don't iconify the only frame.
15087 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15088 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15089
ddd63a1e
CY
150902011-07-01 Chong Yidong <cyd@stupidchicken.com>
15091
0e61a35f
SM
15092 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15093 Add mouse-yank-primary.
ddd63a1e 15094
055f4923
TZ
150952011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15096
15097 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15098
6a2fb145
SM
150992011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15102 (find-library-name): Use it to find relative load names when provided
15103 absolute file name (bug#8803).
15104
fd4983f2
LMI
151052011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15106
887d14ad
LMI
15107 * textmodes/flyspell.el (flyspell-word): Consider words that
15108 differ only in case as potential doublons (bug#5687).
15109
c53dc7fc
LMI
15110 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15111 Remove two rather uninteresting debugging-like messages to make
15112 debbugs.el more silent.
15113
fd4983f2
LMI
15114 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15115 a password-like phrase.
15116
7a71b18d 151172011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15118
15119 * progmodes/cc-guess.el: New file.
15120
6a2fb145 15121 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15122
15123 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15124 derived from `c-basic-common-init'.
15125
15126 * progmodes/cc-mode.el (top-level): Require cc-guess.
15127 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15128
1fa280a3
LM
151292011-06-30 Lawrence Mitchell <wence@gmx.li>
15130
15131 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15132
e6597158
AM
151332011-06-30 Alan Mackenzie <acm@muc.de>
15134
1fa280a3
LM
15135 * progmodes/cc-engine.el (c-guess-continued-construct):
15136 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15137 lock is disabled. Name this case as "CASE G".
15138
68ba37fb
KM
151392011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15140
15141 * allout.el (allout-yank-processing): Fix injection of extra space
15142 between bullet and non-whitespace character in first topic when
15143 pasting, ensuring that the actual spacing in the pasted topic
15144 following the bullet char is preserved. This extra space was
15145 causing pasted encrypted topics to get a decrypted status even
15146 when the content was actually still encrypted. Now the decryption
15147 status from before the paste is preserved.
15148
15149 (allout-flag-region): Set all allout overlays so they evaporate
15150 when reduced to zero length (evanescent), to prevent overlay
15151 leakage.
15152
887a0b34
GM
151532011-06-30 Glenn Morris <rgm@gnu.org>
15154
94b9acce
GM
15155 * w32-fns.el (w32-charset-info-alist): Declare.
15156
1d9b46d4
GM
15157 * find-dired.el (find-grep-options): Simplify.
15158
cc232200
GM
15159 * term/ns-win.el (ns-set-resource): Declare.
15160
28e77c46
GM
15161 * ses.el (row, col): Declare dynamic variables honestly.
15162
887a0b34
GM
15163 * textmodes/reftex-parse.el (index-tags): Declare.
15164
658d8eb8
CY
151652011-06-30 Chong Yidong <cyd@stupidchicken.com>
15166
15167 * cus-edit.el (customize-push-and-save): New function.
15168
15169 * files.el (hack-local-variables-confirm): Use it.
15170
1fa280a3
LM
15171 * custom.el (load-theme): New arg NO-CONFIRM.
15172 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15173 (custom-enabled-themes): Doc fix.
15174
15175 * cus-theme.el (customize-create-theme)
15176 (custom-theme-merge-theme): Callers to load-theme changed.
15177
bb617717
LMI
151782011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15179
d61bdd5d
LMI
15180 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15181 short URLs have at least one dot in them (bug #7614).
15182
bb617717
LMI
15183 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15184 nil, because using a pty is apparently too slow (bug #895).
15185
2f31f37a
LMI
151862011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15187
15188 * mail/sendmail.el (sendmail-query-once): New function.
15189 (sendmail-query-once-function): New variable.
15190
3076b24e
GM
151912011-06-29 Glenn Morris <rgm@gnu.org>
15192
faf2a174
GM
15193 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15194
3076b24e
GM
15195 * ses.el (top-level): Require cl when compiling.
15196 (ses-set-localvars): Fix error statement.
15197 Call it at compile time to silence a storm of warnings.
15198
5386012d
MR
151992011-06-29 Martin Rudalics <rudalics@gmx.at>
15200
15201 * window.el (normalize-live-buffer): Rename to
15202 window-normalize-buffer.
15203 (normalize-live-frame): Rename to window-normalize-frame.
15204 (normalize-any-window): Rename to window-normalize-any-window.
15205 (normalize-live-window): Rename to window-normalize-live-window.
15206 (make-window-atom): Rename to window-make-atom.
15207 (window-resize-reset): Rename to window--resize-reset.
15208 (window-resize-reset-1): Rename to window--resize-reset-1.
15209 (resize-mini-window): Rename to window--resize-mini-window.
15210 (resize-subwindows-skip-p): Rename to
15211 window--resize-subwindows-skip-p.
15212 (resize-subwindows-normal): Rename to
15213 window--resize-subwindows-normal.
15214 (resize-subwindows): Rename to window--resize-subwindows.
15215 (resize-other-windows): Rename to window--resize-siblings.
15216 (resize-this-window): Rename to window--resize-this-window.
15217 (resize-root-window): Rename to window--resize-root-window.
15218 (resize-root-window-vertically): Rename to
15219 window--resize-root-window-vertically.
15220 (normalize-buffer-to-display): Rename to
15221 window-normalize-buffer-to-display.
15222 (normalize-buffer-to-switch-to): Rename to
15223 window-normalize-buffer-to-switch-to.
15224 Correspondingly update all callers of the functions listed
15225 above.
15226 (display-buffer-alist, display-buffer-normalize-arguments)
15227 (display-buffer-normalize-options, display-buffer)
15228 (display-buffer-alist-set): Use "function" instead of
15229 "fun-with-args".
15230
1176868d
CY
152312011-06-28 Chong Yidong <cyd@stupidchicken.com>
15232
15233 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15234 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15235 debbugs.gnu.org. Mention acknowledgment email.
15236
20a7a65f
LMI
152372011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15238
15239 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15240 buffer multibyteness, since it shouldn't matter.
15241
5f45cca5
MR
152422011-06-28 Martin Rudalics <rudalics@gmx.at>
15243
15244 * window.el (display-buffer-in-side-window): Handle dedicated
15245 windows as in display-buffer-reuse-window.
15246 (display-buffer-normalize-alist): Use value of override
15247 specifier.
15248 (display-buffer-normalize-specifiers): Use value of
15249 other-window-means-other-frame specifier.
15250 (display-buffer-alist): Rewrite some texts in widgets.
15251 (display-buffer): Spread arguments when calling function
15252 specified by fun-with-args.
15253
ad85fe1f
DD
152542011-06-28 Deniz Dogan <deniz@dogan.se>
15255
1fa280a3
LM
15256 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15257 Unnest `let'.
da68c4c8 15258
ad85fe1f
DD
15259 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15260 selectors (Bug#5732).
ec49bd31 15261 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15262
a08cc025
JA
152632011-06-27 Jari Aalto <jari.aalto@cante.net>
15264
15265 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15266 (eshell-ls-date-format): New defcustom.
15267 (eshell-ls-file): Use it.
15268
e2b551c5
SM
152692011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15272
8982b231
KY
152732011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15274
15275 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15276 (ange-ftp-make-tmp-name): New arg.
15277 (ange-ftp-file-local-copy): Use it.
15278
36c9fa27
J
152792011-06-27 Jambunathan K <kjambunathan@gmail.com>
15280
15281 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15282 no-conversion (Bug#8870).
15283
d68443dc
MR
152842011-06-27 Martin Rudalics <rudalics@gmx.at>
15285
15286 * window.el (window-right, window-left, window-child)
15287 (window-child-count, window-last-child)
15288 (window-iso-combination-p, walk-window-tree-1)
15289 (window-atom-check-1, window-tree-1, delete-window)
15290 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15291 new naming conventions - window-vchild, window-hchild,
15292 window-next and window-prev are now called window-top-child,
15293 window-left-child, window-next-sibling and window-prev-sibling
15294 respectively.
d615d6d2
MR
15295 (resize-window-reset): Rename to window-resize-reset.
15296 (resize-window-reset-1): Rename to window-resize-reset-1.
15297 (resize-window): Rename to window-resize.
15298 (window-min-height, window-min-width)
15299 (resize-mini-window, resize-this-window, resize-root-window)
15300 (resize-root-window-vertically, adjust-window-trailing-edge)
15301 (enlarge-window, shrink-window, maximize-window)
15302 (minimize-window, delete-window, quit-restore-window)
15303 (split-window, balance-windows, balance-windows-area-adjust)
15304 (balance-windows-area, window-state-put-2)
15305 (display-buffer-even-window-sizes, display-buffer-set-height)
15306 (display-buffer-set-width, set-window-text-height)
15307 (fit-window-to-buffer): Rename all "resize-window" prefixed
15308 calls to use the "window-resize" prefix convention.
15309 (display-buffer-alist): Fix symbol for label specifier.
15310 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15311 corresponding specifier.
15312 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15313
b6458526
VB
153142011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15315
15316 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15317 convention.
15318 (ses-call-printer): Does not pass an empty string to formatter when the
15319 cell is empty to keep from barking printer Calc math-format-value.
15320
d31fd9ac
RS
153212011-06-27 Richard Stallman <rms@gnu.org>
15322
43d5bf84
RS
15323 * battery.el (battery-mode-line-limit): New variable.
15324 (battery-update): Handle it.
15325
d31fd9ac
RS
15326 * mail/rmailmm.el (rmail-mime-process-multipart):
15327 Handle truncated messages.
15328
819a6054
GM
153292011-06-27 Glenn Morris <rgm@gnu.org>
15330
15331 * progmodes/flymake.el (flymake-err-line-patterns):
15332 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15333
cedc73f2
VB
153342011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15335
819a6054 15336 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15337 (ses--clean-!, ses--clean-_): New functions.
15338 (ses-range): Add configurability of readout order, and conversion
15339 to Calc vector.
15340
5e5d49b6
VB
15341 * ses.el (ses-repair-cell-reference-all): New function.
15342 (ses-cell-symbol): Set macro as safe, so that it can be used in
15343 formulas.
15344
56e6cc31 15345 * ses.el: Update cycle detection algorithm.
90ca8b49 15346 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15347 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15348 (ses-set-localvars): New function.
15349 (ses-make-cell): Add property-list as a cell element.
15350 (ses-cell-property-get-fun, ses-cell-property-get)
15351 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15352 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15353 New functions.
90ca8b49
VB
15354 (ses-cell-property-set, ses-cell-property-pop)
15355 (ses-cell-property-get-handle): New macro.
15356 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15357 New aliases, used for code readability.
15358 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15359 cycle detection.
15360 (ses-self-reference-early-detection): New defcustom.
fac916bf 15361 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15362 (ses-mode): Use ses-set-localvars.
15363 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15364 before lauching the update processing.
15365 (ses-initialize-Dijkstra-attempt): New function.
15366 (ses-recalculate-cell): Update for cycle detection based on
15367 Dijkstra algorithm.
15368
2bb63e81
VB
15369 * ses.el: Fix commenting and indenting convention.
15370
c9d29fb8
SM
153712011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * bs.el (bs-cycle-next): Complete last change.
15374
d8e4b68b
JB
153752011-06-27 Drew Adams <drew.adams@oracle.com>
15376
15377 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15378
40098786
LMI
153792011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15380
c9d29fb8
SM
15381 * net/network-stream.el (network-stream-open-starttls):
15382 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15383 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15384
40098786
LMI
15385 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15386 to binary to possibly avoid line encoding issues on Windows (among
15387 other things).
15388
468d09d4
LMI
153892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15390
15391 * net/network-stream.el (open-network-stream): Return an :error
15392 saying what the problem was, if possible.
15393
15394 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15395 server.
15396
15397 * net/network-stream.el (network-stream-open-starttls): If we
15398 wanted to use STARTTLS, and the server offered it, but we weren't
15399 able to because we had no STARTTLS support, then close the connection.
15400 (open-network-stream): Return an :error element, if present.
15401
16f07dd7
CY
154022011-06-26 Chong Yidong <cyd@stupidchicken.com>
15403
88821ca0
CY
15404 * hl-line.el (hl-line-sticky-flag): Doc fix.
15405 (global-hl-line-sticky-flag): New option (Bug#8323).
15406 (global-hl-line-highlight): Obey it.
15407
16f07dd7
CY
15408 * vc/vc.el (vc-revert-show-diff): Default to t.
15409
6b5ccddf
KM
154102011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15411
c9d29fb8
SM
15412 * allout-widgets.el (allout-widgets-post-command-business):
15413 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15414 undecorated when an isearch is continued past, and isearch
15415 automatically collapses them. This leads to "widget leaks", where
15416 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15417 hidden widgets can slow down cursor travel, substantially.
15418 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15419 so we're doing without this nicety.
15420
15421 (allout-widgets-tally-string): Don't try to do a hash-table-count
15422 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15423 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15424 *Messages* when allout-widgets-maintain-tally is t.
15425
355f2e07
MR
154262011-06-26 Martin Rudalics <rudalics@gmx.at>
15427
15428 * window.el (display-buffer-normalize-argument): Rename to
15429 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15430 LABEL argument. Respect special-display-function when popping up
15431 a new frame. Fix code searching for a window showing the buffer
15432 on another frame.
c9d29fb8
SM
15433 (display-buffer-normalize-specifiers):
15434 Call display-buffer-normalize-arguments.
355f2e07
MR
15435 (display-buffer-in-window): Don't undedicate the window if its
15436 buffer remains the same.
15437 Reported by Drew Adams <drew.adams@oracle.com>.
15438 (display-buffer-alist): Add choice for same-window macro
15439 specfier.
15440 (display-buffer): Mention special meaning of LABEL argument in
15441 doc-string. Fix quoting. Don't pop up a new frame even as
15442 fallback.
15443
7ca8fc42
JB
154442011-06-26 Juanma Barranquero <lekktu@gmail.com>
15445
15446 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15447 avoid deleting the current window in some cases (bug#8911).
15448
bc312254
AS
154492011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15450
15451 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15452 (Bug#8934)
15453
2db18f3f
LMI
154542011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15455
c9d29fb8
SM
15456 * net/network-stream.el (network-stream-open-starttls):
15457 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15458 (network-stream-open-tls): Ditto.
15459
6302e0d3
LL
154602011-06-26 Leo Liu <sdl.web@gmail.com>
15461
15462 * register.el (registerv): New struct.
15463 (registerv-make): New function.
c9d29fb8
SM
15464 (jump-to-register, describe-register-1, insert-register):
15465 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15466 struct. (Bug#8415)
15467
5fdd4046
CY
154682011-06-26 Chong Yidong <cyd@stupidchicken.com>
15469
2afef60a
CY
15470 * vc/vc.el (vc-revert-show-diff): New defcustom.
15471 (vc-diff-internal): New arg specifying diff buffer.
15472 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15473 reuse an existing *vc-diff* buffer (Bug#8927).
15474
5fdd4046
CY
15475 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15476
e93db24a
GM
154772011-06-26 Glenn Morris <rgm@gnu.org>
15478
15479 * progmodes/f90.el (f90-critical-indent): New option.
15480 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15481 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15482 (f90-mode): Doc fix.
15483 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15484 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15485 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15486 (f90-match-end): Handle block, critical.
15487
eefff499
GM
154882011-06-25 Glenn Morris <rgm@gnu.org>
15489
f6ba4cc9
GM
15490 * calendar/diary-lib.el (diary-included-files): Doc fix.
15491 (diary-include-files): New function, extracted from
15492 diary-include-other-diary-files and diary-mark-included-diary-files.
15493 (diary-include-other-diary-files, diary-mark-included-diary-files):
15494 Just call diary-include-files.
15495 (diary-mark-entries): Reset diary-included-files on first call.
15496
16712304
GM
15497 * calendar/diary-lib.el (diary-mark-entries)
15498 (diary-mark-included-diary-files):
15499 Visit included diary-files in temp buffers.
15500
5d8e0d43
GM
15501 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15502 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15503 (f90-start-block-re, f90-imenu-generic-expression)
15504 (f90-looking-at-program-block-start, f90-no-block-limit):
15505 Add support for submodules.
15506
ccf7a5d5
GM
15507 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15508 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15509
11fdef7d 155102011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15511
15512 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15513 buffer-file-type before setting its value, to avoid disastrous
eefff499 15514 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15515
74f53697
JB
155162011-06-25 Juanma Barranquero <lekktu@gmail.com>
15517
15518 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15519
15520 * ses.el (ses-unload-function):
15521 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15522
15523 * proced.el (proced-unload-function):
15524 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15525
18a4ce5e
AR
155262011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15527
15528 * server.el (server-create-window-system-frame): Add parameters arg.
15529 (server-process-filter): Doc fix. Handle frame-parameters.
15530
519d22cc
JB
155312011-06-25 Juanma Barranquero <lekktu@gmail.com>
15532
15533 Fix bug#8730, bug#8781.
15534
15535 * loadhist.el (unload--set-major-mode): New function.
15536 (unload-feature): Use it.
15537
15538 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15539 (python-unload-function): New function.
15540
c206f5b0
SM
155412011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15542
15543 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15544
f9ad64f3
GS
155452011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15546
15547 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15548 the candidates list.
15549
7d0da90e
JB
155502011-06-24 Juanma Barranquero <lekktu@gmail.com>
15551
15552 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15553
14b4e83d
RS
155542011-06-23 Richard Stallman <rms@gnu.org>
15555
15556 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15557 (rmail-variables): Set next-error-move-function.
15558 (rmail-what-message): Take argument POS.
15559 (rmail-next-error-move): New function.
15560
273d2baf
SM
155612011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15564 messages for adjacent non-terminals.
15565
56c2cc9a
RS
155662011-06-23 Richard Stallman <rms@gnu.org>
15567
15568 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15569 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15570 (rmail-start-mail): Don't specify use of rmail-mail-return;
15571 that's done by mail-bury now.
15572 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15573
d59eb518
MA
155742011-06-23 Michael Albinus <michael.albinus@gmx.de>
15575
15576 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15577 SIZE is a number.
15578
02cfc6d6
MR
155792011-06-23 Martin Rudalics <rudalics@gmx.at>
15580
15581 * window.el (get-lru-window, get-mru-window)
15582 (get-largest-window): Never return a minibuffer window.
15583 (display-buffer-pop-up-window): Fix a bug that could lead to
15584 reusing the minibuffer window.
15585 (display-buffer): Pass original specifier argument to
15586 display-buffer-function instead of the normalized one.
15587 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15588
4e323265
LL
155892011-06-22 Leo Liu <sdl.web@gmail.com>
15590
15591 * minibuffer.el (completing-read-function)
15592 (completing-read-default): Move from minibuf.c
15593
7a70468f
RS
155942011-06-22 Richard Stallman <rms@gnu.org>
15595
50718fc2
RS
15596 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15597 to Rmail even if not started by a special Rmail command.
15598
7a70468f
RS
15599 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15600 Copy the buffer currently showing just one message.
15601
297dde5a
RW
156022011-06-22 Roland Winkler <winkler@gnu.org>
15603
15604 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15605 (bibtex-clean-entry): First delete the old key so that a
15606 customized algorithm for generating the new key does not get
15607 confused by the old key.
15608 (bibtex-url): Obey regexp of first step.
15609 (bibtex-search-entries): Do not use add-to-list with local
15610 list-var.
15611
97bb1093
LMI
156122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15613
15614 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15615 stored a user name, then query for the password first, instead of
15616 waiting for SMTP to give an error message and the trying again.
15617
1c0f1a19
JD
156182011-06-22 Lawrence Mitchell <wence@gmx.li>
15619
15620 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15621 BUFFER in call-process.
15622
396f7c9d
LMI
156232011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624
15625 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15626 QUIT twice.
ddb7ffee
LMI
15627 (smtpmail-try-auth-methods): Require user name and password from
15628 auth-source.
396f7c9d 15629
8998d1b3
MR
156302011-06-22 Martin Rudalics <rudalics@gmx.at>
15631
15632 * window.el (display-buffer-default-specifiers)
15633 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15634 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15635 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15636
15637 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15638 (special-display-frame-alist, special-display-popup-frame):
15639 Remove duplicate declarations. These are now in window.el.
15640
4ea31e07
LMI
156412011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642
c9d29fb8
SM
15643 * mail/smtpmail.el (smtpmail-via-smtp):
15644 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15645 server supports it. SMTP servers that support STARTTLS commonly
15646 require it.
15647
15648 * net/network-stream.el (network-stream-open-starttls): Support
15649 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15650 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15651
95f41d9a
LMI
15652 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15653 upgrades with `open-network-stream', and rely solely on
15654 auth-source for all credentials. Big changes throughout the file,
15655 but in particular:
c9d29fb8
SM
15656 (smtpmail-auth-credentials): Remove.
15657 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15658 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15659 MAIL FROM, too.
95f41d9a 15660
c9d29fb8
SM
15661 * net/network-stream.el (network-stream-open-starttls):
15662 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15663 STARTTLS.
15664 (auth-source): Require.
15665 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15666 (network-stream-certificate): Change cert-cert to cert and
15667 cert-key to key.
4ea31e07 15668
065ec2c7
MA
156692011-06-21 Michael Albinus <michael.albinus@gmx.de>
15670
15671 * net/tramp-cache.el (top): Don't load the persistency file when
15672 "emacs -Q" has been called.
15673
cd93b359
DR
156742011-06-21 Tim Harper <timcharper@gmail.com>
15675
d8e4b68b
JB
15676 * term/ns-win.el (ns-initialize-window-system):
15677 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15678 resource to NO as it is not yet supported by the NS port.
15679
ae9c0411
JB
156802011-06-21 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15683 (list-dynamic-libraries): ...not here.
15684
7f3f739f
LL
156852011-06-21 Leo Liu <sdl.web@gmail.com>
15686
15687 * subr.el (sha1): Implement sha1 using secure-hash.
15688
327c8fb1
MR
156892011-06-21 Martin Rudalics <rudalics@gmx.at>
15690
15691 * window.el (display-buffer-alist): In default value do not
15692 enforce searching a window on any but the selected frame.
15693 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15694 (display-buffer-select-window): Remove function.
15695 (display-buffer-in-window): When a window on another frame gets
15696 reused, do not select it any more but just raise its frame if
15697 necessary (Bug#8851) and (Bug#8856).
15698 (display-buffer-normalize-options): Handle pop-up-frames related
15699 options more faithfully.
15700 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15701 window if it is on another frame.
c9d29fb8
SM
15702 (display-buffer-alist, display-buffer-default-specifiers):
15703 Don't make new frame unsplittable by default.
9e9de014
MR
15704 (display-buffer-normalize-argument): Fix doc-string typo and use
15705 'same-frame-other-window instead of 'other-window when associating
15706 with display-buffer-macro-specifiers.
327c8fb1 15707
7cf3f556
VB
157082011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15709
15710 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15711 New functions.
15712 (5x5-mode-map, 5x5-mode-menu): Bind them.
15713 (5x5-draw-grid): Tweak the solver's rendering.
15714
60a406cf
SM
157152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15716
15717 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15718 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15719
d8e4b68b 157202011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15721
15722 * menu-bar.el: Use function variable instead of switch-to-buffer.
15723 (menu-bar-select-buffer-function): New variable.
60a406cf 15724 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15725
478d6f95
SM
157262011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15727
15728 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15729 variable's status.
15730
ca530739
JD
157312011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15732
15733 * x-dnd.el (x-dnd-version-from-flags)
15734 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15735 and long as number (Bug#8899).
15736 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15737
bcd70d97
SM
157382011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15739
60a406cf 15740 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15741 (completion-try-completion, completion-all-completions): Compute the
15742 metadata argument if it's missing; make it optional (bug#8795).
15743
60a406cf 15744 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15745 (widget-complete): Use new :completion-function property.
15746 (widget-completions-at-point): New function.
15747 (default): Use :completion-function instead of :complete.
60a406cf
SM
15748 (widget-default-completions): Rename from widget-default-complete;
15749 Rewrite.
bcd70d97
SM
15750 (widget-string-complete, widget-file-complete, widget-color-complete):
15751 Remove functions.
15752 (file, symbol, function, variable, coding-system, color):
15753 * international/mule-cmds.el (default-input-method, charset)
15754 (language-info-custom-alist):
15755 * cus-edit.el (face): Use new property :completions.
15756
15757 * progmodes/pascal.el (pascal-completions-at-point): New function.
15758 (pascal-mode): Use it.
15759 (pascal-mode-map): Use completion-at-point.
15760 (pascal-toggle-completions): Make obsolete.
15761 (pascal-complete-word, pascal-show-completions):
15762 * progmodes/octave-mod.el (octave-complete-symbol):
15763 Redefine as obsolete alias.
15764 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15765 Signal absence of completion info for old Octave,
15766 (inferior-octave-complete): Redefine as obsolete alias.
15767 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15768 (meta-completions-at-point): Rename from meta-complete-symbol and
15769 adapt it for use on completion-at-point-functions.
15770 (meta-common-mode): Use it.
15771 (meta-looking-at-backward, meta-match-buffer): Remove.
15772 (meta-complete-symbol): Redefine as obsolete alias.
15773 (meta-common-mode-map): Use completion-at-point.
15774 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15775 (makefile-mode-map): Use completion-at-point.
15776 (makefile-completions-at-point): Rename from makefile-complete and
15777 adapt it for use on completion-at-point-functions.
15778 (makefile-mode): Use it.
15779 (makefile-complete): Redefine as obsolete alias.
15780
aebf69c8
DD
157812011-06-20 Deniz Dogan <deniz@dogan.se>
15782
15783 * net/rcirc.el: Delete trailing whitespaces once and for all.
15784
bfbbb27d
DC
157852011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15786
15787 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15788
d264a46b
CY
157892011-06-19 Chong Yidong <cyd@stupidchicken.com>
15790
4ca009e5
CY
15791 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15792
d264a46b
CY
15793 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15794
fbf5b3ce
MR
157952011-06-19 Martin Rudalics <rudalics@gmx.at>
15796
15797 * window.el (display-buffer-other-window-means-other-frame):
15798 Call display-buffer-normalize-alist.
15799 (display-buffer-normalize-specifiers-1): Rename to
15800 display-buffer-normalize-argument. New argument other-frame.
15801 Rewrite.
15802 (display-buffer-normalize-specifiers-2): Rename to
15803 display-buffer-normalize-options.
15804 (display-buffer-normalize-alist-1): New function.
15805 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15806 display-buffer-normalize-alist.
15807 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15808 (display-buffer-normalize-options-inhibit): New variable.
15809 (display-buffer-normalize-specifiers): Rewrite calling
15810 display-buffer-normalize-alist,
15811 display-buffer-normalize-argument, and
15812 display-buffer-normalize-options. Don't call the latter if
15813 display-buffer-normalize-options-inhibit is non-nil.
15814 (frame-auto-delete): New option.
15815 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15816 (window-list-no-nils, window-state-ignored-parameters)
15817 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15818 (window-state-put-1, window-state-put-2, window-state-put):
15819 New functions.
9a028c23
MR
15820 (display-buffer-normalize-options): Move special-display-p group
15821 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15822
6d10d800
CY
158232011-06-18 Chong Yidong <cyd@stupidchicken.com>
15824
6420d28b
CY
15825 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15826 groups (Bug#8776).
15827 (rx-submatch-n): New function.
15828 (rx): Document it.
15829
ddb8b596
CY
15830 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15831 (Bug#8768).
15832
15833 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15834
77080289
CY
15835 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15836
61dfb316
CY
15837 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15838 anytime existing face settings are present (Bug#8889).
15839
6d10d800
CY
15840 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15841 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15842 Remove unused argument.
15843
be3fb2b8
MR
158442011-06-18 Martin Rudalics <rudalics@gmx.at>
15845
bcd70d97
SM
15846 * window.el (display-buffer-default-specifiers):
15847 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15848 pop-up-window-min-width, and another reuse-window specifier
15849 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15850 (display-buffer-normalize-specifiers-2):
15851 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15852 pop-up-windows is unset. Add a reuse-window specifier for the
15853 case popping up a new window fails.
15854 (special-display-popup-frame): Remove double quoting.
28dec25a 15855 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15856
1c6d8c76
SM
158572011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15858
15859 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15860 according to comint-completion-addsuffix.
15861
15862 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15863 (pcomplete-suffix-list): Mark as obsolete.
15864 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15865 pcomplete-seen in the closure.
15866 (pcomplete-comint-setup): Setup completion-at-point as well.
15867 (pcomplete--entries): New function.
15868 (pcomplete--env-regexp): New var.
15869 (pcomplete-entries): Rewrite to work with partial-completion and
15870 without relying on pcomplete-suffix-list.
15871 (pcomplete-pare-list): Remove, unused.
15872
25aef8b8
MR
158732011-06-17 Martin Rudalics <rudalics@gmx.at>
15874
15875 * window.el (display-buffer-alist): Set pop-up-window-min-height
15876 and pop-up-window-min-width in default value. Reported by
15877 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15878 other-window-means-other-frame.
15879 (display-buffer-macro-specifiers): Comment out entry for
15880 other-window specifier.
15881 (display-buffer-other-window-means-other-frame): New function.
15882 (display-buffer-normalize-specifiers-1): New arguments
15883 buffer-name and label. Treat other-window case specially.
15884 (display-buffer-normalize-specifiers-2): Treat other-window case
15885 specially.
15886 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15887 (display-buffer-normalize-specifiers):
15888 Call display-buffer-normalize-specifiers-3.
25aef8b8 15889
dbad4f69
MR
158902011-06-17 Martin Rudalics <rudalics@gmx.at>
15891
15892 * window.el (same-window-p): Fix two typos introduced when
15893 adding with-no-warnings.
d1067961
MR
15894 (display-buffer-normalize-specifiers-1): Don't check
15895 pop-up-frames for 'unset initialization.
15896 (display-buffer-normalize-specifiers-2): Major rewrite using
15897 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15898 (pop-up-frames, display-buffer-reuse-frames)
15899 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15900 Suggested by David Engster <deng@randomsample.de>.
15901 (even-window-heights): Initialize to 'unset.
15902 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15903 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15904 other window case.
dbad4f69 15905
9b9c9e3a
MR
159062011-06-16 Martin Rudalics <rudalics@gmx.at>
15907
bcd70d97
SM
15908 * window.el (display-buffer-normalize-specifiers-1):
15909 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15910 second argument of display-buffer (Bug#8865).
981d5c09
MR
15911 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15912 (switch-to-buffer-other-window-same-frame)
15913 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15914 Adams (Bug#8875).
9c2755e9
MR
15915 (display-buffer): Don't check noninteractive when calling
15916 display-buffer-pop-up-frame.
15917 (display-buffer-pop-up-frame): Never pop up a frame in
15918 noninteractive mode (Bug#8857).
67222e1d
MR
15919 (enlarge-window, shrink-window): Don't report an error when the
15920 window can't be resized as requested (Bug#8862).
9b9c9e3a 15921
2b75be67
SM
159222011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15923
9ffdd3ba
SM
15924 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15925
cb581a67
SM
15926 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15927
2b75be67
SM
15928 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15929
8c0e3589
AM
159302011-06-15 Alan Mackenzie <acm@muc.de>
15931
cb581a67
SM
15932 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15933 for declarators, disable knr checking to speed up for normal files.
15934 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15935
b96e6cde
LMI
159362011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15937
4bba86e6
LMI
15938 * net/network-stream.el (open-network-stream): Add the keyword
15939 :always-query-capabilities for the case where you want to force a
15940 `plain' network connection, but the protocol still requires the
15941 capabilitiy command (i.e., SMTP and EHLO).
15942
2b75be67 15943 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15944 consistency with other `-live-p' functions.
15945
efdcdbf8
SM
159462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15947
15948 * window.el (same-window-buffer-names, same-window-regexps)
15949 (special-display-frame-alist, special-display-popup-frame)
15950 (special-display-function, special-display-buffer-names)
15951 (special-display-regexps, pop-up-frame-alist)
15952 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15953 (pop-up-windows, split-window-preferred-function)
15954 (split-height-threshold, split-width-threshold, even-window-heights)
15955 (display-buffer-mark-dedicated): Don't encourage the use of
15956 display-buffer-alist from Elisp code.
15957
c5cde042
DN
159582011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15959
15960 * progmodes/python.el (python-mode): Derive from prog-mode.
15961 * progmodes/ps-mode.el (ps-mode):
15962 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15963 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15964 * progmodes/ld-script.el (ld-script-mode): Likewise.
15965
baa1c9ab
MR
159662011-06-15 Martin Rudalics <rudalics@gmx.at>
15967
15968 * window.el (display-buffer-alist): Trim default value to avoid
15969 popping up a new frame (Bug#8857) or reusing an arbitrary window
15970 on another frame.
15971 (display-buffer): Do not fall back on popping up a new frame in
15972 batch mode (Bug#8857).
15973
c5dd5a51
CY
159742011-06-14 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15977 (custom-theme-summary): New function.
15978 (customize-themes): Use it.
15979
d647b7c4
GM
159802011-06-13 Glenn Morris <rgm@gnu.org>
15981
15982 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15983
9481c002
MR
159842011-06-13 Martin Rudalics <rudalics@gmx.at>
15985
357f93d2
MR
15986 * help.el (help-window): Remove variable.
15987 (help-window-point-marker, temp-buffer-max-height)
15988 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15989 (help-print-return-message): Don't set help-window.
15990 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15991 (help-window-setup-finish): Remove.
15992 (help-window-display-message, help-window-setup)
15993 (with-help-window): Major rewrite based on new
15994 display-buffer-window variable.
15995
15996 * help-mode.el (help-mode-finish): Remove help-window related
15997 code.
15998
15999 * view.el (view-exits-all-viewing-windows): Remove reference to
16000 view-return-to-alist in doc-string.
16001 (view-return-to-alist): Make obsolete.
16002 (view-buffer): Call pop-to-buffer-same-window and remove
16003 undo-window code.
16004 (view-buffer-other-window): Call pop-to-buffer-other-window and
16005 simplify code. Ignore second argument.
16006 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16007 simplify code. Ignore second argument.
16008 (view-return-to-alist-update): Make obsolete.
16009 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16010 Rewrite using quit-restore window parameters.
2b75be67
SM
16011 (view-mode-exit): Rename second argument to EXIT-ONLY.
16012 Rewrite using quit-restore-window.
357f93d2
MR
16013 (View-exit, View-exit-and-edit, View-leave, View-quit)
16014 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16015 appropriate arguments.
16016 (view-end-message): Use quit-restore window parameter.
16017
9481c002
MR
16018 * window.el (display-buffer-function): Rewrite doc-string.
16019 (display-buffer-window, display-buffer-alist): New variables.
16020 (display-buffer-split-specifiers)
16021 (display-buffer-side-specifiers)
16022 (display-buffer-macro-specifiers): New constants.
16023 (display-buffer-even-window-sizes, display-buffer-set-height)
16024 (display-buffer-set-width, display-buffer-select-window)
16025 (display-buffer-in-window, display-buffer-reuse-window)
16026 (display-buffer-split-window-1, display-buffer-split-window)
16027 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16028 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16029 (display-buffer-in-side-window, normalize-buffer-to-display)
16030 (display-buffer-normalize-specifiers-1)
16031 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16032 (display-buffer-normalize-specifiers, display-buffer-frame):
16033 New functions.
9481c002
MR
16034 (display-buffer): Major rewrite.
16035 (display-buffer-other-window, display-buffer-other-frame)
16036 (pop-to-buffer, switch-to-buffer-other-window)
16037 (switch-to-buffer-other-frame): Rewrite.
16038 (display-buffer-same-window, display-buffer-same-frame)
16039 (display-buffer-same-frame-other-window)
16040 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16041 (pop-to-buffer-other-window)
16042 (pop-to-buffer-same-frame-other-window)
16043 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16044 (switch-to-buffer-other-window-same-frame): New functions.
16045 (same-window-p, special-display-p): Rewrite disabling warnings.
16046 Make obsolete.
16047 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16048 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16049 Make obsolete
16050 (same-window-buffer-names, same-window-regexps)
16051 (special-display-frame-alist, special-display-popup-frame)
16052 (special-display-function, special-display-buffer-names)
16053 (special-display-regexps, pop-up-frame-alist)
16054 (pop-up-frame-function, split-window-preferred-function)
16055 (split-height-threshold, split-width-threshold)
16056 (even-window-heights): Make obsolete.
16057
9db51aca
GM
160582011-06-12 Glenn Morris <rgm@gnu.org>
16059
16060 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16061 Misc simplifications.
9db51aca 16062
39cffb44
MR
160632011-06-12 Martin Rudalics <rudalics@gmx.at>
16064
16065 * window.el (window-safely-shrinkable-p): Restore function which
16066 was inadvertently removed in change from 2011-06-11. Declare as
16067 obsolete.
16068
2b75be67
SM
16069 * calendar/calendar.el (calendar-generate-window):
16070 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16071 window-safely-shrinkable-p.
16072
a8955be7
GM
160732011-06-12 Glenn Morris <rgm@gnu.org>
16074
16075 * progmodes/fortran.el (fortran-mode-syntax-table):
16076 * progmodes/f90.el (f90-mode-syntax-table):
16077 Set % to punctuation. (Bug#8820)
16078 (f90-find-tag-default): Remove, no longer needed.
16079
f0d4059d
DC
160802011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16081
16082 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16083
1100a63c
CY
160842011-06-11 Chong Yidong <cyd@stupidchicken.com>
16085
16086 * image.el (image-animated-p): Return animation delay in seconds.
16087 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16088 (image-animate-timeout): Remove DELAY argument. Don't assume
16089 every subimage has the same delay; get it from image-animated-p.
16090 (image-animate): Caller changed.
16091
def722bf
MA
160922011-06-11 Michael Albinus <michael.albinus@gmx.de>
16093
16094 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16095 to ignored backtrace functions.
16096
0a2bb1a9
GM
160972011-06-11 Glenn Morris <rgm@gnu.org>
16098
16099 * calendar/appt.el (appt-disp-window-function): Doc fix.
16100 (appt-check): Handle overlapping appointments. (Bug#8337)
16101
6198ccd0
MR
161022011-06-11 Martin Rudalics <rudalics@gmx.at>
16103
16104 * window.el (window-tree-1, window-tree): New functions, moving
16105 the latter to window.el.
16106 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16107 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16108 (bw-refresh-edges): Remove.
16109 (balance-windows-1, balance-windows-2): New functions.
16110 (balance-windows): Rewrite in terms of window tree functions,
16111 balance-windows-1 and balance-windows-2.
16112 (bw-adjust-window): Remove.
16113 (balance-windows-area-adjust): New function with functionality of
16114 bw-adjust-window but using resize-window.
2b75be67
SM
16115 (set-window-text-height): Rewrite doc-string.
16116 Use normalize-live-window and resize-window.
16117 (enlarge-window-horizontally, shrink-window-horizontally):
16118 Rename argument to DELTA.
6198ccd0
MR
16119 (window-buffer-height): New function.
16120 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16121 Rewrite using new window resize routines.
2b75be67
SM
16122 (kill-buffer-and-window, mouse-autoselect-window-select):
16123 Use ignore-errors instead of condition-case.
6198ccd0
MR
16124 (quit-window): Call delete-frame instead of delete-windows-on
16125 for the only buffer on frame.
16126
9397e56f
MR
161272011-06-10 Martin Rudalics <rudalics@gmx.at>
16128
16129 * loadup.el (top-level): Load window before files for the sake
16130 of replace-buffer-in-windows.
16131
16132 * files.el (read-buffer-to-switch)
16133 (switch-to-buffer-other-window)
2b75be67
SM
16134 (switch-to-buffer-other-frame, display-buffer-other-frame):
16135 Move to window.el.
9397e56f
MR
16136
16137 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16138 (previous-buffer): Move to window.el.
16139
16140 * bindings.el (unbury-buffer): Move to window.el.
16141
16142 * window.el (delete-other-windows-vertically): Move after
16143 definition of delete-other-windows.
16144 (other-window, delete-windows-on, replace-buffer-in-windows):
16145 Move here from window.c.
16146 (record-window-buffer, unrecord-window-buffer)
16147 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16148 (switch-to-next-buffer): New functions.
16149 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16150 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16151 (previous-buffer): Move here from simple.el.
16152 Call switch-to-prev-buffer.
9397e56f
MR
16153 (bury-buffer): Move here from buffer.c. Switch to previous
16154 buffer when window cannot be deleted.
16155 (unbury-buffer): Move here from bindings.el.
16156 (ctl-x-map): Move binding for other-window from window.c to
16157 here.
16158 (read-buffer-to-switch, switch-to-buffer-other-window)
16159 (switch-to-buffer-other-frame): Move here from files.el.
16160 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16161 (switch-to-buffer): Move here from buffer.c.
16162 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16163
562dd5e9
MR
161642011-06-10 Martin Rudalics <rudalics@gmx.at>
16165
16166 * window.el (window-min-height, window-min-width): Move here
16167 from window.c. Add defcustoms and rewrite doc-strings.
16168 (resize-mini-window, resize-window): New functions.
16169 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16170 Move here from window.c.
16171 (maximize-window, minimize-window): New functions.
16172 (delete-window, delete-other-windows, split-window): Move here
16173 from window.c.
16174 (window-split-min-size): New function.
16175 (split-window-keep-point): Mention split-window-above-each-other
16176 instead of split-window-vertically.
2b75be67 16177 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16178 Rename split-window-vertically to split-window-above-each-other
16179 and provide defalias for old definition.
16180 (split-window-side-by-side, split-window-horizontally):
16181 Rename split-window-horizontally to split-window-side-by-side
16182 and provide defalias for the old definition.
562dd5e9
MR
16183 (ctl-x-map): Move bindings for delete-window,
16184 delete-other-windows and enlarge-window here from window.c.
16185 Replace bindings for split-window-vertically and
16186 split-window-horizontally by bindings for
16187 split-window-above-each-other and split-window-side-by-side.
16188
16189 * cus-start.el (all): Remove entries for window-min-height and
16190 window-min-width. Add entries for window-splits and
16191 window-nest.
16192
f0da764a
GM
161932011-06-09 Glenn Morris <rgm@gnu.org>
16194
80675c21
GM
16195 * calendar/appt.el (appt-mode-line): New function.
16196 (appt-check, appt-disp-window): Use it.
16197
f0da764a
GM
16198 * files.el (hack-one-local-variable-eval-safep):
16199 Allow minor-modes with explicit +/-1 arguments.
16200
59f623b7
TZ
162012011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16202
16203 * term/xterm.el (xterm): Add defgroup.
16204 (xterm-extra-capabilities): Add defcustom to supply known xterm
16205 capabilities, skip querying them, or query them (default).
16206 (terminal-init-xterm): Use it.
16207 (terminal-init-xterm-modify-other-keys): New function to set up
16208 modifyOtherKeys support to simplify `terminal-init-xterm'.
16209
9aab8e0d
MR
162102011-06-09 Martin Rudalics <rudalics@gmx.at>
16211
16212 * window.el (resize-window-reset, resize-window-reset-1)
16213 (resize-subwindows-skip-p, resize-subwindows-normal)
16214 (resize-subwindows, resize-other-windows, resize-this-window)
16215 (resize-root-window, resize-root-window-vertically)
16216 (window-deletable-p, window-or-subwindow-p)
16217 (frame-root-window-p): New functions.
16218
e8b08aee
GM
162192011-06-09 Glenn Morris <rgm@gnu.org>
16220
16221 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16222 (ange-ftp-get-files): Use it.
16223
254c37a5
AK
162242011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16225
16226 * mail/sendmail.el (mail-recover-1, mail-recover):
16227 * files.el (recover-file, recover-session):
16228 Handle dired-listing-switches not being just a single short option.
16229
35d7dbd3
GM
162302011-06-09 Glenn Morris <rgm@gnu.org>
16231
16232 * calendar/appt.el (appt-display-message, appt-disp-window):
16233 Handle lists of appointments.
16234
387522b2
MR
162352011-06-08 Martin Rudalics <rudalics@gmx.at>
16236
2b75be67
SM
16237 * window.el (one-window-p): Move down in code.
16238 Rewrite doc-string.
16239 (window-current-scroll-bars): Rewrite doc-string.
16240 Normalize live window argument.
387522b2
MR
16241 (walk-windows, get-window-with-predicate, count-windows):
16242 Rewrite doc-string. Use window-list-1.
16243 (window-in-direction-2, window-in-direction, get-mru-window):
16244 New functions.
16245
d8e4b68b 162462011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16247
16248 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16249 Doc fix (Bug#8713).
16250
162512011-06-08 Chong Yidong <cyd@stupidchicken.com>
16252
16253 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16254
162552011-06-08 Juanma Barranquero <lekktu@gmail.com>
16256
16257 * loadhist.el (unload-feature-special-hooks):
16258 Add `comint-output-filter-functions'.
16259
0de12c52
IK
162602011-06-08 Ivan Kanis <gnu@kanis.fr>
16261
16262 * calendar/appt.el (appt-check): Move some initializations into the let.
16263
f3d1777e
MR
162642011-06-08 Martin Rudalics <rudalics@gmx.at>
16265
16266 * window.el (window-height): Defalias to window-total-height.
16267 (window-width): Defalias to window-body-width.
16268
18af70d0
CY
162692011-06-07 Chong Yidong <cyd@stupidchicken.com>
16270
16271 * image-mode.el (image-toggle-animation): New command.
16272 (image-mode-map): Bind it to RET.
16273 (image-mode): Update message.
16274 (image-toggle-display-image): Avoid a spurious cache flush.
16275 (image-transform-rotation): Doc fix.
16276 (image-transform-properties): Return quickly in the normal case.
16277 (image-animate-loop): Rename from image-animate-max-time.
16278
2b75be67 16279 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16280 (create-animated-image): Remove unnecessary function.
16281 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16282 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16283 (image-animate-timer): Use car-safe.
16284 (image-animate-timeout): Rename argument.
16285
190b47e6
MR
162862011-06-07 Martin Rudalics <rudalics@gmx.at>
16287
16288 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16289 window.c. Rename first argument to ALL-FRAMES.
16290 Rephrase doc-strings.
16291 (get-buffer-window-list): Rewrite using window-list-1.
16292 Rephrase doc-string.
a1511caf
MR
16293 (window-safe-min-height, window-safe-min-width): New constants.
16294 (window-size-ignore, window-min-size, window-min-size-1)
16295 (window-sizable, window-sizable-p, window-size-fixed-1)
16296 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16297 (window-max-delta-1, window-max-delta, window-resizable)
16298 (window-resizable-p, window-total-height, window-total-width)
16299 (window-body-width): New functions.
16300 (window-full-height-p, window-full-width-p): Rewrite using
16301 window-total-size.
16302 (window-body-height): Rewrite using window-body-size.
190b47e6 16303
85cc1f11
MR
163042011-06-06 Martin Rudalics <rudalics@gmx.at>
16305
16306 * window.el (window-right, window-left, window-child)
16307 (window-child-count, window-last-child, window-any-p)
16308 (normalize-live-buffer, normalize-live-frame)
16309 (normalize-any-window, normalize-live-window)
16310 (window-iso-combination-p, window-iso-combined-p)
16311 (window-iso-combinations)
16312 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16313 (windows-with-parameter, window-with-parameter)
16314 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16315 (window-atom-check, window-side-check, window-check):
16316 New functions.
85cc1f11
MR
16317 (ignore-window-parameters, window-sides, window-sides-vertical)
16318 (window-sides-slots): New variables.
16319 (window-size-fixed): Move down in code. Minor doc-string fix.
16320
e7156492
AS
163212011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16322
16323 * comint.el (comint-dynamic-complete-as-filename)
16324 (comint-dynamic-complete-filename): Correctly call
16325 completion-in-region.
16326
7e821d0d
DD
163272011-06-05 Deniz Dogan <deniz@dogan.se>
16328
16329 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16330 in last change.
16331
ac09b8a1
DD
163322011-06-05 Deniz Dogan <deniz@dogan.se>
16333
16334 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16335 (rcirc): Use it to prompt for encryption.
16336
34699b85
RW
163372011-06-05 Roland Winkler <winkler@gnu.org>
16338
16339 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16340 (bibtex-search-entries): New command bound to C-c C-a.
16341 (bibtex-display-entries): New function.
16342
004dedd3
RW
163432011-06-05 Roland Winkler <winkler@gnu.org>
16344
16345 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16346 (bibtex-insert-kill): After yanking insert newline if necessary.
16347 (bibtex-initialize): Call bibtex-string-files-init only once.
16348 (bibtex-mode): Do not call easy-menu-add.
16349 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16350 (bibtex-yank): Set arg properly if nil.
16351
022fe7ce
RW
163522011-06-05 Roland Winkler <winkler@gnu.org>
16353
2b75be67
SM
16354 * textmodes/bibtex.el (bibtex-search-entry-globally):
16355 New variable.
022fe7ce
RW
16356 (bibtex-search-entry): Use it.
16357
b7c3692a
RW
163582011-06-05 Roland Winkler <winkler@gnu.org>
16359
16360 * textmodes/bibtex.el (bibtex-entry-format): New option
16361 sort-fields.
16362 (bibtex-format-entry, bibtex-reformat): Honor this option.
16363 (bibtex-parse-entry): Return fields in proper order.
16364
8eda563d
JB
163652011-06-05 Juanma Barranquero <lekktu@gmail.com>
16366
16367 * doc-view.el (doc-view-remove-if): Move computation of result out
16368 of `dolist' to silence misleading lexical-binding warning.
16369
7dbe3dbc
CY
163702011-06-04 Chong Yidong <cyd@stupidchicken.com>
16371
16372 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16373 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16374
0c33dd17
MA
163752011-06-04 Michael Albinus <michael.albinus@gmx.de>
16376
16377 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16378 "SunOS 5.10".
16379
f8f91c2b
MA
163802011-06-04 Michael Albinus <michael.albinus@gmx.de>
16381
16382 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16383 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16384 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16385 (tramp-parse-putty):
16386 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16387 (tramp-completion-function-alist-ssh)
16388 (tramp-completion-function-alist-telnet)
16389 (tramp-completion-function-alist-su)
16390 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16391 cookie.
16392
16393 * net/tramp-ftp.el:
16394 * net/tramp-sh.el:
16395 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16396 load "tramp.el" `tramp-set-completion-function'.
16397
e17d9003
SM
163982011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16399
16400 * shell.el: Require and use pcomplete.
16401 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16402 (shell-completion-vars): Set pcomplete-default-completion-function.
16403
6c4cab03
DD
164042011-06-04 Deniz Dogan <deniz@dogan.se>
16405
16406 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16407 `memq' (Bug#8799).
16408
ea9fafe0
SM
164092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16410
16411 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16412
b3e945d3
JB
164132011-06-02 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16416 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16417 * vc/log-view.el (log-view-beginning-of-defun):
16418 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16419 (smerge-refine-forward, smerge-refine-chopup-region):
16420 Silence warning for unused `dotimes' counter variables.
16421
7d520089
SM
164222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * net/tramp.el (tramp-with-progress-reporter): Rename from
16425 with-progress-reporter. Use `declare'.
16426 * net/tramp-smb.el:
16427 * net/tramp-sh.el:
16428 * net/tramp-gvfs.el: Update all uses.
16429
a1c2400f
JB
164302011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16431
16432 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16433 buffer isn't killed before making it current.
16434
2403c841
SM
164352011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 Silence various byte-compiler warnings.
16438 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16439 `access-type' and new obsolescence format.
16440 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16441 new format.
16442 (byte-compile-check-variable): New `access-type' argument.
16443 Only warn if the access-type is obsolete.
16444 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16445 (byte-compile-variable-set): Adjust callers.
16446 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16447 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16448 setting it as obsolete.
16449 * simple.el (minibuffer-completing-symbol):
16450 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16451 access as obsolete.
16452 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16453 obsolete yet.
16454 * international/quail.el (quail-mouse-choose-completion): Remove unused
16455 code referring to obsolete var.
16456 (quail-choose-completion-string): Remove.
16457 * server.el (server-clients-with, server-kill-buffer-query-function)
16458 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16459 * proced.el (proced-send-signal):
16460 * emacs-lisp/lisp.el (lisp-complete-symbol):
16461 Replace completion-annotate-function with completion-extra-properties.
16462
2462470b
SM
164632011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16464
fb5b2591
SM
16465 * simple.el (goto-line): Use read-number.
16466 (overriding-map-is-bound): Remove.
16467 (saved-overriding-map): Change default.
16468 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16469 Take the map as argument.
16470 (universal-argument, negative-argument, digit-argument): Use it.
16471 (restore-overriding-map): Adjust.
16472 (do-auto-fill): Use fill-forward-paragraph.
16473 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16474
fd6fa53f
SM
16475 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16476 (minibuffer-inactive-mode): New major mode.
16477 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16478 the *Messages* buffer" hack.
16479 (mouse-popup-menubar): Don't burp if the event is a normal key.
16480
2462470b
SM
16481 Miscellaneous tweaks.
16482 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16483 lexical scoping as in subr.el's dolist and dotimes.
16484 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16485 Silence compiler warning.
16486 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16487 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16488 * international/ccl.el (ccl-compile): Trivial simplification.
16489 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16490 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16491 `printflag' argument.
16492 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16493 Purecopy the whole obsolescence data.
16494
108bf785
LL
164952011-06-01 Leo Liu <sdl.web@gmail.com>
16496
16497 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16498 improve doc-string as suggested by Marco Pessotto
16499 <melmothx@gmail.com>.
16500 (rcirc-print): Fix last change.
16501
30a23501
SM
165022011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * minibuffer.el (complete-with-action): Return nil for the metadata and
16505 boundaries of non-functional tables.
16506 (completion-table-dynamic): Return nil for the metadata.
16507 (completion-table-with-terminator): Add default case, using
16508 complete-with-action.
16509 (completion--metadata): New function.
16510 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16511 to try and avoid pathological performance problems.
16512 (completion--embedded-envvar-table): Return `category' metadata.
16513
bcd54f83
LMI
165142011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16515
16516 * subr.el (process-alive-p): New tiny convenience function.
16517
e227544d
SM
165182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16519
16520 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16521 content but also its previous major mode.
16522
e8296fdc
HE
165232011-05-31 Helmut Eller <eller.helmut@gmail.com>
16524
4d61f28d 16525 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16526 *Backtrace* buffer when we exit with C-M-c.
16527
620c53a6
SM
165282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16529
16530 * minibuffer.el: Add metadata method to completion tables.
16531 (completion-category-overrides): New defcustom.
16532 (completion-metadata, completion--field-metadata)
16533 (completion-metadata-get, completion--styles)
16534 (completion--cycle-threshold): New functions.
16535 (completion-try-completion, completion-all-completions):
16536 Add `metadata' argument to choose completion-styles.
16537 (completion--do-completion): Use metadata to choose cycling.
16538 (completion-all-sorted-completions): Use metadata for sorting.
16539 Remove :completion-cycle-penalty which is not needed any more.
16540 (completion--try-word-completion): Add `metadata' argument.
16541 (minibuffer-completion-help): Check metadata for annotation function
16542 and sorting.
16543 (completion-file-name-table): Return `category' metadata.
16544 (minibuffer-completing-file-name): Make obsolete.
16545 * simple.el (minibuffer-completing-symbol): Make obsolete.
16546 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16547 completion-try-completion.
16548
1257e755
SM
165492011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16552
3767e706
LL
165532011-05-30 Leo Liu <sdl.web@gmail.com>
16554
16555 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16556 (rcirc-print): Decode all incoming messages (bug#8744).
16557 (rcirc-decode-coding-system): Allow value nil for automatic coding
16558 system detection.
3767e706 16559
d1a5d56a
GM
165602011-06-01 Glenn Morris <rgm@gnu.org>
16561
16562 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16563
e8cbec34
CY
165642011-05-29 Chong Yidong <cyd@stupidchicken.com>
16565
16566 * image.el (image-animate-max-time): Allow nil and t values.
16567 Default to nil.
16568 (create-animated-image): Doc fix.
16569 (image-animate-start): Remove second arg; just use
16570 image-animate-max-time.
16571 (image-animate-timeout): Doc fix. Args changed.
16572
16573 * image-mode.el (image-toggle-display-image): Ensure that the
16574 image spec passed to the animate timer is the same object as in
58179cce 16575 the buffer's display property (Bug#6981).
e8cbec34
CY
16576 (image-transform-properties): Doc fix.
16577
16578 * image.el (image-animate-max-time): Default to nil.
16579
159daf87
MR
165802011-05-29 Martin Rudalics <rudalics@gmx.at>
16581
16582 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16583 entire buffer list (Bug#8184).
16584
d66c4c7c
CY
165852011-05-29 Chong Yidong <cyd@stupidchicken.com>
16586
16587 * image.el (imagemagick-types-inhibit)
16588 (imagemagick-register-types): Doc fix.
16589
80aec780
DD
165902011-05-29 Deniz Dogan <deniz@dogan.se>
16591
16592 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16593 default.
16594
1dd3c2d9
CY
165952011-05-29 Chong Yidong <cyd@stupidchicken.com>
16596
16597 * select.el: Don't perform clipboard-manager saving in hooks;
16598 leave the hooks empty.
16599
60e56523
LL
166002011-05-28 Leo Liu <sdl.web@gmail.com>
16601
16602 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16603 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16604 (occur-edit-mode): New major mode (Bug#8463).
16605 (occur-after-change-function): New function.
16606 (occur-engine): Give Occur tags a read-only property.
16607
2b1e1a22
KR
166082011-05-28 Kevin Ryde <user42@zip.com.au>
16609
16610 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16611
5d344e88
CY
166122011-05-28 Chong Yidong <cyd@stupidchicken.com>
16613
8e6ca83d
CY
16614 * bindings.el (help-echo): Make the initial non-indicator dash
16615 empty on graphical terminals (Bug#7295).
16616
5d344e88
CY
16617 * files.el (auto-mode-alist): Move config rule after the
16618 in-stripping one (Bug#8547).
16619
bfbbace7
CY
16620 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16621
fbeba6e2
CY
16622 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16623 setting (Bug#8740).
16624
60ed8c72
AA
166252011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16626
4ac619f0
AA
16627 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16628 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16629 (Bug#8539).
60ed8c72 16630
23db196e
CY
166312011-05-28 Chong Yidong <cyd@stupidchicken.com>
16632
16633 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16634
5012f24c
DK
166352011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16636
16637 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16638 (hs-hide-block-at-point, hs-find-block-beginning)
16639 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16640 (Bug#8279).
16641
6a639b16
GM
166422011-05-28 Glenn Morris <rgm@gnu.org>
16643
16644 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16645
d43eaf2c
CY
166462011-05-28 Chong Yidong <cyd@stupidchicken.com>
16647
5199bde1
CY
16648 * help-fns.el (describe-function-1): If the function is a derived
16649 major mode, print the parent mode.
16650
d43eaf2c
CY
16651 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16652 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16653
423428a8
SM
166542011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16655
0ff8e1ba 16656 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16657 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16658 * progmodes/etags.el (tags-completion-at-point-function):
16659 * info-look.el (info-lookup-completions-at-point): Mark as
16660 non-exclusive.
16661 (info-complete): Adjust accordingly.
16662
423428a8
SM
16663 * info-look.el: Convert to lexical-binding and completion-at-point.
16664 (info-lookup-completions-at-point): New function.
16665 (info-complete): Use it and completion-in-region.
16666
b74aa22b
DA
166672011-05-28 Drew Adams <drew.adams@oracle.com>
16668
16669 * isearch.el: Let M-e start with point at the first mismatched char.
16670 (isearch-fail-pos): New function.
16671 (isearch-edit-string): Use it.
16672
66e2e71d
DK
166732011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16674
16675 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16676
b1890b0f 166772011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16678
16679 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16680 traversal functions for avl-trees.
16681 (avl-tree--stack): New struct.
16682 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16683 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16684 (avl-tree--do-enter): Add optional `updatefun' arg.
16685 Change return value.
eb95d01d 16686 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16687 (avl-tree--do-delete): Add `test' and `nilflag' args.
16688 Change return value.
eb95d01d
TC
16689 (avl-tree-member): Add optional `nilflag'
16690 (avl-tree-member-p): New function.
16691 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16692 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16693 (avl-tree-stack-empty-p): New functions.
16694
3769ddcf
TC
16695 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16696 avl-tree--del-balance1 and make it work both ways.
16697 (avl-tree--del-balance2): Remove.
16698 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16699 make it work both ways.
16700 (avl-tree--enter-balance2): Remove.
16701 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16702 New macros.
16703 (avl-tree--mapc, avl-tree-map): Add direction argument.
16704
eb95d01d 167052011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16706
16707 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16708
a9f737ee
CY
167092011-05-27 Chong Yidong <cyd@stupidchicken.com>
16710
16711 * select.el: Support clipboard managers with built-in function
16712 x-clipboard-manager-save, via delete-frame-functions and
16713 kill-emacs-hook.
16714 (xselect-convert-to-targets): Add MULTIPLE target to list.
16715 (xselect-convert-to-save-targets): New function.
16716
c92a1e54
KH
167172011-05-27 Kenichi Handa <handa@m17n.org>
16718
16719 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16720 let-binding rfc2047-encode-encoded-words to nil.
16721
e145f188
GM
167222011-05-27 Glenn Morris <rgm@gnu.org>
16723
5ec8a862
GM
16724 * mail/emacsbug.el: Don't require url-util.
16725
4b29d9fb
GM
16726 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16727
e145f188
GM
16728 * files.el (set-auto-mode):
16729 Also respect mode: entries at the end of the file. (Bug#8586)
16730
7d15102b
GM
167312011-05-26 Glenn Morris <rgm@gnu.org>
16732
98f593b8
GM
16733 * files.el (hack-local-variables-prop-line, hack-local-variables):
16734 Downcase mode names, as seems to be traditional.
27b48e63 16735 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16736
7d15102b
GM
16737 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16738 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16739
51d5b4ec
JD
167402011-05-25 Julien Danjou <julien@danjou.info>
16741
16742 * textmodes/rst.el (rst-define-level-faces): Do not define face
16743 symbol if it is already defined.
16744
91513f63
VB
167452011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16746
16747 * play/5x5.el (5x5-new-game, 5x5-randomize):
16748 Reset 5x5-solver-output to nil when a new grid is cast.
16749 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16750 these debugging traces, as defmacro breaks the compiled code.
16751
4d90d6d0
DK
167522011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16753
16754 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16755
e1b90ef6
LL
167562011-05-24 Leo Liu <sdl.web@gmail.com>
16757
16758 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16759 (vc-bzr-sha1): Adapt.
16760
d8e4b68b 16761 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16762
16763 * bindings.el: Provide sha1 feature.
16764
db0406bb 167652011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16766
16767 * mail/sendmail.el: Require `rfc2047'.
16768 (mail-insert-from-field): Do not perform RFC2047 encoding.
16769 (mail-encode-header): New function.
16770 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16771 buffer to the return value of select-message-coding-system.
16772 Call mail-encode-header.
b8d747b9
KH
16773
16774 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16775
db0406bb 167762011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16777
4d90d6d0
DK
16778 * mail/supercite.el (sc-default-cite-frame):
16779 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16780
eb8a5e9b
GM
167812011-05-24 Glenn Morris <rgm@gnu.org>
16782
f8630703
GM
16783 * progmodes/python.el (brm-menu): Declare.
16784
8831bbed
GM
16785 * emulation/viper.el (viper-set-hooks): Declare.
16786
eb8a5e9b
GM
16787 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16788 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16789 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16790 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16791 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16792 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16793
a2a25d24
SM
167942011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 Add an :exit-function for completion-at-point.
16797
16798 * minibuffer.el (completion--done): New fun.
16799 (completion--do-completion): Use it. New arg `expect-exact'.
16800 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16801 since completion--do-completion does it for us now.
16802 (minibuffer-force-complete): Use completion--done and
16803 completion--replace. Handle sole-completion case with more care.
16804 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16805 (completion-extra-properties): New var.
16806 (completion-annotate-function): Make obsolete.
16807 (minibuffer-completion-help): Adjust accordingly.
16808 Use completion-list-insert-choice-function.
16809 (completion-at-point, completion-help-at-point):
16810 Bind completion-extra-properties.
16811 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16812 * simple.el (completion-list-insert-choice-function): New var.
16813 (completion-setup-function): Preserve it.
16814 (choose-completion): Pay attention to it, shuffle the code a bit.
16815 (choose-completion-string): New arg `insert-function'.
16816
16817 * textmodes/bibtex.el: Convert to lexical binding.
16818 (bibtex-mode-map): Use completion-at-point.
16819 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16820 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16821 (bibtex-complete): Define as obsolete alias.
16822 (bibtex-complete-internal): Remove.
16823 (bibtex-format-entry): Remove unused sub-group in regexp.
16824 * shell.el (shell--command-completion-data)
16825 (shell-environment-variable-completion):
16826 * pcomplete.el (pcomplete-completions-at-point):
16827 * comint.el (comint--complete-file-name-data): Use :exit-function
16828 instead of completion-table-with-terminator so it also works for
16829 choose-completion.
16830
e44e373d
SM
168312011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16832
4f91a816
SM
16833 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16834
782fc819
SM
16835 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16836 (bug#8710).
16837
e44e373d
SM
16838 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16839
381987c3
KM
168402011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16841
16842 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16843 customization variable and implement: If non-nil, auto-fill will
16844 be inhibited while on topic's header line.
16845
b776bc70
VB
168462011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16847
16848 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16849 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16850 always have a solution in grid size = 5 cases.
16851 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16852 (5x5-solver-output, 5x5-log-buffer): New vars.
16853 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16854 Make these variables buffer local to achieve 5x5 multi-session-ness.
16855 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16856 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16857 (5x5-solve-suggest): New funs.
16858 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16859 randomize a grid so that we ensure that there is always a solution.
16860 (5x5-make-random-grid): Allow other movement than flipping.
16861
7de88b6e
KR
168622011-05-23 Kevin Ryde <user42@zip.com.au>
16863
16864 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16865 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16866 advice and passes PREDICATE.
16867
b1ef1257
SM
168682011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16869
bbca48fe
SM
16870 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16871 byte-compile-lambda if it's actually a lambda.
16872
b1ef1257
SM
16873 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16874 Fix function quoting. Use backquote better.
16875
92a9cc65
YS
168762011-05-22 Yuanle Song <sylecn@gmail.com>
16877
16878 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16879 matching (Bug#8516).
16880
f0fb8059
JA
168812011-01-22 Jari Aalto <jari.aalto@cante.net>
16882
16883 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16884 different face (Bug#8178).
16885
d5b44c93
CY
168862011-05-22 Chong Yidong <cyd@stupidchicken.com>
16887
16888 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16889 defface (Bug#8144).
16890
79106a44
SM
168912011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16892
9c848d8a
SM
16893 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16894 funcall as well (bug#8712). Warn when performing those conversions.
16895 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16896
79106a44
SM
16897 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16898
88dfa756
GM
168992011-05-22 Glenn Morris <rgm@gnu.org>
16900
16901 * files.el (hack-local-variables-prop-line): Small simplifications.
16902 (hack-local-variables, hack-local-variables-prop-line):
16903 If MODE-ONLY, return the mode, rather than just `t'.
16904
b7cf2c79
SM
169052011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16908
3f1a8558
GM
169092011-05-21 Glenn Morris <rgm@gnu.org>
16910
7e4ccca3
GM
16911 * files.el (hack-local-variables-prop-line, hack-local-variables):
16912 If only interested in the mode, don't bother doing the other stuff.
16913
637d46ca
GM
16914 * image-mode.el (image-after-revert-hook):
16915 Redraw all frames on which the image is visible. (Bug#8567)
16916
973d955b
GM
16917 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16918
3f1a8558
GM
16919 * wid-edit.el (widget-checklist-match-inline):
16920 Fix 2011-04-19 change. (Bug#8649)
16921
96479927
SM
169222011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16923
1dcf791f
SM
16924 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16925 Also allow singlespace after single-letter capitals followed by a dot.
16926
96479927
SM
16927 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16928 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16929
35fd0881
N
169302011-05-20 Nix <nix@esperi.org.uk>
16931
16932 * files.el (basic-save-buffer-2):
16933 Fix handling of break-hardlink-on-save with non-existent files.
16934
82745640
DD
169352011-05-19 Deniz Dogan <deniz@dogan.se>
16936
16937 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16938 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16939
4a720484
GM
169402011-05-19 Glenn Morris <rgm@gnu.org>
16941
d1f21341
GM
16942 * progmodes/f90.el (f90-type-def-re):
16943 Handle "type, bind(c)". (Bug#8691)
16944
4a720484
GM
16945 * emacs-lisp/autoload.el (batch-update-autoloads):
16946 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16947
2fb0a219
MA
169482011-05-18 Michael Albinus <michael.albinus@gmx.de>
16949
16950 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16951 property for the correct connection in case of multihops.
16952
e565dd37
GM
169532011-05-18 Glenn Morris <rgm@gnu.org>
16954
c2571358 16955 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16956 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16957
e565dd37
GM
16958 Rationalize calendar handling of day and month abbrev-arrays.
16959 * calendar/calendar.el (calendar-customized-p): New function.
16960 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16961 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16962 Add :set function.
16963 (calendar-abbrev-length, calendar-day-abbrev-array)
16964 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16965 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16966 Elements may no longer be nil.
16967 (calendar-day-name, calendar-month-name):
16968 Update for changed nature of abbrev arrays.
16969 * calendar/diary-lib.el (diary-name-pattern):
16970 Update for changed nature of abbrev arrays.
16971 (diary-mark-entries-1): Update calendar-make-alist calls.
16972 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16973 * calendar/cal-html.el (cal-html-day-abbrev-array):
16974 Simply inherit from calendar-day-abbrev-array.
16975
1d99a745
SM
169762011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * progmodes/grep.el (grep-mode): Disable default
16979 compilation-directory-matcher setting (bug#8684).
16980
7c1d9aa0
MA
169812011-05-17 Michael Albinus <michael.albinus@gmx.de>
16982
16983 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16984 instead of "head" and "tail". There were problems with SunOS 5.9,
16985 and it performs better.
16986
3952e9d8
GM
169872011-05-17 Glenn Morris <rgm@gnu.org>
16988
2dd12e7f
GM
16989 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16990
e4157b9c
GM
16991 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16992 Replace obsolete function.
16993
8e249bbd
GM
16994 * shell.el (pcomplete-parse-arguments-function): Declare.
16995
3952e9d8
GM
16996 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16997 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16998 (appt-check): Doc fixes.
16999 (appt-disp-window-function, appt-delete-window-function):
17000 Remove needless special case in custom :type.
17001 (appt-display-count): Default to 0, not nil.
17002 (appt-check): Reset appt-display-count to 0, not nil.
17003
c71a0d48 170042011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17005
c71a0d48
GM
17006 * progmodes/python.el (python-font-lock-keywords):
17007 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17008
31d55be9
SM
170092011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17010
17011 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17012
3bfacb2f
KR
170132011-05-16 Kevin Ryde <user42@zip.com.au>
17014
17015 * info-look.el (makefile-automake-mode): New setups, looking in
17016 automake manual, then makefile-mode.
17017 (makefile-mode): Remove automake manual, have it just in
17018 makefile-automake-mode since there's various things different or
17019 not relevant to plain make.
17020 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17021 believe a hypothetical automake-mode would go to makefile-mode,
17022 not the other way around.
17023
c8e83751
CY
170242011-05-15 Chong Yidong <cyd@stupidchicken.com>
17025
5e9e35cd
CY
17026 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17027 hunk-end tags (Bug#8672).
17028
c8e83751
CY
17029 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17030 vc-annotate-show-diff-revision-at-line (Bug#8671).
17031
50b23e5a
GM
170322011-05-14 Glenn Morris <rgm@gnu.org>
17033
7210a739
GM
17034 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17035 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17036 (change-log-font-lock-keywords): Also handle multiple author lines
17037 with leading tabs. (Bug#8644)
7210a739 17038
4691905a
GM
17039 * calendar/appt.el (appt-check): Rename some local variables.
17040 Some simplification/reordering.
17041
50b23e5a
GM
17042 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17043 (feedmail-sendmail-f-doesnt-sell-me-out)
17044 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17045 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17046 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17047 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17048 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17049 (feedmail-binmail-gnulinuxish-template):
17050 Rename from feedmail-binmail-linuxish-template.
17051 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17052 Use insert-buffer-substring.
17053
215cda7c
BC
170542011-05-14 Bill Carpenter <bill@carpenter.org>
17055
17056 * mail/feedmail.el (feedmail-patch-level): Increase.
17057 (feedmail-debug): New custom group.
17058 (feedmail-confirm-outgoing-timeout)
17059 (feedmail-sendmail-f-doesnt-sell-me-out)
17060 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17061 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17062 (feedmail-sender-line, feedmail-from-line)
17063 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17064 (feedmail-spray-this-address)
215cda7c
BC
17065 (feedmail-spray-address-fiddle-plex-list)
17066 (feedmail-queue-use-send-time-for-date)
17067 (feedmail-queue-use-send-time-for-message-id)
17068 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17069 (feedmail-buffer-eating-function):
17070 Doc fixes.
17071 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17072 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17073 (feedmail-message-action-scroll-down): New functions.
17074 (feedmail-queue-directory, feedmail-queue-draft-directory):
17075 Use expand-file-name.
17076 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17077 Remove C-v help entry.
17078 (feedmail-queue-buffer-file-name): New variable.
17079 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17080 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17081 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17082 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17083 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17084 (feedmail-message-action-toggle-spray)
17085 (feedmail-run-the-queue-no-prompts)
17086 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17087 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17088 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17089 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17090 (feedmail-envelope-deducer, feedmail-fiddle-from)
17091 (feedmail-fiddle-sender, feedmail-default-date-generator)
17092 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17093 (feedmail-fiddle-spray-address)
17094 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17095 (feedmail-fiddle-list-of-fiddle-plexes)
17096 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17097 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17098 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17099 Change default. Doc fix.
17100 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17101 (feedmail-binmail-linuxish-template): New constant.
17102 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17103 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17104 (feedmail-send-it): Add debug call.
17105 Use feedmail-queue-buffer-file-name, and
17106 feedmail-send-it-immediately-wrapper.
17107 (feedmail-message-action-send): Add debug call.
17108 Use feedmail-send-it-immediately-wrapper.
17109 (feedmail-queue-express-to-queue): Add debug call.
17110 Run feedmail-queue-express-hook.
17111 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17112 (feedmail-message-action-help-blat):
17113 Rename from feedmail-queue-send-edit-prompt-help-first.
17114 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17115 Check line-endings. Handle errors better.
17116 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17117 Doc fix. Add debug call.
17118 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17119 Use feedmail-queue-send-edit-prompt-inner.
17120 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17121 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17122 from feedmail-queue-send-edit-prompt.
17123 (feedmail-queue-send-edit-prompt-help)
17124 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17125 (feedmail-tidy-up-slug): Add debug call.
17126 Respect feedmail-queue-slug-suspect-regexp.
17127 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17128 (feedmail-dump-message-to-queue): Add debug call.
17129 Expand queue-directory.
17130 (feedmail-dump-message-to-queue): Change message slightly.
17131 Use feedmail-say-chatter.
17132 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17133 (feedmail-send-it-immediately-wrapper): New function.
17134 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17135 Insert empty string rather than newline. Handle full-frame case.
17136 Use catch/throw. Use feedmail-say-chatter.
17137 (feedmail-fiddle-from): Try mail-host-address.
17138 (feedmail-default-message-id-generator): Doc fix.
17139 Bind system-time-locale. Handle missing end.
17140 (feedmail-fiddle-x-mailer): Add debug call.
17141 Handle feedmail-x-mailer-line being nil.
17142 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17143 Add debug call. Use buffer-substring-no-properties.
17144 (feedmail-say-debug, feedmail-say-chatter): New functions.
17145 (feedmail-find-eoh): Give an explicit error.
17146
42c7e61e
UJ
171472011-05-13 Ulf Jasper <ulf.jasper@web.de>
17148
c2571358 17149 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17150 family from helvetica to sans.
c2571358 17151 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17152 etc/images/newsticker.
17153
c2571358 17154 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17155 family from helvetica to sans.
17156
17157 * net/newst-plainview.el (newsticker-new-item-face)
17158 (newsticker-old-item-face, newsticker-immortal-item-face)
17159 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17160 (newsticker-statistics-face): Change default family from
42c7e61e 17161 helvetica to sans.
c2571358 17162 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17163 etc/images/newsticker.
17164
5d3385a0
JB
17165 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17166 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17167 auto-marking.
17168
8497a297
DV
171692011-05-13 Didier Verna <didier@xemacs.org>
17170
17171 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17172 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17173 TODO entries.
8497a297
DV
17174 (lisp-lambda-list-keyword-parameter-indentation)
17175 (lisp-lambda-list-keyword-parameter-alignment)
17176 (lisp-lambda-list-keyword-alignment): New customizable user options.
17177 (lisp-indent-defun-method): Improve docstring.
17178 (extended-loop-p): Fix comment.
17179 (lisp-indent-lambda-list-keywords-regexp): New variable.
17180 (lisp-indent-lambda-list): New function.
17181 (lisp-indent-259): Use it.
17182 (lisp-indent-defmethod): Support for more than one
17183 method qualifier and properly indent methods lambda-lists.
17184 (defgeneric): Provide a missing common-lisp-indent-function property.
17185
f278f87f
SM
171862011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17189 bounds for the empty string (bug#8667).
17190
5233edd7
GM
171912011-05-13 Glenn Morris <rgm@gnu.org>
17192
5237a44f
GM
17193 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17194
8340026c 17195 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17196 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17197
5233edd7 17198 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17199 (appt-time-msg-list): Doc fix.
a5464014 17200 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17201
92d10796
AS
172022011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17203
17204 * progmodes/ld-script.el (ld-script-keywords)
17205 (ld-script-builtins): Update keywords list.
17206
914a0ae1
SM
172072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17208
c89be45f
SM
17209 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17210
914a0ae1
SM
17211 * shell.el (shell-completion-vars): New function.
17212 (shell-mode):
17213 * simple.el (read-shell-command): Use it.
17214 (blink-matching-open): No need for " [...]" in minibuffer-message.
17215
98dc3df3
GM
172162011-05-12 Glenn Morris <rgm@gnu.org>
17217
17218 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17219 (appt-check): Simplify.
17220
d2fc7e3d 172212011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17222
4d61f28d 17223 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17224 literal "/dev/null".
17225
d2fc7e3d 172262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17227
17228 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17229 Fix typo.
17230
d2fc7e3d 172312011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17232
3f254caa
SM
17233 * progmodes/which-func.el (which-function):
17234 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17235 which might not be defined (Bug#8260).
17236
d45885f7
GM
172372011-05-12 Glenn Morris <rgm@gnu.org>
17238
17239 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17240 Let byte-compile-initial-macro-environment always take precedence.
17241
488086f4
SM
172422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17243
17244 * net/rcirc.el: Add support for SSL/TLS connections.
17245 (rcirc-server-alist): New field `encryption'.
17246 (rcirc): Check `encryption' settings.
17247 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17248 Merge make-local-variable into `set'.
17249 (rcirc--connection-open-p): New function.
17250 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17251 the process is not a network process (e.g. running gnutls-cli).
17252 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17253 Make rcirc-(en|de)code-coding-system local here.
17254 (rcirc-mode): Merge make-local-variable into `set'.
17255 (rcirc-parent-buffer): Make permanent buffer-local.
17256 (rcirc-multiline-minor-mode): Don't do it here.
17257 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17258 there's no server buffer.
17259
7d3b9d44
GM
172602011-05-11 Glenn Morris <rgm@gnu.org>
17261
f64049c6
GM
17262 * newcomment.el (comment-kill): Prefix "unused" local.
17263
93c9df73
GM
17264 * term/w32console.el (get-screen-color): Declare.
17265
7d3b9d44
GM
17266 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17267 Handle symbol elements of byte-compile-initial-macro-environment.
17268
9e2dd53f
LL
172692011-05-10 Leo Liu <sdl.web@gmail.com>
17270
488086f4
SM
17271 * bookmark.el (bookmark-bmenu-mode-map):
17272 Bind bookmark-bmenu-search to `/'.
8b340240 17273
9e2dd53f 17274 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17275 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17276 (Footnote-unicode): New function.
17277 (footnote-style-alist): Add unicode style to the list.
17278 (footnote-style): Doc fix.
9e2dd53f 17279
79b70037
GM
172802011-05-10 Jim Meyering <meyering@redhat.com>
17281
17282 Fix doubled-word typos.
17283 * international/quail.el (quail-insert-kbd-layout): and and -> and
17284 * kermit.el: and and -> and
17285 * net/ldap.el (ldap-search-internal): to to -> to
17286 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17287 * progmodes/js.el (js-mode): and and -> and
17288 * textmodes/artist.el (artist-move-to-xy): at at -> at
17289 (artist-draw-region-trim-line-endings): if if -> if
17290 And Safetyc -> Safety.
17291 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17292
b8f82dc1 172932011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17294 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17295
17296 * files.el (hack-one-local-variable-eval-safep):
17297 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17298
4f99f44b
GM
172992011-05-10 Glenn Morris <rgm@gnu.org>
17300
17301 * calendar/diary-lib.el (diary-list-entries-hook)
17302 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17303 (diary-nongregorian-marking-hook, diary-list-entries)
17304 (diary-include-other-diary-files, diary-mark-entries)
17305 (diary-mark-included-diary-files): Doc fixes.
17306
84f29e6b
JB
173072011-05-09 Juanma Barranquero <lekktu@gmail.com>
17308
17309 * misc.el: Require tabulated-list.el during compilation.
17310
9bedd73a
CY
173112011-05-09 Chong Yidong <cyd@stupidchicken.com>
17312
488086f4
SM
17313 * progmodes/compile.el (compilation-start):
17314 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17315 (compilation-filter-hook): Doc fix.
17316
797c735c
DD
173172011-05-09 Deniz Dogan <deniz@dogan.se>
17318
17319 * wdired.el: Remove outdated installation comment. Fix usage
17320 comment.
17321
5f4b1dfe
JB
173222011-05-09 Juanma Barranquero <lekktu@gmail.com>
17323
17324 * misc.el: Implement new command `list-dynamic-libraries'.
17325 (list-dynamic-libraries--loaded-only-p): New variable.
17326 (list-dynamic-libraries--refresh): New function.
17327 (list-dynamic-libraries): New command.
17328
4c44026c
CY
173292011-05-09 Chong Yidong <cyd@stupidchicken.com>
17330
488086f4
SM
17331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17332 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17333 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17334 higher priority to avoid clobbering by gnu.
17335
027f966d
CY
173362011-05-08 Chong Yidong <cyd@stupidchicken.com>
17337
17338 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17339 if the face has existing theme settings (Bug#8454).
17340
085f5d7d
CY
173412011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17342
488086f4
SM
17343 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17344 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17345
2a86a00c
RS
17346 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17347 special file names `.' and `..' (Bug#8259).
17348
d9c54a06
CY
173492011-05-08 Chong Yidong <cyd@stupidchicken.com>
17350
488086f4
SM
17351 * progmodes/grep.el (grep-mode-font-lock-keywords):
17352 Remove buffer-changing entries.
d9c54a06
CY
17353 (grep-filter): New function.
17354 (grep-mode): Add it to compilation-filter-hook.
17355
17356 * progmodes/compile.el (compilation-filter-hook)
17357 (compilation-filter-start): New defvars.
17358 (compilation-filter): Call compilation-filter-hook prior to
17359 updating the process mark.
17360
c4662635
SM
173612011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17362
17363 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17364
b0512a1d
EZ
173652011-05-07 Eli Zaretskii <eliz@gnu.org>
17366
605c9376
EZ
17367 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17368 mailclient-send-it even if window-system is nil. (Bug#8595)
17369
c4662635
SM
17370 * term/w32console.el (terminal-init-w32console):
17371 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17372 background-mode. (Bug#8597)
17373
d1dc2cc2
SM
173742011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17375
17376 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17377 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17378 New functions.
17379 (defgeneric, eieio--defmethod): Use them.
17380 (eieio-defgeneric): Remove.
17381 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17382
915d1300
GM
173832011-05-07 Glenn Morris <rgm@gnu.org>
17384
a3961c3e
GM
17385 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17386 Use let rather than let*.
17387 (timeclock-find-discrep): Remove unused local.
17388
314347b9
GM
17389 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17390
915d1300
GM
17391 * calendar/appt.el (appt-time-msg-list): Doc fix.
17392
275b59b0
NF
173932011-05-06 Noah Friedman <friedman@splode.com>
17394
17395 * apropos.el (apropos-print-doc): Only use
17396 emacs-lisp-docstring-fill-column when it is bound to an integer,
17397 per that variable's documentation.
17398
6c19f744
SM
173992011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17400
17401 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17402 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17403
60f884b2
GM
174042011-05-06 Glenn Morris <rgm@gnu.org>
17405
5006e634
GM
17406 * calendar/appt.el (appt-message-warning-time): Doc fix.
17407 (appt-warning-time-regexp): New option.
17408 (appt-make-list): Respect appt-message-warning-time.
17409
548d0a63
GM
17410 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17411 New options.
17412 (diary-add-to-list): Strip comments from the displayed string.
17413 (diary-mode): Set comment-start and comment-end.
17414
60f884b2
GM
17415 * vc/diff-mode.el (smerge-refine-subst): Declare.
17416 (diff-refine-hunk): Don't require smerge-mode when compiling.
17417
989681bb
JB
174182011-05-06 Juanma Barranquero <lekktu@gmail.com>
17419
17420 * simple.el (list-processes): Return nil as the docstring says.
17421
a6bc05e1
MA
174222011-05-05 Michael Albinus <michael.albinus@gmx.de>
17423
17424 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17425 to "".
17426 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17427 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17428 determining of binary transfer. (Bug#7383)
17429
23c22e9a
MA
174302011-05-05 Michael Albinus <michael.albinus@gmx.de>
17431
c4662635
SM
17432 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17433 Fix port computation bug. (Bug#8618)
23c22e9a 17434
0bff894f
GM
174352011-05-05 Glenn Morris <rgm@gnu.org>
17436
b8296902
GM
17437 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17438
1f522ce8
GM
17439 * simple.el (shell-dynamic-complete-functions)
17440 (comint-dynamic-complete-functions): Declare.
17441
cf5bee67
GM
17442 * net/network-stream.el (gnutls-negotiate):
17443 * simple.el (tabulated-list-print): Fix declarations.
17444
17445 * progmodes/gud.el (syntax-symbol, syntax-point):
17446 Remove unnecessary and incorrect declarations.
17447
0bff894f
GM
17448 * emacs-lisp/check-declare.el (check-declare-scan):
17449 Handle byte-compile-initial-macro-environment in bytecomp.el
17450
9869b3ae
SM
174512011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17452
17453 Fix earlier half-done eieio-defmethod change (bug#8338).
17454 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17455 Streamline and change calling convention.
17456 (defmethod): Adjust accordingly and simplify.
17457 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17458 new eieio--defmethod.
17459 (slot-boundp): Minor CSE simplification.
17460
9c1d5ac5
MZ
174612011-05-05 Milan Zamazal <pdm@zamazal.org>
17462
17463 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17464 (glasses-make-readable): Use glasses-separate-capital-groups.
17465
455c834e
JB
174662011-05-05 Juanma Barranquero <lekktu@gmail.com>
17467
17468 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17469 (warning-series): Doc fix.
17470 (display-warning): Don't try to create the buffer if we just found it.
17471
9ed7c8cb
CY
174722011-05-04 Chong Yidong <cyd@stupidchicken.com>
17473
17474 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17475 (autoload-find-generated-file): New function.
17476 (generate-file-autoloads): Bind generated-autoload-file to
17477 buffer-file-name.
9869b3ae
SM
17478 (update-file-autoloads, update-directory-autoloads):
17479 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17480 output file (Bug#7989).
17481 (batch-update-autoloads): Doc fix.
17482
0898ca10
JB
174832011-05-04 Juanma Barranquero <lekktu@gmail.com>
17484
17485 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17486
31dfb76c
GM
174872011-05-04 Glenn Morris <rgm@gnu.org>
17488
f330b642
GM
17489 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17490 function, so it follows changes in calendar-date-style.
17491 (diary-fancy-date-matcher): New function.
17492 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17493 (diary-fancy-font-lock-fontify-region-function):
17494 Use diary-fancy-date-pattern as a function.
17495
31dfb76c
GM
17496 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17497 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17498
48e79d6a
TZ
174992011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17500
17501 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17502 instead of positional arguments. Allow :keylist and :crlfiles
17503 arguments.
17504 (open-gnutls-stream): Call it.
17505
17506 * net/network-stream.el (network-stream-open-starttls): Adjust to
17507 call `gnutls-negotiate' with :process and :hostname arguments.
17508
dd5a5ee0
SM
175092011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17510
ef80fc09
SM
17511 * minibuffer.el (completion--message): New function.
17512 (completion--do-completion, minibuffer-complete)
17513 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17514 (completion--do-completion): Don't ignore completion-auto-help when in
17515 icomplete-mode.
17516
dd5a5ee0
SM
17517 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17518 internal encoding (e.g. tibetan zero is not whitespace).
17519 (global-whitespace-mode): Prefer save-current-buffer.
17520 (whitespace-trailing-regexp): Remove useless save-match-data.
17521 (whitespace-empty-at-bob-regexp): Minor simplification.
17522
b7d22a83
CY
175232011-05-03 Chong Yidong <cyd@stupidchicken.com>
17524
17525 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17526
5192af46
AM
175272011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17528
17529 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17530 Use `concat' to create string for insertion.
5192af46 17531
5767d190
SM
175322011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17533
17534 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17535 Avoid open-line which runs post-self-insert-hook.
17536 (bibtex-fill-entry): Remove unused `end' var.
17537
bf242939
AM
175382011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17539
5767d190
SM
17540 * textmodes/ispell.el (ispell-add-per-file-word-list):
17541 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17542
25666126
LL
175432011-05-03 Leo Liu <sdl.web@gmail.com>
17544
17545 * isearch.el (isearch-yank-pop): New command.
5767d190 17546 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17547 (isearch-forward): Mention it.
17548
52d3c2d0
SM
175492011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17550
1bcace58
SM
17551 * simple.el (minibuffer-complete-shell-command): Remove.
17552 (minibuffer-local-shell-command-map): Use completion-at-point.
17553 (read-shell-command): Setup completion vars here instead.
17554 (read-expression-map): Bind TAB to symbol completion.
17555
52d3c2d0
SM
17556 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17557 error directly rather via storing it into `results'.
17558
35813471
LL
175592011-05-02 Leo Liu <sdl.web@gmail.com>
17560
17561 * vc/diff.el: Fix description.
17562
e793a940
LMI
175632011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17564
17565 * server.el (server-eval-at): New function.
17566
8de66e05
LMI
175672011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17568
17569 * net/network-stream.el (open-network-stream): Take a :nowait
17570 parameter and pass it on to `make-network-process'.
17571 (network-stream-open-plain): Ditto.
17572
dcb79f20
AS
175732011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17574
17575 * faces.el (face-spec-set-match-display): Don't match toolkit
17576 options on terminal frames.
17577
14a7fbd8
SM
175782011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17579
7eabc1be
SM
17580 * progmodes/pascal.el: Use lexical binding.
17581 (pascal-mode-map): Remove author preferences.
17582
14a7fbd8
SM
17583 * pcomplete.el (pcomplete-std-complete): Don't abuse
17584 completion-at-point.
17585
50f84510
JB
175862011-04-28 Juanma Barranquero <lekktu@gmail.com>
17587
6e087a44
JB
17588 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17589 removing code that has been dead since 1991 or so.
17590
50f84510
JB
17591 * startup.el (command-line): When warning about "_emacs", use a
17592 delayed warning to allow the user to filter it out.
17593
0ba690bd
DD
175942011-04-28 Deniz Dogan <deniz@dogan.se>
17595
17596 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17597 user has not joined.
17598
08abfaad
SM
175992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17600
17601 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17602 aren't any completions at point.
17603
638f053a
JB
176042011-04-28 Juanma Barranquero <lekktu@gmail.com>
17605
17606 * subr.el (display-delayed-warnings): New function.
17607 (delayed-warnings-hook): New variable.
17608
8fff8daa
SM
176092011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17610
08abfaad
SM
17611 * minibuffer.el (completion-at-point, completion-help-at-point):
17612 Don't presume that a given completion-at-point-function will always
17613 use the same calling convention.
17614
8fff8daa
SM
17615 * pcomplete.el (pcomplete-completions-at-point):
17616 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17617 pcomplete-seen is non-nil.
17618 (pcomplete-comint-setup): Also recognize the new comint/shell
17619 completion functions.
17620 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17621 pcomplete-seen is non-nil.
17622
841a1577 176232011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17624
841a1577 17625 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17626 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17627 the first character in the entry. This allows for code to add its
211ec907
UJ
17628 own uid to the entry.
17629 (icalendar--convert-float-to-ical): Add export of
17630 `diary-float'-entries save for those with the optional DAY
17631 argument.
17632
2a782793
DC
176332011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17634
17635 * subr.el (shell-quote-argument): Use alternate escaping strategy
17636 when we spot a variable reference in a string.
17637
0438ce91
DC
176382011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17639
17640 * cus-start.el (all): Define customization for debug-on-event.
17641
841a1577 176422011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17643
17644 * subr.el (shell-quote-argument): Escape correctly under Windows.
17645
d090ed6c
SM
176462011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17647
17648 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17649
bfd31217
MA
176502011-04-25 Michael Albinus <michael.albinus@gmx.de>
17651
d090ed6c
SM
17652 * net/tramp.el (tramp-process-actions): Add POS argument.
17653 Delete region between POS and (pos).
bfd31217 17654
d090ed6c
SM
17655 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17656 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17657 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17658
17659 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17660 position in `tramp-process-actions' call.
17661
17662 * net/trampver.el: Update release number.
17663
e92f3bd3
SM
176642011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17665
850256b5
SM
17666 * custom.el (defcustom): Obey lexical-binding.
17667
e92f3bd3
SM
17668 Fix octave-inf completion problems reported by Alexander Klimov.
17669 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17670 Inherit from octave-mode-syntax-table.
17671 (inferior-octave-mode): Set info-lookup-mode.
17672 (inferior-octave-completion-at-point): New function.
17673 (inferior-octave-complete): Use it and completion-in-region.
17674 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17675 comint-filename-completion.
17676 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17677 symbol elements which shouldn't be word elements.
17678 (octave-font-lock-keywords, octave-beginning-of-defun)
17679 (octave-function-header-regexp): Adjust regexps accordingly.
17680 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17681
cd22b309
JB
176822011-04-25 Juanma Barranquero <lekktu@gmail.com>
17683
17684 * net/gnutls.el (gnutls-errorp): Declare before first use.
17685
8b492194
TZ
176862011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17687
17688 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17689 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17690 default trustfile exists before going to use it. Add missing
5a5fa834 17691 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17692 Reported by Claudio Bley <claudio.bley@gmail.com>.
17693 (open-gnutls-stream): Add usage example.
17694
17695 * net/network-stream.el (network-stream-open-starttls): Give host
17696 parameter to `gnutls-negotiate'.
17697 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17698 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17699
841a1577 177002011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17701
cd22b309
JB
17702 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17703 Use correct match group (bug#8438).
05842630 17704
3ba7869c
CY
177052011-04-24 Chong Yidong <cyd@stupidchicken.com>
17706
512e3ae1
CY
17707 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17708 (package-menu--generate): New arg specifying packages to show.
17709 (package-menu-refresh, package-menu-execute, list-packages):
17710 Callers changed.
17711 (package-show-package-list): New function, replacing deleted
17712 package--list-packages (renamed because it is non-internal).
17713
17714 * finder.el (finder-list-matches): Use package-show-package-list
17715 instead of deleted package--list-packages.
17716
e92f3bd3
SM
17717 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17718 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17719 (vc-annotate-mode-map): Bind it to RET.
17720
7031be6d
UR
177212011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17722
17723 * progmodes/etags.el (next-file): Don't use set-buffer to change
17724 buffers (Bug#8478).
17725
4ef177aa
CY
177262011-04-24 Chong Yidong <cyd@stupidchicken.com>
17727
c8d173eb
CY
17728 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17729
4ef177aa
CY
17730 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17731 (apropos-accumulator): Doc fix.
17732 (apropos-function, apropos-macro, apropos-command)
17733 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17734 (apropos-plist): Add face property.
17735 (apropos-symbols-internal): Fix indentation.
17736 (apropos-print): Simplify help, and recognize apropos-multi-type.
17737 (apropos-print-doc): Use button-type-get to extract the button's
17738 face property. Fill docstring (Bug#8352).
17739
4ffd0d6b 177402011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17741
17742 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17743
c6c32125 17744 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17745 (mpuz-mode-map): Use mapc.
c6c32125
JB
17746 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17747 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17748 Fix typos in docstrings.
17749
58d468b4
JB
17750 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17751 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17752
6470c3c6
JB
17753 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17754
4ffd0d6b 177552011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17756
17757 * minibuffer.el (completion--do-completion): Avoid the "Next char
17758 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17759
3ad8bad0
CY
17760 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17761 mouse-2 into unread-command-events, it is interpreted correctly.
17762
71d73c9c 17763 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17764 (image-toggle-display): Doc fix.
71d73c9c 17765
841a1577 177662011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17767
4ffd0d6b
GM
17768 * textmodes/page.el (what-page): Use line-number-at-pos to
17769 calculate line number (Bug#6825).
6e1dbaa9 17770
c2fb1b60
JB
177712011-04-22 Juanma Barranquero <lekktu@gmail.com>
17772
17773 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17774 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17775 Pass argument NO-DEFAULT to `find-tag-interactive'.
17776
e02f48d7
JB
177772011-04-22 Juanma Barranquero <lekktu@gmail.com>
17778
17779 Lexical-binding cleanup.
17780
17781 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17782 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17783 * progmodes/ada-prj.el (ada-prj-initialize-values)
17784 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17785 (ada-prj-show-value):
17786 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17787 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17788 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17789 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17790 * progmodes/bug-reference.el (bug-reference-push-button):
17791 * progmodes/fortran.el (fortran-line-length):
17792 * progmodes/glasses.el (glasses-change):
17793 * progmodes/octave-mod.el (octave-fill-paragraph):
17794 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17795 (python-pdbtrack-grub-for-buffer, python-sentinel):
17796 * progmodes/sql.el (sql-save-connection):
17797 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17798 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17799 Mark unused parameters.
17800
17801 * progmodes/compile.el (compilation--flush-directory-cache)
17802 (compilation--flush-parse, compile-internal): Mark unused parameters.
17803 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17804 (compilation-next-error-function): Remove unused variable `timestamp'.
17805
17806 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17807 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17808
17809 * progmodes/dcl-mode.el (dcl-end-of-command):
17810 Remove unused variable `start'.
17811 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17812 (dcl-option-value-basic, dcl-option-value-offset)
17813 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17814 Mark unused parameters.
17815 (dcl-save-local-variable): Remove unused variable `val'.
17816 (mode): Declare.
17817
17818 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17819 Mark unused parameters.
17820 (delphi-ignore-changes): Move before first use.
17821 (delphi-charset-token-at): Remove unused variable `start'.
17822 (delphi-else-start): Remove unused variable `if-count'.
17823 (delphi-comment-block-start, delphi-comment-block-end):
17824 Remove unused variable `kind'.
17825 (delphi-indent-line): Remove unused variable `new-point'.
17826
17827 * progmodes/ebrowse.el (ebrowse-files-list)
17828 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17829 Mark unused parameters. Don't quote `lambda'.
17830 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17831 Don't quote `lambda'.
17832 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17833 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17834 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17835 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17836 Use `ignore-errors'.
17837 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17838 (ebrowse-view/find-file-and-search-pattern)
17839 (ebrowse-view/find-member-declaration/definition):
17840 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17841 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17842 Rename parameter PREFIX-ARG to PREFIX.
17843 (ebrowse-tags-read-name): Remove unused variables `start' and
17844 `member-info'.
17845 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17846 to `tags-file'.
17847
17848 * progmodes/etags.el (local-find-tag-hook): Declare.
17849 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17850 Mark unused parameters.
17851
17852 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17853 (executable-interpret): Mark unused parameter.
17854
17855 * progmodes/flymake.el (flymake-process-sentinel)
17856 (flymake-after-change-function)
17857 (flymake-create-temp-with-folder-structure)
17858 (flymake-get-include-dirs-dot): Mark unused parameters.
17859 (flymake-safe-delete-directory): Remove unused variable `err'.
17860
17861 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17862 (speedbar-timer-fn, speedbar-line-text)
17863 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17864 (speedbar-center-buffer-smartly): Declare functions.
17865 (gdb-find-watch-expression): Remove unused variable `array'.
17866 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17867 (gdb-starting): Mark unused parameters.
17868 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17869 (gdb-table-string): Remove unused variable `res'.
17870 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17871 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17872 (gdb-display-buffer): Remove unused variable `cur-size'.
17873
17874 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17875 allow lexical-binding compilation.
17876 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17877 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17878 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17879 Mark unused parameters.
17880 (gud-gdb-marker-filter): Remove unused variable `match'.
17881 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17882 lambda expressions and funcall them, instead of using `fset'.
17883
17884 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17885 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17886
17887 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17888 variable `header-beg'; use `let'.
17889
17890 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17891 `restart', `last-sexp' and `at-do'.
17892
17893 * progmodes/js.el (js--debug): Mark unused parameter.
17894 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17895 (js--splice-into-items): Remove unused variable `item'.
17896 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17897
17898 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17899 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17900 (makefile-complete): Remove unused variable `try'.
17901 (makefile-fill-paragraph, makefile-match-function-end):
17902 Mark unused parameters.
17903
17904 * progmodes/octave-inf.el (inferior-octave-complete):
17905 Remove unused variable `proc'.
17906 (inferior-octave-output-digest): Mark unused parameter.
17907
17908 * progmodes/perl-mode.el (perl-calculate-indent):
17909 Remove unused variable `err'.
17910
17911 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17912 (prolog-indent-line): Mark unused parameters.
17913 (prolog-indent-line): Remove unused variable `beg'.
17914
17915 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17916 (reporter-dont-compact-list): Declare.
17917
17918 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17919 Remove unused variable `char'.
17920 (sh-debug): Mark unused parameter.
17921 (sh-get-indent-info): Remove unused variable `start'.
17922 (sh-calculate-indent): Remove unused variable `var'.
17923
17924 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17925 (simula-electric-keyword): Remove unused variable `null'.
17926 (simula-search-backward, simula-search-forward): Remove unused
17927 variables `begin' and `end'.
17928
17929 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17930 Remove unused variable `pos'.
17931 (vera-electric-tab, vera-comment-uncomment-region):
17932 Mark unused parameters.
17933 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17934
7ede3b65
CY
179352011-04-22 Chong Yidong <cyd@stupidchicken.com>
17936
17937 * emacs-lisp/package.el (package--builtins, package-alist)
17938 (package-load-descriptor, package-built-in-p, package-activate)
17939 (define-package, package-installed-p)
17940 (package-compute-transaction, package-buffer-info)
17941 (package--push): Doc fix. Distinguish more clearly between
17942 version strings and version lists.
17943
121656e9
JB
179442011-04-21 Juanma Barranquero <lekktu@gmail.com>
17945
17946 Lexical-binding cleanup.
17947
17948 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17949 (5x5-make-mutate-best):
17950 * play/fortune.el (fortune-in-buffer):
17951 * play/gomoku.el (gomoku-init-display):
17952 * play/solitaire.el (solitaire, solitaire-do-check):
17953 * play/tetris.el (tetris-default-update-speed-function):
17954 Mark unused parameters.
17955
17956 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17957 (bubbles--shift): Remove unused variable `char-org'.
17958 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17959 (bubbles--show-images): Remove unused variable `char'.
17960
17961 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17962 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17963 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17964 (decipher-analyze-buffer): Use ?\s.
17965 (decipher-make-checkpoint): Remove unused variable `mapping'.
17966
17967 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17968
17969 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17970 Remove unused variable `result'; use `let'.
17971
17972 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17973 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17974 (gametree-children-shown-p, gametree-compute-reduced-score):
17975 Use `ignore-errors'.
17976
17977 * play/handwrite.el (ps-lpr-switches): Declare.
17978 (handwrite): Remove unused variables `pmin' and `lastp'.
17979
17980 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17981
17982 * play/landmark.el (landmark-init-display)
17983 (landmark-update-naught-weights): Mark unused parameters.
17984 (landmark-y): Remove unused variable `noise'. Simplify.
17985 (landmark-human-plays): Remove unused variable `score'.
17986
17987 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17988 (mpuz-try-proposal): Remove unused variable `game'.
17989
17990 * play/zone.el (life-patterns): Declare.
17991
80f499c7
JB
179922011-04-20 Juanma Barranquero <lekktu@gmail.com>
17993
17994 * vc/vc.el (ediff-vc-internal): Declare function.
17995
024ff170
SM
179962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17997
c0a193ea
SM
17998 * shell.el: Use lexical-binding and std completion UI.
17999 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18000 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18001 comint-preoutput-filter-functions rather than on
18002 comint-output-filter-functions.
18003 (shell-command-completion, shell--command-completion-data)
18004 (shell-filename-completion, shell-environment-variable-completion)
18005 (shell-c-a-p-replace-by-expanded-directory): New functions.
18006 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18007 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18008 (shell-dynamic-complete-environment-variable): Use them.
18009 (shell-dynamic-complete-as-environment-variable)
18010 (shell-dynamic-complete-as-command): Remove.
18011 (shell-match-partial-variable): Match past point.
18012 * comint.el: Clean up use of completion-at-point-functions.
18013 (comint-completion-at-point): New function.
18014 (comint-mode): Use it completion-at-point-functions.
18015 (comint-dynamic-complete): Make it obsolete.
18016 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18017 (comint-c-a-p-replace-by-expanded-history): New function.
18018 (comint-dynamic-complete-functions)
18019 (comint-replace-by-expanded-history): Use it.
18020 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18021 termination strings. Try harder to avoid second try-completion.
18022 (completion-in-region-mode-map): Disable bindings that don't work yet.
18023
2dbaa080
SM
18024 * comint.el: Use lexical-binding. Require CL.
18025 (comint-dynamic-complete-functions): Use comint-filename-completion.
18026 (comint-completion-addsuffix): Tweak custom type.
18027 (comint-filename-completion, comint--common-suffix)
18028 (comint--common-quoted-suffix, comint--table-subvert)
18029 (comint--complete-file-name-data): New functions.
18030 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18031 (comint-dynamic-list-filename-completions): Use them.
18032 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18033
2dbaa080
SM
18034 * minibuffer.el (completion-in-region-mode):
18035 Keep completion-in-region-mode--predicate global.
18036 (completion-in-region--postch):
18037 Assume completion-in-region-mode--predicate is not null.
18038
c79a6f38
SM
18039 * progmodes/flymake.el (flymake-start-syntax-check-process):
18040 Obey `dir'. Simplify.
18041
024ff170
SM
18042 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18043 we're in VC after all.
18044
1c6c854e
CS
180452011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18046
18047 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18048 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18049 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18050
bed7f140
SM
180512011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18052
332e62ab
SM
18053 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18054 add sanity check.
18055
bed7f140
SM
18056 * obsolete/erc-hecomplete.el: Make obsolete.
18057 * obsolete/: Standardize obsolescence info in the header.
18058
f195c582
GM
180592011-04-20 Glenn Morris <rgm@gnu.org>
18060
18061 * calendar/solar.el (solar-horizontal-coordinates):
18062 Use the longitude argument rather than `calendar-longitude'.
18063 (solar-date-next-longitude): Remove unused locals.
18064
cb79b8c0
VJL
180652011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18066
18067 * whitespace.el: New version 13.2.1.
18068
180692011-04-20 felix <EmacsWiki> (tiny change)
18070
d8e4b68b 18071 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18072 switching between major modes on a file.
18073
602ea69d
SM
180742011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18077 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18078 multi-line comments as well.
18079
06b60517
JB
180802011-04-19 Juanma Barranquero <lekktu@gmail.com>
18081
18082 Lexical-binding cleanup.
18083
18084 * arc-mode.el (archive-mode-revert):
18085 * cmuscheme.el (scheme-interactively-start-process):
18086 * custom.el (custom-initialize-delay):
18087 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18088 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18089 * emacs-lock.el (emacs-lock-clear-sentinel):
18090 * ezimage.el (defezimage):
18091 * follow.el (follow-avoid-tail-recenter):
18092 * fringe.el (set-fringe-mode-1):
18093 * generic-x.el (bat-generic-mode-compile):
18094 * help-mode.el (help-info-variable, help-do-xref)
18095 (help-mode-revert-buffer):
18096 * help.el (view-emacs-todo):
18097 * iswitchb.el (iswitchb-completion-help):
18098 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18099 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18100 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18101 * locate.el (locate-update):
18102 * longlines.el (longlines-encode-region)
18103 (longlines-after-change-function):
18104 * outline.el (outline-isearch-open-invisible):
18105 * ps-def.el (declare-function, charset-dimension, char-width)
18106 (encode-char):
18107 * ps-mule.el (ps-mule-plot-string):
18108 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18109 (recentf-edit-list-select, recentf-edit-list-validate)
18110 (recentf-open-files-action):
18111 * rect.el (delete-whitespace-rectangle-line)
18112 (rectangle-number-line-callback):
18113 * register.el (window-configuration-to-register)
18114 (frame-configuration-to-register):
18115 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18116 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18117 (xselect-convert-to-targets, xselect-convert-to-delete)
18118 (xselect-convert-to-filename, xselect-convert-to-charpos)
18119 (xselect-convert-to-lineno, xselect-convert-to-colno)
18120 (xselect-convert-to-os, xselect-convert-to-host)
18121 (xselect-convert-to-user, xselect-convert-to-class)
18122 (xselect-convert-to-name, xselect-convert-to-integer)
18123 (xselect-convert-to-atom, xselect-convert-to-identity):
18124 * subr.el (declare, ignore, process-kill-without-query)
18125 (text-clone-maintain):
18126 * terminal.el (te-get-char, te-tic-sentinel):
18127 * tool-bar.el (tool-bar-make-keymap):
18128 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18129 * type-break.el (type-break-mode, type-break-noninteractive-query):
18130 * view.el (View-back-to-mark):
18131 * wid-browse.el (widget-browse-action, widget-browse-widget)
18132 (widget-browse-widgets, widget-browse-sexp):
18133 * widget.el (define-widget-keywords):
18134 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18135 Mark unused parameters.
18136
18137 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18138 (align-areas): Remove unused variable `look'.
18139 (align-region): Remove unused variables `real-end' and `pos-list'.
18140
18141 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18142
18143 * bindings.el (mode-line-modified, mode-line-remote):
18144 Mark unused parameters.
18145 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18146
18147 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18148 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18149
18150 * comint.el (comint-history-isearch-pop-state)
18151 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18152 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18153 (comint-substitute-in-file-name): Doc fix.
18154
18155 * completion.el (cmpl-statistics-block): Mark unused parameter.
18156 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18157 (save-completions-to-file, load-completions-from-file):
18158 Remove unused local variable `e'.
18159
18160 * composite.el (compose-chars): Remove unused variable `len'.
18161 (lgstring-insert-glyph): Remove unused variable `g'.
18162 (compose-glyph-string): Remove unused variables `ascent',
18163 `descent', `lbearing' and `rbearing'.
18164 (compose-glyph-string-relative): Remove unused variables
18165 `lbearing', `rbearing' and `wadjust'.
18166 (compose-gstring-for-graphic): Remove unused variables `header',
18167 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18168 (compose-gstring-for-terminal): Remove unused variables `header'
18169 and `nchars'. Use `let', not `let*'.
18170
18171 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18172 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18173 (Custom-buffer-done, custom-buffer-create-internal)
18174 (custom-browse-visibility-action, custom-browse-group-tag-action)
18175 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18176 (widget-magic-mouse-down-action, custom-toggle-parent)
18177 (custom-add-parent-links, custom-toggle-hide-variable)
18178 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18179 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18180 (custom-face-menu-create, custom-variable-menu-create, get)
18181 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18182 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18183 (customize-apropos): Remove unused variable `tests'.
18184 (custom-group-value-create): Remove unused variable `hidden-p'.
18185 (sort-fold-case): Declare.
18186
18187 * cus-theme.el (custom-reset-standard-faces-list)
18188 (custom-reset-standard-variables-list): Declare.
18189 (customize-create-theme, custom-theme-revert, custom-theme-write)
18190 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18191 Mark unused parameters.
18192
18193 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18194
18195 * delim-col.el (delimit-columns-max): Move defvar before first use.
18196
18197 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18198 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18199
18200 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18201 (auto-insert): Declare.
18202 (desktop-restore-file-buffer): Rename desktop-* parameters;
18203 mark unused ones.
18204 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18205 (desktop-buffer): Rename desktop-* parameters.
18206
18207 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18208 (dframe-reposition-frame-xemacs, dframe-help-echo)
18209 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18210 Mark unused parameters.
18211
18212 * dired-aux.el (backup-extract-version-start, overwrite-query)
18213 (overwrite-backup-query, rename-regexp-query)
18214 (rename-non-directory-query): Declare.
18215 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18216 (dired-add-entry): Remove unused variable `orig-file-name'.
18217 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18218 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18219 `dired-copy-preserve-time' directly.
18220 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18221 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18222
18223 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18224 (dired-virtual-revert, dired-make-relative-symlink):
18225 Mark unused parameters.
18226 (manual-program): Declare.
18227 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18228 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18229 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18230
18231 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18232
18233 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18234
18235 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18236 Declare.
18237
18238 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18239
18240 * electric.el (Electric-command-loop): Rename parameter
18241 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18242
18243 * expand.el (expand-in-literal): Remove unused variable `here'.
18244
18245 * facemenu.el (facemenu-add-new-color):
18246 Remove unused variable `docstring'.
18247
18248 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18249 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18250 (face-attr-construct): Mark unused parameter. Doc fix.
18251 (read-color): Remove unused variable `hex-string'.
18252
18253 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18254 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18255 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18256 (display-buffer-other-frame): Remove unused variable `old-window'.
18257 (kill-buffer-hook): Declare.
18258 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18259 Mark unused parameters.
18260 (after-find-file): Pass 1 to `auto-save-mode', not t.
18261
18262 * files-x.el (auto-insert): Declare.
18263 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18264
18265 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18266 variable `buf'. Mark unused parameter.
06b60517
JB
18267 (find-lisp-insert-directory): Mark unused parameter.
18268
18269 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18270 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18271 (format-common-tail): Remove, unused.
18272 (format-deannotate-region): Remove unused variable `loc'.
18273 (format-annotate-region): Remove unused variable `p'.
18274 (format-annotate-single-property-change): Remove unused variables
18275 `default' and `tail'.
18276
18277 * forms.el (read-file-filter): Declare.
18278 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18279
18280 * frame.el (frame-creation-function-alist): Mark unused parameter.
18281 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18282
18283 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18284 Remove unused parameters.
18285 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18286 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18287
18288 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18289 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18290 (hfy-prepare-tag-map): Mark unused parameters.
18291 (htmlfontify-buffer): Use `called-interactively-p'.
18292
18293 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18294 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18295 (ibuffer-do-occur): Mark unused parameters.
18296 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18297 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18298
18299 * ibuffer.el: Don't quote `lambda'.
18300 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18301 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18302 Mark unused parameters.
18303
18304 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18305 (ido-completing-read): Mark unused parameters.
18306 (ido-copy-current-word): Mark unused parameters;
18307 remove unused variable `name'.
18308 (ido-sort-merged-list): Remove unused parameter `dirs'.
18309
18310 * ielm.el (ielm-input-sender): Mark unused parameter.
18311 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18312 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18313 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18314 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18315 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18316
18317 * image-dired.el (image-dired-display-thumbs): Remove unused
18318 variables `curr-file' and `count'.
18319 (image-dired-remove-tag): Remove unused variable `start'.
18320 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18321 variable `curr-file'
18322 (image-dired-rotate-original): Remove unused variable `temp-file'.
18323 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18324 Remove unused variable `file'.
18325 (image-dired-gallery-generate): Remove unused variable `curr'.
18326 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18327
18328 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18329
18330 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18331
18332 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18333
18334 * isearch.el (minibuffer-history-symbol): Declare.
18335 (isearch-edit-string): Remove unused variable `err'.
18336 (isearch-message-prefix, isearch-message-suffix):
18337 Mark unused parameters.
18338
18339 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18340
18341 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18342
18343 * makesum.el (double-column): Remove unused variable `cnt'.
18344
18345 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18346 (ido-ignore-item-temp-list): Declare.
18347
18348 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18349 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18350 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18351 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18352 `mouse-col-delta'.
18353
18354 * mouse-sel.el (mouse-extend-internal):
18355 Remove unused variable `orig-window-frame'.
18356
18357 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18358 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18359 Move declarations before first use.
18360 (pcomplete-opt): Mark unused parameters; doc fix.
18361
18362 * proced.el (proced-revert): Mark unused parameter.
18363 (proced-send-signal): Remove unused variable `err'.
18364
18365 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18366 Rename parameter PREFIX-ARG to ARG.
18367 (ps-basic-plot-string, ps-basic-plot-whitespace):
18368 Mark unused parameters.
18369
18370 * replace.el (replace-count): Define.
18371 (occur-revert-function): Mark unused parameters.
18372 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18373 (isearch-case-fold-search, isearch-string): Declare.
18374 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18375 bind `case-fold-search'. Remove unused variables `beg' and `end',
18376 and simplify.
18377 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18378 COUNT and bind `replace-count'.
18379 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18380 to COUNT.
18381
18382 * savehist.el (print-readably, print-string-length): Declare.
18383
18384 * shadowfile.el (shadow-expand-cluster-in-file-name):
18385 Remove unused variable `cluster'.
18386 (shadow-copy-file): Remove unused variable `i'.
18387 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18388 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18389 (shadow-define-literal-group, shadow-define-regexp-group)
18390 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18391
18392 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18393 (shell): Use `called-interactively-p'.
18394 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18395
18396 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18397 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18398 (delete-backward-char): Remove unused variable `ocol'.
18399 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18400 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18401 (event-apply-hyper-modifier, event-apply-shift-modifier)
18402 (event-apply-control-modifier, event-apply-meta-modifier):
18403 Mark unused parameters.
18404 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18405 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18406
18407 * speedbar.el (speedbar-ignored-directory-expressions)
18408 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18409 (speedbar-find-file, speedbar-dir-follow)
18410 (speedbar-directory-buttons-follow, speedbar-tag-find)
18411 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18412 (speedbar-buffers-line-directory, speedbar-buffer-click):
18413 Mark unused parameters.
18414 (speedbar-tag-file): Remove unused variable `mode'.
18415 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18416
18417 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18418
18419 * talk.el (talk): Remove unused variable `display'.
18420
18421 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18422 (tar-write-region-annotate): Mark unused parameter.
18423
18424 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18425 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18426 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18427 warning by another.
18428
18429 * time-stamp.el (time-stamp-string-preprocess):
18430 Remove unused variable `require-padding'.
18431
18432 * tree-widget.el (widget-glyph-enable): Declare.
18433 (tree-widget-action): Mark unused parameter.
18434
18435 * w32-fns.el (x-get-selection): Mark unused parameter.
18436 (autoload-make-program, generated-autoload-file): Declare.
18437
18438 * wdired.el (wdired-revert): Mark unused parameters.
18439 (wdired-xcase-word): Remove unused variable `err'.
18440
18441 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18442 (whitespace-help-scroll): Remove unused variable `data-help'.
18443
18444 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18445 (widget-image-insert, widget-after-change, default)
18446 (widget-default-format-handler, widget-default-notify)
18447 (widget-default-prompt-value, widget-info-link-action)
18448 (widget-url-link-action, widget-function-link-action)
18449 (widget-variable-link-action, widget-file-link-action)
18450 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18451 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18452 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18453 (widget-insert-button-action, widget-delete-button-action, visibility)
18454 (widget-documentation-link-action, widget-documentation-string-action)
18455 (widget-const-prompt-value, widget-regexp-match, symbol)
18456 (widget-coding-system-prompt-value)
18457 (widget-key-sequence-value-to-external, sexp)
18458 (widget-sexp-value-to-internal, character, vector, cons)
18459 (widget-choice-prompt-value, widget-boolean-prompt-value)
18460 (widget-color--choose-action): Mark unused parameters.
18461 (widget-item-match-inline, widget-choice-match-inline)
18462 (widget-checklist-match, widget-checklist-match-inline)
18463 (widget-group-match): Rename parameter VALUES to VALS.
18464 (widget-field-value-set): Remove unused variable `size'.
18465 (widget-color-action): Remove unused variables `value' and `start'.
18466
18467 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18468 variable `dir'. Doc fix.
06b60517
JB
18469 (windmove-find-other-window): Don't pass it.
18470
18471 * window.el (count-windows): Mark unused parameter.
18472 (bw-adjust-window): Remove unused variable `err'.
18473
18474 * woman.el (woman-file-name): Remove unused variable `default'.
18475 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18476 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18477 (global-font-lock-mode): Declare.
18478 (woman-decode-region): Mark unused parameter.
18479 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18480
18481 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18482 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18483 (x-dnd-handle-moz-url): Remove unused variable `title'.
18484 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18485
18486 * xml.el (xml-parse-tag, xml-parse-attlist):
18487 Remove unused variable `pos'.
18488
bc4f7f3d
GM
184892011-04-19 Glenn Morris <rgm@gnu.org>
18490
18491 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18492 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18493 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18494 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18495 * calendar/cal-html.el (cal-html-insert-minical):
18496 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18497 (calendar-mark-date-pattern):
18498 Prefix "unused" locals.
18499
18500 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18501 optional argument `style'.
18502
18503 * calendar/appt.el (appt-make-list):
18504 * calendar/cal-china.el (calendar-chinese-date-string):
18505 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18506 (diary-hebrew-yahrzeit):
18507 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18508 * calendar/calendar.el (calendar-generate-window):
18509 * calendar/time-date.el (time-to-days):
18510 Remove unused local variables.
18511
16a43933
CY
185122011-04-18 Chong Yidong <cyd@stupidchicken.com>
18513
18514 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18515 glyphless-char-display table.
18516 (tabulated-list-glyphless-char-display): New var.
18517
7eed1860
SS
185182011-04-18 Sam Steingold <sds@gnu.org>
18519
18520 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18521 to acknowledgments.
18522
4d2d1ccd
GM
185232011-04-17 Glenn Morris <rgm@gnu.org>
18524
18525 * calendar/diary-lib.el (diary-sexp-entry):
18526 * calendar/holidays.el (holiday-sexp):
18527 Set debug-on-error rather than the removed stack-trace-on-error.
18528
239da61d
GM
185292011-04-16 Glenn Morris <rgm@gnu.org>
18530
18531 * progmodes/f90.el: Use lexical-binding.
18532 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18533
8b05752a
SM
185342011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18535
daca8ba5
SM
18536 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18537 (mail-mode): Setup mailalias completion here instead.
18538 * mail/mailalias.el: Use lexical-binding.
18539 (pattern, mailalias-done): Declare dynamic.
18540 (mail-completion-at-point-function): New function, from mail-complete.
18541 (mail-complete): Use it.
18542 (mail-completion-expand): New function.
18543 (mail-get-names): Use it.
18544 (mail-directory, mail-directory-process, mail-directory-stream):
18545 Don't use `pattern' for lexically bound arg.
18546
6f542485
SM
18547 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18548
037e7c3f
SM
18549 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18550 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18551 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18552
8b05752a
SM
18553 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18554 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18555 (byte-interactive-p): Define them again, for use when inlining
18556 old code.
18557
49093f60
JB
185582011-04-15 Juanma Barranquero <lekktu@gmail.com>
18559
18560 * loadup.el: Use `string-to-number', not `string-to-int'.
18561
b5b8e7de
SM
185622011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18563
18564 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18565 gud-gdb-complete-command.
18566 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18567 (gud-gdb-completion-at-point): New function.
18568 (gud-gdb-completions): Remove.
18569
f42efeb5
MA
185702011-04-14 Michael Albinus <michael.albinus@gmx.de>
18571
49093f60
JB
18572 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18573 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18574 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18575 whether `executable-find' is bound.
f42efeb5
MA
18576
18577 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18578
e240cc21
SM
185792011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18580
18581 * minibuffer.el (completion-in-region-mode-predicate)
18582 (completion-in-region-mode--predicate): New vars.
18583 (completion-in-region, completion-in-region--postch)
18584 (completion-in-region-mode): Use them.
18585 (completion--capf-wrapper): Also return the hook function.
18586 (completion-at-point, completion-help-at-point):
18587 Adjust and provide a predicate.
c2bd2ab0
SM
18588
18589 Preserve arg names for advice of subr and lexical functions (bug#8457).
18590 * help-fns.el (help-function-arglist): Consolidate the subr and
18591 new-byte-code cases. Add argument `preserve-names' to extract names
18592 from the docstring when needed.
18593 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18594 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18595 (ad-arglist): Use help-function-arglist's new arg.
18596 (ad-definition-type): Use cond.
18597
c183f693
JB
185982011-04-13 Juanma Barranquero <lekktu@gmail.com>
18599
06641a47
JB
18600 * autorevert.el (auto-revert-handler):
18601 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18602 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18603 Don't quote lambda.
18604
c183f693
JB
18605 * image-mode.el (image-transform-set-scale):
18606 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18607
1e3b6001
G
186082011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18609
18610 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18611 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18612 Upgrades via gnutls-cli are too slow to be done opportunistically.
18613
2d6af8dd
JB
186142011-04-12 Juanma Barranquero <lekktu@gmail.com>
18615
18616 * dframe.el (dframe-current-frame): Remove spurious quote.
18617
c0749a51
GM
186182011-04-12 Glenn Morris <rgm@gnu.org>
18619
088d0d61
GM
18620 * calendar/cal-tex.el (cal-tex-end-document):
18621 Try to automatically use latin1 input if needed.
18622
c0749a51
GM
18623 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18624 Don't try to cons a mark onto an empty element.
18625
5c90fde0
LL
186262011-04-11 Leo Liu <sdl.web@gmail.com>
18627
18628 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18629 buffers.
18630 (ido-kill-buffer-at-head): Support killing virtual buffers.
18631
369e974d
CY
186322011-04-10 Chong Yidong <cyd@stupidchicken.com>
18633
18634 * minibuffer.el (completion-show-inline-help): New var.
18635 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18636 (minibuffer-force-complete, minibuffer-complete-word):
18637 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18638
18639 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18640 to avoid interference from inline help (Bug#5849).
18641
37f1c930
LL
186422011-04-10 Leo Liu <sdl.web@gmail.com>
18643
099c39a4
JB
18644 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18645 Fix typo.
37f1c930 18646
a32d4040
CY
186472011-04-09 Chong Yidong <cyd@stupidchicken.com>
18648
18649 * image-mode.el (image-toggle-display-image): Signal an error if
18650 not in Image mode.
18651 (image-transform-mode, image-transform-resize)
18652 (image-transform-set-rotation): Doc fix.
daca8ba5 18653 (image-transform-set-resize): Delete.
a32d4040
CY
18654 (image-transform-set-scale, image-transform-fit-to-height)
18655 (image-transform-fit-to-width): Handle image-toggle-display-image
18656 and image-transform-resize directly.
18657
099c39a4 186582011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18659
18660 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18661 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18662 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18663 (doc-view-mode-map): Add bindings for the new functions.
18664
099c39a4 186652011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18666
4d61f28d 18667 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18668 Fix typo in docstring.
18669
3726838a
EZ
186702011-04-08 Eli Zaretskii <eliz@gnu.org>
18671
04f33f1e
EZ
18672 * files.el (file-size-human-readable): Produce one digit after
18673 decimal, like "ls -lh" does.
18674
18675 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18676 the file size representation.
18677
3726838a
EZ
18678 * simple.el (list-processes): If async subprocesses are not
18679 available, error out with a clear error message.
18680
cbb59342
CY
186812011-04-08 Chong Yidong <cyd@stupidchicken.com>
18682
18683 * help.el (help-form-show): New function, to be called from C.
18684 Put help-form output in a buffer named differently than *Help*.
18685
e3971c44
EZ
186862011-04-08 Eli Zaretskii <eliz@gnu.org>
18687
18688 * files.el (file-size-human-readable): New function.
18689
18690 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18691 computing the representation inline. Don't require `cl'.
18692
12544bbe
GM
186932011-04-08 Glenn Morris <rgm@gnu.org>
18694
a1de6c6a
GM
18695 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18696
3c4671f4
GM
18697 * net/browse-url.el (browse-url-firefox):
18698 Test system-type, not system-configuration.
18699
b605679c
GM
18700 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18701 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18702 Use log-edit-empty-buffer-p. (Bug#7598)
18703
56442f0c
GM
18704 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18705 (rlogin-mode-map): Initialize in the defvar.
18706 (rlogin): Use ignore-errors.
18707
12544bbe
GM
18708 * replace.el (occur-mode-map): Some fixes for menu items.
18709
eb237b0f
AH
187102011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18711
18712 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18713
7d668f2c
CY
187142011-04-06 Chong Yidong <cyd@stupidchicken.com>
18715
e67a13ab
CY
18716 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18717 issuing unused warnings.
18718
18719 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18720 macro directly.
18721
7d668f2c
CY
18722 * simple.el: Lisp reimplement of list-processes. Based on an
18723 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18724 (process-menu-mode): New major mode.
18725 (list-processes--refresh, list-processes):
18726 (process-menu-visit-buffer): New functions.
18727
18728 * files.el (save-buffers-kill-emacs): Don't assume any return
18729 value of list-processes, which is undocumented anyway.
18730
a83ec3c9
CY
187312011-04-06 Chong Yidong <cyd@stupidchicken.com>
18732
18733 * emacs-lisp/tabulated-list.el: New file.
18734
e91a96fe
CY
18735 * emacs-lisp/package.el: Use Tabulated List mode.
18736 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18737 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18738 table format using Tabulated List mode variables.
18739 (package--push): New macro, replacing package-list-maybe-add.
18740 (package-menu--generate): Use package--push. Renamed from
18741 package--generate-package-list.
18742 (package-menu-refresh, list-packages): Use it.
daca8ba5 18743 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18744 Return insertion data instead of inserting it directly.
099c39a4
JB
18745 (package-menu-describe-package, package-menu-execute):
18746 Use tabulated-list-get-id.
e91a96fe
CY
18747 (package-menu-mark-delete, package-menu-mark-install)
18748 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18749 (package-menu-mark-obsolete-for-deletion):
18750 Use tabulated-list-put-tag.
e91a96fe
CY
18751 (package--list-packages, package-menu-revert)
18752 (package-menu-get-package, package-menu-get-version)
18753 (package-menu-sort-by-column): Functions deleted.
18754 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18755 (package-menu--status-predicate, package-menu--version-predicate)
18756 (package-menu--name-predicate)
18757 (package-menu--description-predicate): Handle arguments in the
18758 Tabulated List format.
18759 (package-list-packages-no-fetch): Call list-packages.
18760
3e214b50
JB
187612011-04-06 Juanma Barranquero <lekktu@gmail.com>
18762
18763 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18764 (after-find-file): Don't bind it.
3e214b50
JB
18765 (revert-buffer-in-progress-p): New variable.
18766 (revert-buffer): Bind it.
18767 Pass nil for `after-find-file-from-revert-buffer'.
18768
18769 * saveplace.el (save-place-find-file-hook): Use new variable
18770 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18771
3f0f1700
GM
187722011-04-06 Glenn Morris <rgm@gnu.org>
18773
c0274801
GM
18774 * Makefile.in (AUTOGEN_VCS): New variable.
18775 (autoloads): Use $AUTOGEN_VCS.
18776
3f0f1700
GM
18777 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18778 * calendar/calendar.el (calendar-mode-map):
18779 Check for toolkit scroll bars. (Bug#8305)
18780
41ea9e48
CY
187812011-04-05 Chong Yidong <cyd@stupidchicken.com>
18782
18783 * minibuffer.el (completion-in-region--postch)
18784 (completion-in-region-mode): Remove unnecessary messages.
18785
6194c800
JB
187862011-04-05 Juanma Barranquero <lekktu@gmail.com>
18787
33256f14
JB
18788 * font-lock.el (font-lock-refresh-defaults):
18789 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18790 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18791
6194c800
JB
18792 * info.el (Info-directory-list, Info-read-node-name-2)
18793 (Info-split-parameter-string): Doc fixes.
18794 (Info-virtual-nodes): Reflow docstring.
18795 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18796 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18797 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18798 Fix typos in docstrings.
18799 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18800 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18801 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18802 (Info-restore-desktop-buffer): Mark unused parameters.
18803 (Info-directory-find-file, Info-directory-find-node)
18804 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18805 (Info-virtual-index-find-node, Info-apropos-find-file)
18806 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18807 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18808 (Info-virtual-index): Remove unused local variable `nodename'.
18809
b87a8200 188102011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18811
b87a8200
DD
18812 * net/rcirc.el: Update my e-mail address.
18813 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18814
3b2ff876
CY
188152011-04-05 Chong Yidong <cyd@stupidchicken.com>
18816
18817 * startup.el (command-line): Save the cursor's theme-face
18818 directly, instead of using face-override-spec.
18819
18820 * custom.el (load-theme): Minor optimization in assigning faces.
18821
8d17e7ca
JB
188222011-04-04 Juanma Barranquero <lekktu@gmail.com>
18823
18824 * help-fns.el (describe-variable): Complete all variables having
18825 documentation, including keywords.
18826 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18827
2fbc1934
JB
188282011-04-04 Juanma Barranquero <lekktu@gmail.com>
18829
18830 Convert to lexical-binding.
18831
18832 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18833 (bs--get-marked-string, bs--get-modified-string)
18834 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18835 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18836 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18837
18838 * ehelp.el (electric-help-execute-extended)
18839 (electric-help-ctrl-x-prefix):
18840 * hexl.el (hexl-revert-buffer-function):
18841 * linum.el (linum-after-change, linum-after-scroll):
18842 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18843
18844 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18845
74f50695
DU
188462011-04-04 Daiki Ueno <ueno@unixuser.org>
18847
18848 * epa-dired.el:
18849 * epa-mail.el:
18850 * epa-hook.el:
18851 * epa-file.el:
18852 * epa.el:
18853 * epg.el: Use lexical binding.
18854
c11325f7
CY
188552011-04-03 Chong Yidong <cyd@stupidchicken.com>
18856
0d9e9a12
CY
18857 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18858
c11325f7 18859 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18860 dictionary case for flyspell-mark-duplications-exceptions.
18861 Use regexp matching for languages.
c11325f7
CY
18862 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18863 default dictionary (Bug#7926).
18864
da91b5f2
CY
188652011-04-02 Chong Yidong <cyd@stupidchicken.com>
18866
099c39a4
JB
18867 * emacs-lisp/package.el (package--with-work-buffer):
18868 Recognize https URLs.
da91b5f2 18869
099c39a4
JB
18870 * net/network-stream.el: Move from gnus/proto-stream.el.
18871 Change prefix to network-stream throughout.
da91b5f2
CY
18872 (open-protocol-stream): Merge into open-network-stream, leaving
18873 open-protocol-stream as an alias. Handle nil BUFFER args.
18874
18875 * subr.el (open-network-stream): Move to net/network-stream.el.
18876
afa8e9f6
GM
188772011-04-02 Glenn Morris <rgm@gnu.org>
18878
1d2e369d
GM
18879 * find-dired.el (find-exec-terminator): New option.
18880 (find-ls-option): Test for -ls support.
18881 (find-ls-subdir-switches): Test for -b in find-ls-option.
18882 (find-dired, find-grep-dired): Doc fixes.
18883 (find-dired): Use find-exec-terminator.
18884
8abb7da8 18885 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18886 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18887 (find-name-arg): Remove purecopy.
8abb7da8 18888
f3ca7378
GM
18889 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18890 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18891 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18892 accordingly. Don't add the null-device if not needed.
18893
afa8e9f6
GM
18894 * files.el (save-some-buffers): Doc fix.
18895
35eae264
EZ
188962011-04-02 Eli Zaretskii <eliz@gnu.org>
18897
18898 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18899
26b51db5
JB
189002011-04-01 Juanma Barranquero <lekktu@gmail.com>
18901
18902 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18903 Use `dolist' rather than `mapcar'.
18904
7200d79c
SM
189052011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18906
03408648 18907 Add lexical binding.
7200d79c 18908
03408648
SM
18909 * subr.el (apply-partially): Use new closures rather than CL.
18910 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18911 (dolist, dotimes): Use slightly different expansion for lexical code.
18912 (functionp): Move to C.
18913 (letrec): New macro.
18914 (with-wrapper-hook): Use it and apply-partially instead of CL.
18915 (eval-after-load): Preserve lexical-binding.
18916 (save-window-excursion, with-output-to-temp-buffer): Turn them
18917 into macros.
7200d79c 18918
03408648
SM
18919 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18920
18921 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18922 than the arglist.
18923 (help-add-fundoc-usage): Don't add `Not documented'.
18924 (help-function-arglist): Handle closures, subroutines, and new
18925 byte-code-functions.
18926 (help-make-usage): Remove leading underscores.
18927 (describe-function-1): Handle closures.
18928 (describe-variable): Use special-variable-p for completion.
18929
18930 * files.el (lexical-binding): Declare safe.
f488fb65 18931
03408648
SM
18932 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18933 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18934 (pcase): Add `let' pattern.
18935 Change memoization so it actually works.
18936 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18937 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18938 <let>: New case.
f488fb65 18939
03408648
SM
18940 * emacs-lisp/macroexp.el: Use lexical binding.
18941 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18942 Don't convert ' to #' without checking that it's indeed quoting
18943 a lambda.
18944
18945 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18946 Use eval-sexp-add-defvars.
03408648
SM
18947 (eval-sexp-add-defvars): New fun.
18948
18949 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18950
18951 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18952 Don't autoload.
18953 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18954 than the internal `byte-compile-lambda'.
18955 (defmethod): Don't hide code under quotes.
18956 (eieio-defmethod): New `code' argument.
18957
18958 * emacs-lisp/eieio-comp.el: Remove.
18959
18960 * emacs-lisp/edebug.el (edebug-eval-defun)
18961 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18962 (edebug-toggle): Avoid `eval'.
18963
18964 * emacs-lisp/disass.el (disassemble-internal): Handle new
18965 `closure' objects.
18966 (disassemble-1): Handle new byte codes.
18967
18968 * emacs-lisp/cl.el (pushnew): Silence warning.
18969
18970 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18971 (cl-byte-compile-throw): Remove.
18972 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18973
18974 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18975 closures.
18976
18977 * emacs-lisp/cconv.el: New file.
18978
18979 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18980 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18981 (byte-compile-initial-macro-environment):
18982 Handle declare-function here.
18983 (byte-compile--lexical-environment): New var.
18984 (byte-stack-ref, byte-stack-set, byte-discardN)
18985 (byte-discardN-preserve-tos): New lap codes.
18986 (byte-interactive-p): Don't use any more.
18987 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18988 New macros.
18989 (byte-compile-lapcode): Use them and handle new lap codes.
18990 (byte-compile-obsolete): Remove.
18991 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18992 (byte-compile-arglist-warn): Check late def of inlinable funs.
18993 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18994 since they should have been expanded by now.
18995 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18996 (byte-compile-from-buffer): Remove unused second arg.
18997 (byte-compile-preprocess): New function.
18998 (byte-compile-toplevel-file-form): New function to distinguish
18999 file-form calls from outside from file-form calls from hunk-handlers.
19000 (byte-compile-file-form): Simplify.
19001 (byte-compile-file-form-defsubst): Remove.
19002 (byte-compile-file-form-defmumble): Simplify now that
19003 byte-compile-lambda always returns a byte-code-function.
19004 (byte-compile): Preprocess.
19005 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19006 Remove, not used any more.
19007 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19008 (byte-compile-make-args-desc): New funs.
19009 (byte-compile-lambda): Handle lexical functions. Always return
19010 a byte-code-function.
19011 (byte-compile-reserved-constants): New var, to make up room for
19012 closed-over variables.
19013 (byte-compile-constants-vector): Obey it.
19014 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19015 (byte-compile-macroexpand-declare-function): New function.
19016 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19017 byte-code-functions.
19018 (byte-compile-form): Check obsolescence here.
19019 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19020 (byte-compile-variable-ref): Remove.
19021 (byte-compile-dynamic-variable-op): New fun.
19022 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19023 (byte-compile-variable-set): New funs.
19024 (byte-compile-discard): Add 2 args.
19025 (byte-compile-stack-ref, byte-compile-stack-set)
19026 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19027 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19028 macroexpand-all instead.
19029 (byte-compile-quote-form): Remove.
19030 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19031 (byte-compile-bind, byte-compile-unbind): New funs.
19032 (byte-compile-let): Handle let* and lexical binding.
19033 (byte-compile-let*): Remove.
19034 (byte-compile-catch, byte-compile-unwind-protect)
19035 (byte-compile-track-mouse, byte-compile-condition-case):
19036 Handle a new :fun-body form, used for lexical scoping.
19037 (byte-compile-save-window-excursion)
19038 (byte-compile-with-output-to-temp-buffer): Remove.
19039 (byte-compile-defun): Simplify.
19040 (byte-compile-stack-adjustment): New fun.
19041 (byte-compile-out): Use it.
19042 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19043
19044 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19045 handler any more.
19046
19047 * emacs-lisp/byte-opt.el: Use lexical binding.
19048 (byte-inline-lapcode): Remove (to bytecomp).
19049 (byte-compile-inline-expand): Pay attention to inlining to/from
19050 lexically bound code.
19051 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19052 any more.
19053 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19054 any more and don't call compiler-macros.
19055 (byte-compile-splice-in-already-compiled-code): Remove.
19056 (byte-code): Don't inline any more.
19057 (disassemble-offset): Receive `bytes' as argument rather than via
19058 dynamic scoping.
19059 (byte-compile-tag-number): Declare before first use.
19060 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19061 `return' even if make-spliceable.
19062 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19063 obsolete interactive-p.
19064 (byte-optimize-lapcode): Optimize new lap-codes.
19065 Don't trip up on new form of `byte-constant' lap code.
19066
19067 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19068
19069 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19070
19071 * custom.el (custom-initialize-default, custom-declare-variable):
19072 Use `defvar'.
19073
19074 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19075 New variables.
19076 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19077 (COMPILE_FIRST): Add macroexp and cconv.
19078 * makefile.w32-in: Mirror changes in Makefile.in.
19079
19080 * vc/cvs-status.el:
19081 * vc/diff-mode.el:
19082 * vc/log-edit.el:
19083 * vc/log-view.el:
19084 * vc/smerge-mode.el:
19085 * textmodes/bibtex-style.el:
090bd7cb 19086 * textmodes/css-mode.el:
03408648
SM
19087 * startup.el:
19088 * uniquify.el:
da91b5f2
CY
19089 * minibuffer.el:
19090 * newcomment.el:
19091 * reveal.el:
19092 * server.el:
19093 * mpc.el:
19094 * emacs-lisp/smie.el:
19095 * doc-view.el:
19096 * dired.el:
03408648
SM
19097 * abbrev.el: Use lexical binding.
19098
0f0c1f27
EZ
190992011-04-01 Eli Zaretskii <eliz@gnu.org>
19100
19101 * info.el (info-display-manual): New function.
19102
c82b2579
SM
191032011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19104
19105 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19106
221ddf68
TH
191072011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19108
19109 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19110 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19111
cba6e77e
GM
191122011-03-31 Glenn Morris <rgm@gnu.org>
19113
e040639f
GM
19114 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19115
cba6e77e
GM
19116 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19117
6d0f1c9e
CS
191182011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19119
19120 * progmodes/python.el (python-default-interpreter)
19121 (python-python-command-args, python-jython-command-args)
19122 (python-which-shell, python-which-args, python-which-bufname)
19123 (python-file-queue, python-comint-output-filter-function)
19124 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19125 variables and functions.
19126
3e2d70fd
SM
191272011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19128
19129 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19130 (completion-in-region-mode): New minor mode.
19131 (completion-in-region): Use it.
19132 (completion-in-region--data, completion-in-region-mode-map): New vars.
19133 (completion-in-region--postch): New function.
19134 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19135 New vars.
19136 (completion--capf-wrapper): New function.
19137 (completion-at-point): Use it to track well-behavedness of
19138 hook functions.
19139 (completion-help-at-point): New command.
19140
f3e4086c
JM
191412011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19142
19143 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19144 syntax class to search for whitespace on a single line
19145 (Message-ID: <4D938140.4030905@redhat.com>).
19146
eb7ffc14
LL
191472011-03-30 Leo Liu <sdl.web@gmail.com>
19148
19149 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19150 New commands.
19151 (edit-abbrevs-map): Bind them here.
19152 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19153
d806ab68
KM
191542011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19155
19156 * allout.el (allout-hide-by-annotation, allout-flag-region):
19157 Reduce possibility of overlay leakage by making them volatile.
19158
19159 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19160 hash is not shared between buffers. Mode initialization is
19161 responsible for giving it a useful starting value.
19162 (allout-item-span): Reduce possibility of overlay leakage by
19163 making them volatile.
19164 (allout-widgets-count-buttons-in-region): Add diagnostic function
19165 for tracking down button overlay leaks.
19166
ea622834
LL
191672011-03-29 Leo Liu <sdl.web@gmail.com>
19168
19169 * ido.el (ido-read-internal): Use the default history var
19170 minibuffer-history if no HISTORY is specified.
19171
b62f8267
G
191722011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19173
03408648
SM
19174 * net/imap.el (imap-shell-open, imap-process-connection-type):
19175 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19176 Kerberos, SSL, other subprocesses.
19177
947b6566
LL
191782011-03-28 Leo Liu <sdl.web@gmail.com>
19179
19180 * abbrev.el (abbrev-table-empty-p): New function.
19181 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19182 nonempty ones. (Bug#5937)
19183
5ffb62aa
JD
191842011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19185
19186 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19187
7a097943
LL
191882011-03-27 Leo Liu <sdl.web@gmail.com>
19189
19190 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19191 for foreground and background colors.
19192 (ansi-color-make-color-map): Adapt.
19193
c5b40130
LL
191942011-03-25 Leo Liu <sdl.web@gmail.com>
19195
1f48f7d2
LL
19196 * midnight.el (midnight-time-float): Remove. Note it calculates
19197 the microsecond component incorrectly and seconds-to-time does the
19198 same job.
625897ec 19199 Remove redundant (require 'timer).
1f48f7d2 19200
c5b40130
LL
19201 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19202 (ido-completions): Remove unused arguments. (Bug#8329)
19203
d86d2721
SM
192042011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19205
19206 * minibuffer.el (completion--flush-all-sorted-completions):
19207 Remove itself from hook.
19208 (completion-at-point): Let the functions perform the completion
19209 immediately and return nil or t.
19210 * comint.el (comint-dynamic-complete-functions): Now identical to
19211 completion-at-point-functions.
19212 (comint-dynamic-list-input-ring): Remove unused var `index'.
19213 (comint--match-partial-filename, comint--unquote&expand-filename):
19214 New funs, split from comint-match-partial-filename.
19215 (comint-dynamic-complete): Use completion-at-point.
19216 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19217
e8974c48
DA
192182011-03-24 Drew Adams <drew.adams@oracle.com>
19219
19220 * thingatpt.el: Support `defun'.
19221
def71b5e
LL
192222011-03-23 Leo Liu <sdl.web@gmail.com>
19223
cb5af48e
LL
19224 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19225
def71b5e
LL
19226 * help-mode.el (help-mode-finish): Tweak regexp.
19227
927c53e7
GM
192282011-03-23 Glenn Morris <rgm@gnu.org>
19229
18d05bed
GM
19230 * eshell/esh-opt.el (eshell-eval-using-options):
19231 Do not bind unused local variable `eshell-option-stub'.
19232
927c53e7
GM
19233 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19234
9d0da923
JB
192352011-03-22 Juanma Barranquero <lekktu@gmail.com>
19236
19237 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19238 keymap variable in `with-no-warnings' to avoid a warning when the
19239 keymap has been already `defconst'ed.
19240
4b978a67
LL
192412011-03-22 Leo Liu <sdl.web@gmail.com>
19242
19243 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19244 encode all chars in abbrevs; otherwise use emacs-mule or
19245 utf-8-emacs. (Bug#8308)
19246
5fd62452
JB
192472011-03-22 Juanma Barranquero <lekktu@gmail.com>
19248
0b1596c6
JB
19249 * simple.el (backward-delete-char-untabify):
19250 Avoid warning about using `delete-backward-char'.
19251
5fd62452
JB
19252 * image.el (image-type-file-name-regexps): Make it variable.
19253 `imagemagick-register-types' modifies it, and the user may want
19254 to add new extensions for known image types.
19255 (imagemagick-register-types): Throw error if not using ImageMagick.
19256
0b4e93f1
LL
192572011-03-22 Leo Liu <sdl.web@gmail.com>
19258
19259 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19260 located before rcirc-prompt-end-marker.
19261 (rcirc-complete): Error if point is not after rcirc prompt.
19262 Handle the case when table is nil.
9882e214 19263 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19264
fccee4ab
CY
192652011-03-22 Chong Yidong <cyd@stupidchicken.com>
19266
19267 * custom.el (custom--inhibit-theme-enable): Make it affect only
19268 custom-theme-set-variables and custom-theme-set-faces.
19269 (provide-theme): Ignore custom--inhibit-theme-enable.
19270 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19271 (custom-enabling-themes): Delete variable.
d86d2721
SM
19272 (enable-theme): Accept only loaded themes as arguments.
19273 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19274 (custom-enabled-themes): Forbid themes from setting this.
19275 Eliminate use of custom-enabling-themes.
19276 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19277
af896da6
LL
192782011-03-21 Leo Liu <sdl.web@gmail.com>
19279
19280 * ido.el (ido-read-internal): Add ido-selected to history instead
19281 of user input.
19282
78f64af0
SM
192832011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19284
19285 * subr.el (deferred-action-list, deferred-action-function):
19286 Mark obsolete.
19287
b16ac1ec
LL
192882011-03-21 Leo Liu <sdl.web@gmail.com>
19289
810f7698
LL
19290 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19291 change on 2011-02-13 (bug#8309).
19292
b16ac1ec
LL
19293 * minibuffer.el (read-file-name-function): Change default value.
19294 (read-file-name--defaults): Rename from read-file-name-defaults.
19295 (read-file-name-default): Rename from read-file-name.
19296 (read-file-name): Call read-file-name-function.
19297
4e05e67e
GM
192982011-03-21 Glenn Morris <rgm@gnu.org>
19299
19300 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19301 Doc fixes.
19302
4359915b
CY
193032011-03-21 Chong Yidong <cyd@stupidchicken.com>
19304
19305 * cus-theme.el: Add missing provide statement.
19306 (customize-create-theme): Extract theme value correctly.
19307 (custom-theme-visit-theme): Autoload.
19308 (customize-create-theme): Prompt before inserting default faces.
19309
1fe275ee
JB
193102011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19311
19312 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19313 units and musical notes.
19314
cd394be1 193152011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19316
19317 * ido.el (ido-read-internal): Use completing-read-default.
19318 (ido-completing-read): Fix compatibility with completing-read.
19319
7d476bde
CO
193202011-03-20 Christian Ohler <ohler@gnu.org>
19321
19322 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19323 (ert-delete-all-tests): Use `called-interactively-p' rather than
19324 `interactive-p'.
19325 (ert--make-xrefs-region): Respect END.
19326
fe0fb33e
CY
193272011-03-19 Chong Yidong <cyd@stupidchicken.com>
19328
ff854b0b
CY
19329 * dired-aux.el (dired-create-directory): Signal an error if the
19330 directory already exists (Bug#8246).
19331
fe0fb33e
CY
19332 * facemenu.el (list-colors-display): Call list-faces-display
19333 inside with-help-window.
19334 (list-colors-print): Use display property to align the final
19335 column, instead of checking window-width.
19336
576bce32
EZ
193372011-03-19 Eli Zaretskii <eliz@gnu.org>
19338
4d61f28d 19339 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19340 windows-nt systems.
19341 (emerge-protect-metachars): Quote correctly for ms-dos and
19342 windows-nt systems.
19343
89c41d68 193442011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19345
19346 * info.el (info-initialize): Replace all uses of `:' with
19347 path-separator for compatibility with non-Unix systems.
19348 Cache quoting of path-separator. (Bug#8258)
19349
b14e3e21 193502011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19351
19352 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19353 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19354 (mouse-avoidance-mode): Fix typos in docstrings.
19355
4525ce3e
CY
193562011-03-19 Chong Yidong <cyd@stupidchicken.com>
19357
19358 * startup.el (package-subdirectory-regexp): Move from package.el.
19359 Omit \\` and \\', and let callers add them.
19360
19361 * emacs-lisp/package.el (package-strip-version)
19362 (package-load-all-descriptors): Add \\` and \\' to
19363 package-subdirectory-regexp before using it.
19364 (package-untar-buffer): New arg DIR; ensure that file untars only
19365 into this expected directory. Remove superfluous delete-region.
19366 (package-unpack): Caller changed.
19367 (package-tar-file-info): Use package-subdirectory-regexp.
19368
a904a09a 193692011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19370
a904a09a
SM
19371 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19372 diff-mode-shared-map (bug#8284).
19373 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19374
193752011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19376
19377 * calendar/time-date.el (format-seconds): Use assoc instead of
19378 assoc-string, since assoc-string doesn't exist in XEmacs.
19379
171fc304
JB
193802011-03-17 Juanma Barranquero <lekktu@gmail.com>
19381
19382 * custom.el (custom-known-themes): Reflow docstring.
19383 (custom-theme-load-path): Fix typo in docstring.
19384 (load-theme): Fix typo in error message.
19385 (custom-available-themes, custom-variable-theme-value):
19386 Use `let', not `let*'.
19387
d71990a1
JB
193882011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19389
19390 * calc/README: Mention inclusion of musical notes.
19391
19392 * calc/calc-units.el (calc-lu-quant): Rename from
19393 `calc-logunits-quantity'.
19394 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19395 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19396 (calc-db): Rename from `calc-dblevel'.
19397 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19398 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19399 (calc-np): Rename from `calc-nplevel'.
19400 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19401 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19402 (calc-lu-plus): Rename from `calc-logunits-add'.
19403 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19404 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19405 (calc-lu-minus): Rename from `calc-logunits-sub'.
19406 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19407 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19408 (calc-lu-times): Rename from `calc-logunits-mul'.
19409 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19410 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19411 (calc-lu-divide): Rename from `calc-logunits-div'.
19412 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19413 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19414
19415 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19416 functions being autoloaded.
19417
19418 * calc/calc.el (calc-lu-power-reference): Rename from
19419 `calc-logunits-power-reference'.
19420 (calc-lu-field-reference): Rename from
19421 `calc-logunits-field-reference'.
19422
7a71b18d
GM
19423 * calc/calc-help.el (calc-l-prefix-help):
19424 Mention musical note functions.
d71990a1 19425
40c2934b
SM
194262011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19427
19428 * minibuffer.el (completion-all-sorted-completions):
19429 Use :completion-cycle-penalty text property if present.
19430
b0911414
KM
194312011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19432
19433 * allout.el (allout-yank-processing): Adjust for new rebulleting
19434 regime so bullet being yanked is used without prompting the user
19435 for a choice.
19436
8a05b668
JB
194372011-03-16 Juanma Barranquero <lekktu@gmail.com>
19438
19439 * startup.el (command-line): Warn the user that _emacs is deprecated.
19440
5ba5fb81
JB
194412011-03-16 Juanma Barranquero <lekktu@gmail.com>
19442
19443 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19444 (delphi-verbose, delphi-comment-face, delphi-string-face)
19445 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19446 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19447 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19448 (delphi-new-comment-line, delphi-font-lock-defaults)
19449 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19450 Fix typos in docstrings.
19451
2dab465b
KM
194522011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19453
5ba5fb81 19454 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19455 Invert the roles of character and string values for INSTEAD, so a
19456 string is used for the more common case of a defaulting prompt.
19457
0adf5618
SM
194582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19459
19460 * progmodes/ruby-mode.el (ruby-backward-sexp):
19461 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19462 * play/gamegrid.el (gamegrid-make-face):
19463 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19464 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19465 * notifications.el (notifications-notify):
19466 * net/xesam.el (xesam-search-engines):
19467 * net/quickurl.el (quickurl-list-insert):
19468 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19469
d72700e5
CY
194702011-03-15 Chong Yidong <cyd@stupidchicken.com>
19471
19472 * startup.el (command-line): Update package subdirectory regexp.
19473
49c5410a
SM
194742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19475
c6eee9aa
SM
19476 * allout.el (allout-abbreviate-flattened-numbering)
19477 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19478
49c5410a
SM
19479 * subr.el (read-char-choice): Only show the cursor after the prompt,
19480 not after the answer.
19481
047b2bb9
KR
194822011-03-15 Kevin Ryde <user42@zip.com.au>
19483
19484 * help-fns.el (variable-at-point): Skip leading quotes, if any
19485 (bug#8253).
19486
0a57d256
SM
194872011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19490 warning message.
19491
77c992bc
MA
194922011-03-14 Michael Albinus <michael.albinus@gmx.de>
19493
19494 * shell.el (shell): When called interactively, offer to change the
19495 shell file name on remote hosts.
19496
eebc475d
TZ
194972011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19498
19499 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19500 integration for LDAP parameters. The host, base, user or binddn,
19501 and secret tokens can be specified in a netrc file, for instance.
19502 This is optional because an `auth-source' parameter must be
19503 specified in the search attributes.
19504
9d05d1ba
JB
195052011-03-13 Juanma Barranquero <lekktu@gmail.com>
19506
19507 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19508
09d9db2c
GM
195092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19510
19511 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19512 into declaration. Remove redundant and harmful binding.
19513
195142011-03-12 Eli Zaretskii <eliz@gnu.org>
19515
19516 * files.el (file-ownership-preserved-p): Pass `integer' as an
19517 explicit 2nd argument to `file-attributes'. If the file's owner
19518 is the Administrators group on Windows, and the current user is
19519 Administrator, consider that a match.
19520
19521 * server.el (server-ensure-safe-dir): Consider server directory
19522 safe on MS-Windows if its owner is the Administrators group while
19523 the current Emacs user is Administrator. Use `=' to compare
19524 numerical UIDs, since they could be integers or floats.
19525
219bd536
JB
195262011-03-12 Juanma Barranquero <lekktu@gmail.com>
19527
19528 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19529
f3afd36b
MA
195302011-03-12 Michael Albinus <michael.albinus@gmx.de>
19531
19532 Sync with Tramp 2.2.1.
19533
19534 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19535
19536 * net/trampver.el: Update release number.
19537
3aaaa6f1
SM
195382011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19539
94642599
SM
19540 * progmodes/compile.el (compilation--previous-directory): Fix up
19541 various nil/dead-marker mismatches (bug#8014).
19542 (compilation-directory-properties, compilation-error-properties):
19543 Don't call it at a position past the one we're about to change.
19544
3aaaa6f1
SM
19545 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19546 Disable obsolescence warnings in the file that declares it.
19547
14239447
KM
195482011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19549
099c39a4
JB
19550 * allout-widgets.el (allout-widgets-tally):
19551 Initialize allout-widgets-tally as a hash table rather than nil to
19552 prevent mode-line redisplay warnings. Also, clarify the module
19553 description and fix a comment typo.
14239447 19554
135e287c
JB
195552011-03-11 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * help-fns.el (describe-variable): Don't complete keywords.
19558 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19559
ffbf300e
CY
195602011-03-10 Chong Yidong <cyd@stupidchicken.com>
19561
ba08b241
CY
19562 * emacs-lisp/package.el (package-version-join): Impose a standard
19563 string representation for pre/alpha/beta version lists.
19564 (package-unpack-single): Standardize the directory name by passing
19565 it through package-version-join.
19566 (package-strip-rcs-id): Accept any version string that does not
19567 signal an error in version-to-list.
ffbf300e 19568
f346fd6b
MA
195692011-03-10 Michael Albinus <michael.albinus@gmx.de>
19570
19571 * simple.el (delete-trailing-whitespace): Return nil for the
19572 benefit of `write-file-functions'.
19573
ccb55d27
GM
195742011-03-10 Glenn Morris <rgm@gnu.org>
19575
5ceaac0c
GM
19576 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19577
02da65ff
GM
19578 * vc/vc-git.el (vc-git-program): New option.
19579 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19580 (vc-git--call): Use it.
19581
b2f603cc
GM
19582 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19583
5772caab
GM
19584 * cus-edit.el (Custom-newline): If no button at point, look
19585 for a subgroup button at start-of-line. (Bug#2298)
19586
ccb55d27
GM
19587 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19588
ec6ecaed
JD
195892011-03-10 Julien Danjou <julien@danjou.info>
19590
19591 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19592 `cursor-type' is nil.
19593
9d5aa01d
JB
195942011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19595
19596 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19597
b6a5875b
KM
195982011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19599
7a71b18d 19600 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19601 preserves the existing header prefix, rebulleting it if necessary,
19602 rather than replacing it. This is necessary for proper operation
19603 of cooperative addons like allout-widgets.
1154d12e
JB
19604 (allout-make-topic-prefix, allout-rebullet-heading):
19605 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19606 value as alternate bullet to be used, instead of prompting the user
19607 for a bullet character.
b6a5875b 19608
ee545c35
MA
196092011-03-09 Michael Albinus <michael.albinus@gmx.de>
19610
d86d2721
SM
19611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19612 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19613 `tramp-default-port'.
19614
c47971d7
DD
196152011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19616
19617 * net/rcirc.el (rcirc-handler-001): Remove useless
19618 with-rcirc-process-buffer.
19619 (rcirc-check-auth-status): Swap arguments to string-match.
19620
13522cb4
GM
196212011-03-09 Glenn Morris <rgm@gnu.org>
19622
0be6f4f1
GM
19623 * shell.el (shell-mode):
19624 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19625
13522cb4
GM
19626 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19627 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19628
515de2e3
CY
196292011-03-08 Chong Yidong <cyd@stupidchicken.com>
19630
19631 * emacs-lisp/package.el (package-refresh-contents)
19632 (package-menu-execute): Use condition-case-no-debug.
19633
b511b994
MA
196342011-03-08 Michael Albinus <michael.albinus@gmx.de>
19635
19636 * simple.el (shell-command-to-string): Use `process-file'.
19637
19638 * emacs-lisp/package.el (package-tar-file-info): Handle also
19639 remote files.
19640
d86d2721
SM
19641 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19642 Use `equal' for upload base check.
b511b994 19643
25bbfb31
AM
196442011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19645
19646 * textmodes/texinfo.el (texinfo-environments):
19647 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19648
be996521
GM
196492011-03-08 Glenn Morris <rgm@gnu.org>
19650
e9c8529f
GM
19651 * cus-start.el (cursor-in-non-selected-windows):
19652 Fix :set quoting oddness. (Bug#8192)
19653
be996521
GM
19654 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19655 in some setf expressions. (Bug#2159)
19656
2bb5649e
CY
196572011-03-08 Chong Yidong <cyd@stupidchicken.com>
19658
19659 * custom.el (custom-available-themes): Return themes in
19660 alphabetical order.
19661
33383987 19662See ChangeLog.15 for earlier changes.
e3d51b27
MR
19663
19664;; Local Variables:
19665;; coding: utf-8
e3d51b27
MR
19666;; End:
19667
acaf905b 19668 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19669
19670 This file is part of GNU Emacs.
19671
19672 GNU Emacs is free software: you can redistribute it and/or modify
19673 it under the terms of the GNU General Public License as published by
19674 the Free Software Foundation, either version 3 of the License, or
19675 (at your option) any later version.
19676
19677 GNU Emacs is distributed in the hope that it will be useful,
19678 but WITHOUT ANY WARRANTY; without even the implied warranty of
19679 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19680 GNU General Public License for more details.
19681
19682 You should have received a copy of the GNU General Public License
19683 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.