* calendar/todos.el: Further code rearrangement; further new and
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
36341a66
SB
12012-09-24 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Further code rearrangement; further new and
4 revised comments.
5 (todos-reevaluate-filelist-defcustoms): Rename from
6 todos-reevaluate-defcustoms and adjust callers.
7 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
8 (todos-date-string-start, todos-done-string-start)
9 (todos-item-start): Change from defvar to defconst.
10 (todos-set-top-priorities): Use read-number and simplify.
11 (todos-insert-item): Check whether date-type argument is a string.
12 (todos-set-date-from-calendar): Check whether
13 todos-date-from-calendar is a string; simplify cond clause.
14 (todos-archive-done-item, todos-unarchive-items):
15 Use buffer-substring-no-properties.
16
3160f2eb
SB
172012-09-23 Stephen Berman <stephen.berman@gmx.net>
18
19 * calendar/todos.el (todos-item-undo): Fix restoration on
20 cancelling; use buffer-substring-no-properties; comment out code
21 removing mark overlay; fix insertion of undone items; display any
22 remaining done items.
23
18aef8a3
SB
242012-09-23 Stephen Berman <stephen.berman@gmx.net>
25
26 * calendar/todos.el: Further significant code rearrangement;
27 further comment revision.
28 (todos-mode-display): New defgroup.
29 (todos-prefix, todos-number-priorities)
30 (todos-done-separator-string, todos-done-string)
31 (todos-comment-string, todos-show-with-done)
32 (todos-mode-line-function, todos-skip-archived-categories)
33 (todos-highlight-item, todos-wrap-lines)
34 (todos-line-wrapping-function): Use it.
35 (todos-item-insertion): New defgroup.
36 (todos-include-in-diary, todos-diary-nonmarking)
37 (todos-nondiary-marker, todos-always-add-time-string)
38 (todos-use-only-highlighted-region): Use it.
39 (todos-forward-button, todos-backward-button): New commands.
40 (todos-categories-mode-map): Use them, replacing forward-button
41 and backward-button.
42 (todos-merge-category): Fix and improve implementation; handle
43 archived items.
44 (todos-insert-item, todos-set-date-from-calendar): Handle setting
45 date by calling todos-insert-item-from-calendar.
46 (todos-delete-item): Fix overlay handling.
47 (todos-move-item): Highlight item to be moved.
48 (todos-item-undo): Handle marked items.
49 (todos-insert-item-from-calendar): Rewrite using
50 todos-date-from-calendar.
51
616ffa8b
SB
522012-09-23 Stephen Berman <stephen.berman@gmx.net>
53
54 * calendar/todos.el: Further comment revision.
55 (todos-sorted-column): Change default value, also taking tty into
56 account.
57 (todos-reset-done-separator): Fix faulty variable binding.
58 (todos-reset-and-enable-done-separator): Save match data; comment
59 out code that causes problems for Edebug.
60 (todos-item-start): Handle empty line between todo and done items
61 when done items are hidden.
62 (todos-read-date): Use a leap year for `*' to allow
63 calendar-last-day-of-month to return Feb. 29.
64 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
65 (todos-filtered-items-mode): Delete faulty parentheses.
66 (todos-quit): Save Todos and archive files unconditionally.
67 (todos-forward-item): Accept only positive prefix argument.
68 (todos-backward-item): Accept only positive prefix argument; don't
69 move point to beginning of buffer if it is on the first item.
70 (todos-hide-show-date-time): Remove obsolete interactive spec.
71 (todos-move-category): Improve prompt string; ensure file moved to
72 is different from file moved from.
73 (todos-merge-categories): Remove.
74 (todos-set-category-priority): New command.
75 (todos-raise-category-priority, todos-lower-category-priority):
76 Use it to define these commands.
77 (todos-set-item-priority): Rewrite and generalize.
78 (todos-raise-item-priority, todos-lower-item-priority): Use it to
79 define these commands.
80
d9be0d35
SB
812012-09-23 Stephen Berman <stephen.berman@gmx.net>
82
83 * calendar/todos.el (todos-reset-done-separator)
84 (todos-reset-and-enable-done-separator): New functions.
85 (todos-reset-done-separator-string): Rewrite using
86 todos-reset-done-separator for string longer than 1 character.
87 (todos-mode): Add todos-reset-and-enable-done-separator to
88 window-configuration-change-hook, replacing previous anonymous
89 function.
90 (todos-unload-hook): And remove it.
91
144faf47
SB
922012-09-23 Stephen Berman <stephen.berman@gmx.net>
93
94 * calendar/todos.el (todos-done-separator-string): New defcustom.
95 (todos-done-separator): New variable replacing defcustom of the
96 same name.
97 (todos-reset-done-separator-string, todos-done-separator):
98 New functions.
99 (todos-mode): Make function added to
100 window-configuration-change-hook do a better job of updating the
101 done items separator string overlay.
102 (todos-unload-hook): Remove it here.
103 (todos-item-undo): Fix search for item's end.
104
a820dfe8
SB
1052012-09-23 Stephen Berman <stephen.berman@gmx.net>
106
107 * calendar/todos.el: Further comment revision.
108 (todos-sorted-column): Change default value.
109 (todos-item-start): Handle empty category (needed in
110 todos-filter-items).
111 (todos-read-date): Don't use calendar-read; make code cleaner.
112 (todos-multiple-filter-files): Rename this variable from
113 todos-multiple-files and adjust users.
114 (todos-multiple-filter-files-widget): Rename from
115 todos-multiple-files-widget and adjust users.
116 (todos-multiple-filter-files): Rename this function from
117 todos-multiple-files and adjust callers.
118 (todos-filter-items): Remove unused code.
119 (todos-insert-category-line): Add space so highlighting of last
120 column is consistent with the others; adjust display of column
121 highlighting.
122 (todos-menu): Remove obsolete entry.
123 (todos-categories-mode-map): Add new bindings.
124 (todos-display-categories-alphabetically-or-by-priority): New command.
125 (todos-display-categories-sorted-by-todo)
126 (todos-display-categories-sorted-by-diary)
127 (todos-display-categories-sorted-by-done)
128 (todos-display-categories-sorted-by-archived): Restore and fix
129 implementation.
130
b28872ce
SB
1312012-09-23 Stephen Berman <stephen.berman@gmx.net>
132
133 * calendar/todos.el: Significant code rearrangement; further
134 comment revision.
135 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
136 adjust users.
137 (todos-filtered-buffer-name): Rename from
138 todos-special-buffer-name and adjust users.
139 (todos-filtered-items-mode-map): Rename from
140 todos-filter-items-mode-map and adjust users.
141 (todos-mode-external-set): Use todos-categories instead of
142 todos-set-categories (and add comment to check if this DTRT).
143 (todos-filtered-items-mode): Rename from todos-filter-items-mode
144 and adjust users.
145 (todos-add-category): Don't call todos-validate-name, since
146 todos-read-category does.
147 (todos-edit-quit): Use todos-repair-categories-sexp.
148 (todos-done-item-add-edit-or-delete-comment): Rename from
149 todos-done-item-add-or-edit-comment and adjust users; add optional
150 argument to prompt to delete comment.
151 (todos-item-undo): Delete done item comment on undoing if user
152 confirms.
153
abe748f5
SB
1542012-09-22 Stephen Berman <stephen.berman@gmx.net>
155
156 * calendar/todos.el: Further code rearrangement and comment
157 revision.
158 (todos-item-start): Handle empty line between todo and done items
159 when done items are displayed.
160 (todos-key-bindings): Comment out bindings meant only for
161 todos-archive-mode.
162 (todos-archive-mode-map): Fix typo.
163 (todos-archive-mode): Derive from special-mode instead of
164 todos-mode to prevent its key bindings from being available here.
165 (todos-archive-done-item): Remove obsolete code; fix item count
166 updating.
167 (todos-unarchive-items): Simplify; fix unarchiving of all items in
168 category; fix item count updating; fix typo.
169
6be04162
SB
1702012-09-22 Stephen Berman <stephen.berman@gmx.net>
171
172 * calendar/todos.el: Further code rearrangement and comment
173 revision.
174 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
175 (todos-file-buffers): New variable.
176 (todos-reset-global-current-todos-file): Use it to simplify
177 implementation of this function.
178 (todos-filtered): New defgroup.
179 (todos-filter-buffer, todos-top-priorities-buffer)
180 (todos-diary-items-buffer, todos-regexp-items-buffer)
181 (todos-priorities-rules, todos-show-priorities)
182 (todos-filter-files, todos-filter-done-items): Use it.
183 (todos-skip-archived-categories): Rename from
184 todos-ignore-archived-categories and adjust users.
185 (todos-display-as-todos-file): Rename from todos-after-find-file
186 and adjust callers.
187 (todos-reset-highlight-item, todos-mode-external-set)
188 (todos-jump-to-category, todos-jump-to-item)
189 (todos-raise-category-priority, todos-insert-item)
190 (todos-move-item): Use find-file-visiting.
191 (todos-make-categories-list): Use file-truename.
192 (todos-display-categories-1): Adjust title text for archive files;
193 use done label for item counts in archive files.
194 (todos-modes-set-3): Add todos-display-as-todos-file to
195 find-file-hook.
196 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
197 todos-update-buffer-list post-command-hook.
198 (todos-unload-hook): And remove them.
199 (todos-show): Only when interactively invoked from an archive,
200 switch to corresponding Todos file.
201 (todos-archive-done-item): Remove obsolete code; fix handling of
202 marked items; fix search for existing category; check whether
203 archive exists and write to file if not; improve display handling.
204
0833689a
SB
2052012-09-21 Stephen Berman <stephen.berman@gmx.net>
206
207 * calendar/todos.el: Further comment revision.
208 (todos-item-end): Replace use of command todos-forward-item by
209 regexp searches using internal variables.
210 (todos-raise-category-priority): Improve and comment.
211 (todos-insert-item): Fix insertion of empty time string.
212
7464f422
SB
2132012-09-21 Stephen Berman <stephen.berman@gmx.net>
214
215 * calendar/todos.el (todos-ignore-archived-categories):
216 Revert last change; remove :initialize and :set functions; change
217 use and change users accordingly.
218 (todos-reset-categories, todos-categories-full)
219 (todos-truncate-categories-list): Remove.
220 (todos-set-categories, todos-update-categories-sexp):
221 Use todos-categories instead of todos-categories-full; remove use
222 of todos-ignore-archived-categories and
223 todos-truncate-categories-list.
224 (todos-check-format, todos-repair-categories-sexp):
225 Use todos-categories instead of todos-categories-full.
226 (todos-read-category): Improve last change.
227 (todos-validate-name): Use completing-read.
228 (todos-categories-category-number): Rename from
229 todos-category-number and adjust users.
230 (todos-update-categories-display, todos-mode-external-set)
231 (todos-delete-category, todos-move-category, todos-merge-category)
232 (todos-unarchive-items): Remove use of todos-categories-full and
233 todos-ignore-archived-categories.
234 (todos-modes-set-3, todos-add-category): Remove use of
235 todos-categories-full.
236 (todos-edit-mode): Fix typo.
237 (todos-forward-category): Use todos-ignore-archived-categories.
238
4de20201
SB
2392012-09-21 Stephen Berman <stephen.berman@gmx.net>
240
241 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
242 (todos-ignore-archived-categories): Change default value.
243
459c6e93
SB
2442012-09-21 Stephen Berman <stephen.berman@gmx.net>
245
246 * calendar/todos.el: Further comment revision.
247 (todos-reset-global-current-todos-file):
248 Try to make this not slow down kill-buffer.
249 (todos-update-categories-sexp): Handle the case where there is no
250 categories sexp yet, i.e. after inserting the first item in the
251 file, so todos-display-categories works.
252 (todos-read-file-name): Improve implementation.
253 (todos-validate-name): Use variable todos-files.
254 (todos-category-number): New variable.
255 (todos-insert-category-line, todos-update-categories-display)
256 (todos-raise-category-priority): Use it.
257 (todos-add-file): Remove unused remnant code.
258
2a9e69d6
SB
2592012-09-21 Stephen Berman <stephen.berman@gmx.net>
260
261 * calendar/todos.el: Further comment revision.
262 (todos-set-item-top-priority): New command.
263 (todos-reset-global-current-todos-file):
264 Use todos-files-function instead of todos-files.
265 (todos-read-category): Add optional argument to test whether
266 caller adds new category; if so, don't prompt for new category and
267 don't restore original todos-categories list.
268 (todos-categories-mode-map): Update to renamed commands.
269 (todos-filter-items-mode-map): Add binding for new command.
270 (todos-mode): Fix typo.
271 (todos-show): If called from archive file, show corresponding
272 category in Todos file, if it exists.
273 (todos-jump-to-category): Remove code to add new category, since
274 todos-read-category can do that.
275 (todos-add-file): Remove obsolete code; visit new file in selected
276 window.
277 (todos-add-category): Simplify.
278 (todos-rename-category): Use force-mode-line-update instead of
279 setting mode-line-buffer-identification.
280 (todos-delete-category): Improve logic of prompts; use
281 todos-categories-full and check todos-ignore-archived-categories.
282 (todos-raise-category-priority, todos-lower-category-priority):
283 Rename from todos-{raise,lower}-category and adjust callers.
284 (todos-move-category, todos-merge-category):
285 Set todos-categories-full; on setting todos-categories check
286 todos-ignore-archived-categories.
287 (todos-insert-item): Let-bind use-empty-active-region and use
288 use-region-p instead of transient-mark-mode.
289 (todos-raise-item-priority): Improve implementation.
290 (todos-archive-done-item): Rename from
291 todos-archive-done-item-or-items and adjust callers; confine to
292 Todos mode.
293 (todos-unarchive-items): On setting todos-categories check
294 todos-ignore-archived-categories.
295
47011bed
SB
2962012-09-21 Stephen Berman <stephen.berman@gmx.net>
297
298 * calendar/todos.el (todos-key-bindings): Remove binding of
299 deleted command.
300 (todos-menu): Remove entry of deleted command.
301 (todos-show-archive): Fix last change.
302 (todos-done-item-add-or-edit-comment): Rename from
303 todos-comment-done-item and adjust callers; prompt to edit an
304 existing comment.
305
3af3cd0b
SB
3062012-09-21 Stephen Berman <stephen.berman@gmx.net>
307
2a9e69d6 308 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
309 todos-toggle-show-current-file and adjust callers.
310 (todos-number-priorities): Rename from todos-number-prefix and
311 adjust users.
312 (todos-update-count): Rename from todos-set-count and adjust
313 callers.
314 (todos-hide-show-item-numbering): Rename from
315 todos-toggle-item-numbering and adjust callers.
316 (todos-hide-show-done-items): Rename from
317 todos-toggle-view-done-items and adjust callers.
318 (todos-show-done-only): Rename from todos-toggle-show-done-only.
319 (todos-view-archived-items): Comment out.
320 (todos-show-archive): Prompt to choose another archive file if
321 current Todos file lacks an archive; prompt to visit archive
322 anyway when current category has no archived items.
323
78fe7289
SB
3242012-09-21 Stephen Berman <stephen.berman@gmx.net>
325
326 * calendar/todos.el: Further comment revision and code
327 rearrangement.
328 (todos-item-end): Revert last change.
329 (todos-key-bindings, todos-menu, todos-archive-mode-map)
330 (todos-filter-items-mode-map): Use renamed commands.
331 (todos-hide-show-date-time): Rename from
332 todos-toggle-display-date-time.
333 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
334 adjust caller.
335 (todos-backward-item): Exempt special handling only from
336 todos-regexp-items-buffer instead of todos-filter-items-mode.
337 (todos-raise-item-priority): Don't allow item reprioritizing in
338 Todos filter items mode except for top priority items.
339
520d912e
SB
3402012-09-21 Stephen Berman <stephen.berman@gmx.net>
341
342 * calendar/todos.el: Add and revise further doc strings and
343 comments.
344 (todos-filter-function, todos-custom-items)
345 (todos-custom-items-multifile): Remove.
346 (todos-filter-done-items): New defcustom.
347 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
348 (todos-filter-items): Check return value of caller first; tag
349 archived items for todos-jump-to-item; delete categories sexp
350 before processing filter; check todos-filter-done-items for
351 whether to leave done items; remove custom filter; fix regexp for
352 file and category tags; don't invoke buffer fontification.
353 (powerset-recursive): Fix typo.
354 (todos-key-bindings): Remove unused bindings.
355 (todos-top-priorities-multifile, todos-diary-items-multifile)
356 (todos-regexp-items-multifile): Use variable todos-multiple-files.
357 (todos-jump-to-item): Fix regexp; handle archive tags; take
358 todos-filter-done-items into account.
359 (todos-insert-item-from-calendar): Relocate to end of file
360 together with key-binding as addition to calendar.el.
361
0e89c3fc
SB
3622012-09-20 Stephen Berman <stephen.berman@gmx.net>
363
520d912e 364 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
365 comments; major code rearrangement.
366 (todos-merged-files, todos-prompt-merged-files)
367 (todos-print-priorities, todos-tmp-buffer-name)
368 (todos-top-priorities-widgets, todos-update-merged-files)
369 (todos-merged-top-priorities, todos-merged-diary-items)
370 (todos-merged-regexp-items, todos-merged-custom-items)
371 (todos-raw-mode, todos-change-default-file)
372 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
373 (todos-toggle-diary-nonmarking, todos-validate-category-name):
374 Remove.
375 (todos-category-string-matcher): Comment out.
376 (todos-categories): New defgroup.
377 (todos-initial-file, todos-filter-buffer)
378 (todos-top-priorities-buffer, todos-categories-category-label)
379 (todos-diary-items-buffer, todos-regexp-items-buffer)
380 (todos-custom-items-buffer, todos-filter-files)
381 (todos-highlight-item, todos-todo-mode-date-time-regexp):
382 New defcustoms.
383 (todos-diary-expired): New face.
384 (todos-print-buffer, todos-multiple-files)
385 (todos-multiple-files-widget, todos-key-bindings): New variables.
386 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
387 (todos-special-buffer-name)
388 (todos-reevaluate-filter-files-defcustom)
389 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
390 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
391 (todos-diary-expired-matcher, todos-category-string-matcher-1)
392 (todos-category-string-matcher-2, todos-repair-categories-sexp)
393 (todos-validate-name, todos-multiple-files)
394 (todos-display-categories-1, todos-update-categories-display)
395 (todos-modes-set-3, todos-mode-external-set): New functions.
396 (todos-set-top-priorities-in-file)
397 (todos-set-top-priorities-in-category)
398 (todos-top-priorities-multifile, todos-diary-items-multifile)
399 (todos-regexp-items-multifile, todos-custom-items-multifile)
400 (todos-convert-legacy-files, todos-jump-to-item)
401 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
402 (todos-edit-item-diary-inclusion)
403 (todos-edit-category-diary-inclusion)
404 (todos-edit-item-diary-nonmarking)
405 (todos-edit-category-diary-nonmarking): New commands.
406 (todos, todos-faces): Update :version.
407 (todos-done-separator, todos-completion-ignore-case):
408 Change default value.
409 (todos-done-separator): Change :set function.
410 (todos-indent-to-here): Add :validate function to :type.
411 (todos-prefix-string, todos-mark, todos-button)
412 (todos-sorted-column, todos-archived-only, todos-search)
413 (todos-done, todos-done-sep): Provide full face definitions
414 instead of inheriting.
415 (todos-edit-buffer, todos-categories-buffer): Change from
416 defcustom to defvar.
417 (todos-category-beg, todos-category-done): Change from defvar to
418 defconst.
419 (todos-files): Check if todos-files-directory exists.
420 (todos-default-todos-file, todos-mode-line-control, todos-print):
421 Use todos-short-file-name.
422 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
423 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
424 todos-category-string-matcher-2, todos-diary-expired-matcher.
425 (todos-category-select): Use todos-done-string-start, and
426 condition search on todos-show-with-done; don't make display
427 overlay for done items separator string if there already is one;
428 use todos-highlight-item, require hl-line and activate
429 hl-line-mode here in order to avoid a hang if done in todos-mode
430 or the mode hook.
431 (todos-update-categories-sexp): Use todos-categories-full if set,
432 otherwise todos-categories.
433 (todos-make-categories-list): Don't test for archive file when
434 processing a legacy todo-mode file.
435 (todos-check-format): Add check for todos-categories sexp.
436 (todos-diary-item-p): Use todos-nondiary-start instead of
437 todos-date-pattern.
438 (todos-marked-item-p): Rename from todos-item-marked-p.
439 (todos-read-file-name): Don't accept empty name; validate.
440 (todos-read-category): Validate new name before prompting whether
441 to add new category; force quit if user answers no.
442 (todos-filter-items): Improve implementation.
443 (todos-set-top-priorities): Rewrite as a noninteractive function
444 using minibuffer input instead of widgets.
445 (todos-insert-sort-button): Call todos-display-sorted with
446 argument nil to display categories in numerical order, instead of
447 calling todos-display-categories.
448 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
449 Common Lisp powerset function at
450 http://rosettacode.org/wiki/Power_set#Common_Lisp.
451 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
452 powerset function at http://rosettacode.org/wiki/Power_set#C.
453 (todos-powerset): Defalias to powerset-bitwise.
454 (todos-mode-map): Generate from todos-key-bindings instead of
455 listing each key definition.
456 (todos-categories-mode-map): Add two bindings.
457 (todos-filter-items-mode-map): Add some bindings, remove others.
458 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
459 function setting todos-done-separator to
460 window-configuration-change-hook.
461 (todos-unload-hook): Remove function setting todos-done-separator
462 from window-configuration-change-hook.
463 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
464 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
465 (todos-categories-mode): Derive from special-mode; use
466 todos-mode-external-set.
467 (todos-filter-items-mode): Derive from special-mode.
468 (todos-quit): Save archive file if it hasn't yet been saved.
469 (todos-display-categories): Delegate all functionality to
470 todos-display-categories-1 and todos-update-categories-display.
471 (todos-toggle-view-done-items): Improve implementation.
472 (todos-highlight-item): Require hl-line.
473 (todos-toggle-display-date-time): Remove argument and make it
474 apply only to whole file.
475 (todos-top-priorities, todos-diary-items, todos-regexp-items)
476 (todos-custom-items): Use todos-special-buffer-name.
477 (todos-add-file): Use todos-short-file-name and
478 todos-reevaluate-defcustoms; remove validation, since it's now
479 done in todos-read-file-name.
480 (todos-add-category): Also update todos-categories-full if non-nil.
481 (todos-delete-category): Delete file after confirmation if only
482 category is deleted.
483 (todos-move-category): Use todos-short-file-name and
484 todos-reevaluate-defcustoms.
485 (todos-insert-item): Fix getting date from the calendar and
486 insertion of time string.
487 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
488 display of diary entries.
489 (todos-edit-multiline): Add optional argument to restrict editing
490 buffer to current item, otherwise make entire buffer (i.e. whole
491 file) editable.
492 (todos-edit-quit): When whole file is editable, check file format
493 validity before killing buffer, and if valid, recalculate
494 categories sexp to be safe.
495 (todos-edit-item-header): Allow choosing date from calendar.
496 (todos-item-done): Handle marked items.
497
697bd4a3
SB
4982012-09-19 Stephen Berman <stephen.berman@gmx.net>
499
500 * calendar/todos.el (todos-item-start): Restore commented out code
501 to prevent wrongly moving point in widened buffer.
502
58c7641d
SB
5032012-09-19 Stephen Berman <stephen.berman@gmx.net>
504
505 * calendar/todos.el: Remove old commentary from todo-mode.el; add
506 and revise further doc strings and comments; require cl.el at
507 compile time for remove-duplicates; use function powerset from
508 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
509 code rearrangement. Add adapted version of diary-goto-entry as comment.
510 (todos-file-top, todos-archived-categories-buffer)
511 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
512 (todos-save-top-priorities, todos-reset-separator)
513 (todos-switch-todos-file, todos-item-string-start, todos-counts)
514 (todos-string-count-lines, todos-string-multiline-p)
515 (todos-display-categories-alphabetically): Remove.
516 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
517 (todos-insert-item-ask-date-time-for-diary)
518 (todos-insert-item-ask-date-time-for-diary-here)
519 (todos-insert-item-ask-date-time-here)
520 (todos-insert-item-ask-date-maybe-notime)
521 (todos-insert-item-ask-date-maybe-notime-for-diary)
522 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
523 (todos-insert-item-ask-date-maybe-notime-here)
524 (todos-insert-item-ask-date-for-diary)
525 (todos-insert-item-ask-date-for-diary-here)
526 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
527 (todos-insert-item-ask-dayname-time)
528 (todos-insert-item-ask-dayname-time-for-diary)
529 (todos-insert-item-ask-dayname-time-for-diary-here)
530 (todos-insert-item-ask-dayname-time-here)
531 (todos-insert-item-ask-dayname-maybe-notime)
532 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
533 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
534 (todos-insert-item-ask-dayname-maybe-notime-here)
535 (todos-insert-item-ask-dayname-for-diary)
536 (todos-insert-item-ask-dayname-for-diary-here)
537 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
538 (todos-insert-item-ask-time-for-diary)
539 (todos-insert-item-ask-time-for-diary-here)
540 (todos-insert-item-ask-time-here)
541 (todos-insert-item-maybe-notime)
542 (todos-insert-item-maybe-notime-for-diary)
543 (todos-insert-item-maybe-notime-for-diary-here)
544 (todos-insert-item-maybe-notime-here)
545 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
546 (todos-insert-item-here): Remove; all of these are now generated
547 on loading (some with the same name, most with other names.)
548 (todos-item-counts, todos-display-categories-alphabetically)
549 (todos-display-categories-sorted-by-todo)
550 (todos-display-categories-sorted-by-diary)
551 (todos-display-categories-sorted-by-done)
552 (todos-display-categories-sorted-by-archived): Comment out.
553 (todos-comment-string, todos-mode-line-function)
554 (todos-filter-function, todos-priorities-rules)
555 (todos-visit-files-commands, todos-categories-totals-label)
556 (todos-use-only-highlighted-region, todos-diary-nonmarking):
557 New defcustoms.
558 (todos-mark, todos-comment): New faces.
559 (todos-comment-face): Corresponding new variable.
560 (todos-categories-full, todos-global-current-todos-file)
561 (todos-first-visit, todos-insertion-commands-args-genlist)
562 (todos-insertion-commands-args, todos-insertion-commands-names)
563 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
564 (todos-top-priorities-widgets, todos-date-from-calendar)
565 (todos-item-mark, todos-categories-with-marks): New variables.
566 (todos-mode-line-control, todos-reset-global-current-todos-file)
567 (todos-gen-arglists, todos-insertion-command-name)
568 (todos-insertion-key-bindings, todos-unload-hook)
569 (todos-filter-items, todos-set-date-from-calendar)
570 (todos-comment-string-matcher, todos-after-find-file)
571 (todos-reset-nondiary-marker, todos-reset-done-string)
572 (todos-reset-comment-string, todos-show-current-file)
573 (todos-item-marked-p, todos-total-item-counts): New functions.
574 (todos-define-insertion-command): New macro.
575 (todos-toggle-mark-item, todos-mark-category)
576 (todos-unmark-category, todos-set-top-priorities)
577 (todos-merged-diary-items, todos-regexp-items)
578 (todos-merged-regexp-items, todos-custom-items)
579 (todos-merged-custom-items, todos-comment-done-item)
580 (todos-archive-category-done-items, todos-unarchive-items)
581 (todos-print-to-file): New commands.
582 (todos-done-separator): Change :set function.
583 (todos-done-string): Uncomment :initialize and :set functions.
584 (todos-files): Use file-truename.
585 (todos-show-current-file): Rename from
586 todos-auto-switch-todos-file and change :set function accordingly.
587 (todos-font-lock-keywords): Use todos-comment-string-matcher;
588 change names of other matcher functions to new *-matcher.
589 (todos-category-number): Change initial value.
590 (todos-insertion-map): Use todos-insertion-key-bindings to
591 generate key definitions.
592 (todos-mode-map): Don't suppress digit keys, so they can supply
593 prefix arguments; add new and change some existing bindings.
594 (todos-archive-mode-map): Change a key binding.
595 (todos-categories-mode-map): Comment out a key binding.
596 (todos-filter-items-mode-map): Rename from
597 todos-top-priorities-mode-map.
598 (todos-mode): Make todos-current-todos-file,
599 todos-categories-full, todos-categories, todos-first-visit,
600 todos-category-number, todos-show-done-only,
601 todos-categories-with-marks local variables and set them; add
602 todos-show-current-file to pre-command-hook, todos-after-find-file
603 to post-command-hook and todos-reset-global-current-todos-file to
604 kill-buffer-hook.
605 (todos-archive-mode): Make todos-current-todos-file,
606 todos-categories and todos-category-number local variables and set
607 them; add todos-after-find-file to post-command-hook.
608 (todos-raw-mode): New derived major mode.
609 (todos-categories-mode): Don't set font-lock-defaults and
610 buffer-read-only; make todos-current-todos-file and
611 todos-categories local variables and set them.
612 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
613 (todos-quit): Don't reset todos-categories on quitting
614 todos-categories-mode; handle quitting todos-filter-items-mode.
615 (todos-show): Simplify; when visiting an archive file switch to
616 corresponding Todos file; use todos-first-visit.
617 (todos-view-archived-items): Simplify; call todos-category-number.
618 (todos-show-archive): Rename from todos-switch-to-archive and
619 adjust callers; simplify.
620 (todos-toggle-display-date-time): Add optional argument to toggle
621 display in entire file.
622 (todos-top-priorities): Use todos-filter-items, which now contains
623 the previous core of this command.
624 (todos-merged-top-priorities, todos-diary-items):
625 Use todos-filter-items.
626 (todos-forward-category): Add optional argument to go to the
627 previous category.
628 (todos-backward-category): Use todos-forward-category.
629 (todos-jump-to-category): Refine implementation.
630 (todos-forward-item, todos-backward-item): Fix movement from todo
631 to done item and vice versa.
632 (todos-add-file): Remove argument and simplify.
633 (todos-rename-category): Use todos-current-todos-file and
634 todos-mode-line-function; set todos-categories with
635 todos-set-categories.
636 (todos-delete-category): Ask what to do if category has archived items.
637 (todos-raise-category): Ensure modified todos-categories is added
638 to file's categories sexp.
639 (todos-move-category): Improve implementation, especially handling
640 of archived categories.
641 (todos-merge-category): Tweak; set item counts.
642 (todos-insert-item): Improve handling of various argument values;
643 add new argument values to control marking of diary items and to
644 use region for item body.
645 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
646 (todos-delete-item, todos-edit-item-header): Handle marked items.
647 (todos-edit-item): Incorporate functionality of removed
648 todos-string-multiline-p.
649 (todos-edit-multiline): Use set-window-buffer instead of
650 switch-to-buffer.
651 (todos-edit-quit): Don't save on quitting; use todos-show instead
652 of todos-category-select.
653 (todos-raise-item-priority): Add argument to lower priority;
654 improve handling of top priority items in todos-filter-items-mode;
655 restore marks.
656 (todos-lower-item-priority): Use todos-raise-item-priority.
657 (todos-set-item-priority): Increment maximum number if item is new.
658 (todos-move-item): Handle marked items; delay changing category
659 moved from till after movement to avoid restoring if user cancels
660 before insertion.
661 (todos-item-done): Add optional argument to insert comment; fix
662 item counts and update sexp.
663 (todos-item-undo): Fix item counts and update.
664 (todos-archive-done-item-or-items): Rename from
665 todos-archive-done-items; add optional argument to archive all
666 items in category; handle marked items.
667 (todos-unarchive-category): Use todos-unarchive-items.
668 (todos-toggle-diary-inclusion): Incorporate functionality of
669 removed todos-toggle-item-diary-inclusion; handle marked items.
670 (todos-print): Add optional argument to print to file.
671 (todos-done-string-start): Don't use todos-nondiary-start.
672 (todos-date-string-matcher, todos-time-string-matcher)
673 (todos-done-string-matcher, todos-category-string-matcher): Rename
674 from *-match and adjust callers.
675 (todos-wrap-and-indent): Use set instead of setq for local variables.
676 (todos-prefix-overlays): Improve overlay handling.
677 (todos-reset-categories): Fix and complete implementation.
678 (todos-toggle-show-current-file): Rename from
679 todos-toggle-switch-todos-file-noninteractively.
680 (todos-category-select): Use todos-mode-line-function.
681 (todos-item-start): Comment out code used by removed function.
682 (todos-remove-item): Handle presence of both prefix/number and
683 mark overlays.
684 (todos-get-count): Simplify.
685 (todos-set-count): Change argument list and adjust callers; simplify.
686 (todos-set-categories): Handle new archive files; use
687 todos-categories-full and todos-ignore-archived-categories.
688 (todos-truncate-categories-list): Use todos-categories-full.
689 (todos-update-categories-sexp): Use kill-region instead of
690 kill-line; use todos-categories-full.
691 (todos-read-file-name): Add argument to require existing file and
692 adjust callers; use file-truename.
693 (todos-read-category): Remove argument to require existing
694 category and delegate it to completing-read in function body.
695 (todos-validate-category-name): Make empty string prompt only for
696 initial category name.
697 (todos-read-date): Use = instead of eq for testing if month = 13,
698 and if it is, set monthname to *.
699 (todos-display-categories): Use todos-global-current-todos-file;
700 use set-window-buffer instead of switch-to-buffer; add a line
701 showing item count totals.
702 (todos-padded-string): Use the longest of category name or label.
703 (todos-descending-counts): Rename from
704 todos-descending-counts-store and adjust users.
705 (todos-insert-category-line): Adjust format; use mapconcat; kill
706 buffer after jumping to category.
707
d04d6b95
SB
7082012-09-18 Stephen Berman <stephen.berman@gmx.net>
709
710 * calendar/todos.el Add and revise various doc strings, remove
711 further commented out code; add further comments; further code
712 rearrangement.
713 (todos-file-do, todos-archive-file, todos-mode-hook)
714 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
715 (todos-view-archive, todos-search-string)
716 (todos-jump-to-category-noninteractively, todos-initial-setup):
717 Remove.
718 (todos-files): Remove this defcustom.
719 (todos-initial-category, todos-display-categories-first)
720 (todos-auto-switch-todos-file, todos-default-todos-file)
721 (todos-categories-category-label, todos-categories-todo-label)
722 (todos-categories-diary-label, todos-categories-done-label)
723 (todos-categories-archived-label)
724 (todos-categories-number-separator, todos-categories-align)
725 (todos-ignore-archived-categories, todos-nondiary-marker):
726 New defcustoms.
727 (todos-prefix, todos-done-separator, todos-file-top)
728 (todos-categories-buffer, todos-archived-categories-buffer)
729 (todos-edit-buffer, todos-always-add-time-string, todos-button):
730 Change default value.
731 (todos-done-string): Add todos-reset-done-string as :set function,
732 but keep this commented out.
733 (todos-files, todos-archives, todos-insertion-map)
734 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
735 (todos-show-done-only, todos-date-string-start)
736 (todos-done-string-start): New variables.
737 (todos-files-directory, todos-files-function, todos-merged-files)
738 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
739 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
740 (todos-toggle-switch-todos-file-noninteractively)
741 (todos-switch-todos-file, todos-counts, todos-get-count)
742 (todos-set-count, todos-set-categories)
743 (todos-truncate-categories-list, todos-update-categories-sexp)
744 (todos-read-file-name, todos-sort, todos-display-sorted)
745 (todos-label-to-key, todos-insert-sort-button): New functions.
746 (todos-display-categories-sorted-by-todo)
747 (todos-display-categories-sorted-by-diary)
748 (todos-display-categories-sorted-by-done)
749 (todos-display-categories-sorted-by-archived)
750 (todos-update-merged-files, todos-switch-to-archive)
751 (todos-choose-archive, todos-merged-top-priorities)
752 (todos-jump-to-category-other-file, todos-clear-matches)
753 (todos-add-file, todos-change-default-file, todos-move-category)
754 (todos-merge-category, todos-merge-categories)
755 (todos-edit-item-time, todos-move-item-to-file)
756 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
757 (todos-toggle-diary-nonmarking): New commands.
758 (todos-toggle-show-done-only): New command replacing todos-view-archive.
759 (todos-faces): New defgroup; use in all face definitions.
760 (todos-sorted-column, todos-archived-only, todos-search): New faces.
761 (todos-font-lock-keywords): Use subexpression 1 with matcher
762 todos-category-string-match.
763 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
764 (todos-categories-mode-map): Add new key bindings; change some
765 existing bindings.
766 (todos-top-priorities-mode-map): New keymap.
767 (todos-menu): Add submenues and new entries.
768 (auto-mode-alist): Add extension of Todos and Todos archive files.
769 (todos-mode, todos-archive-mode): Make derived mode; use
770 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
771 and todos-switch-todos-file; make todos-show-done-only local
772 variable.
773 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
774 (todos-categories-mode): Make derived mode.
775 (todos-top-priorities-mode): New derived major mode.
776 (todos-save): Remove unused code.
777 (todos-quit): Handle todos-categories-mode; save archive buffer.
778 (todos-show): Add optional argument to prompt for a Todos file; if
779 called interactively or with prefix arg or from an archive, don't
780 make a no-op but reset todos-current-todos-file, todos-categories
781 and todos-category-number; use todos-read-file-name,
782 todos-display-categories-first, todos-ignore-archived-categories.
783 (todos-display-categories): Change argument name; refactor code
784 for inserting table labels and lines, using
785 todos-ignore-archived-categories, todos-sort,
786 todos-categories-number-separator, todos-insert-sort-button,
787 todos-categories-*-labels, and todos-insert-category-line.
788 (todos-display-categories-alphabetically): Use todos-display-sorted.
789 (todos-toggle-view-done-items): Use todos-done-string-start and
790 todos-get-count.
791 (todos-toggle-display-date-time): Use todos-done-string-start.
792 (todos-top-priorities): Remove autoload cookie; partially rewrite:
793 new argument list; allow combining top priorities of multiple
794 Todos files; change display to include category (and file) name as
795 part of item header; use todos-top-priorities-mode.
796 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 797 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
798 1-based numbering of categories; move point to top of category.
799 (todos-jump-to-category): Rewrite, adding optional arguments to
800 provide a category in non-interactive uses and to prompt for which
801 Todos file to jump to.
802 (todos-search): Reimplement; highlight each match as found, say
803 how many matches remain and prompt whether to go to next one; at
804 end of search prompt whether to remove highlighting.
805 (todos-add-category): Remove autoload cookie; assign new category
806 the highest category number; associate zero-initialized vector of
807 item counts, instead of property list, with new category; use
808 todos-validate-category-name and todos-update-categories-sexp.
809 (todos-rename-category): Use todos-validate-category-name and
810 todos-update-categories-sexp; take archive files into account.
811 (todos-delete-category): Use todos-get-count and
812 todos-update-categories-sexp, let-bind variable that were
813 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
814 adjust to 1-based numbering of categories; move point to top of
815 category.
d04d6b95
SB
816 (todos-raise-category): Handle item count vectors; use
817 todos-insert-category-line and todos-update-categories-sexp.
818 (todos-insert-item): Use nil time-string argument to omit time
819 string; use todos-nondiary-start and todos-nondiary-end and
820 todos-update-categories-sexp; if category named to insert into
821 does not exist, add it; take new diary items into account.
822 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
823 (todos-insert-item-ask-date-time-for-diary)
824 (todos-insert-item-ask-date-time-for-diary-here)
825 (todos-insert-item-ask-date-time-here)
826 (todos-insert-item-ask-date-maybe-notime)
827 (todos-insert-item-ask-date-maybe-notime-for-diary)
828 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
829 (todos-insert-item-ask-date-maybe-notime-here)
830 (todos-insert-item-ask-date-for-diary)
831 (todos-insert-item-ask-date-for-diary-here)
832 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
833 (todos-insert-item-ask-dayname-time)
834 (todos-insert-item-ask-dayname-time-for-diary)
835 (todos-insert-item-ask-dayname-time-for-diary-here)
836 (todos-insert-item-ask-dayname-time-here)
837 (todos-insert-item-ask-dayname-maybe-notime)
838 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
839 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
840 (todos-insert-item-ask-dayname-maybe-notime-here)
841 (todos-insert-item-ask-dayname-for-diary)
842 (todos-insert-item-ask-dayname-for-diary-here)
843 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
844 (todos-insert-item-ask-time-for-diary)
845 (todos-insert-item-ask-time-for-diary-here)
846 (todos-insert-item-ask-time-here)
847 (todos-insert-item-maybe-notime)
848 (todos-insert-item-maybe-notime-for-diary)
849 (todos-insert-item-maybe-notime-for-diary-here)
850 (todos-insert-item-maybe-notime-here)
851 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
852 New insertion commands.
853 (todos-insert-item-from-calendar): Use todos-current-todos-file.
854 (todos-delete-item): Handle diary items;
855 use todos-update-categories-sexp.
856 (todos-edit-item): Check if point is with item string;
857 use read-string instead of read-from-minibuffer;
858 use todos-date-string-start; after editing put point at start of
859 item text.
860 (todos-edit-multiline): Narrow to item before invoking
861 todos-edit-mode; show key binding of todos-edit-quit in a message.
862 (todos-edit-quit): Use todos-save; kill buffer.
863 (todos-edit-item-header): Add optional argument to prompt for
864 editing only date string or only time string;
865 use todos-date-string-start.
866 (todos-edit-item-date, todos-edit-item-date-is-today)
867 (todos-raise-item-priority, todos-lower-item-priority): Rename
868 from todos-{raise, lower}-item and make them DTRT in
869 todos-top-priorities-mode.
870 (todos-set-item-priority): Make interactive; use todos-get-count
871 and todos-insert-with-overlays; interactively, just relocate the
872 item within its category.
873 (todos-move-item): Add optional argument to prompt for a category
874 in another Todos file; handle diary items; fix restoration after
875 cancelling before inserting.
876 (todos-item-done): Handle diary items; simplify handling of
877 insertion in done items section.
878 (todos-item-undo): Handle diary items.
58c7641d 879 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
880 files (in parallel with Todos files); handle diary items; use
881 todos-done-string-start.
882 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
883 todos-nondiary-end and todos-item-counts.
884 (todos-toggle-diary-inclusion): Use todos-category-done instead of
885 todos-category-end.
886 (todos-print): Remove autoload cookie; rewrite to make overlays,
887 line wrapping and wrap prefixes printable.
888 (todos-date-pattern): Make parenthesized groups shy.
889 (todos-date-string-match): Use todos-date-string-start; make
890 todos-date-pattern an explicitly numbered group.
891 (todos-time-string-match): Use todos-date-string-start.
892 (todos-done-string-match): Use todos-done-string-start.
893 (todos-category-string-match): Rewrite to match new category and
894 category+filename patterns in todos-top-priorities-mode.
895 (todos-prefix-overlays): Use todos-done-string-start and
896 todos-category-done.
897 (todos-reset-prefix): Handle archive files; restore point after
898 changing prefix.
899 (todos-reset-separator): Handle archive files.
900 (todos-category-number): Make category number one more than its
901 list index.
58c7641d 902 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
903 (todos-category-select): Simplify handling of done items and done
904 separator string overlay.
905 (todos-item-start): Use todos-date-string-start and
906 todos-done-string-start.
907 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
908 (todos-item-string): Restore point after getting item bounds; use
909 buffer-substring-no-properties.
910 (todos-done-item-p): Use todos-done-string-start.
911 (todos-make-categories-list): Add optional argument to force
912 looping through file to get categories and their item counts,
913 otherwise set todos-categories from sexp in first line; use
914 vectors of item counts instead of plists; count diary items.
915 (todos-item-counts): Use todos-counts, todos-set-counts,
916 todos-get-counts, and todos-update-categories-sexp instead of
917 getting and setting properties; handle diary items.
918 (todos-read-category): Add argument to set prompt; don't offer
919 default category.
920 (todos-validate-category-name): Rename from
921 todos-check-category-name; take into account whether there are
922 already categories or not.
923 (todos-read-date): Accept `*' as an unspecified month, day, or year.
924 (todos-padded-string): Accommodate new structure of
925 todos-categories as alists; use todos-categories-align.
926 (todos-descending-counts-store): New variable.
927 (todos-insert-category-line): Rename from
928 todos-insert-category-name and reimplement using labels and
929 todos-get-counts instead of properties; use
930 todos-ignore-archived-categories; highlight sorted column.
931
f730d273
SB
9322012-09-14 Stephen Berman <stephen.berman@gmx.net>
933
934 * calendar/todos.el Remove lots of commented out code; add various
935 comments; further code rearrangement.
936 (todos-insert-item-here-ask-date-time)
937 (todos-insert-item-ask-date-time)
938 (todos-insert-item-ask-dayname-time)
939 (todos-insert-item-for-diary)
940 (todos-insert-item-for-diary-ask-date-time)
941 (todos-make-categories-alist, todos-categories-alist): Remove.
942 (todos-categories-list): Comment out.
943 (todos-make-categories-list): New function replacing
944 todos-make-categories-alist, using category plists to get item
945 counts and taking archive into account.
946 (todos-current-todos-file): New variable.
947 (todos-mode-map): Update key bindings.
948 (todos-save): Add as comment code to make sure todos-categories
949 sexp is current on saving.
950 (todos-quit): Call todos-show on quitting Todos archive buffer.
951 (todos-show): If todos-current-todos-file is not set to Todos
952 file, set it as a new file; set todos-categories from
953 todos-make-categories-alist.
954 (todos-display-categories): Use a different display format for
955 archive file; put point initially on the first button.
956 (todos-toggle-view-done-items): Check the category's `done'
957 property to determine if there are done items.
958 (todos-view-archive): Set todos-current-todos-file to the archive
959 file; jump from the Todos file to the same category in the
960 archive, if it exists, else jump to the first category; use
961 message instead of error.
962 (todos-add-category): Intern a special symbol for the new category
963 and set its property list to holds counts of the numbers of todo,
964 done and archived items in the category; assign the new category
965 the current highest category number.
966 (todos-rename-category): Don't use todos-categories-alist.
967 (todos-delete-category): Check the category's `todo' and `done'
968 properties to determine if it is empty; ensure that the end of the
969 last category is found; after deleting the category, empty its
970 plist and unintern its special symbol.
971 (todos-insert-item-here): Fix argument list of todos-insert-item.
972 (todos-delete-item, todos-raise-item, todos-lower-item):
973 Use message instead of error.
974 (todos-move-item): If the category to be moved to does not exist,
975 add it as a new category.
976 (todos-item-done, todos-reset-separator):
977 Use todos-category-select instead of todos-show.
978 (todos-archive-done-items): Make buffer writeable; conditionalize
979 search for end of category; save after adding to archive in case
980 the file is new, so it can be found.
981 (todos-category-select): Wrap search in if instead of or+and;
982 don't hide done items in an archive.
983 (todos-set-item-priority): Check the category's `todo'
984 property to determine if there are not done todo items.
985 (todos-jump-to-category-noninteractively): Just switch to buffer
986 visiting todos-current-todos-file, since this can be either a
987 Todos file or an archive.
988 (todos-item-counts): Use category's plist instead of an alist.
989 (todos-longest-category-name-length): Argument is now a list of
990 category names, not an alist, so just test each element, not each
991 element's the car.
992 (todos-padded-string): Use todos-categories instead of
993 todos-categories-alist.
994 (todos-insert-category-name): Use category plist to get item
995 counts; take archived items into account.
996
ee7412e4
SB
9972012-09-13 Stephen Berman <stephen.berman@gmx.net>
998
999 * calendar/todos.el: Numerous spelling and comment fixes, doc
1000 string fixes to conform with checkdoc, further rearrangement of
1001 definitions, etc.
1002 (todos-previous-line, todos-previous-answer)
1003 (todos-insert-item-ask-date, todos-change-date)
1004 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1005 (todos-count-items-in-category, todos-count-all-items): Remove.
1006 (todos-update-numbered-prefix, todos-item-start-overlays)
1007 (todos-add-item-non-interactively): Comment out, also in uses.
1008 (todos-done-separator): Change default value.
1009 (todos-always-add-time-string): Rename from todos-add-time-string
1010 and adjust uses.
1011 (todos-read-category): Rename from todos-completing-read and
1012 adjust callers; use todos-current-category.
1013 (todos-make-categories-alist): Rename from function
1014 todos-categories-alist.
1015 (todos-categories-alist): New variable.
1016 (todos-indent-to-here): New defcustom.
1017 (todos-button): New face.
1018 (todos-display-categories-alphabetically, todos-raise-category)
1019 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1020 (todos-insert-item-here-ask-date-time)
1021 (todos-insert-item-ask-date-time)
1022 (todos-insert-item-ask-dayname-time): New commands.
1023 (todos-edit-item-header): New command replacing todos-change-date.
1024 (todos-category-number, todos-indent, todos-item-counts)
1025 (todos-check-category-name, todos-read-date, todos-read-dayname)
1026 (todos-read-time, todos-padded-string)
1027 (todos-insert-category-name): New functions.
1028 (todos-set-item-priority): New function replacing
1029 todos-add-item-non-interactively.
1030 (todos-mode-map): Remap newline to newline-and-indent.
1031 (todos-edit-mode-map): Make sparse keymap; remap newline to
1032 newline-and-indent.
1033 (todos-categories-mode-map): New keymap.
1034 (todos-mode, todos-edit-mode): Make indent-line-function local
1035 variable and set to todos-indent.
1036 (todos-categories-mode): New major mode.
1037 (todos-display-categories): List categories initially in their
1038 numerical order; add optional argument to switch to alphabetical
1039 listing.
1040 (todos-toggle-view-done-items): Simplify implementation.
1041 (todos-toggle-display-date-time): Fix regexp search string.
1042 (todos-backward-item, todos-forward-item): Use variable
1043 todos-item-start.
1044 (todos-add-category): Use todos-check-category-name and
1045 todos-categories-alist.
1046 (todos-rename-category): Use todos-current-category,
1047 todos-check-category-name and todos-categories-alist.
1048 (todos-delete-category): Use todos-check-category-name and
1049 todos-categories-alist and take done items into account.
1050 (todos-insert-item): Use separate arguments to handle insertion of
1051 date/dayname and time strings, add new argument to mark item for
1052 diary inclusion, use new todos-read-* functions,
1053 todos-set-item-priority and todos-item-counts.
1054 (todos-insert-item-here, todos-insert-item-for-diary)
1055 (todos-insert-item-from-calendar): Adapt to new version of
1056 todos-insert-item.
1057 (todos-delete-item, todos-item-done): Use todos-item-counts.
1058 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1059 char follows.
1060 (todos-lower-item): Ensure only not-done items can be lowered.
1061 (todos-move-item): Use todos-current-category, todos-read-category
1062 and todos-item-counts.
1063 (todos-archive-done-items): Use todos-current-category and
1064 todos-item-counts; fix regexp search string.
1065 (todos-item-undo): Use todos-current-category,
1066 todos-set-item-priority, todos-insert-with-overlays and
1067 todos-item-counts; restore if user quits before inserting undone
1068 item.
1069 (todos-date-pattern): Rewrite without using
1070 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1071 (todos-date-string-match): Do not make todos-date-pattern an
1072 unnumbered group.
1073 (todos-time-string-match): Make todos-date-pattern a shy group.
1074 (todos-wrap-and-indent): Use todos-indent-to-here.
1075 (todos-reset-prefix): Revert to using todos-show instead of
1076 todos-category-select.
1077 (todos-prefix-overlays): Fix numbering of done items and updating
1078 of prefix.
1079 (todos-category-select): Use todos-current-category; fix display
1080 of separator string; don't move point to top of category.
1081 (todos-jump-to-category-noninteractively): Use todos-category-number.
1082 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1083 (todos-item-start): New variable.
1084 (todos-item-start): Use it to define this function.
1085 (todos-item-end): Adjust if item is last unfinished one before
1086 displayed done items.
1087 (todos-remove-item): Use todos-item-start and todos-item-end
1088 instead of todos-forward-item and todos-backward-item.
1089 (todos-longest-category-name-length): Add argument for list of
1090 categories.
1091
2c173503
SB
10922012-09-13 Stephen Berman <stephen.berman@gmx.net>
1093
1094 * calendar/todos.el: Comment out calendar require, since diary-lib
1095 requires calendar. Rearrange file to group definitions according
1096 to their use (types of commands, internal functions, etc.)
1097 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1098 (todos-date-string, todos-time-string, todos-check-overlay)
1099 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1100 Comment out.
1101 (todos-current-date, todos-item-end-overlays)
1102 (todos-list-categories): Remove.
1103 (todos-item-end): Remove (the variable, not the function).
ee7412e4 1104 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 1105 callers.
2c173503
SB
1106 (todos-done-separator, todos-done-string, todos-show-with-done)
1107 (todos-files, todos-archive-file, todos-categories-buffer)
1108 (todos-archived-categories-buffer, todos-wrap-lines)
1109 (todos-line-wrapping-function): New defcustoms.
1110 (todos-done, todos-done-sep): New faces.
1111 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1112 (todos-search-string, todos-date-nodayname-pattern)
1113 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1114 (todos-done-string-match, todos-category-string-match)
1115 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1116 (todos-current-category, todos-count-items-in-category)
1117 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1118 (todos-longest-category-name-length): New functions.
1119 (todos-categories-list): New buffer-specific function replacing
1120 todos-list-categories.
1121 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1122 (todos-search, todos-view-archive, todos-diary-items)
1123 (todos-toggle-display-date-time, todos-insert-item-no-time)
1124 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1125 (todos-insert-item-from-calendar, todos-edit-quit)
1126 (todos-change-date, todos-item-done, todos-archive-done-items)
1127 (todos-item-undo): New commands.
ee7412e4 1128 (todos-archive-mode): New major mode.
2c173503
SB
1129 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1130 (todos-category-beg): Change value.
1131 (todos-number-prefix): Change default value.
1132 (todos-edit-buffer): Change from defvar to defcustom.
1133 (todos-font-lock-keywords): Use todos-done-string-match and
1134 todos-category-string-match.
1135 (todos-backward-item, todos-forward-item): Use todos-done-string
1136 and todos-date-pattern.
1137 (todos-display-categories): Reimplement using buttons from
1138 button.el instead of widgets.
1139 (todos-top-priorities): Use with-current-buffer; take done items
1140 into account; ensure buffers gets fontified.
1141 (todos-add-category): Ensure new category does not begin with
1142 empty lines.
1143 (todos-jump-to-category): Use todos-category-select instead of
1144 todos-show.
1145 (todos-rename-category): Prompt for new name in body instead of in
1146 interactive spec.
1147 (todos-insert-item): Don't insert in done items section of
1148 category. Add two optional arguments to control insertion: (i) to
1149 insert near point without prompting for priority; (ii) to use
1150 defaults for date and time strings, to prompt for these, or to
1151 choose date from the Calendar.
1152 (todos-insert-item-here): Reimplement using todos-insert-item.
1153 (todos-delete-item): Don't move point after deleting last item.
1154 (todos-raise-item, todos-lower-item): Take done items into account.
1155 (todos-move-item): Don't move done items; update item numbering;
1156 restore if user quits before inserting moved item.
1157 (todos-print): Prompt for confirmation to print.
1158 (todos-reset-prefix): Search backward from end of file instead of
1159 forward from top.
1160 (todos-jump-to-category-noninteractively): Take Todos archive into
1161 account.
1162 (todos-category-select): Show or hide done items according to
1163 todos-show-with-done; if shown, coordinate separator and prefix
1164 overlays.
1165 (todos-add-item-non-interactively): Replace binary insertion
1166 algorithm with prompting for numerical priority.
1167 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1168 (todos-item-start): Take done items into account; use
1169 todos-date-pattern.
1170 (todos-item-end): Reimplement using todos-forward-item.
1171 (todos-remove-item): Reimplement using todos-forward-item and
1172 todos-backward-item; redo overlay handling.
1173 (todos-mode-map): Add some new key bindings and change numerous
1174 existing bindings; use "i" as prefix key for item insertion
1175 commands.
1176 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1177 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1178 spec; set buffer-read-only to t and consequently let-bind this
1179 variable in all Todos commands that change buffer content.
1180 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1181 (todos-save): Don't save top priorities buffer.
1182 (todos-show): Make a no-op if called interactively in narrowed
1183 Todos mode, since, also to work around item prefix reduplication
1184 bug with show-paren-mode enabled; use todos-categories-list.
1185
b28025ed
SB
11862012-09-12 Stephen Berman <stephen.berman@gmx.net>
1187
1188 * calendar/todos.el: Comment out time-stamp require; require
1189 calendar and diary-lib.
1190 (todos-prefix): Change default value and doc string to reflect new
1191 meaning; add :initialize and :set functions.
1192 (todos-time-string-format, todos-entry-prefix-function)
1193 (todos-initials, todos-entry-timestamp-initials)
1194 (todos-prefix-face, todos-category-sep, todos-category-end)
1195 (todos-cp): Comment out.
1196 (todos-prefix-string): Inherit from font-lock-comment-face.
1197 (todos-item-header, todos-item-header-face): Remove.
1198 (todos-date, todos-time): New faces.
1199 (todos-date-face, todos-time-face): Corresponding new variables.
1200 (todos-add-time-string, todos-include-in-diary)
1201 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1202 New defcustoms.
1203 (todos-item-end, todos-item-start-overlays)
1204 (todos-item-end-overlays): New variables.
1205 (todos-date-string-match, todos-time-string-match): New functions.
1206 (todos-font-lock-keywords): Use them.
1207 (todos-current-date, todos-date-string, todos-time-string)
1208 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1209 (todos-reset-prefix, todos-update-numbered-prefix)
1210 (todos-check-overlay, todos-item-overlays)
1211 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1212 (todos-highlight-item): New command.
1213 (todos-category-beg): Change value.
1214 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1215 (todos-backward-item): Add optional count argument; use it and
1216 todos-item-start.
1217 (todos-forward-item): Use todos-check-overlay, todos-item-start
1218 and variable todos-item-end.
1219 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1220 todos-update-numbered-prefix, todos-item-overlays.
1221 (todos-add-category, todos-rename-category)
1222 (todos-list-categories): Use new category format.
1223 (todos-delete-category): Allow deleting non-empty category;
1224 use new category format.
1225 (todos-add-item-non-interactively): Comment out unnecessary
1226 save-excursion; use todos-insert-with-overlays.
1227 (todos-insert-item): Comment out unnecessary save-excursion; use
1228 new item format for date/time header and diary inclusion marking.
1229 (todos-insert-item-here): Use new item format for date/time header
1230 and diary inclusion marking; use todos-insert-with-overlays.
1231 (todos-raise-item): Make a no-op if point is on an empty line; use
1232 todos-insert-with-overlays.
1233 (todos-lower-item): Use todos-insert-with-overlays.
1234 (todos-top-priorities): Move call to todos-show inside
1235 save-excursion; add save-current-buffer after save-restriction.
1236 (todos-item-start): Use variable todos-item-end.
1237 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1238 (todos-remove-item): Take item overlays into account.
1239 (todos-mode): Change calculation of wrap-prefix; make
1240 hl-line-range-function a local variable and set it to highlight
1241 todo item.
1242 (todos-show): Ensure point stays at top of category.
1243
98c97dee
SB
12442012-09-12 Stephen Berman <stephen.berman@gmx.net>
1245
1246 * calendar/todos.el (todos-window-configuration): Comment out.
1247 (todos-display-categories): Comment out use of
1248 todos-window-configuration; use switch-to-buffer instead of
1249 pop-to-buffer.
1250 (todos-jump-to-category-noninteractively): Comment out use of
1251 todos-window-configuration.
1252 (todos-edit-item): Don't allow editing of date/time item header.
1253 (todos-insert-item, todos-insert-item-here): Insert date/time
1254 header in front of new item string.
1255 (todos-mode): Tweak wrap-prefix.
1256
1f678911
SB
12572012-09-12 Stephen Berman <stephen.berman@gmx.net>
1258
1259 * calendar/todos.el (todos-file-do, todos-file-done):
1260 Change default location to directory "~/.emacs.d/".
1261 (todos-completion-ignore-case, todos-categories-buffer):
1262 New defcustoms.
1263 (todos-prefix-string, todos-item-header): New faces.
1264 (todos-prefix-face, todos-item-header-face): Corresponding
1265 new variables.
1266 (todos-rename-category, todos-delete-category)
1267 (todos-display-categories, todos-move-item): New commands.
1268 (todos-mode-map): Add key bindings for new commands and for
1269 todos-add-category, which had no key binding.
1270 (todos-jump-to-category-noninteractively): New function.
1271 (todos-top-priorities): Comment out code using a previously
1272 deleted variable.
1273 (todos-completing-read): Allow SPC to insert a space when entering
1274 a new category name; use todos-completion-ignore-case.
1275 (todos-font-lock-keywords, todos-window-configuration):
1276 New variables.
1277 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1278 word-wrap, and wrap-prefix local variables.
1279
fffe5949
SB
12802012-09-12 Stephen Berman <stephen.berman@gmx.net>
1281
1282 * calendar/todos.el (todos-list-categories): Fix typos.
1283 (todos-show): Ensure file is in todos-mode.
1284
1e3d87b3
SB
12852012-09-12 Stephen Berman <stephen.berman@gmx.net>
1286
1287 * calendar/todos.el (todos-header): Remove defvar.
1288 (todos-add-category): Comment out code that inserts and updates
1289 the file local variables first line of the file todos-file-do.
1290 (todos-list-categories): New function.
1291 (todos-show): Use it; remove use of a previously deleted variable.
1292
3f031767
SB
12932012-09-11 Stephen Berman <stephen.berman@gmx.net>
1294
1295 * calendar/todos.el: New file. This is a copy of todo-mode.el
1296 from revision 94343 except for the following changes: replace all
1297 occurrences of the namespace prefix "todo-" with "todos-", delete
1298 the defvar todo-cats (the old name of todo-categories) and its use
1299 in todos-add-category, delete all defaliases of old command names.
1300
baa26ea0
BG
13012012-09-11 Bastien Guerry <bzg@gnu.org>
1302
1303 * subr.el (set-temporary-overlay-map): Add a docstring.
1304 (bug#12346)
1305
04e8abfa
BG
13062012-09-11 Bastien Guerry <bzg@gnu.org>
1307
96d03571
BG
1308 * minibuffer.el (completion-table-subvert): Fix docstring.
1309 (bug#12347)
1310
13112012-09-11 Bastien Guerry <bzg@gnu.org>
1312
1313 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1314
04e082b0
MM
13152012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1316
1317 * progmodes/sql.el: Version 3.1
1318 (sql-db2-escape-newlines): New variable.
1319 (sql-escape-newlines-filter): Use it.
1320
399a361b
JB
13212012-09-10 Juanma Barranquero <lekktu@gmail.com>
1322
1323 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1324
0780c517
DN
13252012-09-10 Dan Nicolaescu <dann@gnu.org>
1326
1327 * vc/diff-mode.el (diff-mode-menu): Bind
1328 diff-remove-trailing-whitespace.
1329
9b851e25
SM
13302012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1333 (emacs-lisp-byte-code-comment)
1334 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1335 New functions.
1336 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1337 (eval-defun-2): Remove bogus interactive spec.
1338 (lisp-indent-line): Remove redundant whole-exp code, now done in
1339 indent-according-to-mode.
1340 (save-match-data): Remove redundant indent data.
1341
1342 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1343 Use `declare'.
1344
3231d532
JL
13452012-09-09 Juri Linkov <juri@jurta.org>
1346
1347 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1348 (replace-lax-whitespace, query-replace-regexp)
1349 (query-replace-regexp-eval, replace-regexp): Doc fix.
1350 (perform-replace, replace-highlight): Let-bind
1351 isearch-lax-whitespace to replace-lax-whitespace and
1352 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1353
1354 * isearch.el (isearch-query-replace): Let-bind
1355 replace-lax-whitespace to isearch-lax-whitespace and
1356 replace-regexp-lax-whitespace to
1357 isearch-regexp-lax-whitespace. (Bug#10885)
1358
70fe8236
SM
13592012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1362
8ed43f15
AM
13632012-09-09 Alan Mackenzie <acm@muc.de>
1364
70fe8236
SM
1365 * progmodes/cc-engine.el (c-state-cache-init):
1366 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1367 (c-record-parse-state-state):
1368 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1369
bfabf70a
AS
13702012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1371
1372 * register.el (register-separator): Rename from
1373 separator-register. All uses changed. Doc fix.
1374 (register): Fix version.
1375
011474aa
CY
13762012-09-09 Chong Yidong <cyd@gnu.org>
1377
1378 * replace.el (query-replace-map): Bind four new symbols for
1379 requesting window scrolling.
1380
1381 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1382 query-replace-map (Bug#8948).
1383
1384 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1385
1386 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1387 since they are now in query-replace-map.
1388
1389 * window.el (scroll-other-window-down): Make the arg optional.
1390
a8b7cd8d
CY
13912012-09-09 Chong Yidong <cyd@gnu.org>
1392
1393 * files.el (hack-local-variables-confirm): Use quit-window to kill
1394 the *Local Variables* buffer.
1395
c3268831
DG
13962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1399 not just expect to be at its beginning. Adjust callees.
1400 Succeed when do-end block has no space before the pipe character.
1401 (ruby-brace-to-do-end): When the original block is one-liner,
1402 convert to multiline. Reindent the result.
1403
0979429b
J
14042012-09-08 Jambunathan K <kjambunathan@gmail.com>
1405
1406 * register.el (register): New group.
1407 (register-separator): New user option.
1408 (increment-register): Route it to `append-to-register', if
1409 register contains text. Implication is that `C-x r +' can now be
1410 used for appending to a text register (bug#12217).
1411 (append-to-register, prepend-to-register): Add separator based on
1412 `register-separator.
1413
ace2989a
AM
14142012-09-08 Alan Mackenzie <acm@muc.de>
1415
1416 AWK Mode: make auto-newline work when there's "==" in the pattern.
1417 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1418 correctly.
0979429b
J
1419 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1420 Test more rigorously for "=" token.
ace2989a 1421
616c6c36
DG
14222012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1423
0979429b
J
1424 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1425 Only fail when reached LIMIT.
616c6c36 1426
35d98877
CY
14272012-09-08 Chong Yidong <cyd@gnu.org>
1428
1429 * dired.el (dired-mode-map): Don't bind M-=.
1430
1431 * dired-aux.el (dired-diff): Use backup file as default.
1432
1715f2db
DA
14332012-09-08 Drew Adams <drew.adams@oracle.com>
1434
1435 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1436
6dcef6ec
CY
14372012-09-08 Chong Yidong <cyd@gnu.org>
1438
1439 * subr.el (syntax-after, syntax-class): Doc fix.
1440
fa2bcf43
MR
14412012-09-08 Martin Rudalics <rudalics@gmx.at>
1442
1443 * window.el (display-buffer-in-previous-window): New buffer
1444 display action function.
1445
1446 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1447 (debugger-previous-window): New variable.
1448 (debug): Rewrite using display-buffer-in-previous-window,
1449 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1450
daac280a
SM
14512012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1454
9dd40b00
MM
14552012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1456
daac280a
SM
1457 * progmodes/python.el (python-shell-send-string):
1458 When default-directory is remote, create temp file on remote
9dd40b00
MM
1459 filesystem.
1460 (python-shell-send-file): When file is remote, pass local view of
1461 file paths to remote Python interpreter. (Bug#12340)
1462
145823ec
CY
14632012-09-07 Chong Yidong <cyd@gnu.org>
1464
cee2e90d
CY
1465 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1466
0d7eb2ea
CY
1467 * files.el (after-find-file): Don't fail on a read-only buffer if
1468 require-final-newline is `visit' or `visit-save' (Bug#11156).
1469
145823ec
CY
1470 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1471
daac280a
SM
1472 * userlock.el (ask-user-about-supersession-threat):
1473 Use read-char-choice (Bug#12093).
145823ec 1474
74c582e6
CY
14752012-09-07 Chong Yidong <cyd@gnu.org>
1476
e5c2edf7
CY
1477 * subr.el (buffer-narrowed-p): New function.
1478
1479 * ses.el (ses-widen):
1480 * simple.el (count-words--buffer-message):
1481 * net/browse-url.el (browse-url-of-buffer): Use it
1482
1483 * simple.el (count-words-region): Don't signal an error if there
1484 is a non-nil prefix arg and the mark is not set.
c640e87d 1485
74c582e6
CY
1486 * help.el (describe-key-briefly): Allow the message to be seen
1487 when invoked from the minibuffer (Bug#7014).
1488
d81ceaaf
DG
14892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1490
1491 * progmodes/ruby-mode.el (ruby-end-of-defun)
1492 (ruby-beginning-of-defun): Simplify, allow indentation before
1493 block beginning and end keywords.
8f06acce
DG
1494 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1495 (ruby-end-of-defun): Expect that the point is at the beginning of
1496 the defun.
d81ceaaf 1497
d458ef98
SM
14982012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1501 (bug#12367).
1502 (cl--make-usage-args): Strip _ from argument names.
1503
20367d28
RS
15042012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1505
1506 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1507 obsolete alias speedbar-key-map.
1508 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1509 (vhdl-index-menu-init): Don't use obsolete variable
1510 font-lock-maximum-size.
1511
3424a4f6
CY
15122012-09-06 Chong Yidong <cyd@gnu.org>
1513
1514 * frame.el (window-system-version): Mark as obsolete.
1515
fcbfbdea
CY
1516 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1517 of obsolete variable speedbar-key-map.
1518
826b3235
JL
15192012-09-06 Juri Linkov <juri@jurta.org>
1520
1521 * replace.el (replace-lax-whitespace): New defcustom.
1522 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1523 (replace-string, replace-regexp): Mention it in docstrings.
1524 (perform-replace, replace-highlight): Let-bind
1525 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1526 to the values of replace-lax-whitespace and regexp-flag.
1527 Don't let-bind search-whitespace-regexp. (Bug#10885)
1528
1529 * isearch.el (isearch-query-replace): Let-bind
1530 replace-lax-whitespace instead of let-binding
1531 replace-search-function and replace-re-search-function.
1532 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1533 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1534 (isearch-toggle-symbol): Set isearch-regexp to nil
1535 in isearch-word mode (like in isearch-toggle-word).
1536
1ec5e41d
JL
15372012-09-06 Juri Linkov <juri@jurta.org>
1538
1539 * replace.el (replace-search-function)
1540 (replace-re-search-function): Set default values to nil.
1541 (perform-replace): Let-bind isearch-related variables based on
1542 replace-related values, call `isearch-search-fun' and let-bind
1543 the result to `search-function'. Remove code that sets
1544 `search-function' and `search-string' separately for
1545 `delimited-flag'.
1546 (replace-highlight): Add new argument `delimited-flag' and
1547 rename other arguments to the names used in `perform-replace'.
1548 Let-bind `isearch-word' to the argument `delimited-flag'.
1549 (Bug#10885, bug#10887)
1550
0ba2d4b6
DG
15512012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1552
1553 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1554 ruby-beginning-of-indent, simplify, allow all keywords to have
1555 indentation before them.
1556 (ruby-beginning-of-indent): Adjust for above. Search until the
1557 found point is not inside a string or comment.
1558 (ruby-font-lock-keywords): Allow symbols to start with "@"
1559 character, give them higher priority than variables.
1560 (ruby-syntax-propertize-function)
1561 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1562 matchers. Expression expansions are not comments when inside a
1563 string, and there comment syntax status is irrelevant.
1564 (ruby-match-expression-expansion): New function. Check that
1565 expression expansion is inside a string, and it's not escaped.
1566 (ruby-font-lock-keywords): Use it.
1567
ef654460
MR
15682012-09-05 Martin Rudalics <rudalics@gmx.at>
1569
1570 * help.el (temp-buffer-max-height): New default value.
1571 (temp-buffer-resize-frames): New option.
1572 (resize-temp-buffer-window): Optionally resize frame.
1573
1574 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1575 (fit-frame-to-buffer): New function.
1576
7e570fbf 15772012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1578
1579 * emulation/cua-rect.el (cua--init-rectangles):
1580 * textmodes/picture.el (picture-mode-map):
1581 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1582 like forward-char and backward-char. (Bug#12317)
1583
7e570fbf 15842012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1585
1586 * progmodes/flymake.el (flymake-warning-re): New variable.
1587 (flymake-parse-line): Use it.
1588
7e570fbf 15892012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1590
1591 * calendar/holidays.el (holiday-christian-holidays):
1592 Rename an entry. (Bug#12289)
1593
7e570fbf 15942012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1595
1596 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1597 (bug#12222).
1598
972debf2
SM
15992012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * loadup.el: Load macroexp. Remove hack.
1602 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1603 (macroexp--expand-all): Use it to get better warnings.
1604 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1605 (internal-macroexpand-for-load): New functions.
1606 (macroexp--pending-eager-loads): New var.
1607 (emacs-startup-hook): New hack to replace one in loadup.el.
1608 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1609 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1610 (cl-psetf): Simplify.
1611 (cl-defstruct): Add indent rule.
1612
8ce192e3
LI
16132012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1614
1615 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1616 over `user-mail-address' for the SMTP MAIL FROM envelope.
1617 (smtpmail-via-smtp): Ditto.
1618
6578b4d8
DG
16192012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1620
1621 * progmodes/ruby-mode.el: Clean up keybindings.
1622 (ruby-mode-map): Don't bind ruby-electric-brace,
1623 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1624 backward-kill-word, reindent-then-newline-and-indent.
1625 (ruby-mark-defun): Remove.
1626 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1627 (ruby-mode): Set local beginning-of-defun-function and
1628 end-of-defun-function values.
1629
c5e28e39
MR
16302012-09-03 Martin Rudalics <rudalics@gmx.at>
1631
1632 * window.el (temp-buffer-window-setup-hook)
1633 (temp-buffer-window-show-hook): New hooks.
1634 (temp-buffer-window-setup, temp-buffer-window-show)
1635 (with-temp-buffer-window): New functions.
972debf2
SM
1636 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1637 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1638
1639 * help.el (temp-buffer-resize-mode): Fix doc-string.
1640 (resize-temp-buffer-window): New optional argument WINDOW.
1641
1642 * files.el (recover-file, save-buffers-kill-emacs):
1643 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1644
73406194
MA
16452012-09-02 Michael Albinus <michael.albinus@gmx.de>
1646
1647 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1648 remote definition of `default-directory', ensure we can connect.
1649
63dd1c6f
JL
16502012-09-02 Juri Linkov <juri@jurta.org>
1651
1652 Toggle whitespace matching mode with M-s SPC.
1653 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1654
1655 * isearch.el (search-whitespace-regexp): Doc fix.
1656 Remove cons cell customization.
1657 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1658 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1659 New variables.
1660 (isearch-forward, isearch-forward-regexp): Doc fix.
1661 (isearch-toggle-lax-whitespace): New command.
1662 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1663 (re-search-forward-lax-whitespace)
1664 (re-search-backward-lax-whitespace): New functions.
1665 (isearch-whitespace-regexp): Remove function.
1666 (isearch-query-replace): Let-bind replace-search-function and
1667 replace-re-search-function.
1668 (isearch-occur): Let-bind search-spaces-regexp according to the
1669 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1670 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1671 condition for C-q SPC.
1672 (isearch-search-fun-default): Use new functions mentioned above.
1673 (isearch-search-forward, isearch-search-backward): Remove functions.
1674 (isearch-search): Don't let-bind search-spaces-regexp.
1675 (isearch-lazy-highlight-space-regexp): Remove variable.
1676 (isearch-lazy-highlight-lax-whitespace)
1677 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1678 (isearch-lazy-highlight-new-loop): Use them.
1679 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1680
af7dda05
CY
16812012-09-02 Chong Yidong <cyd@gnu.org>
1682
1683 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1684
d67d3afd
GM
16852012-09-02 Glenn Morris <rgm@gnu.org>
1686
1687 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1688
69678719
GM
16892012-09-01 Glenn Morris <rgm@gnu.org>
1690
1691 * term.el: Tidy up menu definitions.
1692 (term-mode-map): Use easymenu for In/Out, Complete menus.
1693 (term-pager-break-map): Initialize in the defvar.
1694 (term-terminal-menu, term-signals-menu): Define with easymenu.
1695 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1696 (term-pager-menu): New, extracted from term-process-pager.
1697 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1698 (term-update-mode-line): Propertize line/char and page items.
1699 (term-process-pager): Move keymap initialization elsewhere.
1700
78dd6ab1
MR
17012012-09-01 Martin Rudalics <rudalics@gmx.at>
1702
1703 * window.el (switch-to-prev-buffer): Handle additional values of
1704 BURY-OR-KILL argument. Don't switch in minibuffer window.
1705 (switch-to-next-buffer): Don't switch in minibuffer window.
1706 (quit-restore-window): New function based on quit-window.
1707 Handle additional values of former KILL argument.
1708 (quit-window): Call quit-restore-window with appropriate
1709 interpretation of KILL argument.
1710 (display-buffer-below-selected): New buffer display action
1711 function.
1712
3d10e134
SM
17132012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * minibuffer.el (completion-at-point-functions): Complete docstring
1716 (bug#12254).
1717
0e23ef9d
PE
17182012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1719
1720 Better seed support for (random).
1721 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1722 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1723 * play/mpuz.el, play/tetris.el, play/zone.el:
1724 * calc/calc-comb.el (math-init-random-base):
1725 * play/blackbox.el (bb-init-board):
1726 * play/life.el (life):
1727 * server.el (server-use-tcp):
1728 * type-break.el (type-break):
1729 Remove unnecessary call to (random t).
1730 * net/sasl.el (sasl-unique-id-function):
1731 Change (random t) to (random), now that the latter is more random.
1732 * play/life.el (life-initialized): Remove no-longer-needed var.
1733
862382df
MR
17342012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1735
1736 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1737 Consider frame's buffer predicate when choosing the buffer.
1738 (Bug#12081)
1739
262a66e1
RS
17402012-08-30 Richard Stallman <rms@gnu.org>
1741
1742 * simple.el (special-mode-map): Delete binding for `z'.
1743
f17e1d00
AS
17442012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1745
1746 * progmodes/compile.el (compilation-always-kill): Doc fix.
1747
24777832
CY
17482012-08-30 Chong Yidong <cyd@gnu.org>
1749
1750 * window.el (display-buffer-reuse-frames): Make the obsolescence
1751 message more informative.
1752
69ba1f04
GM
17532012-08-30 Glenn Morris <rgm@gnu.org>
1754
1755 * paren.el (show-paren-delay):
1756 Add a :set function. Doc fix. (Bug#12297)
1757
f0019ede
MB
17582012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1759
1760 * progmodes/compile.el (compilation-always-kill): New var.
1761 (compilation-start): Use it.
1762
35e62fc9
SM
17632012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1764
af070a1c
SM
1765 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1766 * files.el (read-only-mode): Move to simple.el.
1767
35e62fc9
SM
1768 * files.el (read-only-mode): New minor mode.
1769 (toggle-read-only): Use it and mark obsolete.
1770 (find-file--read-only):
1771 * vc/vc.el (vc-next-action, vc-checkout):
1772 * vc/vc-cvs.el (vc-cvs-checkout):
1773 * obsolete/vc-mcvs.el (vc-mcvs-update):
1774 * ffap.el (ffap--toggle-read-only): Update callers.
1775
c2c43c23
MA
17762012-08-29 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1779 remote shell scripts.
1780 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1781
1782 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1783 "/usr/local/sbin".
1784
9fba804b
SM
17852012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1788
eada0861 17892012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1790
806f0cc7
LL
1791 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1792 completion-at-point. (Bug#12220)
1793
3bb213b9
LL
1794 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1795
22ab32ef
LL
1796 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1797
eada0861 17982012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1799
19c17fc1
CY
1800 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1801 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1802
eada0861 18032012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1804
1805 * progmodes/hideif.el (hif-compress-define-list):
1806 Fix typo. (Bug#11951)
1807
eada0861 18082012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1809
1810 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1811 buffer local setting.
1812
27d6c5a8
LL
1813 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1814 rcirc-encode-coding-system.
1815
eada0861 18162012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1817
1818 * net/rcirc.el (rcirc-split-message): New function.
1819 (rcirc-send-message): Use it. (Bug#12051)
1820
d44688e4
JL
18212012-08-28 Juri Linkov <juri@jurta.org>
1822
1823 * info.el (Info-fontify-node): Hide empty lines at the end of
1824 the node. (Bug#12272)
1825
34f10d41
MR
18262012-08-27 Drew Adams <drew.adams@oracle.com>
1827
1828 * dired.el (dired-pop-to-buffer): Make window start at beginning
1829 of buffer (Bug#12281).
1830
77f1f99c
CY
18312012-08-26 Chong Yidong <cyd@gnu.org>
1832
1833 * window.el (special-display-regexps, special-display-frame-alist)
1834 (special-display-buffer-names, special-display-function)
1835 (display-buffer-reuse-frames): Mark as obsolete.
1836
1837 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1838
1839 * help.el (help-print-return-message): Don't treat
1840 display-buffer-reuse-frames specially.
1841
d97af5a0
CY
18422012-08-26 Chong Yidong <cyd@gnu.org>
1843
9fba804b
SM
1844 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1845 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1846 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1847 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1848 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1849 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1850 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1851 the functions directly with gdb-display-buffer-other-frame-action.
1852 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1853 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1854 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1855 (gdb-display-registers-buffer): Define directly.
1856 (def-gdb-display-buffer): Macro deleted.
1857 (gdb-display-buffer): Remove second and third args, callers don't
1858 use them. Defer to the default display-buffer behavior, apart
1859 from making windows dedicated.
1860 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1861
1862 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1863
1864 * window.el (display-buffer-pop-up-frame): Handle a
1865 pop-up-frame-parameters alist entry.
1866 (display-buffer): Document it.
1867
dd7ffad6
CY
18682012-08-26 Chong Yidong <cyd@gnu.org>
1869
1870 * isearch.el (search-whitespace-regexp): Make string and nil
1871 values apply to both ordinary and regexp search. Allow a cons
1872 cell value to distinguish between the two.
1873 (isearch-whitespace-regexp, isearch-search-forward)
1874 (isearch-search-backward): New functions.
1875 (isearch-occur, isearch-search-fun-default, isearch-search)
1876 (isearch-lazy-highlight-new-loop): Use them.
1877 (isearch-forward, isearch-forward-regexp): Doc fix.
1878
4c47bd1e
CY
18792012-08-26 Chong Yidong <cyd@gnu.org>
1880
1881 * faces.el (help-argument-name): Always inherit from italic
1882 (Bug#12213).
1883
9aba119d
MR
18842012-08-25 Martin Rudalics <rudalics@gmx.at>
1885
1886 * window.el (window--even-window-heights): Even heights when
1887 WINDOW and the selected window form a vertical combination.
1888 (display-buffer-use-some-window): Provide that window used gets
1889 sized back by quit-window. (Bug#11880) and (Bug#12091)
1890
ca5256ad
PE
18912012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1892
1893 Fix file time stamp problem with bzr and CVS (Bug#12001).
1894 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1895 in the file's time stamp, since the version control system loses
1896 that information.
1897
d1c0d176
JL
18982012-08-22 Juri Linkov <juri@jurta.org>
1899
1900 * info.el (Info-fontify-node): Hide the suffix of the
1901 Info file name in the header line. (Bug#12187)
1902
141562ff
GM
19032012-08-22 Glenn Morris <rgm@gnu.org>
1904
1905 * calendar/cal-tex.el (cal-tex-weekly-common):
1906 Restore leading blank page.
1907
61a48e19 19082012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1909
1910 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1911 the region under `shift-select-mode'. (Bug#12231)
1912
19132012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1914
1915 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1916 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1917 gives details on why the space is never needed.
1918
ea95074e
MR
19192012-08-22 Martin Rudalics <rudalics@gmx.at>
1920
9fba804b
SM
1921 * window.el (walk-window-tree, window-with-parameter):
1922 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1923 should run on the minibuffer window.
1924 (window-at-side-list): Don't operate on minibuffer window.
1925 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1926 (window--size-ignore): Rename to window--size-ignore-p.
1927 Update callers.
caceae25
MR
1928 (display-buffer-in-atom-window, window--major-non-side-window)
1929 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1930 (delete-side-window, display-buffer-in-side-window):
1931 New functions.
caceae25
MR
1932 (window--side-check, window-deletable-p, delete-window)
1933 (delete-other-windows, split-window): Handle side windows and
1934 atomic windows appropriately.
1935 (window--display-buffer): Call display-buffer-record-window also
1936 when the window buffer did not change.
ea95074e 1937
80a51fa0
CS
19382012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1939
1940 * help-fns.el (help-fns--key-bindings):
1941 Abbreviate non-symbol remap targets. (Bug#12174)
1942
fbb6300b
MR
19432012-08-22 Martin Rudalics <rudalics@gmx.at>
1944
1945 * dired.el (dired-mark-remembered): Don't clobber point.
1946 (Bug#11795)
1947
2b2c0794
GM
19482012-08-22 Glenn Morris <rgm@gnu.org>
1949
1950 * progmodes/bug-reference.el (bug-reference): New custom group.
1951 (bug-reference-bug-regexp): Make it a defcustom.
1952
37219830
DU
19532012-08-22 Daiki Ueno <ueno@unixuser.org>
1954
1955 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1956 (js-paren-indent-offset, js-square-indent-offset)
1957 (js-curly-indent-offset): Add :safe (Bug#12257).
1958
94e0e559
EC
19592012-08-22 Edward O'Connor <hober0@gmail.com>
1960
1961 * json.el (json-key-format): Add error properties.
1962 (json-encode-key): New function.
1963 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1964 Use json-encode-key.
1965
da485f5e
GM
19662012-08-22 Glenn Morris <rgm@gnu.org>
1967
1968 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1969 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1970 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1971 Update for above change.
1972
c6cc78b8
AS
19732012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1974
1975 * cus-face.el (custom-face-attributes): Fix customize type for the
1976 :underline attribute. (Bug#11805)
1977
5481664a
MR
19782012-08-21 Martin Rudalics <rudalics@gmx.at>
1979
1980 * window.el (window-point-1, set-window-point-1): Remove.
1981 (window-in-direction, record-window-buffer)
1982 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1983 (window--state-get-1, display-buffer-record-window):
1984 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1985 window-point and set-window-point respectively.
1986
6d74698e
GM
19872012-08-21 Glenn Morris <rgm@gnu.org>
1988
b7fa2691
GM
1989 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1990 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1991 Use it.
1992
52f56d5a
GM
1993 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1994 (cal-tex-shortday): New function.
1995 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1996 (cal-tex-cursor-filofax-daily): Use the above.
1997
9f1ee09e
GM
1998 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1999 New functions.
2000 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2001 (cal-tex-cursor-filofax-week): Use them.
2002
79858159
GM
2003 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2004 New constants.
2005 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2006 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2007
d346b2b4
GM
2008 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2009 (cal-tex-end-document): Don't rely on buffer name.
2010
b2403709
GM
2011 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2012 Use cal-tex-vspace.
2013 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2014 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2015 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2016 Use cal-tex-arg.
b2403709 2017
1cebb5c0
GM
2018 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2019 (cal-tex-cursor-week, cal-tex-cursor-week2)
2020 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2021 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2022 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2023 (cal-tex-insert-preamble, cal-tex-b-document)
2024 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2025 Improve cal-tex-cmd usage.
2026
c68cd5d4
GM
2027 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2028 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2029 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2030 (cal-tex-weekly-paper): New function.
2031 (cal-tex-cursor-week, cal-tex-cursor-week2)
2032 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2033 (cal-tex-cursor-day): Use it.
2034
9dca4801
GM
2035 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2036 (cal-tex-cursor-filofax-week): Remove leading blank page.
2037
1941e134
GM
2038 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2039 Add autoload cookie. For now at least, don't use color, since
2040 no other cal-tex function does.
2041
6d74698e
GM
2042 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2043 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2044 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2045
64cde199
JL
20462012-08-21 Juri Linkov <juri@jurta.org>
2047
2048 * info.el (Info-file-attributes): New variable.
2049 (info-insert-file-contents): Add file attributes to
2050 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2051 `Info-toc-nodes' when previous modtime of the Info file is less
2052 than new modtime.
2053 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2054 of info.el. (Bug#12230)
2055
32757648
GM
20562012-08-20 Glenn Morris <rgm@gnu.org>
2057
2058 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2059 * calendar/holidays.el (calendar-holiday-list):
2060 Report errors with display-warning rather than beep'n'sleep.
2061
a32fbbcf
MA
20622012-08-20 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/tramp.el (tramp-accept-process-output): Accept only output
2065 from PROC. Otherwise, process filters and sentinels might be
2066 confused. (Bug#12145)
2067
a05731a0
CY
20682012-08-20 Chong Yidong <cyd@gnu.org>
2069
2070 * descr-text.el (describe-text-properties-1): Use overlays-in to
2071 report on empty overlays (Bug#3322).
2072
36e8d1eb
GM
20732012-08-20 Glenn Morris <rgm@gnu.org>
2074
3d300447
GM
2075 * mail/rmailout.el (rmail-output-read-file-name):
2076 Trap and report errors in rmail-output-file-alist elements.
2077
36e8d1eb
GM
2078 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2079 since most non-font-lock faces are not also variables).
2080
b96e5814
ER
20812012-08-20 Edward Reingold <reingold@iit.edu>
2082
2083 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2084 New function. (Bug12160)
2085
7cef3569
GM
20862012-08-19 Glenn Morris <rgm@gnu.org>
2087
2088 * mail/rmailout.el (rmail-output-read-file-name):
2089 Fix previous change (when the alist is nil or does not match).
2090
17975d7f
CY
20912012-08-19 Chong Yidong <cyd@gnu.org>
2092
2093 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2094 (Bug#12228).
2095
2170b1bd
CY
20962012-08-18 Chong Yidong <cyd@gnu.org>
2097
2098 * simple.el (yank-handled-properties): New defcustom.
2099 (yank-excluded-properties): Add font-lock-face and category.
2100 (yank): Doc fix.
2101
9fba804b
SM
2102 * subr.el (remove-yank-excluded-properties):
2103 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2104 and category is now done this way, instead of being hard-coded.
2105 (insert-for-yank-1): Remove font-lock-face handling.
2106 (yank-handle-font-lock-face-property)
2107 (yank-handle-category-property): New function.
2108
ee218151
GM
21092012-08-17 Glenn Morris <rgm@gnu.org>
2110
2111 * mail/rmailout.el (rmail-output-read-file-name):
2112 Check rmail-output-file-alist against the full message body
2113 in the correct rmail buffer. (Bug#12214)
2114
4a6bc3fd
MA
21152012-08-17 Michael Albinus <michael.albinus@gmx.de>
2116
9fba804b
SM
2117 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2118 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2119
383dcbf9
CY
21202012-08-17 Chong Yidong <cyd@gnu.org>
2121
2122 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2123 font spec, set the font directly (Bug#3228).
2124
998c4a6a
MR
21252012-08-17 Martin Rudalics <rudalics@gmx.at>
2126
2127 * window.el (delete-window): Fix last fix.
2128
52162052
MR
21292012-08-16 Martin Rudalics <rudalics@gmx.at>
2130
2131 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2132 (window-child, window-child-count, window-last-child)
2133 (window-normalize-window, window-combined-p)
2134 (window-combinations, window-atom-root, window-min-size)
2135 (window-sizable, window-sizable-p, window-size-fixed-p)
2136 (window-min-delta, window-max-delta, window--resizable)
2137 (window--resizable-p, window-resizable, window-total-size)
2138 (window-full-height-p, window-full-width-p, window-body-size)
2139 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2140 (minimize-window, window-deletable-p, delete-window)
2141 (delete-other-windows, set-window-buffer-start-and-point)
2142 (next-buffer, previous-buffer, split-window, balance-windows-2)
2143 (set-window-text-height, window-buffer-height)
2144 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2145 (truncated-partial-width-window-p): Minor code adjustments.
2146 In doc-strings state whether the argument window has to denote a
85c2386b 2147 live, valid or any window.
52162052 2148
1c308380
PS
21492012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2150
2151 * progmodes/subword.el (subword-forward-function)
2152 (subword-backward-function, subword-forward-regexp)
2153 (subword-backward-regexp): New variables.
2154 (subword-forward, subword-forward-internal, subword-backward-internal):
2155 Use new variables, eg so that different "word" definitions
2156 can be easily used. (Bug#11411)
2157
94c9ece1
SM
21582012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2161 for composite selectors.
2162 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2163 operation just because we can't find a previous revision.
2164
f2045622
CY
21652012-08-15 Chong Yidong <cyd@gnu.org>
2166
2167 * frame.el (set-frame-font): Accept font objects.
2168
582db660
SM
21692012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2172
2f29c200
WJ
21732012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2174
456e62c2
WJ
2175 * man.el (Man-overstrike-face, Man-underline-face)
2176 (Man-reverse-face): Remove variables.
2177 (Man-overstrike, Man-underline, Man-reverse): New faces.
2178 (Man-fontify-manpage): Use them instead of the variables.
2179 (Man-cleanup-manpage): Comment change.
2180 (Man-ansi-color-map): New variable.
2181 (Man-fontify-manpage): Use it.
2182 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2183
2f29c200
WJ
2184 Implement ANSI SGR parameters 22-27 (bug#12146).
2185 * ansi-color.el (ansi-colors): Doc fix.
2186 (ansi-color-context, ansi-color-context-region): Doc fix.
2187 (ansi-color--find-face): New function.
2188 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2189 Rename the local variable `face' to `codes' since it is now a list of
2190 ansi codes. Doc fix.
2191 (ansi-color-get-face): Remove.
2192 (ansi-color-parse-sequence): New function, derived from
2193 ansi-color-get-face.
2194 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2195 codes 22-27.
2196
b4f5e9df
SM
21972012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * subr.el (read-passwd): Allow use from a minibuffer.
2200
ba025fbd
EZ
22012012-08-14 Eli Zaretskii <eliz@gnu.org>
2202
2203 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2204 inside comments and strings as identifiers.
2205
2206 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2207 expression to evaluate. This allows to evaluate expressions with
2208 embedded whitespace.
2209 (gud-tooltip-tips): Add a blank before the newline in the
2210 message-box text, for the benefit of message-box emulation on
2211 MS-Windows.
2212
2213 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2214 messages from GDB, pop them up in a tooltip to give feedback to
2215 user.
b4f5e9df
SM
2216 (gdb-tooltip-print-1): Quote the expression to evaluate.
2217 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2218 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2219 if the TTY name is nil or empty (which happens when communicating
2220 with the inferior via pipes, e.g. on MS-Windows).
2221 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2222 don't send that to the GUD buffer.
2223
c548f821
GM
22242012-08-14 Glenn Morris <rgm@gnu.org>
2225
2226 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2227 Optimize away setq-default with no args, as for setq. (Bug#12195)
2228
55802e4a
CY
22292012-08-14 Chong Yidong <cyd@gnu.org>
2230
4abcdac8
CY
2231 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2232
55802e4a
CY
2233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2234 (Bug#12085).
2235
3c3cda1a
GM
22362012-08-14 Glenn Morris <rgm@gnu.org>
2237
2238 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2239
e1873bd0
MA
22402012-08-14 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2243 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2244 Use cached shell name.
2245
925411b4
FEG
22462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2247
2248 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2249 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2250
e636fafe
DG
22512012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2252
2253 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2254 (ruby-percent-literal-beg-re): New constant.
2255 (ruby-syntax-general-delimiters-goto-beg): Rename to
2256 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2257 (ruby-syntax-propertize-general-delimiters): Rename to
2258 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2259 popular term. Adjust comments everywhere.
2260 (ruby-syntax-propertize-percent-literal): Only propertize when not
2261 inside a simple string or comment. When the literal is unclosed,
2262 leave the text after it unpropertized.
f063063a
DG
2263 (ruby-syntax-methods-before-regexp): New constant.
2264 (ruby-syntax-propertize-function): Use it to recognize regexps.
2265 Don't look at the text after regexp, just use the whitelist.
e636fafe 2266
e5b19827
AS
22672012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2268
2269 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2270 non-nil always load the compiled file if it exists. (Bug#12197)
2271
a9f6f311
CY
22722012-08-14 Chong Yidong <cyd@gnu.org>
2273
2274 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2275 (hi-lock-set-pattern): When deciding whether to use font lock or
2276 overlays, look at font-lock-mode instead of font-lock-fontified
2277 (Bug#12168).
2278 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2279 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2280
7d806b1e
DU
22812012-08-14 Daiki Ueno <ueno@unixuser.org>
2282
2283 * subr.el (internal--after-with-selected-window): Fix typo
2284 (Bug#12193).
2285
5beed586
FEG
22862012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2287
2288 Use `completion-table-dynamic' for completion functions.
2289 * progmodes/python.el
2290 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2291 (python-shell-completion--get-completions):
2292 Remove functions.
5beed586
FEG
2293 (python-shell-completion-complete-at-point): New function.
2294 (python-completion-complete-at-point): Use it.
2295
92cb3b04
J
22962012-08-13 Jambunathan K <kjambunathan@gmail.com>
2297
2298 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2299 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2300
89660017
SM
23012012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2302
3c98c962
SM
2303 * subr.el (function-get): Refine `autoload' arg so it can also
2304 autoload functions for gv.el (bug#12191).
2305 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2306 autoloads macros.
2307
aa7c6dbe
SM
2308 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2309 Prefer pcase-let over destructuring-bind.
2310 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2311 Also, remove whitespace as we go, rather than after accumulating the
2312 various places.
2313
89660017
SM
2314 * subr.el (internal--before-with-selected-window)
2315 (internal--after-with-selected-window): Fix typo seleted->selected.
2316 (with-selected-window): Adjust callers.
2317 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2318
31cd32c9
BG
23192012-08-13 Bastien Guerry <bzg@gnu.org>
2320
0fcd3d9f 2321 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2322 enhancement. (Bug#12172)
2323
1b15d8ad
AS
23242012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2325
31e54db0
AS
2326 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2327 type 1-6.
2328 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2329 extended headers.
2330
1b15d8ad
AS
2331 * files.el (hack-local-variables-filter): Remove useless eval.
2332
35cb9c06
MR
23332012-08-13 Martin Rudalics <rudalics@gmx.at>
2334
2335 * subr.el (with-selected-window): Fix last change.
2336
1439443b
SM
23372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * subr.el (internal--before-with-seleted-window)
2340 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2341 (with-selected-window): Use them, to replace dependency on
2342 tty-top-frame.
1439443b 2343
0d9e2599
NN
23442012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2345
2346 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2347 binding for `newline'.
2348 (ruby-move-to-block): When moving backward, stop at block opening,
2349 not indentation.
2350 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2351 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2352 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2353 `ruby-toggle-block'.
2354
ba10c48c
SM
23552012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * ibuffer.el (ibuffer-do-toggle-read-only):
2358 * dired.el (dired-toggle-read-only):
2359 * buff-menu.el (Buffer-menu-toggle-read-only):
2360 * bindings.el (mode-line-toggle-read-only):
2361 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2362
9229c658
AS
23632012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2364
2365 * descr-text.el (describe-char): Put the overlays over the
2366 "displayed as" character.
2367
0fd09128
JB
23682012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2369
2370 * calc/calc-units.el (math-default-units-table): Give an
2371 initial value.
2372 (math-put-default-units): Add options to put composite units and
2373 unit systems in the default units table.
2374 (calc-convert-units): Send composite units to
2375 `math-put-default-units' when appropriate.
2376
9ff9402d 23772012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2378
fbb5e336
GM
2379 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2380
7aacaf15
GM
2381 * tutorial.el (help-with-tutorial):
2382 * emacs-lisp/copyright.el (copyright-update-directory):
2383 * emacs-lisp/autoload.el (autoload-find-generated-file)
2384 (autoload-find-file): Disable local eval: (for insurance).
2385
f40b9f10
GM
2386 * files.el (hack-local-variables-filter): If an eval: form is not
2387 known to be safe, and enable-local-variables is :safe, then ignore
2388 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2389 This is CVE-2012-3479.
f40b9f10 2390
daa9f1a6
SM
23912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2394 (rx-form): Simplify.
2395
9cd80478
DG
23962012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2397
0d9e2599
NN
2398 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2399 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2400 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2401 (ruby-syntax-propertize-function): Adjust for changes in
2402 `ruby-syntax-propertize-heredoc'.
2403
24042012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2405
9cd80478
DG
2406 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2407 binding (use `M-;' instead).
9cd80478 2408 (ruby-singleton-class-p): New function.
0d9e2599 2409 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2410
d301b413
SM
24112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2414
1530c98e
CY
24152012-08-10 Chong Yidong <cyd@gnu.org>
2416
2417 * progmodes/python.el (python-shell-get-process-name): Don't mess
2418 with same-window-buffer-names.
2419
2420 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2421 (eshell-remove-from-window-buffer-names): Make obsolete.
2422 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2423 (eshell): Just use pop-to-buffer-same-window instead.
2424
e1293765
CY
24252012-08-10 Chong Yidong <cyd@gnu.org>
2426
2427 * bindings.el: Bind M-= back to count-words-region.
2428
2429 * simple.el (count-words-region): Accept a prefix arg for acting
2430 on the entire buffer.
2431 (count-words--buffer-message): New helper function.
2432
e1894109
SM
24332012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2436 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2437 (event-start, event-end): Use posn-at-point to return a more
2438 informative posn.
2439 (posnp): New function.
2440 * mouse.el (popup-menu-normalize-position): Use it.
2441
c69f56a2
MY
24422012-08-10 Masatake YAMATO <yamato@redhat.com>
2443
2444 * mouse.el (popup-menu-normalize-position): New function.
2445 (popup-menu): Use `popup-menu-normalize-position' to normalize
2446 the form for POSITION argument.
2447
2448 * term/x-win.el (x-menu-bar-open):
2449 Use the value returend from (posn-at-point) as position
2450 passed to `popup-menu'.
2451
31673780
JB
24522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2453
2454 * calc/calccomp.el (math-compose-expr): Add extra argument
2455 indicating that parentheses should be put around products in
2456 denominators. Give multiplication precedence over division during
2457 composition.
2458
dab7711b
CY
24592012-08-09 Chong Yidong <cyd@gnu.org>
2460
dee4ef93
CY
2461 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2462 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2463 (Man-untabify-command, manual-program): Convert to defcustom
2464 (Bug#10429).
2465
73e2bbc5
CY
2466 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2467
3e861c8a
CY
2468 * descr-text.el (describe-char): Don't insert extra newlines
2469 (Bug#10127).
2470
a9f5a649
CY
2471 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2472 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2473
dab7711b
CY
2474 * align.el (align-region): Delete temporary markers (Bug#10047).
2475 Plus some code cleanups.
2476
e0cc4efa
FEG
24772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2478
2479 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2480 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2481 (python-shell-internal-last-output): Use make-local-variable
2482 instead of make-variable-buffer-local.
2483
489af14f
FEG
24842012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2485
2486 * progmodes/python.el: Enhancements to forward-sexp.
2487 (python-nav-forward-sexp): Rename from
2488 python-nav-forward-sexp-function.
c69f56a2
MY
2489 (python-nav--forward-sexp, python-nav--backward-sexp):
2490 New functions.
489af14f 2491
0fc50303
JB
24922012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2493
2494 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2495 modes and simplification modes.
2496
5d65606a
SM
24972012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * delsel.el (delete-selection-pre-hook): Don't propagate the
2500 file-supersession signals (bug#12161).
2501
4250fdf5
SM
25022012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2505 (cl-map-extents): Add compatibility aliases (bug#12135).
2506
d9f9b465
MA
25072012-08-08 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2510 tests by `ignore-error'.
2511 (tramp-find-shell): Open also a new shell, when cache is already
2512 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2513
ce0fcefa
JL
25142012-08-08 Juri Linkov <juri@jurta.org>
2515
2516 * bookmark.el: Add `defaults' property to the bookmark record.
2517 (bookmark-current-buffer): Doc fix.
2518 (bookmark-make-record): Add `defaults' property with default values
2519 to the bookmark record.
2520 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2521 with `bookmark-insert-current-bookmark'.
2522 (bookmark-set): Get `defaults' property from the bookmark record
2523 and use it in `read-from-minibuffer'.
2524 (bookmark-insert-current-bookmark): Remove function.
2525
2526 * info.el (Info-bookmark-make-record): Add `defaults' property
2527 with values of canonical Info node name, the current Info file
2528 name and the current Info node name. (Bug#12107)
2529
53fa8652
JL
25302012-08-08 Juri Linkov <juri@jurta.org>
2531
2532 * files.el (basic-save-buffer): Use `buffer-name' as the default
2533 of `read-file-name' when buffer is not visiting a file (bug#12128).
2534
242c0a95
JL
25352012-08-08 Juri Linkov <juri@jurta.org>
2536
2537 * info.el (Info-isearch-search): Doc fix.
2538 (Info-search): Change search-failed message from "initial node" to
2539 "end of node" (bug#12078).
2540 (Info-isearch-search): Change `isearch-string-state' to
2541 `isearch--state-string'.
2542
32ac3a6b
GM
25432012-08-08 Glenn Morris <rgm@gnu.org>
2544
2545 * language/persian.el: Remove file.
f8c1afd5 2546 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2547 * loadup.el: Remove language/persian.
2548
2c2d9c9c
OF
25492012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2550
2551 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2552
2d79ec42
FEG
25532012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2554
2555 * progmodes/python.el Fixed defsubst warning.
2556 (python-syntax-context) Rename from python-info-ppss-context.
2557 (python-syntax-context-type): Rename from
2558 python-info-ppss-context-type.
2559 (python-syntax-comment-or-string-p): Rename from
2560 python-info-ppss-comment-or-string-p.
2561
2bd255dd
JB
25622012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2563
2564 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2565
c395097f
AS
25662012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2567
6125983e
AS
2568 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2569 a defcustom that is quoted with backquote.
2570
4250fdf5
SM
2571 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2572 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2573 (math-do-arg-check, math-define-function-body): Use backquote forms.
2574 * calc/calc-ext.el (math-defcache): Likewise.
2575 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2576 * allout.el (allout-new-exposure): Likewise.
2577 * calc/calcalg2.el (math-tracing-integral): Likewise.
2578 * info.el (Info-last-menu-item): Likewise.
2579 * emulation/vip.el (vip-loop): Likewise.
2580 * textmodes/artist.el (artist-funcall): Likewise.
2581 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2582 Construct menu-item directly.
2583
4250fdf5
SM
2584 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2585 Don't declare.
c395097f 2586
5fb50dd3
CY
25872012-08-07 Chong Yidong <cyd@gnu.org>
2588
2589 * simple.el (deactivate-mark): Preserve text properties when
2590 saving the primary selection (Bug#8384).
2591
54eea618
KR
25922012-08-07 Kevin Ryde <user42@zip.com.au>
2593
2594 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2595 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2596 and continue processing (Bug#12110).
2597
638eaeb9
SM
25982012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2601 syntax-propertize-function (bug#10095).
2602
ea376861
SM
26032012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2604
f91b35be
SM
2605 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2606 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2607 describe-function-1.
2608 (describe-function-1): Use them. Move compiler macro after sig.
2609 (help-fns--compiler-macro): Use function-get. Assume we're already in
2610 standard-output. Adjust layout to new call order.
2611
ea376861
SM
2612 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2613 re-binding a symbol that has a symbol-macro (bug#12119).
2614
d5be7bd0
MB
26152012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2616
2617 * language/persian.el: New file. (Bug#11812)
2618 * loadup.el: Add language/persian.el.
2619
90749b53
CY
26202012-08-06 Chong Yidong <cyd@gnu.org>
2621
2622 * window.el (window--maybe-raise-frame): New function.
2623 (window--display-buffer): Split off from here.
2624 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2625 (display-buffer-pop-up-window, display-buffer-use-some-window):
2626 Obey an inhibit-switch-frame action alist entry.
2627 (display-buffer): Update doc.
2628
2629 * replace.el (occur-after-change-function): Avoid losing focus by
2630 using the inhibit-switch-frame display parameter (Bug#12139).
2631
ba7b0154
FEG
26322012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2633
2634 Make internal shell process buffer names start with space.
2635 * progmodes/python.el (python-shell-make-comint): Add optional
2636 argument INTERNAL.
2637 (run-python-internal): Use it.
2638 (python-shell-internal-get-or-create-process): Check for new
2639 internal buffer names.
2640
5eaeacb5
GM
26412012-08-06 Glenn Morris <rgm@gnu.org>
2642
e296d94b 2643 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2644 Do less getting and setting of environment variables.
2645
b7ccbdc2
CY
26462012-08-05 Chong Yidong <cyd@gnu.org>
2647
777fe95e
CY
2648 * proced.el (proced): Add substitution string to docstring to
2649 trigger autoloading of the proced library on C-h f (Bug#1768).
2650
4250fdf5
SM
2651 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2652 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2653
2654 * imenu.el (imenu-generic-expression): Move documentation here
2655 from imenu--generic-function.
2656 (imenu--generic-function): Refer to imenu-generic-expression.
2657
9e3b7800 26582012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2659
2660 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2661 indentation declaration.
2662 (viper-loop): Add indentation declaration (Bug#7025).
2663
e5d9c0d1
CY
26642012-08-05 Chong Yidong <cyd@gnu.org>
2665
f0422feb
CY
2666 * help-fns.el (describe-variable): Add hyperlink for
2667 directory-local variables files. Improve buffer-local and
2668 permanent-local reporting; suggested by MON KEY (Bug#6644).
2669
2670 * help-mode.el (help-dir-local-var-def): New button type.
2671
e5d9c0d1
CY
2672 * files.el (kill-buffer-hook): Provide a defvar.
2673
a4f2deaa
GM
26742012-08-05 Glenn Morris <rgm@gnu.org>
2675
2676 * eshell/esh-ext.el (eshell/addpath):
2677 Also update eshell-path-env. (Bug#12013)
2678
a9dd5754
CY
26792012-08-05 Chong Yidong <cyd@gnu.org>
2680
a4f2deaa 2681 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2682
d014c740
CY
2683 * fringe.el (fringe-styles): Add docstring.
2684 (fringe--check-mode): New function.
2685 (set-fringe-mode, set-fringe-style): Use it.
2686 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2687
a9dd5754
CY
2688 * files.el (set-auto-mode): Fix invalid setq call.
2689
7c2dc8bd
SM
26902012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * isearch.el: Misc simplification; use defstruct.
2693 (isearch-mode-map): Dense maps now work like sparse ones.
2694 (isearch--state): New defstruct.
2695 (isearch-string-state, isearch-message-state, isearch-point-state)
2696 (isearch-success-state, isearch-forward-state)
2697 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2698 (isearch-wrapped-state, isearch-barrier-state)
2699 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2700 replaced by defstruct's accessors.
2701 (isearch--set-state): Rename from isearch-top-state and change
2702 calling convention.
2703 (isearch-push-state): Use new isearch--get-state.
2704 (isearch-toggle-word): Disable regexp when enabling word.
2705 (isearch-message-prefix): Remove unused arg _c-q-hack.
2706 (isearch-message-suffix): Remove unused arg _ellipsis.
2707
7fcc0070
AS
27082012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2709
2710 * simple.el (list-processes--refresh): For a server use :host or
2711 :local as the address.
97ad0769 2712 (list-processes): Doc fix.
7fcc0070 2713
00340faf
MN
27142012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2715
2716 * lisp/mpc.el: Support password in host argument.
2717 (mpc--proc-connect): Parse and use new password element.
2718 Set mpc-proc variable instead of returning process.
2719 (mpc-proc): Adjust accordingly.
2720
6dad7178
EZ
27212012-08-03 Eli Zaretskii <eliz@gnu.org>
2722
18949c2f
EZ
2723 * whitespace.el (whitespace-display-mappings): Use Unicode
2724 codepoints, instead of emacs-mule codepoints. See
2725 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2726 for the details.
2727
6dad7178
EZ
2728 * files.el (file-truename): Don't skip symlink-chasing part on
2729 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2730 Windows into the loop that recursively chases symlinks.
2731 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2732 MS-DOS.
2733
385b0198
CY
27342012-08-03 Chong Yidong <cyd@gnu.org>
2735
6200f3c4
CY
2736 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2737
385b0198
CY
2738 * sort.el (sort-regexp-fields): Doc fix.
2739
b9e74744
TH
27402012-08-03 Tassilo Horn <tsdh@gnu.org>
2741
2742 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2743 labels regex position point at the expected place.
2744
41013cb4
MK
27452012-08-03 MON KEY <monkey@sandpframing.com>
2746
2747 * net/imap.el (imap-interactive-login, imap-authenticate)
2748 (imap-mailbox-lsub, imap-mailbox-list)
2749 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2750 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2751 (imap-parse-response): Doc fix.
2752
0ffee616
JT
27532012-08-03 João Távora <joaotavora@gmail.com>
2754
2755 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2756 if sexp scanning does not move point (Bug#5734).
2757
cfcc9cc8
TH
27582012-08-02 Tassilo Horn <tsdh@gnu.org>
2759
2760 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2761 Add listings, minted, and ctable packages.
2762 (reftex-label-alist-builtin): Move listings, minted, and ctable
2763 entries before LaTeX.
a01bbb84 2764 (reftex-label-alist): Docfix.
cfcc9cc8 2765
66ec2442
BG
27662012-08-02 Bastien Guerry <bzg@gnu.org>
2767
2768 * replace.el (occur): Fix docstring (bug#12122).
2769
837b365b
GM
27702012-08-02 Glenn Morris <rgm@gnu.org>
2771
2772 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2773
e098de97
PE
27742012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2775
2776 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2777 * international/mule-cmds.el: Create
2778 inactivate-current-input-method-function as an obsolete alias for
2779 deactivate-current-input-method-function. See Katsumi Yamaoka in
2780 <http://bugs.gnu.org/10150#46>.
2781
a0f95636
JB
27822012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2783
2784 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2785 of nested `if's.
2786
0d26d7c4
GM
27872012-08-01 Glenn Morris <rgm@gnu.org>
2788
2789 * progmodes/autoconf.el (autoconf-definition-regexp):
2790 Add AH_TEMPLATE, adjust submatch numbering.
2791 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2792 (autoconf-current-defun-function): Update for above change.
2793 (autoconf-current-defun-function): First skip to end of current word.
2794
b686ba06
RS
27952012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2796
2797 * calendar/cal-html.el (cal-html-insert-agenda-days):
2798 Fix typo. (Bug#12018)
2799
0d49da68
FEG
28002012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2801
2802 Shell processes: enhancements to startup and CEDET compatibility.
2803 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2804 (python-shell-make-comint): accept-process-output at startup.
2805 (run-python-internal): Set inferior-python-mode-hook to nil.
2806 (python-shell-internal-get-or-create-process): call sit-for.
2807 (python-preoutput-result): Add obsolete alias.
2808 (python-shell-internal-send-string): Use it.
2809 (python-shell-send-setup-code): Remove call to
2810 accept-process-output.
2811
f1a71c6e
AS
28122012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2813
2814 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2815 (Bug#12108)
2816
d2605269
JB
28172012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2818
2819 * calc-mode.el (calc-basic-simplification-mode): Rename from
2820 `calc-limited-simplification-mode'.
2821 (calc-alg-simplification-mode): New function.
d66060f8 2822 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2823
d2605269
JB
2824 * calc.el (calc-set-mode-line): Adjust mode line display for
2825 basic simplification mode.
2826
2827 * calc-help.el (calc-m-prefix-help): Update help message.
2828
2829 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2830 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2831
a3827a43
BG
28322012-07-31 Bastien Guerry <bzg@gnu.org>
2833
2834 * man.el (man): Fix comment. (bug#12101)
2835
502e3f89
MR
28362012-07-31 Martin Rudalics <rudalics@gmx.at>
2837
2838 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2839 Don't return a non-nil value when no suitable buffer was found.
2840
d7714961
FEG
28412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2842
2843 * progmodes/python.el (run-python-internal): Disable font lock for
2844 internal shells.
2845
1f45e27e
SM
28462012-07-30 Stefan Merten <smerten@oekonux.de>
2847
2848 * rst.el: Silence `checkdoc-ispell'.
2849 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2850 (rst-official-version, rst-official-cvs-rev)
2851 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2852 (rst-mode-map): New key binding.
2853
0aee6912
PE
28542012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2855
2856 Update .PHONY listings in makefiles.
2857 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2858 autoloads, update-subdirs, updates, bzr-update, update-authors,
2859 compile-onefile, compile-calc, backup-compiled-files,
2860 compile-after-backup, compile-one-process, mh-autoloads,
2861 bootstrap-clean, distclean, maintainer-clean.
2862
9052f9f0
JB
28632012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2864
1823ac5a
JB
2865 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2866 (calc-set-mode-line): Don't display "AlgSimp ".
2867
2868 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2869 (calc-lim-simplify-mode): New function.
2870 (calc-set-simplify-mode): Default to 'alg.
2871 (calc-default-simplify-mode): Make algebraic simplifications
2872 the default.
2873
2874 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2875 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2876
8d7c7eed 2877 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2878 indicate new simplification modes.
2879
1823ac5a
JB
2880 * calc/README: Mention new default simplification mode.
2881
9052f9f0
JB
2882 * calc/calc.el (math-normalize-error): New variable.
2883 (math-normalize): Set `math-normalize-error' to t
2884 when there's an error.
2885
2886 * calc/calc-alg.el (math-simplify): Don't simplify when
2887 `math-normalize' returns an error.
2888
20ba0cb4
EZ
28892012-07-29 Eli Zaretskii <eliz@gnu.org>
2890
2891 * international/mule-cmds.el (set-locale-environment): Revert last
2892 change, since display-graphic-p returns nil when this function is
2893 called during startup. Instead...
2894
2895 * term/w32console.el (terminal-init-w32console): ...setup the
2896 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2897
a5dcc929
JL
28982012-07-29 Juri Linkov <juri@jurta.org>
2899
2900 * simple.el (goto-line): Don't display default line number in the
2901 prompt because it should be displayed by `read-number' (bug#9952).
2902 Add the current line number to the defaults of `goto-line' to
2903 allow its easier modification by users with `M-n' (bug#9201).
2904
2905 * subr.el (read-number): Support multiple default values like in
2906 other minibuffer reading functions. Replace `read' with
2907 `string-to-number' for consistency with `number-to-string'.
2908
72b255c7
PE
29092012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2910
2911 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2912 * emulation/viper-init.el (viper-deactivate-input-method-action):
2913 Rename from viper-inactivate-input-method-action.
2914 (viper-deactivate-input-method):
2915 Rename from viper-inactivate-input-method.
2916 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2917 * international/mule-cmds.el (deactivate-input-method):
2918 Rename from inactivate-input-method.
2919 Also run input-method-deactivate-hook.
2920 (deactivate-current-input-method-function):
2921 Rename from inactivate-current-input-method-function.
2922 (input-method-deactivate-hook): New hook.
2923 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2924 (inactivate-input-method): Mark obsolete.
2925
72b255c7
PE
2926 * international/quail.el (quail-activate):
2927 Also run quail-deactivate-hook.
2928 (quail-deactivate): Rename from quail-inactivate.
2929 * international/robin.el (robin-activate):
2930 Also run robin-deactivate-hook.
2931 (robin-deactivate): Rename from robin-inactivate.
2932
2549c068
CY
29332012-07-29 Chong Yidong <cyd@gnu.org>
2934
2935 * simple.el (indicate-copied-region): New function.
2936 (kill-ring-save): Split off from here.
2937
2938 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2939 (kill-rectangle): Set deactivate-mark to t on read-only error.
2940
2941 * register.el (copy-to-register, copy-rectangle-to-register):
2942 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2943 (append-to-register, prepend-to-register):
2944 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2945
2946 * simple.el (async-shell-command-buffer): New defcustom.
2947 (shell-command): Use it. (Bug#4719)
2948
01bd1b0d
EZ
29492012-07-28 Eli Zaretskii <eliz@gnu.org>
2950
2951 * international/mule-cmds.el (set-locale-environment): In a
2952 console session on MS-Windows, set up keyboard and terminal
2953 encoding from the OEM codepage, not the ANSI codepage.
2954 (Bug#12055)
2955
a55739d3
CY
29562012-07-28 Chong Yidong <cyd@gnu.org>
2957
2958 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2959 gdb-get-location.
2960
0e1a094f 29612012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2962
2963 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2964 the alist (bug#12029).
2965
20329d73
EZ
29662012-07-28 Eli Zaretskii <eliz@gnu.org>
2967
2968 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2969 (compile-always, compile-first)
2970 ($(lisp)/calendar/cal-loaddefs.el)
2971 ($(lisp)/calendar/diary-loaddefs.el)
2972 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2973 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2974 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2975 instead of on update-subdirs.
2976 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2977
345a2258
CY
29782012-07-28 Chong Yidong <cyd@gnu.org>
2979
1eee6341
CY
2980 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2981 directory if vc-deduce-backend returns nil (Bug#7350).
2982
345a2258
CY
2983 * simple.el (delete-trailing-lines): New option.
2984 (delete-trailing-whitespace): Obey it (Bug#11879).
2985
049a0936
DE
29862012-07-28 David Engster <deng@randomsample.de>
2987
2988 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2989 Explanation of new 'symbol-qnames feature in doc-strings.
2990 (xml-maybe-do-ns): Return expanded names as plain symbols if
2991 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2992 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2993
aa81af71
FEG
29942012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2995
2996 Consistent completion in inferior python with emacs -nw.
2997 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2998 binding in inferior-python-mode-map with "\t".
2999 (python-shell-completion-complete-at-point)
3000 (python-completion-complete-at-point): Remove interactive spec.
3001
e827b1eb
JB
30022012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3003
3004 * calc/calccomp.el (math-compose-expr): Undo previous change.
3005
a90dfb95
FEG
30062012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3007
4250fdf5 3008 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3009 run-python.
3010 (python-shell-make-comint): Fix pop-to-buffer call.
3011 (run-python): Autoload. New arg SHOW.
3012 (python-shell-get-or-create-process): Do not pop python process
3013 buffer.
3014
32770973 30152012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3016
3017 * notifications.el (notifications-on-action-signal)
3018 (notifications-on-closed-signal): Use also the bus address for the map.
3019 (notifications-notify, notifications-close-notification)
3020 (notifications-get-capabilities): Add optional argument BUS.
3021
86332df2
TH
30222012-07-27 Tassilo Horn <tsdh@gnu.org>
3023
4250fdf5
SM
3024 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3025 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3026 ctable macro.
3027 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3028 labels written in keyvals syntax.
3029
ca1302a4
JB
30302012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3031
3032 * calc/calccomp.el (math-compose-expr): Use parentheses when
3033 there is a product in the denominator of a fraction.
3034
f8b91036
EZ
30352012-07-26 Eli Zaretskii <eliz@gnu.org>
3036
3037 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3038 ($(lisp)/calendar/diary-loaddefs.el)
3039 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3040 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3041 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3042 rewritten while the autoload files are built at the same time,
3043 which needs to load subdirs.el.
3044
c8e5a42c
MR
30452012-07-26 Martin Rudalics <rudalics@gmx.at>
3046
3047 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3048 (mouse-drag-line): Don't exit tracking when a switch-frame or
3049 switch-window event occurs (Bug#12006).
3050
670d85ea
SM
30512012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * mouse.el (popup-menu): Fix last change.
3054
7abaf5cc
SM
30552012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 Autoload from Lisp with more care. Follow aliases when looking for
3058 function properties.
3059 * subr.el (autoloadp): New function.
3060 (symbol-file): Use it.
3061 (function-get): New function.
3062 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3063 autoload-do-load.
3064 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3065 (lisp-indent-function):
3066 * emacs-lisp/gv.el (gv-get):
3067 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3068 * emacs-lisp/byte-opt.el (byte-optimize-form):
3069 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3070 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3071 Use function-get.
3072 * emacs-lisp/cl.el: Don't propagate function properties any more.
3073
3074 * speedbar.el (speedbar-add-localized-speedbar-support):
3075 * emacs-lisp/disass.el (disassemble-internal):
3076 * desktop.el (desktop-load-file):
3077 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3078 (describe-function-1):
3079 * emacs-lisp/find-func.el (find-function-noselect):
3080 * emacs-lisp/elp.el (elp-instrument-function):
3081 * emacs-lisp/advice.el (ad-has-proper-definition):
3082 * apropos.el (apropos-safe-documentation, apropos-macrop):
3083 * emacs-lisp/debug.el (debug-on-entry):
3084 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3085 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3086 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3087
b1364986
AA
30882012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3089
3090 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3091 function, not an obsolete variable (Bug#12046).
3092
67ada220
AS
30932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3094
3095 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3096
f08088e3
CS
30972012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3098
3099 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3100 window only if it is still live (Bug#12034).
3101
8137e7b3
MR
31022012-07-25 Martin Rudalics <rudalics@gmx.at>
3103
3104 * subr.el (redirect-frame-focus): Add advertised calling
3105 convention (Bug#12030).
3106
09ae5da1
PE
31072012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3108
3109 Prefer typical American spelling for "acknowledgment".
3110 * vc/add-log.el (change-log-acknowledgment): Rename from
3111 change-log-acknowledgement, with an alias for the old name.
3112
3cc5a3a8
JB
31132012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3114
3115 * calc-alg.el (math-simplify-divide): Don't cross multiply
3116 in an equation when the lhs is a variable.
3117
b7af7f62
JD
31182012-07-24 Julien Danjou <julien@danjou.info>
3119
3120 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3121 Remove, unused.
3122
ec1b09b1
EZ
31232012-07-23 Eli Zaretskii <eliz@gnu.org>
3124
3125 * startup.el (command-line): Don't display an empty user name in
3126 the error message about non-existent home directory, when
3127 init-file-user was set to an empty string. See
3128 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3129 for the details and context.
3130
b525fd8a
VB
31312012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3132
3133 * ses.el (ses-cell-formula-aset): New macro.
3134 (ses-cell-references-aset): New macro.
3135 (ses-cell-p): New function.
3136 (ses-rename-cell): Do no longer rely on complex operations like
3137 ses-cell-set-formula or ses-set-cell to change the cell and handle
3138 the undo at the same time, but rather use lower level new macros
3139 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3140 the undo directly. Refresh the mode line.
3141
2c73e345
LL
31422012-07-21 Leo Liu <sdl.web@gmail.com>
3143
670d85ea
SM
3144 * progmodes/cc-cmds.el (c-defun-name):
3145 Use match-string-no-properties instead for consistency.
2c73e345 3146
542dfbde
LL
31472012-07-20 Leo Liu <sdl.web@gmail.com>
3148
3646bcd6
LL
3149 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3150 (Bug#7879)
3151
542dfbde
LL
3152 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3153
25721031
CY
31542012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3157 * progmodes/bug-reference.el, misearch.el: Provide themselves
3158 (bug#11915).
3159
3160 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3161 of narrowed buffer (bug#11966).
3162
316e68a7
VB
31632012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3164
3165 * ses.el (ses-rename-cell): Set new name also in reference list of
3166 cells of which the renamed cell depends.
3167
bbf0e7d9
MY
31682012-07-20 Masatake YAMATO <yamato@redhat.com>
3169
3170 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3171 to check whether menu-bar is shown or not. If not shown,
3172 show the menu-bar as a popup menu instead of using tmm.
3173 * mouse.el (popup-menu): Accept `point' as `position' argument.
3174
c28662a8
DG
31752012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3176
3177 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3178 up inside string symbol literal (bug#11923).
3179
87ab808f
EZ
31802012-07-20 Eli Zaretskii <eliz@gnu.org>
3181
3182 * startup.el (fancy-startup-text): Read the whole tutorial, not
3183 just its first 256 bytes. Prevents gibberish in display of the
3184 tutorial title.
3185
89dea803
DA
31862012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3187
3188 Drop idle buffer compaction due to an absence of the
3189 proved efficiency.
3190 * compact.el: Remove.
3191
8a4e6db8
SS
31922012-07-19 Sam Steingold <sds@gnu.org>
3193
3194 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3195 vc-bzr-pull & vc-bzr-merge-branch.
3196 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3197 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3198 for consistency with compilation-error-regexp-alist.
3199 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3200 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3201 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3202 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3203
5db81e33
SM
32042012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3205
3206 * emacs-lisp/chart.el: Use lexical-binding.
3207 (chart-emacs-storage): Don't hardcode the list of entries.
3208
5b835e1d
DA
32092012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3210
3211 Next round of tweaks caused by Fgarbage_collect changes.
3212 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3213
9cd47b72
DA
32142012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3215
3216 Compact buffers when idle.
3217 * compact.el: New file.
3218
1d6fc0df
SM
32192012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * subr.el (eventp): Presume that if it looks vaguely like an event,
3222 it's an event (bug#10190).
3223
1d29cc7d
FEG
32242012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3225
3226 Enhancements to ppss related code (thanks Stefan).
3227 * progmodes/python.el (python-indent-context)
3228 (python-indent-calculate-indentation, python-indent-dedent-line)
3229 (python-indent-electric-colon, python-nav-forward-block)
3230 (python-mode-abbrev-table)
1d6fc0df 3231 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3232 for ppss context.
3233 (python-info-continuation-line-p): Cleanup.
3234 (python-info-ppss-context): Do not catch 'quote.
3235 (python-info-ppss-context-type)
3236 (python-info-ppss-comment-or-string-p): Simplify.
3237
d583cbe6
FEG
32382012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3239
3240 * progmodes/python.el: Enhancements to eldoc support.
3241 (python-info-current-symbol): New function.
3242 (python-eldoc-at-point): Use python-info-current-symbol.
3243 (python-info-current-defun): Fix cornercase on first defun scan.
3244 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3245 and signal error when no inferior python process is available.
3246
eceb6feb
DG
32472012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3250 assume it's always t.
3251 (vc-git-registered): Remove caching, the function is only called
3252 once.
3253 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3254
4c8ff0fe
CY
32552012-07-18 Chong Yidong <cyd@gnu.org>
3256
19fb7186
CY
3257 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3258
9587c688
CY
3259 * simple.el (count-words): Report on narrowing (Bug#9959).
3260
0fe776a1
CY
3261 * bindings.el: Bind M-= to count-words.
3262
4c8ff0fe
CY
3263 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3264
7f5331cc
MY
32652012-07-18 Masatake YAMATO <yamato@redhat.com>
3266
3267 * progmodes/sh-script.el (sh-imenu-generic-expression):
3268 Capture a function with `function' keyword and without parentheses
3269 like "function FOO" (bug#11856).
3270
2dc2a609
TH
32712012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3272
3273 * window.el (split-window-sensibly): Make WINDOW argument
3274 optional.
3275
439f7677
CY
32762012-07-18 Chong Yidong <cyd@gnu.org>
3277
9aeb25a6
CY
3278 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3279
439f7677
CY
3280 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3281 and make C-x 8 RET exit isearch (Bug#11439).
3282
3283 * international/iso-transl.el: Move isearch-mode-map key
3284 definitions to isearch.el.
3285
12999ea8
SM
32862012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3289 (eieio-defclass): Use gv-define-setter when possible.
3290
3ab6e069
DA
32912012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3292
3293 Reflect recent changes in Fgarbage_collect.
3294 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3295 reflect new format of data returned by Fgarbage_collect.
3296
0a60bc10
FEG
32972012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3298
3299 New utility functions + python-info-ppss-context fix (Bug#11910).
3300 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3301 (python-info-ppss-comment-or-string-p): New functions.
3302 (python-info-ppss-context): Small fix for string check.
3303
6dafa0d5
JL
33042012-07-17 Juri Linkov <juri@jurta.org>
3305
3306 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3307 (dired-do-async-shell-command): Don't add `*' at the end of the
3308 command (Bug#11815).
3309 (dired-do-shell-command): Doc fix.
3310 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3311 Join the individual commands using either "&" or ";" as the
3312 separator depending on the values of these trailing characters.
3313 At the end re-add the trailing "&". (Bug#10598)
3314
3315 * simple.el (async-shell-command): Sync the interactive spec with
3316 `shell-command'. Doc fix.
3317 (shell-command): Doc fix.
3318
b19dd9d1
JL
33192012-07-17 Juri Linkov <juri@jurta.org>
3320
3321 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3322
bcdc27d7 33232012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3324
bcdc27d7 3325 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3326 * progmodes/python.el (python-nav-beginning-of-statement):
3327 Rename from python-nav-statement-start.
bcdc27d7
FEG
3328 (python-nav-end-of-statement): Rename from
3329 python-nav-statement-end.
3330 (python-nav-beginning-of-block): Rename from
3331 python-nav-block-start.
3332 (python-nav-end-of-block): Rename from python-nav-block-end.
3333
191da00e
FEG
33342012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3335
7f5331cc
MY
3336 * progmodes/python.el (python-shell-send-string-no-output):
3337 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3338 future interactions (Bug#11868).
3339
4dc7c8d5 33402012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3341
88ecaf8f
SM
3342 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3343
ef501ef0
SM
3344 * emacs-lisp/elint.el (elint-find-args-in-code):
3345 Use help-function-arglist, so as to handle lexical byte-code.
3346
aa7aaf8f
SM
3347 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3348 change (bug#11826).
3349
45fd731c
SM
33502012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3351
2143fa32
SM
3352 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3353 Avoid spuriously marking the buffer as modified because of c-is-sws.
3354
efc26dbe
SM
3355 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3356 as not-a-comment (bug#11946).
3357
f5695c9a
SM
3358 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3359 for uninterned vars.
3360
3361 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3362 Use read-event since we don't really want to read chars but bytes.
3363
45fd731c
SM
3364 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3365 $$..$$ but also $..$ using regexps (bug#11953).
3366 Use tex-verbatim for \url and \path.
3367 (tex-font-lock-keywords): Define as defconst like the others.
3368 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3369
ddfc8813
RK
33702012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3371
3372 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3373 alias for insert-char.
3374
758e556a
FEG
33752012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3376
3377 * progmodes/python.el: Simplified imenu implementation.
3378 (python-nav-jump-to-defun): Remove command.
3379 (python-mode-map): Use `imenu' instead.
3380 (python-nav-list-defun-positions-cache)
3381 (python-imenu-include-defun-type, python-imenu-make-tree)
3382 (python-imenu-subtree-root-label, python-imenu-index-alist):
3383 Remove vars.
3384 (python-nav-list-defun-positions, python-nav-read-defun)
3385 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3386 (python-imenu-make-tree, python-imenu-create-index):
3387 Remove functions.
758e556a
FEG
3388 (python-mode): Update to interact with imenu by setting
3389 `imenu-extract-index-name-function' only.
3390
032d23ab
FEG
33912012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3392
3393 * progmodes/python.el: Enhancements to navigation commands.
3394 (python-nav-backward-sentence)
3395 (python-nav-forward-sentence): Remove.
3396 (python-nav-backward-statement, python-nav-forward-statement)
3397 (python-nav-statement-start, python-nav-statement-end)
3398 (python-nav-backward-block, python-nav-forward-block)
3399 (python-nav-block-start, python-nav-block-end)
3400 (python-nav-forward-sexp-function)
3401 (python-info-current-line-comment-p)
3402 (python-info-current-line-empty-p): New functions.
3403 (python-indent-context): Use `python-nav-statement-start'.
3404
01795a1b
MA
34052012-07-16 Michael Albinus <michael.albinus@gmx.de>
3406
9328d9aa
MA
3407 * eshell/em-ls.el (eshell/ls): Use `apply'.
3408
3409 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3410 multi-hops, instead of Tramp internals.
3411
01795a1b
MA
3412 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3413
3414 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3415 when F1 and F2 are located on different hosts.
3416
63408057
CY
34172012-07-14 Chong Yidong <cyd@gnu.org>
3418
3419 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3420 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3421 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3422 (xterm-mouse--read-event-sequence-1000)
3423 (xterm-mouse--read-event-sequence-1006): New functions. For old
3424 mouse protocol, handle M-mouse-X events correctly.
3425 (xterm-mouse-event): New arg specifying mouse protocol.
3426 (turn-on-xterm-mouse-tracking-on-terminal)
3427 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3428 sequence to toggle extended coordinates on newer XTerms.
3429 This appears to be harmless on terminals which do not support this.
63408057 3430
cd276f6e
LL
34312012-07-14 Leo Liu <sdl.web@gmail.com>
3432
28ca98ac
LL
3433 Add fringe bitmap indicators for flymake. (Bug#11253)
3434 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3435 (flymake-make-overlay): New arg BITMAP.
3436 (flymake-error-bitmap, flymake-warning-bitmap)
3437 (flymake-fringe-indicator-position): New user variables.
3438
cd276f6e
LL
3439 * fringe.el: New bitmap exclamation-mark.
3440
04408072
JD
34412012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3442
3443 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3444 also (Bug#7879).
3445
b5cf7fc4
CY
34462012-07-14 Chong Yidong <cyd@gnu.org>
3447
3448 * electric.el (electric-pair-post-self-insert-function): Fix pair
3449 insertion in empty-region case (Bug#11520).
3450
be755c79
RT
34512012-07-14 Chong Yidong <cyd@gnu.org>
3452
45fd731c
SM
3453 * bindings.el: Consolidate ctl-x-r-map bindings.
3454 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3455
3456 * rect.el, register.el: Move bindings to bindings.el.
3457
34582012-07-14 Reuben Thomas <rrt@sc3d.org>
3459
3460 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3461
7f5b3198
AS
34622012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3463
3464 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3465
97662200
JB
34662012-07-13 Juanma Barranquero <lekktu@gmail.com>
3467
80185fed
JB
3468 * bindings.el (top): Use `mapc' instead of `mapcar'.
3469
97662200
JB
3470 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3471
2bb1ae55
MA
34722012-07-13 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * progmodes/sql.el (sql-comint): Suppress the check for program on
3475 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3476 (Bug#11908)
3477
dea31bd3
CY
34782012-07-13 Chong Yidong <cyd@gnu.org>
3479
3480 * bindings.el: Assign a non-nil permanent-local property to
3481 per-buffer variables which lack a default value (Bug#11930).
3482
3483 * help-fns.el (describe-variable): In the "automatically becomes
3484 local" notice, take note of permanent-local variables.
3485
b68b3337
CY
34862012-07-13 Chong Yidong <cyd@gnu.org>
3487
3488 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3489 to allow printing the message when called from Lisp.
3490
3491 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3492 Remove toggle-read-only.
3493
3494 * bs.el (bs-toggle-readonly):
45fd731c
SM
3495 * buff-menu.el (Buffer-menu-toggle-read-only):
3496 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3497
3498 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3499 Remove with-no-warnings around toggle-read-only.
3500 (ffap-read-only, ffap-read-only-other-window)
3501 (ffap-read-only-other-frame): Callers changed.
3502
3503 * help-mode.el: Don't require view package.
3504 (help-mode-finish): Set buffer-read-only instead of calling
3505 toggle-read-only.
3506
3507 * bindings.el (mode-line-toggle-read-only):
3508 * dired.el (dired-toggle-read-only):
3509 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3510 with non-nil second arg.
3511
3512 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3513 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3514 directly.
3515
56bc1586
EZ
35162012-07-12 Eli Zaretskii <eliz@gnu.org>
3517
3518 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3519 not incf.
3520
a464a6c7
SM
35212012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 More CL cleanups and reduction of use of cl.el.
3524 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3525 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3526 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3527 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3528 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3529 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3530 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3531 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3532 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3533 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3534 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3535 * eshell/em-cmpl.el, eshell/em-banner.el:
3536 * calendar/parse-time.el: Use cl-lib.
3537 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3538 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3539 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3540 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3541 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3542 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3543 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3544 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3545 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3546 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3547 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3548 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3549 `lambda' rather than with `quote'.
3550 (eshell-do-opt): Adjust accordingly.
3551 (eshell-process-option): Simplify.
3552 * eshell/esh-var.el:
3553 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3554 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3555 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3556 to `pcase--dontcare'.
3557 * emacs-lisp/cl.el (labels): Mark obsolete.
3558 (cl--letf, letf): Move to cl-lib.
3559 (cl--letf*, letf*): Remove.
3560 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3561 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3562 (cl-progv): Rewrite.
3563 (cl--letf, cl-letf): Move from cl.el.
3564 (cl-letf*): New macro.
3565 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3566
7ad4afe1
MA
35672012-07-11 Michael Albinus <michael.albinus@gmx.de>
3568
3569 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3570
9af57756
CY
35712012-07-11 Chong Yidong <cyd@gnu.org>
3572
3573 * vc/log-edit.el (log-edit-vc-backend): New variable.
3574 (log-edit): Doc fix.
3575
3576 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3577 argument of log-edit to set up all local variables.
3578 (vc-start-logentry): New optional arg specifying VC backend.
3579
3580 * vc/vc.el (vc-checkin): Use it.
3581 (vc-deduce-fileset): Handle Log Edit buffers.
3582 (vc-diff): Make first argument optional too.
3583
3584 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3585
8477cc7a
MA
35862012-07-10 Michael Albinus <michael.albinus@gmx.de>
3587
3588 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3589 command, just in case. The function is not needed anymore.
3590 (eshell-external-command): Do not call `eshell-remote-command'.
3591
19faa8e8
SM
35922012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3593
f58e0fd5
SM
3594 Reduce use of (require 'cl).
3595 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3596 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3597 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3598 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3599 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3600 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3601 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3602 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3603 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3604 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3605 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3606 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3607 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3608 (byte-compile-unfold-bcf, byte-compile-check-variable):
3609 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3610 (byte-compile-nilconstp):
3611 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3612 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3613
2519d43a
SM
3614 * emacs-lisp/gv.el (cond): Make it a valid place.
3615 (if): Simplify slightly.
3616
19faa8e8
SM
3617 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3618 (pcase--self-quoting-p): New function.
3619 (pcase--u1): Use it.
3620
c4907a5e
GM
36212012-07-10 Glenn Morris <rgm@gnu.org>
3622
3623 * emacs-lisp/authors.el (authors-fixed-entries):
3624 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3625
c4444d16
PE
36262012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3627
3628 Rename configure.in to configure.ac (Bug#11603).
3629 * emacs-lisp/authors.el (authors-canonical-file-name):
3630 * progmodes/autoconf.el (autoconf-mode):
3631 Prefer configure.ac to configure.in.
3632
d75be97d
CY
36332012-07-08 Chong Yidong <cyd@gnu.org>
3634
01ac65bd
CY
3635 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3636 Implement the mouse-1-click-follows-link handling properly.
3637
3638 * info.el (Info-link-keymap): Use follow-link mechanism for
3639 header-line links (Bug#374).
3640
d75be97d
CY
3641 * simple.el (deactivate-mark): Do not set the primary selection
3642 if another program has acquired it (Bug#11772).
3643
87a92845 36442012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3645
3646 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3647 (woman-decode-region): Replace escaped-escapes without destroying
3648 bold or underline (Bug#11552).
87a92845 3649 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3650
621b9d6c
CY
36512012-07-07 Chong Yidong <cyd@gnu.org>
3652
3653 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3654 (interprogram-cut-function, interprogram-paste-function):
3655 Mention that we typically mean the clipboard.
621b9d6c 3656
133a11fc
GM
36572012-07-06 Glenn Morris <rgm@gnu.org>
3658
0d27a45e
GM
3659 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3660
133a11fc
GM
3661 * files.el (toggle-read-only): Restrict message to interactive use.
3662
07b151f1
MA
36632012-07-06 Michael Albinus <michael.albinus@gmx.de>
3664
3665 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3666
3667 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3668
211b896b
GM
36692012-07-06 Glenn Morris <rgm@gnu.org>
3670
50394322
GM
3671 * Makefile.in (compile-one-process): Rename from "recompile".
3672
211b896b
GM
3673 * Makefile.in (bzr-update): "compile" is the same as "recompile
3674 autoloads", but parallelizable, so use that instead.
3675
4737eec9
DG
36762012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3677
3678 * window.el (quit-window): Always restore window height when
8137e7b3 3679 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3680
226c3633 36812012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3682
3683 * simple.el (kill-whole-line): Doc tweak.
3684
226c3633 36852012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3686
3687 * files.el (file-relative-name): Compare file names
3688 case-insensitively if on MS-Windows or MS-DOS, or if
3689 read-file-name-completion-ignore-case is non-nil. Don't use
3690 case-fold-search for this purpose. (Bug#11827)
3691
4dc7c8d5
SM
36922012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3693
3694 * calendar/cal-dst.el (calendar-current-time-zone):
3695 Return calendar-current-time-zone-cache if non-nil.
3696
36972012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 36982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3699
19faa8e8
SM
3700 * calendar/cal-dst.el (calendar-current-time-zone):
3701 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3702
60198fc9
GM
37032012-07-06 Glenn Morris <rgm@gnu.org>
3704
3705 * Makefile.in (cvs-update): Remove old alias.
3706
957b3189
MA
37072012-07-05 Michael Albinus <michael.albinus@gmx.de>
3708
3709 Sync with Tramp 2.2.6-pre.
3710
3711 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3712 compatible declaration.
3713
19faa8e8
SM
3714 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3715 Protect `list-load-path-shadows' call.
957b3189
MA
3716
3717 * net/tramp-compat.el (top): Require packages, which aren't
3718 autoloaded anymore for XEmacs. Protect call of
3719 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3720 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3721 it hurts at least for SXEmacs.
3722 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3723 standard-value for `temporary-file-directory'.
3724
3725 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3726 Redirect stderr to /dev/null.
3727 (tramp-sh-handle-write-region): uid and gid can be floats.
3728 Reported by Russell Sim <russell.sim@gmail.com>.
3729 (tramp-sh-handle-vc-registered): Hide errors.
3730 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3731 and `start-file-process'.
3732 (tramp-maybe-open-connection): Check also whether `non-essential'
3733 is bound.
3734
566df3fc
CY
37352012-07-04 Chong Yidong <cyd@gnu.org>
3736
3737 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3738 (xml-parse-tag): Likewise, and avoid changing entity tables.
3739 (xml-syntax-table): Define from scratch, making sure not to give
3740 x2000 and other Unicode spaces whitespace syntax, since those are
3741 not spaces in XML.
3742 (xml-parse-fragment): Delete unused function.
3743 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3744 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3745 (xml-entity-ref, xml-pe-reference-re)
3746 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3747 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3748 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3749 (xml-entity-value-re): Use syntax references in regexps where
3750 possible; no need to define inside a let-binding.
3751 (xml-parse-dtd): Use xml-pe-reference-re.
3752 (xml-entity-or-char-ref-re): New defconst.
3753 (xml-parse-string, xml-substitute-special): Use it.
3754
30eabd7a
SM
37552012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3756
0781098a
SM
3757 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3758 (find-file--read-only): New function.
3759 (find-file-read-only, find-file-read-only-other-window)
3760 (find-file-read-only-other-frame): Use it.
3761 (insert-file-contents-literally): Don't `fset'.
3762 (get-free-disk-space): Use locate-dominating-file.
3763
b5771c0d
SM
3764 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3765 function is already compiled.
3766
30eabd7a
SM
3767 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3768
b4886f6e
MA
37692012-07-03 Michael Albinus <michael.albinus@gmx.de>
3770
3771 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3772 files on the same host.
3773
b9d82339
AS
37742012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3775
3776 * help-fns.el (describe-function-1): Only call
3777 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3778
a76e6535
CY
37792012-07-03 Chong Yidong <cyd@gnu.org>
3780
3781 * xml.el: Protect parser against XML bombs.
3782 (xml-entity-expansion-limit): New variable.
3783 (xml-parse-string, xml-substitute-special): Use it.
3784 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3785
b544fef2
GM
37862012-07-03 Glenn Morris <rgm@gnu.org>
3787
3788 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3789 Allow linking to specific messages in debbugs reports (eg 123#5).
3790
a7aef6f5
CY
37912012-07-02 Chong Yidong <cyd@gnu.org>
3792
3793 * xml.el: Fix entity and character reference expansion, allowing
3794 them to expand into markup as per XML spec.
3795 (xml-default-ns): New variable.
3796 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3797 (xml-parse-region): Make first two arguments optional.
3798 Discard text properties.
3799 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3800 All callers changed.
a7aef6f5
CY
3801 (xml-parse-tag): Call xml-parse-tag-1. For backward
3802 compatibility, this function should not modify buffer contents.
3803 (xml-parse-tag-1): Fix opening-tag regexp.
3804 (xml-parse-string): Rewrite, handling entity and character
3805 references properly.
3806 (xml--entity-replacement-text): Signal an error if a parameter
3807 entity is undefined.
3808
3df31c9f
SM
38092012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3810
2b5208f1
SM
3811 * comint.el (comint-output-filter): Filter out repeated prompts.
3812
3df31c9f
SM
3813 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3814 and file-name-absolute-p.
3815 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3816 internal calls.
3817
e3ac1281
PE
38182012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3819
3820 Spelling fixes.
3821 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3822 Rename from byte-compile--refiy-function. All uses changed.
3823
fbf2e7ad
CY
38242012-07-01 Chong Yidong <cyd@gnu.org>
3825
3826 * xml.el (xml--parse-buffer): New function. Move most of
3827 xml-parse-region here.
3828 (xml-parse-region): Copy region into a temporary buffer, since
3829 parameter entity substitution requires changing buffer contents.
3830 Use xml--parse-buffer.
3831 (xml-parse-file): Use xml--parse-buffer.
3832 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3833 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3834
9bf0aa15
GM
38352012-06-30 Glenn Morris <rgm@gnu.org>
3836
bbce2853
GM
3837 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3838
9bf0aa15
GM
3839 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3840 Remove outdated and unnecessary dbus declarations.
3841
0d23c240
EZ
38422012-06-30 Eli Zaretskii <eliz@gnu.org>
3843
3844 * emacs-lisp/timer.el (timer-until): Subtract results of
3845 float-time, instead of taking float-time of the result of
3846 time-subtract, since float-time signals an error for negative time
3847 arguments.
3848
b3218de1
CY
38492012-06-30 Chong Yidong <cyd@gnu.org>
3850
3851 * xml.el (xml-*-re): Convert defvars into defconsts, and
3852 eval-and-compile them so eval-and-compile works on derivatives.
3853 (xml--entity-replacement-text): Use eval-and-comple.
3854
a40c87a0
MA
38552012-06-30 Michael Albinus <michael.albinus@gmx.de>
3856
3857 * vc/vc-git.el (vc-git-registered): Use cache property
3858 `git-registered'.
3859 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3860 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3861 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3862
ac87de97
DG
38632012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3864
3865 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3866 removed (likely outside Emacs). (Bug#11757)
ac87de97 3867
ac10fe06
SM
38682012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3869
3df31c9f 3870 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3871
7f3fbd5d
CY
38722012-06-30 Chong Yidong <cyd@gnu.org>
3873
3874 * xml.el: Implement XML parameter entities.
3875 (xml-parameter-entity-alist): New variable.
3876 (xml-parse-region, xml-parse-fragment): Preserve previous values
3877 of xml-entity-alist and xml-parameter-entity-alist, so that
3878 repeated calls on different documents do not change them.
3879 (xml-parse-tag): Fix doctype regexp.
3880 (xml--entity-replacement-text): New function.
3881 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3882 properly requires url retrieval which is unimplemented.
3883 (xml-escape-string): Doc fix.
3884
3cfbebba
SM
38852012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3888
2af3565e
DA
38892012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3890
3891 * fringe.el (fringe-mode): Doc fix.
3892
929df0e7
MA
38932012-06-29 Michael Albinus <michael.albinus@gmx.de>
3894
3895 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3896 is non-nil.
3897 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3898 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3899
c8d3a25c 39002012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3901
c8d3a25c
GM
3902 * calendar/cal-dst.el (calendar-current-time-zone):
3903 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3904
c8d3a25c 39052012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3906
3907 * progmodes/which-func.el (which-func-format):
3908 Add mouse-face. (Bug#11698)
3909
c8d3a25c
GM
39102012-06-29 Leo Liu <sdl.web@gmail.com>
3911
3912 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3913
39142012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * minibuffer.el (minibuffer-confirm-exit-commands):
3917 Add completion-at-point (bug#11725).
3918
39192012-06-29 Glenn Morris <rgm@gnu.org>
3920
3921 * progmodes/f90.el (f90-font-lock-keywords-2):
3922 Add some preprocessor elements. (Bug#10499)
3923
39242012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3927 Use syntax-propertize (bug#11739).
3928
2badeec4
JB
39292012-06-28 Juanma Barranquero <lekktu@gmail.com>
3930
3931 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3932
ae4969c2
JD
39332012-06-28 Julien Danjou <julien@danjou.info>
3934
3935 * term.el (term-handle-colors-array): Use a set of new faces to
3936 color the terminal. Also uses :inverse-video property.
3937 (term-default-fg-color): Set to nil by default, deprecate in favor
3938 of `term-face'.
3939 (term-default-bg-color): Set to nil by default, deprecate in favor
3940 of `term-face'.
3941 (term-current-face): Use `term-face' by default.
3942 (term-bold-attribute): Variable deleted.
3943
1c9bd870
GM
39442012-06-28 Glenn Morris <rgm@gnu.org>
3945
3946 * simple.el (completion-list-mode-finish):
3947 Don't use toggle-read-only. (Since completion-list-mode has
3948 a special mode-class, it wasn't doing anything extra anyway.)
3949
c207708c
SM
39502012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 Make inlining of other-mode interpreted functions work (bug#11799).
3953 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3954 (byte-compile): Use it to fix compilation of lexical-binding closures.
3955 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3956 function, if needed.
3957
3fd56834
SM
39582012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3959
04901786
SM
3960 * help-mode.el (help-make-xrefs): Don't just withstand
3961 cyclic-variable-indirection but any error in documentation-property.
3962
1ec4b7b2
SM
3963 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3964 memory use.
3965 * bindings.el (bindings--define-key): New function.
3966 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3967 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3968 * bindings.el: Use it to purecopy define-key bindings.
3969
e309e2a5
SM
3970 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3971
d5c6faf9
SM
3972 * emacs-lisp/cl.el (flet): Mark obsolete.
3973 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3974 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3975 * progmodes/js.el (js-c-fill-paragraph):
3976 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3977 (ebrowse-switch-member-buffer-to-derived-class):
3978 * play/5x5.el (5x5-solver): Use cl-flet.
3979
6e9590e2
SM
3980 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3981 (cl--symbol-function): New macro.
3982 (cl--letf, cl--letf*): Use it.
3983
3fd56834
SM
3984 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3985 Strip "toggle-" if any.
3986
35ff222c
GM
39872012-06-27 Glenn Morris <rgm@gnu.org>
3988
1ba6038a
GM
3989 * info.el (Info-default-directory-list): Move here from paths.el.
3990 * paths.el: Remove file, which is now empty.
3991 * loadup.el: No longer load "paths".
3992
0ea0e51b
GM
3993 * custom.el (custom-initialize-delay): Doc fix.
3994
35ff222c
GM
3995 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3996 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3997 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3998 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3999 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4000 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4001 * eshell/eshell.el (eshell-defgroup): Remove alias.
4002
c89926a5
CY
40032012-06-27 Chong Yidong <cyd@gnu.org>
4004
4005 * help.el (help-enable-auto-load): New variable.
4006
4007 * help-fns.el (help-fns--autoloaded-p): New function.
4008 (describe-function-1): Refer to a function as "autoloaded" if it
4009 was autoloaded at any time in the past. Perform autoloading if
4010 help-enable-auto-load is non-nil.
4011
cc06e7e7
EZ
40122012-06-26 Eli Zaretskii <eliz@gnu.org>
4013
4014 * makefile.w32-in (compile, compile-always): Depend on
4015 update-subdirs, not on subdirs.el. Otherwise, several different
4016 sub-targets of 'bootstrap' running in parallel could
4017 simultaneously write to subdirs.el, producing a garbled file.
4018
d2c32364
SS
40192012-06-26 Sam Steingold <sds@gnu.org>
4020
4021 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4022 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4023 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4024 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4025 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4026 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4027 * textmodes/tex-mode.el: Use it.
4028 Did not touch cedet and org because they are maintained elsewhere.
4029
5cf983b2
MR
40302012-06-26 Martin Rudalics <rudalics@gmx.at>
4031
4032 * calendar/calendar.el (calendar-exit): Don't try to delete or
4033 iconify last frame. See:
4034 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4035
8c4f2952
JD
40362012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4037
4038 * server.el (server-process-filter): Remember dir in the
4039 process's `server-client-directory' properties.
4040
772b2e2c
CY
40412012-06-24 Chong Yidong <cyd@gnu.org>
4042
4043 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4044 non-tag text.
4045
711b11e1
JB
40462012-06-23 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4049
dc5d230c
SM
40502012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * help-fns.el (describe-variable): Don't croak when doc is not found.
4053 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4054 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4055 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4056 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4057 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4058 ((lambda ..) ..).
4059 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4060
136e1c1d
CY
40612012-06-23 Chong Yidong <cyd@gnu.org>
4062
e8c1cabf
CY
4063 * info.el (Info-mouse-follow-link): Accept symbol values of
4064 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4065 (Info-fontify-node): Use Info-link-keymap for all navigation
4066 buttons, with link-args property to perform the desired action.
4067 (Info-link-keymap): Doc fix.
4068 (Info-next-link-keymap, Info-prev-link-keymap)
4069 (Info-up-link-keymap): Delete now-unused keymaps.
4070
0e9e6c6a
CY
40712012-06-23 Chong Yidong <cyd@gnu.org>
4072
05e89fea
CY
4073 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4074
0e9e6c6a
CY
4075 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4076 system abbrevs.
4077
4078 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4079
e33c6771
SM
40802012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4081
b68581e2
SM
4082 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4083 (bug#11719).
4084
e33c6771
SM
4085 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4086 the requote function doesn't work properly (bug#11714).
4087
7117e105
GM
40882012-06-23 Glenn Morris <rgm@gnu.org>
4089
4090 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4091
36cec983
SM
40922012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 Further GV/CL cleanups.
4095 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4096 gv-expander.
4097 (gv--defun-declaration): New function.
4098 (defun-declarations-alist): Use it.
4099 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4100 (gv-place): Autoload.
4101 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4102 original definition of dotimes and dolist.
4103 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4104 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4105 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4106 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4107 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4108 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4109 to the function's definition.
4110 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4111 * window.el:
4112 * files.el:
4113 * faces.el:
4114 * env.el: Don't use CL.
4115
d35af63c
PE
41162012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4117
4118 Support higher-resolution time stamps (Bug#9000).
4119
4120 * calendar/time-date.el (with-decoded-time-value): New arg
4121 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4122 (encode-time-value): New optional arg PICO. New type 3.
4123 (time-to-seconds) [!float-time]: Support the new picoseconds
4124 component if it's used.
4125 (seconds-to-time, time-subtract, time-add):
4126 Support ps-resolution time stamps as well.
4127
4128 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4129 (timerp): Timer vectors now have length 9, not 8.
4130 (timer--time): Support new-style (4-part) time stamps.
4131 (timer-next-integral-multiple-of-time): Time stamps now have
4132 picosecond resolution, so take a bit more care about rounding.
4133 (timer-relative-time, timer-inc-time): New optional arg psecs.
4134 (timer-set-time-with-usecs): Set psecs to 0.
4135 (timer--activate): Check psecs component, too.
4136
4137 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4138
ac77b21a
SM
41392012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4140
f143bfe3
SM
4141 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4142 Move the non-essential binding to the post/pre-command-hook where it is
4143 more obviously correct.
4144
ac77b21a
SM
4145 * subr.el (read-passwd): Don't use a history at all.
4146 * savehist.el (savehist-save): Remove password saved accidentally
4147 because of the above bug.
4148
76386c5a
BG
41492012-06-22 Bastien Guerry <bzg@gnu.org>
4150
4151 * files.el (toggle-read-only): Display a message telling whether
4152 the buffer is read-only or not (bug#11726).
4153
2ee3d7f0
SM
41542012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * emacs-lisp/gv.el: New file.
4157 * subr.el (push, pop): Extend to generalized variables.
4158 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4159 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4160 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4161 gv-define-simple-setter, and gv-define-expander.
4162 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4163 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4164 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4165 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4166 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4167 gv-letplace.
4168 (cl-defstruct): Don't define setf-method any more.
4169 * emacs-lisp/cl.el (flet): Don't autoload.
4170 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4171 (define-setf-expander, defsetf, define-modify-macro)
4172 (cl-struct-setf-expander): Move from cl-lib.el.
4173 * emacs-lisp/syntax.el:
4174 * emacs-lisp/ewoc.el:
4175 * emacs-lisp/smie.el:
4176 * emacs-lisp/cconv.el:
4177 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4178 (timer--time): Use gv-define-simple-setter.
4179 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4180 to avoid coding-system problems in subr.el. Adjust all users.
4181 (macroexp--maxsize, macroexp-small-p): New functions.
4182 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4183 * scroll-bar.el (scroll-bar-mode):
4184 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4185 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4186 * winner.el (winner-configuration, winner-make-point-alist)
4187 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4188 * files.el (locate-file-completion-table): Avoid list*.
4189
c5695d1d
CY
41902012-06-22 Chong Yidong <cyd@gnu.org>
4191
4192 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4193 (dired-create-files): Doc fix (Bug#11329).
4194 (dired-do-copy): Doc fix (Bug#11334).
4195 (dired-mark-read-string): Doc fix (Bug#11553).
4196
2ee3d7f0
SM
4197 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4198 Doc fix (Bug#11326).
c5695d1d
CY
4199 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4200 (dired-dwim-target): Doc fix.
4201
4202 * wdired.el (wdired-mode): Doc fix.
4203
89b5595a
GM
42042012-06-22 Glenn Morris <rgm@gnu.org>
4205
575db3f1
GM
4206 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4207 (pcmpl-rpm-cache-stamp-file): New constant.
4208 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4209 (pcmpl-rpm-packages): Optionally cache list of packages.
4210
a4c8dd51
GM
4211 * pcmpl-rpm.el (pcmpl-rpm): New group.
4212 (pcmpl-rpm-query-options): New option.
4213 (pcmpl-rpm-packages): No need to inline it.
4214 Use pcmpl-rpm-query-options.
4215
89b5595a
GM
4216 * calendar/calendar.el (calendar-in-read-only-buffer):
4217 Avoid some needless mode changes.
4218
e76f0800
CY
42192012-06-21 Chong Yidong <cyd@gnu.org>
4220
4221 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4222 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4223 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4224
297a8f1d
CY
42252012-06-20 Chong Yidong <cyd@gnu.org>
4226
4227 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4228
d34c18b1
DR
42292012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4230
4231 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4232 (bug#11201).
4233
32f7f28e
CY
42342012-06-20 Chong Yidong <cyd@gnu.org>
4235
4236 * term.el (term-window-width): Handle the case of a missing right
4237 fringe (Bug#8837).
4238 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4239 (term-mode): Use define-derived-mode. Minor cleanups.
4240 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4241 (term-move-columns, term-insert-char, term-emulate-terminal)
4242 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4243
493c6688
MA
42442012-06-20 Michael Albinus <michael.albinus@gmx.de>
4245
d34c18b1
DR
4246 * net/ange-ftp.el (ange-ftp-get-passwd):
4247 Bind `enable-recursive-minibuffers'.
493c6688
MA
4248 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4249
3f06ecf4
DR
42502012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4251
4252 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4253
68f12411
GM
42542012-06-19 Glenn Morris <rgm@gnu.org>
4255
4256 * progmodes/python.el (python-mode): Derive from prog-mode.
4257
b3820318
KG
42582012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4259
4260 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4261 (edt-user-menu-bar-update-buffers): New functions.
4262 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4263
c6bf3022
CY
42642012-06-19 Chong Yidong <cyd@gnu.org>
4265
4266 * subr.el (with-selected-window): Preserve the selected window's
4267 terminal's top-frame (Bug#4702).
4268
4269 * window.el (save-selected-window): Likewise.
4270
25f09295
SM
42712012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * progmodes/python.el (python-rx-constituents): Move backquote.
4274 (python-skeleton-define, python-define-auxiliary-skeleton):
4275 Use `declare'.
4276
6b11952a
MA
42772012-06-18 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * minibuffer.el (read-file-name-default): Revert the patch from
4280 2012-06-17.
4281
ee4b1330
SM
42822012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4285 (pcase--u1, pcase--q1): Don't use apply-partially.
4286
35647f79
GM
42872012-06-18 Glenn Morris <rgm@gnu.org>
4288
4289 * progmodes/python.el (python-proc, python-buffer)
4290 (python-send-receive, python-send-string): Fix obsolete versions.
4291
24b0cff0
MR
42922012-06-18 Martin Rudalics <rudalics@gmx.at>
4293
4294 * window.el (special-display-p): Completely remove stringp
4295 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4296
29855149
MA
42972012-06-17 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4300
4301 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4302
4303 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4304 * net/tramp-sh.el (tramp-maybe-open-connection):
4305 Throw if `non-essential' is non-nil.
4306
07463363
MR
43072012-06-17 Martin Rudalics <rudalics@gmx.at>
4308
4309 * window.el (special-display-p): Signal an error if BUFFER-NAME
4310 is not a string (Bug#11713).
4311
48d1354e
PE
43122012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4313
4314 * progmodes/python.el (python-info-beginning-of-backslash):
4315 Rename from python-info-beginning-of-backlash, as a spelling fix.
4316
eb4a8a9a
CY
43172012-06-17 Chong Yidong <cyd@gnu.org>
4318
4319 * term.el (term-emulate-terminal): If term-check-size is called,
4320 move point to the process mark without resetting point (Bug#4635).
4321
ddfbf826 43222012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4323
4324 * international/mule-cmds.el (mule-menu-keymap)
4325 (set-language-environment, set-locale-environment): Doc tweaks.
4326
9b0e3eba
AA
43272012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4328
4329 * cus-face.el (custom-face-attributes): Add wave-style underline
4330 attribute.
4331 * faces.el (set-face-attribute): Update docstring to describe
4332 wave-style underline attribute.
4333
771e3eae
CY
43342012-06-16 Chong Yidong <cyd@gnu.org>
4335
4336 * term/xterm.el (terminal-init-xterm): Discard input before
4337 querying background mode (Bug#10959).
4338
7ae2ea10
SM
43392012-06-16 Stefan Merten <smerten@oekonux.de>
4340
4341 * textmodes/rst.el: Added and corrected some comments.
4342 (rst-re-alist-def): Improve symbol syntax.
4343 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4344 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4345 (rst-official-version, rst-official-cvs-rev): Update version
4346 information.
7ae2ea10 4347
b6974efa
JB
43482012-06-15 Juanma Barranquero <lekktu@gmail.com>
4349
4350 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4351 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4352
8826d473
GM
43532012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4354
4355 * progmodes/python.el: New python.el merge.
4356 (python-guess-indent): Obsolete var.
4357 (python-indent-guess-indent-offset): New defcustom.
4358 (python-indent): Obsolete var.
4359 (python-indent-offset): New defcustom.
4360 (python-python-command, python-jython-command): Delete var.
4361 (python-shell-interpreter): New defcustom.
4362 (python-pdbtrack-do-tracking-p): Delete var.
4363 (python-pdbtrack-activate): New defcustom.
4364 (python-use-skeletons): Obsolete var.
4365 (python-skeleton-autoinsert): New defcustom.
4366 (inferior-python-filter-regexp, python-continuation-offset)
4367 (python-honour-comment-indentation, python-indent-string-contents)
4368 (python-jython-packages, python-mode-hook)
4369 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4370 (python-shell-prompt-alist)
4371 (python-source-modes): Delete defcustoms.
4372 (python-check-buffer-name, python-eldoc-setup-code)
4373 (python-eldoc-string-code, python-ffap-setup-code)
4374 (python-ffap-string-code, python-fill-comment-function)
4375 (python-fill-decorator-function, python-fill-paren-function)
4376 (python-fill-string-function, python-imenu-include-defun-type)
4377 (python-imenu-make-tree, python-imenu-subtree-root-label)
4378 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4379 (python-shell-compilation-regexp-alist)
4380 (python-shell-completion-module-string-code)
4381 (python-shell-completion-pdb-string-code)
4382 (python-shell-completion-setup-code)
4383 (python-shell-completion-string-code)
4384 (python-shell-enable-font-lock, python-shell-exec-path)
4385 (python-shell-extra-pythonpaths)
4386 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4387 (python-shell-process-environment)
4388 (python-shell-prompt-block-regexp)
4389 (python-shell-prompt-output-regexp)
4390 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4391 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4392 (python-shell-virtualenv-path): New defcustoms.
4393 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4394 (inferior-python-mode-syntax-table, python--prompt-regexp)
4395 (python-buffer, python-command python-python-command)
4396 (python-default-template, python-imports, python-indent-index)
4397 (python-indent-list, python-indent-list-length)
4398 (python-mode-running, python-pdbtrack-is-tracking-p)
4399 (python-preoutput-continuation, python-preoutput-leftover)
4400 (python-preoutput-result, python-preoutput-skip-next-prompt)
4401 (python-prev-dir/file, python-recursing)
4402 (python-saved-check-command, python-version-checked)
4403 (python-which-func-length-limit)
4404 (view-return-to-alist): Delete vars.
4405 (python-check-custom-command, python-dotty-syntax-table)
4406 (python-imenu-index-alist, python-indent-current-level)
4407 (python-indent-dedenters, python-indent-levels)
4408 (python-nav-beginning-of-defun-regexp)
4409 (python-nav-list-defun-positions-cache)
4410 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4411 (python-shell-internal-buffer)
4412 (python-skeleton-available): New vars.
4413 (def-python-skeleton): Delete macro.
4414 (python-skeleton-define): New macro.
4415 (python-define-auxiliary-skeleton, python-rx): New macros.
4416 (python-insert-class): Delete command.
4417 (python-skeleton-class): New command.
4418 (python-insert-def): Delete command.
4419 (python-skeleton-def): New command.
4420 (python-insert-for): Delete command.
4421 (python-skeleton-for): New command.
4422 (python-insert-if): Delete command.
4423 (python-skeleton-if): New command.
4424 (python-insert-try/except, python-insert-try/finally): Delete commands.
4425 (python-skeleton-try): New command.
4426 (python-insert-while): Delete command.
4427 (python-skeleton-while): New command.
4428 (python-backspace): Delete command.
4429 (python-indent-dedent-line-backspace): New command.
4430 (python-electric-colon): Delete command.
4431 (python-indent-electric-colon): New command.
4432 (python-guess-indent): Delete command.
4433 (python-indent-guess-indent-offset): New command.
4434 (python-shift-left): Delete command.
4435 (python-indent-shift-left): New command.
4436 (python-shift-right): Delete command.
4437 (python-indent-shift-right): New command.
4438 (python-find-function): Delete command.
4439 (python-nav-jump-to-defun): New command.
4440 (python-next-statement): Delete command.
4441 (python-nav-forward-sentence): New command.
4442 (python-previous-statement): Delete command.
4443 (python-nav-backward-sentence): New command.
4444 (python-fill-paragraph): Delete command.
4445 (python-fill-paragraph-function): New command.
4446 (python-send-buffer): Delete command.
4447 (python-shell-send-buffer): New command.
4448 (python-send-defun): Delete command.
4449 (python-shell-send-defun): New command.
4450 (python-send-region, python-send-region-and-go): Delete commands.
4451 (python-shell-send-region)
4452 (python-shell-switch-to-shell): New commands.
4453 (python-send-string): Delete command.
4454 (python-shell-send-string): New command.
4455 (python-switch-to-python): Delete command.
4456 (python-shell-switch-to-shell): New command.
4457 (python-describe-symbol): Delete command.
4458 (python-eldoc-at-point): New command.
4459 (python--set-prompt-regexp, python-args-to-list)
4460 (python-after-info-look, python-check-version)
4461 (python-check-comint-prompt, python-find-imports)
4462 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4463 (python-unload-function, python-expand-template)
4464 (python-maybe-jython, python-preoutput-filter)
4465 (python-pdbtrack-get-source-buffer)
4466 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4467 (python-pdbtrack-toggle-stack-tracking)
4468 (python-pdbtrack-track-stack-file, python-initial-text)
4469 (python-first-word, python-comment-line-p, python-send-command)
4470 (python-setup-brm, python-sentinel, python-set-proc)
4471 (python-skip-out, python-input-filter, python-outdent-p)
4472 (python-outline-level, python-backslash-continuation-line-p)
4473 (python-end-of-block, python-end-of-statement, python-mark-block)
4474 (python-beginning-of-block, python-beginning-of-statement)
4475 (python-blank-line-p, python-beginning-of-string)
4476 (python-open-block-statement-p): Delete functions.
4477 (python-indent-line, python-indent-line-1): Delete functions.
4478 (python-indent-line): New function.
4479 (python-indentation-levels): Delete function.
4480 (python-indent-calculate-levels): New function.
4481 (python-proc): Delete function.
4482 (python-shell-get-process): New function.
4483 (python-send-receive): Delete function.
4484 (python-shell-send-string-no-output): New function.
4485 (python-module-path): Delete function.
4486 (python-ffap-module-path): New function.
4487 (python-completion-at-point)
4488 (python-symbol-completions): Delete functions.
4489 (python-completion-complete-at-point): New function.
4490 (python-load-file): Delete function.
4491 (python-shell-send-file): New function.
4492 (python-calculate-indentation): Delete function.
4493 (python-indent-calculate-indentation): New function.
4494 (python-skip-comments/blanks): Delete function.
4495 (python-util-forward-comment): New function.
4496 (python-continuation-line-p): Delete function.
4497 (python-info-continuation-line-p): New function.
4498 (python-which-func, python-current-defun): Delete function.
4499 (python-info-current-defun): New function.
4500 (python-beginning-of-defun): Delete function.
4501 (python-nav-beginning-of-defun): New function.
4502 (python-close-block-statement-p)
4503 (python-block-end-p): Delete function.
4504 (python-info-closing-block): New function.
4505 (python-comint-output-filter-function)
4506 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4507 (python-fill-comment, python-fill-decorator, python-fill-paren)
4508 (python-fill-string, python-imenu-make-element-tree)
4509 (python-imenu-make-tree, python-imenu-tree-assoc)
4510 (python-indent-context, python-indent-dedent-line)
4511 (python-indent-line-function)
4512 (python-indent-post-self-insert-function)
4513 (python-indent-toggle-levels)
4514 (python-info-assignment-continuation-line-p)
4515 (python-info-beginning-of-backlash)
4516 (python-info-block-continuation-line-p)
4517 (python-info-closing-block-message)
4518 (python-info-line-ends-backslash-p)
4519 (python-info-looking-at-beginning-of-defun)
4520 (python-info-ppss-context, python-info-ppss-context-type)
4521 (python-nav-list-defun-positions, python-nav-read-defun)
4522 (python-nav-sentence-end, python-nav-sentence-start)
4523 (python-pdbtrack-comint-output-filter-function)
4524 (python-pdbtrack-set-tracked-buffer)
4525 (python-shell-calculate-exec-path)
4526 (python-shell-calculate-process-environment)
4527 (python-shell-completion--do-completion-at-point)
4528 (python-shell-completion--get-completions)
4529 (python-shell-completion-complete-at-point)
4530 (python-shell-completion-complete-or-indent)
4531 (python-shell-get-or-create-process)
4532 (python-shell-get-process-name)
4533 (python-shell-internal-get-or-create-process)
4534 (python-shell-internal-get-process-name)
4535 (python-shell-internal-send-string, python-shell-make-comint)
4536 (python-shell-parse-command, python-shell-send-setup-code)
4537 (python-skeleton-add-menu-items)
4538 (python-util-clone-local-variables, python-util-position)
4539 (run-python-internal, python-indentation-levels)
4540 (python-nav-beginning-of-defun)
4541 (python-completion-complete-at-point): New functions.
4542 (run-python): Change arguments. New API requirements.
4543
4302f5ba
SM
45442012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4545
f38ea36d
SM
4546 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4547 (bug#11649).
4548
4549 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4550 (macroexp--expand-all): Use it.
4551
4302f5ba
SM
4552 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4553 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4554 Use `cl-function' instead.
4555
33377562
JB
45562012-06-14 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4559 Suggested by Stefan Monnier while discussing bug#11657.
4560
54c5ba1a
SS
45612012-06-14 Sam Steingold <sds@gnu.org>
4562
4563 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4564
f9f1b1fe
AS
45652012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4566
4567 * play/doctor.el (doctor-doc): Remove parameter and use
4568 doctor-sent instead of sent.
4569 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4570
a81068ba
SM
45712012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4572
5a315f9c
SM
4573 * files.el: Require cl-lib.
4574 (file-name-non-special): Replace case -> cl-case.
4575
4576 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4577
a81068ba
SM
4578 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4579 mapping from #' to function*.
4580
8cca9703
CY
45812012-06-13 Chong Yidong <cyd@gnu.org>
4582
4583 * mouse.el (mouse-drag-track): Do not set the mark if the user
4584 releases the mouse without selecting anything (Bug#11588).
4585
a12ac9d7
SM
45862012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4587
ccf1dc18
SM
4588 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4589 as well (bug#11646).
4590
ef62b23d
SM
4591 * loadup.el: Count byte-code functions as well.
4592
c4c8444a
SM
4593 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4594 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4595
a12ac9d7
SM
4596 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4597 (bug#11649). Add cl-defun and cl-defmacro.
4598
87e6e64f
DA
45992012-06-13 Drew Adams <drew.adams@oracle.com>
4600
4601 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4602 Fix last change.
4603
682cefaf
MA
46042012-06-13 Michael Albinus <michael.albinus@gmx.de>
4605
4606 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4607 Otherwise, it blocks in batch mode.
4608
773e1f08
JB
46092012-06-13 Juanma Barranquero <lekktu@gmail.com>
4610
4611 * help-mode.el (bookmark-make-record-default): Declare.
4612
60057926
CY
46132012-06-13 Chong Yidong <cyd@gnu.org>
4614
4615 * emacs-lisp/package.el (list-packages): Compute a list of
4616 packages that are newly-available since the last list-packages
4617 invocation.
4618 (package-menu--new-package-list): New var.
4619 (package-menu--generate, package-menu--print-info)
4620 (package-menu--status-predicate, package-menu-mark-install):
4621 Handle new status label "new".
4622
ad4d226c
SM
46232012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4626 conversion to backquotes.
4627
f1a4e679
CY
46282012-06-12 Chong Yidong <cyd@gnu.org>
4629
4630 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4631 Rename from gud-inhibit-global-bindings.
4632
4633 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4634
4635 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4636 hook from nxml-glyph-set-hook.
4637
4638 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4639 declaration.
4640
4641 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4642
4643 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4644 Convert to defcustom.
4645
0c9e42b5
DA
46462012-06-12 Drew Adams <drew.adams@oracle.com>
4647
4648 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4649 New functions.
4650 (help-mode): Use them.
4651
09e06855
GM
46522012-06-11 Glenn Morris <rgm@gnu.org>
4653
4654 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4655 Use preprocessor face for directives.
4656 (fortran-directive-re): Doc fix.
4657
71adb94b
SM
46582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4659
2eb87922
SM
4660 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4661 conversion to backquotes (bug#11652).
4662
71adb94b
SM
4663 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4664 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4665 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4666 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4667 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4668 (cl-ninth, cl-tenth): Mark them as inlinable.
4669 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4670 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4671 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4672 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4673 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4674 (cl-list*, cl-adjoin): Don't put an autoload manually.
4675 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4676 (cl--compiler-macro-list*): Add autoload cookie.
4677 (cl--compiler-macro-cXXr): New function.
2eb87922 4678
71adb94b
SM
4679 * help-fns.el (help-fns--compiler-macro): New function extracted from
4680 describe-function-1; follow aliases and use `compiler-macro' property.
4681 (describe-function-1): Use it.
4682
a6674402
CY
46832012-06-11 Chong Yidong <cyd@gnu.org>
4684
4685 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4686 is uninstalled, if imagemagick is installed.
4687
bb3faf5b
SM
46882012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * emacs-lisp/cl-lib.el: Use lexical-binding.
4691 (cl-map-extents, cl-maclisp-member): Remove.
4692 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4693 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4694 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4695 * emacs-lisp/cl-extra.el: Use lexical-binding.
4696 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4697 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4698 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4699 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4700 * emacs-lisp/cl-seq.el: Use lexical-binding.
4701 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4702 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4703 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4704 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4705 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4706 CL's internals.
4707
2fe4b125
MA
47082012-06-11 Michael Albinus <michael.albinus@gmx.de>
4709
4710 Sync with Tramp 2.2.6-pre.
4711
4712 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4713 `print-length' and `print-level' to nil, in order to avoid
4714 truncation. Reported by Christopher Schmidt
4715 <christopher@ristopher.com>.
4716
4717 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4718
4719 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4720 New defmacro.
4721 (tramp-compat-copy-directory): Add optional argument
4722 COPY-CONTENTS. It is not handled yet.
4723
4724 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4725 (tramp-ftp-file-name-p): Simplify.
4726
4727 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4728 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4729 connection vector.
4730
4731 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4732 (tramp-methods): Do not use `tramp-password-end-of-line'.
4733 (tramp-completion-function-alist-putty): Handle UNIX case.
4734 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4735 (tramp-do-file-attributes-with-stat)
4736 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4737 gid as real numbers. They could run out of integer range on cygwin.
4738 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4739 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4740 (tramp-open-connection-setup-interactive-shell):
4741 Use `tramp-cleanup'. Move check for busyboxes ...
4742 (tramp-find-shell): ... here. Simplify implementation.
4743 Set "remote-shell" property also for alternative shells.
4744 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4745 If failing, a regular file would be written otherwise.
4746 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4747 (tramp-find-inline-encoding): Cache the coding commands in the
4748 process cache. Apply test command on the remote side, if defined.
4749 (tramp-find-inline-compress): Cache the compress commands in the
4750 process cache.
4751 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4752 when requested. Handle hops.
4753 (tramp-current-connection): New defvar.
87e6e64f
DA
4754 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4755 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4756 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4757 (tramp-get-inline-compress, tramp-get-inline-coding):
4758 Read connection properties from the process cache.
2fe4b125
MA
4759
4760 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4761 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4762 New defconsts.
2fe4b125
MA
4763 (tramp-smb-prompt): Extend for powershell prompt.
4764 (tramp-smb-file-name-handler-alist): Add handlers for
4765 `process-file', `shell-command' and `start-file-process'.
4766 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4767 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4768 (tramp-smb-file-name-p): Simplify.
4769 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4770 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4771 (tramp-smb-shell-quote-argument): New defuns.
4772 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4773 Implement using "tar". By this, time-stamps are preserved.
4774 (tramp-smb-handle-copy-file): Handle also the case of directories.
4775 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4776 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4777 Use `tramp-get-connection-buffer').
2fe4b125
MA
4778 (tramp-smb-handle-rename-file): Use "rename", when source and
4779 target are on the same share.
87e6e64f
DA
4780 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4781 Use `tramp-smb-server-version'.
2fe4b125
MA
4782 (tramp-smb-wait-for-output): Remove prompt.
4783
4784 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4785 (tramp-methods, tramp-rsh-end-of-line):
4786 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4787 (tramp-save-ad-hoc-proxies): New defcustom.
4788 (tramp-completion-function-alist): Adapt docstring.
4789 (tramp-default-password-end-of-line): Remove defcustom.
4790 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4791 (tramp-user-regexp, tramp-file-name-regexp-unified)
4792 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4793 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4794 (tramp-remote-file-name-spec-regexp): New defconst.
4795 (tramp-file-name-structure): Extend structure for hops.
4796 (tramp-get-method-parameter): Move up.
4797 (tramp-file-name-p, tramp-dissect-file-name)
4798 (with-parsed-tramp-file-name): Handle hops.
4799 (tramp-file-name-hop): New defun.
4800 (tramp-make-tramp-file-name): New optional arg HOP.
4801 (tramp-message-show-progress-reporter-message): New defvar.
4802 (tramp-with-progress-reporter): Use it. We cannot use
4803 `tramp-message-show-message' here, because this suppresses also
4804 error buffers.
4805 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4806 `tramp-message-show-message' is nil.
4807 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4808 (tramp-cleanup): New defun.
4809 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4810 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4811 an error unchanged.
4812 (tramp-completion-handle-file-name-all-completions): Handle hops.
4813 Fix an error when called from ido.
4814 (tramp-completion-dissect-file-name): Use better local variable
4815 name. Add hop to the vector.
4816 (tramp-handle-insert-file-contents): Use progress-reporter for the
4817 whole scenario.
4818 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4819 to `t'.
4820 (tramp-check-for-regexp): Simplify search.
4821 (tramp-enter-password): Remove it. Move implementation ...
4822 (tramp-action-password): ... here.
4823 (tramp-mode-string-to-int, tramp-local-host-p)
4824 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4825 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4826 Set tramp-autoload cookie.
2fe4b125
MA
4827
4828 * net/trampver.el: Update release number.
4829
48302012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4831 Michael Albinus <michael.albinus@gmx.de>
4832
4833 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4834 (tramp-parse-group, tramp-parse-file)
4835 (tramp-parse-shostkeys-sknownhosts): New defuns.
4836 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4837 (tramp-parse-shosts-group, tramp-parse-sconfig)
4838 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4839 (tramp-parse-sknownhosts, tramp-parse-hosts)
4840 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4841 Use them.
4842 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4843 (tramp-parse-putty-group): Don't narrow.
4844 (tramp-parse-putty): Make a loop.
4845 (tramp-file-name-handler): Catch the `suppress' signal.
4846
72834e10
CY
48472012-06-11 Chong Yidong <cyd@gnu.org>
4848
4849 * image.el (imagemagick-register-types): Put the ImageMagick entry
4850 at the end of image-type-file-name-regexps.
4851
a4712e11
JB
48522012-06-11 Johan Bockgård <bojohan@gnu.org>
4853
4854 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4855 (pcase, pcase-let*, pcase-dolist): Use them.
4856
82ad98e3
SM
48572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emacs-lisp/pcase.el (pcase--let*): New function.
4860 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4861 (pcase--expand): Use macroexp-let².
4862
f80efb86
SM
48632012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4866 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4867 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4868 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4869 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4870 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4871
31ca4639 48722012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4873
31ca4639
CY
4874 * mail/rmail.el (rmail-yank-current-message): Leave point at
4875 correct position. (Bug#11660)
94f0aa34 4876
31ca4639 48772012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4878
31ca4639 4879 * allout-widgets.el: Fix code header.
9e1b8ec4 4880
31ca4639 48812012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4882
f80efb86
SM
4883 * cus-edit.el (customize-changed-options-previous-release):
4884 Bump to 24.1.
31ca4639 4885
642b6d30
AS
48862012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4887
4888 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4889
4f5d2ba1
CY
48902012-06-09 Chong Yidong <cyd@gnu.org>
4891
4892 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4893
e75852fd
MR
48942012-06-09 Martin Rudalics <rudalics@gmx.at>
4895
4896 * window.el (special-display-popup-frame): Don't use
4897 window--display-buffer (Bug#11651).
4898
1e48e282
EZ
48992012-06-09 Eli Zaretskii <eliz@gnu.org>
4900
8a26b487
EZ
4901 Fix parallel builds: make sure loaddefs.el is not being written
4902 while Lisp files are compiled.
4903 (compile): Don't depend on 'mh-autoloads'.
4904 (compile-CMD, compile-SH): Depend on 'autoloads'.
4905 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4906
1e48e282
EZ
4907 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4908
6175e34b
CY
49092012-06-09 Chong Yidong <cyd@gnu.org>
4910
4911 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4912 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4913 Doc fixes (Bug#11225).
4914
d9857e53
SM
49152012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4918 a function if there's a clear indication that it has a compiler-macro.
4919 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4920 (macro-declarations-alist): Add arglist to declaration functions.
4921 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4922 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4923 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4924 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4925 Also add autoload to find the compiler macro.
4926 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4927 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4928 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4929 (cl--compiler-macro-get): New functions, replacing calls to
4930 cl-define-compiler-macro.
4931 (cl-typep) [compiler-macro]: Use macroexp-let².
4932
f81298f8 49332012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4934
4935 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4936 string properly, fixes Bug#11473.
4937
4b56d0fe
CY
49382012-06-08 Chong Yidong <cyd@gnu.org>
4939
4940 * faces.el (set-face-attribute): Doc fix.
4941 (modify-face): Don't use :bold and :italic.
4942 (error, warning, success): Tweak definitions.
4943
4944 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4945 (custom-modified, custom-set, custom-changed, custom-themed)
4946 (custom-saved, custom-button, custom-button-mouse)
4947 (custom-button-pressed, custom-state, custom-comment-tag)
4948 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4949 (custom-group-subtitle): Use new-style face specs.
4950 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4951 (custom-set-face, custom-changed-face, custom-saved-face)
4952 (custom-button-face, custom-button-pressed-face)
4953 (custom-documentation-face, custom-state-face)
4954 (custom-comment-face, custom-comment-tag-face)
4955 (custom-variable-tag-face, custom-variable-button-face)
4956 (custom-face-tag-face, custom-group-tag-face-1)
4957 (custom-group-tag-face): Remove obsolete face alias.
4958
4959 * epa.el (epa-validity-high, epa-validity-medium)
4960 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4961 (epa-field-name, epa-field-body):
4962 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4963 (font-lock-keyword-face, font-lock-builtin-face)
4964 (font-lock-function-name-face, font-lock-variable-name-face)
4965 (font-lock-type-face, font-lock-constant-face):
4966 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4967 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4968 * speedbar.el (speedbar-button-face, speedbar-file-face)
4969 (speedbar-directory-face, speedbar-tag-face)
4970 (speedbar-selected-face, speedbar-highlight-face)
4971 (speedbar-separator-face):
4972 * whitespace.el (whitespace-newline, whitespace-space)
4973 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4974 (whitespace-line, whitespace-space-before-tab)
4975 (whitespace-space-after-tab, whitespace-indentation)
4976 (whitespace-empty):
4977 * emulation/cua-base.el (cua-global-mark):
4978 * eshell/em-prompt.el (eshell-prompt):
4979 * net/newst-plainview.el (newsticker-new-item-face)
4980 (newsticker-old-item-face, newsticker-immortal-item-face)
4981 (newsticker-obsolete-item-face, newsticker-date-face)
4982 (newsticker-statistics-face, newsticker-default-face):
4983 * net/newst-reader.el (newsticker-feed-face)
4984 (newsticker-extra-face, newsticker-enclosure-face):
4985 * net/newst-treeview.el (newsticker-treeview-face)
4986 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4987 (newsticker-treeview-immortal-face)
4988 (newsticker-treeview-obsolete-face)
4989 (newsticker-treeview-selection-face):
4990 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4991 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4992 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4993 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4994 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4995 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4996 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4997 (mpuz-text):
4998 * progmodes/vera-mode.el (vera-font-lock-number)
4999 (vera-font-lock-function, vera-font-lock-interface):
5000 * textmodes/table.el (table-cell): Use new-style face specs, and
5001 don't use the old :bold and :italic attributes.
5002
5003 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5004 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5005 (ebrowse-member-class, ebrowse-progress): Likewise.
5006 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5007 (ebrowse-file-name-face, ebrowse-default-face)
5008 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5009 (ebrowse-progress-face): Remove obsolete faces.
5010
5011 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5012 Inherit from error and warning faces respectively.
5013
5014 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5015 Likewise.
f80efb86
SM
5016 (flyspell-incorrect-face, flyspell-duplicate-face):
5017 Remove obsolete aliases.
4b56d0fe 5018
03310646
MA
50192012-06-08 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5022 Avoid infloop.
5023
513749ee
SM
50242012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * startup.el (argv, argi): Make lexically scoped.
5027 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5028 * emacs-lisp/cl-macs.el: Use lexical-binding.
5029 Rename cl-bind-* to cl--bind-*.
5030 * files.el: Don't require `cl' since it doesn't use it.
5031 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5032
595ef4ad
JB
50332012-06-08 Juanma Barranquero <lekktu@gmail.com>
5034
5035 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5036 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5037 instead of calling external sort utility.
5038 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5039
e9f66fcb
EZ
50402012-06-08 Eli Zaretskii <eliz@gnu.org>
5041
5042 * descr-text.el (describe-char): Mention how to insert the
5043 character, if the current input method doesn't support it.
5044 See the discussion in this thread for the details:
5045 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5046
3d10db47
SS
50472012-06-08 Sam Steingold <sds@gnu.org>
5048
5049 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5050 XF86Back to previous-buffer.
5051 (minibuffer-local-map): Bind them to next-history-element and
5052 previous-history-element respectively.
5053 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5054 help-go-back respectively.
5055 * info.el (Info-mode-map): Bind them to Info-history-forward and
5056 Info-history-back respectively.
5057 These are the keys next to Up on the ThinkPad keyboard.
5058
de7e2b36
SM
50592012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5062 * emacs-lisp/cl-macs.el: Provide itself.
5063 (cl--labels-convert-cache): New var.
5064 (cl--labels-convert): New function.
5065 (cl-flet, cl-labels): New implementation with new semantics, relying on
5066 lexical-binding.
5067 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5068 (cl-closure-vars, cl--function-convert-cache)
5069 (cl--function-convert): Move from cl-macs.el.
5070 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5071 rename by removing the "cl-" prefix.
5072 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5073
6fa6c4ae
SM
50742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5077 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5078 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5079 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5080 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5081 (cl-hash-table-count): Add old compatibility aliases.
5082
5083 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5084 Use macroexpand-all-environment instead.
5085 (cl--old-macroexpand): New var.
5086 (cl--sm-macroexpand): New function.
5087 (cl-symbol-macrolet): Use it during macro expansion.
5088 (cl--function-convert-cache): New var.
5089 (cl--function-convert): New function, extracted from
5090 cl-macroexpand-all.
5091 (cl-lexical-let): Use it.
5092
5093 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5094 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5095 (cl-member): Remove old alias.
5096
5097 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5098 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5099 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5100 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5101 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5102 (cl-macroexpand-cmacs): Remove var.
5103 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5104 Use macroexpand-all instead.
5105
4dd1c416
SM
51062012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5109 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5110 (macroexp-copyable-p): New functions and macros.
5111 * emacs-lisp/edebug.el (edebug-unwrap):
5112 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5113 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5114 (pcase--let*): Remove.
5115 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5116 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5117 macroexp-const-p instead.
5118 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5119
5120 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5121 instead of "cl-" for internal definitions. Use macroexp-const-p.
5122 (cl-old-bc-file-form): Remove var.
5123 (cl-const-exprs-p): Remove fun.
5124 (cl-labels, cl-macrolet): Use backquote.
5125 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5126 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5127 (cl-define-setf-expander): Rename from cl-define-setf-method.
5128 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5129
5130 * international/mule-cmds.el: Don't require CL.
5131 (view-hello-file): Don't use `letf'.
5132
ed8bd4d7
SM
51332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5134
7287f2f3
SM
5135 * tmm.el (tmm-prompt): Use string-prefix-p.
5136 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5137 (tmm-add-prompt): Use minibuffer-completion-help.
5138 (tmm-delete-map): Remove.
5139
ed8bd4d7
SM
5140 * subr.el (kbd): Make it its own function.
5141
7b4cdbf4
SM
51422012-06-07 Stefan Merten <smerten@oekonux.de>
5143
5144 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5145 Silence compiler warnings. Fix versions.
ed8bd4d7 5146 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5147 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5148 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5149 (rst-package-emacs-version-alist): Correct Emacs version to
5150 represent major merge with upstream.
ed8bd4d7 5151 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5152
2b48d721
GM
51532012-06-06 Glenn Morris <rgm@gnu.org>
5154
5155 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5156 Only print environment variables if set.
5157
fa779ab0
SM
51582012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5161 (macroexp--cons): Rename from maybe-cons.
5162 (macroexp--accumulate): Rename from macroexp-accumulate.
5163 (macroexp--all-forms): Rename from macroexpand-all-forms.
5164 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5165 (macroexp--expand-all): Rename from macroexpand-all-1.
5166
628299e0
SS
51672012-06-06 Sam Steingold <sds@gnu.org>
5168
5169 * calendar/calendar.el (calendar-in-read-only-buffer):
5170 Call `special-mode' to enable the standard read-only keybindings.
5171
b7bb5838
SM
51722012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5173
5174 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5175 with "loading" messages (bug#11635).
5176
dfb308ba
MA
51772012-06-06 Michael Albinus <michael.albinus@gmx.de>
5178
5179 * files.el (enable-remote-dir-locals): New option.
5180 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5181
0372ee92
MA
5182 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5183 Ensure, that the temp directory is local.
5184
5185 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5186 `temporary-file-directory'.
5187
eed0bb91
MA
5188 * progmodes/python.el (python-send-region): Ensure, that the
5189 temporary file is created also in the remote case.
5190
7a58f64d
GM
51912012-06-06 Glenn Morris <rgm@gnu.org>
5192
f7dd4e98
GM
5193 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5194 (vc-rcs-update-changelog): Use it.
5195
090bd7cb 5196 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5197
7a58f64d
GM
5198 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5199 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5200 (vc-sccs-diff): Replace use of the external vcdiff script.
5201
daed4003
GM
52022012-06-05 Glenn Morris <rgm@gnu.org>
5203
5204 * ledit.el: Move to obsolete/.
5205
48c455c7
SS
52062012-06-05 Sam Steingold <sds@gnu.org>
5207
ed9265fc 5208 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5209 patch (Bug#11140).
5210
57a7d507
SM
52112012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5212
090bd7cb 5213 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5214
53aacf21
SM
5215 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5216 compiler-macro expansion.
5217
57a7d507
SM
5218 Add native compiler-macro support.
5219 * emacs-lisp/macroexp.el (macroexpand-all-1):
5220 Support compiler-macros directly. Properly follow aliases and apply
5221 the compiler macros more thoroughly.
5222 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5223 macroexpand now properly follows aliases.
5224 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5225 (cl-compiler-macroexpand): Use new prop.
5226 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5227
5228 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5229
51a5f9d8
MR
52302012-06-05 Martin Rudalics <rudalics@gmx.at>
5231
5232 * window.el (get-lru-window, get-mru-window, get-largest-window):
5233 New argument NOT-SELECTED to avoid picking the selected window.
5234 (window--display-buffer-1, window--display-buffer-2): Replace by
5235 new function window--display-buffer
5236 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5237 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5238 Use window--display-buffer.
51a5f9d8
MR
5239 (display-buffer-use-some-window): Remove temporary dedication
5240 hack by calling get-lru-window and get-largest-window with
5241 NOT-SELECTED argument non-nil. Call window--display-buffer.
5242
08f9f738
GM
52432012-06-05 Glenn Morris <rgm@gnu.org>
5244
5245 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5246 Replace external vcdiff script.
5247
e364a2b7
SM
52482012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5249
5250 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5251
041df390
CY
52522012-06-04 Chong Yidong <cyd@gnu.org>
5253
e364a2b7
SM
5254 * image.el (imagemagick-types-inhibit): Revert last change.
5255 Add INFO and M.
47b36b94 5256 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5257
7c1898a7
SM
52582012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * emacs-lisp/cl-lib.el: Rename from cl.el.
5261 * emacs-lisp/cl.el: New compatibility file.
5262 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5263 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5264 to obey the "cl-" prefix.
5265 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5266
0c3461de
GM
52672012-06-03 Glenn Morris <rgm@gnu.org>
5268
1e266c88
GM
5269 * emacs-lisp/authors.el (authors-aliases): Addition.
5270
0c3461de
GM
5271 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5272 Fix :version.
5273
d8a52e15
SM
52742012-06-03 Stefan Merten <smerten@oekonux.de>
5275
5276 * textmodes/rst.el: Add comments.
5277 (rst-transition, rst-adornment): New faces.
5278 (rst-adornment-faces-alist): Make default safe to reevaluate.
5279 Fixes
5280 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5281 Improve customization tags.
5282 (rst-define-level-faces): Clarify meaning.
5283
5205d6f6
CY
52842012-06-03 Chong Yidong <cyd@gnu.org>
5285
5286 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5287 (compilation-mode-line-run, compilation-mode-line-exit):
5288 New faces.
5205d6f6
CY
5289 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5290
757ee657
JD
52912012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5292
7c1898a7
SM
5293 * progmodes/which-func.el (which-func-update-ediff-windows):
5294 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5295
5f2c76c6
CY
52962012-06-03 Chong Yidong <cyd@gnu.org>
5297
5298 * bindings.el: Remove explicit help text from format-mode-line.
5299 It is now supplied by mode-line-default-help-echo.
5300 (mode-line-front-space, mode-line-end-spaces)
5301 (mode-line-misc-info): New variables.
5302 (mode-line-modes, mode-line-position): Move the default value to
5303 the variable definition.
5304 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5305 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5306 (mode-line-modified-help-echo): New functions.
5307 (mode-line-mule-info, mode-line-modified): Use them.
5308 (mode-line-eol-desc, propertized-buffer-identification):
5309 Consistency fixes for help text.
cbe46e5f
CY
5310 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5311 set-buffer-file-coding-system (Bug#289).
5312 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5313
f2d6a3df
SM
53142012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * simple.el (execute-extended-command): Set real-this-command
5317 (bug#11506).
5318
37269466
CY
53192012-06-02 Chong Yidong <cyd@gnu.org>
5320
5321 Remove incorrect uses of "modeline" in comments, docstrings, and
5322 function/variable names (Bug#10329).
5323
5324 * cus-edit.el (mode-line):
5325 * dframe.el (dframe-mouse-hscroll):
5326 * emacs-lisp/re-builder.el:
5327 * emacs-lisp/easy-mmode.el (define-minor-mode):
5328 * frame.el (set-frame-name):
5329 * help.el (lookup-minor-mode-from-indicator):
5330 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5331 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5332 (c-toggle-hungry-state):
5333 * progmodes/antlr-mode.el (antlr-language-alist):
5334 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5335 * progmodes/vhdl-mode.el (vhdl-mode):
5336 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5337 * term/ns-win.el (ns-face-at-pos):
5338 * term/sup-mouse.el (sup-mouse-report):
5339 * textmodes/flyspell.el (flyspell-mode-line-string):
5340 * textmodes/ispell.el (ispell-highlight-face):
5341 * textmodes/reftex-global.el:
5342 * vc/vc-arch.el (vc-arch-mode-line-string):
5343 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5344 * vc/vc-git.el (vc-git-mode-line-string):
5345 * vc/vc-hooks.el (vc-display-status)
5346 (vc-default-mode-line-string):
5347 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5348
5349 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5350
5351 * dired.el (dired-sort-set-mode-line): Rename from
5352 dired-sort-set-modeline. All callers changed.
5353
5354 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5355 eshell-status-in-modeline.
5356
5357 * foldout.el (foldout-mode-line-string): Rename from
5358 foldout-modeline-string. All callers changed.
5359 (foldout-update-mode-line): Rename from foldout-update-modeline.
5360
5361 * subr.el (redraw-modeline): Make into obsolete alias.
5362
5363 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5364 timeclock-modeline-display. Make old name an alias.
5365 (timeclock-update-mode-line): Likewise. All callers changed.
5366 (timeclock-mode-line-display): No need to check before using
5367 add-hook.
5368 (timeclock-relative, timeclock-day-over-hook)
5369 (timeclock-use-elapsed, timeclock-mode-string)
5370 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5371
5372 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5373 crisp-mode-modeline-string.
5374
5375 * play/solitaire.el (solitaire-build-mode-line): Rename from
5376 solitaire-build-modeline. All callers changed.
5377
5378 * play/zone.el (zone-hiding-mode-line): Rename from
5379 zone-hiding-modeline. All callers changed.
5380 (zone): Remove unusued `modeline-hidden-level' property.
5381
5382 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5383 xscheme-modeline-initialize. All callers changed.
5384
5385 * strokes.el (strokes-lighter): Rename from
5386 strokes-modeline-string.
5387
5388 * textmodes/sgml-mode.el (html-face-tag-alist)
5389 (html-tag-face-alist): Use mode-line face instead of obsolete
5390 alias modeline.
5391
42152ee4
SM
53922012-06-02 Stefan Merten <smerten@oekonux.de>
5393
5394 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5395 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5396
95f520b5
CY
53972012-06-02 Chong Yidong <cyd@gnu.org>
5398
5399 * image.el (imagemagick-enabled-types): Rename from
5400 imagemagick-types-enable. Add many more types.
5401 (imagemagick-types-inhibit): Change default to nil.
5402 (imagemagick-filter-types): Caller changed.
5403
4a5f187a
SM
54042012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5405
03fef3e6
SM
5406 * emacs-lisp/cl-macs.el: Use backquotes.
5407 (cl-transform-function-property): Use eval-and-compile rather than
5408 abusing `require'.
5409 (defstruct): Use declare-function instead of with-no-warnings.
5410
4a5f187a
SM
5411 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5412 (byte-compile-output-docform): Re-add the print-circle bindings.
5413 (byte-compile-fix-header): Use #$ just because it's shorter.
5414 (byte-compile-output-file-form): Remove defun/defmacro.
5415
bd56924f
MR
54162012-06-01 Martin Rudalics <rudalics@gmx.at>
5417
5418 * simple.el (choose-completion): Remove now obsolete binding for
5419 owindow.
5420
046e38ce
MA
54212012-06-01 Michael Albinus <michael.albinus@gmx.de>
5422
5423 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5424 in order to avoid "Stack overflow in regexp matcher".
5425
32d72c2f
GM
54262012-05-31 Glenn Morris <rgm@gnu.org>
5427
5428 * image.el: For clarity, call imagemagick-register-types at
5429 top-level, rather than relying on a custom :initialize.
5430 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5431 (imagemagick-filter-types): New function. (Bug#7406)
5432 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5433 If disabling support, remove elements altogether rather
5434 than using an impossible regexp.
5435 (imagemagick-types-inhibit): Give it the default init function.
5436
dd41169b
SM
54372012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5438
4a5f187a
SM
5439 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5440 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5441
efc00ab1 54422012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5443
5444 * desktop.el (desktop-read): Clear previous and next buffers for
5445 all windows and bury *Messages* buffer (bug#11556).
5446
500fcedc
SM
54472012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 Add `declare' for `defun'. Align `defmacro's with it.
5450 * emacs-lisp/easy-mmode.el (define-minor-mode)
5451 (define-globalized-minor-mode): Don't autoload the var definitions.
5452 * emacs-lisp/byte-run.el: Use lexical-binding.
5453 (defun-declarations-alist, macro-declarations-alist): New vars.
5454 (defmacro, defun): Use them.
5455 (make-obsolete, define-obsolete-function-alias)
5456 (make-obsolete-variable, define-obsolete-variable-alias):
5457 Use `declare'.
5458 (macro-declaration-function): Mark obsolete.
5459 * emacs-lisp/autoload.el: Use lexical-binding.
5460 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5461
6e8a1786
AM
54622012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5463
5464 * textmodes/ispell.el (ispell-with-no-warnings):
5465 Define as a macro.
500fcedc
SM
5466 (ispell-kill-ispell, ispell-change-dictionary):
5467 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5468 `interactive-p'.
5469
61b108cc
SM
54702012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5471
5472 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5473 (macro-declaration-function): Move var from C code.
5474 (macro-declaration-function): Define function with defalias.
5475 * emacs-lisp/macroexp.el (macroexpand-all-1):
5476 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5477 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5478 defun/defmacro any more.
5479 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5480 Provide fallback for unknown arglist.
5481 (byte-compile-arglist-warn): Change calling convention.
5482 (byte-compile-output-file-form): Move print-vars binding.
5483 (byte-compile-output-docform): Simplify accordingly.
5484 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5485 (byte-compile-defmacro-declaration): Remove.
5486 (byte-compile-file-form-defmumble): Generalize to defalias.
5487 (byte-compile-output-as-comment): Return byte-positions.
5488 Simplify callers accordingly.
5489 (byte-compile-lambda): Use `assert'.
5490 (byte-compile-defun, byte-compile-defmacro): Remove.
5491 (byte-compile-file-form-defalias):
5492 Use byte-compile-file-form-defmumble.
5493 (byte-compile-defalias-warn): Remove.
5494
6d3f7c2f
SM
54952012-05-29 Stefan Merten <smerten@oekonux.de>
5496
5497 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5498 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5499
5500 (rst-mode-abbrev-table): Merge definition.
5501 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5502 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5503
6dbaa1c7
UJ
55042012-05-29 Ulf Jasper <ulf.jasper@web.de>
5505
5506 * calendar/icalendar.el
5507 (icalendar-export-region): Export UID properly.
5508
d209e2fb 55092012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5510 * calendar/icalendar.el (icalendar-import-format):
5511 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5512 (icalendar-import-format-uid): New.
5513 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5514 Export UID.
5515
6876a58d
SM
55162012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5519 different alternative patterns.
5520 (pcase-codegen): Be more careful to preserve identity.
5521 (pcase--u1): Don't forget to mark vars as used.
5522
5523 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5524 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5525 (byte-compile-from-buffer): ...rather than here.
5526
5527 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5528 functions from byte-compile-function-environment.
5529
46b7967e
TN
55302012-05-29 Troels Nielsen <bn.troels@gmail.com>
5531
5532 * window.el (window-deletable-p): Avoid deleting the root window
5533 of a frame with an active minibuffer.
5534
69d565e2
MR
55352012-05-29 Martin Rudalics <rudalics@gmx.at>
5536
5537 * simple.el (choose-completion): Use quit-window (Bug#11567).
5538
a149fa51
CY
55392012-05-29 Chong Yidong <cyd@gnu.org>
5540
5541 * whitespace.el (whitespace-cleanup): Fix usage of
5542 whitespace-empty-at-bob-regexp (Bug#11492).
5543
2b311310
AH
55442012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5545
5546 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5547 revert (Bug#11488).
5548
b9cb2387
JL
55492012-05-29 Juri Linkov <juri@jurta.org>
5550
5551 * isearch.el (isearch-mode-map): Bind `M-s _' to
5552 `isearch-toggle-symbol'. Bind `M-s c' to
5553 `isearch-toggle-case-fold'.
5554 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5555 (isearch-forward): Add `M-s _' to the docstring.
5556 (isearch-forward-symbol, isearch-toggle-case-fold)
5557 (isearch-symbol-regexp): New functions. (Bug#11381)
5558
d5e61c1c
JL
55592012-05-29 Juri Linkov <juri@jurta.org>
5560
5561 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5562 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5563 a function, call it to get the regexp.
5564 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5565 property `isearch-message-prefix' instead of the string "word ".
5566 (isearch-search-fun-default): For the case of `isearch-word',
5567 return a lambda that calls re-search-forward/re-search-backward
5568 with a regexp returned by `word-search-regexp' or by the function
5569 in `isearch-word'.
5570
8cbd80f7
JL
55712012-05-29 Juri Linkov <juri@jurta.org>
5572
5573 * isearch.el (isearch-search-fun-default): New function.
5574 (isearch-search-fun): Move default part to the new function
5575 `isearch-search-fun-default'.
5576 (isearch-search-fun-function): Set the default value to
5577 `isearch-search-fun-default'. (Bug#11381)
5578
5579 * comint.el (comint-history-isearch-end):
5580 Use `isearch-search-fun-default'.
5581 (comint-history-isearch-search): Use `isearch-search-fun-default'
5582 and remove spacial case for `isearch-word'.
5583 (comint-history-isearch-wrap): Remove spacial case for
5584 `isearch-word'.
5585
5586 * hexl.el (hexl-isearch-search-function):
5587 Use `isearch-search-fun-default'.
5588
5589 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5590 Use `word-search-regexp' for `isearch-word'.
5591
5592 * misearch.el (multi-isearch-search-fun):
5593 Use `isearch-search-fun-default'.
5594
5595 * simple.el (minibuffer-history-isearch-search):
5596 Use `isearch-search-fun-default' and remove spacial case for
5597 `isearch-word'.
5598 (minibuffer-history-isearch-wrap): Remove spacial case for
5599 `isearch-word'.
5600
5601 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5602 Remove spacial case for `isearch-word'.
5603 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5604
85c8c5b6
AM
56052012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5606
5607 Decrease XEmacs incompatibilities.
5608 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5609 Use `string-match'.
5610 (flyspell-delete-region-overlays): Use alternative definition for
5611 XEmacs.
5612 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5613 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5614 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5615 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5616 `define-obsolete-face-alias' under XEmacs, but old method.
5617
5618 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5619 `with-no-warnings' definition or Emacs alias.
5620 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5621 (ispell-word): Do not use `region-p' if XEmacs.
5622
8cab9efc
AM
56232012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5624
5625 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5626 Check for `ispell-dictionary-base-alist' instead of full
5627 `ispell-dictionary-alist'.
5628 (ispell-init-process): Show spellchecker when starting new Ispell
5629 process.
5630
fda91268
RZ
56312012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5634 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5635
694ea8e3
JB
56362012-05-27 Juanma Barranquero <lekktu@gmail.com>
5637
5638 * version.el (motif-version-string, gtk-version-string)
5639 (ns-version-string): Declare.
5640
e4d4f539
JL
56412012-05-27 Juri Linkov <juri@jurta.org>
5642
5643 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5644 after the `eval-defun-1' specialcaseing
5645 like in `edebug-eval-defun' (bug#10181).
5646
5647 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5648 like in `eval-defun-1'.
5649
33017faf 56502012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5651
fda91268
RZ
5652 * mail/sendmail.el (mail-yank-region):
5653 Recognize rmail-yank-current-message in addition to insert-buffer.
5654 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5655 a *mail* buffer created through rmail-start-mail with sendmail as
5656 mail-user-agent.
5657
33017faf
GM
56582012-05-27 Chong Yidong <cyd@gnu.org>
5659
5660 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5661 Default to 256 (Bug#11267).
5662
5663 * help.el (describe-mode): Doc fix.
5664
04188bb9
GM
56652012-05-26 Glenn Morris <rgm@gnu.org>
5666
38264cc9
GM
5667 * w32-fns.el (w32-init-info): Remove.
5668 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5669
eb7afdad
GM
5670 * info.el (info-initialize): For self-contained NS builds, put the
5671 included info/ directory at the front. (Bug#2791)
5672
04188bb9
GM
5673 * paths.el (Info-default-directory-list): Make it a defcustom,
5674 mainly so that we can use custom-initialize-delay.
5675
a179e3f7
SM
56762012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5677
43416392
SM
5678 * subr.el (buffer-has-markers-at): Mark obsolete.
5679
a179e3f7 5680 * subr.el (lambda): Use declare.
43416392 5681
a179e3f7
SM
5682 * emacs-lisp/lisp-mode.el (lambda):
5683 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5684
34a008d9
AH
56852012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5686
5687 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5688
0a3b289f
GM
56892012-05-26 Glenn Morris <rgm@gnu.org>
5690
5691 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5692
758c81e8
GM
56932012-05-25 Glenn Morris <rgm@gnu.org>
5694
f9f334f0
GM
5695 * paths.el: Remove no-byte-compile.
5696 * loadup.el: No need to load paths.el uncompiled.
5697
87eb79c2
GM
5698 * image.el (imagemagick-types-inhibit): Doc fix.
5699
758c81e8
GM
5700 * version.el: Remove no-byte-compile and associated formatting.
5701 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5702 is ancient code from when there was an "inc-vers.el".
5703
e7e85dc0
SM
57042012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * progmodes/gdb-mi.el: Minor style changes.
5707 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5708 Turn into minor modes.
5709 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5710 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5711 (gdb-shell): Remove unneeded let-binding.
5712 (gdb-get-many-fields): Eliminate O(n²) behavior.
5713
f31237a4
EZ
57142012-05-25 Eli Zaretskii <eliz@gnu.org>
5715
5716 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5717 platforms that don't link in fontset.c.
5718
bc1b21bb
JL
57192012-05-25 Juri Linkov <juri@jurta.org>
5720
5721 Use the same diff color scheme as in modern VCSes (bug#10181).
5722
5723 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5724 to avoid confusion with `diff-added' that now uses green colors.
5725 (diff-removed): Use shades of red.
5726 (diff-added): Use shades of green.
5727 (diff-changed): Leave just the yellow color.
5728 (diff-use-changed-face): New variable.
5729 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5730 how to highlight context diff changes.
5731 (diff-refine-change): Use shades of yellow.
5732 (diff-refine-removed): New face that uses shades of red.
5733 (diff-refine-added): New face that uses shades of green.
5734 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5735 `diff-refine-removed' in the call to `smerge-refine-subst'
5736 depending on the value of `diff-use-changed-face'.
5737
5738 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5739 (smerge-other): Use shades of green.
5740 (smerge-base): Use shades of yellow.
5741 (smerge-refined-change): Empty face.
5742 (smerge-refined-removed): New face that uses shades of red.
5743 (smerge-refined-added): New face that uses shades of green.
5744 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5745 args `props-r' and `props-a', and use them. Doc fix.
5746 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5747 on its value use different faces `smerge-refined-change',
5748 `smerge-refined-removed', `smerge-refined-added' in the call to
5749 `smerge-refine-subst'.
5750
5751 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5752 Add face condition `min-colors 88' with shades of red.
5753 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5754 `min-colors 88' with shades of green.
5755 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5756 `min-colors 88' with shades of yellow.
5757
6df9112c
GM
57582012-05-24 Glenn Morris <rgm@gnu.org>
5759
ead5edc0
GM
5760 * paths.el (prune-directory-list, remote-shell-program): Move to...
5761 * files.el (prune-directory-list, remote-shell-program): ...here.
5762 For the latter, delay initialization, prefer ssh, just search PATH.
5763
f18b81e6
GM
5764 * paths.el (term-file-prefix): Move to faces.el (the only user).
5765 * faces.el (term-file-prefix): Move here, make it a defcustom.
5766
ee2f89a6
GM
5767 * paths.el (news-directory, news-path, news-inews-program):
5768 Move to gnus/nnspool.el.
61a583ca 5769
f8815e4c
GM
5770 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5771
c8f3b42c
GM
5772 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5773 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5774 Make the latter a defcustom, with a delayed initialization.
5775
6df9112c
GM
5776 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5777 These were deleted from Gnus itself late 2010.
5778
5dadff36
JB
57792012-05-22 Juanma Barranquero <lekktu@gmail.com>
5780
9e1701c6
JB
5781 * progmodes/which-func.el (which-func-ff-hook):
5782 Check against user-error, not error.
5783
bd7239f5 5784 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5785 cl-specs.el, which no longer exists.
5786
3290526d
GM
57872012-05-22 Glenn Morris <rgm@gnu.org>
5788
5789 * info.el (info-emacs-bug): New command.
5790 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5791 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5792
ff0c3cfb
GM
57932012-05-21 Glenn Morris <rgm@gnu.org>
5794
5795 * makefile.w32-in (update-subdirs-SH):
5796 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5797
5814f126
SM
57982012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5799
a52c0aa0
SM
5800 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5801
5814f126
SM
5802 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5803 Simplify Maven regexp, and make sure the file can't start with a space
5804 (bug#11517).
5805
b847032c
GM
58062012-05-21 Glenn Morris <rgm@gnu.org>
5807
5808 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5809 Scrap superfluous subshells.
5810
3858bfe7
SM
58112012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5814 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5815
d14b0029
JB
58162012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5817
5818 * calc/calc.el (calc-ensure-consistent-units): New variable.
5819
a52c0aa0
SM
5820 * calc/calc-units.el (math-consistent-units-p)
5821 (math-check-unit-consistency): New functions.
5822 (calc-quick-units, calc-convert-units):
5823 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5824 is non-nil.
d14b0029
JB
5825 (calc-extract-units): Fix typo.
5826
60c4db3a
SM
58272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5828
77f3b62e
SM
5829 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5830
60c4db3a
SM
5831 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5832 (flyspell-default-deplacement-commands): Don't spell check after
5833 repeated window/frame switches (e.g. triggered by mouse-movement).
5834 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5835 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5836 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5837 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5838 Remove unused vars.
5839 (flyspell-get-casechars, flyspell-get-not-casechars):
5840 Simplify; Don't bother removing a ] just to add it back.
5841 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5842
d209e2fb 58432012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5844
5845 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5846 New functions.
bd7239f5 5847 (math-function-table): Add support for more C functions.
b1a10716 5848
3f1b25b5
AM
58492012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5850
090bd7cb
JB
5851 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5852 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5853 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5854
b581bb5c
SM
58552012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5858 their respective macro declarations.
5859 * skeleton.el (define-skeleton):
5860 * progmodes/compile.el (define-compilation-mode):
5861 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5862 (define-ibuffer-filter):
5863 * emacs-lisp/generic.el (define-generic-mode):
5864 * emacs-lisp/easy-mmode.el (define-minor-mode)
5865 (define-globalized-minor-mode):
5866 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5867 * emacs-lisp/byte-run.el (defsubst):
5868 * custom.el (deftheme): Add doc-string metadata.
5869
70b8ef8f
SM
58702012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5873
b1198e17
SM
58742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5875
9abdc45d
SM
5876 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5877
b1198e17
SM
5878 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5879 * emacs-lisp/cl-macs.el: Idem.
5880 * emacs-lisp/cl-specs.el: Remove.
5881
4735906a
SM
58822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 Minor renaming of internal CL functions and variables.
5885 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5886 (cl--position): Rename from cl-position.
5887 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5888 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5889 (cl--random-state): Rename from *random-state*.
5890
ac348012
SM
58912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5894 parens around the arg list (bug#11499).
5895
a0a79cde
JL
58962012-05-17 Juri Linkov <juri@jurta.org>
5897
5898 * isearch.el (word-search-regexp, word-search-backward)
5899 (word-search-forward, word-search-backward-lax)
5900 (word-search-forward-lax): Move functions from search.c
5901 (bug#10145, bug#11381).
5902
65034a51
AM
59032012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5904
090bd7cb
JB
5905 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5906 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5907 Delay for otherchars as for normal word components.
65034a51 5908
1a72a195
SM
59092012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * minibuffer.el (completion--sifn-requote): Fix last change.
5912 (minibuffer-local-must-match-filename-map):
5913 Move define-obsolete-variable-alias before its var.
5914
fdb058c2
SM
59152012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5916
c41045e6
SM
5917 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5918
036dfb8b
SM
5919 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5920 behavior.
5921 (completion--string-equal-p): New function.
5922 (completion--twq-all): Use it to get better assertion failure data.
5923
2473256d
SM
5924 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5925 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5926 (shell--requote-argument): New functions.
5927 (shell-completion-vars): Use them.
5928 (shell--parse-pcomplete-arguments): Rename from
5929 shell-parse-pcomplete-arguments.
5930 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5931 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5932 Obey comint-file-name-quote-list.
5933
fdb058c2
SM
5934 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5935 (smie-indent-keyword): Use it.
5936
51fa99f1
SM
59372012-05-14 Stefan Merten <smerten@oekonux.de>
5938
5939 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5940
e18afed7 59412012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5942
5943 * net/rlogin.el (rlogin-mode-map): Fix last change.
5944
e18afed7 59452012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5946
5947 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5948 the following \r\n using a single `process-send-string', since the
5949 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5950 with two `process-send-string's (Bug#11444).
8633b1f4 5951
e18afed7 59522012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5953
fdb058c2
SM
5954 * shell.el (shell-parse-pcomplete-arguments):
5955 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5956
2d21d7f6
WJ
59572012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5958
e18afed7 5959 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5960 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5961 (image-transform-width, image-transform-fit-width): New functions.
5962 (image-transform-properties): Use them.
5963 (image-transform-check-size): New function.
5964 (image-toggle-display-image): Use it (for testing).
5965 (image-transform-set-rotation): Reduce angle mod 360.
5966 Delete obsolete comment.
5967
7102e6d0
WJ
59682012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5969
5970 * image-mode.el: Fix scaling (bug#11399).
5971 (image-transform-resize): Doc fix.
5972 (image-transform-properties): Default scale is 1 and height should
5973 be an integer.
5974
06bc5e6e
SM
59752012-05-13 Johan Bockgård <bojohan@gnu.org>
5976
5977 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5978 than hard-coding `car', to fix misbehavior when moving forward.
5979
0ae03b6a
CY
59802012-05-13 Chong Yidong <cyd@gnu.org>
5981
5982 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5983 (tabulated-list-entries, tabulated-list-padding)
5984 (tabulated-list-sort-key): Make permanent-local.
5985
5986 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5987 (electric-buffer-list): Put electric buffer menu
5988 command descriptions in this docstring, instead of the docstring
5989 of electric-buffer-menu-mode. Code cleanups.
5990 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5991 Electric-buffer-menu-mode.
5992 (electric-buffer-update-highlight): Minor code cleanup.
5993
205a7391
MA
59942012-05-13 Michael Albinus <michael.albinus@gmx.de>
5995
5996 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5997 (Bug#11447)
5998
e5bd0a28
SM
59992012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 Move define-obsolete-variable-alias before the var's definition.
6002 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6003 * tooltip.el (tooltip-hook):
6004 * textmodes/reftex-toc.el (reftex-toc-map):
6005 * textmodes/reftex-sel.el (reftex-select-label-map)
6006 (reftex-select-bib-map):
6007 * textmodes/reftex-index.el (reftex-index-map)
6008 (reftex-index-phrases-map):
6009 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6010 * progmodes/meta-mode.el (meta-mode-map):
6011 * novice.el (disabled-command-hook):
6012 * loadhist.el (unload-hook-features-list):
6013 * frame.el (blink-cursor):
6014 * files.el (find-file-not-found-hooks, write-file-hooks)
6015 (write-contents-hooks):
6016 * emulation/tpu-edt.el (GOLD-map):
6017 * emacs-lock.el (emacs-lock-from-exiting):
6018 * emacs-lisp/generic.el (generic-font-lock-defaults):
6019 * emacs-lisp/chart.el (chart-map):
6020 * dos-fns.el (register-name-alist):
6021 * dired-x.el (dired-omit-files-p):
6022 * desktop.el (desktop-enable):
6023 * cus-edit.el (custom-mode-hook):
6024 * buff-menu.el (buffer-menu-mode-hook):
6025 * bookmark.el (bookmark-read-annotation-text-func)
6026 (bookmark-exit-hooks):
6027 * allout.el (allout-mode-deactivate-hook)
6028 (allout-exposure-change-hook, allout-structure-added-hook)
6029 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6030 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6031 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6032 comes before the corresponding variable's definition.
6033
ac59c2f6
CY
60342012-05-12 Chong Yidong <cyd@gnu.org>
6035
6036 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6037 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6038 (Buffer-menu-mode-map): Bind it.
6039 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6040
dee6c9a3
SM
60412012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6042
2171cea5
SM
6043 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6044 (prolog-upper-case-string, prolog-lower-case-string)
6045 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6046 (prolog-use-smie, prolog-smie-grammar): New vars.
6047 (prolog-smie-forward-token, prolog-smie-backward-token)
6048 (prolog-smie-rules): New funs.
6049 (prolog-comment-indent): Remove.
6050 (prolog-mode-variables): Use default comment indentation instead.
6051 Setup SMIE.
6052 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6053 (prolog-mode): Don't call them any more.
6054 (prolog-electric-colon, prolog-electric-dash)
6055 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6056
aa0382bd
SM
6057 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6058
dbacb4bd
SM
6059 * minibuffer.el (completion--twq-all): Again, allow case differences.
6060
13bdd94c
SM
6061 * term.el: Move keymap initialization code to be more idiomatic.
6062 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6063 (term-terminal-menu): Move initialization into declaration.
6064 (term-escape-char): Let the user set it in her .emacs.
6065
ff46c759
SM
6066 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6067 Provide SMIE-based indentation (not enabled by default yet).
6068 (sh-mode-map): Don't bind electric keys.
6069 Use electric-pair-mode instead of skeleton-pair.
6070 (sh-assignment-regexp): Fit within 80 columns.
6071 (sh-indent-supported): Specify actual shell name instead of boolean.
6072 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6073 (sh-maybe-here-document): Use it. Make obsolete.
6074 (sh-electric-here-document-mode) New minor mode.
6075 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6076 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6077 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6078 (sh-smie-rc-grammar, sh-use-smie): New vars.
6079 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6080 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6081 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6082 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6083 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6084 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6085 (sh-set-shell): Use smie-setup if requested.
6086
dee6c9a3
SM
6087 * term.el (term-set-escape-char): Properly set term-escape-char.
6088 See http://stackoverflow.com/questions/10524656.
6089
9f9aa044
CY
60902012-05-10 Chong Yidong <cyd@gnu.org>
6091
6092 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6093 Use url-generic-parse-url, and handle host names and Windows
6094 filenames properly.
6095 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6096 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6097 URL schemes to work on.
6098 (ffap--toggle-read-only): New function.
6099 (ffap-read-only, ffap-read-only-other-window)
6100 (ffap-read-only-other-frame): Use it.
6101 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6102 necessary for ffap-url-unwrap-remote.
6103
836d29b3
DA
61042012-05-10 Dave Abrahams <dave@boostpro.com>
6105
6106 * cus-start.el (create-lockfiles): Add it.
6107
00fd78ed
CY
61082012-05-09 Chong Yidong <cyd@gnu.org>
6109
6110 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6111 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6112
666b903b 61132012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6114
6115 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6116
666b903b 61172012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6118
6119 * ansi-color.el (ansi-color-process-output): Check for validity of
6120 comint-last-output-start before using it. This avoids a bad
6121 interaction with gdb-mi's input/output buffer.
6122
666b903b 61232012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6124
6125 * files.el (dir-locals-read-from-file):
6126 Mention dir-locals in any error message.
6127
666b903b 61282012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6129
6130 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6131 package (Bug#11410).
6132
f677562b
CY
6133 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6134 variables into description.
6135
666b903b 61362012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6137
6138 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6139 shell-delimiter-argument-list (bug#11348).
6140 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6141
b499d8d0
JB
61422012-05-09 Juanma Barranquero <lekktu@gmail.com>
6143
8f6b6da8
JB
6144 * textmodes/rst.el: Silence byte-compiler warnings.
6145 (rst-re-alist, rst-reset-section-caches): Move around.
6146 (rst-re): Use `characterp', not `char-valid-p'.
6147 (font-lock-beg, font-lock-end): Declare.
6148
4824146a
JB
6149 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6150 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6151
b499d8d0
JB
6152 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6153
ad89bb83
GM
61542012-05-08 Glenn Morris <rgm@gnu.org>
6155
6156 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6157
8bba5a75
SM
61582012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6159
49ed9c8e
SM
6160 * vc/log-edit.el: Add GNU coding standards highlighting.
6161 (log-edit-font-lock-gnu-style)
6162 (log-edit-font-lock-gnu-keywords): New vars.
6163 (log-edit-font-lock-keywords): New fun.
6164 (log-edit-mode): Don't fold case in font-lock.
6165 (log-edit-font-lock-keywords): Do not assume case-folding.
6166
07d00b56
SM
6167 * imenu.el: Misc cleanup. Make docstrings out of comments.
6168 Use lexical-binding.
6169 (imenu--index-alist, imenu--last-menubar-index-alist)
6170 (imenu-menubar-modified-tick): Use defvar-local.
6171 (imenu--split-menu): Remove unused var.
6172 (imenu--cleanup-seen): Declare as global.
6173 (imenu--cleanup): Use dolist.
6174
8bba5a75
SM
6175 * subr.el (defvar-local): Add debug spec and doc-string position.
6176
5075bdb5
GM
61772012-05-08 Glenn Morris <rgm@gnu.org>
6178
090bd7cb 6179 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6180 * language/english.el, language/georgian.el, language/greek.el:
6181 * language/japanese.el, language/khmer.el, language/korean.el:
6182 * language/lao.el, language/misc-lang.el, language/romanian.el:
6183 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6184 * language/thai.el, language/utf-8-lang.el:
6185 Remove no-byte-compile setting.
6186
5075bdb5
GM
6187 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6188
06f679a7
AH
61892012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6190
6191 * progmodes/make-mode.el (makefile-browse):
6192 Remove unnecessary interactive. (Bug#11324)
6193
03794570
GM
61942012-05-07 Glenn Morris <rgm@gnu.org>
6195
af8630f4
GM
6196 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6197
03794570
GM
6198 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6199
f0809a9d
SM
62002012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6201
28be5ce7
SM
6202 * loadup.el: Preload newcomment.el.
6203 * newcomment.el: Move autoload-only code to toplevel.
6204
f0809a9d
SM
6205 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6206 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6207 Handle new :right-align column property.
6208 (tabulated-list-print-col): Idem, plus use `display' text-property to
6209 try and preserve alignment for variable pitch fonts.
6210
1241b724
CY
62112012-05-07 Chong Yidong <cyd@gnu.org>
6212
6213 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6214 (tabulated-list-use-header-line): New var.
6215 (tabulated-list-init-header): Use it.
6216 (tabulated-list-print-fake-header): New function.
6217 (tabulated-list-print): Use it.
6218 (tabulated-list-sort-button-map): Add non-header-line commands.
6219 (tabulated-list-init-header): Add column name property to basic
6220 labels as well.
6221 (tabulated-list-col-sort): Handle non-header-line button case.
6222 (tabulated-list--sort-by-column-name): Fix a corner case.
6223
f0809a9d
SM
6224 * buff-menu.el (list-buffers--refresh):
6225 Handle Buffer-menu-use-header-line.
1241b724 6226
e5f9458f
CY
62272012-05-06 Chong Yidong <cyd@gnu.org>
6228
6229 * buff-menu.el: Convert to Tabulated List mode.
6230 (Buffer-menu-buffer+size-width): Make obsolete.
6231 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6232 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6233 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6234 documentation into docstring of buffer-menu.
6235 (Buffer-menu-toggle-files-only): Add an informative message.
6236 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6237 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6238 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6239 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6240 (Buffer-menu-execute, Buffer-menu-select)
6241 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6242 (Buffer-menu-bury): Use Tabulated List machinery.
6243 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6244 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6245 Delete.
e5f9458f
CY
6246 (list-buffers--refresh): New function.
6247 (list-buffers-noselect): Use it.
6248 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6249 (Buffer-menu--pretty-file-name): New helper functions.
6250
6251 * loadup.el: Preload tabulated-list.
6252
6253 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6254 tabulated-list-sort-column.
6255 (tabulated-list-init-header): Add the initial aligning space even
6256 if tabulated-list-padding is zero.
6257
e129292c
CS
62582012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6259
6260 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6261 whose cdr is not a cons cell correctly (bug#11038).
6262
6632d361
CY
62632012-05-06 Chong Yidong <cyd@gnu.org>
6264
e129292c
CS
6265 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6266 Accept additional plist in column descriptors.
6632d361
CY
6267 (tabulated-list-init-header): Obey it.
6268 (tabulated-list-get-entry): New function.
6269 (tabulated-list-put-tag): Use it. Use string-width instead of
6270 length.
6271 (tabulated-list--column-number): New function.
6272 (tabulated-list-print): Use it.
e129292c
CS
6273 (tabulated-list-print-col): New function.
6274 Set `tabulated-list-column-name' property on each column's text.
6632d361 6275 (tabulated-list-print-entry): Use it.
e129292c
CS
6276 (tabulated-list-delete-entry, tabulated-list-set-col):
6277 New functions.
6632d361
CY
6278 (tabulated-list-sort-column): New command (Bug#11337).
6279
3cc99f68
CY
6280 * buff-menu.el (list-buffers): Move C-x C-b binding from
6281 buff-menu.el to bindings.el.
6282
6283 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6284 :advertised-binding feature.
6285
52b61776
TN
62862012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6287
6288 * progmodes/compile.el (compilation-internal-error-properties):
6289 Calculate start position correctly when end-col is set but
6290 end-line is not (Bug#11382).
6291
ebfe2597
WJ
62922012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6293
6294 * man.el (Man-unindent): Use text-property-default-nonsticky to
6295 prevent untabify from inheriting face properties (Bug#11408).
6296
6d3f7c2f
SM
62972012-05-05 Stefan Merten <smerten@oekonux.de>
6298
6299 * textmodes/rst.el: Major merge with upstream development up to
6300 Docutils SVN r7399 / rst.el V1.2.1.
6301
6302 Clarify maintainership and authors.
6303
6304 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6305 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6306 (rst-official-version, rst-official-cvs-rev, rst-version)
6307 (rst-package-emacs-version-alist): New functions and variables
6308 for version information.
6309
6310 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6311 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6312 (rst-mode-syntax-table, rst-mode): New and corrected functions
6313 and variables representing reStructuredText features.
6314
6315 (rst-re): New function for reStructuredText regexes. Use in
6316 many places.
6317
6318 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6319 (rst-mode-map): Rebind keys.
6320
6321 (rst-mode-lazy, rst-font-lock-keywords)
6322 (rst-font-lock-extend-region)
6323 (rst-font-lock-extend-region-internal)
6324 (rst-font-lock-extend-region-extend)
6325 (rst-font-lock-find-unindented-line-limit)
6326 (rst-font-lock-find-unindented-line-match)
6327 (rst-adornment-level, rst-font-lock-adornment-level)
6328 (rst-font-lock-adornment-match)
6329 (rst-font-lock-handle-adornment-pre-match-form)
6330 (rst-font-lock-handle-adornment-matcher): Major revision of
6331 font-locking. Integrate with other code. Use `jit-lock-mode'.
6332
6333 (rst-preferred-adornments, rst-adjust-hook)
6334 (rst-new-adornment-down, rst-preferred-bullets)
6335 (rst-preferred-bullets, rst-indent, rst-indent-width)
6336 (rst-indent-field, rst-indent-literal-normal)
6337 (rst-indent-literal-minimized, rst-indent-comment): Change,
6338 extend and improve customization.
6339
6340 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6341 (rst-normalize-cursor-position, rst-get-decoration)
6342 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6343 (rst-rstrip, rst-toc-insert-find-delete-contents)
6344 (rst-shift-fill-region, rst-compute-bullet-tabs)
6345 (rst-debug-print-tabs, rst-debug-mark-found)
6346 (rst-shift-region-guts, rst-shift-region-right)
6347 (rst-shift-region-left, rst-use-char-classes)
6348 (rst-font-lock-keywords-function)
6349 (rst-font-lock-indentation-point)
6350 (rst-font-lock-find-unindented-line-begin)
6351 (rst-font-lock-find-unindented-line-end)
6352 (rst-font-lock-find-unindented-line)
6353 (rst-font-lock-adornment-point, rst-font-lock-level)
6354 (rst-adornment-level-alist): Remove functions and variables.
6355
6356 (rst-compare-adornments, rst-get-adornment-match)
6357 (rst-suggest-new-adornment, rst-get-adornments-around)
6358 (rst-adornment-complete-p, rst-get-next-adornment)
6359 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6360 (rst-straighten-adornments): Standardize function names to
6361 use "adornment" instead of "decoration". Correct callers.
6362 Similar standardizing in many places.
6363
6364 (rst-update-section, rst-adjust, rst-promote-region)
6365 (rst-enumerate-region, rst-bullet-list-region)
6366 (rst-repeat-last-character): Correct use of `interactive'.
6367
6368 (rst-classify-adornment, rst-find-all-adornments)
6369 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6370 (rst-find-leftmost-column, rst-repeat-last-character):
6371 Refactor functions.
6372
6373 (rst-find-title-line, rst-reset-section-caches)
6374 (rst-get-adornments-around, rst-adjust-adornment-work)
6375 (rst-arabic-to-roman, rst-roman-to-arabic)
6376 (rst-insert-list-pos, rst-insert-list-new-item)
6377 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6378 New functions.
6379
6380 (rst-all-sections, rst-section-hierarchy)
6381 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6382 New variables.
6383
6384 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6385 configuration instead of only buffer. Change where necessary.
6386
6387 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6388 (rst-shift-region, rst-adaptive-fill): New functions for
6389 indentation and filling.
6390
6391 (rst-comment-line-break, rst-comment-indent)
6392 (rst-comment-insert-comment, rst-comment-region)
6393 (rst-uncomment-region): New functions for handling comments.
6394
6395 (rst-compile): Quote shell arguments.
6396
6397 (rst-compile-pdf-preview, rst-compile-slides-preview):
6398 Delete temporary files after use.
6399
a43f98b3
GM
64002012-05-05 Glenn Morris <rgm@gnu.org>
6401
48176e8b
GM
6402 * calendar/cal-html.el: Optionally include holidays in the output.
6403 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6404 (cal-html-holidays): New option.
6405 (cal-html-css-default): Add holiday entry.
6406 (holiday-in-range): Autoload it.
6407 (cal-html-htmlify-entry): Add optional class argument.
6408 (cal-html-htmlify-list): Add optional holidays argument.
6409 (cal-html-insert-agenda-days): Include holidays in the output.
6410 (cal-html-one-month): Maybe include holidays.
6411
a43f98b3
GM
6412 * calendar/holidays.el (holiday-in-range):
6413 Move here from cal-tex-list-holidays.
6414 * calendar/cal-tex.el (cal-tex-list-holidays):
6415 Make it an obsolete alias for holiday-in-range. Update all callers.
6416
fef9d149 64172012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6418
6419 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6420 Nextstep.
6421
248da2f4
RW
64222012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6423
6424 * files.el (file-auto-mode-skip): New var.
6425 (set-auto-mode-1): Use it.
6426
f95e9344
SM
64272012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6428
df96ab1e
SM
6429 * repeat.el: Use lexical-binding.
6430 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6431 (repeat-undo-count): Remove.
6432 (repeat):
6433 * progmodes/octave-mod.el (octave-abbrev-start):
6434 * progmodes/f90.el (f90-abbrev-start):
6435 * face-remap.el (text-scale-adjust):
6436 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6437
5342bb06
SM
6438 * emacs-lisp/pcase.el (pcase--let*): New function.
6439 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6440 a bit more.
6441 (pcase--split-pred): Be more clever about ruling out overlap between
6442 a predicate and some constant pattern.
6443 (pcase--q1): Use `null' instead of (eq foo nil).
6444
f95e9344
SM
6445 * subr.el (setq-local, defvar-local): New macros.
6446 (kbd): Redefine as an alias.
6447 (with-selected-window): Leave unrelated frames alone.
6448 (set-temporary-overlay-map): New function.
6449
71873e2b
SM
64502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * subr.el (user-error): New function.
6453 * window.el (switch-to-buffer):
6454 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6455 (smerge-match-conflict):
6456 * simple.el (previous-matching-history-element)
6457 (next-matching-history-element, goto-history-element, undo-more)
6458 (undo-start):
6459 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6460 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6461 (next-file, tags-loop-scan, list-tags, complete-tag):
6462 * progmodes/compile.el (compilation-loop):
6463 * mouse.el (mouse-minibuffer-check):
6464 * man.el (Man-bgproc-sentinel, Man-goto-page):
6465 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6466 (Info-history-forward, Info-follow-reference, Info-menu)
6467 (Info-extract-menu-item, Info-extract-menu-counting)
6468 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6469 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6470 (Info-next-reference, Info-prev-reference, Info-index)
6471 (Info-index-next, Info-follow-nearest-node)
6472 (Info-copy-current-node-name):
6473 * imenu.el (imenu--make-index-alist)
6474 (imenu-default-create-index-function, imenu-add-to-menubar):
6475 * files.el (basic-save-buffer, recover-file):
6476 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6477 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6478 (checkdoc-message-text, checkdoc-defun):
6479 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6480 * cus-edit.el (customize-changed-options, customize-rogue)
6481 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6482 (custom-variable-mark-to-reset-standard)
6483 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6484 (custom-file):
6485 * completion.el (check-completion-length):
6486 * comint.el (comint-search-arg)
6487 (comint-previous-matching-input-string-position)
6488 (comint-previous-matching-input)
6489 (comint-replace-by-expanded-history-before-point, comint-send-input)
6490 (comint-copy-old-input, comint-backward-matching-input)
6491 (comint-goto-process-mark, comint-set-process-mark):
6492 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6493 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6494
8a61ee22
SM
64952012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6496
66408d1e
SM
6497 * dabbrev.el (dabbrev--ignore-case-p): New function.
6498 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6499 Use it.
6500
8a61ee22
SM
6501 * files.el (automount-dir-prefix): Mark as obsolete.
6502
3c74813a
GM
65032012-05-04 Glenn Morris <rgm@gnu.org>
6504
6505 * patcomp.el, play/bruce.el: Move to obsolete/.
6506
0bfcf5c5
PE
65072012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6508
6509 Fix minor Y10k bugs.
6510 * arc-mode.el (archive-unixdate):
6511 * autoinsert.el (auto-insert-alist):
6512 * calc/calc-forms.el (math-this-year):
6513 * emacs-lisp/copyright.el (copyright-current-year)
6514 (copyright-update-year, copyright):
6515 * tar-mode.el (tar-clip-time-string):
6516 * time.el (display-time-update):
6517 Don't assume years have 4 digits.
6518
78f3273a
CY
65192012-05-04 Chong Yidong <cyd@gnu.org>
6520
6521 * dos-w32.el (file-name-buffer-file-type-alist)
6522 (direct-print-region-use-command-dot-com):
6523 * ffap.el (ffap-menu-regexp):
6524 * find-file.el (ff-special-constructs):
6525 * follow.el (follow-debug):
6526 * forms.el (forms--debug):
6527 * iswitchb.el (iswitchb-all-frames):
6528 * ido.el (ido-all-frames):
6529 * emacs-lisp/timer.el (timer-max-repeats):
6530 * mail/feedmail.el (feedmail-mail-send-hook)
6531 (feedmail-mail-send-hook-queued):
6532 * mail/footnote.el (footnote-signature-separator):
6533 * mail/mailabbrev.el (mail-alias-separator-string)
6534 (mail-abbrev-mode-regexp):
6535 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6536 * progmodes/idlwave.el (idlwave-libinfo-file)
6537 (idlwave-default-completion-case-is-down)
6538 (idlwave-library-routines): Convert defvars to defcustoms.
6539
6540 * mail/rmail.el (rmail-decode-mime-charset):
6541 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6542 (idlwave-shell-fix-inserted-breaks)
6543 (idlwave-shell-activate-alt-keybindings)
6544 (idlwave-shell-use-breakpoint-glyph):
6545 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6546
f7ae6719
SM
65472012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6548
6549 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6550
47086495
WS
65512012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6552
6553 * progmodes/verilog-mode.el (font-lock-keywords):
6554 Fix mis-highligting auto. Reported by Craig Barner.
6555 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6556 defines from global name space. Reported by Dan Dever.
6557 (verilog-auto-reset, verilog-auto-reset-widths)
6558 (verilog-auto-tieoff): Support using unbased numbers for
6559 AUTORESET and AUTOTIEOFF.
6560 (verilog-submit-bug-report): Update variable list.
6561 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6562 parenthesis from not matching. Reported by Michael Rytting.
6563 (verilog-auto-template-lint): Fix hash error when linting modules
6564 with no used templates.
6565 (verilog-warn, verilog-warn-error)
6566 (verilog-warn-fatal): When non-interactive report multiple
6567 warnings before exiting. Suggested by Brad Dobbie.
6568 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6569 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6570 to report unused template errors. Reported by Brad Dobbie.
6571 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6572 nets, bug438. Reported by Vns Blore.
6573 (verilog-auto-inout-module, verilog-auto-reg)
6574 (verilog-read-decls, verilog-read-sub-decls-sig)
6575 (verilog-signals-edit-wire-reg, verilog-signals-with):
6576 Fix passing of Verilog data types in ANSI input/output ports
6577 such as "output logic" into the AUTOs. Special case "wire" and
6578 "reg" for backwards compatibility presuming Verilog 2001.
6579 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6580 (verilog-preprocess): Fix replication of preprocess output.
6581 Reported by Brad Dobbie.
6582 (verilog-auto-inst-interfaced-ports):
6583 Create verilog-auto-inst-interfaced-ports, bug429.
6584 Reported by Julian Gorfajn.
6585 (verilog-after-save-font-hook)
6586 (verilog-before-save-font-hook): New variable.
6587 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6588 (verilog-save-font-mods): Wrap disabling fontification, reported
6589 by David Rogoff.
6590 (verilog-do-indent, verilog-pretty-declarations-auto)
6591 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6592 Reported by Pierre-David Pfister.
6593 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6594 of class declarations, bug292. Reported by Kevin Heilman.
6595 (verilog-read-decls): Fix 'parameter type' not appearing in
6596 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6597 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6598 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6599 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6600 Reported by David Kravitz.
6601
66022012-05-03 Michael McNamara <mac@mail.brushroad.com>
6603
6604 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6605 assignment with tests in ifs and for loops.
6606 (verilog-extended-complete-re, verilog-complete-reg): Change so
6607 that DPI inport functions don't look like fuction declarations.
6608 (verilog-pretty-expr): Don't line up assignment
6609 operations to the test and increment in if and for loops
6610 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6611 that DPI inport functions don't look like fuction declarations.
47086495 6612
2e51d4b5
KH
66132012-05-03 Kenichi Handa <handa@m17n.org>
6614
6615 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6616 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6617 (Bug#11282).
6618
2bd785a2
SM
66192012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * emacs-lisp/bytecomp.el
6622 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6623 since cconv.el might have introduced :fun-body, internal-make-closure,
6624 and friends for bytecomp to handle (bug#11391).
6625 * custom.el (defcustom): Avoid ((λ ..) ..).
6626
99d27583
SM
66272012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6628
6629 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6630
55a71479
JB
66312012-05-02 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * notifications.el (dbus-debug):
6634 * term/linux.el (gpm-mouse-enable):
6635 * term/screen.el (xterm-register-default-colors): Declare.
6636
7b97c764
CY
66372012-05-02 Chong Yidong <cyd@gnu.org>
6638
2bc356d7
CY
6639 * cus-start.el (gc-cons-percentage, exec-suffixes)
6640 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6641 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6642 (make-cursor-line-fully-visible, void-text-area-pointer)
6643 (font-list-limit): Add customization data.
6644
7b97c764
CY
6645 * allout.el (allout-exposure-change-functions)
6646 (allout-structure-added-functions)
6647 (allout-structure-deleted-functions)
6648 (allout-structure-shifted-functions): Rename abnormal hooks from
6649 *-hook, and convert to defcustoms.
5d3385a0
JB
6650 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6651 Convert to defcustoms.
7b97c764
CY
6652 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6653
6654 * allout-widgets.el: Hook callers changed.
6655
90207a15 66562012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6657
6658 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6659 the yanked message in preference to the default value of
6660 buffer-file-coding-system.
6661
90207a15 66622012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6663
5d3385a0
JB
6664 * window.el (display-buffer--action-function-custom-type):
6665 Fix entry.
d9558cad 6666
90207a15 66672012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6668
6669 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6670
d80ac57b
GM
66712012-05-01 Glenn Morris <rgm@gnu.org>
6672
976f7668
GM
6673 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6674
beb83b5a
GM
6675 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6676
d80ac57b
GM
6677 * cus-edit.el (custom-variable-documentation): Simplify with format.
6678
b593d6a9 66792012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6680 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6681
6682 * simple.el (suggest-key-bindings, execute-extended-command):
6683 Move from keyboard.c.
6684
782fbf2a
CY
66852012-05-01 Chong Yidong <cyd@gnu.org>
6686
6687 * follow.el: Eliminate advice.
6688 (set-process-filter, process-filter, sit-for): Advice deleted.
6689 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6690 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6691 Vars deleted.
782fbf2a
CY
6692 (follow-auto): Use a :set function.
6693 (follow-mode): Rewritten. Don't advise process filters.
6694 (follow-switch-to-current-buffer-all, follow-scroll-up)
6695 (follow-scroll-down): Assume follow-mode is bound.
6696 (follow-comint-scroll-to-bottom)
6697 (follow-align-compilation-windows): New functions.
6698 (follow--window-sorter): New function.
6699 (follow-all-followers): Use it to explicitly sort windows by their
6700 positions; don't make assumptions about next-window order.
6701 (follow-windows-start-end, follow-delete-other-windows-and-split)
6702 (follow-calc-win-start): Doc fix.
6703 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6704 vertical-motion unnecessarily.
6705 (follow-adjust-window): New function.
6706 (follow-post-command-hook): Use it.
6707 (follow-call-set-process-filter, follow-call-process-filter)
6708 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6709 (follow-stop-intercept-process-output, follow-generic-filter):
6710 Functions deleted.
6711 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6712 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6713 New functions, replacing advice on scroll-bar-* commands.
87233a14 6714 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6715
6716 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6717 (comint-postoutput-scroll-to-bottom): Use it.
6718 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6719
290af740
GM
67202012-05-01 Glenn Morris <rgm@gnu.org>
6721
6722 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6723 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6724 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6725 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6726 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6727 Remove no-byte-compile setting.
6728
6eac8dc9
SM
67292012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6732 all-completions code to not return a number in the last cdr.
6733
9cc7819c
LL
67342012-04-30 Leo Liu <sdl.web@gmail.com>
6735
6736 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6737 read-only error.
6738
c93b886f
CY
67392012-04-29 Chong Yidong <cyd@gnu.org>
6740
6741 * follow.el (follow-calc-win-end): Rewrite to handle partial
6742 screen lines correctly (Bug#8390).
6743 (follow-avoid-tail-recenter): Minor cleanup.
6744
8b6c19f4
SM
67452012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 Avoid the obsolete `assoc' package.
6748 * speedbar.el (speedbar-refresh): Avoid adelete.
6749 (speedbar-file-lists): Simplify and avoid aput.
6750 * man.el (Man--sections, Man--refpages): New vars, replacing
6751 Man-sections-alist and Man-refpages-alist.
6752 (Man-build-section-alist, Man-build-references-alist):
6753 Use them; avoid aput.
6754 (Man--last-section, Man--last-refpage): New vars.
6755 (Man-follow-manual-reference): Use them.
6756 Use the `default' arg of completing-read.
6757 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6758
c5bb7569
CY
67592012-04-27 Chong Yidong <cyd@gnu.org>
6760
d1d2e2e8
CY
6761 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6762
15cd8efd
CY
6763 * startup.el (x-apply-session-resources): New function.
6764
6765 * term/ns-win.el (ns-initialize-window-system):
6766 * term/w32-win.el (w32-initialize-window-system):
6767 * term/x-win.el (x-initialize-window-system): Use it to properly
6768 set menu-bar-mode and other vars from X resources, even if the
6769 initial frame is not a window-system frame (Bug#2299).
6770
c5bb7569
CY
6771 * subr.el (read-key): Avoid running filter function when setting
6772 up temporary tool bar entries (Bug#9922).
6773
a8e7d6d7 67742012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6775
6776 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6777 (Bug#11344)
6778
a8e7d6d7 67792012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6780
6781 * select.el (xselect--encode-string): New function, split from
6782 xselect-convert-to-string.
6783 (xselect-convert-to-string): Use it.
6784 (xselect-convert-to-filename, xselect-convert-to-os)
6785 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6786 returned strings are properly encoded (Bug#11315).
6787
a8e7d6d7 67882012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6789
6790 * simple.el (delete-active-region): Move to killing custom group.
6791
a8e7d6d7 67922012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6793
6794 * progmodes/which-func.el (which-func-current): Quote %
6795 characters for mode-line processing.
6796
578c1d4b 67972012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6798
6799 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6800 reaching eob (Bug#11286).
6801
a8e7d6d7 68022012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6803
6804 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6805 (gdb): Make it buffer-local and init to zero.
6806 (gdb-control-commands-regexp): New variable.
6807 (gdb-send): Don't wrap in "-interpreter-exec console" if
6808 gdb-control-level is positive. Increment gdb-control-level
6809 whenever the command matches gdb-control-commands-regexp, and
6810 decrement it each time the command is "end". (Bug#11279)
6811
a8e7d6d7 68122012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6813
6814 * window.el (adjust-window-trailing-edge, enlarge-window)
6815 (shrink-window, window-resize):
6816 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6817 windows (Bug#11276).
6818
b3608390
CY
68192012-04-27 Chong Yidong <cyd@gnu.org>
6820
6821 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6822 fix "missing prefix" warning. All callers changed.
b3608390 6823
797e6e88
SM
68242012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * emacs-lisp/assoc.el: Move to obsolete/.
6827
e95a67dc
SM
68282012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6829
657c21e4 6830 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6831
6832 * term/ns-win.el (ns-define-service):
6833 * progmodes/pascal.el (pascal-goto-defun):
6834 * progmodes/js.el (js--read-tab):
6835 * progmodes/etags.el (tags-lazy-completion-table):
6836 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6837 * emacs-lisp/ewoc.el (ewoc--wrap):
6838 * emacs-lisp/assoc.el (aput, adelete, amake):
6839 * doc-view.el (doc-view-convert-current-doc):
6840 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6841
cb3e7ae0
CY
68422012-04-26 Chong Yidong <cyd@gnu.org>
6843
dce04f7f
CY
6844 * image.el (image-type-from-buffer): Only return supported image
6845 type (Bug#9045).
6846
cb3e7ae0
CY
6847 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6848 value, for symmetry with diff-end-of-hunk.
6849 (diff-split-hunk, diff-find-source-location)
6850 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6851 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6852 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6853 compute the relevant hunk or file properly (Bug#6005).
6854 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6855
0d42eb3e
SM
68562012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * vc/vc-mtn.el:
6859 * vc/vc-hg.el:
6860 * vc/vc-git.el:
6861 * vc/vc-dir.el:
6862 * vc/vc-cvs.el:
6863 * vc/vc-bzr.el:
6864 * vc/vc-arch.el:
6865 * vc/vc.el: Replace lexical-let by lexical-binding.
6866 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6867 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6868 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6869
f08ae1c9
CY
68702012-04-26 Chong Yidong <cyd@gnu.org>
6871
8b71081d
CY
6872 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6873 (diff-mode-shared-map): Bind it to / and [remap undo].
6874
f08ae1c9
CY
6875 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6876 (ediff-window-setup-function): Use it as the default, to set up
6877 windows based on whether the current frame is graphical (Bug#2138).
6878 (ediff-choose-window-setup-function-automatically): Make obsolete.
6879
6880 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6881
ef24141c
SM
68822012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6883
cc356a5d
SM
6884 * ffap.el: Remove old code for obsolete package.
6885 (ffap-complete-as-file-p): Remove.
6886
b4ff4f1f
SM
6887 Use completion-table-with-quoting for comint and pcomplete.
6888 * comint.el (comint--unquote&requote-argument)
6889 (comint--unquote-argument, comint--requote-argument): New functions.
6890 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6891 (comint-quote-filename): Use regexp-opt-charset.
6892 (comint--common-suffix, comint--common-quoted-suffix)
6893 (comint--table-subvert): Remove.
6894 (comint-unquote-function, comint-requote-function): New vars.
6895 (comint--complete-file-name-data): Use them with
6896 completion-table-with-quoting.
6897 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6898 * pcomplete.el (pcomplete-arg-quote-list)
6899 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6900 (pcomplete-unquote-argument-function): Default to non-nil.
6901 (pcomplete-unquote-argument): Simplify.
6902 (pcomplete--common-quoted-suffix): Remove.
6903 (pcomplete-requote-argument-function): New var.
6904 (pcomplete--common-suffix): New function.
6905 (pcomplete-completions-at-point): Use completion-table-with-quoting
6906 and completion-table-subvert.
6907
79c4eeb4
SM
6908 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6909 (minibuffer--double-dollars): Preserve properties.
6910 (completion--sifn-requote): New function.
6911 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6912
ef24141c
SM
6913 * minibuffer.el: Add support for completion of quoted/escaped data.
6914 (completion-table-with-quoting, completion-table-subvert): New funs.
6915 (completion--twq-try, completion--twq-all): New functions.
6916 (completion--nth-completion): New function.
6917 (completion-try-completion, completion-all-completions): Use it.
6918
784e7d6e
LL
69192012-04-25 Leo Liu <sdl.web@gmail.com>
6920
dd2ac746
SM
6921 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6922 Use compilation-message if available to find real filename.
784e7d6e 6923
07875ee7
CY
69242012-04-25 Chong Yidong <cyd@gnu.org>
6925
6926 * vc/diff-mode.el (diff-setup-whitespace): New function.
6927 (diff-mode): Use it.
6928
6929 * vc/diff.el (diff-sentinel):
6930 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6931 Whitespace mode variables based on diff style (Bug#8612).
6932
5055880d
LL
69332012-04-25 Leo Liu <sdl.web@gmail.com>
6934
daf75653
LL
6935 * progmodes/python.el (python-send-region): Add suffix .py to the
6936 temp file.
6937
5055880d
LL
6938 * files.el (auto-mode-alist): Use javascript-mode instead.
6939
db9b177b
AH
69402012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6941
ef24141c 6942 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6943
090bd7cb 6944 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6945 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6946 references, see Bug#9.
ef24141c 6947 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6948 when receiving a fault reply.
ef24141c 6949 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6950
090bd7cb 6951 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6952 (soap-inspect-simple-type): New function.
db9b177b 6953
090bd7cb 6954 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6955 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6956 (soap-decode-basic-type, soap-encode-basic-type):
6957 support unsignedInt and double basic types.
db9b177b 6958 (soap-resolve-references-for-simple-type)
ef24141c
SM
6959 (soap-parse-simple-type, soap-encode-simple-type): New function.
6960 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6961
090bd7cb 6962 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6963 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6964 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6965 the local name of "soapenc:Array".
6966 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6967 decoding integer, byte and anyURI xsd types.
6968
1fc6097b
CY
69692012-04-25 Chong Yidong <cyd@gnu.org>
6970
6971 * cus-edit.el (custom-buffer-create-internal): Update header text.
6972
afc6df87
EZ
69732012-04-25 Eli Zaretskii <eliz@gnu.org>
6974
6975 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6976 settings on 'system-type', not on 'window-system'. On MS-Windows,
6977 set interactive-mode on in GDB.
6978
dfbd787f
SM
69792012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6982 (ruby-syntax-propertize-regexp): Remove.
6983 (ruby-syntax-propertize-function): Split regexp into chunks.
6984 Match following code directly.
6985
85222d44
DG
69862012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6987
51a8ea2a
DG
6988 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6989 (ruby-syntax-propertize-regexp): New function.
6990 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6991 by a special keyword.
6992
85222d44
DG
6993 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6994 (ruby-syntax-general-delimiters-goto-beg)
6995 (ruby-syntax-propertize-general-delimiters): New functions.
6996 (ruby-syntax-propertize-function): Use them to handle GDL.
6997 (ruby-font-lock-keywords): Move old handling of GDL...
6998 (ruby-font-lock-syntactic-keywords): .. to here.
6999 (ruby-calculate-indent): Adjust indentation for GDL.
7000
b613912b
MA
70012012-04-24 Michael Albinus <michael.albinus@gmx.de>
7002
b5380639
MA
7003 * notifications.el (top): Remove unneeded declarations.
7004 (notifications-specification-version): Change to "1.2".
e43042fe 7005 (notifications-interface, notifications-notify-method)
b613912b
MA
7006 (notifications-close-notification-method): Fix docstring.
7007 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7008 (notifications-notify): Add :action-items, :resident and
7009 :transient hints. Change "image_data" to "image-data" and
7010 "image_path" to "image-path".
b613912b
MA
7011 (notifications-get-capabilities): New defun.
7012
257440aa
LL
70132012-04-24 Leo Liu <sdl.web@gmail.com>
7014
7015 * progmodes/python.el: Move hideshow setup to the end.
7016
b1bac16e
MR
70172012-04-24 Martin Rudalics <rudalics@gmx.at>
7018
7019 * window.el (handle-select-window): Clear echo area since this is
7020 no more done by read_char (Bug#11304).
7021
d81bd059
SM
70222012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7025 and `/ M' to filter-derived-mode.
7026 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7027 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7028 (ibuffer-mark-by-mode): Use default rather than initial-input.
7029 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7030
c4cf6d91
IA
70312012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7032
7033 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7034 (ibuffer-filter-by-derived-mode): New filter.
7035 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7036
7511ded8
CY
70372012-04-23 Andreas Politz <politza@fh-trier.de>
7038
7039 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7040
775c916b
CY
70412012-04-23 Chong Yidong <cyd@gnu.org>
7042
7043 * cus-edit.el (customize-apropos, customize-apropos-options):
7044 Disable matching of non-option variables (Bug#11176).
7045 (customize-option, customize-option-other-window)
7046 (customize-changed-options): Doc fix.
7047 (customize-apropos-options, customize-apropos-faces)
7048 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7049
7050 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7051 Fix word list splitting (Bug#11132).
46c71e23
CY
7052 (apropos-symbol, apropos-keybinding, apropos-label)
7053 (apropos-property, apropos-function-button)
7054 (apropos-variable-button, apropos-misc-button): New faces.
7055 (apropos-symbol-face, apropos-keybinding-face)
7056 (apropos-label-face, apropos-property-face, apropos-match-face):
7057 Variables removed (Bug#8396).
7058 (apropos-library-button, apropos-format-plist, apropos-print)
7059 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7060
2df41f9c
MA
70612012-04-23 Michael Albinus <michael.albinus@gmx.de>
7062
7063 * net/xesam.el (xesam-mode-map): Use let-bound map in
7064 initialization. (Bug#11292)
7065
da00640a
AM
70662012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7067
7068 Preserve ispell session localwords when switching back to
7069 original buffer.
7070
090bd7cb
JB
7071 * textmodes/ispell.el (ispell-buffer-session-localwords):
7072 New buffer-local variable to hold buffer session localwords.
ed9265fc 7073 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7074 localwords.
7075 (ispell-command-loop, ispell-change-dictionary)
7076 (ispell-buffer-local-words): Preserve session localwords when
7077 needed.
7078
090bd7cb
JB
7079 * textmodes/flyspell.el (flyspell-process-localwords)
7080 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7081
f621ccf5
AM
70822012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7083
090bd7cb
JB
7084 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7085 using obsolete `translation-table-for-input'.
ef24141c
SM
7086 (ispell-word, ispell-process-line, ispell-complete-word):
7087 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7088
c2d1019e
CY
70892012-04-22 Chong Yidong <cyd@gnu.org>
7090
7091 * cus-edit.el (custom-variable-menu)
7092 (custom-variable-reset-saved, custom-face-menu)
7093 (custom-face-reset-saved): If there is no saved value, make the
7094 "reset-saved" operation bring back the default (Bug#9509).
7095 (custom-face-state): Properly detect themed faces.
7096
eeddc531
CY
7097 * faces.el (face-spec-set): Stop supporting deprecated form of
7098 third arg.
7099
dcbf5805
MA
71002012-04-22 Michael Albinus <michael.albinus@gmx.de>
7101
7102 Move functions from C to Lisp. Make non-blocking method calls
7103 the default. Implement further D-Bus standard interfaces.
7104
ef24141c
SM
7105 * net/dbus.el (dbus-message-internal): Declare function.
7106 Remove unneeded function declarations.
dcbf5805
MA
7107 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7108 (dbus-message-type-method-return, dbus-message-type-error)
7109 (dbus-message-type-signal): Declare variables. Remove local
7110 definitions.
7111 (dbus-interface-dbus, dbus-interface-peer)
7112 (dbus-interface-introspectable, dbus-interface-properties)
7113 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7114 Adapt docstring.
7115 (dbus-interface-objectmanager): New defconst.
7116 (dbus-call-method, dbus-call-method-asynchronously)
7117 (dbus-send-signal, dbus-method-return-internal)
7118 (dbus-method-error-internal, dbus-register-service)
7119 (dbus-register-signal, dbus-register-method): New defuns, moved
7120 from dbusbind.c
7121 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7122 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7123 New defuns.
dcbf5805
MA
7124 (dbus-call-method-non-blocking): Make it an obsolete function.
7125 (dbus-unregister-object, dbus-unregister-service)
7126 (dbus-handle-event, dbus-register-property)
7127 (dbus-property-handler): Obey the new structure of
7128 `bus-registered-objects'.
7129 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7130 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7131 Use `dbus-call-method'.
7132
cf20dee0
CY
71332012-04-22 Chong Yidong <cyd@gnu.org>
7134
7135 * cus-edit.el (custom-commands, custom-reset-menu)
7136 (Custom-reset-standard): Tweak labels.
7137 (custom-reset-button-menu): Change default to t.
7138 (custom-buffer-create-internal): For the custom-reset-button-menu
7139 case, put the revert button first.
7140 (custom-group-subtitle): New face.
7141 (custom-group-value-create): Align docstring to a specific column.
7142
7143 * wid-edit.el (widget-documentation-link-add): Don't handle
7144 indentation in this function.
7145 (widget-documentation-string-indent-to): New function.
7146 (widget-documentation-string-value-create): Use it.
7147
7148 * autorevert.el (auto-revert):
7149 * epg-config.el (epg):
7150 * ibuffer.el (ibuffer):
7151 * mpc.el (mpc):
7152 * ses.el (ses):
7153 * eshell/eshell.el (eshell):
7154 * net/ange-ftp.el (ange-ftp):
7155 * progmodes/ebnf2ps.el (postscript):
7156 * progmodes/flymake.el (flymake):
7157 * progmodes/prolog.el (prolog):
7158 * progmodes/verilog-mode.el (verilog-mode):
7159 * progmodes/which-func.el (which-func):
7160 * term/xterm.el (xterm):
7161 * textmodes/picture.el (picture):
7162 * textmodes/tildify.el (tildify):
7163 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7164 customization buffers.
7165
583e23bd
AM
71662012-04-22 Alan Mackenzie <acm@muc.de>
7167
7168 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7169 Adding a ) can hide the resulting (..) from searches. Fix it.
7170 Bound the backward search to the position of the existing (.
7171
7dd51bf1
JB
71722012-04-21 Juanma Barranquero <lekktu@gmail.com>
7173
7174 * progmodes/verilog-mode.el (verilog-mode): Check whether
7175 which-func-modes is t before adding verilog-mode.
7176 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7177
d64a438f
LL
71782012-04-21 Leo Liu <sdl.web@gmail.com>
7179
7dd51bf1 7180 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7181
081e8d65
MV
71822012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7183
7184 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7185 filling of the last column of a table (Bug#5635).
7186 (woman-find-next-control-line): New arg, specifying an additional
7187 regexp component for the control line.
7188 (woman2-roff-buffer): Use it.
7189 (woman-break-table): New function.
7190 (woman2-TS): Use it.
7191
71922012-04-21 Chong Yidong <cyd@gnu.org>
7193
7194 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7195 (woman-horizontal-escapes, woman-negative-vertical-space)
7196 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7197 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7198
ed571ccb
SM
71992012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * minibuffer.el (completion-file-name-table): Complete user names.
7202
39773899
LL
72032012-04-20 Leo Liu <sdl.web@gmail.com>
7204
7205 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7206 and pcase-let*.
7207
de6ff46d
CY
72082012-04-20 Chong Yidong <cyd@gnu.org>
7209
7210 * server.el (server-execute): Respect initial-buffer-choice if it
7211 is a string and there are no files to open (Bug#2825).
7212 (server-create-window-system-frame, server-create-tty-frame):
7213 Don't switch buffers here.
2d0e8e61
CY
7214 (server-process-filter): Only try to open a window system frame if
7215 compiled with graphical support (Bug#8314).
de6ff46d 7216
54071013
DN
72172012-04-20 Dan Nicolaescu <dann@gnu.org>
7218
7219 * battery.el (battery-echo-area-format): Display remaining time
7220 for sysfs backend too (Bug#11269).
7221 (battery-linux-sysfs): Fix conditional for the charge.
7222
f30d612a
CY
72232012-04-20 Chong Yidong <cyd@gnu.org>
7224
c07a4c0b 7225 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7226 (gdb-inferior-io--init-proc): New function.
7227 (gdb-init-1): Use it.
7228 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7229 responsible for allocating a new pty and hooking it to gdb when
7230 the old pty gets an EIO due to process exit.
7231 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7232 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7233 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7234
2116e93c
EZ
72352012-04-20 Eli Zaretskii <eliz@gnu.org>
7236
7237 * window.el (window-min-size, window-sizable, window-min-delta)
7238 (window-max-delta, window--resizable, window-resizable)
7239 (window-total-size, window-full-height-p, window-full-width-p)
7240 (window-in-direction, window--resize-mini-window, window-resize)
7241 (window--resize-child-windows-normal)
7242 (window--resize-child-windows, window--resize-siblings)
7243 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7244 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7245
c07a4c0b 72462012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7247
ef24141c
SM
7248 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7249 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7250 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7251 pty process (Bug#11273).
7252 (gdb-update): New arg to suppress talking to the gdb process.
7253 (gdb-done-or-error): Use it.
7254 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7255 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7256 sentinel not being called.
7257
7258 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7259
d02766ab
CY
7260 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7261
c07a4c0b 72622012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7263
7264 * net/network-stream.el (open-network-stream): Doc fix.
7265
c07a4c0b 72662012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7267
7268 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7269
c07a4c0b 72702012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7271
7272 Ensure searching for keywords is case sensitive.
7273
7274 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7275 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7276 (c-defun-name, c-mark-function, c-cpp-define-name)
7277 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7278 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7279
ef24141c
SM
7280 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7281 Bind case-fold-search to nil.
f0f6bc35 7282
c07a4c0b 72832012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7284
7285 * mail/sendmail.el (mail-bury): Call return action with the right
7286 Rmail buffer (Bug#11242).
7287
9a864fa2
CY
7288 * server.el (server-process-filter): Handle corner case where both
7289 tty and nowait options are present (Bug#11102).
7290
539aa513
EZ
72912012-04-20 Eli Zaretskii <eliz@gnu.org>
7292
7293 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7294 (top level): Put into the executable the ident-style '$Id:' tag on
7295 windows-nt as well.
539aa513 7296
cfc7d5da
SM
72972012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * electric.el (electric-indent-post-self-insert-function): Check that
7300 electric-indent-mode is enabled in current buffer.
7301
5b01685c
JB
73022012-04-19 Juanma Barranquero <lekktu@gmail.com>
7303
7304 * imenu.el (imenu-progress-message): Restore; it is "used" in
7305 erc/erc-imenu.el and net/snmp-mode.el.
7306
4d6769e1
JB
73072012-04-19 Juanma Barranquero <lekktu@gmail.com>
7308
7309 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7310 (mouse-avoidance-nudge-mouse): Remove unused binding.
7311
7312 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7313
7314 * descr-text.el (describe-char):
7315 * progmodes/python.el (python-describe-symbol):
7316 Don't call `toggle-read-only', set `buffer-read-only'.
7317
7318 * imenu.el (imenu-default-goto-function): Mark unused args.
7319 (imenu-progress-message): Remove obsolete macro; all callers changed.
7320
7321 * subr.el (keymap-canonicalize): Remove unused binding.
7322 (read-passwd): Mark unused arg.
7323
7324 * tutorial.el (tutorial--display-changes): Remove unused binding.
7325 (tutorial--save-tutorial-to): Remove unused variable.
7326
7327 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7328 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7329 (package-generate-autoloads, package-menu--generate)
7330 (package-menu--find-upgrades): Remove unused bindings.
7331
7332 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7333 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7334 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7335 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7336 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7337 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7338 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7339 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7340 (cua-delete-char-rectangle): Mark unused args.
7341 (cua-align-rectangle): Remove unused binding.
7342
7343 * mail/rmail.el (compilation--message->loc)
7344 (epa--find-coding-system-for-mime-charset): Declare.
7345
7346 * net/dbus.el (dbus-register-service): Declare.
7347 (dbus-name-owner-changed-handler): Remove unused binding.
7348
7349 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7350 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7351 (nxml-scan-backward-within): Mark unused arg.
7352 (nxml-dynamic-markup-word): Remove unused binding.
7353
7354 * mouse.el (mouse-menu-major-mode-map):
7355 * emacs-lisp/authors.el (authors-scan-change-log)
7356 (authors-add-to-author-list):
7357 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7358 * emacs-lisp/smie.el (smie-auto-fill):
7359 * mail/sendmail.el (mail-bury):
7360 * mail/unrmail.el (unrmail):
7361 * net/tls.el (open-tls-stream):
7362 * textmodes/picture.el (picture-mouse-set-point):
7363 Remove unused bindings.
7364
8c8fc5df
MA
73652012-04-19 Michael Albinus <michael.albinus@gmx.de>
7366
7367 * net/tramp.el (tramp-action-password): Let-bind
7368 `enable-recursive-minibuffers' to t.
7369
a77b0ac9
SS
73702012-04-18 Sam Steingold <sds@gnu.org>
7371
7372 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7373 instead of 'string to accommodate values like [f11].
7374 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7375 * progmodes/gdb-mi.el: Likewise.
7376
12a106a9
LL
73772012-04-18 Leo Liu <sdl.web@gmail.com>
7378
7379 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7380 current buffer.
7381 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7382 LOCAL is nil.
7383
bc6494ef
CY
73842012-04-18 Chong Yidong <cyd@gnu.org>
7385
7386 * simple.el (line-move): Use forward-line if in batch mode
7387 (Bug#11053).
7388
c09c46b2
CS
73892012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7390
7391 * files.el (after-find-file): Do not try to add a final newline if
7392 the buffer is read-only (Bug#11156).
7393
5f6530ea
RS
73942012-04-17 Richard Stallman <rms@gnu.org>
7395
7396 * mail/rmail.el (rmail-start-mail):
7397 Pass (rmail-mail-return...) for the return-action.
7398 Pass (rmail-yank-current-message...) for the yank-action.
7399 (rmail-yank-current-message): New function.
7400 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7401 (rmail-reply): Likewise.
7402 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7403
7404 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7405 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7406 buffer, not newbuf.
7407
197b6f3c
JB
74082012-04-17 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * server.el (server-ensure-safe-dir): Simplify.
7411
2311d8e5 74122012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7413
2311d8e5
GM
7414 * emacs-lisp/smie.el: Provide smarter auto-filling.
7415 (smie-auto-fill): New function.
7416 (smie-setup): Use it.
98fb480e 7417
2311d8e5
GM
7418 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7419
74202012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7421
7422 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7423 (comment-indent): Use it.
7424
2311d8e5 74252012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7426
7427 * ses.el: The overall change is to add cell renaming, that is
7428 setting fancy names for cell symbols other than name matching
7429 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7430 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7431 (ses-create-cell-variable): New defun.
2311d8e5 7432 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7433 (ses-relocate-formula): Relocate formulas only for cells the
7434 symbols of which are not renamed, i.e. symbols whose names do not
7435 match regexp "\\`[A-Z]+[0-9]+\\'".
7436 (ses-relocate-all): Relocate values only for cells the symbols of
7437 which are not renamed.
7438 (ses-load): Create cells variables as the (ses-cell ...) are read,
7439 in order to check row col consistency with cell symbol name only
7440 for cells that are not renamed.
7441 (ses-replace-name-in-formula): New defun.
7442 (ses-rename-cell): New defun.
4bdf2ad2 7443
fc72b15c
PO
74442012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7445
7446 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7447 New option (bug#11118).
7448 (perl-calculate-indent): Respect it.
7449
12e10e61
GM
74502012-04-17 Glenn Morris <rgm@gnu.org>
7451
7452 * dired-aux.el (dired-mark-read-string): Doc fix.
7453
30009afd
DA
74542012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7455
7456 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7457 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7458
41f03f4d
GM
74592012-04-17 Glenn Morris <rgm@gnu.org>
7460
7461 * mouse.el (mouse-drag-track):
7462 * speedbar.el (speedbar-frame-mode):
7463 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7464
f45f90f3
LL
74652012-04-16 Leo Liu <sdl.web@gmail.com>
7466
7467 * progmodes/python.el: Trivial cleanup.
7468
94ee8db5
GM
74692012-04-16 Glenn Morris <rgm@gnu.org>
7470
121b8917
GM
7471 * vc/vc.el (vc-string-prefix-p):
7472 * vc/pcvs-util.el (cvs-string-prefix-p):
7473 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7474 * mpc.el (mpc-string-prefix-p):
7475 Make all of these into obsolete aliases for string-prefix-p.
7476 Update callers.
7477 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7478
1197ecfa
GM
7479 * textmodes/two-column.el: Move custom options to the start.
7480 (frame-width): Remove compat definition.
7481 (2C-associate-buffer, 2C-dissociate):
7482 Use with-current-buffer rather than save-excursion.
7483 (2C-dissociate): Force a mode-line update.
7484 (2C-autoscroll): Use ignore-errors.
7485
099e7202
GM
7486 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7487 Autoload trivia.
7488
bf350d6a
GM
7489 * emacs-lisp/cl-extra.el (*random-state*):
7490 Remove unnecessary declaration.
7491
0e829eab
GM
7492 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7493
e3ad7552
GM
7494 * play/cookie1.el (cookie-snarf):
7495 Give an explicit error if input file cannot be read.
7496
68892d27
GM
7497 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7498
20f0c46d
GM
7499 * progmodes/perl-mode.el (c-macro-expand):
7500 Remove unnecessary autoload (it is in loaddefs.el).
7501
5a0978ce
GM
7502 * textmodes/picture.el (picture-desired-column)
7503 (picture-update-desired-column): Convert comments to doc-strings.
7504 (picture-substitute): Remove function.
7505 (picture-mode-map): Initialize in the defvar.
7506
6b955486
GM
7507 * woman.el: Remove eval-after-load for tar-mode.
7508 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7509 (woman-tar-extract-file): Autoload it.
7510
94ee8db5
GM
7511 * frame.el (automatic-hscrolling): Make this alias obsolete.
7512
177eca34
AM
75132012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7514
090bd7cb 7515 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7516 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7517 (ispell-dictionary-base-alist): Revert to original XEmacs
7518 friendly version for default. [:alpha:] will be added in
090bd7cb 7519 `ispell-set-spellchecker-params' if needed.
177eca34 7520
c505aaeb
CY
75212012-04-16 Chong Yidong <cyd@gnu.org>
7522
b19dd9d1 7523 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7524 (imagemagick-register-types): Use it.
7525 (imagemagick-types-inhibit): Add :set function. Allow new value
7526 of t to inhibit all types.
7527
7528 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7529 so we can preload it.
7530
7531 * loadup.el (fboundp): Preload regexp-opt, needed by
7532 imagemagick-register-types.
7533
60efac0f
CY
75342012-04-15 Chong Yidong <cyd@gnu.org>
7535
7536 * frame.el (scrolling): Remove nearly unused customization group.
7537
7538 * scroll-all.el (scroll-all-mode): Move to windows group.
7539
5dd1713e
CY
75402012-04-15 Chong Yidong <cyd@gnu.org>
7541
7542 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7543
e6fd457e
CY
75442012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7547 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7548
e153c136
GM
75492012-04-15 Glenn Morris <rgm@gnu.org>
7550
7551 * simple.el (process-file-side-effects): Doc fix.
7552
e6fd457e 75532012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7554
7555 * international/mule-cmds.el (set-language-environment): Doc fix.
7556
3603c3b1
JB
75572012-04-14 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * server.el (server-auth-key, server-generate-key): Doc fixes.
7560 (server-get-auth-key): Doc fix. Use `string-match-p'.
7561 (server-start): Reflow docstring.
7562
e6de100c
LI
75632012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7564
7565 * server.el (server-generate-key): `called-interactively-p'
7566 requires a parameter.
7567
29734c21
MN
75682012-04-14 Michal Nazarewicz <mina86@mina86.com>
7569
7570 * server.el (server-auth-key): New variable.
75f1671a 7571 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7572 (server-start): Use the new variable and functions to allow
7573 setting a permanent server key (bug#9423).
7574
d65c9521
LL
75752012-04-14 Leo Liu <sdl.web@gmail.com>
7576
7577 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7578
5ae255c7
PE
75792012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7580
7581 Spelling fixes.
7582 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7583 Emacs uses American spelling.
7584
d5e6342e
JB
75852012-04-14 Juanma Barranquero <lekktu@gmail.com>
7586
7587 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7588 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7589 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7590 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7591
ab036cd7
SM
75922012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * progmodes/which-func.el (which-func-modes): Change default.
7595
35dc09a1 75962012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7597
7598 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7599 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7600
35dc09a1 76012012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7602
7603 * custom.el (custom-theme-set-variables): Doc fix.
7604
35dc09a1 76052012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7606
7607 * international/mule.el (set-auto-coding-for-load): Doc fix.
7608
35dc09a1 76092012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7610
35dc09a1
GM
7611 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7612 imenu work again for Objective C Mode. Correct the *-index values,
7613 these having been disturbed by a previous change in 2011-08.
57f845ee 7614
0de3da9f
AM
7615 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7616 Correct two search limits.
7617
35dc09a1 76182012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7619
7620 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7621
35dc09a1 76222012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7623
7624 * international/characters.el: Fix sorting.
7625
35dc09a1 76262012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7627
7628 * international/characters.el: Add more missing Latin case pairs.
7629
35dc09a1 76302012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7631
7632 * files.el (dir-locals-set-class-variables): Doc fix.
7633
35dc09a1 76342012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7635
3f1b5bf8
EZ
7636 * international/characters.el: Add set-case-syntax-pair call for
7637 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7638 counterpart. (Bug#11209)
7639
9f847f41
EZ
7640 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7641
35dc09a1 76422012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7643
7644 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7645
35dc09a1 76462012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7647
35dc09a1
GM
7648 * textmodes/ispell.el (ispell-dictionary-base-alist):
7649 Add data for Hebrew.
e2627d21 7650
35dc09a1 76512012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7652
35dc09a1
GM
7653 * net/rcirc.el (rcirc-cmd-quit):
7654 Revert 2012-03-18 change (Bug#11192).
5c14e333 7655
35dc09a1 76562012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7657
7658 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7659
35dc09a1 76602012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7661
4517fe3a
SM
7662 * minibuffer.el (completion-in-region-mode-map):
7663 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7664
b472a594
VD
76652012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7666
7667 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7668
09b95ce3
MY
76692012-04-13 Masatake YAMATO <yamato@redhat.com>
7670
7671 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7672 to allow `C-M-f' and `C-M-b' to move to the nearest path
7673 separator (bug#9511).
7674
4b63a9ca
LI
76752012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7676
7677 * avoid.el: Require cl when compiling. And also move the
7678 `provide' to the end.
7679
7b55b8bf
TV
76802012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7681
7682 * avoid.el (mouse-avoidance-banish-position): New variable.
7683 (mouse-avoidance-banish-destination): Use it (bug#10165).
7684
adedaa1f
LL
76852012-04-13 Leo Liu <sdl.web@gmail.com>
7686
7687 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7688
70e74021
KB
76892012-04-13 Ken Brown <kbrown@cornell.edu>
7690
7691 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7692 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7693 (browse-url-filename-alist): For the same reason, don't modify
7694 file:// URLs on Cygwin.
7695
e75e89ba
SM
76962012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7699 the region on shift if the binding is already shifted (bug#11221).
7700
82f289a4
GM
77012012-04-12 Glenn Morris <rgm@gnu.org>
7702
7703 * mail/mailpost.el: Move to obsolete/.
7704
d333dc4c
DA
77052012-04-12 Drew Adams <drew.adams@oracle.com>
7706
7707 * imenu.el (imenu--generic-function): Ignore invisible definitions
7708 (bug#10123).
7709
0d15b5ba
VD
77102012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7711
7712 * hexl.el (hexl-bits): New variable.
7713 (hexl-options): Mention the variable in the doc string.
75f1671a 7714 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7715 (hexl-mode): Mention the new variable.
75f1671a
JB
7716 (hexl-mode, hexl-current-address, hexl-current-address):
7717 Use the displen.
0d15b5ba
VD
7718 (hexl-ascii-start-column): New function.
7719 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7720 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7721
64a440db
AM
77222012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7723
7724 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7725 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7726 the encoding, as expected by hunspell.
7727
6decb6c2
SM
77282012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * battery.el (battery--linux-sysfs-regexp): New const.
7731 (battery-status-function): Use it. Remove yeeloong special case.
7732 (battery-yeeloong-sysfs): Remove.
7733 (battery-echo-area-format): Remove yeeloong special case.
7734
088be6fb
SM
77352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7736
6622e416
SM
7737 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7738 Reported by Noah Friedman.
7739
088be6fb
SM
7740 * subr.el (read-passwd): Use read-string.
7741
b49f886e
LMI
77422012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7743
7744 * vcursor.el (vcursor-move): Increase the priority of the overlay
7745 (bug#9663).
7746
a63067fc
DD
77472012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7748
7749 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7750 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7751
ac3cf14a
WS
77522012-04-11 William Stevenson <yhvh2000@gmail.com>
7753
7754 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7755 define-minor-mode (bug#10760).
7756
c4fc691b 77572012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7758
4d6769e1 7759 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7760 that directories matching `grep-find-ignored-files' won't be
7761 pruned (bug#10351).
7762
af23e2e5
CY
77632012-04-11 Chong Yidong <cyd@gnu.org>
7764
7765 * startup.el (command-line): Remove support for long-obsolete
7766 variable font-lock-face-attributes.
7767
ab7ce8c1
GM
77682012-04-11 Glenn Morris <rgm@gnu.org>
7769
7770 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7771
de8c03dc
SM
77722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * window.el (window--state-get-1): Obey window-point-insertion-type.
7775
050cc68b
LB
77762012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7777
7778 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7779 to previous function when point is on the first character of a
75f1671a 7780 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7781
a38c310c
GM
77822012-04-11 Glenn Morris <rgm@gnu.org>
7783
effed0c2
GM
7784 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7785 not just file-errors.
7786
a38c310c
GM
7787 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7788 (vc-bzr-sha1): Use internal sha1.
7789
0221e323
SM
77902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7793
43956923
SG
77942012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7795
7796 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7797 that start in the middle of the line (bug#10496).
7798
6a8c9eaf
DN
77992012-04-10 Dan Nicolaescu <dann@gnu.org>
7800
7801 * battery.el (battery-linux-proc-acpi): Only one battery is
7802 discharged at a time, but that seems to confuse battery.el when
7803 computing `rate-type' for the battery not being discharged
7804 (bug#10332).
7805
1930bf5d
SM
78062012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7807
2a718f6f
SM
7808 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7809
599430d0
SM
7810 * international/quail.el: Use dolist and simplify.
7811 (quail-define-package, quail-update-keyboard-layout)
7812 (quail-define-rules): Use dolist.
7813 (quail-insert-kbd-layout, quail-get-translation): CSE.
7814
a2754b6c
SM
7815 * tmm.el: Use dolist, remove left over hook.
7816 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7817 Use dolist.
7818 (calendar-load-hook): Don't mess with it.
7819
1930bf5d
SM
7820 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7821 Use derived-mode-p. Run the diff asynchronously.
7822
9f67961c
LMI
78232012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824
7825 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7826
2a8ce227
JB
78272012-04-10 Juanma Barranquero <lekktu@gmail.com>
7828
7829 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7830 (list-dynamic-libraries--loaded): New function.
7831 (list-dynamic-libraries--refresh): Use it.
7832
8f33b5f8
NW
78332012-04-10 Nathan Weizenbaum <nweiz@google.com>
7834
1930bf5d
SM
7835 * progmodes/python.el (python-fill-paragraph):
7836 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7837 disabled (bug#7018).
7838
b12f0439
L
78392012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7840
1930bf5d 7841 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7842 DOS/MS Windows for the Baltic languages. There are still plenty
7843 of texts written in this encoding/codepage (bug#6519).
b12f0439 7844
57c3bd01
GM
78452012-04-10 Glenn Morris <rgm@gnu.org>
7846
7847 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7848 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7849
6c3eab30
FA
78502012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7851
1930bf5d 7852 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7853 next-line "n" and previous-line "p" in order to make recentf more
7854 consistent with ibuffer, dired or org-mode (bug#9387).
7855
24d78a88
LMI
78562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7857
bc72b5d9
LMI
7858 * image.el (put-image): Return the overlay created instead of the
7859 optional input string (bug#7834). Note that this may break code
7860 that is (for some reason or other) depending on `put-image'
7861 returning the string.
7862
bd2dba5a
LMI
7863 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7864
74beb59f
LMI
7865 * simple.el (zap-to-char): Allow zapping using input methods
7866 (bug#1580).
7867
24d78a88
LMI
7868 * textmodes/fill.el (fill-region): Leave point and mark where they
7869 were before filling (bug#5399).
7870
263f20cd
GM
78712012-04-09 Glenn Morris <rgm@gnu.org>
7872
7873 * version.el (emacs-bzr-get-version):
7874 Handle lightweight checkouts of local branches.
7875
58d1f797
AS
78762012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7877
263f20cd 7878 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7879
b4d3bc10
CY
78802012-04-09 Chong Yidong <cyd@gnu.org>
7881
7882 * custom.el (custom-variable-p): Return nil for non-symbol
7883 arguments instead of signaling an error.
7884 (user-variable-p): Obsolete alias for custom-variable-p.
7885
7886 * apropos.el (apropos-variable):
7887 * files-x.el (read-file-local-variable):
7888 * simple.el (set-variable):
7889 * woman.el (woman-mini-help):
7890 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7891
fd06db5d
GM
78922012-04-09 Glenn Morris <rgm@gnu.org>
7893
e5fcdb5e
GM
7894 * startup.el (normal-top-level): Don't look for leim-list.el
7895 in places where it will not be found. (Bug#910)
7896
fd06db5d
GM
7897 * international/mule-cmds.el (set-default-coding-systems):
7898 * files.el (normal-mode):
7899 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7900 This function was removed with ucs-tables.el in 2008.
7901
b39bb7e1
EZ
79022012-04-08 Eli Zaretskii <eliz@gnu.org>
7903
7904 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7905 ispell-encoding8-command to "-i", without a trailing space.
7906 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7907 separate command-line arguments, to specify the encoding, since
7908 that's how hunspell expects it.
7909
5c5b8e23
GM
79102012-04-08 Glenn Morris <rgm@gnu.org>
7911
7912 * loadup.el: Load bindings before cus-start.
7913 This reduces somewhat the number of "rogue" settings in emacs -Q.
7914
a1ed8b05
GM
79152012-04-07 Glenn Morris <rgm@gnu.org>
7916
7917 * version.el (emacs-bzr-get-version): New function.
dfae128a 7918 (emacs-bzr-version): New variable.
a1ed8b05
GM
7919 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7920 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7921
b142f158
EZ
79222012-04-07 Eli Zaretskii <eliz@gnu.org>
7923
dfae128a
GM
7924 * international/uni-bidi.el, international/uni-category.el:
7925 * international/uni-combining.el, international/uni-decimal.el:
7926 * international/uni-decomposition.el, international/uni-digit.el:
7927 * international/uni-lowercase.el, international/uni-mirrored.el:
7928 * international/uni-name.el, international/uni-numeric.el:
7929 * international/uni-titlecase.el, international/uni-uppercase.el:
7930 Update for Unicode 6.1.
b142f158 7931
9078ead6
EZ
79322012-04-07 Eli Zaretskii <eliz@gnu.org>
7933
7934 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7935
f23d2c7d
LMI
79362012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937
7938 * window.el (shrink-window): Mention the `window-min-height'
7939 variable in the doc string.
7940
0a0a3573
BG
79412012-04-05 Bastien Guerry <bzg@altern.org>
7942
7943 * color.el (color-lighten-name): Fix typo.
7944
e5248ac9
SM
79452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * server.el (server--on-display-p): New function.
7948 (server--on-display-p): Use it.
7949
b4243e22
GV
79502012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7951
7952 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7953 (bug#11145).
7954
305d9f44
SM
79552012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * comint.el (comint--common-quoted-suffix): Check string boundary
7958 before comparing (bug#11158).
7959 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7960
3d439cd1
CY
79612012-04-04 Chong Yidong <cyd@gnu.org>
7962
321cc491
CY
7963 * minibuffer.el (completion-extra-properties): Doc fix.
7964
3d439cd1
CY
7965 * subr.el (delayed-warnings-hook): Doc fix.
7966
2d562c0f
DU
79672012-04-04 Daiki Ueno <ueno@unixuser.org>
7968
7969 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7970 selection (Bug#11159).
7971 (epa-insert-keys): Inform that the default public key will be
7972 exported if no key is selected.
7973
4443f204
RS
79742012-04-04 Richard Stallman <rms@gnu.org>
7975
7976 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7977
529c06b6
CY
79782012-04-03 Chong Yidong <cyd@gnu.org>
7979
7980 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7981 mail-insert-file, not its obsolete alias mail-attach-file.
7982
66b907dc
MA
79832012-04-03 Michael Albinus <michael.albinus@gmx.de>
7984
7985 * notifications.el (notifications-notify): Fix docstring.
7986
c0ea195d
GM
79872012-04-02 Glenn Morris <rgm@gnu.org>
7988
7989 * emacs-lisp/authors.el (authors-aliases): Another addition.
7990
5ca64e00
MA
79912012-04-02 Michael Albinus <michael.albinus@gmx.de>
7992
7993 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7994 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7995 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7996
42ee526b
CY
79972012-04-01 Chong Yidong <cyd@gnu.org>
7998
7999 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8000 Handle root directory properly.
8001 (copy-directory): Caller changed.
8002
8003 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8004 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8005
0b021094
GM
80062012-03-31 Glenn Morris <rgm@gnu.org>
8007
40f86458
GM
8008 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8009
7019c177
GM
8010 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8011
a1daddd6
GM
8012 * calendar/calendar.el (calendar-window-list)
8013 (calendar-hide-window): Restore. (Bug#11140)
8014 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8015
0b021094
GM
8016 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8017
40311efc
TV
80182012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8019
8020 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8021 Check if file is a symlink (Bug#10489).
8022
8023 * files.el (copy-directory): Likewise.
8024
5319014e
CY
80252012-03-30 Chong Yidong <cyd@gnu.org>
8026
8027 * image.el (imagemagick-types-inhibit)
8028 (imagemagick-register-types): Doc fix.
8029
935d1290
AM
80302012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8031
090bd7cb 8032 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8033 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8034 and treats ~word as ordinary words in pipe mode.
935d1290 8035
61c6e8fd
GM
80362012-03-30 Glenn Morris <rgm@gnu.org>
8037
8038 * tutorial.el (help-with-tutorial): Ensure local variables don't
8039 happen to make the buffer read-only. (Bug#11127)
8040
81fdff00
SM
80412012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8044 (perl-calculate-indent): Return `noindent' in strings.
8045
6e7a6ec0
SS
80462012-03-28 Sam Steingold <sds@gnu.org>
8047
8048 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8049 instead of the broken adhockery which does not prevent calendar
8050 buffers from being displayed at random after exit.
8051 (calendar-window-list, calendar-hide-window): Remove the broken
8052 adhockery.
8053
fee88ca0
GM
80542012-03-28 Glenn Morris <rgm@gnu.org>
8055
8056 * replace.el (query-replace-map): Doc fix.
8057
38de3354
AS
80582012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8059
8060 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8061 contents. (Bug#11109)
8062
b973155e
SM
80632012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8064
8065 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8066 (bug#11077).
8067 (avl-tree--check, avl-tree--check-node): New funs.
8068
dcb6e7b3
MR
80692012-03-27 Martin Rudalics <rudalics@gmx.at>
8070
8071 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8072 (switch-to-prev-buffer, switch-to-next-buffer):
8073 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8074 showing a buffer already is done on the same frame.
8075
b4fa35fa
GM
80762012-03-27 Glenn Morris <rgm@gnu.org>
8077
8078 * startup.el (mail-host-address): Doc fix.
8079
f9210e18
SM
80802012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8083 than 197 variables.
8084
c0bf7753
AF
80852012-03-26 Ami Fischman <ami@fischman.org>
8086
8087 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8088
33da7b16
GM
80892012-03-26 Glenn Morris <rgm@gnu.org>
8090
02243d9d
GM
8091 * files.el (save-buffers-kill-emacs): Doc fix.
8092
33da7b16
GM
8093 * startup.el (normal-top-level, command-line, command-line-1):
8094 Give them doc strings.
8095
e5a69fd0
EZ
80962012-03-25 Eli Zaretskii <eliz@gnu.org>
8097
8098 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8099 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8100
9a69676a
CY
81012012-03-25 Chong Yidong <cyd@gnu.org>
8102
4125cb8b
CY
8103 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8104 theme if it was previously enabled before (Bug#11031).
8105
dd470960
CY
8106 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8107 spec with custom-face-get-current-spec if its :shown-value is not
8108 determined yet (Bug#9337).
4125cb8b 8109 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8110
9a69676a
CY
8111 * button.el (button-at): Minor addition to docstring.
8112
6e7e90fa
SL
81132012-03-24 Simon Leinen <simon.leinen@gmail.com>
8114
8115 * vc/vc.el (vc-merge): Fix a prompt.
8116
f06e2758
CY
81172012-03-24 Chong Yidong <cyd@gnu.org>
8118
8119 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8120 point (Bug#9623).
8121
6e7e90fa
SL
8122 * button.el (button-at): Minor addition to docstring.
8123
b9d0879b
SM
81242012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8125
8126 * newcomment.el (comment-choose-indent): No space after BOL.
8127
e71cebb3
SS
81282012-03-22 Sam Steingold <sds@gnu.org>
8129
8130 * window.el (switch-to-prev-buffer): Revert last patch because the
8131 bug turned out to be an advertised feature (Elisp manual 28.14).
8132
335aff35
GM
81332012-03-22 Glenn Morris <rgm@gnu.org>
8134
8135 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8136 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8137
c676576a
LMI
81382012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139
8140 * net/network-stream.el (network-stream-open-starttls): Make error
8141 message under Windows be less misleading.
8142
126f3d39
LW
81432012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8144
8145 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8146 understands (bug#9942).
8147
64fee311
CY
81482012-03-22 Chong Yidong <cyd@gnu.org>
8149
8150 * simple.el (end-of-visible-line): Handle return value of
8151 next-single-property-change properly (Bug#9371).
8152
a640d29a
KH
81532012-03-22 Kenichi Handa <handa@m17n.org>
8154
8155 * international/quail.el (quail-insert-kbd-layout): Fix previous
8156 change. To avoid unwanted bidi reordering, use
8157 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8158
39675016
DG
81592012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8160
8161 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8162 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8163 (ruby-beginning-of-indent): Be more careful with the difference
8164 between word-boundary and symbol boundary.
8165 (ruby-mode-syntax-table): Make : a symbol constituent.
8166
0a6934fc 81672012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8168
3d008e4f
SM
8169 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8170
0a6934fc
SM
81712012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8172
af67c9d7
SM
8173 * progmodes/etags.el (tags-completion-at-point-function):
8174 Improve last fix.
8175
1acad97c
SM
8176 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8177
e298b5da
SS
81782012-03-21 Sam Steingold <sds@gnu.org>
8179
8180 * progmodes/etags.el (tags-completion-at-point-function):
8181 Avoid the error when point is inside the pattern.
8182
91d82a70
JY
81832012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8184
8185 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8186 line (Bug#10855).
8187
69188b79
CY
81882012-03-21 Drew Adams <drew.adams@oracle.com>
8189
8190 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8191
99fc91fe
AK
81922012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8193
8194 * ido.el (ido-set-current-directory, ido-read-internal)
8195 (ido-choose-completion-string, ido-completion-help): Handle nil
8196 value of ido-completion-buffer (Bug#11008).
8197
087bbb4c
SS
81982012-03-21 Sam Steingold <sds@gnu.org>
8199
8200 * window.el (switch-to-prev-buffer): Do not switch to a visible
8201 window previous buffer, just like with the frame previous buffers.
8202
fb5b8aca
CY
82032012-03-21 Chong Yidong <cyd@gnu.org>
8204
8205 * faces.el (make-face, make-empty-face, copy-face):
8206 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8207 Doc fixes.
8208
dc9924b8
SM
82092012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8212 (widget-complete): Remove broken use of it.
8213
f0bcceb9
CY
82142012-03-20 Chong Yidong <cyd@gnu.org>
8215
dc9924b8
SM
8216 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8217 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8218 characters.
8219
ee52ebf3
TH
82202012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8221
8222 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8223 to draw rectangles, not squares. (Regression introduced by revno
8224 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8225
4c5779ab
CY
82262012-03-18 Chong Yidong <cyd@gnu.org>
8227
8228 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8229 it is not yet defined (for temacs).
8230
15360934
LL
82312012-03-18 Leo Liu <sdl.web@gmail.com>
8232
dc9924b8 8233 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8234
d9a8eb66
EZ
82352012-03-17 Eli Zaretskii <eliz@gnu.org>
8236
8237 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8238 (ispell-choices-win-default-height, ispell-silently-savep)
8239 (ispell-dictionary-alist, ispell-encoding8-command)
8240 (ispell-check-version, ispell-aspell-find-dictionary)
8241 (ispell-valid-dictionary-list, ispell-words-keyword)
8242 (ispell-get-word, ispell-internal-change-dictionary)
8243 (ispell-region, ispell-skip-region-list)
8244 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8245 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8246 (ispell-message-text-end, ispell-message)
8247 (ispell-buffer-local-parsing): Doc fix.
8248
f02ff80d
J
82492012-03-13 Jambunathan K <kjambunathan@gmail.com>
8250
8251 * htmlfontify.el: Add support for code block fontification for ODT
8252 export (Bug #9914).
8253 (hfy-optimisations): Define new option
8254 `body-text-only'
8255 (hfy-fontify-buffer): Honor above setting.
8256 (hfy-begin-span, hfy-end-span): New routines factored out form
8257 `hfy-fontify-buffer'.
8258 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8259 that permit insertion of custom tags.
8260 (hfy-fontify-buffer): Use above handlers.
8261 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8262 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8263 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8264 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8265 bind a special variable `hfy-user-sheet-assoc'.
8266 (htmlfontify-string): New defun.
8267 (hfy-compile-face-map): Make sure that the last char in the
8268 buffer is correctly fontified.
8269 (hfy-face-resolve-face): Whitespace only change.
8270
9ac7a13f
EZ
82712012-03-17 Eli Zaretskii <eliz@gnu.org>
8272
8273 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8274 message more clear.
8275
e2b5bdd7
LL
82762012-03-16 Leo Liu <sdl.web@gmail.com>
8277
8278 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8279
2e492df3
AM
82802012-03-16 Alan Mackenzie <acm@muc.de>
8281
8282 Further optimise the handling of large macros.
8283
8284 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8285 limit to a call of `c-literal-limits'.
8286 (c-determine-+ve-limit): New function.
dc9924b8
SM
8287 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8288 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8289 In CASE 5B, restrict a search limit to 500.
8290 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8291
8292 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8293 Restrict macro bounds to +-500 from after-change's BEG END.
8294
50e94f0c
LL
82952012-03-16 Leo Liu <sdl.web@gmail.com>
8296
8297 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8298
6f09f6ed
AH
82992012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8300
8301 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8302 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8303
c7e73d51
GM
83042012-03-16 Glenn Morris <rgm@gnu.org>
8305
da986230
GM
8306 * view.el (view-buffer, view-buffer-other-window)
8307 (view-buffer-other-frame): Doc fixes re special mode-class.
8308
0835f01e
GM
8309 * subr.el (eval-after-load): If named feature is provided not from
8310 a file, run after-load forms. (Bug#10946)
8311
c7e73d51
GM
8312 * calendar/calendar.el (calendar-insert-at-column):
8313 Handle non-unit-width characters a bit better. (Bug#10978)
8314
3f2eafd1
CY
83152012-03-15 Chong Yidong <cyd@gnu.org>
8316
8317 * emacs-lisp/ring.el (ring-extend): New function.
8318 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8319
8320 * comint.el (comint-read-input-ring)
8321 (comint-add-to-input-history): Grow comint-input-ring lazily.
8322
103af3fe
SM
83232012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8324
663b1677
SM
8325 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8326 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8327
103af3fe
SM
8328 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8329 (imenu-add-to-menubar): Don't add a redundant index.
8330 (imenu-update-menubar): Handle a dynamically composed keymap.
8331
899cb7cb
KY
83322012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8333
8334 * mail/sendmail.el (mail-encode-header):
8335 Bind rfc2047-encode-encoded-words to nil.
8336
3809f91d
GM
83372012-03-13 Glenn Morris <rgm@gnu.org>
8338
8339 * calendar/calendar.el (calendar-string-spread):
8340 Handle non-unit-width characters a bit better. (Bug#10978)
8341
9e345a01
LL
83422012-03-13 Leo Liu <sdl.web@gmail.com>
8343
8344 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8345 directory and file as argument (Bug#10822).
8346
4a07df36
KS
83472012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8348
8349 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8350 For dynamically generated code, follow $PC.
8351 (gdb-disassembly-handler-custom): Handle no function name case.
8352
4aaa9356
TL
83532012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8354
8355 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8356 * emulation/ws-mode.el (ws-query-replace):
8357 * sort.el (sort-regexp-fields):
8358 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8359
225979da
SM
83602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * dabbrev.el: Fix cycle completion order (bug#10963).
8363 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8364 (dabbrev-completion): Don't use an obarray; provide
8365 a cycle-sort-function.
8366
e2f1fdab
LL
83672012-03-12 Leo Liu <sdl.web@gmail.com>
8368
dc9924b8 8369 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8370 (kill-do-not-save-duplicates): Doc fix.
8371
b19490ed
SM
83722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * dabbrev.el: Fix cycle completion (bug#10963).
8375 Use lexical binding and wrap to 80 columns.
8376 (dabbrev-completion): Delay computing the list of completions.
8377
4b05d722
KH
83782012-03-12 Kenichi Handa <handa@m17n.org>
8379
8380 * international/quail.el (quail-insert-kbd-layout): Surround each
8381 row by LRO and PDF instead of inserting many LRMs. Pad the left
8382 and right of each non-spacing marks. Insert invisible space
8383 between lower and upper characters to prevent composition.
8384
dbbc2e69
SM
83852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * minibuffer.el (minibuffer-complete): Don't get confused when the
8388 function is run twice via different commands (bug#10958).
8389 (complete-with-action): Fix docstring.
8390
292112ed
CY
83912012-03-12 Chong Yidong <cyd@gnu.org>
8392
5d1ac394
CY
8393 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8394 (nxml-completion-at-point-function): New function.
8395 (nxml-mode): Use it.
8396 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8397
292112ed
CY
8398 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8399 Load generated autoloads file before byte compiling (Bug#10970).
8400 (package--make-autoloads-and-compile): New helper fun.
8401
4098f8f7
CS
84022012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8403
8404 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8405
8f754691
MA
84062012-03-11 Michael Albinus <michael.albinus@gmx.de>
8407
8408 * autorevert.el (auto-revert-handler): Ensure, that
8409 file-readable-p is applied only for local files or in
8410 auto-revert-tail-mode.
8411
e29ab36b
AS
84122012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8413
dbbc2e69
SM
8414 * server.el (server-eval-at): Handle non-tcp connections.
8415 Decode result string.
ad0bf5b6 8416
e29ab36b
AS
8417 * server.el (server-msg-size): New constant.
8418 (server-reply-print): New function.
8419 (server-eval-and-print): Use it.
8420 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8421 Handle -print-nonl.
8422
de5939ba
CS
84232012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8424
8425 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8426 (Bug#10987).
8427
0c93eabf
CY
84282012-03-11 Chong Yidong <cyd@gnu.org>
8429
397a688f
CY
8430 * simple.el (goto-line): Doc fix (Bug#9938).
8431
2cc775f9
CY
8432 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8433
0c93eabf
CY
8434 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8435 when finished (Bug#10963).
8436
c491fa41
MR
84372012-03-11 Martin Rudalics <rudalics@gmx.at>
8438
8439 * window.el (split-window-below): Fix bug in case where
8440 split-window-keep-point is nil (Bug#10971).
8441
300e8fa5
JL
84422012-03-11 Juri Linkov <juri@jurta.org>
8443
8444 * replace.el (replace-highlight): Set isearch-word to nil
8445 unconditionally. (Bug#10887)
8446
dbf6c5a1
EZ
84472012-03-10 Eli Zaretskii <eliz@gnu.org>
8448
8449 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8450 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8451 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8452 (mairix-widget-create-query): Add usage information about mairix
8453 search forms: negating words, searching for substrings, etc.
8454
b9e501de
JP
84552012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8456
8457 * international/fontset.el (font-encoding-alist): Add an entry for
8458 ksx1001 (Bug#5667).
8459
92795c91
RS
84602012-03-10 Richard Stallman <rms@gnu.org>
8461
1694e6c1
RS
8462 * mail/sendmail.el (mail-encode-header):
8463 Set rfc2047-encode-encoded-words.
8464
607e8555
RS
8465 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8466
de3bc99a
RS
8467 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8468 view buffer means not swapped.
8469 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8470 (rmail-write-region-annotate): Error if real text has disappeared.
8471
92795c91
RS
8472 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8473
699bd04e
CY
84742012-03-10 Chong Yidong <cyd@gnu.org>
8475
8476 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8477 * emulation/cua-base.el (cua--init-keymaps):
8478 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8479
570a1714
MR
84802012-03-10 Martin Rudalics <rudalics@gmx.at>
8481
dbbc2e69
SM
8482 * speedbar.el (speedbar-unhighlight-one-tag-line):
8483 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8484
82dcf4e4
CY
84852012-03-10 Chong Yidong <cyd@gnu.org>
8486
7a2c7ca7
CY
8487 * minibuffer.el (completion-in-region, completion-help-at-point):
8488 Give the completion field overlay a high priority (Bug#6830).
8489
82dcf4e4
CY
8490 * dired.el (dired-goto-file): Recognize absolute file name
8491 listings (Bug#7126).
8492 (dired-goto-file-1): New helper function.
8493 (dired-toggle-read-only): Inhibit warnings.
8494
052e28ac
MA
84952012-03-09 Michael Albinus <michael.albinus@gmx.de>
8496
75f1671a 8497 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8498 there are no properties.
8499
95d5e396
LL
85002012-03-09 Leo Liu <sdl.web@gmail.com>
8501
8502 * savehist.el (savehist-printable): Stricter check for string
8503 value (Bug#10937).
8504
3f018d6d
EZ
85052012-03-09 Eli Zaretskii <eliz@gnu.org>
8506
dbbc2e69
SM
8507 * mail/smtpmail.el (smtpmail-send-it):
8508 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8509 valid mbox format.
8510
f7fd3d79
GM
85112012-03-09 Glenn Morris <rgm@gnu.org>
8512
8513 * files.el (dir-locals-find-file):
8514 Don't check result is regular, readable.
8515 (dir-locals-read-from-file): Demote errors.
8516
6ff6e72f
EZ
85172012-03-08 Eli Zaretskii <eliz@gnu.org>
8518
dbbc2e69
SM
8519 * international/quail.el (quail-insert-kbd-layout):
8520 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8521 layout cell, to prevent their reordering by bidi display engine.
8522 For details, see the discussion in
8523 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8524
9cec7834
AM
85252012-03-08 Alan Mackenzie <acm@muc.de>
8526
8527 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8528 the starting position; make it extend the marked region when
8529 invoked repeatedly - all under appropriate circumstances.
8530 Fixes bugs #5525, #10906.
8531
9a40b8d4
GM
85322012-03-08 Glenn Morris <rgm@gnu.org>
8533
8534 * files.el (locate-dominating-file, dir-locals-find-file):
8535 Undo 2012-03-06 change.
8536
7a08ed35
EZ
85372012-03-07 Eli Zaretskii <eliz@gnu.org>
8538
dbbc2e69
SM
8539 * international/quail.el (quail-help):
8540 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8541 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8542 for the reason.
8543
5aca4f71 85442012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8545
8546 Avoid superfluous registering of signals. (Bug#10807)
8547
8548 * notifications.el (notifications-on-action-object)
8549 (notifications-on-close-object): New defvars.
8550 (notifications-on-action-signal, notifications-on-closed-signal):
8551 Unregister the signal if not needed any longer.
8552 (notifications-notify): Register `notifications-action-signal' or
8553 `notifications-closed-signal', if :on-action or :on-close has been
8554 passed as argument.
8555
78e8b10a
CY
85562012-03-07 Chong Yidong <cyd@gnu.org>
8557
8558 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8559 non-X platforms.
8560
69481eb8
GM
85612012-03-06 Glenn Morris <rgm@gnu.org>
8562
8563 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8564 (x-disown-selection-internal, x-get-selection-internal):
8565 Doc fix (add arglist signatures). (Bug#10783)
8566
133b8e11
KS
85672012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8568
8569 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8570 Handle breakpoints with no "type".
8571
99a83064
GM
85722012-03-06 Glenn Morris <rgm@gnu.org>
8573
8574 * files.el (locate-dominating-file): Add optional predicate argument.
8575 (dir-locals-find-file): Make use of above change.
8576
17798e78
TTN
85772012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8578
8579 * info.el (Info-insert-dir): Also try "dir.gz".
8580
eb182446
GM
85812012-03-06 Glenn Morris <rgm@gnu.org>
8582
8f2114ee
GM
8583 * files.el (dir-locals-find-file):
8584 Ignore non-readable or non-regular files. (Bug#10928)
8585
eb182446
GM
8586 * files.el (locate-dominating-file): Doc fix.
8587
24679323
AS
85882012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8589
8590 * calendar/calendar.el (calendar-set-mode-line):
8591 `getenv' returns a string. (Bug#10951)
8592
01d972a9
LL
85932012-03-05 Leo Liu <sdl.web@gmail.com>
8594
109aa8a9
LL
8595 * simple.el (backward-delete-char-untabify): Constrain point to
8596 field (Bug#10939).
8597
01d972a9
LL
8598 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8599
10607bea
CY
86002012-03-05 Chong Yidong <cyd@gnu.org>
8601
8602 * simple.el (count-words): If called from Lisp, return the word
8603 count, for symmetry with `count-lines'. Arglist changed.
8604 (count-words--message): Args changed. Consolidate counting code
8605 from count-words and count-words-region.
8606 (count-words-region): Caller changed.
8607 (count-lines-region): Make it an obsolete alias.
8608
5dd11cfe
TH
86092012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8610
8611 * saveplace.el (save-place-to-alist)
8612 (save-place-ignore-files-regexp): Allow value nil to disable this
8613 feature.
8614
c349f4e6
CY
86152012-03-04 Chong Yidong <cyd@gnu.org>
8616
8617 * faces.el (face-spec-reset-face): For the default face, reset the
8618 attributes to default values (Bug#10748).
8619
e627be4c
LMI
86202012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
8622 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8623 previous patch: Check `message-send-mail-function', and not the
8624 default function (bug#10897).
8625
ebeabff4
MA
86262012-03-04 Michael Albinus <michael.albinus@gmx.de>
8627
a41a6cf4
MA
8628 * notifications.el (notifications-on-action-signal)
8629 (notifications-on-closed-signal): Check for unique service name of
8630 incoming event. Fix error in removing entry.
ebeabff4 8631 (top): Register for signals with wildcard service name.
a41a6cf4 8632 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8633
c1ca42b4
CY
86342012-03-04 Chong Yidong <cyd@gnu.org>
8635
dc9924b8 8636 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8637
ea16568d
GM
86382012-03-04 Glenn Morris <rgm@gnu.org>
8639
8640 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8641 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8642 (expand-abbrev, define-abbrev-table): Doc fixes.
8643
fbae4637
LMI
86442012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
8646 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8647 `message-default-send-mail-function' and not `send-mail-function'
8648 when doing the prompting for `sendmail-query-once' before sending
8649 in Message buffers (bug#10897).
8650
a1e7225c
LMI
8651 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8652 This is inconsistent with all the other stream functions, which leave
8653 the setting up to the higher levels (if so wanted) (bug#10931).
8654
56d093a9
AM
86552012-03-02 Alan Mackenzie <acm@muc.de>
8656
8657 Depessimize the handling of very large macros.
8658
8659 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8660 (c-macro-cache-syntactic): New variables to implement a one
8661 element macro cache.
8662 (c-invalidate-macro-cache): New function.
8663 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8664 Adapt to use the new cache.
8665 (c-state-safe-place): Use better the cache of safe positions.
8666 (c-state-semi-nonlit-pos-cache)
8667 (c-state-semi-nonlit-pos-cache-limit):
8668 New variables for...
8669 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8670 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8671 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8672 Use c-state-semi-safe-place.
56d093a9 8673
dbbc2e69
SM
8674 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8675 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8676
817e5c3d
MA
86772012-03-02 Michael Albinus <michael.albinus@gmx.de>
8678
dbbc2e69
SM
8679 * jka-compr.el (jka-compr-call-process):
8680 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8681 not remote.
8682
a032a702
MA
86832012-03-01 Michael Albinus <michael.albinus@gmx.de>
8684
8685 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8686 access of FILE2, if FILE1 does not exist.
8687
99a54f21
MA
8688 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8689 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8690
8691 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8692 Add "PAGER=" to `process-environment'.
8693
f6561e1f
MM
86942012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8695
8696 * progmodes/sql.el: Bug fix
8697 (sql-get-login-ext): Save login values in globals.
8698 (sql-get-login): Use new version of `sql-get-login-ext'.
8699 (sql-interactive-mode): Set global `sql-connection' to nil.
8700 (sql-connect): Set global values for connection.
8701 (sql-product-interactive): Save global values as buffer local.
8702
2d44d9cc
LL
87032012-02-29 Leo Liu <sdl.web@gmail.com>
8704
8705 * abbrev.el (define-abbrevs): Reset sys to nil.
8706
96b49301 87072012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8708
bf7f9bc5
JB
8709 * files.el (file-equal-p): Rename from `files-equal-p'.
8710 Return nil when one or both files don't exist.
96b49301 8711 (file-subdir-of-p): Now only top directory must exists,
8712 return nil if it doesn't.
bf7f9bc5
JB
8713 (copy-directory): No need to test with `file-subdir-of-p' after
8714 creating dir.
8715 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8716 to `file-equal-p'.
96b49301 8717
44e97401
GM
87182012-02-28 Glenn Morris <rgm@gnu.org>
8719
8720 * shell.el (shell-mode):
8721 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8722 * play/landmark.el (landmark-font-lock-face-O):
8723 * play/handwrite.el (handwrite):
8724 * play/gomoku.el (gomoku-O):
8725 * net/browse-url.el (browse-url-browser-display):
8726 * international/mule.el (define-charset):
8727 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8728 * filesets.el (filesets-find-file-delay):
8729 * eshell/em-xtra.el (eshell-xtra):
8730 * eshell/em-unix.el (eshell-grep):
8731 * emulation/viper.el (viper-mode):
8732 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8733 * emacs-lisp/easymenu.el (easy-menu-define):
8734 * calendar/timeclock.el (timeclock-use-display-time):
8735 * bs.el (bs-mode):
8736 * bookmark.el (bookmark-save-flag):
8737 Doc fix (standardize possessive apostrophe usage).
8738
c98c6276
CY
87392012-02-27 Chong Yidong <cyd@gnu.org>
8740
bf7f9bc5
JB
8741 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8742 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8743
c98c6276
CY
8744 * font-lock.el (font-lock-specified-p): Rename from
8745 font-lock-spec-present. Callers changed.
8746
9c62cd04 87472012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8748
bf7f9bc5
JB
8749 * emacs-lisp/package.el (package-compute-transaction):
8750 Handle holding a package version to t in package-load-list.
8ac9e529 8751
530739c9
MA
87522012-02-26 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8755 (tramp-get-inode, tramp-get-device): Use cached values.
8756
487915d7
AM
87572012-02-26 Alan Mackenzie <acm@muc.de>
8758
8759 Check there is a font-lock specification before doing initial
8760 fontification.
8761
8762 * font-core.el (font-lock-mode): Move the conditional from
8763 :after-hook to font-lock-initial-fontify.
8764 (font-lock-default-function): Move the check for a specification
8765 to font-lock-spec-present.
8766
dc9924b8 8767 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8768 (font-lock-spec-present): New function.
8769
4fd96557
JB
87702012-02-26 Jim Blandy <jimb@red-bean.com>
8771
8772 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8773 (gdb-send): Apply it to the operand of the '-interpreter-exec
8774 console' command, so that we can pass arguments with (say) quotes
8775 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8776
9a4888c0
CY
87772012-02-26 Chong Yidong <cyd@gnu.org>
8778
07498861
CY
8779 * help-fns.el (describe-function-1): Clarify description of
8780 remapping (Bug#10844).
8781
9a4888c0
CY
8782 * files.el (files-equal-p): Doc fix.
8783 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8784 and quit the loop once a mismatch is found.
8785
ea8fb88d
JB
87862012-02-25 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * bs.el (bs--show-with-configuration): Don't throw an error
8789 if the window cannot be split; otherwise, subsequent calls to
8790 bs-show fail, restoring a stale window config. (Bug#10882)
8791
525795c1
JD
87922012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8793
8794 * term/ns-win.el (global-map): Bind ns-drag-file to
8795 ns-find-file (Bug#5855, Bug#10050).
8796
f008086f
AS
87972012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * calendar/parse-time.el (parse-time-string): Allow extractor to
8800 return nil.
8801
a3fcfa99
MA
88022012-02-25 Michael Albinus <michael.albinus@gmx.de>
8803
91027d08
JB
8804 * net/tramp.el (tramp-file-name-for-operation):
8805 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8806
8807 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8808 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8809 Add COPY-CONTENTS argument.
a3fcfa99 8810
67b0de11
CY
88112012-02-25 Chong Yidong <cyd@gnu.org>
8812
8813 Add custom groups for VC backends, for consistency with vc-bzr.
8814
8815 * vc/vc-arch.el (vc-arch):
8816 * vc/vc-cvs.el (vc-cvs):
8817 * vc/vc-git.el (vc-git):
8818 * vc/vc-hg.el (vc-hg):
8819 * vc/vc-mtn.el (vc-mtn):
8820 * vc/vc-rcs.el (vc-rcs):
8821 * vc/vc-sccs.el (vc-sccs):
8822 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8823 All relevant defcustoms reassigned.
8824
3c9dfce6
CY
88252012-02-25 Chong Yidong <cyd@gnu.org>
8826
1339bf43
CY
8827 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8828
3c9dfce6
CY
8829 * term/x-win.el (x-initialize-window-system): Reduce default for
8830 x-selection-timeout to 5 seconds (Bug#8869).
8831
25b2e303 88322012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8833
ec70a47d
GM
8834 * files.el (files-equal-p, file-subdir-of-p): New functions.
8835 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8836 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8837 * dired-aux.el (dired-copy-file-recursive): Same.
8838 (dired-create-files): Modify destination when source is equal to
8839 dest when copying files.
53a46cd0 8840 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8841
914260cd
MA
88422012-02-24 Michael Albinus <michael.albinus@gmx.de>
8843
8844 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8845 (Bug#10874)
8846
2cb228f7
AM
88472012-02-23 Alan Mackenzie <acm@muc.de>
8848
8849 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8850 parameter "after-hook:" to allow the expansion to run code after
8851 the execution of the mode hooks.
8852
8853 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8854 from font-lock-mode-internal.
2cb228f7 8855
91027d08 8856 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8857 :after-hook.
8858
8f0fde21
SM
88592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8860
3e88618b
SM
8861 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8862 (completion--cache-all-sorted-completions): New function.
8863 (completion-all-sorted-completions): Use it.
8864 (completion--do-completion, minibuffer-force-complete):
8865 Use it to re-instate the flush hook.
8866
8f0fde21
SM
8867 * icomplete.el (icomplete-completions): Replace last fix with a better
8868 one (bug#10850).
8869
8e911f6f
DG
88702012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8871
8872 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8873 when it might call us back infinitely (bug#10797).
8874
49fe4321
GM
88752012-02-23 Glenn Morris <rgm@gnu.org>
8876
8877 * minibuffer.el (completion-category-overrides): Doc fix.
8878
b291b572
SM
88792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8882 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8883
31a9ef2e
GM
88842012-02-23 Glenn Morris <rgm@gnu.org>
8885
5e6e6794 8886 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8887 (authors-obsolete-files-regexps, authors-ignored-files)
8888 (authors-ambiguous-files, authors-renamed-files-alist):
8889 Add more entries.
8890
0bd1e074
JL
88912012-02-23 Juri Linkov <juri@jurta.org>
8892
8893 * isearch.el (isearch-occur): Sync interactive spec with occur's
8894 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8895
b617673c
JL
8896 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8897
19e9789e
JL
88982012-02-22 Juri Linkov <juri@jurta.org>
8899
8900 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8901 (ucs-insert): Doc fix. Check for hex digits in the string.
8902 Don't display `nil' in the error message. (Bug#10857)
8903
f41ce09d
AM
89042012-02-22 Alan Mackenzie <acm@muc.de>
8905
7a71b18d 8906 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8907
ac2eceee
GM
89082012-02-22 Glenn Morris <rgm@gnu.org>
8909
8910 * ffap.el (ffap-c-path):
8911 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8912
abd1f678
CY
89132012-02-22 Chong Yidong <cyd@gnu.org>
8914
8915 * custom.el (load-theme): Doc fix.
8916
f25aef2e
GM
89172012-02-22 Glenn Morris <rgm@gnu.org>
8918
8919 * dired-x.el (dired-guess-shell-alist-default):
8920 Remove escape sequences from nroff output. (Bug#172)
8921
5f8dc2ca
GM
89222012-02-21 Glenn Morris <rgm@gnu.org>
8923
6ff86ec4
GM
8924 * vc/emerge.el (emerge-defvar-local):
8925 Set `permanent-local' property rather than unused `preserved'.
8926
be3223a3 8927 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8928 (picture-mode-map): Use it. (Bug#10860)
8929 (picture-mode): Doc fix.
8930
3fe58f4f
JB
89312012-02-21 Juanma Barranquero <lekktu@gmail.com>
8932
8933 * newcomment.el (uncomment-region-default): Remove unused binding.
8934
f9a998c3
GM
89352012-02-21 Glenn Morris <rgm@gnu.org>
8936
8937 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8938 (picture-self-insert, picture-tab-chars): Doc fix.
8939 (picture-mode-map): Fix C-a, C-e.
8940
c6029348
GM
89412012-02-20 Glenn Morris <rgm@gnu.org>
8942
8943 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8944
ab1ce9d7
LL
89452012-02-20 Leo Liu <sdl.web@gmail.com>
8946
8947 * icomplete.el (icomplete-completions): Check FROM arg before
8948 passing to substring (Bug#10850).
8949
0fd40f89
CY
89502012-02-19 Chong Yidong <cyd@gnu.org>
8951
8952 * comint.el: Require ansi-color.
8953 (comint-output-filter-functions): Add ansi-color-process-output.
8954
8955 * ansi-color.el: Don't set comint-output-filter-functions; it is
8956 now in the initial value defined in comint.el.
8957 (ansi-color-apply-face-function): New variable.
8958 (ansi-color-apply-on-region): Use it.
8959 (ansi-color-apply-overlay-face): New function.
8960
8961 * shell.el (shell): No need to require ansi-color.
8962 (shell-mode): Use ansi-color-apply-face-function to highlight
8963 color escapes using font-lock-face property (Bug#10835).
8964
20af2394
CY
89652012-02-19 Chong Yidong <cyd@gnu.org>
8966
8967 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8968 mode-line formats (Bug#10839).
8969
e23a3fbe
GM
89702012-02-18 Glenn Morris <rgm@gnu.org>
8971
b474519e
GM
8972 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8973
8974 * mail/undigest.el (unforward-rmail-message): Doc fix.
8975
e23a3fbe
GM
8976 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8977
57939ff4
EZ
89782012-02-18 Eli Zaretskii <eliz@gnu.org>
8979
8980 * international/characters.el (script-list): Sync with the latest
8981 Unicode Character Database.
8982
0c23686e
AS
89832012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8984
8985 * international/titdic-cnv.el: Remove duplicate coding tag.
8986 * language/cham.el: Likewise.
8987 * language/tai-viet.el: Likewise.
8988
6818b449
GM
89892012-02-18 Glenn Morris <rgm@gnu.org>
8990
8991 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8992 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8993 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8994 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8995 * calendar/holidays.el (holiday-bahai-holidays)
8996 (calendar-holidays, list-holidays):
8997 Use utf-8 Bahá'í in doc-strings, menus, etc.
8998
0311a3fc
TH
89992012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9000
9001 * saveplace.el (save-place-ignore-files-regexp): New variable
9002 allowing for excluding files from saving their location of point.
9003 The default value matches the temporary commit message editing
9004 files from Git, SVN, Bazaar, and Mercurial.
9005 (save-place-to-alist): Use it.
9006
d209e2fb 90072012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9008 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9009
9010 * newcomment.el (uncomment-region-default): Don't leave extra space
9011 when an arg is provided (bug#8150).
9012
ee0ce425
TZ
90132012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9014
eb864a71 9015 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9016
95ddf442
GM
90172012-02-17 Glenn Morris <rgm@gnu.org>
9018
9019 * net/socks.el: Require network-stream. (Bug#10599)
9020
48dd1e39 90212012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9022
9023 * international/charprop.el:
9024 * international/uni-name.el:
9025 * international/uni-old-name.el:
9026 * international/uni-comment.el: Regenerate.
9027
d68cd087
GM
90282012-02-16 Glenn Morris <rgm@gnu.org>
9029
9030 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9031 Interactively in calendar buffer, give an error if not on a date.
9032
13932042
GM
90332012-02-15 Glenn Morris <rgm@gnu.org>
9034
9035 * shell.el (shell-delimiter-argument-list):
9036 Revert 2011-02-17 change. (Bug#8027)
9037
c3a70e2b
CY
90382012-02-15 Chong Yidong <cyd@gnu.org>
9039
60236b0d
CY
9040 * minibuffer.el (completion-at-point-functions): Doc fix.
9041
c3a70e2b
CY
9042 * custom.el (defcustom): Doc fix; note use of defvar.
9043
9f26dc24
GM
90442012-02-15 Glenn Morris <rgm@gnu.org>
9045
9046 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9047 Doc fixes.
9048
6546b134
GM
90492012-02-14 Glenn Morris <rgm@gnu.org>
9050
9051 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9052
d29b2b4c
LI
90532012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9054
9055 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9056 way the ports list is computed.
835bdcba
LI
9057 (smtpmail-query-smtp-server): Prompt the user for a port number if
9058 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9059
08dcdbc9
TZ
90602012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9061
9062 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9063
2605051a
GM
90642012-02-13 Glenn Morris <rgm@gnu.org>
9065
9066 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9067
7ee99f32
TZ
90682012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9069
9070 * net/gnutls.el (gnutls-trustfiles): New variable.
9071 (gnutls-negotiate): Use it.
9072
5f0af64f
LI
90732012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9074
9075 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9076 does its stuff if Gnus is running.
9077
c14fcc95
AM
90782012-02-13 Alan Mackenzie <acm@muc.de>
9079
9080 Fix a loop in c-set-fl-decl-start.
9081
7a71b18d 9082 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9083 c-backward-syntactic-ws actually moves backwards.
9084
142b4d90
LL
90852012-02-13 Leo Liu <sdl.web@gmail.com>
9086
9087 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9088 beginning so that all \C-o chars are removed.
9089
fa9958a6
TZ
90902012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9091
dc9924b8 9092 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9093
0bc5886a
AM
90942012-02-12 Alan Mackenzie <acm@muc.de>
9095
9096 Fix infinite loop with long macros.
4d6769e1 9097 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9098
d4bd55e7
CY
90992012-02-12 Chong Yidong <cyd@gnu.org>
9100
9101 * window.el (display-buffer): Doc fix (Bug#10785).
9102
66f3fe22
GM
91032012-02-12 Glenn Morris <rgm@gnu.org>
9104
bd7da63e
GM
9105 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9106 (x-disown-selection-internal, x-get-selection-internal):
9107 Sync docs with the xselect.c versions.
9108
66f3fe22
GM
9109 * allout-widgets.el: Add missing license notice.
9110
3e0d2fa7
GM
91112012-02-11 Glenn Morris <rgm@gnu.org>
9112
cfecdf09
GM
9113 * select.el (x-get-selection-internal, x-own-selection-internal)
9114 (x-disown-selection-internal):
9115 * x-dnd.el (x-get-selection-internal): Update declarations.
9116
6d216d7f
GM
9117 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9118
2bed3f04
GM
9119 * window.el (window-sides-slots):
9120 * tool-bar.el (tool-bar-position):
9121 * term/xterm.el (xterm-extra-capabilities):
9122 * ses.el (ses-self-reference-early-detection):
9123 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9124 (verilog-auto-wire-type)
9125 (verilog-auto-delete-trailing-whitespace)
9126 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9127 (verilog-auto-tieoff-declaration):
9128 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9129 (sql-oracle-statement-starters, sql-oracle-scan-on):
9130 * progmodes/prolog.el (prolog-align-comments-flag)
9131 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9132 (prolog-left-indent-regexp, prolog-paren-indent-p)
9133 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9134 (prolog-types, prolog-mode-specificators)
9135 (prolog-determinism-specificators, prolog-directives)
9136 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9137 (prolog-electric-dot-flag)
9138 (prolog-electric-dot-full-predicate-template)
9139 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9140 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9141 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9142 (prolog-program-switches, prolog-prompt-regexp)
9143 (prolog-debug-on-string, prolog-debug-off-string)
9144 (prolog-trace-on-string, prolog-trace-off-string)
9145 (prolog-zip-on-string, prolog-zip-off-string)
9146 (prolog-use-standard-consult-compile-method-flag)
9147 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9148 (prolog-imenu-max-lines, prolog-info-predicate-index)
9149 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9150 (prolog-char-quote-workaround):
9151 * progmodes/cc-vars.el (c-defun-tactic):
9152 * net/tramp.el (tramp-encoding-command-interactive)
9153 (tramp-local-end-of-line):
9154 * net/soap-client.el (soap-client):
9155 * net/netrc.el (netrc-file):
9156 * net/gnutls.el (gnutls):
9157 * minibuffer.el (completion-category-overrides)
9158 (completion-cycle-threshold)
9159 (completion-pcm-complete-word-inserts-delimiters):
9160 * man.el (Man-name-local-regexp):
9161 * mail/feedmail.el (feedmail-display-full-frame):
9162 * international/characters.el (glyphless-char-display-control):
9163 * eshell/em-ls.el (eshell-ls-date-format):
9164 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9165 (lisp-lambda-list-keyword-parameter-indentation)
9166 (lisp-lambda-list-keyword-parameter-alignment):
9167 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9168 * dired-x.el (dired-omit-verbose):
9169 * cus-theme.el (custom-theme-allow-multiple-selections):
9170 * calc/calc.el (calc-highlight-selections-with-faces)
9171 (calc-lu-field-reference, calc-lu-power-reference)
9172 (calc-note-threshold):
9173 * battery.el (battery-mode-line-limit):
9174 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9175 (archive-7z-update):
9176 * allout.el (allout-prefixed-keybindings)
9177 (allout-unprefixed-keybindings)
9178 (allout-inhibit-auto-fill-on-headline)
9179 (allout-flattened-numbering-abbreviation):
9180 * allout-widgets.el (allout-widgets-auto-activation)
9181 (allout-widgets-icons-dark-subdir)
9182 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9183 (allout-widgets-theme-dark-background)
9184 (allout-widgets-theme-light-background)
9185 (allout-widgets-item-image-properties-emacs)
9186 (allout-widgets-item-image-properties-xemacs)
9187 (allout-widgets-run-unit-tests-on-load)
9188 (allout-widgets-time-decoration-activity)
9189 (allout-widgets-hook-error-post-time)
9190 (allout-widgets-track-decoration):
9191 Add missing :version tags to new defcustoms and defgroups.
9192
5fec1b8e
GM
9193 * progmodes/sql.el (sql-ansi-statement-starters)
9194 (sql-oracle-statement-starters): Add custom type.
9195
3e0d2fa7
GM
9196 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9197 (prolog-system-version): Give it a type.
9198
90b671e2
EZ
91992012-02-11 Eli Zaretskii <eliz@gnu.org>
9200
9201 * term/pc-win.el (x-select-text, x-selection-owner-p)
9202 (x-own-selection-internal, x-disown-selection-internal)
9203 (x-get-selection-internal): Sync doc strings and argument lists
9204 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9205
5eac0c02
LL
92062012-02-11 Leo Liu <sdl.web@gmail.com>
9207
9208 * progmodes/python.el (python-end-of-statement): Fix infinite
9209 loop. (Bug#10788)
9210
f82cb659
GM
92112012-02-10 Glenn Morris <rgm@gnu.org>
9212
9213 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9214 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9215
cc26d239
LI
92162012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9217
9218 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9219 about SMTP before checking the From header.
9220
91027d08 9221 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9222 into own function for reuse by emacsbug.el.
9223
1be3ca5a
LL
92242012-02-10 Leo Liu <sdl.web@gmail.com>
9225
9226 * subr.el (condition-case-unless-debug): Rename from
9227 condition-case-no-debug. All callers changed.
9228 (with-demoted-errors): Fix caller.
9229
9230 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9231 * nxml/rng-valid.el (rng-do-some-validation):
9232 * emacs-lisp/package.el (package-refresh-contents)
9233 (package-menu-execute):
9234 * desktop.el (desktop-create-buffer):
91027d08 9235 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9236
b011fbfe
GM
92372012-02-10 Glenn Morris <rgm@gnu.org>
9238
b2096d72
GM
9239 * textmodes/bibtex.el:
9240 Add missing :version tags for new/changed defcustoms.
9241
b011fbfe
GM
9242 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9243
4c7e65bf
LI
92442012-02-09 Lars Ingebrigtsen <larsi@rusty>
9245
9246 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9247 (smtpmail-via-smtp): Use it, or fall back on the From address.
9248 (smtpmail-send-it): Ditto.
9249
f3934f6f
SM
92502012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9253 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9254 (byte-compile-tmp-var): New const.
9255 (byte-compile-defvar): Use it to minimize .elc size.
9256 Just use `defvar' rather than simulate it (bug#10761).
9257
a075a2c5
GM
92582012-02-09 Glenn Morris <rgm@gnu.org>
9259
cf3aa21b
GM
9260 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9261
354998cd
GM
9262 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9263 Add :version tags.
9264
dc9924b8
SM
9265 * progmodes/compile.el (compilation-error-screen-columns)
9266 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9267
dab3703d
GM
9268 * vc/log-view.el (log-view-toggle-entry-display):
9269 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9270
3f88cd72
GM
9271 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9272 (report-emacs-bug-can-use-xdg-email):
9273 (report-emacs-bug-insert-to-mailer): Doc fixes.
9274 (report-emacs-bug): Message fix.
9275
d95b247d
GM
9276 * net/browse-url.el (browse-url-can-use-xdg-open)
9277 (browse-url-xdg-open): Doc fixes.
9278
a075a2c5
GM
9279 * electric.el (electric-indent-mode, electric-pair-mode)
9280 (electric-layout-rules, electric-layout-mode): Doc fixes.
9281 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9282
ffb6157e
MR
92832012-02-08 Martin Rudalics <rudalics@gmx.at>
9284
9285 * server.el (server-unselect-display): Don't inadvertently kill
9286 the current buffer. (Bug#10729)
9287
e1ac4066
GM
92882012-02-08 Glenn Morris <rgm@gnu.org>
9289
34e8a2da
GM
9290 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9291 (sql-list-table): Doc fixes.
9292
b4ac6e8c
GM
9293 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9294 Comment out (does nothing).
9295
e1ac4066
GM
9296 * completion.el (dynamic-completion-mode):
9297 * dirtrack.el (dirtrack-debug-mode):
9298 * electric.el (electric-layout-mode):
9299 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9300 * face-remap.el (text-scale-mode, buffer-face-mode):
9301 * iimage.el (iimage-mode):
9302 * image-mode.el (image-transform-mode):
9303 * minibuffer.el (completion-in-region-mode):
9304 * scroll-lock.el (scroll-lock-mode):
9305 * simple.el (next-error-follow-minor-mode):
9306 * tar-mode.el (tar-subfile-mode):
9307 * tooltip.el (tooltip-mode):
9308 * vcursor.el (vcursor-use-vcursor-map):
9309 * wid-browse.el (widget-minor-mode):
9310 * emulation/tpu-edt.el (tpu-edt-mode):
9311 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9312 * international/iso-ascii.el (iso-ascii-mode):
9313 * language/thai-util.el (thai-word-mode):
9314 * mail/supercite.el (sc-minor-mode):
9315 * net/goto-addr.el (goto-address-mode):
9316 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9317 * progmodes/cwarn.el (cwarn-mode):
9318 * progmodes/flymake.el (flymake-mode):
9319 * progmodes/glasses.el (glasses-mode):
9320 * progmodes/hideshow.el (hs-minor-mode):
9321 * progmodes/pascal.el (pascal-outline-mode):
9322 * textmodes/enriched.el (enriched-mode):
9323 * vc/smerge-mode.el (smerge-mode):
9324 Doc fixes (minor mode argument).
9325
5e0d957f
EZ
93262012-02-07 Eli Zaretskii <eliz@gnu.org>
9327
9328 * ls-lisp.el (ls-lisp-sanitize): New function.
9329 (ls-lisp-insert-directory): Use it to fix or remove any elements
9330 in file-alist with missing attributes. (Bug#4673)
9331
98d7371e
AM
93322012-02-07 Alan Mackenzie <acm@muc.de>
9333
9334 Fix spurious recognition of c-in-knr-argdecl.
9335
9336 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9337 putative K&R region.
9338
667ced3a
AM
93392012-02-07 Alan Mackenzie <acm@muc.de>
9340
eb864a71
LM
9341 * progmodes/cc-engine.el (c-forward-objc-directive):
9342 Prevent looping in "#pragma mark @implementation".
667ced3a 9343
5b77774d
MA
93442012-02-07 Michael Albinus <michael.albinus@gmx.de>
9345
9346 * notifications.el (notifications-on-closed-signal): Make `reason'
9347 optional. (Bug#10744)
9348
af008560
GM
93492012-02-07 Glenn Morris <rgm@gnu.org>
9350
60d47423
GM
9351 * emacs-lisp/easy-mmode.el (define-minor-mode):
9352 Doc fixes for the macro and the mode it defines.
9353
dd605cc4
GM
9354 * image.el (imagemagick-types-inhibit): Doc fix.
9355
af008560
GM
9356 * cus-start.el (imagemagick-render-type): Add it.
9357
5cc59a37
LI
93582012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9359
4d6769e1
JB
9360 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9361 Set the default at load time, too, so that `font-lock-fontify-buffer'
9362 can be called without setting up the entire mode first. This fixes
9363 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9364
9a6dd747
CY
93652012-02-06 Chong Yidong <cyd@gnu.org>
9366
2d16b285
CY
9367 * simple.el (list-processes--refresh): Delete exited processes
9368 (Bug#8094).
9369
171e9b6e
CY
9370 * comint.el (comint-next-prompt): next-single-char-property-change
9371 and prev-single-char-property-change never return nil (Bug#8657).
9372
9a6dd747
CY
9373 * custom.el (defcustom): Doc fix (Bug#9711).
9374
aa4589a7
CY
93752012-02-05 Chong Yidong <cyd@gnu.org>
9376
5c2a252f
CY
9377 * cus-edit.el (custom-variable-reset-backup): Quote the value
9378 before storing it in the customized-value property (Bug#6712).
4aab9006 9379 (custom-display): Add a customization type tag.
983b9602 9380 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9381
aa4589a7
CY
9382 * wid-edit.el (widget-field-value-get): New optional arg to
9383 suppress trailing whitespace truncation.
9384 (character): Use it (Bug#2689).
9385
1ff980ae
AS
93862012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9387
9388 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9389 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9390
03988c98
CY
93912012-02-05 Chong Yidong <cyd@gnu.org>
9392
eeb6cc88
CY
9393 * cus-edit.el (custom-variable-value-create): For mismatched
9394 types, show the current value (Bug#7600).
9395
03988c98
CY
9396 * custom.el (defcustom): Doc fix.
9397
f8cdeef0
GM
93982012-02-05 Glenn Morris <rgm@gnu.org>
9399
9400 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9401
0696d255
JB
94022012-02-05 Juanma Barranquero <lekktu@gmail.com>
9403
9404 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9405 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9406 (pp-last-sexp): Use `looking-at-p'.
9407
34c99998
GM
94082012-02-04 Glenn Morris <rgm@gnu.org>
9409
8f05da42
GM
9410 * files.el (revert-buffer):
9411 Doc fix (mention revert-buffer-in-progress-p).
9412
f160676e
GM
9413 * emacs-lisp/ert-x.el (ert-simulate-command):
9414 Check deferred-action-list (which is obsolete) is bound.
9415
c7291ad9
GM
9416 * subr.el (with-wrapper-hook): Doc fixes.
9417
34c99998
GM
9418 * simple.el (filter-buffer-substring-functions)
9419 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9420
6283a7d3
LL
94212012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9422
9423 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9424 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9425
e96e3013
LL
94262012-02-04 Leo Liu <sdl.web@gmail.com>
9427
9428 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9429
8ded50f2
GM
94302012-02-04 Glenn Morris <rgm@gnu.org>
9431
82ff1d13
GM
9432 * image.el (image-extension-data): Add obsolete alias.
9433
987a0a16
GM
9434 * isearch.el (isearch-update): Doc fix.
9435
ea32ef46
GM
9436 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9437
8ded50f2
GM
9438 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9439
eea14f31
GM
94402012-02-03 Glenn Morris <rgm@gnu.org>
9441
9442 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9443 (image-animate-timeout): Doc fix.
9444
9445 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9446
12f381b7
GM
94472012-02-02 Glenn Morris <rgm@gnu.org>
9448
953cebf5
GM
9449 * server.el (server-auth-dir): Doc fix.
9450 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9451
12f381b7
GM
9452 * subr.el (run-mode-hooks): Doc fix.
9453
953a8c3b
JL
94542012-02-02 Juri Linkov <juri@jurta.org>
9455
9456 * image-mode.el (image-toggle-display-image): Remove tautological
9457 `major-mode' from the `derived-mode-p' test.
9458
c5d3843c
KH
94592012-02-02 Kenichi Handa <handa@m17n.org>
9460
9f6e692e 9461 * composite.el (compose-region): Cancel previous change.
c5d3843c 9462
159462d4 94632012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9464
9465 * composite.el (compose-region, compose-string): Signal error for
9466 a null string component (Bug#6988).
9467
9f562668
CY
94682012-02-01 Chong Yidong <cyd@gnu.org>
9469
e2cef717
CY
9470 * view.el (view-buffer-other-window, view-buffer-other-frame):
9471 Handle special modes like view-buffer (Bug#10650).
9472 (view-buffer): Simplify.
9473
9f562668
CY
9474 * frame.el (set-frame-font): Tweak meaning of third argument.
9475
9f6e692e
JB
9476 * dynamic-setting.el (font-setting-change-default-font):
9477 Use set-frame-font (Bug#9982).
9f562668 9478
781acb9f
GM
94792012-02-01 Glenn Morris <rgm@gnu.org>
9480
6035be52
GM
9481 * progmodes/compile.el (compilation-internal-error-properties):
9482 Respect compilation-first-column in the "*compilation*" buffer.
9483
781acb9f
GM
9484 * emacs-lisp/easy-mmode.el (define-minor-mode):
9485 Relax :variable's test for a named function.
9486
abbceb00
AM
94872012-01-31 Alan Mackenzie <acm@muc.de>
9488
9489 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9490 off by one error.
9491
fce3fdeb
CY
94922012-01-31 Chong Yidong <cyd@gnu.org>
9493
9494 * frame.el (set-frame-font): New arg ALL-FRAMES.
9495
9496 * menu-bar.el (menu-set-font): Use set-frame-font.
9497
9498 * faces.el (face-spec-reset-face): Don't apply unspecified
9499 attribute values to the default face.
9500
47893581
JB
95012012-01-31 Juanma Barranquero <lekktu@gmail.com>
9502
9503 * progmodes/cwarn.el (cwarn): Remove dead link.
9504 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9505 Remove * from defcustom docstrings.
9506 (turn-on-cwarn-mode): Make obsolete.
9507 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9508 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9509
e58e988a
GM
95102012-01-31 Glenn Morris <rgm@gnu.org>
9511
60dc2671 9512 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9513 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9514 Allow named functions to be used as the cdr of :variable.
e58e988a 9515
7a3f511d
GM
95162012-01-30 Glenn Morris <rgm@gnu.org>
9517
9518 * emacs-lisp/authors.el (authors-fixed-entries):
9519 Remove reference to deleted file rnewspost.el.
9520
cb882333
JB
95212012-01-29 Juanma Barranquero <lekktu@gmail.com>
9522
9523 * window.el (window-with-parameter): Remove unused variable `windows'.
9524 (window--side-check): Remove unused variable `code'.
9525 (window--resize-siblings): Remove unused variable `first'.
9526 (adjust-window-trailing-edge): Remove unused variable `failed'.
9527 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9528 Use `let', not `let*'.
9529 (balance-windows-2): Remove unused variable `found'.
9530 (window--state-put-2): Remove unused variable `splits'.
9531 (window-state-put): Remove unused variable `selected'.
9532 (same-window-p): Use `string-match-p'.
9533 (display-buffer-assq-regexp): Remove unused variable `value'.
9534 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9535 Mark argument ALIST as ignored.
9536 (pop-to-buffer): Remove unused variable `old-window'.
9537
907201af
EZ
95382012-01-29 Eli Zaretskii <eliz@gnu.org>
9539
9540 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9541 and .lzma compressed files.
9542
ea162670
CY
95432012-01-29 Chong Yidong <cyd@gnu.org>
9544
5b95ee8a
CY
9545 * frame.el (window-system-default-frame-alist): Doc fix.
9546
ea162670
CY
9547 * dynamic-setting.el (font-setting-change-default-font): Don't
9548 change the default face if SET-FONT argument is non-nil (Bug#9982).
9549
d6e6f4b1
SB
95502012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9551
9552 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9553
0f29fa41 95542012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9555
9556 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9557 breakpoints in files outside current directory (Bug#6098).
9558
db174434
CY
95592012-01-29 Chong Yidong <cyd@gnu.org>
9560
6b25e4e2
SE
9561 * progmodes/python.el: Require ansi-color at top-level.
9562
6df6ae42
JB
9563 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9564 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9565 (lisp-mode-abbrev-table): Add doc.
9566 (lisp-mode-variables): Don't set local-abbrev-table.
9567 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9568
e70ee681
RW
95692012-01-28 Roland Winkler <winkler@gnu.org>
9570
9571 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9572
ace88aa2
RW
95732012-01-28 Roland Winkler <winkler@gnu.org>
9574
9575 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9576 (bibtex-set-dialect): Use it. Either set global values of
9577 dialect-dependent variables or bind these variables buffer-locally
9578 (Bug#10254).
9579 (bibtex-mode): Call bibtex-set-dialect via
9580 hack-local-variables-hook.
eb864a71
LM
9581 (bibtex-dialect): Update docstring.
9582 Add safe-local-variable predicate.
ace88aa2
RW
9583 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9584 bibtex-set-dialect.
9585 (bibtex-mode-map): Define menu for each dialect.
9586 (bibtex-entry): Fix docstring.
9587
93376c5b
CY
95882012-01-28 Chong Yidong <cyd@gnu.org>
9589
9590 * eshell/esh-arg.el (eshell-quote-argument): New function.
9591
9592 * eshell/esh-ext.el (eshell-invoke-batch-file):
9593 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9594 first arg to eshell-parse-command (Bug#10523).
9595
4372494f
DA
95962012-01-28 Drew Adams <drew.adams@oracle.com>
9597
9598 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9599 `default-directory' is non-nil.
9600
4d4ec1f8
EZ
96012012-01-28 Eli Zaretskii <eliz@gnu.org>
9602
9603 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9604 line that displays system-configuration-options. (Bug#9924)
9605
7c188927
DA
96062012-01-28 Drew Adams <drew.adams@oracle.com>
9607
9608 * descr-text.el (describe-char): Show information about POS, in
9609 addition to information about the character at POS. Improve and
9610 update the doc string. Change "code point" to "code point in
9611 charset", to avoid confusion with the character's Unicode code
9612 point shown above that. (Bug#10129)
9613
e0da685a
EZ
96142012-01-28 Eli Zaretskii <eliz@gnu.org>
9615
9616 * descr-text.el (describe-char): Show the raw character, not only
9617 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9618 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9619 for the reasons.
9620
70550acf
PH
96212012-01-28 Phil Hagelberg <phil@hagelb.org>
9622
eb864a71
LM
9623 * emacs-lisp/package.el (package-install):
9624 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9625
0ce8e868
CY
96262012-01-28 Chong Yidong <cyd@gnu.org>
9627
cb882333
JB
9628 * emacs-lisp/package.el (package-maybe-load-descriptor):
9629 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9630 (package-maybe-load-descriptor): Use it.
9631 (package-download-transaction): Fully load required packages
9632 inside the loop, so that `require' calls work (Bug#10593).
9633 (package-install): No need to call package-initialize now.
9634
2e7f3bea
CY
96352012-01-28 Chong Yidong <cyd@gnu.org>
9636
6e9bad14
CY
9637 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9638
f823b8ca
CY
9639 * tooltip.el (tooltip-mode): Doc fix.
9640 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9641
2680c309
CY
9642 * frame.el (set-cursor-color): Doc fix (Bug#352).
9643
d7a9e63b
CY
9644 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9645 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9646
2e7f3bea
CY
9647 * cus-edit.el (custom-buffer-create-internal): Fix search button
9648 action (Bug#10542).
2ae01800 9649 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9650
fc4f7a23
EW
96512012-01-27 Eduard Wiebe <usenet@pusto.de>
9652
9653 * dired.el (dired-mark-files-regexp):
9654 Include any subdirectory components. (Bug#10445)
9655
7dd37071
ML
96562012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9657
9658 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9659 Handle [host]:port syntax. (Bug#10533)
9660
a268160b
AH
96612012-01-27 Alex Harsanyi <harsanyi@mac.com>
9662
9663 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9664
e43273ef
GM
96652012-01-26 Glenn Morris <rgm@gnu.org>
9666
9667 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9668 * term.el (term-raw-escape-map): Use Control-X-prefix.
9669 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9670
1edf595d
MR
96712012-01-25 Martin Rudalics <rudalics@gmx.at>
9672
9673 * window.el (window-state-get, window--state-get-1): Don't deal
9674 with fixed-sizeness of windows. Simplify code.
9675
fa8eafef
JC
96762012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9677
6df6ae42
JB
9678 * window.el (window--state-get-1, window--state-put-2):
9679 Don't save and restore the mark.
fa8eafef 9680
0b21c100
CY
96812012-01-25 Chong Yidong <cyd@gnu.org>
9682
9683 * custom.el (custom-variable-p): Doc fix.
9684
5ae1a6c8
GM
96852012-01-25 Glenn Morris <rgm@gnu.org>
9686
40047858
GM
9687 * dired.el (dired-goto-file): Handle some of the more common
9688 characters that `ls -b' escapes. (Bug#10596)
9689
5ddce96c
GM
9690 * progmodes/compile.el (compilation-next-error-function):
9691 Respect compilation-first-column in the "*compilation*" buffer.
9692 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9693
5ae1a6c8
GM
9694 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9695
b559f1a9
GM
96962012-01-24 Glenn Morris <rgm@gnu.org>
9697
9698 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9699
6725d21a
JD
97002012-01-24 Julien Danjou <julien@danjou.info>
9701
9702 * color.el (color-rgb-to-hsl): Fix value computing.
9703 (color-hue-to-rgb): New function.
9704 (color-hsl-to-rgb): New function.
9705 (color-clamp, color-saturate-hsl, color-saturate-name)
9706 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9707 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9708
70df4bbe
GM
97092012-01-24 Glenn Morris <rgm@gnu.org>
9710
9711 * vc/vc-rcs.el (vc-rcs-create-tag):
9712 * vc/vc-sccs.el (vc-sccs-create-tag):
9713 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9714
802a2ae2
ML
97152012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9716
9717 * eshell/esh-util.el (eshell-read-hosts-file):
9718 Skip comment lines. (Bug#10549)
9719
d7128bb1
ML
9720 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9721
d1a5c3b4
JB
97222012-01-23 Juanma Barranquero <lekktu@gmail.com>
9723
2724d9c7
JB
9724 * subr.el (display-delayed-warnings): Doc fix.
9725 (collapse-delayed-warnings): New function to collapse identical
9726 adjacent warnings.
9727 (delayed-warnings-hook): Add it.
d1a5c3b4 9728
a5509865
MA
97292012-01-22 Michael Albinus <michael.albinus@gmx.de>
9730
9731 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9732
a5509865
MA
9733 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9734 (tramp-default-user-alist): Don't add "pscp".
9735 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9736 property "login-as", if set. (Bug#10530)
9737
cc6d5805
MA
97382012-01-21 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9741 "plink1" and "psftp". (Bug#10530)
9742
97432012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9744
9745 * international/mule-cmds.el (prefer-coding-system): Show a
9746 warning message if the default value of file-name-coding-system
9747 was not changed.
9748
f0960428
JC
97492012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9750
cb882333
JB
9751 * windmove.el (windmove-reference-loc):
9752 Fix windmove-reference-loc miscalculation.
f0960428 9753
dd6f2a63
JB
97542012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9755
9756 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9757 default unit.
9758
7b447e9b
GM
97592012-01-21 Glenn Morris <rgm@gnu.org>
9760
117a9ea1
GM
9761 * international/mule.el (auto-coding-alist): Add .tbz.
9762
7b447e9b
GM
9763 * files.el (local-enable-local-variables): Doc fix.
9764 (inhibit-local-variables-regexps): Rename from
9765 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9766 Doc fix. Add some extensions from auto-coding-alist.
9767 (inhibit-local-variables-suffixes):
9768 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9769 (inhibit-local-variables-p):
9770 New function, extracted from set-auto-mode-1.
9771 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9772 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9773 (hack-local-variables): Doc fix. Make the mode-only case
9774 respect enable-local-variables and friends.
9775 Respect inhibit-local-variables-regexps for file-locals, but
9776 not for directory-locals.
9777 (set-visited-file-name):
9778 Take account of inhibit-local-variables-regexps.
9779 Whether it applies may change as the file name is changed.
9780 * jka-cmpr-hook.el (jka-compr-install):
9781 * jka-compr.el (jka-compr-uninstall):
9782 Update for inhibit-first-line-modes-suffixes name change.
9783
dd6e3cdd
MR
97842012-01-20 Martin Rudalics <rudalics@gmx.at>
9785
9786 * help-macro.el (make-help-screen): Temporarily restore original
9787 binding for minor-mode-map-alist (Bug#10454).
9788
0d0deb38
JD
97892012-01-19 Julien Danjou <julien@danjou.info>
9790
9791 * color.el (color-name-to-rgb): Use the white color to find the max
9792 color component value and return correctly computed values.
9793 (color-name-to-rgb): Add missing float conversion for max value.
9794
34a02f46
MR
97952012-01-19 Martin Rudalics <rudalics@gmx.at>
9796
9797 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9798 special state value for window-persistent-parameters.
9799 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9800 (window--state-put-2): Reset all window parameters to nil before
9801 assigning values of persistent parameters.
9802
606c44c4
AM
98032012-01-18 Alan Mackenzie <acm@muc.de>
9804
9805 Eliminate sluggishness and hangs in fontification of "semicolon
9806 deserts".
9807
cb882333
JB
9808 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9809 Change value 10000 -> 3000.
606c44c4
AM
9810 (c-state-safe-place): Reformulate so it doesn't stack up an
9811 infinite number of wrong entries in c-state-nonlit-pos-cache.
9812 (c-determine-limit-get-base, c-determine-limit): New functions to
9813 determine backward search limits disregarding literals.
9814 (c-find-decl-spots): Amend commenting.
9815 (c-cheap-inside-bracelist-p): New function which detects "={".
9816
9817 * progmodes/cc-fonts.el
9818 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9819 backward search.
9820 (c-font-lock-declarations): Fix an occurrence of point being
9821 undefined. Check additionally for point being in a bracelist or
9822 near a macro invocation without a semicolon so as to avoid a
9823 fruitless time consuming search for a declarator. Give a more
9824 precise search limit for declarators using the new
9825 c-determine-limit.
9826
f3860cea
GM
98272012-01-18 Glenn Morris <rgm@gnu.org>
9828
9829 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9830 (set-auto-mode): Doc fixes.
9831
1db03b16
GM
98322012-01-17 Glenn Morris <rgm@gnu.org>
9833
0e6038be
GM
9834 * isearch.el (search-nonincremental-instead): Fix doc typo.
9835
1db03b16
GM
9836 * dired.el (dired-insert-directory): Handle newlines in directory name.
9837 (dired-build-subdir-alist): Unescape newlines in directory name.
9838
4cb0aa75
MA
98392012-01-17 Michael Albinus <michael.albinus@gmx.de>
9840
9841 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9842 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9843 (tramp-action-terminal): Use it. (Bug#10530)
9844
1d00653d
SM
98452012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9848
6a6ee00d
MR
98492012-01-16 Martin Rudalics <rudalics@gmx.at>
9850
9851 * window.el (window-state-ignored-parameters): Remove variable.
9852 (window--state-get-1): Rename argument MARKERS to IGNORE.
9853 Handle persistent window parameters. Make copy of clone-of
9854 parameter only if requested. (Bug#10348)
9855 (window--state-put-2): Install a window parameter only if it has
9856 a non-nil value or an existing parameter shall be overwritten.
9857
97912def
MA
98582012-01-15 Michael Albinus <michael.albinus@gmx.de>
9859
9860 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9861
688070a5
EZ
98622012-01-14 Eli Zaretskii <eliz@gnu.org>
9863
9864 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9865 don't pass the (nil) value of `upnode' to string-match.
9866
301afadc
CY
98672012-01-14 Chong Yidong <cyd@gnu.org>
9868
9869 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9870 Fix values recognized by the cursorBlink resource.
301afadc 9871
9e5788aa
PE
98722012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9873
9874 * epg.el (epg--make-temp-file): Avoid permission race condition
9875 when running on old Emacs versions (bug#10403).
9876
3cdb7f5a
GM
98772012-01-14 Glenn Morris <rgm@gnu.org>
9878
9879 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9880
8c82b1b4
AM
98812012-01-13 Alan Mackenzie <acm@muc.de>
9882
9883 Fix filling for when filladapt mode is enabled.
9884
9885 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9886 c-mask-paragraph, pass in `fill-paragraph' rather than
9887 `fill-region-as-paragraph'. (This is a reversion of a previous
9888 change.)
eb864a71
LM
9889 * progmodes/cc-mode.el (c-basic-common-init):
9890 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9891
e517eda4
GM
98922012-01-13 Glenn Morris <rgm@gnu.org>
9893
1498536e
GM
9894 * dired.el (dired-switches-escape-p): New function.
9895 (dired-insert-directory): Use dired-switches-escape-p.
9896 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9897
e517eda4
GM
9898 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9899
328f984d
GM
99002012-01-12 Glenn Morris <rgm@gnu.org>
9901
9902 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9903 changes in adaptive-fill-regexp. (Bug#10276)
9904
2cc769a8
AM
99052012-01-11 Alan Mackenzie <acm@muc.de>
9906
9907 Fix Emacs bug #10463 - put `widen's around the critical spots.
9908
1d00653d 9909 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9910 widen around each invocation of c-state-pp-to-literal. Remove an
9911 unused let variable.
9912
e52c37fa
GM
99132012-01-11 Glenn Morris <rgm@gnu.org>
9914
9915 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9916 Doc fix.
e52c37fa 9917
96f8741e
CY
99182012-01-10 Chong Yidong <cyd@gnu.org>
9919
1d00653d
SM
9920 * net/network-stream.el (network-stream-open-starttls):
9921 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9922 response to the capability command.
9923
b09a806e
GM
99242012-01-10 Glenn Morris <rgm@gnu.org>
9925
9926 * mail/unrmail.el (unrmail): Tweak previous change.
9927
7655cb66
CY
99282012-01-09 Chong Yidong <cyd@gnu.org>
9929
9930 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9931
9d5a8f0b
AM
99322012-01-08 Alan Mackenzie <acm@muc.de>
9933
9934 Optimise font locking in long enum definitions.
9935
9936 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9937 arm to a cond form to handle enums.
9938 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9939 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9940
9a0115ab 99412012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9942
9943 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9944 (Bug#10401)
6bb72cbd 9945
f186bb95
LMI
99462012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947
29232a68
LMI
9948 * faces.el (set-face-attribute): Clarify the meaning of the nil
9949 frame (bug#10294).
9950
4e5d086d
LMI
9951 * subr.el (with-selected-frame): Mention that the selected frame
9952 is restored (bug#9980).
9953
8e66aebe
LMI
9954 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9955 (bug#9759).
9956
cd394be1 9957 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9958 (password-read): Don't autoload unused function.
9959
adf4e762
JB
99602012-01-07 Juanma Barranquero <lekktu@gmail.com>
9961
9962 * progmodes/which-func.el (which-func-mode): Turn into a
9963 non-interactive function and mark as obsolete (bug#10428).
9964
89bd9ccd
CY
99652012-01-06 Chong Yidong <cyd@gnu.org>
9966
9967 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9968 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9969 functions, along with 1 and -1.
9970
4afee9d5
EZ
99712012-01-06 Eli Zaretskii <eliz@gnu.org>
9972
9973 * time.el (display-time-load-average)
9974 (display-time-default-load-average): Doc fixes. See the thread
9975 starting at
9976 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9977 for the details.
9978
536aea70
GM
99792012-01-06 Glenn Morris <rgm@gnu.org>
9980
665ae865
GM
9981 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9982 has no messages. (Bug#10377)
9983
c869783d
GM
9984 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9985 than Info-edit. (Bug#10385)
9986
2bb4227e
GM
9987 * time.el (display-time-load-average, display-time-next-load-average):
9988 Doc fixes.
9989
7d5944b9
GM
9990 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9991 local setting of buffer-read-only to the input buffer. (Bug#10419)
9992
536aea70
GM
9993 * calendar/calendar.el (calendar-mode):
9994 Locally set scroll-margin to 0. (Bug#10379)
9995
7dccca16
UM
99962012-01-06 Ulrich Mueller <ulm@gentoo.org>
9997
9998 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9999
afbb7930
GM
100002012-01-05 Glenn Morris <rgm@gnu.org>
10001
10002 * eshell/em-unix.el (diff-no-select): Autoload it.
10003 (eshell/diff): Use diff-no-select. (Bug#10420)
10004
04482335
CY
100052012-01-05 Chong Yidong <cyd@gnu.org>
10006
7baca3bc
CY
10007 * shell.el (shell-dynamic-complete-functions): Revert last change.
10008 (shell-command-completion-function): New function.
10009 (shell-completion-vars): Use it to implement
10010 shell-completion-execonly (Bug#10417).
10011
04482335
CY
10012 * custom.el (enable-theme): Don't set custom-safe-themes.
10013
1d00653d
SM
10014 * cus-theme.el (custom-theme-merge-theme):
10015 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10016
bb5aa5d6
MM
100172012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10018
10019 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10020 first prompt in `sql-interacive-mode'.
10021 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10022 keywords.
6df6ae42 10023 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10024 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10025 context of original buffer. Invoke `sql-login-hook'.
10026
a7183d7c
EZ
100272012-01-04 Eli Zaretskii <eliz@gnu.org>
10028
10029 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10030 letters in cite-prefix.
10031
a1eacd1e
LMI
100322012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10033
10034 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10035
787cdb34
CY
100362012-01-03 Chong Yidong <cyd@gnu.org>
10037
1d00653d
SM
10038 * shell.el (shell-dynamic-complete-functions):
10039 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10040 comint-filename-completion first (Bug#10417).
10041
30710442
RS
100422012-01-02 Richard Stallman <rms@gnu.org>
10043
10044 * battery.el (battery-status-function):
10045 Detect when to use battery-yeeloong-sysfs.
10046 (battery-echo-area-format): Add string for Yeeloong.
10047 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10048 (battery-yeeloong-sysfs): New function.
10049
f75bfc33
CY
100502012-01-02 Chong Yidong <cyd@gnu.org>
10051
10052 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10053 (dirtrack): Merge code for handling relative filenames in prompt
10054 from shell-dir-cookie-watcher.
10055 (dirtrack-debug-message): New arg to avoid excess format calls.
10056
10057 * shell.el (shell-dir-cookie-re): Variable deleted.
10058 (shell-dir-cookie-watcher): Function deleted.
10059 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10060 with dirtrack-mode.
10061
651e947e
EZ
100622012-01-01 Eli Zaretskii <eliz@gnu.org>
10063
1d00653d
SM
10064 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10065 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10066 libgnutls-26.dll.
10067
94d4c7dc
AS
100682011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10069
10070 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10071
8d43f3cd
EZ
100722011-12-31 Eli Zaretskii <eliz@gnu.org>
10073
10074 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10075 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10076
98c8795a
MA
100772011-12-29 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10080 also for alternative shells.
10081 (tramp-open-connection-setup-interactive-shell): Check, whether
10082 the shell is a busybox.
10083 (tramp-send-command): Don't suppress multiple prompts for
10084 busyboxes, it hurts.
10085
51281b32
CY
100862011-12-28 Chong Yidong <cyd@gnu.org>
10087
10088 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10089 (gdb-get-source-file): Move mode line update to
10090 gdb-get-source-file (Bug#10087).
10091
2170cb53
CY
100922011-12-25 Chong Yidong <cyd@gnu.org>
10093
10094 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10095 gud-gdb-marker-filter without taking it as an argument.
10096 (gud-gdb-run-command-fetch-lines): Caller changed.
10097 (gud-gdb-completion-function): New variable.
10098 (gud-gdb-completion-at-point): Use it.
10099 (gud-gdb-completions-1): Split from gud-gdb-completions.
10100
10101 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10102 function as separate arguments.
10103 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10104 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10105 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10106 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10107 (gdb-stopped, def-gdb-auto-update-trigger)
10108 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10109 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10110 Callers changed.
2170cb53
CY
10111 (gud-gdbmi-completions): New function.
10112 (gdb): Use it for generating the completion table.
10113
be8b11bb
AM
101142011-12-24 Alan Mackenzie <acm@muc.de>
10115
10116 Introduce a mechanism to widen the region used in context font
1d00653d 10117 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10118
1d00653d
SM
10119 * progmodes/cc-langs.el (c-before-font-lock-functions):
10120 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10121 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10122 functions to be run just before context (etc.) font locking.
10123
10124 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10125 New, functionality extracted from
be8b11bb 10126 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10127 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10128 (c-after-change): Set c-in-after-change-fontification.
10129 (c-set-fl-decl-start): Rejig its interface, so it can be called
10130 from both after-change and context fontifying.
b81d40f0
JB
10131 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10132 New functions.
10133 (c-standard-font-lock-fontify-region-function): New variable.
10134 (c-font-lock-fontify-region): New function.
be8b11bb 10135
341cf6ac
JL
101362011-12-24 Juri Linkov <juri@jurta.org>
10137
10138 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10139 (Bug#10348)
10140
bffcee0a
MA
101412011-12-23 Michael Albinus <michael.albinus@gmx.de>
10142
10143 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10144 existence of source file. (Bug#10325)
10145
cb5e207c
AM
101462011-12-23 Alan Mackenzie <acm@muc.de>
10147
10148 Fix unstable fontification inside templates.
10149
b81d40f0
JB
10150 * progmodes/cc-langs.el (c-before-font-lock-functions):
10151 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10152 additionally has c-set-fl-decl-start. The other languages (apart
10153 from AWK) have that as a single entry.
10154
b81d40f0
JB
10155 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10156 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10157 c-set-fl-decl-start.
10158
b81d40f0
JB
10159 * progmodes/cc-mode.el (c-common-init, c-after-change):
10160 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10161 (c-set-fl-decl-start): New function, extracted from
10162 c-font-lock-enclosing-decls and enhanced.
10163
60ff536c
JB
101642011-12-23 Juanma Barranquero <lekktu@gmail.com>
10165
10166 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10167
1c4757d6
JL
101682011-12-22 Juri Linkov <juri@jurta.org>
10169
10170 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10171
d031f2c7
CY
101722011-12-22 Chong Yidong <cyd@gnu.org>
10173
10174 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10175
bace743a
DA
101762011-12-21 Drew Adams <drew.adams@oracle.com>
10177
10178 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10179
728a1f2b
JC
101802011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10181
10182 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10183
0d373f73
TZ
101842011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10185
fec0aaa4
TZ
10186 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10187 highlighting and support. Fix up comments for capitalization.
10188 (cfengine-mode-debug): New var.
10189 (cfengine3-mode): Change the modeline indicator to "CFE3".
10190 (cfengine3-font-lock-keywords): Improve defun highlighting.
10191 (cfengine2-actions): Rename from `cfengine-actions'.
10192 (cfengine2-font-lock-keywords): Rename from
10193 `cfengine-font-lock-keywords'.
10194 (cfengine2-imenu-expression): Rename from
10195 `cfengine-imenu-expression'.
10196 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10197 (cfengine2-beginning-of-defun): Rename from
10198 `cfengine-beginning-of-defun'.
10199 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10200 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10201 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10202 modeline indicator to "CFE2".
10203 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10204 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10205
bc86f573
CY
102062011-12-21 Chong Yidong <cyd@gnu.org>
10207
10208 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10209 filename argument.
10210
d45ba96b
MR
102112011-12-20 Martin Rudalics <rudalics@gmx.at>
10212
10213 * window.el (window-normalize-buffer-to-display): Remove.
10214 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10215
a6198c90
CY
102162011-12-19 Chong Yidong <cyd@gnu.org>
10217
10218 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10219 Don't signal an error in a predicate function; return non-nil.
10220 (vc-dir-mark-file): Move the error here.
10221 (vc-dir-mark-unmark): If acting on the region, keep going if one
10222 of the entries cannot be marked/unmarked.
10223 (vc-dir-mark-all-files): If current entry is a directory, mark
10224 only child files, as documented.
10225
34c5fb55
VB
102262011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10227
10228 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10229 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10230 addition.
10231
c803b2b7
JD
102322011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10233
10234 * term/ns-win.el (ns-get-selection-internal)
10235 (ns-store-selection-internal): Declare.
1154d12e
JB
10236 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10237 Declare as obsolete.
10238 (ns-get-pasteboard, ns-paste-secondary):
10239 Use ns-get-selection-internal.
10240 (ns-set-pasteboard, ns-copy-including-secondary):
10241 Use ns-store-selection-internal.
c803b2b7 10242
9cff91f8 102432011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10244
10245 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10246 (vc-deduce-fileset): Doc fix.
99a289d9 10247
f16c898a
AS
102482011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10251
763237c4
SS
102522011-12-13 Sam Steingold <sds@gnu.org>
10253
10254 * man.el (Man-getpage-in-background): When running under a
10255 window-system, ignore $MANWIDTH and $COLUMNS.
10256
5fc1c122
KH
102572011-12-15 Kenichi Handa <handa@m17n.org>
10258
10259 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10260 (setup-ethiopic-environment-internal): Comment out key-binding for
10261 ethio-toggle-punctuation.
10262
13d49cbb
AM
102632011-12-13 Alan Mackenzie <acm@muc.de>
10264
898169a2
AM
10265 Add the switch statement to AWK Mode.
10266
7a71b18d 10267 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10268 "default" to the keywords regexp.
10269
7a71b18d 10270 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10271 expression as the rest.
1d00653d
SM
10272 (c-nonlabel-token-key): Allow string literals for AWK.
10273 Refactor for the other modes.
898169a2 10274
13d49cbb 10275 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10276 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10277 routines. Limit backward searching in c-font-lock-enclosing.decl.
10278
10279 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10280 pp-state and literal type in addition to the limits.
1d00653d 10281 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10282 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10283 (c-slow-in-literal, c-fast-in-literal): Remove.
10284 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10285
10286 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10287 being in a literal. Add a limit for backward searching.
10288
10289 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10290 c-slow-in-literal.
10291
15e0efc7
SM
102922011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10293
10294 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10295
454592a6
MR
102962011-12-13 Martin Rudalics <rudalics@gmx.at>
10297
10298 * window.el (delete-other-windows): Use correct frame in call to
10299 window-with-parameter.
10300
87393f26
DP
103012011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10302
10303 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10304 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10305 (makefile-gmake-statements, makefile-makepp-statements):
10306 Use it and add new makepp keywords.
10307 (makefile-makepp-font-lock-keywords): Add new patterns.
10308 (makefile-match-function-end): Match new [...] and [[...]].
10309
11636b22
JB
103102011-12-11 Juanma Barranquero <lekktu@gmail.com>
10311
10312 * ses.el (ses-call-printer-return, ses-cell-property-get)
10313 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10314 (ses-create-cell-variable, ses-reset-header-string)
10315 (ses-cell-set-formula, ses-repair-cell-reference-all)
10316 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10317 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10318 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10319 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10320 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10321 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10322 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10323 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10324 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10325 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10326 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10327 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10328
cf018193
VB
103292011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10330
10331 * ses.el: The overall change is to add cell renaming, that is
10332 setting fancy names for cell symbols other than name matching
10333 "\\`[A-Z]+[0-9]+\\'" regexp .
10334 (ses-create-cell-variable): New defun.
10335 (ses-relocate-formula): Relocate formulas only for cells the
10336 symbols of which are not renamed, i.e. symbols whose names do not
10337 match regexp "\\`[A-Z]+[0-9]+\\'".
10338 (ses-relocate-all): Relocate values only for cells the symbols of
10339 which are not renamed.
10340 (ses-load): Create cells variables as the (ses-cell ...) are read,
10341 in order to check row col consistency with cell symbol name only
10342 for cells that are not renamed.
10343 (ses-replace-name-in-formula): New defun.
10344 (ses-rename-cell): New defun.
10345
ee957461
CY
103462011-12-11 Chong Yidong <cyd@gnu.org>
10347
10348 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10349 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10350
9a9e9ef0
MR
103512011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10352
10353 * window.el (other-window): Fix docstring.
10354
92a8eba5
EZ
103552011-12-10 Eli Zaretskii <eliz@gnu.org>
10356
10357 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10358 `from' or `to' address before taking its substring.
10359 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10360 encoded name is chopped in the middle of the encoded string, and
10361 thus displayed encoded.
10362
e152e577
JB
103632011-12-10 Juanma Barranquero <lekktu@gmail.com>
10364
10365 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10366
e5d84bfe
EZ
103672011-12-10 Eli Zaretskii <eliz@gnu.org>
10368
10369 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10370 to use texinfo-update-node and commands that call it if the
10371 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10372 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10373 (texinfo-all-menus-update, texinfo-master-menu)
10374 (texinfo-update-node, texinfo-every-node-update)
10375 (texinfo-multiple-files-update): Doc fix. Warn against updating
10376 all the @node lines.
10377 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10378 argument is numeric. Explain better in the doc string what the
10379 function really does.
10380 (texinfo-insert-master-menu-list): Improve the error message
10381 displayed if there's no menu in the Top node.
10382 (Bug#2975) See also this thread:
e5d84bfe
EZ
10383 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10384
1d84e9bb
MG
103852011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10386
10387 * speedbar.el (speedbar-supported-extension-expressions):
10388 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10389
382c953b
JB
103902011-12-09 Juanma Barranquero <lekktu@gmail.com>
10391
10392 * printing.el (pr-mode-alist):
10393 * simple.el (filter-buffer-substring-functions)
10394 (completion-list-insert-choice-function):
10395 * window.el (window-with-parameter, window-atom-root)
10396 (window-sides-slots, window-size-fixed, window-min-delta)
10397 (window-max-delta, window--resize-mini-window)
10398 (window--resize-child-windows-normal, window-tree)
10399 (delete-other-windows, quit-window, split-window)
10400 (display-buffer-record-window, special-display-buffer-names)
10401 (special-display-regexps, special-display-popup-frame)
10402 (same-window-p, split-window-sensibly)
10403 (display-buffer-overriding-action, display-buffer-alist)
10404 (display-buffer-base-action, display-buffer, switch-to-buffer)
10405 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10406 (fit-window-to-buffer, recenter-positions)
10407 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10408 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10409 and remove unneeded backslashes in docstrings.
10410
39c9faef
SM
104112011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10412
98449af8
SM
10413 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10414
39c9faef
SM
10415 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10416 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10417 end in ".mk".
10418 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10419 when reading the makefile (bug#10116).
10420
86ed9fdc
SM
104212011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10424 (bug#10116).
10425
5580f89d
GM
104262011-12-06 Glenn Morris <rgm@gnu.org>
10427
10428 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10429
28d3917c
CY
104302011-12-06 Chong Yidong <cyd@gnu.org>
10431
10432 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10433
a98edce9
JB
104342011-12-06 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * textmodes/table.el (table-shorten-cell): Fix typo.
10437
e65adfac
CG
104382011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10439
10440 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10441
71cc0b74
EZ
104422011-12-05 Eli Zaretskii <eliz@gnu.org>
10443
10444 * descr-text.el (describe-char): Fix display of strong
10445 right-to-left characters and directional embeddings and overrides.
10446
10447 * simple.el (what-cursor-position): Fix display of codepoints of
10448 strong right-to-left characters.
10449
315bc30d
CY
104502011-12-05 Chong Yidong <cyd@gnu.org>
10451
10452 * faces.el (read-color): Doc fix.
10453
58a70b94
GM
104542011-12-05 Glenn Morris <rgm@gnu.org>
10455
10456 * align.el (align--set-marker): Add doc-string.
10457 Don't try to move something that is not a marker. (Bug#10216)
10458
5158face
GM
104592011-12-04 Glenn Morris <rgm@gnu.org>
10460
10461 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10462 overly zealous deletion of trailing whitespace.
10463
520fca41
JB
104642011-12-04 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * server.el (server-delete-client): On Windows, do not try to delete
10467 the only terminal.
10468 (server-process-filter): On Windows, treat requests for a tty frame as
10469 if they were for a GUI frame if the running server is in GUI mode.
10470
5e605a2e
GM
104712011-12-03 Glenn Morris <rgm@gnu.org>
10472
10473 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10474
5c3fe83f
SM
104752011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10476
6f5e57e7
SM
10477 * electric.el: Streamline electric-indent's hook.
10478 (electric-indent-chars): Revert to simple list.
10479 (electric-indent-functions): New var.
10480 (electric-indent-post-self-insert-function): Use it.
10481
5c3fe83f
SM
10482 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10483 there's no inferior buffer (bug#10196).
10484 (prolog-consult-compile): Don't use toggle-read-only.
10485
6bdac736
MA
104862011-12-02 Michael Albinus <michael.albinus@gmx.de>
10487
10488 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10489 interrupt. (Bug#10187)
10490
6131ba7f
SM
104912011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10492
99c79fee
SM
10493 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10494 (bug#9160).
10495
6131ba7f
SM
10496 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10497 (bug#10191).
10498
cb0a02ea
JL
104992011-12-02 Juri Linkov <juri@jurta.org>
10500
10501 * info.el (Info-search): Display "end of manual" when Isearch
10502 reaches the end of single-file Info manual. (Bug#9918)
10503
66e0570c
EZ
105042011-12-02 Eli Zaretskii <eliz@gnu.org>
10505
10506 * isearch.el (isearch-message-prefix): Run the input method part
10507 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10508
02b16839
JL
105092011-12-02 Juri Linkov <juri@jurta.org>
10510
10511 * isearch.el (isearch-occur): Use `word-search-regexp' for
10512 `isearch-word'.
10513 (isearch-search-and-update): Add condition for `isearch-word' and
10514 call `word-search-regexp'. (Bug#10145)
10515
0b950688
GM
105162011-12-01 Glenn Morris <rgm@gnu.org>
10517
10518 * eshell/em-hist.el (eshell-hist-initialize):
10519 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10520 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10521
9505c3c7
SM
105222011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10525
1bbe96b2 105262011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10527
a1beca85
SM
10528 * progmodes/verilog-mode.el (verilog-pretty-expr):
10529 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10530 verilog, such as += *= and the like.
10531 (verilog-assignment-operator-re): Regular expression to find the
10532 assigment operator in a verilog assignment.
10533 (verilog-assignment-operation-re): Regular expression to find an
10534 assignment statement for pretty-expr.
10535 (verilog-in-attribute-p): Query returns true if point is in an
10536 attribute context; used to skip these for expression line up from
10537 pretty-expr.
10538 (verilog-in-parameter-p): Query returns true if point is in an
10539 parameter definition context; used to skip these for expression
10540 line up from pretty-expr.
10541 (verilog-in-parenthesis-p): Query returns true if point is in a
10542 parenthetical expression, specifically ( ) but not [ ] or { };
10543 used by pretty-expr.
10544 (verilog-just-one-space): If there is no space, don't add one.
10545 (verilog-get-lineup-indent-2): Specifically skip just attribute
10546 contexts for expression lineup, rather than skipping all
10547 parenthetical expressions.
10548 (verilog-calculate-indent): Fix comment, and fix indent.
10549 (verilog-do-indent): Indent declarations in lists (suggested by
10550 Joachim Lechner).
10551 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10552 skeleton items.
10553 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10554 by Alain Mellan).
10555
1bbe96b2 105562011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10557
10558 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10559 parameters with embedded comments. Reported by Ray Stevens.
10560 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10561 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10562 Reported by Tim Holt.
10563 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10564 instantiated by upper module causing wrong expansion until AUTOed a
10565 second time. Reported by K C Buckenmaier.
10566 (verilog-diff-auto): Fix showing .* as a difference when
10567 `verilog-auto-star-save' off. Reported by Dan Dever.
10568 (verilog-auto-reset, verilog-read-always-signals)
10569 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10570 temporary signals in reset list if
10571 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10572 style to each signal's assignment type, bug381.
10573 Reported by Thomas Esposito.
6288f0ca
WS
10574 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10575 (verilog-uvm-statement-re): Support UVM indentation and
10576 highlighting, with old OVM keywords only.
a1beca85 10577 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10578 Support AUTOTIEOFF creating non-wire data types.
10579 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10580 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10581 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10582 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10583 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10584 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10585 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10586 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10587 non-numeric vector width. Reported by Alex Reed.
10588 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10589 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10590 (verilog-auto-delete-trailing-whitespace):
10591 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10592 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10593 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10594 Fix verilog-scan-cache corruption when running user AUTO expansion
10595 hooks that call indentation routines.
10596 (verilog-simplify-range-expression): Fix typo ignoring lower case
10597 identifiers.
10598 (verilog-delete-auto): Fix delete-autos to also remove user created
10599 automatics, as long as they start with AUTO.
10600 (verilog-batch-diff-auto, verilog-diff-auto)
10601 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10602 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10603 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10604 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10605 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10606 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10607 is disabled and its cache will get corrupt, causing AUTOS not to
10608 expand. Instead use only -quick functions.
10609 (verilog-scan-region): Fix scanning over escaped quotes.
10610 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10611 (verilog-re-search-backward-quick)
10612 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10613 related functions now ignore strings, to fix misparsing of strings
10614 with magic comments embedded in them.
a1beca85
SM
10615 (verilog-read-auto-template):
10616 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10617 Reported by Brad Dobbie.
10618 (verilog-read-auto-template):
10619 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10620 Reported by Brad Dobbie.
6288f0ca
WS
10621 (verilog-auto-inst, verilog-auto-inst-param)
10622 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10623 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10624 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10625 debugging templates without merge conflicts, bug357.
10626 Reported by Brad Dobbie.
10627 (verilog-read-auto-template):
10628 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10629 Reported by Brad Dobbie.
10630 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10631 abbrevs so user won't be asked to save.
10632 (verilog-read-auto-lisp-present): Fix to start at beginning of
10633 buffer in case called outside of verilog-auto.
10634 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10635 to "X-2". Reported by Matthew Myers.
10636 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10637 all inputs from module templates. Reported by Leith Johnson.
10638 (verilog-module-inside-filename-p): Fix locating programs as with
10639 modules.
10640 (verilog-auto-inst-port): Fix vl-width expressions when using
10641 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10642 (verilog-decls-get-regs, verilog-decls-get-signals,
10643 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10644 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10645 verilog-read-decls): Combine reg and wire structures into one var
10646 structure to represent SystemVerilog concepts.
10647 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10648 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10649 (verilog-auto-wire-type, verilog-insert-definition):
10650 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10651 SystemVerilog "logic" keyword instead of "wire"/"reg".
10652 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10653 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10654 ifdef or generate if so there's not a driver conflict).
10655 Reported by Matthew Myers.
10656 (verilog-auto-declare-nettype, verilog-insert-definition):
10657 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10658 `default_nettype none. Reported by Julian Gorfajn.
10659 (verilog-read-always-signals-recurse, verilog-read-decls)
10660 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10661 malformed end statement, bug325. Reported by Joshua Wise and
10662 Andrew Drake.
10663 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10664 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10665 when expanding .* in interfaces, bug320.
10666 Reported by Pierre-David Pfister.
6288f0ca 10667 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10668 name and open parenthesis, bug317.
10669 Reported by Pierre-David Pfister.
6288f0ca
WS
10670 (verilog-simplify-range-expression): Fix simplification of
10671 multiplications inside AUTOWIRE connections, bug303.
10672 (verilog-auto-inst-port): Support parameter expansion in
10673 multidimensional arrays.
10674 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10675 after "assert property". Reported by Julian Gorfajn.
10676 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10677 with multiplication, bug303.
10678 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10679 Reported by Jan Frode Lonnum.
10680
1bbe96b2
GM
106812011-11-30 Juanma Barranquero <lekktu@gmail.com>
10682
10683 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10684 (hfy-shell-file-name, hfy-shell):
10685 * international/fontset.el (x-decompose-font-name): Fix typos.
10686
106872011-11-29 Ken Brown <kbrown@cornell.edu>
10688
10689 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10690 (gdb-version): Remove defvar.
10691 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10692 (gdb-gud-context-command, gdb-non-stop-handler)
10693 (gdb-current-context-command, gdb-stopped): Use it.
10694 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10695 (gdb-non-stop-handler): Don't enable pretty-printing here.
10696 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10697 non-stop mode. Use the following.
10698 (gdb-check-target-async): New defun.
10699 (gud-watch, gdb-stopped): Fix whitespace.
10700 (gdb-get-source-file): Don't try to display the source file if
10701 `gdb-main-file' is nil.
10702
107032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10704
10705 * align.el: Try to generate fewer markers (bug#10047).
10706 (align--set-marker): New macro.
10707 (align-region): Use it.
10708
c935221f
SM
107092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10712
e70b5064
CY
107132011-11-29 Chong Yidong <cyd@gnu.org>
10714
10715 * indent.el (indent-for-tab-command, indent-according-to-mode):
10716 Doc fix.
10717 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10718
f3af92b7
MA
107192011-11-29 Michael Albinus <michael.albinus@gmx.de>
10720
10721 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10722 aware of remote file names. (Bug#10124)
10723
ed472be9
CY
107242011-11-29 Chong Yidong <cyd@gnu.org>
10725
10726 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10727
24510c22
SM
107282011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * files.el (find-file): Don't use force-same-window (bug#10144).
10731 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10732 use pop-to-buffer if the selected window can't be used.
10733 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10734
c60c3703
EZ
107352011-11-28 Eli Zaretskii <eliz@gnu.org>
10736
10737 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10738 special-mode-map.
10739
e95def75
CY
107402011-11-28 Chong Yidong <cyd@gnu.org>
10741
10742 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10743
c3f1c606
NR
107442011-11-27 Nick Roberts <nickrob@snap.net.nz>
10745
10746 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10747 gdb-get-source-file-list on gdb-create-source-file-list.
10748
00db469c
EZ
107492011-11-26 Eli Zaretskii <eliz@gnu.org>
10750
10751 * whitespace.el (whitespace-newline): Use a different foreground
10752 color for 16-color light-background displays.
10753
4ad3bc2a
CY
107542011-11-24 Chong Yidong <cyd@gnu.org>
10755
10756 * window.el (display-buffer--special-action): Doc fix.
10757
e9fce1ac
JB
107582011-11-25 Juanma Barranquero <lekktu@gmail.com>
10759
10760 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10761 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10762 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10763 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10764 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10765 (avl-tree-stack-first):
10766 * emacs-lisp/cconv.el (cconv--analyse-use):
10767 * net/gnutls.el (gnutls-negotiate): Fix typos.
10768
cb825e5d
GM
107692011-11-24 Glenn Morris <rgm@gnu.org>
10770
3adbe224
GM
10771 * lpr.el (lpr-windows-system, lpr-lp-system):
10772 * mail/binhex.el (binhex-begin-line):
10773 * progmodes/grep.el (grep-history, grep-find-history):
10774 * textmodes/flyspell.el:
10775 * vc/pcvs-defs.el (cvs-global-menu):
10776 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10777 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10778 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10779
321decc8
GM
10780 * net/tls.el: Fix case of "GnuTLS".
10781
420b63ad
GM
10782 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10783
cb825e5d
GM
10784 * version.el (emacs-build-system): Give it a doc-string.
10785
a0649f08
JL
107862011-11-24 Juri Linkov <juri@jurta.org>
10787
10788 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10789
c0bc0fd4
GM
107902011-11-24 Glenn Morris <rgm@gnu.org>
10791
10792 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10793 if called on a non-mime message just toggle the headers. (Bug#8006)
10794
20db1522
JB
107952011-11-24 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10798 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10799 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10800 (allout-rebullet-heading, allout-open-sibtopic)
10801 (allout-toggle-current-subtree-encryption)
10802 (allout-toggle-subtree-encryption, allout-encrypt-string)
10803 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10804 (allout-distinctive-bullets-string, allout-auto-activation):
10805 * window.el (window-normalize-buffer-to-display):
10806 * progmodes/verilog-mode.el (verilog-batch-indent):
10807 * textmodes/bibtex.el (bibtex-field-braces-opt)
10808 (bibtex-field-strings-opt):
10809 * vc/cvs-status.el (cvs-tree-merge):
10810 Fix typos.
10811
7262a87c
MA
108122011-11-23 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10815 `non-essential' to t, in order to avoid remote connections.
10816
283430a1
EZ
108172011-11-23 Eli Zaretskii <eliz@gnu.org>
10818
a1beca85
SM
10819 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10820 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10821 case-insensitively.
10822
d2992a38
ML
108232011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10824
10825 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10826
50419064
GM
108272011-11-23 Glenn Morris <rgm@gnu.org>
10828
da94eca1
GM
10829 * paths.el (rmail-file-name): Reformat the doc-string so that it
10830 is picked up.
10831
9aac4de2
GM
10832 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10833 (rmail-auto-file): Ignore case in the "special" field names,
10834 as mail-fetch-field does for all others.
10835
8038d2d2
GM
10836 * mail/rmail.el (rmail-forward):
10837 * mail/rmailkwd.el (rmail-set-label):
10838 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10839 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10840
f3fe222a
GM
10841 * mail/rmail.el (rmail-current-message): Doc fix.
10842
50419064
GM
10843 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10844
28109f49
SM
108452011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10848
394c65f1
GM
108492011-11-22 Glenn Morris <rgm@gnu.org>
10850
10851 * mail/rmailmm.el (test-rmail-mime-handler)
10852 (test-rmail-mime-bulk-handler)
10853 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10854
f2a0aa3a
JL
108552011-11-21 Juri Linkov <juri@jurta.org>
10856
1154d12e
JB
10857 * calc/calc.el (calc-read-key-sequence):
10858 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10859
9c34a344
LMI
108602011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10861
10862 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10863 Tell the caller that the next line needs recomputation, even
10864 though it doesn't start a sexp (bug#10094).
10865
f04a3be9
SM
108662011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10869
7978747f
SM
108702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10871
f04a3be9
SM
10872 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10873 Use force-same-window.
7978747f 10874
fe7a3057
JB
108752011-11-20 Juanma Barranquero <lekktu@gmail.com>
10876
10877 * descr-text.el (describe-char-unicode-data):
10878 * json.el (json-string-escape):
10879 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10880 (Footnote-unicode, Footnote-style-p):
10881 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10882
24901d61
CY
108832011-11-20 Chong Yidong <cyd@gnu.org>
10884
10885 * window.el (replace-buffer-in-windows): Restore interactive spec.
10886
bac7ff22
SM
108872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10888
24f3d7b9
SM
10889 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10890
bac7ff22
SM
10891 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10892 (byte-compile-global-not-obsolete-vars): New var.
10893 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10894 Use it.
10895 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10896
cd1181db
JB
108972011-11-20 Juanma Barranquero <lekktu@gmail.com>
10898
10899 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10900 * progmodes/pascal.el (electric-pascal-equal):
10901 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10902 * xml.el (xml-substitute-special): Fix typos.
10903
7fb18e9e
GM
109042011-11-20 Glenn Morris <rgm@gnu.org>
10905
10906 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10907 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10908 Doc fixes.
10909 (rmail-decode-mime-charset): Mark as obsolete.
10910
10911 * mail/rmailsum.el (rmail-message-regexp-p-1):
10912 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10913 Before using mime functions, check they are set. (Bug#10077)
10914
d5a6b3ba
JL
109152011-11-19 Juri Linkov <juri@jurta.org>
10916
10917 * info.el (Info-finder-find-node): Use `package--builtins' instead
10918 of `package-alist'. Use node names formed by the pattern "Keyword "
10919 and the keyword name.
10920
e981b61f
AS
109212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10922
1d00653d 10923 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10924
3ffbc301
JL
109252011-11-19 Juri Linkov <juri@jurta.org>
10926
10927 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10928 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10929 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10930 `old-history', `old-history-forward'. Add let-binding
10931 `window-selected'. Remove calls to `kill-buffer',
10932 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10933 before calling `Info-find-node', so `Info-find-node-2' will reread
10934 the Info file. Restore window positions only when `window-selected'
10935 is non-nil.
10936
30c62133
JL
109372011-11-19 Juri Linkov <juri@jurta.org>
10938
10939 * isearch.el (isearch-lazy-highlight-new-loop):
10940 Remove condition `(not isearch-error)'. (Bug#9918)
10941
10942 * misearch.el (multi-isearch-search-fun): Add condition
10943 `(not bound)' to ignore lazy-highlighting search.
10944 Add the search-failed message "end of multi" when the end of
10945 multi-sequence is reached. Uncapitalize the search-failed
10946 message "Repeat for next buffer".
10947
10948 * info.el (Info-search): Add the search-failed message
10949 "end of the manual" when the end of the manual is reached
10950 in Isearch mode.
10951
645ca9cf
JL
109522011-11-19 Juri Linkov <juri@jurta.org>
10953
10954 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10955 Use non-destructive `remove' instead of `delete' because
10956 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10957 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10958
df754f66
JL
109592011-11-19 Juri Linkov <juri@jurta.org>
10960
10961 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10962 to nil instead of binding `search-ring' and `regexp-search-ring'.
10963 (Bug#9185)
10964
0e23d96a
EZ
109652011-11-19 Eli Zaretskii <eliz@gnu.org>
10966
10967 * simple.el (line-move): Force movement by logical lines for any
10968 hscrolled window, not only when auto-hscroll-mode is on.
10969 (line-move-visual): Update doc string to that effect. (Bug#10076)
10970
8a6ccb66
AS
109712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10972
10973 * language/european.el (macintosh): Define as alias for mac-roman.
10974
49ae5b39
EZ
109752011-11-19 Eli Zaretskii <eliz@gnu.org>
10976
10977 * mail/rmailmm.el (rmail-mime-display-header)
10978 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10979 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10980 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10981 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10982 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10983 of a raw aref.
10984 (rmail-mime-entity-segment): To get past the tagline, move forward
10985 2 more lines, to account for the 2 empty lines that precede and
10986 follow the line with the buttons.
10987 (rmail-mime-update-tagline): Move one more line, to get past the
10988 empty line that follows the buttons in the tagline. (Bug#9520)
10989
c56cad4a
MR
109902011-11-19 Martin Rudalics <rudalics@gmx.at>
10991
10992 * window.el (window-max-delta-1, window-min-delta-1)
10993 (window-min-size-1, window-state-get-1, window-state-put-1)
10994 (window-state-put-2): Use "window--" prefix.
10995
cbe71af3
SM
109962011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10997
2ad52c60
SM
10998 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10999 (smie-warning-count): New var.
11000 (smie-set-prec2tab): Use it.
11001 (smie-bnf->prec2): Improve warnings. Add docstring.
11002 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11003 (smie-bnf--set-class): New function.
11004 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11005 corner case.
11006
6944dbc1
SM
11007 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11008 (compilation-error-properties, compilation-move-to-column):
11009 Handle compilation-first-column while in the target buffer.
11010
c400c4d7
SM
11011 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11012 Don't hardcode point-min==1.
11013
6dbe3e96
SM
11014 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11015 (eshell-rewrite-for-command): Remove workaround.
11016 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11017 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11018 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11019
cbe71af3
SM
11020 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11021
a8e1496d
GM
110222011-11-17 Glenn Morris <rgm@gnu.org>
11023
11024 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11025 Ignore buffer-local generated-autoload-file if it is the same
11026 as the global value. (Bug#10049)
11027
df85d315
JB
110282011-11-17 Juanma Barranquero <lekktu@gmail.com>
11029
11030 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11031 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11032 (reftex-toc-previous-heading, reftex-toc-max-level)
11033 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11034 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11035 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11036 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11037 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11038 (reftex-toc-rename-label, reftex-toc-visit-location)
11039 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11040 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11041 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11042 leaving "*toc*" only for references to the buffer.
11043
a0c2d0ae
MR
110442011-11-17 Martin Rudalics <rudalics@gmx.at>
11045
11046 * window.el (window-resize, delete-window, split-window):
11047 Replace window-splits by window-combination-resize.
1d00653d 11048 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11049
35c0bac8
GM
110502011-11-17 Glenn Morris <rgm@gnu.org>
11051
11052 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11053 Make bash entry derive from sh entry, not shell entry.
11054
d0c8fc8a
MA
110552011-11-16 Michael Albinus <michael.albinus@gmx.de>
11056
7262a87c
MA
11057 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11058 local file name.
11059
7877f373
JB
110602011-11-16 Juanma Barranquero <lekktu@gmail.com>
11061
11062 * menu-bar.el (menu-bar-file-menu):
11063 * printing.el (pr-ps-utility):
11064 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11065 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11066 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11067 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11068 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11069 (icalendar--convert-cyclic-to-ical)
11070 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11071 (icalendar--convert-ical-to-diary)
11072 (icalendar--convert-recurring-to-diary)
11073 (icalendar--convert-non-recurring-all-day-to-diary)
11074 (icalendar-import-format-sample):
11075 * progmodes/idlw-shell.el (idlwave-shell-mode):
11076 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11077 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11078 (vhdl-ps-print-init): Fix typos.
11079
10649b82
KM
110802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11081
9d0cfcd6
GM
11082 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11083 FSF and collapse date sequence, obscure author/maintainer email address
11084 better, remove extra version line, track relocation of author's webpage.
10649b82 11085
9d0cfcd6
GM
11086 * progmodes/python.el (python-pdbtrack-input-prompt)
11087 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11088 regular python pdb prompts. Adjustments shamelessly taken exactly as
11089 suggested in EmacsWiki page (tiny change):
11090 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11091
58179cce
JB
110922011-11-16 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * expand.el (expand-pos, expand-index, expand-point):
11095 Remove redundant info from docstring.
11096 (expand-add-abbrevs): Doc fix.
11097 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11098 (expand-sample-perl-mode-expand-list): Fix typos.
11099
11100 * net/dbus.el (dbus-event-member-name):
11101 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11102 * term/pc-win.el (msdos-create-frame-with-faces):
11103 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11104
b6f67890
MR
111052011-11-16 Martin Rudalics <rudalics@gmx.at>
11106
11107 * window.el (split-window, window-state-get-1)
11108 (window-state-put-1, window-state-put-2): Rename occurrences of
11109 window-nest to window-combination-limit.
1d00653d 11110 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11111
ce7ddba0
CY
111122011-11-16 Chong Yidong <cyd@gnu.org>
11113
11114 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11115 regexp (Bug#10033).
11116
3ae704f4
SM
111172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11120 `completing-read' will remove *Completions* and will preserve
11121 current-buffer for us.
11122 (tmm-add-prompt): Users of *Completions* will always (re)set its
11123 major mode.
11124 (tmm-old-comp-map): Remove.
11125
6ad1cdde
GM
111262011-11-16 Glenn Morris <rgm@gnu.org>
11127
11128 * mail/rmailedit.el: Require rmailmm when compiling.
11129 (rmail-old-mime-state): New declaration.
11130 (rmail-edit-current-message): If editing a mime message,
11131 edit the "raw" message from the mbox buffer.
11132 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11133
d20faa20
GM
111342011-11-15 Glenn Morris <rgm@gnu.org>
11135
11136 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11137 which wasn't being used. Add optional arg to force given state.
11138 (rmail-mime): Add optional arg to force given state.
11139
c7015153
JB
111402011-11-15 Juanma Barranquero <lekktu@gmail.com>
11141
11142 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11143 * frame.el (display-mm-dimensions-alist):
11144 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11145 (outline-move-subtree-down):
11146 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11147 (newsticker--treeview-do-get-node):
11148 * net/quickurl.el (quickurl-list-buffer-name):
11149 * progmodes/dcl-mode.el (dcl-mode):
11150 * progmodes/gdb-mi.el (gdb-mapcar*):
11151 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11152
45261b50
GM
111532011-11-15 Glenn Morris <rgm@gnu.org>
11154
11155 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11156 in a boolean sense, so just make it a boolean, and fix the doc.
11157 (rmail-show-mime-function, rmail-mime-feature)
11158 (rmail-require-mime-maybe): Doc fixes.
11159 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11160
11161 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11162
0d26e0b6
JB
111632011-11-15 Juanma Barranquero <lekktu@gmail.com>
11164
11165 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11166 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11167 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11168 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11169
447f30f6
GM
111702011-11-15 Glenn Morris <rgm@gnu.org>
11171
672b871d
GM
11172 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11173 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11174 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11175 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11176 (rmail-mime, rmail-show-mime): Doc fixes.
11177
f6aa5bb1
GM
11178 * term/ns-win.el (mode-line-frame-identification):
11179 Leave it alone. (Bug#10051)
11180
947cd66b
GM
11181 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11182
447f30f6
GM
11183 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11184 Handle empty buffers. (Bug#9978)
11185
0b381c7e
JB
111862011-11-14 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * international/mule.el (define-charset):
11189 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11190 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11191 * progmodes/verilog-mode.el (verilog-backward-token):
11192 * textmodes/ispell.el (lookup-words):
11193 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11194
71e027ac
GM
111952011-11-14 Glenn Morris <rgm@gnu.org>
11196
56632ce4
GM
11197 * progmodes/executable.el
11198 (executable-make-buffer-file-executable-if-script-p):
11199 Handle file-modes returning nil.
11200
40500957
GM
11201 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11202 message - not necessary, and causes problems. (Bug#9831)
11203
071c2340
GM
11204 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11205
d3cfca60
GM
11206 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11207
71e027ac
GM
11208 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11209 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11210 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11211
89d61221
MR
112122011-11-12 Martin Rudalics <rudalics@gmx.at>
11213
11214 * window.el (window-resize, delete-window): Use window-splits
11215 variable instead of function.
11216 (window-state-get-1, window-state-put-2, window-state-put):
11217 Don't deal with windows' splits status.
11218
98282f6f
GM
112192011-11-12 Glenn Morris <rgm@gnu.org>
11220
11221 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11222 (apropos-documentation): Doc fixes.
11223
40a8bdf6
JB
112242011-11-11 Juanma Barranquero <lekktu@gmail.com>
11225
11226 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11227 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11228
65bd19ff
SM
112292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 * electric.el (electric-indent-post-self-insert-function): Make it
11232 possible for a char to only indent in some circumstances.
11233 (electric-indent-mode): Simplify.
11234
54f9154c
MR
112352011-11-11 Martin Rudalics <rudalics@gmx.at>
11236
11237 * window.el (windows-with-parameter): Remove unused function.
11238 (windows-at-side): Rename to window-at-side-list.
11239 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11240 (window-side-check, window-size-ignore, window-size-fixed-1)
11241 (window-in-direction-2): Prefix with "window--".
11242 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11243
68cbc58b
GM
112442011-11-11 Glenn Morris <rgm@gnu.org>
11245
11246 * subr.el (eval-after-load): If FILE is already loaded,
11247 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11248
b2621720
GM
112492011-11-10 Glenn Morris <rgm@gnu.org>
11250
9a4de110
GM
11251 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11252 Call svn via vc-svn-command rather than vc-do-command.
11253 (vc-svn-command): Add --non-interactive. (Bug#9993)
11254 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11255
b2621720
GM
11256 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11257 Add toggle-read-only. (Bug#7292)
11258 * files.el (toggle-read-only): Mention that it should only
11259 be used interactively. (Bug#10006)
11260
1dce7193
SM
112612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11262
d9ac1a1e
SM
11263 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11264 Adjust regexp for OCaml warnings.
11265
0c325082
SM
11266 * electric.el (electric-pair-post-self-insert-function): Let user
11267 turn it off buffer-locally (bug#9932).
11268
90132c14
SM
11269 * progmodes/python.el (python-beginning-of-statement):
11270 Rewrite (bug#2703).
11271
1dce7193
SM
11272 * progmodes/compile.el: Better handle TABs (bug#9749).
11273 (compilation-internal-error-properties)
11274 (compilation-next-error-function): Obey the target buffer's
11275 compilation-error-screen-columns.
11276
c4e7c63a
JB
112772011-11-09 Juanma Barranquero <lekktu@gmail.com>
11278
11279 * progmodes/meta-mode.el: Remove obsolete comments.
11280 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11281 Fix typos in docstrings.
11282
2cffd681
MR
112832011-11-09 Martin Rudalics <rudalics@gmx.at>
11284
11285 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11286 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11287 (window--resizable): New function. Make all callers of
11288 window-resizable call window--resizable instead.
11289 (window-resizable): Rewrite in terms of window--resizable.
11290
0edcba87
GM
112912011-11-08 Glenn Morris <rgm@gnu.org>
11292
11293 * progmodes/delphi.el (delphi-mode-syntax-table):
11294 Let define-derived-mode define a proper syntax table. (Bug#9994)
11295
4b0d61e3
SM
112962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * window.el: Stay away from defsubst.
11299 (window-list-no-nils): Remove.
11300 (window-state-get-1, window-state-get): Use backquote instead.
11301
cd394be1 113022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11303
4b0d61e3 11304 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11305 Fix incorrect use of default argument in `completing-read'.
11306
e1c2c6f2
MR
113072011-11-08 Martin Rudalics <rudalics@gmx.at>
11308
11309 * window.el (display-buffer-function, special-display-function):
11310 Mention display-buffer-record-window but do not mention
11311 help-setup parameter in doc-strings.
b3f4a882 11312 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11313
105216ed
CY
113142011-11-08 Chong Yidong <cyd@gnu.org>
11315
11316 * window.el (window-total-height, window-total-width): Doc fix.
11317 (window-body-size): Move from C.
11318 (window-body-height, window-body-width): Move to C.
11319
0a9f9ab5
SM
113202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * window.el: Make special-display like display-buffer-alist (bug#9532).
11323 (display-buffer--special-action): New function, morphed
11324 from display-buffer--special.
11325 (display-buffer): Use it to handle special-display-buffers at higher
11326 priority (just after display-buffer-alist).
11327 (display-buffer-fallback-action, display-buffer--other-frame-action)
11328 (pop-to-buffer-same-window): Remove display-buffer--special.
11329
a769dd15
GM
113302011-11-07 Glenn Morris <rgm@gnu.org>
11331
11332 * calendar/cal-menu.el (cal-menu-set-date-title):
11333 Do nothing if not in a calendar. (Bug#9976)
11334
05a61ee3
SM
113352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * files.el (find-file): Always use selected-window.
11338
be7f5545
MR
113392011-11-07 Martin Rudalics <rudalics@gmx.at>
11340
11341 * window.el (window-combinations): Make WINDOW argument
11342 mandatory. Rewrite doc-string.
11343 (walk-window-subtree, window-atom-check, window-min-delta)
11344 (window-max-delta, window--resize-this-window)
11345 (window--resize-root-window-vertically, window-tree)
11346 (balance-windows, window-state-put): Rewrite doc-strings as to
11347 not mention the term "subwindow".
11348 (window--resize-subwindows-skip-p): Rename to
11349 window--resize-child-windows-skip-p.
11350 (window--resize-subwindows-normal): Rename to
11351 window--resize-child-windows-normal.
11352 (window--resize-subwindows): Rename to
11353 window--resize-child-windows.
11354 (window-or-subwindow-p): Rename to window--in-subtree-p.
11355
3c6702ef
ML
113562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11357
11358 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11359 Ensure that mbox format messages end in two newlines (Bug#9974).
11360
49745b39
CY
113612011-11-06 Chong Yidong <cyd@gnu.org>
11362
11363 * window.el (window-combination-p): Function deleted; its
11364 side-effect is not used in any existing code.
11365 (window-combinations, window-combined-p): Call window-*-child
11366 directly.
11367
24300f5f
CY
113682011-11-05 Chong Yidong <cyd@gnu.org>
11369
11370 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11371 (window-size-ignore, window-state-get): Callers changed.
11372 (window-normalize-window): Rename from window-normalize-any-window.
11373 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11374 (window-normalize-live-window): Delete.
447f16b8
CY
11375 (window-combination-p, window-combined-p, window-combinations)
11376 (walk-window-subtree, window-atom-root, window-min-size)
11377 (window-sizable, window-sizable-p, window-size-fixed-p)
11378 (window-min-delta, window-max-delta, window-resizable)
11379 (window-resizable-p, window-full-height-p, window-full-width-p)
11380 (window-current-scroll-bars, window-point-1, set-window-point-1)
11381 (window-at-side-p, window-in-direction, window-resize)
11382 (adjust-window-trailing-edge, maximize-window, minimize-window)
11383 (window-deletable-p, delete-window, delete-other-windows)
11384 (record-window-buffer, unrecord-window-buffer)
11385 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11386 (quit-window, split-window, window-state-put)
11387 (set-window-text-height, fit-window-to-buffer)
11388 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11389
89bd5ee1
EZ
113902011-11-04 Eli Zaretskii <eliz@gnu.org>
11391
53479029
EZ
11392 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11393 rfc2047-decode-string.
11394 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11395 warnings.
11396
89bd5ee1
EZ
11397 * window.el (window-body-height, window-body-width): Mention in
11398 the doc string that the return values are in frame's canonical
11399 units. (Bug#9949)
11400
bd17fdee
AM
114012011-11-03 Alan Mackenzie <acm@muc.de>
11402
11403 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11404 change in cc-engine.el.
11405
acc825c5
SM
114062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11409
1885e5b8
MR
114102011-11-02 Martin Rudalics <rudalics@gmx.at>
11411
11412 * window.el (quit-window): Call unrecord-window-buffer after
11413 showing another buffer in the window. (Bug#9937)
acc825c5 11414 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11415
ebe06da9
JB
114162011-11-02 Juanma Barranquero <lekktu@gmail.com>
11417
11418 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11419 Accept status with more than 9 shelves. (Bug#9935)
11420 Reported by Colin D Bennett <colin@gibibit.com>.
11421
4ee88440
MR
114222011-11-01 Martin Rudalics <rudalics@gmx.at>
11423
11424 * help.el (with-help-window): Don't reference
11425 temp-buffer-show-specifiers in doc-string.
11426
08e1d82c
AS
114272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11428
11429 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11430 menu-item.
11431
84bd6e9e
VJL
114322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11433
11434 * whitespace.el: New version 13.2.2.
11435 (whitespace-newline-mode): Disable properly. Reported by Sarah
11436 <EmacsWiki>.
11437
dba0634a
UJ
114382011-10-30 Ulf Jasper <ulf.jasper@web.de>
11439
11440 * net/newst-treeview.el: Remove "Time-stamp".
11441 (newsticker--group-manage-orphan-feeds): Do not call
11442 newsticker--treeview-tree-update.
db22a3c2
JB
11443 (newsticker-treeview-update, newsticker-treeview):
11444 Call newsticker--treeview-tree-update if necessary.
dba0634a 11445
3d8daefe
MR
114462011-10-30 Martin Rudalics <rudalics@gmx.at>
11447
11448 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11449 (window-iso-combinations): Remove "iso-" infix.
11450 Suggested by Chong Yidong.
3d8daefe
MR
11451 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11452 (window-max-delta-1, window-resize, window--resize-siblings)
11453 (window--resize-this-window, adjust-window-trailing-edge)
11454 (split-window, balance-windows-1)
11455 (shrink-window-if-larger-than-buffer):
11456 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11457 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11458
1bc4c3ae
SM
114592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11462 in place (bug#9907).
11463 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11464 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11465 (eshell-structure-basic-command, eshell-rewrite-while-command)
11466 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11467 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11468 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11469 (eshell-do-pipelines-synchronously, eshell-eval-command):
11470 Use backquotes and prefer setq to set.
11471 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11472 (eshell-macrop): Use functionp.
c1e2f5fa 11473 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11474
30b65d9c
CY
114752011-10-30 Chong Yidong <cyd@gnu.org>
11476
11477 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11478 instead of set-mark (Bug#9810).
11479
2d197ffb
CY
114802011-10-30 Chong Yidong <cyd@gnu.org>
11481
11482 * window.el (split-window-below, split-window-right): Rename from
11483 split-window-above-each-other and split-window-side-by-side
11484 respectively. All callers changed.
11485 (split-window-sensibly, split-window-sensibly): Use them.
11486 (split-window-keep-point): Doc fix.
11487
11488 * isearch.el: Add isearch-scroll property to split-window-below
11489 and split-window-right.
11490
11491 * follow.el (follow-mode):
11492 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11493 * progmodes/ada-xref.el (ada-gdb-application):
11494 * emulation/vip.el (vip-buffer-in-two-windows):
11495 * image-dired.el (image-dired-dired-with-window-configuration):
11496 * dired-x.el (dired-do-find-marked-files):
11497 * dired.el (dired-pop-to-buffer):
11498 * bs.el (bs--show-with-configuration):
11499 * vc/emerge.el (emerge-setup-windows):
11500 * textmodes/two-column.el (2C-two-columns):
11501 * textmodes/reftex-toc.el (reftex-toc):
11502 * progmodes/gdb-mi.el (gdb-setup-windows):
11503 * progmodes/fortran.el (fortran-window-create):
11504 * net/newst-treeview.el (newsticker--treeview-window-init):
11505 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11506 * emulation/tpu-edt.el (tpu-gold-map):
11507 * emulation/crisp.el (crisp-mode-map):
11508 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11509
38bb2ca8
CY
115102011-10-29 Chong Yidong <cyd@gnu.org>
11511
aa4de341
CY
11512 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11513
e1eb5385
CY
11514 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11515
5d2ece3c
CY
11516 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11517 forged Ispell output (Bug#7904).
11518
38bb2ca8
CY
11519 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11520
d0af9f77
SM
115212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * doc-view.el: Avoid ugly errors about not finding nil.
11524 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11525 (doc-view-dvipdf-program, doc-view-unoconv-program)
11526 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11527 Avoid nil or absolute file name as default value.
11528 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11529
52bedd34
AM
115302011-10-28 Alan Mackenzie <acm@muc.de>
11531
db22a3c2 11532 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11533
7e43cfa5
AM
115342011-10-28 Alan Mackenzie <acm@muc.de>
11535
11536 Amend the handling of c-beginning/end-of-defun in nested declaration
11537 scopes.
11538
52bedd34
AM
11539 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11540 cc-langs.el. Change it to a defcustom.
7e43cfa5 11541
52bedd34
AM
11542 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11543 cc-vars.el.
7e43cfa5 11544
d0af9f77
SM
11545 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11546 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11547
52bedd34 11548 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11549 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11550 (c-widen-to-enclosing-decl-scope): New function.
11551 (c-while-widening-to-decl-block): New macro.
11552 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11553 outward for defun boundaries, and correspondingly change symbol
11554 `respect-enclosure' to `go-outward'.
11555 (c-declaration-limits): Change algorithm to report only the "innermost"
11556 defun's boundaries.
11557
1a2ce9ee
DD
115582011-10-28 Deniz Dogan <deniz@dogan.se>
11559
11560 * net/rcirc.el (rcirc-mode): Use hard newlines.
11561
bc97a826
AM
115622011-10-28 Alan Mackenzie <acm@muc.de>
11563
11564 Amend to indent and fontify macros "which include their own semicolon"
11565 correctly, using the "virtual semicolon" mechanism.
11566
52bedd34 11567 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11568
d0af9f77 11569 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11570 Recode to scan one line at a time rather than having \n and \r
58179cce 11571 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11572 (c-forward-label): Amend for virtual semicolons.
58179cce 11573 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11574
52bedd34
AM
11575 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11576 of the new C macros.
bc97a826 11577
52bedd34 11578 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11579 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11580 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11581 (c-opt-cpp-macro-define): Make into a full language variable.
11582 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11583 AWK Mode (including \n, \r) removed, no longer needed.
11584
d0af9f77
SM
11585 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11586 Invoke c-make-macro-with-semi-re.
bc97a826 11587
52bedd34
AM
11588 * progmodes/cc-vars.el (c-macro-with-semi-re):
11589 (c-macro-names-with-semicolon): New variables.
58179cce 11590 (c-make-macro-with-semi-re): New function.
bc97a826 11591
7a6c0941
SM
115922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * vc/log-edit.el: Fill empty field rather than adding new one.
11595 (log-edit-add-field): New function.
11596 (log-edit-insert-changelog): Use it.
11597
b0c4cdcf
ML
115982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11599
11600 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11601
ee1f1da9
SM
116022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11603
11604 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11605 (gdb--check-interpreter): New function.
11606 (gdb): Use it.
11607
51bc5f8b
GM
116082011-10-27 Glenn Morris <rgm@gnu.org>
11609
416a2c45
GM
11610 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11611 (least-positive-float, least-negative-float)
11612 (least-positive-normalized-float, least-negative-normalized-float)
11613 (float-epsilon, float-negative-epsilon):
11614 Remove unnecessary declarations.
11615
11616 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11617 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11618 (least-positive-float, least-negative-float)
11619 (least-positive-normalized-float, least-negative-normalized-float)
11620 (float-epsilon, float-negative-epsilon): Add doc-strings,
11621 based on those in cl.texi.
11622
51bc5f8b
GM
11623 * files.el (set-visited-file-name): If the major-mode changed,
11624 reload the local variables. (Bug#9796)
11625
15de15c6
CY
116262011-10-27 Chong Yidong <cyd@gnu.org>
11627
11628 * subr.el (change-major-mode-after-body-hook): New hook.
11629 (run-mode-hooks): Run it.
11630
ee1f1da9
SM
11631 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11632 Use change-major-mode-before-body-hook.
15de15c6
CY
11633
11634 * simple.el (fundamental-mode):
11635 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11636 change introducing fundamental-mode-hook.
11637
5430d399
JB
116382011-10-26 Juanma Barranquero <lekktu@gmail.com>
11639
acc825c5 11640 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11641
ad74a69e
MA
116422011-10-26 Michael Albinus <michael.albinus@gmx.de>
11643
11644 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11645 tramp.el explicitly. (Bug#7583)
ad74a69e 11646
71d4c2a5
SM
116472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * progmodes/octave-mod.el:
11650 * progmodes/octave-inf.el: Update maintainer.
11651
b1f6fa26
CY
116522011-10-26 Chong Yidong <cyd@gnu.org>
11653
11654 * subr.el (with-wrapper-hook): Rewrite doc.
11655
3f04efd6
MA
116562011-10-25 Michael Albinus <michael.albinus@gmx.de>
11657
11658 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11659 filenames "/method:foo:". (Bug#9793)
3f04efd6 11660
410488d3
SM
116612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11664 (bug#9865).
11665
c1ebb47e
GM
116662011-10-24 Glenn Morris <rgm@gnu.org>
11667
11668 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11669
7f5c46c7
MA
116702011-10-24 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * notifications.el: Add the requirement of a running D-Bus session
11673 bus to the Commentary.
11674
db2440b6
JL
116752011-10-24 Juri Linkov <juri@jurta.org>
11676
11677 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11678 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11679 (Bug#9364)
11680
feecf435
JL
116812011-10-24 Juri Linkov <juri@jurta.org>
11682
11683 * info.el (Info-following-node-name-re): Add newline to the list
11684 of allowed characters for leading space. (Bug#9824)
11685
a3839de2
SM
116862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11687
acc825c5
SM
11688 * progmodes/octave-inf.el (inferior-octave-mode-map):
11689 Fix C-c C-h binding.
a3839de2
SM
11690 * progmodes/octave-mod.el (octave-help): Remove.
11691
09388e76
MA
116922011-10-23 Michael Albinus <michael.albinus@gmx.de>
11693
11694 Sync with Tramp 2.2.3.
11695
11696 * net/tramp-cache.el (top): Pacify byte-compiler using
11697 `init-file-user' and `site-run-file'.
11698
11699 * net/trampver.el: Update release number.
11700
86c60681
CY
117012011-10-23 Chong Yidong <cyd@gnu.org>
11702
11703 * files.el (toggle-read-only): Remove obsolete comment about
11704 version control.
11705
11706 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11707 for toggle-read-only. Note that this hasn't called vc-next-action
11708 since 2008-05-02, though it wasn't documented at the time.
11709
a3839de2
SM
11710 * vc/ediff-init.el (ediff-toggle-read-only-function):
11711 Use toggle-read-only.
86c60681 11712
cd5495ff
AM
117132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11714
11715 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11716 of c-parse-state.
11717
00b77525 11718 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11719 correct faulty logical expression.
cd5495ff
AM
11720 (c-parse-state-state, c-record-parse-state-state):
11721 (c-replay-parse-state-state): New defvar/defuns.
11722 (c-debug-parse-state): Use new functions.
11723
42ee24ed
MR
117242011-10-22 Martin Rudalics <rudalics@gmx.at>
11725
11726 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11727 last fix. Use window-in-direction correctly.
42ee24ed 11728
a7dee7e7
CY
117292011-10-21 Chong Yidong <cyd@gnu.org>
11730
11731 * progmodes/idlwave.el (idlwave-mode):
11732 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11733 require-final-newline; that's done in prog-mode.
11734 Suggested by Stefan Monnier.
a7dee7e7 11735
e07b9a6d
MR
117362011-10-21 Martin Rudalics <rudalics@gmx.at>
11737
11738 * mouse.el (mouse-drag-window-above)
11739 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11740 (mouse-drag-mode-line-1, mouse-drag-header-line)
11741 (mouse-drag-vertical-line-rightward-window): Remove.
11742 (mouse-drag-line): New function.
11743 (mouse-drag-mode-line, mouse-drag-header-line)
11744 (mouse-drag-vertical-line): Call mouse-drag-line.
11745 * window.el (window-at-side-p, windows-at-side): New functions.
11746
7e1361d9
UM
117472011-10-21 Ulrich Mueller <ulm@gentoo.org>
11748
11749 * tar-mode.el (tar-grind-file-mode):
11750 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11751
30fcaf3a
CY
117522011-10-21 Chong Yidong <cyd@gnu.org>
11753
11754 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11755 * progmodes/vera-mode.el (vera-mode):
11756 Use mode-require-final-newline.
30fcaf3a 11757
516eddb0
GM
117582011-10-20 Glenn Morris <rgm@gnu.org>
11759
db22a3c2 11760 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11761
10d5f513
CS
117622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11763
11764 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11765
ac6c8639
CY
117662011-10-20 Chong Yidong <cyd@gnu.org>
11767
11768 * emulation/cua-base.el (cua-mode):
11769 * mail/footnote.el (footnote-mode):
11770 * mail/mailabbrev.el (mail-abbrevs-mode):
11771 * net/xesam.el (xesam-minor-mode):
11772 * progmodes/bug-reference.el (bug-reference-mode):
11773 * progmodes/cap-words.el (capitalized-words-mode):
11774 * progmodes/compile.el (compilation-minor-mode)
11775 (compilation-shell-minor-mode):
11776 * progmodes/gud.el (gud-tooltip-mode):
11777 * progmodes/hideif.el (hide-ifdef-mode):
11778 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11779 * progmodes/subword.el (subword-mode):
11780 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11781 * progmodes/which-func.el (which-function-mode):
11782 * term/tvi970.el (tvi970-set-keypad-mode):
11783 * term/vt100.el (vt100-wide-mode):
11784 * textmodes/flyspell.el (flyspell-mode):
11785 * textmodes/ispell.el (ispell-minor-mode):
11786 * textmodes/nroff-mode.el (nroff-electric-mode):
11787 * textmodes/paragraphs.el (use-hard-newlines):
11788 * textmodes/refill.el (refill-mode):
11789 * textmodes/reftex.el (reftex-mode):
11790 * textmodes/rst.el (rst-minor-mode):
11791 * textmodes/sgml-mode.el (html-autoview-mode)
11792 (sgml-electric-tag-pair-mode):
11793 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11794 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11795 * emulation/crisp.el (crisp-mode):
11796 * emacs-lisp/eldoc.el (eldoc-mode):
11797 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11798 minor mode behavior.
11799
aa42ab43
JL
118002011-10-19 Juri Linkov <juri@jurta.org>
11801
11802 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11803 the list of hard-coded chars with escape-glyph face.
11804
89400f1d
SM
118052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11808
305c07f6
MA
118092011-10-19 Michael Albinus <michael.albinus@gmx.de>
11810
11811 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11812 running process.
11813
13754b54
GM
118142011-10-19 Glenn Morris <rgm@gnu.org>
11815
11816 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11817 Ignore ignored files. (Bug#9726)
11818
06e21633
CY
118192011-10-19 Chong Yidong <cyd@gnu.org>
11820
11821 Doc fix for minor modes, stating that an omitted argument enables
11822 the mode unconditionally when called from Lisp.
11823
11824 * abbrev.el (abbrev-mode):
11825 * allout.el (allout-mode):
11826 * autoinsert.el (auto-insert-mode):
11827 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11828 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11829 (global-auto-revert-mode):
11830 * battery.el (display-battery-mode):
11831 * composite.el (global-auto-composition-mode)
11832 (auto-composition-mode):
11833 * delsel.el (delete-selection-mode):
11834 * desktop.el (desktop-save-mode):
11835 * dired-x.el (dired-omit-mode):
11836 * dirtrack.el (dirtrack-mode):
11837 * doc-view.el (doc-view-minor-mode):
11838 * double.el (double-mode):
11839 * electric.el (electric-indent-mode, electric-pair-mode):
11840 * emacs-lock.el (emacs-lock-mode):
11841 * epa-hook.el (auto-encryption-mode):
11842 * follow.el (follow-mode):
11843 * font-core.el (font-lock-mode):
11844 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11845 * help.el (temp-buffer-resize-mode):
11846 * hilit-chg.el (highlight-changes-mode)
11847 (highlight-changes-visible-mode):
11848 * hi-lock.el (hi-lock-mode):
11849 * hl-line.el (hl-line-mode, global-hl-line-mode):
11850 * icomplete.el (icomplete-mode):
11851 * ido.el (ido-everywhere):
11852 * image-file.el (auto-image-file-mode):
11853 * image-mode.el (image-minor-mode):
11854 * iswitchb.el (iswitchb-mode):
11855 * jka-cmpr-hook.el (auto-compression-mode):
11856 * linum.el (linum-mode):
11857 * longlines.el (longlines-mode):
11858 * master.el (master-mode):
11859 * mb-depth.el (minibuffer-depth-indicate-mode):
11860 * menu-bar.el (menu-bar-mode):
11861 * minibuf-eldef.el (minibuffer-electric-default-mode):
11862 * mouse-sel.el (mouse-sel-mode):
11863 * msb.el (msb-mode):
11864 * mwheel.el (mouse-wheel-mode):
11865 * outline.el (outline-minor-mode):
11866 * paren.el (show-paren-mode):
11867 * recentf.el (recentf-mode):
11868 * reveal.el (reveal-mode, global-reveal-mode):
11869 * rfn-eshadow.el (file-name-shadow-mode):
11870 * ruler-mode.el (ruler-mode):
11871 * savehist.el (savehist-mode):
11872 * scroll-all.el (scroll-all-mode):
11873 * scroll-bar.el (scroll-bar-mode):
11874 * server.el (server-mode):
11875 * shell.el (shell-dirtrack-mode):
11876 * simple.el (auto-fill-mode, transient-mark-mode)
11877 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11878 (line-number-mode, column-number-mode, size-indication-mode)
11879 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11880 * strokes.el (strokes-mode):
11881 * time.el (display-time-mode):
11882 * t-mouse.el (gpm-mouse-mode):
11883 * tool-bar.el (tool-bar-mode):
11884 * tooltip.el (tooltip-mode):
11885 * type-break.el (type-break-mode-line-message-mode)
11886 (type-break-query-mode):
11887 * view.el (view-mode):
11888 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11889 (global-whitespace-mode, global-whitespace-newline-mode):
11890 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11891
a3839de2
SM
11892 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11893 Fix autogenerated docstring.
06e21633 11894
5214e501
JL
118952011-10-19 Juri Linkov <juri@jurta.org>
11896
11897 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11898 by checking environment variables "DESKTOP_SESSION" and
11899 "XDG_CURRENT_DESKTOP". (Bug#9779)
11900
195f8db9
JL
119012011-10-19 Juri Linkov <juri@jurta.org>
11902
11903 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11904 (browse-url-chromium-program, browse-url-chromium-arguments):
11905 New defcustoms.
11906 (browse-url-default-browser): Check for `browse-url-chromium' and
11907 call `browse-url-chromium-program'.
11908 (browse-url-chromium): New command. (Bug#9779)
11909
343a34ff
JB
119102011-10-18 Juanma Barranquero <lekktu@gmail.com>
11911
11912 * facemenu.el (list-colors-duplicates): On Windows, detect more
11913 duplicates by assuming that only colors matching "^System" are
11914 special "system colors". (Bug#9722)
11915
6978a151
SM
119162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11919 to distinguish the author from the committer.
11920
6a80b297
MA
119212011-10-18 Michael Albinus <michael.albinus@gmx.de>
11922
11923 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11924
b31a5677
JK
119252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11926
11927 * international/mule.el (sgml-html-meta-auto-coding-function):
11928 Add support for detecting encoding in HTML5 specified only as
11929 <meta charset="UTF-8">. Implementation just makes http-equiv and
11930 content-type parts from HTML4 encoding string optional. (Bug#9716)
11931
80c6d77f
GM
119322011-10-18 Glenn Morris <rgm@gnu.org>
11933
11934 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11935
08b0fee8
CY
119362011-10-18 Chong Yidong <cyd@gnu.org>
11937
11938 * faces.el (cursor): Doc fix.
11939
67e729a5
CY
119402011-10-17 Chong Yidong <cyd@gnu.org>
11941
11942 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11943
343a34ff 119442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11945
11946 * dirtrack.el (dirtrack): Support shell buffers with path
11947 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11948
0bc06380
TZ
119492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11950
11951 * json.el: Bump version to 1.3 and note change in History.
11952 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11953
8b79f3e0
SM
119542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11955
5a7c536b
SM
11956 * comint.el (comint-insert-input, comint-send-input)
11957 (comint-get-old-input-default, comint-backward-matching-input)
11958 (comint-next-prompt): Use nil instead of `input' for field property of
11959 past user input (bug#114).
11960
96a8a0df
SM
11961 * minibuffer.el (completion--replace): Inherit surrounding properties
11962 (bug#114).
11963 (minibuffer-complete-and-exit): Use it.
11964
8b79f3e0
SM
11965 * comint.el (comint--table-subvert): Quote the all-completions output
11966 (bug#9160).
11967
b8f7ff0d
MR
119682011-10-17 Martin Rudalics <rudalics@gmx.at>
11969
8b79f3e0 11970 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11971
b8f7ff0d 11972 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11973 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11974 entries and separate them from frame entries.
11975
c235b555
GM
119762011-10-15 Glenn Morris <rgm@gnu.org>
11977
11978 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11979 Doc fixes.
11980
6bbfa6e1
CY
119812011-10-15 Chong Yidong <cyd@stupidchicken.com>
11982
8b79f3e0
SM
11983 * net/network-stream.el (network-stream-open-starttls):
11984 Improve detection of failure due to lack of TLS support.
ec5c990d 11985
6bbfa6e1
CY
11986 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11987 putting the input text in front and in bold.
11988
98488977
SM
119892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11990
3d1337be
SM
11991 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11992
ee0b45e4
SM
11993 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11994 empty buffer.
11995
98488977
SM
11996 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11997 unread-command-events rather than pushing yet-another event.
11998
186f4720
EZ
119992011-10-14 Eli Zaretskii <eliz@gnu.org>
12000
12001 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12002 the explanation of the possible choices. Make the options passed
12003 to completing-read shorter.
12004
8b7a997c
AM
120052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12006
12007 * textmodes/flyspell.el (flyspell-large-region): Make sure
12008 extended character mode is used if defined (Bug#1339).
12009
12587bbb
EZ
120102011-10-13 Eli Zaretskii <eliz@gnu.org>
12011
12012 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12013 character info for LRE, LRO, RLE, and RLO characters by appending
12014 an invisible PDF.
12587bbb 12015
bad41229
SM
120162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12019 even in case of error; add debug spec; simplify data flow.
12020 (with-timeout-handler): Remove.
12021
28dbc92f
MA
120222011-10-12 Michael Albinus <michael.albinus@gmx.de>
12023
12024 Fix Bug#6019, Bug#9315.
12025
12026 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12027 complete `buffer-file-name', the local file name part could look
12028 remotely (for example on VMS).
12029
12030 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12031 `tramp-run-real-handler'.
12032 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12033 already quoted by '"'.
12034
12035 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12036 Let `file-name-handler-alist' be nil, the local file name part
12037 could look remotely (for example on VMS).
12038
e1b0b23a
SM
120392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12042 from here...
12043 (flyspell-post-command-hook): ...to here.
12044
a120bde9
SM
120452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12048 if not needed.
12049 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12050 using completion. Protect against "slow" callers.
12051 Remove the "message hack".
12052
7ce7717b
JL
120532011-10-11 Juri Linkov <juri@jurta.org>
12054
12055 * isearch.el (isearch-lazy-highlight-word): New variable.
12056 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12057 Use it. (Bug#9727)
12058
c02ee9d6
GM
120592011-10-11 Glenn Morris <rgm@gnu.org>
12060
12061 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12062 like f90-previous-statement does.
12063
93e616fd 120642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12065
1f190e73 12066 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12067 only in interactive use, to avoid error.
12068
af7b6078
SM
120692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * minibuffer.el (completion-file-name-table): Fix last change,
12072 i.e. ignore normal errors but not the other ones.
12073
0563dae9
MR
120742011-10-10 Martin Rudalics <rudalics@gmx.at>
12075
12076 * window.el (special-display-buffer-names)
12077 (special-display-regexps): Remove some remnants of earlier
12078 changes from doc-strings.
366ca7f3
MR
12079 (quit-windows-on): New function.
12080
12081 * vc/vc.el (vc-revert, vc-rollback):
12082 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12083 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12084 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12085
49677495
MR
120862011-10-09 Martin Rudalics <rudalics@gmx.at>
12087
12088 * window.el (frame-auto-hide-function): Add version tag.
12089 (Bug#9699)
12090
56f2d1e1
MA
120912011-10-09 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12094 condition.
12095
112a6592
LL
120962011-10-09 Leo Liu <sdl.web@gmail.com>
12097
12098 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12099 (Bug#9701)
12100
0812589b
GM
121012011-10-08 Glenn Morris <rgm@gnu.org>
12102
12103 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12104 before the first code statement zero indent. (Bug#9690)
12105
b2b0776e
CY
121062011-10-08 Chong Yidong <cyd@stupidchicken.com>
12107
12108 * simple.el (count-words-region): Always count in the region.
12109 Report the number of lines and characters too.
12110 (count-words): New command, which counts in the buffer if the
12111 region is inactive, as count-words-region used to.
12112 (count-words--message): New function. Handle plurals.
12113 (count-lines-region): Make it an alias for count-words-region.
12114
12115 * bindings.el (esc-map): Replace count-lines-region with
12116 count-words-region.
12117
c557cd6b
MR
121182011-10-08 Martin Rudalics <rudalics@gmx.at>
12119
12120 * window.el (window--delete): Delete dedicated frame
12121 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12122 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12123
61a57ef4 121242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12125
3a7d293b 12126 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12127
c3833279
CY
121282011-10-07 Chong Yidong <cyd@stupidchicken.com>
12129
12130 * bindings.el ([M-left],[M-right]): Bind to left-word and
12131 right-word respectively.
12132
21ce8245
GM
121332011-10-07 Glenn Morris <rgm@gnu.org>
12134
12135 * cus-start.el (debug-on-quit): Fix custom type.
12136
6d823bb2
LMI
121372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12138
0181e193
LMI
12139 * subr.el (define-key-after): Clarify that the function is not
12140 useful for non-menu keymaps.
12141
6d823bb2
LMI
12142 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12143
8e3459ce 121442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12145
21ce8245 12146 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12147 in current minibuffer (Fix bug with recursive minibuffers).
12148
a1c2d21e
CY
121492011-10-06 Chong Yidong <cyd@stupidchicken.com>
12150
12151 * progmodes/gdb-mi.el (gdb): Doc fix.
12152
5a4cf282
MR
121532011-10-05 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (frame-auto-hide-function): New option replacing
12156 frame-auto-delete. Suggested by Stefan Monnier.
12157 (window--delete): Call frame-auto-hide-function instead of
12158 investigating frame-auto-delete.
c96111ea
MR
12159 (window-point-1, set-window-point-1): New functions.
12160 (window-in-direction, record-window-buffer, window-state-get-1)
12161 (display-buffer-record-window): Use window-point-1 instead of
12162 window-point.
12163 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12164
9854542e
SM
121652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12168
8943cfb0
GM
121692011-10-05 Glenn Morris <rgm@gnu.org>
12170
12171 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12172 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12173
647ab967
LL
121742011-10-05 Leo Liu <sdl.web@gmail.com>
12175
12176 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12177 works with buffer object.
12178
3ddfbced
SM
121792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * mpc.el (mpc-tool-bar-map): Add labels.
12182
bdfa5dd2
GM
121832011-10-04 Glenn Morris <rgm@gnu.org>
12184
12185 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12186
0e2070b5
MR
121872011-10-04 Martin Rudalics <rudalics@gmx.at>
12188
12189 * window.el (window--delete): New function.
12190 (frame-auto-delete): Resuscitate option.
12191 (bury-buffer, replace-buffer-in-windows)
12192 (quit-window): Rewrite using window--delete.
12193 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12194 Pass display-buffer-mark-dedicated to window--display-buffer-2
12195 (Bug#9639).
12196
3dc61a09
SM
121972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12198
915a9b64
SM
12199 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12200 returns a list (bug#9554). Add remote file name completion.
12201 * comint.el (comint--table-subvert): Curry and get quote&unquote
12202 functions as arguments.
12203 (comint--complete-file-name-data): Adjust call accordingly.
12204 * pcomplete.el (pcomplete--table-subvert): Remove.
12205 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12206
3dc61a09
SM
12207 * minibuffer.el (completion-table-case-fold): Use currying.
12208 (completion--styles-type, completion--cycling-threshold-type):
12209 New constants.
12210 (completion-styles, completion-category-overrides)
12211 (completion-cycle-threshold): Use them.
12212 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12213 completion-table-case-fold.
12214
8ea0a993
SB
122152011-10-03 Stephen Berman <stephen.berman@gmx.net>
12216
12217 * minibuffer.el (completion-category-overrides): Fix type of styles
12218 and add more user friendly tags (bug#9660).
12219
8c24b7f6
SM
122202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12223 (mule-input-method-string): New widget.
12224 (default-input-method, language-info-custom-alist): Use it.
12225
428fe61a
SM
122262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12227
32c1fffd
SM
12228 * pcomplete.el: Require comint.
12229 (pcomplete--common-suffix): Remove.
12230 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12231 (pcomplete--table-subvert): Sync with comint--table-subvert.
12232 (pcomplete--entries): Use comint-completion-file-name-table.
12233 * comint.el (comint-unquote-filename): Simplify.
12234 (comint-completion-file-name-table): New function (bug#9616).
12235 (comint--complete-file-name-data): Use it.
12236
428fe61a
SM
12237 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12238 (pcmpl-gnu-tar-buffer): Remove.
12239 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12240 around. Make sure pcomplete-suffix-list is only changed temporarily.
12241 Don't look inside the tar's file if it's too large.
428fe61a 12242
04c52e2f
CY
122432011-10-01 Chong Yidong <cyd@stupidchicken.com>
12244
ce3cefcc
CY
12245 * cus-edit.el (custom-mode-map):
12246 * epa.el (epa-key-list-mode-map):
12247 * man.el (Man-mode-map):
12248 * startup.el (splash-screen-keymap):
12249 * simple.el (special-mode-map): Use scroll-up-command and
12250 scroll-down-command.
12251
12252 * progmodes/idlw-help.el (idlwave-help-mode-map):
12253 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12254 * net/newst-plainview.el (newsticker-mode-map):
12255 * emulation/ws-mode.el (wordstar-mode-map):
12256 * emulation/vi.el (vi-com-map):
12257 * calc/calc-graph.el (calc-graph-show-dumb):
12258 * term/sun.el (terminal-init-sun):
12259 * term/ns-win.el (global-map):
12260 * progmodes/grep.el (grep-mode-map):
12261 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12262 * mail/rmail.el (rmail-mode-map):
12263 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12264
04c52e2f
CY
12265 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12266 custom-safe-themes as special.
12267
79adf8c8
JD
122682011-10-01 Julien Danjou <julien@danjou.info>
12269
12270 * notifications.el (notifications-notify): Fix docstring.
12271
63bd50d3
PS
122722011-10-01 Per Starbäck <per@starback.se>
12273
12274 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12275
199e4c7e
MR
122762011-09-30 Martin Rudalics <rudalics@gmx.at>
12277
12278 * startup.el (command-line-1): Fix last fix by inserting
12279 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12280 (Bug#9605) and (Bug#9636)
199e4c7e 12281
fe5f08dd
EZ
122822011-09-29 Eli Zaretskii <eliz@gnu.org>
12283
12284 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12285 window is hscrolled, move by logical lines. (Bug#9607)
12286 (line-move-visual): Update the doc string to the above effect.
12287
b5516bbd
MR
122882011-09-29 Martin Rudalics <rudalics@gmx.at>
12289
ccee00c0
MR
12290 * window.el (display-buffer-record-window): When WINDOW is the
12291 selected window use `point' instead of `window-point'. (Bug#9626)
12292
b5516bbd
MR
12293 * startup.el (command-line-1): Use insert-before-markers when
12294 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12295
b5516bbd
MR
12296 * help.el (help-window): Remove variable.
12297
52aa0014
GM
122982011-09-29 Glenn Morris <rgm@gnu.org>
12299
12300 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12301
df9a7357
JB
123022011-09-29 Juanma Barranquero <lekktu@gmail.com>
12303
12304 * descr-text.el (describe-char-categories): Accept category
12305 descriptions more than one line long.
12306
a8406c20
SM
123072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12308
88d9610c
SM
12309 * simple.el (delete-trailing-whitespace): Fix last change.
12310
a5daf810
SM
12311 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12312 Don't confuse "y => 3" as the beginning of a `y' operation.
12313
a8406c20
SM
12314 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12315 object has more than 4 slots (bug#9613).
12316
a239d4e9
JB
123172011-09-28 Juanma Barranquero <lekktu@gmail.com>
12318
12319 * subr.el (with-output-to-temp-buffer):
12320 * net/quickurl.el (quickurl, quickurl-browse-url):
12321 Fix typos in docstrings.
12322
693fbdb6
EZ
123232011-09-27 Eli Zaretskii <eliz@gnu.org>
12324
12325 * minibuffer.el (completion-styles)
12326 (completion-category-overrides): Cross reference each other in doc
12327 strings.
12328
8b457e28
GM
123292011-09-27 Glenn Morris <rgm@gnu.org>
12330
12331 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12332 to split-string. (Bug#9606)
12333
85a16208
LMI
123342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12337 (bug#9615).
12338
502f9ebd
CY
123392011-09-27 Chong Yidong <cyd@stupidchicken.com>
12340
12341 * emacs-lisp/package.el (list-packages): Fix echo area message.
12342
7690bdea
LL
123432011-09-27 Leo Liu <sdl.web@gmail.com>
12344
12345 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12346
e2ee6f30
MA
123472011-09-25 Michael Albinus <michael.albinus@gmx.de>
12348
12349 * net/dbus.el (dbus-unregister-object): Don't release services for
12350 registered signals. (Bug#9581)
12351
f3f98342
TZ
123522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12353
12354 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12355 function that picks between cfengine 2 and 3 support
12356 automatically. Update docs accordingly.
12357
dd7aa8dd
KH
123582011-09-22 Kenichi Handa <handa@m17n.org>
12359
12360 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12361 ZERO.
12362 (indian-itrans-v5-table-for-tamil): New variable.
12363 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12364
3f2b07f8
KM
123652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12366
12367 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12368 that's true if the current command involved collapsing of text.
12369 It's reset to false at the beginning of the next command.
12370 (allout-post-command-business): Move the cursor to the beginning
12371 of entry if the cursor is hidden and collapsing activity just
12372 happened.
12373
371d6a61
CY
123742011-09-24 Chong Yidong <cyd@stupidchicken.com>
12375
12376 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12377 tracking (Bug#9541).
12378
2ac2721a
UJ
123792011-09-24 Ulf Jasper <ulf.jasper@web.de>
12380
12381 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12382 (newsticker-show-news): Automatically load html rendering package
12383 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12384 because w3m-fill-column is let-bound" and the error "Symbol's value
12385 as variable is void: w3m-fill-column".
2ac2721a 12386
fac7ae53
MA
123872011-09-24 Michael Albinus <michael.albinus@gmx.de>
12388
12389 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12390 Release services only if they are defined. (Bug#9581)
12391
e08b633b
RS
123922011-09-23 Richard Stallman <rms@gnu.org>
12393
e488d29c
RS
12394 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12395 distinguish start of paragraph from start of its text.
12396
19c38752
RS
12397 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12398
e08b633b
RS
12399 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12400 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12401 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12402
0a39f27e
AS
124032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12404
12405 * international/mule-diag.el (mule-diag): Insert a newline after
12406 each fontset description.
12407
db4e950d
SM
124082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * simple.el (delete-trailing-whitespace):
12411 Document last change; simplify.
12412
eca3f3ea
PW
124132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12414
d68e189a
PW
12415 * simple.el (delete-trailing-whitespace): Also delete
12416 extra newlines at the end of the buffer.
12417
eca3f3ea
PW
12418 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12419 (picture-newline): Use forward-line so as to ignore fields.
12420
01c157cc
SM
124212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12422
12423 * subr.el (with-wrapper-hook): Fix edebug spec.
12424
022de23e
LMI
124252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12426
12427 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12428 (bug#4538).
12429
91683089
MA
124302011-09-23 Michael Albinus <michael.albinus@gmx.de>
12431
eca3f3ea
PW
12432 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12433 Fix nasty bug using wrong cached values.
91683089 12434
5bdd6fa4
AM
124352011-09-23 Alan Mackenzie <acm@muc.de>
12436
12437 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12438
97adfb97
CY
124392011-09-23 Chong Yidong <cyd@stupidchicken.com>
12440
12441 * window.el (pop-to-buffer): Ensure right window is selected if we
12442 chose another frame.
12443
d4ef2b50
EZ
124442011-09-22 Eli Zaretskii <eliz@gnu.org>
12445
12446 * simple.el (what-cursor-position): Use get-char-property-change
12447 and next-single-char-property-change, to be able to show display
12448 properties that come from overlays as well as text properties.
12449
72258fe5
CY
124502011-09-22 Chong Yidong <cyd@stupidchicken.com>
12451
12452 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12453
12454 * cmuscheme.el (run-scheme, switch-to-scheme):
12455 * cus-edit.el (customize-group, custom-buffer-create)
12456 (customize-browse):
12457 * info.el (info):
12458 * shell.el (shell):
12459 * mail/sendmail.el (mail):
12460 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12461
8f098516
RS
124622011-09-22 Richard Stallman <rms@gnu.org>
12463
12464 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12465 move back only to line beg, don't move back over blank lines.
12466
e74f1bb6
MA
124672011-09-22 Michael Albinus <michael.albinus@gmx.de>
12468
12469 * files.el (copy-directory): Set directory attributes only in case
12470 they could be retrieved from the source directory. (Bug#9565)
12471
bfeef8b6
DK
124722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12473
12474 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12475 (hs-find-block-beginning, hs-hide-level-recursive):
12476 Ignore strings as well as comments. (Bug#9502)
12477
7e423bb8
AS
124782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12479
12480 * progmodes/sql.el (sql-comint-postgres):
12481 Convert port number to a string. (Bug#9566)
12482
b4d72fcf
MR
124832011-09-22 Martin Rudalics <rudalics@gmx.at>
12484
12485 * window.el (quit-window): Undedicate window when switching to
12486 previous buffer. Reported by Thierry Volpiatto
12487 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12488 (special-display-popup-frame): When popping up a new frame reset
12489 its previous buffers to nil. Simplify code.
b4d72fcf 12490
a7b88dc6
MA
124912011-09-21 Michael Albinus <michael.albinus@gmx.de>
12492
12493 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12494 and process filter, as done also in `shell-command'.
12495
cf4eacfd
MR
124962011-09-21 Martin Rudalics <rudalics@gmx.at>
12497
eca3f3ea 12498 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12499 Call set-window-start with NOFORCE argument t.
12500 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12501 (quit-window): Reword doc-string. Handle new format of
12502 quit-restore parameter. Don't delete window if it has a
12503 previous buffer we can show instead of the present one.
12504 (display-buffer-record-window): Rewrite using a new format for
12505 the quit-restore window parameter
12506 (special-display-popup-frame, display-buffer-same-window)
12507 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12508 (display-buffer-pop-up-window, display-buffer-use-some-window):
12509 Adapt symbol passed to display-buffer-record-window.
12510 * help.el (help-window-setup): Handle new format of quit-restore
12511 parameter.
12512
8d28cb95
SM
125132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12514
94ab793f
SM
12515 * faces.el (face-list): Fix docstring (bug#9564).
12516
8d28cb95
SM
12517 * window.el (display-buffer--action-function-custom-type):
12518 Don't include internal functions in the Custom interface.
12519
3820edeb
JL
125202011-09-20 Juri Linkov <juri@jurta.org>
12521
12522 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12523 (Info-forward-node, Info-backward-node, Info-next-preorder)
12524 (Info-last-preorder): Use it. (Bug#9528)
12525
5147931d
JL
125262011-09-20 Juri Linkov <juri@jurta.org>
12527
12528 * info.el (Info-last-preorder): Visit last menu item only when
12529 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12530
cf499a1a
JD
125312011-09-20 Julien Danjou <julien@danjou.info>
12532
12533 * password-cache.el (password-cache-remove): Remove entries even if the
12534 value is nil, so that password with a nil value (negative caching) is
12535 possible to invalidate.
12536
f84e2fe2
LM
125372011-09-20 Lawrence Mitchell <wence@gmx.li>
12538
12539 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12540 all whitespace around breakpoint. (Bug#9553)
12541 (f90-find-breakpoint): Only break at whitespace inside a comment.
12542
78054a46
SM
125432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * minibuffer.el (completion-file-name-table): Keep track of errors.
12546 (completion-table-with-predicate): Handle the case where pred1 is nil.
12547 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12548
345083b2
SM
125492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12550
e24e27be
SM
12551 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12552 (debugger-return-value): Signal an error if the debugging context does
12553 not await any return value.
12554
345083b2
SM
12555 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12556 * image-mode.el (image-toggle-display-text)
12557 (image-toggle-display-image): Stay away from evil `intangible'.
12558
08d355e3
LL
125592011-09-19 Leo Liu <sdl.web@gmail.com>
12560
12561 * replace.el (occur-revert-arguments): Make it permanent-local.
12562 (occur-mode): Don't call font-lock-defontify.
12563
f01da43f
CY
125642011-09-19 Chong Yidong <cyd@stupidchicken.com>
12565
12566 * net/ldap.el (ldap-search-internal): Don't push empty search
12567 result (Bug#9508).
12568
b6072fa6
SM
125692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12570
12571 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12572
443d6696
MA
125732011-09-19 Michael Albinus <michael.albinus@gmx.de>
12574
12575 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12576 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12577
7cc6e154
JL
125782011-09-18 Juri Linkov <juri@jurta.org>
12579
12580 * buff-menu.el (Buffer-menu-mode-map):
12581 * dired.el (dired-mode-map):
12582 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12583 (lisp-interaction-mode-map):
12584 * emacs-lisp/package.el (package-menu-mode-map):
12585 * epa.el (epa-key-list-mode-map):
12586 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12587 (menu-bar-options-menu):
12588 * outline.el (outline-mode-menu-bar-map):
12589 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12590 * vc/vc-dir.el (vc-dir-menu-map):
12591 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12592 Capitalize non-function content words in menu item strings.
12593
12594 * dired.el (dired-mode-map): Add menu item for
12595 `image-dired-dired-toggle-marked-thumbs'.
12596
80302a81
JL
125972011-09-18 Juri Linkov <juri@jurta.org>
12598
12599 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12600 to `isearch-case-fold-search' and restore its original value
12601 after the `isearch-mode' call.
12602
46c5cf66
JL
126032011-09-18 Juri Linkov <juri@jurta.org>
12604
12605 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12606 because `zgrep' returns 1 for successful matches (bug#9226).
12607
d18b513b
JL
126082011-09-18 Juri Linkov <juri@jurta.org>
12609
12610 * info.el (Info-extract-menu-node-name): Check the second match
12611 for empty string (second test-case of bug#9528).
12612 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12613 intermediate nodes to the history (first test-case of bug#9528).
12614
72753f87
JL
126152011-09-18 Juri Linkov <juri@jurta.org>
12616
12617 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12618 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12619
c9384295
JL
126202011-09-18 Juri Linkov <juri@jurta.org>
12621
1154d12e
JB
12622 * info.el (Info-file-supports-index-cookies):
12623 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12624 outputs one more line for long file names (bug#4142).
c9384295 12625
d473dce8
CY
126262011-09-18 Chong Yidong <cyd@stupidchicken.com>
12627
12628 * newcomment.el (comment-normalize-vars): If prompting for
12629 comment-start, set comment-start-skip too (Bug#8424).
12630
2176854d
JB
126312011-09-18 Johan Bockgård <bojohan@gnu.org>
12632
12633 * icomplete.el: Fix previous fix of Bug#5849.
12634 (icomplete-mode): Don't set completion-show-inline-help.
12635 (icomplete-minibuffer-setup): Set completion-show-inline-help
12636 locally during icompletion.
12637
3aace4e4
CY
126382011-09-18 Chong Yidong <cyd@stupidchicken.com>
12639
c940224f
CY
12640 * woman.el (woman2-process-escapes): Don't delete unrecognized
12641 escapes (Bug#7843).
12642
3aace4e4
CY
12643 * files.el (inhibit-first-line-modes-regexps): Add image files.
12644 (hack-local-variables-prop-line): Return nil for malformed
12645 prop-lines (Bug#9044).
12646
710dec63
MA
126472011-09-18 Michael Albinus <michael.albinus@gmx.de>
12648
12649 * net/tramp.el (top): Don't require 'shell.
12650 (tramp-methods): Fix docstring.
12651 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12652 Return complete remote file name. Handle "smb" case.
12653 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12654 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12655
12656 * net/tramp-compat.el (top): Require 'shell.
12657
12658 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12659 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12660 `tramp-current-host'.
12661 (tramp-get-remote-tmpdir): Remove.
12662
12663 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12664 `tramp-tmpdir' entries.
12665 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12666 (tramp-smb-handle-file-attributes): Ignore errors.
12667 (tramp-smb-wait-for-output): Check also for process end.
12668
5d5ac8ec
LMI
126692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
12671 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12672 when sending QUIT (bug#9312).
12673
8c0f49f0
CY
126742011-09-17 Chong Yidong <cyd@stupidchicken.com>
12675
12676 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12677 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12678 occur-mode-display-occurrence.
12679 (occur-edit-mode): Add usage message.
12680 (occur-cease-edit): New command.
12681 (occur-after-change-function): Use text properties to find the
12682 position of the prefix text.
12683 (occur-engine): Set stickiness of prefix text properties.
12684
8f1383f7
GM
126852011-09-17 Glenn Morris <rgm@gnu.org>
12686
12687 * progmodes/etags.el (complete-tag):
12688 Fix call to completion-in-region. (Bug#9526)
12689
744ba0e3
JL
126902011-09-17 Juri Linkov <juri@jurta.org>
12691
12692 * textmodes/ispell.el (ispell-word): Add to the error message
12693 the word, ispell program name and current dictionary (bug#9121).
12694 (ispell-tex-arg-end): Capitalize "error" in the error message.
12695
d9bbf400
AS
126962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12697
12698 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12699 check. (Bug#4251)
12700
8da11505
JL
127012011-09-17 Juri Linkov <juri@jurta.org>
12702
12703 * window.el (window-safe-min-height, window-safe-min-width):
12704 Fix typos (followup to bug#9522).
12705
a91adc7e
SJ
127062011-09-17 Sven Joachim <svenjoac@gmx.de>
12707
12708 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12709
064f328a
EZ
127102011-09-16 Eli Zaretskii <eliz@gnu.org>
12711
12712 * simple.el (line-move): If goal-column is set, move by logical
12713 lines, not by display lines. (Bug#971)
12714 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12715 to reflect the above change.
12716
e69df516
SM
127172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * image.el (imagemagick-register-types): Use regexp-opt.
12720
cbb0f9ab
CY
127212011-09-15 Chong Yidong <cyd@stupidchicken.com>
12722
12723 * window.el (display-buffer-base-action): Rename from
12724 display-buffer-default-action. Make default value empty.
12725 (display-buffer-overriding-action): Convert to defvar.
12726 (display-buffer-fallback-action): New var.
12727
25322144
CY
127282011-09-15 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12731 declaration.
12732 (package--add-to-archive-contents): If there is a duplicate entry
12733 with an older version, remove it.
12734 (package-menu-mark-delete, package-menu-mark-install)
12735 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12736 (package-menu-mark-obsolete-for-deletion):
12737 Use package-menu-get-status instead of a regexp search.
25322144
CY
12738 (package-menu-get-status): Use tabulated-list-entry.
12739 (package-menu-mark-upgrades): New command.
d770725a 12740 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12741 (package-menu-execute): Do installation before deletion.
12742 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12743 instead of checking major-mode.
12744 (package-menu--find-upgrades): New function.
12745
7520339c
LMI
127462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12747
12748 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12749 passwords in the log buffer.
65a046c4
LMI
12750 (smtpmail-process-filter): Update the process marker so that the
12751 "broken by peer" status message is inserted in the right place.
7520339c 12752
d3c30954
SM
127532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12754
3fe48822
SM
12755 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12756 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12757 bibtex-completion-at-point-function.
12758 (bibtex-completion-at-point-function): Use them.
12759
1b8b3954
SM
12760 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12761
d3c30954
SM
12762 * mpc.el (mpc-constraints-tag-lookup): New function.
12763 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12764 also to browser "album|playlist".
12765
72779976
JL
127662011-09-14 Juri Linkov <juri@jurta.org>
12767
12768 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12769 (isearch-edit-string): Use length of `isearch-string' when
12770 `isearch-fail-pos' returns nil.
12771 (isearch-message): Remove duplicate code and call
12772 `isearch-fail-pos' with arg `t'.
12773
a0bf2bcd
CY
127742011-09-14 Chong Yidong <cyd@stupidchicken.com>
12775
17bb0a2d
CY
12776 * replace.el (occur-mode-goto-occurrence): Don't force using other
12777 window (Bug#9499).
12778
a0bf2bcd
CY
12779 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12780
f678e0b6
MR
127812011-09-14 Martin Rudalics <rudalics@gmx.at>
12782
12783 * window.el (display-buffer-window): Remove.
12784 (display-buffer-record-window): Use help-setup window parameter
12785 instead of variable display-buffer-window.
12786 (display-buffer-function, special-display-buffer-names)
12787 (special-display-function): Mention help-setup parameter instead
12788 of display-buffer-window in doc-string.
d3c30954
SM
12789 * help.el (help-window-setup): New argument help-window.
12790 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12791 Reword some messages.
12792 (with-help-window): Pass window used for displaying the buffer
12793 to help-window-setup. Don't set display-buffer-window.
12794
8e39b2e8
GM
127952011-09-13 Glenn Morris <rgm@gnu.org>
12796
12797 * emacs-lisp/debug.el (debugger-make-xrefs):
12798 Preserve point. (Bug#9462)
12799
85e9c04b
CY
128002011-09-13 Chong Yidong <cyd@stupidchicken.com>
12801
12802 * window.el (window-deletable-p): Use next-frame.
12803
1b36ed6a
MR
128042011-09-13 Martin Rudalics <rudalics@gmx.at>
12805
12806 * window.el (window-auto-delete): Remove.
12807 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12808 dedication and previous buffers.
1b36ed6a
MR
12809 (switch-to-prev-buffer): Don't delete window.
12810 (delete-windows-on): Delete a window's frame if and only if the
12811 window is dedicated.
12812 (replace-buffer-in-windows): Delete buffer's window or frame if
12813 and only if window is dedicated.
12814 (quit-window): Handle quit-restore as before last change.
4d61f28d 12815 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12816
ef8ef9fb
CY
128172011-09-13 Chong Yidong <cyd@stupidchicken.com>
12818
12819 * window.el (window-deletable-p): Never delete the last frame on a
12820 given terminal.
12821
b2cba41e
GM
128222011-09-13 Glenn Morris <rgm@gnu.org>
12823
12824 * help.el (describe-key-briefly): Copy previous standard-output change.
12825
51553db6 128262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12827
12828 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12829
b7556719
GM
128302011-09-13 Glenn Morris <rgm@gnu.org>
12831
12832 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12833 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12834
64b51947
CY
128352011-09-12 Chong Yidong <cyd@stupidchicken.com>
12836
12837 * dired-aux.el (dired-mark-read-string): Don't return default
12838 value on empty input (Bug#9361).
12839 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12840 Omit initial minibuffer contents.
12841 (dired-do-chmod): Signal an error on empty input.
12842 (dired-mark-read-string): Don't return default on empty input.
12843
12844 * files.el (file-modes-symbolic-to-number): Doc fix.
12845
393a301e
SM
128462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * international/mule-cmds.el (ucs-completions): Remove.
12849 (read-char-by-name): Use complete-with-action instead; add metadata.
12850
fa5660f9
CY
128512011-09-11 Chong Yidong <cyd@stupidchicken.com>
12852
12853 * window.el (display-buffer--action-function-custom-type)
12854 (display-buffer--action-custom-type): New vars.
12855 (display-buffer-alist, display-buffer-default-action)
12856 (display-buffer-overriding-action): Add defcustom types.
12857
4a592f66
CY
12858 * frame.el (delete-other-frames): Doc fix (Bug#276).
12859
73d56dbd
LMI
128602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12861
12862 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12863
37ac18a3
CY
128642011-09-11 Chong Yidong <cyd@stupidchicken.com>
12865
12866 Change modes that used same-window-* vars to use switch-to-buffer.
12867
12868 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12869 Use switch-to-buffer.
12870
12871 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12872 (customize-browse, custom-buffer-create-other-window):
12873 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12874
12875 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12876 (Info-prev, Info-up, Info-speedbar-goto-node)
12877 (info-display-manual): Use switch-to-buffer.
12878 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12879
12880 * mail/sendmail.el (mail): Use switch-to-buffer.
12881 (mail-recover): Use switch-to-buffer-other-window.
12882
12883 * cmuscheme.el (run-scheme, switch-to-scheme):
12884 * ielm.el (ielm):
12885 * shell.el (shell):
12886 * net/rlogin.el (rlogin):
12887 * net/telnet.el (telnet, rsh):
12888 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12889
10195bd6
AS
128902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12891
12892 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12893
b322f63a
LMI
128942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12895
39d7fed6
LMI
12896 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12897 so don't mention it (bug#9301).
ba5a81f1 12898 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12899
ee0e9f11
LMI
12900 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12901 match `x', `w32' and `ns', like the manual says (bug#9029).
12902
0b1c89c1 12903 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12904 (process-kill-buffer-query-function): Mention the buffer name in
12905 the query.
0b1c89c1 12906
77549ea8
LMI
12907 * image-mode.el (image-next-line): The line parameter is mandatory
12908 (bug#9258).
12909
803ef892
LMI
12910 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12911 which can be useful (bug#9301).
12912
12980837
LMI
12913 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12914
91054f8f
LMI
12915 * subr.el (match-string): Mention that the current buffer should
12916 be the same as the search was done in (bug#9282).
12917
b322f63a
LMI
12918 * facemenu.el: Disable the remove-* commands if the mark isn't
12919 active (bug#9162).
12920
3199b96f
CY
129212011-09-10 Chong Yidong <cyd@stupidchicken.com>
12922
12923 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12924 of display-buffer.
12925 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12926
12927 * replace.el (occur-mode-goto-occurrence)
12928 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12929 and display-buffer.
12930
12931 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12932 display-buffer.
12933
12934 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12935 special-display and same-window variables.
12936 (mail-other-window): Use switch-to-buffer-other-window.
12937 (mail-other-frame): USe switch-to-buffer-other-frame.
12938
393a301e
SM
12939 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12940 Use display-buffer-other-frame.
3199b96f
CY
12941 (gdb-display-gdb-buffer): Use pop-to-buffer.
12942
12943 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12944
12945 * progmodes/python.el: Don't set same-window-buffer-names.
12946
12947 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12948
12949 * window.el (display-buffer-alist): Add *Python*.
12950
8319e0bf
CY
129512011-09-10 Chong Yidong <cyd@stupidchicken.com>
12952
12953 * window.el (display-buffer-alist): Add entry for buffers
12954 previously handled same-window-*.
12955 (display-buffer-alist, display-buffer-default-action)
12956 (display-buffer-overriding-action): Mark as risky.
12957 (display-buffer-alist): Document action function changes.
12958 (display-buffer--same-window-action)
12959 (display-buffer--other-frame-action): New variables.
12960 (switch-to-buffer, display-buffer-other-frame): Use them.
12961 (display-buffer): Rename reuse-frame entry to reusable-frames.
12962 (display-buffer-reuse-selected-window): Function deleted.
12963 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12964 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12965 (display-buffer-special): New function.
12966 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12967 display-buffer-reuse-or-pop-window. Split off special-display
12968 part into display-buffer-special.
12969 (display-buffer-use-some-window): Don't perform any special
12970 pop-up-frames handling.
12971 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12972 (display-buffer--maybe-same-window): Rename from
0d3ff375 12973 display-buffer-maybe-same-window.
8319e0bf 12974
919a69aa
CY
12975 * info.el: Don't set same-window-regexps.
12976 (info-setup): New function.
12977 (info-other-window, info): Call it.
12978
12979 * cus-edit.el: Don't set same-window-regexps.
12980 (customize-group): New argument.
12981 (customize-group-other-window): Use it.
12982 (customize-face, customize-face-other-window): Likewise.
12983 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12984
8319e0bf
CY
12985 * net/rlogin.el:
12986 * net/telnet.el:
12987 * progmodes/gud.el: Don't set same-window-regexps.
12988
12989 * cmuscheme.el:
12990 * ielm.el:
12991 * shell.el:
12992 * mail/sendmail.el:
12993 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12994
25173000
JL
129952011-09-10 Juri Linkov <juri@jurta.org>
12996
12997 * isearch.el (isearch-edit-string): Remove obsolete mention of
12998 `C-w' (`isearch-yank-word-or-char') from docstring.
12999 (isearch-query-replace): Fix typo in docstring (bug#9466).
13000
056e44ef
JL
130012011-09-10 Juri Linkov <juri@jurta.org>
13002
13003 * paren.el (show-paren-function): Don't show escaped parens.
13004 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13005
c3760c17
EZ
130062011-09-10 Eli Zaretskii <eliz@gnu.org>
13007
13008 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13009 (mm-default-file-encoding): Remove autoload forms, they are
13010 replaced with autoload cookies in mml.el and mm-encode.el.
13011 (mail-add-attachment): New command.
13012 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13013 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13014 the doc string.
13015 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13016
fece895e
RT
130172011-09-10 Reuben Thomas <rrt@sc3d.org>
13018
e69df516
SM
13019 * simple.el (count-words-region): Use buffer if there's no region
13020 (bug#9429).
fece895e 13021
5e68ce4a
JL
130222011-09-09 Juri Linkov <juri@jurta.org>
13023
13024 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13025 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13026 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13027
0a6b9622
AM
130282011-09-09 Alan Mackenzie <acm@muc.de>
13029
13030 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13031 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13032
14a29deb
EZ
130332011-09-09 Eli Zaretskii <eliz@gnu.org>
13034
13035 Fix for Savannah bug#9392.
13036 * simple.el (mail-encode-mml): New defvar.
13037
13038 * mail/rmail.el (mail-encode-mml): Add a defvar.
13039 (rmail-enable-mime-composing): Default to t.
13040 (rmail-forward): Use MIME method of forwarding only if both
13041 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13042 Set mail-encode-mml non-nil if the MIME method was used.
13043
13044 * mail/sendmail.el (mml-to-mime): Add autoload form.
13045 (mail-encode-mml): Add a defvar.
13046 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13047 to nil.
13048 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13049 message through mml-to-mime, and reset mail-encode-mml to nil.
13050
28c45130
GM
130512011-09-09 Glenn Morris <rgm@gnu.org>
13052
13053 * woman.el (woman-if-body): When processing an .el block,
13054 do not delete the next .el block as well. (Bug#9447)
69f4b618 13055 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13056
9b1c252e
MR
130572011-09-08 Martin Rudalics <rudalics@gmx.at>
13058
13059 * window.el (window-deletable-p): Make sure window is live before
13060 invoking window-prev-buffers.
13061
567457e3
LL
130622011-09-08 Leo Liu <sdl.web@gmail.com>
13063
13064 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13065
97f05794
JL
130662011-09-08 Juri Linkov <juri@jurta.org>
13067
13068 * progmodes/compile.el (compilation-environment): Make it
13069 a defcustom (bug#8340).
13070
8b0874b5
MR
130712011-09-08 Martin Rudalics <rudalics@gmx.at>
13072
13073 * window.el (frame-auto-delete): Rename to window-auto-delete.
13074 Make it control auto-deletion of windows and/or frames.
13075 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13076 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13077 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13078 Rewrite handling of case when window/frame can be deleted.
13079 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13080 argument t. (Bug#9456)
8b0874b5 13081
4feb6e73
CY
130822011-09-07 Chong Yidong <cyd@stupidchicken.com>
13083
13084 * help-mode.el (help-mode): Restore autoload.
13085
91ab9c13
JL
130862011-09-07 Juri Linkov <juri@jurta.org>
13087
13088 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13089 `compilation-environment'. Set buffer-local
13090 `compilation-environment' to `thisenv' later after (funcall mode).
13091 (Bug#8340)
13092
13093 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13094 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13095 instead of replacing its value. (Bug#8340)
13096
0527e251
JL
130972011-09-07 Juri Linkov <juri@jurta.org>
13098
13099 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13100 based on text properties put by `grep-filter' instead of matching
13101 escape sequences.
13102 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13103 to the value of `grep-error-screen-columns' (bug#9438).
13104
249f792c
JL
131052011-09-07 Juri Linkov <juri@jurta.org>
13106
13107 * simple.el (next-error-highlight, next-error-highlight-no-select):
13108 Doc fix (bug#9432).
13109
ff7271b9
OT
131102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13111
13112 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13113 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13114
183fc730
LL
131152011-09-07 Leo Liu <sdl.web@gmail.com>
13116
13117 * net/rcirc.el (rcirc-mode): Conditionally initialize
13118 rcirc-input-ring.
13119
77694924
SM
131202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13121
13122 * emacs-lisp/find-func.el (find-function-C-source): Only set
13123 find-function-C-source-directory after checking that we found a source
13124 file there (bug#9440).
13125
d809b8eb
AM
131262011-09-06 Alan Mackenzie <acm@muc.de>
13127
13128 * isearch.el (isearch-other-meta-char): Wherever a key list is
13129 unread, "unread" the prefix arg, too. This fixes bug #8901.
13130
453de99f
OG
131312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13132
13133 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13134
90439906
JL
131352011-09-05 Juri Linkov <juri@jurta.org>
13136
13137 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13138
f62bd846
JL
131392011-09-05 Juri Linkov <juri@jurta.org>
13140
13141 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13142 keeping point where processing of grep matches begins, and
13143 continue to delete remaining escape sequences from the same point.
13144 (grep-filter): Make leading zero optional in "0?1;31m" because
13145 git-grep emits "\033[1;31m" escape sequences unlike expected
13146 "\033[01;31m" as GNU Grep does (bug#9408).
13147 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13148
045820ec
JL
131492011-09-05 Juri Linkov <juri@jurta.org>
13150
13151 * subr.el (y-or-n-p): Capitalize "yes".
13152
f5e29b9b
MA
131532011-09-04 Michael Albinus <michael.albinus@gmx.de>
13154
13155 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13156 `tramp-cache-unload-hook' where appropriate.
13157 (tramp-methods): Rename `tramp-remote-sh' to
13158 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13159 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13160
13161 * net/tramp-sh.el (top): Don't require 'shell.
13162 (tramp-methods): Add `tramp-remote-shell' and
13163 `tramp-remote-shell-args' entries.
13164 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13165 (tramp-sh-handle-shell-command): Remove.
13166 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13167 Use `tramp-remote-shell'.
13168
2784c434
CY
131692011-09-03 Chong Yidong <cyd@stupidchicken.com>
13170
393a301e 13171 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13172 (sendmail-query-once): Save directly to send-mail-function.
13173 Update message-send-mail-function too.
13174
13175 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13176
464cdf56
CS
131772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13178
13179 * progmodes/python.el (python-mode-map): Use correct function to
13180 start python interpreter from menu-bar (as reported by Geert
13181 Kloosterman).
13182 (inferior-python-mode-map): Fix typo.
393a301e 13183 (python-shell-map): Remove.
464cdf56 13184
d37e5c87
DD
131852011-09-03 Deniz Dogan <deniz@dogan.se>
13186
13187 * net/rcirc.el (rcirc-print): Simplify code for
13188 rcirc-scroll-show-maximum-output. There is no need to walk
13189 through all windows to find the right one.
13190
f3ada0ee
CS
131912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13192
13193 * help.el (help-return-method): Doc fix.
13194
1f3c99ca
MR
131952011-09-03 Martin Rudalics <rudalics@gmx.at>
13196
13197 * window.el (window-deletable-p): Don't return a non-nil value
13198 when there's a buffer that was shown in the window before.
13199 (Bug#9419)
393a301e
SM
13200 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13201 Set window's previous buffers to nil.
1f3c99ca 13202
a3cf097f
EZ
132032011-09-03 Eli Zaretskii <eliz@gnu.org>
13204
13205 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13206 newline before and after the tag line, so it doesn't interfere
13207 with determining the paragraph direction of bidirectional text.
13208
3d03de90
LL
132092011-09-03 Leo Liu <sdl.web@gmail.com>
13210
13211 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13212
c3313451
CY
132132011-09-02 Chong Yidong <cyd@stupidchicken.com>
13214
393a301e 13215 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13216 (pop-to-buffer): Change interactive spec. Pass second argument
13217 directly to display-buffer.
13218 (display-buffer): Fix interactive spec. Use functionp to
13219 distinguish between a function and a list of functions.
13220
13221 * abbrev.el (edit-abbrevs):
13222 * arc-mode.el (archive-extract):
13223 * autoinsert.el (auto-insert):
13224 * bookmark.el (bookmark-bmenu-list):
13225 * files.el (find-file):
13226 * view.el (view-buffer):
13227 * progmodes/compile.el (compilation-goto-locus):
13228 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13229
89894cd8
CY
132302011-09-02 Chong Yidong <cyd@stupidchicken.com>
13231
13232 * window.el (display-buffer-alist): Doc fix.
13233 (display-buffer): Add docstring. Don't treat
13234 display-buffer-default specially.
13235 (display-buffer-reuse-selected-window)
13236 (display-buffer-same-window, display-buffer-maybe-same-window)
13237 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13238 (display-buffer-pop-up-window)
13239 (display-buffer-reuse-or-pop-window)
13240 (display-buffer-use-some-window): New functions.
13241 (display-buffer-default-action): Use them.
393a301e 13242 (display-buffer-default): Delete.
89894cd8
CY
13243 (pop-to-buffer-1): Fix choice of actions.
13244
ae0bc9fb
SM
132452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * minibuffer.el (completion--insert-strings): Don't get confused by
13248 completion entries that end with an LF char.
13249
e9d90883
EZ
132502011-09-01 Eli Zaretskii <eliz@gnu.org>
13251
13252 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13253
437014c8
CY
132542011-09-01 Chong Yidong <cyd@stupidchicken.com>
13255
13256 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13257 (display-buffer-same-window, display-buffer-other-window):
13258 New functions.
437014c8
CY
13259 (pop-to-buffer-1): New function. Use the above.
13260 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13261 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13262
13263 * view.el (view-buffer-other-window, view-buffer-other-frame):
13264 Just use pop-to-buffer.
13265
a5e063d5
TV
132662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13267
13268 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13269
793d32bb
WH
132702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13271
13272 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13273
d65e4c15
RS
132742011-08-31 Richard Stallman <rms@gnu.org>
13275
13276 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13277 of the separation of rmail-view-buffer from rmail-buffer.
13278 If you say no to "replace original", the decrypt is in the
13279 view buffer. If you say yes, the decrypt goes into the
13280 rmail buffer also.
13281
f818cd2a
MR
132822011-08-31 Martin Rudalics <rudalics@gmx.at>
13283
13284 * window.el (display-buffer-window): Rewrite doc-string.
13285 (display-buffer-record-window): New function.
13286 (display-buffer-macro-specifiers)
13287 (display-buffer-even-window-sizes, display-buffer-set-height)
13288 (display-buffer-set-width, display-buffer-in-window)
13289 (display-buffer-reuse-window, display-buffer-split-specifiers)
13290 (display-buffer-side-specifiers, display-buffer-split-window-1)
13291 (display-buffer-split-window, display-buffer-split-atom-window)
13292 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13293 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13294 (display-buffer-other-window-means-other-frame)
13295 (display-buffer-normalize-special)
13296 (display-buffer-normalize-default)
13297 (display-buffer-normalize-argument)
13298 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13299 (display-buffer-normalize-specifiers, display-buffer-frame)
13300 (display-buffer-same-window, display-buffer-same-frame)
13301 (display-buffer-other-window)
13302 (display-buffer-same-frame-other-window)
13303 (display-buffer-other-frame, pop-to-buffer-same-window)
13304 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13305 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13306 (switch-to-buffer-same-frame)
13307 (switch-to-buffer-other-window-same-frame)
13308 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13309 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13310 (display-buffer-alist-set): Remove.
13311 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13312 (special-display-regexps, special-display-function):
13313 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13314 parameter.
13315 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13316 (special-display-frame-alist, special-display-popup-frame)
13317 (same-window-buffer-names, same-window-regexps, same-window-p)
13318 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13319 (split-window-preferred-function, split-height-threshold)
13320 (split-width-threshold, window-splittable-p)
13321 (split-window-sensibly, window--try-to-split-window)
13322 (window--frame-usable-p, even-window-heights)
13323 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13324 (window--display-buffer-2, display-buffer-other-frame):
13325 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13326 (display-buffer-default, display-buffer-assq-regexp): New functions.
13327 (display-buffer-alist): Rewrite doc-string.
13328 (display-buffer-default-action)
13329 (display-buffer-overriding-action): New variables.
13330 (display-buffer, switch-to-buffer): Rewrite.
13331 (pop-to-buffer): Restore Emacs 23 behavior but use
13332 window-normalize-buffer-to-display.
13333 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13334 Restore Emacs 23 behavior but use
13335 window-normalize-buffer-to-switch-to.
13336 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13337 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13338 Rewrite using Emacs 23 options.
f818cd2a 13339
5bc3b51d
MA
133402011-08-31 Michael Albinus <michael.albinus@gmx.de>
13341
13342 * net/tramp.el (tramp-root-regexp): Remove.
13343 (tramp-completion-file-name-regexp-unified)
13344 (tramp-completion-file-name-regexp-separate)
13345 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13346 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13347 (tramp-drop-volume-letter): Simplify definition.
13348 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13349
b1a4f8e1
SM
133502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13351
13352 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13353 (bug#9356).
13354
5664fa7b
RT
133552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13356
b1a4f8e1 13357 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13358
9a45d6c3
JL
133592011-08-29 Juri Linkov <juri@jurta.org>
13360
13361 * isearch.el (isearch-done): Don't display message "Mark saved"
13362 when arg `edit' is non-nil to prevent its flicker in the echo area.
13363
fb87e0fb
CY
133642011-08-28 Chong Yidong <cyd@stupidchicken.com>
13365
13366 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13367 obsolete packages for deletion.
13368
09ac1c2a
CS
133692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13370
13371 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13372 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13373 view-mode from help-mode.
13374 (help-xref-override-view-map): Remove.
13375 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13376 view-mode is not used anymore.
13377
7a1ff57f
CY
133782011-08-28 Chong Yidong <cyd@stupidchicken.com>
13379
13380 * server.el (server-port): Doc fix.
13381
b9696605
CY
13382 * cus-theme.el (custom-theme-choose-mode): Inherit from
13383 special-mode (Bug#9124).
13384 (custom-theme-choose-mode-map): Add special-mode to parent.
13385
ef8cdf8c
AM
133862011-08-28 Alan Mackenzie <acm@muc.de>
13387
13388 * progmodes/cc-fonts.el
13389 (c-make-font-lock-BO-decl-search-function): New function.
13390 (c-basic-matchers-after - "Fontify the clauses after various
13391 keywords"): Extract the three keyword lists for the 3 erroneous
13392 constructs from the list of four, and use the new function above
13393 in place of an old one.
13394
27de4e20
DD
133952011-08-28 Deniz Dogan <deniz@dogan.se>
13396
13397 * net/rcirc.el (rcirc-insert-prev-input)
13398 (rcirc-insert-next-input): Remove unused argument.
13399
356a3681
SM
134002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13403
3fc9b218
AM
134042011-08-27 Alan Mackenzie <acm@muc.de>
13405
13406 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13407 handle function pointer parameters properly.
13408
538a061c
MR
134092011-08-27 Martin Rudalics <rudalics@gmx.at>
13410
13411 * window.el (display-buffer-reuse-window): Fix case where
13412 selected window was reused with non-nil OTHER-WINDOW argument.
13413 (Bug#9381)
13414
35b1c40c
DD
134152011-08-27 Deniz Dogan <deniz@dogan.se>
13416
13417 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13418 oftc's NickServ messages.
13419
2f6a3e79
GM
134202011-08-27 Glenn Morris <rgm@gnu.org>
13421
13422 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13423
7254299e
CY
134242011-08-26 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * emacs-lisp/package.el (package-install): Call package-initialize
13427 if called interactively.
13428
f8ccf167
LL
134292011-08-26 Leo Liu <sdl.web@gmail.com>
13430
13431 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13432
3e8cd5ce
JL
134332011-08-25 Juri Linkov <juri@jurta.org>
13434
13435 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13436 `search-whitespace-regexp' (bug#9364).
13437
93eb7113
JL
134382011-08-25 Juri Linkov <juri@jurta.org>
13439
13440 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13441 `regexp-search-ring' to their global values to protect from
13442 updating by `read-from-minibuffer' (bug#9185).
13443
f65d1611
JL
134442011-08-25 Juri Linkov <juri@jurta.org>
13445
13446 * textmodes/ispell.el (ispell-command-loop): Add newline
13447 at the end of the "Use option `i'..." line.
13448
f1cf7a31
JL
134492011-08-25 Juri Linkov <juri@jurta.org>
13450
13451 * battery.el (display-battery-mode): If `battery-status-function'
13452 or `battery-mode-line-format' is nil, display the message and set
13453 `display-battery-mode' to nil (bug#9363).
13454
0c95fcf7
EZ
134552011-08-25 Eli Zaretskii <eliz@gnu.org>
13456
13457 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13458 bidi-string-mark-left-to-right; they are unnecessary now.
13459
a2ebe600
DD
134602011-08-25 Deniz Dogan <deniz@dogan.se>
13461
13462 * net/quickurl.el: Documentation typo fixes.
13463
e4ed06f1
CY
134642011-08-25 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13467
e5f1c99e
GM
134682011-08-25 Glenn Morris <rgm@gnu.org>
13469
b2948976
GM
13470 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13471
e5f1c99e
GM
13472 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13473 (smtpmail-via-smtp): Handle nil response from smtp.
13474
f22f4808
JL
134752011-08-24 Juri Linkov <juri@jurta.org>
13476
13477 * proced.el (proced-marked): Inherit from `error' instead of
13478 `font-lock-warning-face'.
13479
13480 * ibuffer.el (ibuffer-marked-face): Change default face from
13481 `font-lock-warning-face' to `warning'.
13482 (ibuffer-deletion-face): Change default face from
13483 `font-lock-type-face' to `error'.
13484
13485 * battery.el (battery-update): Use the face `error' instead of
13486 `font-lock-warning-face' (bug#6117).
13487
6a93965e
JL
134882011-08-24 Juri Linkov <juri@jurta.org>
13489
13490 * faces.el (success): Change face color from "Green3" to
13491 "ForestGreen" on light background (bug#9353).
13492
1ed43b09
CY
134932011-08-24 Chong Yidong <cyd@stupidchicken.com>
13494
5664fa7b
RT
13495 * window.el (quit-window): Rename from quit-restore-window.
13496 Use same arglist as old quit-window.
1ed43b09
CY
13497 (frame-auto-delete): Doc fix.
13498
13499 * view.el (view-mode-exit): Use quit-window.
13500
11dcdbb2
JL
135012011-08-24 Juri Linkov <juri@jurta.org>
13502
13503 * isearch.el (isearch-ring-adjust1): Start visiting previous
13504 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13505 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13506 for empty search string (when the last search string is reused
13507 automatically) to adjust the isearch ring to the last element and
13508 prepare the correct index for further M-p commands (bug#9185).
13509
de62b4df
KH
135102011-08-24 Kenichi Handa <handa@m17n.org>
13511
13512 * international/ucs-normalize.el: If decomposition property of
13513 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13514 nil.
13515 (nfd, nfkd): Likewise.
13516
963b492b
SM
135172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13520 from process filters aren't reliably transmitted to the surrounding
13521 accept-process-output.
13522 (mpc-proc-check): New function.
13523 (mpc-proc-sync): Use it (bug#8293)
13524
93b6b5e1
SM
135252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13528 Add compatibility functions (bug#9313).
13529
bca633fb
EZ
135302011-08-23 Eli Zaretskii <eliz@gnu.org>
13531
b177498a
EZ
13532 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13533
6df6ae42 13534 * international/uni-bidi.el: Regenerate.
bca633fb 13535
0902a04e
KH
135362011-08-23 Kenichi Handa <handa@m17n.org>
13537
13538 * international/charprop.el:
13539 * international/uni-bidi.el:
13540 * international/uni-category.el:
13541 * international/uni-combining.el:
13542 * international/uni-comment.el:
13543 * international/uni-decimal.el:
13544 * international/uni-decomposition.el:
13545 * international/uni-digit.el:
13546 * international/uni-lowercase.el:
13547 * international/uni-mirrored.el:
13548 * international/uni-name.el:
13549 * international/uni-numeric.el:
13550 * international/uni-old-name.el:
13551 * international/uni-titlecase.el:
13552 * international/uni-uppercase.el: Regenerate.
13553
3bbf23bc
MR
135542011-08-23 Martin Rudalics <rudalics@gmx.at>
13555
13556 * help.el (help-window-setup): Fix message displayed when other
13557 window is reused. (Bug#9341)
13558
b3fd59bd
SM
135592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13560
1802e444
SM
13561 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13562 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13563
b3fd59bd
SM
13564 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13565 Mark obsolete.
13566 * shell.el (shell-parse-pcomplete-arguments): New function.
13567 (shell-completion-vars): Use it instead (bug#9160).
13568
4eb61348
SM
135692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13570
867cab74
SM
13571 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13572 strings and comments (bug#9333).
13573
4eb61348
SM
13574 * emacs-lisp/debug.el (debug-arglist): New function.
13575 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13576 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13577
262a1439
JL
135782011-08-22 Juri Linkov <juri@jurta.org>
13579
56ee679c
JL
13580 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13581 Revert regexp that highlights output switches to its old
13582 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13583
262a1439
JL
13584 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13585 to check for empty output (bug#9226).
13586
f13f86fb
CY
135872011-08-22 Chong Yidong <cyd@stupidchicken.com>
13588
13589 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13590 symbol-constituent as the default, as that stops font-lock from
13591 working properly (Bug#8843).
13592
c65c9622
LMI
135932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13594
13595 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13596 `coding-system-for-*' around the process open call to avoid
13597 auth-source side effects.
e7f2c178 13598 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13599 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13600 probe hangs.
c65c9622 13601
23a8a5ab
CY
136022011-08-21 Chong Yidong <cyd@stupidchicken.com>
13603
ff98b2dd
CY
13604 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13605
23a8a5ab
CY
13606 * emacs-lisp/find-func.el (find-function-noselect): New arg
13607 lisp-only.
13608
13609 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13610 signal an error for built-in functions (Bug#6664).
13611
f5e3c598
LMI
136122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13613
13614 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13615 (smtpmail-try-auth-methods): Use it.
13616
a3f2468a
CY
136172011-08-21 Chong Yidong <cyd@stupidchicken.com>
13618
2c34e8da
CY
13619 * font-lock.el (font-lock-fontify-region)
13620 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13621 (font-lock-default-unfontify-buffer)
13622 (font-lock-default-fontify-region)
13623 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13624
b3fd59bd
SM
13625 * progmodes/compile.el (compilation-error-properties):
13626 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13627 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13628 `ant' regexp.
ee31aabc 13629
a3f2468a
CY
13630 * net/browse-url.el (browse-url-firefox): Don't call
13631 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13632
8e999f70
GM
136332011-08-20 Glenn Morris <rgm@gnu.org>
13634
c21a496a
GM
13635 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13636
59ee0542
GM
13637 * tutorial.el (tutorial--default-keys): Update some default bindings.
13638
8e999f70
GM
13639 * files.el (hack-local-variables): Fully ignore case for "mode:".
13640
e3715033
AM
136412011-08-20 Alan Mackenzie <acm@muc.de>
13642
13643 Resolve invalid use of a regexp in regexp-opt.
13644
4d61f28d
JB
13645 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13646 detection for a java annotation.
e3715033 13647
4d61f28d 13648 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13649 detection for a java annotation.
13650
4d61f28d
JB
13651 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13652 handling for java.
e3715033
AM
13653 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13654
04ed2e9c
CY
136552011-08-20 Chong Yidong <cyd@stupidchicken.com>
13656
13657 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13658 (Bug#9274).
13659
826cee64
AM
136602011-08-20 Alan Mackenzie <acm@muc.de>
13661
58179cce 13662 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13663 such a construct. Mainly for when jit-lock etc. starts a chunk
13664 here.
13665
58179cce 13666 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13667 variable.
58179cce 13668 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13669 c-make-font-lock-search-function.
13670 (c-make-font-lock-search-function): Use the above function.
13671 (c-make-font-lock-context-search-function): New function.
13672 (c-cpp-matchers): Enhance the preprocessor expression case with
13673 the above function
13674 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13675 which takes an expression.
13676
13677 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13678
13009bd8
MR
136792011-08-20 Martin Rudalics <rudalics@gmx.at>
13680
13681 * window.el (display-buffer-reuse-window)
13682 (display-buffer-pop-up-window): Don't reuse or split a side
13683 window.
13684
9234ff7f
GM
136852011-08-19 Glenn Morris <rgm@gnu.org>
13686
13687 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13688 Downcase "Mode:". (Bug#9331)
9234ff7f 13689
f635daa1
CY
136902011-08-18 Chong Yidong <cyd@stupidchicken.com>
13691
13692 * international/characters.el: Add L and R categories.
13693
13694 * subr.el (bidi-string-mark-left-to-right): Rename from
13695 string-mark-left-to-right. Use category search.
13696
13697 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13698
bc987f8b
JL
136992011-08-18 Juri Linkov <juri@jurta.org>
13700
13701 * faces.el (error, warning, success): New faces with definitions
13702 copied from old default values of `font-lock-warning-face',
13703 `compilation-warning', `compilation-info' (bug#6117).
13704
13705 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13706
13707 * progmodes/compile.el (compilation-error): Inherit from `error'.
13708 (compilation-warning): Inherit from `warning'.
13709 (compilation-info): Inherit from `success'.
13710
13711 * dired.el (dired-marked): Inherit from `warning'.
13712 (dired-flagged): Inherit from `error'.
13713
57173b96
LMI
137142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13715
3e79eb87
LMI
13716 * mail/smtpmail.el (auth-source): Require to avoid problems with
13717 binding variables (bug#9298). Also clean up some unused
13718 autoloads.
13719
b3fd59bd
SM
13720 * net/network-stream.el (network-stream-open-starttls):
13721 Support using starttls.el without using gnutls-cli.
57173b96 13722
02b404de
JL
137232011-08-17 Juri Linkov <juri@jurta.org>
13724
13725 * progmodes/grep.el (rgrep): Handle the case when
13726 `grep-find-command' is a cons cell (bug#9278).
13727
8c9177f2
MR
137282011-08-17 Martin Rudalics <rudalics@gmx.at>
13729
13730 * window.el (display-buffer-pop-up-frame): Run frame creation
13731 function with BUFFER current (as special-display-popup-frame
13732 does). Reported by Drew Adams.
13733
3644a0ab
DU
137342011-08-17 Daiki Ueno <ueno@unixuser.org>
13735
13736 * epa-mail.el: Simplify GnuPG group expansion using
13737 epg-expand-group.
13738 (epa-mail-group-alist, epa-mail-group-modtime)
13739 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13740 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13741 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13742 Remove.
13743
5e617bc2 137442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13745
13746 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13747
9c4aeabf
AM
137482011-08-16 Alan Mackenzie <acm@muc.de>
13749
13750 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13751 Correct, to avoid the inside of macros.
13752
3a99bf64
RS
137532011-08-16 Richard Stallman <rms@gnu.org>
13754
04963aa8
RS
13755 * epa-mail.el: Handle GnuPG group definitions.
13756 (epa-mail-group-alist, epa-mail-group-modtime)
13757 (epa-mail-gnupg-conf-file): New variables.
13758 (epa-mail-parse-groups, epa-mail-sync-groups)
13759 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13760 (epa-mail-expand-recipients): New functions.
13761 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13762
177549d0
RS
13763 * mail/rmail.el (rmail-epa-decrypt): New command.
13764
fe38beef
RS
13765 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13766 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13767 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13768 (epa-decrypt-armor-in-region): Make error message clearer.
13769
934eacb9
SM
137702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13771
13772 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13773 and "a2b" to "ab" for `prefix'.
13774
d024fb4e
CY
137752011-08-14 Chong Yidong <cyd@stupidchicken.com>
13776
13777 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13778 filter groups.
de148fee
CY
13779 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13780 Fourquet (Bug#8804).
d024fb4e 13781
62f1ca49
JB
137822011-08-12 Juanma Barranquero <lekktu@gmail.com>
13783
13784 * startup.el (argi): Declare as global variable (bug#9275).
13785
9ccaaa4b
CY
137862011-08-12 Chong Yidong <cyd@stupidchicken.com>
13787
13788 * subr.el (string-mark-left-to-right): Search the entire string
13789 for RTL script, not just the terminating character. Doc fix.
13790
a3dae87a
SM
137912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13792
6cd18349
SM
13793 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13794 New function.
13795 (js--regexp-literal, js-syntax-propertize-function): Remove.
13796 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13797 (js-mode-map): Don't rebind electric keys.
13798 (js-insert-and-indent): Remove.
13799 (js-mode): Setup electric-layout and electric-indent instead.
13800
a3dae87a
SM
13801 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13802
9d5cb631
DU
138032011-08-12 Daiki Ueno <ueno@unixuser.org>
13804
13805 * epa.el (epa-progress-callback-function): Fix the logic of
13806 displaying progress.
13807 * epa-file.el (epa-file-insert-file-contents): Make progress
13808 display more user-friendly.
13809 (epa-file-write-region): Ditto.
13810
3e26a4a2
CY
138112011-08-10 Chong Yidong <cyd@stupidchicken.com>
13812
13813 * subr.el (string-mark-left-to-right): New function.
13814
13815 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13816 Use string-mark-left-to-right.
13817 (list-buffers-noselect): Caller changed.
13818
a3dae87a
SM
13819 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13820 Use string-mark-left-to-right.
3e26a4a2
CY
13821 (tabulated-list-print): Recenter after moving point.
13822
ac8cf6e6
JL
138232011-08-10 Juri Linkov <juri@jurta.org>
13824
13825 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13826 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13827 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13828
8d96c9a4
CY
138292011-08-09 Chong Yidong <cyd@stupidchicken.com>
13830
13831 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13832 (Bug#7554).
13833
7be1c708 138342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13835
13836 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13837 character. (Bug#6594)
13838
37e11a63
CY
138392011-08-08 Chong Yidong <cyd@stupidchicken.com>
13840
839dde57
CY
13841 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13842 (image-dired--with-db-file): New macro.
13843 (image-dired-write-tags, image-dired-remove-tag)
13844 (image-dired-create-gallery-lists, image-dired-write-comments)
13845 (image-dired-get-comment, image-dired-mark-tagged-files)
13846 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13847 (image-dired-gallery-generate): Use insert-file-contents.
13848
37e11a63
CY
13849 * time.el (display-time-world-list, display-time-world-display):
13850 * time-stamp.el (time-stamp-string):
13851 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13852 set-time-zone-rule (Bug#7337).
13853
0b4946c4
DU
138542011-08-08 Daiki Ueno <ueno@unixuser.org>
13855
13856 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13857 (epg-error-to-string, epg-errors-to-string): New function.
13858 (epg-wait-for-completion): Reverse errors list.
13859 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13860 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13861 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13862 (epg-sign-keys, epg-generate-key-from-file)
13863 (epg-generate-key-from-string): Format errors by using
13864 epg-errors-to-string (bug#9255).
13865 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13866
75bfc667
JL
138672011-08-07 Juri Linkov <juri@jurta.org>
13868
13869 * faces.el (list-faces-display): Remove extra angle bracket
13870 from `help-mode-map'.
13871
13872 * info.el (Info-history-toc-nodes): Doc fix.
13873
13874 * longlines.el (longlines-mode): Doc fix.
13875
673e08bb
SM
138762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13877
4640dd88
SM
13878 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13879 of statements and in a few more cases (bug#9183).
13880
673e08bb
SM
13881 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13882 New functions.
13883 (cl-transform-lambda): Use them (bug#9239).
13884
89b3f019
MR
138852011-08-05 Martin Rudalics <rudalics@gmx.at>
13886
13887 * window.el (display-buffer-same-window)
13888 (display-buffer-same-frame, display-buffer-other-window)
13889 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13890 (pop-to-buffer-other-window)
13891 (pop-to-buffer-same-frame-other-window)
13892 (pop-to-buffer-other-frame): Make them defuns.
13893 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13894
640c8776
SM
138952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * subr.el (make-composed-keymap): Move from C. Change calling
13898 convention, and improve docstring to bring attention to a subtle point.
13899 * minibuffer.el (completing-read-default): Adjust accordingly.
13900
63648a95
MA
139012011-08-03 Michael Albinus <michael.albinus@gmx.de>
13902
13903 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13904 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13905
13906 * net/trampver.el: Update release number.
13907
b796c9b7
SM
139082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13911 "in" (bug#9190).
13912
2239d7d5
LMI
139132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13914
e07dd7c3
LMI
13915 * mail/sendmail.el (sendmail-query-once): Restore the current
13916 buffer after querying (bug#9074).
13917
0e6a2bd7
LMI
13918 * dired.el (dired-flagged): Use different faces for marked and
13919 flagged files (bug#6117).
13920
ce887515
LMI
13921 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13922 (bug#4433).
13923
92f2affc
LMI
13924 * ido.el (ido-mode): Switch off the message if called
13925 non-interactively.
13926
57d5aff0
LMI
13927 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13928 before 587, since it appears that that's more likely to work for
13929 more people.
13930
98cd6c18 13931 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13932 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13933 exist.
13934
b96dec83
LMI
13935 * info.el: Remove the `Info-beginning-of-buffer' function
13936 (bug#8325).
13937
b796c9b7
SM
13938 * net/network-stream.el (network-stream-open-starttls):
13939 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13940
d90e2ea0
MR
139412011-08-01 Martin Rudalics <rudalics@gmx.at>
13942
13943 * window.el (display-buffer-in-window): Don't set dedicated status
13944 of window here (Bug#9215).
13945 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13946 (display-buffer-pop-up-side-window)
b796c9b7 13947 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13948
cca09170
SM
139492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13952 before binding generated-autoload-file.
13953
027b979c
DD
139542011-08-01 Deniz Dogan <deniz@dogan.se>
13955
13956 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13957
3c7ee4f3
MA
139582011-07-30 Michael Albinus <michael.albinus@gmx.de>
13959
13960 Sync with Tramp 2.2.2.
13961
13962 * net/trampver.el: Update release number.
13963
2cc8e51a
JL
139642011-07-30 Juri Linkov <juri@jurta.org>
13965
13966 * dired-aux.el (dired-touch-initial): Remove function.
13967 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13968 current time, and `default' to the last modification time of the
13969 current marked file (bug#6887).
13970
a514d856
JM
139712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13972
13973 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13974 numeric argument to read-number (bug#9163).
a514d856 13975
8a7eddd7
MA
139762011-07-27 Michael Albinus <michael.albinus@gmx.de>
13977
13978 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13979 connection process, it could be nil.
13980
1ddd96f5
LL
139812011-07-27 Leo Liu <sdl.web@gmail.com>
13982
13983 Simplify url handling in rcirc-mode.
13984
13985 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13986 (rcirc-browse-url-at-mouse): Remove.
13987 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13988
b248a85d
AM
139892011-07-26 Alan Mackenzie <acm@muc.de>
13990
13991 Fontify bitfield declarations properly.
13992
13993 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13994 (c-symbol-chars): Now exported as a lang variable.
13995 (c-not-primitive-type-keywords): New lang variable.
13996
13997 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13998 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13999 parsed as a bitfield declaration.
b248a85d 14000
b796c9b7
SM
14001 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14002 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14003 (c-punctuation-in): New function.
14004 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14005 declarations properly.
14006
68575ab0
UJ
140072011-07-26 Ulf Jasper <ulf.jasper@web.de>
14008
14009 * calendar/icalendar.el (icalendar--all-events): Take care of
14010 multiple vcalendars in a single file.
b796c9b7 14011 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14012
0f0a88b9
DD
140132011-07-25 Deniz Dogan <deniz@dogan.se>
14014
14015 * image.el (insert-image): Clarifying docstring.
14016
0b3f36df
MA
140172011-07-24 Michael Albinus <michael.albinus@gmx.de>
14018
14019 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14020 `tramp-send-command-and-check' if there is no error.
14021 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14022
a9901f61
AM
140232011-07-22 Alan Mackenzie <acm@muc.de>
14024
14025 Prevent cc-langs.elc being loaded at run time.
14026
14027 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14028 cc-langs.
14029
4d61f28d 14030 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14031 "(require 'cc-langs)". Quote a form so it will evaluate at
14032 (cc-mode's) compilation time.
14033
11d074b2
MA
140342011-07-22 Michael Albinus <michael.albinus@gmx.de>
14035
14036 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14037 loading. (Bug#9114)
14038
938b94c8
MR
140392011-07-21 Martin Rudalics <rudalics@gmx.at>
14040
14041 * window.el (display-buffer-pop-up-window)
14042 (display-buffer-pop-up-side-window)
14043 (display-buffer-in-side-window): Call display-buffer-set-height
14044 and display-buffer-set-width after setting the new window's
b796c9b7 14045 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14046
bfa4f190
SS
140472011-07-20 Sam Steingold <sds@gnu.org>
14048
14049 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14050 (etags-tags-included-tables): Call `convert-standard-filename' on
14051 the file names contained in TAGS so that windows Emacs can handle
14052 TAGS files created by cygwin ctags.
14053
8ca42262
LMI
140542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14055
14056 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14057 which apparently didn't work.
14058
5db2afd2 140592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14060
5db2afd2
RW
14061 * proced.el (proced-send-signal): For *Marked Processes* buffer
14062 put point at beginning of buffer.
14063
92e15d10
SB
140642011-07-19 Stephen Berman <stephen.berman@gmx.net>
14065
14066 * proced.el (proced-format): Make header lines align with the text
14067 (bug#1779).
14068
1bfd59e5
LMI
140692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14070
14071 * view.el (view-buffer): Allow running in `special' modes if we're
14072 visiting a file (bug#8615).
14073
f5aae37c
MR
140742011-07-19 Martin Rudalics <rudalics@gmx.at>
14075
14076 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14077 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14078 New functions.
f5aae37c
MR
14079 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14080 more accurately.
14081
bf2c1571
AM
140822011-07-18 Alan Mackenzie <acm@muc.de>
14083
14084 Fontify declarators properly when, e.g., a jit-lock chunk begins
14085 inside a declaration.
14086
14087 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14088
b796c9b7
SM
14089 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14090 New function.
bf2c1571
AM
14091 (c-complex-decl-matchers): Insert reference to
14092 c-font-lock-enclosing-decls.
14093
14094 * progmodes/cc-engine.el (c-backward-single-comment):
14095 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14096 to nil around calls to (forward-comment -1).
14097
4e190b80
LMI
140982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14099
12dc863d
LMI
14100 * image.el (put-image): Doc typo fix.
14101
a762e966
LMI
14102 * progmodes/etags.el (tags-search): Doc typo fix.
14103
4e190b80
LMI
14104 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14105 password if we get errors 550 to 554.
14106
f019fb21
LMI
141072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14108
b796c9b7 14109 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14110
81746738
LMI
14111 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14112 indentation character (bug#6380).
14113
3ee3a1b5
LMI
14114 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14115
c82f64de
LMI
14116 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14117 to clarify what the problem is (bug#4291).
14118
f019fb21
LMI
14119 * simple.el (current-kill): Clarify what
14120 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14121 (auto-fill-mode): Document `auto-fill-function' in relation to
14122 `auto-fill-mode' (bug#2470).
f019fb21 14123
0794775d
LM
141242011-07-16 Lawrence Mitchell <wence@gmx.li>
14125
14126 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14127 method if slot is read-only (bug#9035).
14128
be39b8cc
MR
141292011-07-16 Martin Rudalics <rudalics@gmx.at>
14130
b796c9b7 14131 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14132 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14133 selected before, see discussion of (Bug#8615), (Bug#6954).
14134 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14135
6ccf7859
GM
141362011-07-15 Glenn Morris <rgm@gnu.org>
14137
14138 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14139 Respect help-form.
6ccf7859 14140
87e86684
LM
141412011-07-09 Lawrence Mitchell <wence@gmx.li>
14142
14143 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14144 (gnutls-negotiate): Use it.
14145
d6066239
LMI
141462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14147
b796c9b7
SM
14148 * net/gnutls.el (gnutls-negotiate):
14149 Upcase `gnutls-algorithm-priority'.
d6066239 14150
bd23ebc0
GM
141512011-07-15 Glenn Morris <rgm@gnu.org>
14152
c65bca65
GM
14153 * jka-compr.el (jka-compr-verbose): Move from here...
14154 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14155 Add missing :version tag.
14156 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14157
478615cc
LMI
141582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14159
7b41decb
LMI
14160 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14161 (gnutls-negotiate): Use it.
14162
dbc44fcd
LMI
14163 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14164
06789f97
LMI
14165 * info.el (Info-beginning-of-buffer): New command.
14166 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14167 announcing `b' as the key (bug#8325).
ab896c37 14168 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14169
c39da690
LMI
14170 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14171
3aa5f34b
LMI
14172 * international/mule-cmds.el
14173 (describe-specified-language-support): Make the error message
14174 clearer (bug#8905).
14175
4bf0979f
LMI
14176 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14177
478615cc
LMI
14178 * isearch.el (isearch-barrier): Add a doc string, since it's
14179 mentioned in a function doc string (bug#8678).
14180
75c68aa1
MR
141812011-07-15 Martin Rudalics <rudalics@gmx.at>
14182
14183 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14184 buffer argument (Bug#9083) and self-identifying label argument.
14185
a7c33da2
GM
141862011-07-15 Glenn Morris <rgm@gnu.org>
14187
14188 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14189
2f5c6024
LMI
141902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14191
14192 * man.el (Man-fontify-manpage): Fix message when formatting the
14193 man page (bug#7929).
14194
0bb23927 141952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14196
14197 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14198 argument LRM; if non-nil, append an invisible LRM character to the
14199 buffer name.
14200 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14201 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14202 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14203 paragraph direction.
cce4b0a7 14204
621ef9ab
LMI
142052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14206
d1583c48
LMI
14207 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14208 the man page name (bug#7929).
14209
6a57fb5f
LMI
14210 * image.el (put-image): Mention the `put-image' overlay property
14211 (bug#7834).
14212
d7956b14
LMI
14213 * scroll-bar.el (set-scroll-bar-mode): Mention that
14214 `scroll-bar-mode' lists the values (bug#7772).
14215
5b2d4a66
LMI
14216 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14217 command (bug#7729).
14218
7509a874
LMI
14219 * rect.el (apply-on-rectangle): Return the point after the last
14220 operation.
14221 (string-rectangle): Go to the point after the last operation
14222 (bug#7522).
14223
4fe74b19
LMI
14224 * printing.el (pr-toggle-region): Clarify the documentation
14225 slightly (bug#7493).
14226
b796c9b7
SM
14227 * time.el (display-time-update):
14228 Allow `display-time-mail-function' to return nil (bug#7158).
14229 Fix suggested by Detlev Zundel.
ab283561 14230
fc233c9d
LMI
14231 * vc/diff.el (diff): Clarify the order the file names are read
14232 (bug#7111).
14233
43f5740b
LMI
14234 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14235 the doc string (bug#7015).
14236
f2182a76
LMI
14237 * font-lock.el (font-lock-maximum-decoration): Mention what
14238 numeric levels mean (bug#6935).
14239
621ef9ab
LMI
14240 * startup.el (initial-buffer-choice): Don't mention the `none'
14241 selection, which is against policy.
14242
adc47434
MR
142432011-07-14 Martin Rudalics <rudalics@gmx.at>
14244
b796c9b7
SM
14245 * window.el (display-buffer-normalize-special):
14246 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14247
7e5bfb8f
EZ
142482011-07-14 Eli Zaretskii <eliz@gnu.org>
14249
14250 * subr.el (version<, version<=, version=): Mention "-CVS" and
14251 "-12345" alpha version numbers.
14252
27fa387a
CY
142532011-07-14 Chong Yidong <cyd@stupidchicken.com>
14254
14255 * bindings.el: Add advertised binding for set-mark-command
14256 (Bug#5772).
14257
8bdfa064
CY
142582011-07-14 Chong Yidong <cyd@stupidchicken.com>
14259
14260 * bindings.el (mode-line-other-buffer):
14261 * bookmark.el (bookmark-bmenu-2-window):
14262 * bs.el (bs-cycle-next, bs-cycle-previous):
14263 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14264 switch-to-buffer.
14265
14266 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14267 Delete.
8bdfa064 14268
5eba16a3
JB
142692011-07-14 Juanma Barranquero <lekktu@gmail.com>
14270
14271 * follow.el (follow-debug-message, follow-redisplay):
14272 * jka-cmpr-hook.el (with-auto-compression-mode):
14273 Fix typos in docstrings.
14274
15853710
LMI
142752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14276
a28e4607
LMI
14277 * subr.el (with-silent-modifications): Clarify somewhat what the
14278 macro inhibits (bug#6525).
14279
15853710
LMI
14280 * simple.el (eval-expression): Note what it does if called
14281 interactively (bug#6495).
14282
bee0fcef
CY
142832011-07-13 Chong Yidong <cyd@stupidchicken.com>
14284
b796c9b7
SM
14285 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14286 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14287
14288 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14289 Remove switch-to-buffer.
14290
58274504
LMI
142912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292
bd2fcc8d
LMI
14293 * files.el (make-directory): Clarify that an error will be raised
14294 if there's an error (bug#6397).
14295
0f04b32c
LMI
14296 * startup.el (initial-buffer-choice): Add `none' as a choice
14297 (bug#6234).
14298
465c5fc8
LMI
14299 * subr.el (add-hook): Clarify section about buffer-local hooks
14300 (bug#6218).
14301
58274504
LMI
14302 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14303
bead9a43
JB
143042011-07-13 Juanma Barranquero <lekktu@gmail.com>
14305
14306 * tabify.el (untabify): Preserve the current column so that point
14307 doesn't move (bug#6032).
14308
3af98a7b
LMI
143092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14310
b796c9b7
SM
14311 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14312 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14313
6240145a
GM
143142011-07-13 Glenn Morris <rgm@gnu.org>
14315
14316 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14317 (dired-insert-directory): Give a message the first time
14318 if ls is found not to support --dired.
14319
1d8c2ccc
LMI
143202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14321
14322 * simple.el (toggle-truncate-lines): Clarify what is toggled
14323 (bug#5580). Text by Drew Adams.
14324
5fc4038e
CY
143252011-07-13 Chong Yidong <cyd@stupidchicken.com>
14326
14327 * simple.el (blink-matching-open): Make the error message from the
14328 last change less verbose.
14329
bf6012e5
DN
143302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14331
14332 * font-lock.el (font-lock-comment-face): Use the high contrast
14333 "yellow" color for font-lock-comment-face on low color terminals
14334 using a dark background color (bug#4221).
14335
343c3b5a
LMI
143362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14337
7e9505c5
LMI
14338 * dired.el (dired-insert-set-properties): Make the doc string
14339 reflect what it does now (bug#5325).
14340
c26fdcf5
LMI
14341 * simple.el (blink-matching-open): Say that we were unable to find
14342 the match within the limit, if we're limited (bug#5122).
14343
bb388cc5
LMI
14344 * international/mule-cmds.el (prefer-coding-system): Add an
14345 example (bug#4869).
14346
343c3b5a
LMI
14347 * progmodes/etags.el (tags-search): Document `file-list-form'
14348 (bug#4731).
14349
2a517d45
LM
143502011-07-13 Lawrence Mitchell <wence@gmx.li>
14351
14352 * net/browse-url.el (browse-url-default-browser)
14353 (browse-url-browser-function): Make the default browser choice a
14354 bit more logical (bug#4300). Also clean up the doc string.
14355
b6c78ef2
JB
143562011-07-13 Juanma Barranquero <lekktu@gmail.com>
14357
14358 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14359 binary endings (bug#4440).
14360
1c4dd947
LMI
143612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14362
a2014063
LMI
14363 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14364 which can be pretty annoying (bug#8971).
14365
9c9c2d88
LMI
14366 * jka-compr.el (jka-compr-verbose): New variable, and use
14367 throughout (bug#8971).
14368
1c4dd947
LMI
14369 * info.el (Info-find-file): Fall back on the installation
14370 directory if we can't find the info node anywhere else.
14371
a1c9f41b
SO
143722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14373
14374 * vc/vc.el (vc-revert-file):
14375 Don't set file time-stamp in the past. (Bug#5181)
14376
536f3d36
LMI
143772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14378
7152b011
LMI
14379 * files.el (after-find-file): Give a better error message when
14380 trying to find a symlink that points to a file that doesn't exist
14381 (bug#4398).
14382
536f3d36
LMI
14383 * progmodes/cc-vars.el: Remove (probably) misleading comment
14384 (bug#4396).
14385
460c0fba
JB
143862011-07-12 Johan Bockgård <bojohan@gnu.org>
14387
14388 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14389
7a6bda45
CY
143902011-07-12 Chong Yidong <cyd@stupidchicken.com>
14391
14392 * mouse-sel.el: Hack restoring functionality, while keeping
14393 compatibility with 2010-07-03 changes to mouse selection.
14394 (mouse-sel-primary-overlay): New var.
14395 (mouse-sel-selection-alist): Use it.
14396 (mouse-sel-mode): Doc fix; remove points that are default features
14397 of mouse.el.
14398
c79598ef
JB
143992011-07-12 Johan Bockgård <bojohan@gnu.org>
14400
14401 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14402 Fix previous fix (bug#2490).
14403
ff8be6ef
RW
144042011-07-12 Roland Winkler <winkler@gnu.org>
14405
b796c9b7
SM
14406 * textmodes/bibtex.el (bibtex-initialize):
14407 Use pop-to-buffer-same-window.
ff8be6ef
RW
14408 (bibtex-search-entries): Fix interactive call.
14409
296ba3ee
LMI
144102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411
f5242a02 14412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14413 Fontise bytecomp Error lines more correctly (bug#2490).
14414 Fix suggested by Johan Bockgård.
f5242a02 14415
296ba3ee
LMI
14416 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14417
14418 * dired-x.el (dired-guess-default): Use `delete-dups'.
14419
f69fd0d2
CY
144202011-07-12 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * dired.el (dired-mark-prompt):
14423 * dired-aux.el (dired-read-shell-command): Doc fix.
14424
eab5dc07
LMI
144252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14426
b796c9b7
SM
14427 * mail/sendmail.el (sendmail-query-once):
14428 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14429 emacs -Q.
14430
14431 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14432
eab5dc07
LMI
14433 * cus-edit.el (custom-file): Take an optional no-error variable.
14434 (customize-save-variable): Set the variable, and give a warning if
14435 running under "emacs -q".
14436
a1e65d42
JB
144372011-07-11 Juanma Barranquero <lekktu@gmail.com>
14438
14439 * loadhist.el (unload-feature-special-hooks):
14440 Add `auto-coding-functions', `fill-nobreak-predicate' and
14441 `find-directory-functions' (bug#5327).
14442
1d52da10
LMI
144432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14444
be958f1d
LMI
14445 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14446
5bedb26c
LMI
14447 * cus-edit.el (custom-guess-name-alist): -alist variables should
14448 use the `alist' type (bug#3120). Suggested by Drew Adams.
14449
1d52da10
LMI
14450 * printing.el: Add documentation to all the `pr-toggle-' commands.
14451
cd394be1 144522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14453
14454 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14455 backends where it makes sense (bug#2623).
14456
dcc88d8a
LMI
144572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
c3de9feb
LMI
14459 * dired-x.el (dired-guess-default): Remove duplicate shell command
14460 entries (bug#2028).
8a93078b 14461 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14462 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14463
dcc88d8a
LMI
14464 * subr.el (remove-duplicates): New conveniency function.
14465
505e3645
LMI
144662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14467
14468 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14469 (bug#1526).
14470
144712011-07-10 Martin Rudalics <rudalics@gmx.at>
14472
14473 * window.el (display-buffer-normalize-default): Don't invert
14474 meaning of even-window-heights. Reported by Eli Zaretskii
14475 <eliz@gnu.org>.
14476
455e4fa1
BR
144772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14478
14479 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14480
8e0bc3e9
CY
144812011-07-10 Chong Yidong <cyd@stupidchicken.com>
14482
14483 * window.el (display-buffer): Fix arguments to
14484 display-buffer-reuse-window in last change.
14485
fa7c3228
CY
14486 * faces.el (link): Use a less saturated blue on light backgrounds.
14487
14488 * startup.el (fancy-startup-text, fancy-about-text)
14489 (fancy-startup-tail): Use font-lock faces, for background safety.
14490
c0a7f300
BN
144912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14492
b796c9b7
SM
14493 * emulation/viper-cmd.el (viper-change-state-to-vi):
14494 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14495
4dc2a129
MR
144962011-07-09 Martin Rudalics <rudalics@gmx.at>
14497
14498 * window.el (display-buffer-default-specifiers): Remove.
14499 (display-buffer-macro-specifiers): Remove default specifiers.
14500 (display-buffer-alist): Default to nil.
b796c9b7 14501 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14502 (display-buffer-pop-up-window): Allow splitting internal
14503 windows. Check whether a live window was created.
14504 (display-buffer-other-window-means-other-frame)
14505 (display-buffer-normalize-arguments): Rename to
14506 display-buffer-normalize-argument and rewrite. Set the
14507 other-window specifier.
14508 (display-buffer-normalize-special): New function.
14509 (display-buffer-normalize-options): Rename to
14510 display-buffer-normalize-default and rewrite.
14511 (display-buffer-normalize-options-inhibit): Remove.
14512 (display-buffer-normalize-specifiers): Rewrite.
14513 (display-buffer): Process other-window specifier and call
14514 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14515 more faithfully.
b796c9b7 14516 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14517 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14518 (display-buffer-in-window, display-buffer-alist-set):
14519 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14520 <tassilo@member.fsf.org>.
14521
2d43b8c9
LL
145222011-07-09 Leo Liu <sdl.web@gmail.com>
14523
14524 * register.el (insert-register): Restore accidental change on
14525 2011-06-26. (Bug#9028)
14526
7f9b7c53
GM
145272011-07-09 Glenn Morris <rgm@gnu.org>
14528
14529 * subr.el (remq): Handle the empty list. (Bug#9024)
14530
f042cfd8
AS
145312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14532
14533 * mail/sendmail.el (send-mail-function): No longer delay custom
14534 initialization.
14535 * custom.el (custom-initialize-delay): Doc fix.
14536
856b2f11
SM
145372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14540
afae1d68
MA
145412011-07-08 Michael Albinus <michael.albinus@gmx.de>
14542
14543 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14544 human-friendly prompt.
14545
0757af94
SM
145462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14549 provided by a particular plugin.
14550
d760b731
LMI
145512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14552
14553 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14554 save customizations (with "emacs -Q"), just set the variable
14555 instead of erroring out.
14556
14557 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14558
cd79ce90
JL
145592011-07-08 Juri Linkov <juri@jurta.org>
14560
14561 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14562 (archive-zip-update-case): Use 7z if found by `executable-find'.
14563 The order of searching the available programs is the same as in
14564 `archive-zip-extract' (bug#8968).
14565
14cc04aa
CY
145662011-07-07 Chong Yidong <cyd@stupidchicken.com>
14567
14568 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14569 (menu-bar-options-menu): Tweak descriptions.
14570
0a1848ec
LMI
145712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14572
14573 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14574 menu items into verb phrases (bug#1421). Also refill to fit under
14575 80 columns.
14576
f5bd0689
CY
145772011-07-07 Chong Yidong <cyd@stupidchicken.com>
14578
538e85c6
CY
14579 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14580 (Info-read-node-name): Doc fix (Bug#1084).
14581
f5bd0689
CY
14582 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14583 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14584 (end-of-sexp, beginning-of-sexp)
14585 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14586 (forward-symbol, forward-same-syntax, word-at-point)
14587 (sentence-at-point): Doc fix (Bug#1144).
14588
56ec5115
LMI
145892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14590
f3f8e37f
LMI
14591 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14592 should cover it (bug#1281).
14593
0757af94 14594 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14595
e9fce1ac 14596 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14597 negotiation fails, then possibly try again with a non-encrypted
14598 connection (bug#9017).
14599
56ec5115
LMI
14600 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14601 be used.
14602
c2f9aec8
RS
146032011-07-07 Richard Stallman <rms@gnu.org>
14604
14605 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14606 property, and handle its changed format.
14607 Look for the correct line number.
14608 Use file's line contents (but not past first =) to find
14609 correct line in message.
14610
ef7b981d 146112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14612
14613 * international/characters.el (build-unicode-category-table):
14614 Delete it.
0757af94 14615 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14616
0757af94 14617 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14618 to src/chartab.c.
14619 (get-char-code-property): Call unicode-property-table-internal to
14620 load a file. Call get-unicode-property-internal where necessary.
14621 (put-char-code-property): Call unicode-property-table-internal to
14622 load a file. Call put-unicode-property-internal where necessary.
14623 put-unicode-property-internal where necessary.
0757af94
SM
14624 (char-code-property-description):
14625 Call unicode-property-table-internal to load a file.
c805dec0
KH
14626
14627 * international/charprop.el:
14628 * international/uni-bidi.el:
14629 * international/uni-category.el:
14630 * international/uni-combining.el:
14631 * international/uni-comment.el:
14632 * international/uni-decimal.el:
14633 * international/uni-decomposition.el:
14634 * international/uni-digit.el:
14635 * international/uni-lowercase.el:
14636 * international/uni-mirrored.el:
14637 * international/uni-name.el:
14638 * international/uni-numeric.el:
14639 * international/uni-old-name.el:
14640 * international/uni-titlecase.el:
14641 * international/uni-uppercase.el: Regenerate.
14642
14643 * loadup.el: Load international/charprop.el before
14644 international/characters.
14645
e14b388a
CY
146462011-07-07 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * window.el (next-buffer, previous-buffer): Signal an error if
14649 called from a minibuffer window.
14650
14651 * bindings.el: Revert 2011-07-04 change.
14652
354cf0ba
RS
146532011-07-06 Richard Stallman <rms@gnu.org>
14654
14655 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14656 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14657 Treat markers like ints.
14658 (rmail-mime-entity): Doc fix.
14659
a48868a7
LMI
146602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14661
4906cd3d
LMI
14662 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14663 defcustom again for backwards compatibility.
14664
e0457abe
LMI
14665 * simple.el (shell-command-on-region): Fill.
14666
d67f7e1f
LMI
14667 * dired-aux.el (dired-kill-line): Add a doc string.
14668
fe204702
LMI
14669 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14670 to "\\sw\\|\\s_" (bug#358).
14671
a48868a7
LMI
14672 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14673 (dired-unmark-backward): Ditto.
14674 (dired-flag-backup-files): Ditto.
14675
14676 * dired-x.el (dired-mark-sexp): Ditto.
14677
aa8a705c
RS
146782011-07-06 Richard Stallman <rms@gnu.org>
14679
14680 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14681 (rmail-mime-entity): New arg TRUNCATED.
14682 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14683 New functions.
14684 (rmail-mime-save): Warn if entity is truncated.
14685 (rmail-mime-toggle-hidden): Likewise, for showing.
14686 (rmail-mime-process-multipart): Record when an entity is truncated.
14687
a9a936b9
RS
14688 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14689 if ENTITY is a string.
14690
1f2b92cb
LMI
146912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14692
f4f73198 14693 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14694 of faces when `M-C-x'-ing their definitions (bug#8378).
14695 Also clean up the code slightly.
f4f73198 14696
12b16734 14697 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14698 because that makes the colors go away.
12b16734 14699
f0691d22
LMI
14700 * mail/sendmail.el (send-mail-function): Change the default to
14701 `sendmail-query-once'.
9e87df06 14702 (sendmail-query-once): Add an autoload cookie.
f0691d22 14703
1f2b92cb
LMI
14704 * net/network-stream.el (network-stream-open-starttls): Try using
14705 a plain connection even if the server offered STARTTLS, and we
14706 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14707 capability. This should make smtpmail.el work in slightly more
14708 configurations.
14709
1cdd2a1b
MA
147102011-07-06 Michael Albinus <michael.albinus@gmx.de>
14711
14712 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14713 New defun.
14714 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14715
fbcc67e2
MM
147162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14717
14718 * progmodes/sql.el: Version 3.0
0757af94 14719 (sql-product-alist): Add product :completion-object,
fbcc67e2 14720 :completion-column, and :statement attributes.
0757af94 14721 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14722 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14723 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14724 ansi keywords.
14725 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14726 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14727 (sql-oracle-show-reserved-words): New function for development.
14728 (sql-product-font-lock): Simplify for source code buffers.
14729 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14730 New functions.
14731 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14732 (sql-mode-map): Add statement movement functions.
14733 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14734 New variable.
fbcc67e2
MM
14735 (sql-statement-regexp, sql-beginning-of-statement)
14736 (sql-end-of-statement, sql-signum): New functions.
0757af94 14737 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14738 (sql-show-sqli-buffer): Bug fix.
14739 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14740 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14741 with sql-interactive-mode.
14742 (sql-save-connection): Save buffer local settings.
0757af94 14743 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14744 (sql-product-interactive): Bug fix.
14745 (sql-preoutput-hold): New variable.
14746 (sql-interactive-remove-continuation-prompt): Bug fixes.
14747 (sql-debug-redirect): New variable.
14748 (sql-str-literal): New function.
14749 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14750 Redesign.
fbcc67e2
MM
14751 (sql-oracle-save-settings, sql-oracle-restore-settings)
14752 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14753 (sql-completion-object, sql-completion-column)
14754 (sql-completion-sqlbuf): New variables.
14755 (sql-build-completions-1, sql-build-completions)
14756 (sql-try-completion): New functions.
14757 (sql-read-table-name): Use them.
14758 (sql-contains-names): New buffer local variable.
14759 (sql-list-all, sql-list-table): Use it.
14760 (sql-oracle-completion-types): New variable.
14761 (sql-oracle-completion-object, sql-sqlite-completion-object)
14762 (sql-postgres-completion-object): New functions.
14763
d4eaeab1
GM
147642011-07-06 Glenn Morris <rgm@gnu.org>
14765
14766 * window.el (pop-to-buffer): Doc fix.
14767
322b7dab 147682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14769
14770 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14771
322b7dab 147722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14773
322b7dab 14774 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14775
322b7dab 14776 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14777
605dd5bf
CY
147782011-07-05 Chong Yidong <cyd@stupidchicken.com>
14779
14780 * button.el (button): Inherit from link face. Suggested by Dan
14781 Nicolaescu.
14782
7dbfa719
SM
147832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14784
3db614b0
SM
14785 * progmodes/gdb-mi.el: Fit in 80 columns.
14786 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14787 switch-to-buffer.
14788
7dbfa719
SM
14789 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14790 if imenu is simply not configured (bug#8941).
14791
919d884a
KM
147922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14793
14794 * allout.el (allout-post-undo-hook): New allout outline-change
14795 event hook to signal undo activity.
14796 (allout-post-command-business): Run allout-post-undo-hook if an
14797 undo just occurred.
7dbfa719
SM
14798 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14799 * allout-widgets.el (allout-widgets-after-undo-function):
14800 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14801 in the vicinity of an undo.
14802 (allout-widgets-mode): Include allout-widgets-after-undo-function
14803 on the new allout-post-undo-hook.
14804
450a0f09
SM
148052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14806
14807 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14808 Let define-derived-mode define it.
14809 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14810 cycles of abbrev-table inheritance (bug#8998).
14811
2de69e00
RW
148122011-07-05 Roland Winkler <winkler@gnu.org>
14813
14814 * textmodes/bibtex.el: Add support for biblatex.
14815 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14816 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14817 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14818 (bibtex-entry-alist, bibtex-field-alist): New variables.
14819 (bibtex-entry-field-alist): Obsolete alias for
14820 bibtex-BibTeX-entry-alist.
14821 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14822 (bibtex-set-dialect): New command.
14823 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14824 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14825 Bind via bibtex-set-dialect.
2de69e00
RW
14826 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14827 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14828 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14829 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14830 Define via bibtex-set-dialect.
450a0f09
SM
14831 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14832 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14833 (bibtex-vec-push, bibtex-vec-incr): New functions.
14834 (bibtex-format-entry, bibtex-field-list)
14835 (bibtex-print-help-message, bibtex-validate)
14836 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14837
2dcdbdd9
SM
148382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * progmodes/compile.el (compilation-goto-locus):
14841 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14842 * bs.el (bs-cycle-next, bs-cycle-previous):
14843 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14844 * bindings.el (mode-line-other-buffer):
14845 * autoinsert.el (auto-insert):
14846 * arc-mode.el (archive-extract):
14847 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14848
b27640fe
JB
148492011-07-05 Juanma Barranquero <lekktu@gmail.com>
14850
14851 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14852 Fix check of `emacs-lock-unlockable-modes'.
14853 Coerce true values of `emacs-lock--try-unlocking' to t.
14854
53bbe3ad
JB
148552011-07-05 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14858 * emacs-lock.el: New file.
14859
1d3cdbc7
JD
148602011-07-05 Julien Danjou <julien@danjou.info>
14861
14862 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14863 than `boundp' to check if face is set.
14864
9173deec
JB
148652011-07-05 Juanma Barranquero <lekktu@gmail.com>
14866
14867 * register.el (registerv-make):
14868 * window.el (window-min-height): Fix typos in docstrings.
14869
869795d6
JD
148702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14871
9173deec 14872 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14873 Update doc string.
14874
b768cdcd
JB
148752011-07-04 Juanma Barranquero <lekktu@gmail.com>
14876
14877 * server.el (server-execute): Catch quit and call
14878 `server-return-error' to pass the error back to emacsclient and
14879 close the connection (bug#8942).
14880
13aa217b
KM
148812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14882
14883 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14884 insecure exception for current topic. Also note that auto-saves
14885 are handled differently.
14886
5d3385a0 14887 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14888 State variables for tracking auto-save inhibition situation.
14889
14890 (allout-write-contents-hook-handler): Rename from
14891 'allout-write-file-hook-handler', and describe how it depends on
14892 write-contents-functions sensitivity to non-nil value to prevent
14893 file write.
14894
14895 (allout-auto-save-hook-handler): Remove. auto-save does not check
14896 this in individual buffers, only in the starting buffer, so this
14897 is not the right way for us to inhibit auto-save in a buffer
14898 according to its condition.
14899
14900 (allout-mode): Use new allout-write-contents-hook-handler, and
14901 only with write-contents-functions. Remove auto-save provisions -
14902 they're implemented elsewhere.
14903
14904 (allout-before-change-handler): If undo is in progress, note that
14905 for attention of allout-post-command-business.
14906
14907 (allout-post-command-business): If the command we're following was
14908 an undo, check for change in the status of encrypted items and
14909 adjust auto-save inhibitions accordingly.
14910
14911 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14912 according to whether there are or aren't any plain-text topics
14913 pending encryption.
14914
2dcdbdd9 14915 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14916 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14917 if there are plain-text topics pending encryption.
13aa217b
KM
14918
14919 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14920 buffer-saved-size and some allout state to not inhibit auto-saves
14921 if there are no longer any plain-text topics pending encryption.
14922
0757af94
SM
14923 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14924 No longer provide for exemption of the current topic.
13aa217b 14925
ac89b32c
JL
149262011-07-04 Juri Linkov <juri@jurta.org>
14927
14928 Add 7z operations to delete and save changed members (bug#8968).
14929 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14930 New defcustoms.
14931 (archive-7z-write-file-member): New function.
14932 (archive-7z-summarize): Fix the number of dashes in the
14933 listing output.
14934
8fa39615
SM
149352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14938 (bug#8958).
14939
2f11b3f1
CY
149402011-07-04 Chong Yidong <cyd@stupidchicken.com>
14941
d66fef2b
CY
14942 * bindings.el: Ignore next-buffer and previous-buffer in
14943 minibuffer-local-map.
14944
2f11b3f1
CY
14945 * font-lock.el (font-lock-builtin-face): Change light background
14946 color to dark slate blue (Bug#6693).
14947
f932a347
WD
149482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14949
14950 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14951
c8af70e1
SM
149522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14953
14954 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14955 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14956 Add switch-to-buffer.
14957
f158badc
LMI
149582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14959
14960 * isearch.el (isearch-search-fun-function): Clarify further the
14961 meaning of the function returned.
14962
6d95bd46
MA
149632011-07-04 Michael Albinus <michael.albinus@gmx.de>
14964
14965 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14966
14967 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14968 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14969 Use it.
14970 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14971 `tramp-default-remote-path' does not exist.
14972 (tramp-send-command-and-read): New optional argument NOERROR.
14973 (tramp-open-connection-setup-interactive-shell)
14974 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14975 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14976 (tramp-process-sentinel): Flush also process' connection property.
14977 (tramp-sh-handle-start-file-process): Do not set process
14978 sentinel. It is done now ...
14979 (tramp-maybe-open-connection): ... here. (Bug#8929)
14980
909e6b67
MK
149812011-07-04 MON KEY <monkey@sandpframing.com>
14982
14983 * play/animate.el (animate-string): Doc fixes and allow changing
14984 the buffer name (bug#5417).
14985
149862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14987
c8af70e1 14988 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14989
f34755dc
PE
149902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14991
396cec72
PE
14992 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14993 This is simpler and helps future-proof the code.
14994 (timer-until): Use time-subtract and float-time.
08235028 14995 (timer--time-less-p): Use time-less-p.
f34755dc 14996
56e6cc31
JB
149972011-07-04 Juanma Barranquero <lekktu@gmail.com>
14998
3abb79e5
JB
14999 * type-break.el (timep): Use the value of `float-time' to avoid a
15000 byte-compiler warning.
15001
56e6cc31
JB
15002 * server.el (server-eval-and-print): Return any result, even nil.
15003
7b9430b4
PE
150042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15005
15006 * type-break.el: Accept time formats that the builtins accept.
15007 (timep, type-break-time-difference): Accept any format that
15008 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15009 This is simpler and helps future-proof the code.
15010 (type-break-time-difference): Round rather than ignoring
15011 subseconds components.
15012
3034e9e7
LMI
150132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15014
15015 * info.el (Info-apropos-matches): Make non-interactive, since it
15016 doesn't seem to do anything useful as a command (bug#8829).
15017
1485f4c0
CY
150182011-07-03 Chong Yidong <cyd@stupidchicken.com>
15019
15020 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15021 Move from faces.el.
1485f4c0
CY
15022 (frame-default-terminal-background): New function.
15023
15024 * custom.el (custom-push-theme): Don't record faces in `changed'
15025 theme; this doesn't work correctly for per-frame face settings.
15026 (disable-theme): Use face-set-after-frame-default to reset faces.
15027 (custom--frame-color-default): New function.
15028
9fa3dd45
LMI
150292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15030
c8af70e1 15031 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15032 (bug#8769).
15033
6cbbc20c
KR
150342011-03-29 Kevin Ryde <user42@zip.com.au>
15035
15036 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15037 `perl-Test2' extend to match possible "fail #N" rep count
15038 (bug#8377).
15039
c7f98048
LMI
150402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15041
65676592
LMI
15042 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15043 `smtpmail-via-smtp' now returns the error instead of nil.
15044
c7f98048
LMI
15045 * isearch.el (isearch-search-fun-function): Clarify the doc string
15046 (bug#8101).
15047
56e6cc31 150482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15049
15050 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15051 unnecessary spaces (bug#8987).
15052
2b216704
LMI
150532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15054
15055 * net/network-stream.el (open-network-stream): Use the
15056 :end-of-capability command thoughout.
15057
150582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15059
15060 * net/network-stream.el (open-network-stream): Add the
15061 :end-of-capability command parameter, used by pop3.el.
15062
36adf6ce
LMI
150632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
1ca0da0e
LMI
15065 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15066
fc00f69c
LMI
15067 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15068 for list)" (bug#6475).
15069
28fd8759 15070 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15071 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15072 an error (bug#6297).
15073
0dd8b6da
LMI
15074 * man.el (Man-reference-regexp): Allow matching possible
15075 word-wrapped references (bug#6289).
15076
ce1438d6
LMI
15077 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15078 for consistency with the other vc buffers (bug#6197).
15079 (vc-checkin): Ditto.
15080
15081 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15082
36adf6ce
LMI
15083 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15084
e83cc1f7
LMI
150852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15086
8a20ca4c
LMI
15087 * custom.el (defcustom): Clarify that :set is only used in the
15088 Customize user interface (bug#6089).
15089
83319045
LMI
15090 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15091 associated with a file, refuse to run instead of erroring out
15092 (bug#6084).
15093
a8392169
LMI
15094 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15095 the doc string, since it appears that using `fill-column' always
15096 controls the width (bug#7845).
15097
e83cc1f7
LMI
15098 * simple.el (shell-command-on-region): Say where the error output
15099 went if `shell-command-default-error-buffer' is set (bug#6857).
15100
e47ca23b
KM
151012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15102
15103 * allout.el (allout-yank-processing): Adjust cursor position for
15104 backwards-deleted space.
15105
15106 (allout-rebullet-heading): Register changes with
15107 allout-exposure-changed-hook, so the modified topic is properly
15108 decorated.
15109
5cf56143
LMI
151102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15111
08549772
LMI
15112 * minibuffer.el (completion-in-region): Document PREDICATE
15113 (bug#7136).
15114
48e96771
LMI
15115 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15116 of keyword/argument pairs (bug#6904).
15117
c8af70e1
SM
15118 * replace.el (multi-occur):
15119 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15120
e17d05e2
LMI
151212011-07-02 Drew Adams <drew.adams@oracle.com>
15122
15123 * dired.el (dired-mark-if): Make the message about whether it's
15124 marking or unmarking clearer (bug#8523).
15125
063b0e45
LMI
151262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15127
15128 * disp-table.el (display-table-print-array): New function.
15129 (describe-display-table): Use it to print the vectors more pretty
15130 (Bug#8859).
15131
28545e04
MR
151322011-07-02 Martin Rudalics <rudalics@gmx.at>
15133
15134 * window.el (window-state-get-1): Don't assign clone numbers.
15135 Add clone-of item to list of window parameters.
15136 (window-state-put-2): Don't process clone numbers.
15137 (display-buffer-alist): Fix doc-string.
15138
3349e122
SM
151392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15140
15141 * subr.el (remq): Don't allocate if it's not needed.
15142 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15143 (keymap--merge-bindings): New functions.
15144 (keymap-canonicalize): Use them to refine the canonicalization.
15145 * minibuffer.el (minibuffer-local-completion-map)
15146 (minibuffer-local-must-match-map): Move initialization from C.
15147 (minibuffer-local-filename-completion-map): Move initialization from C;
15148 don't inherit from anything here.
15149 (minibuffer-local-filename-must-match-map): Make obsolete.
15150 (completing-read-default): Use make-composed-keymap to combine
15151 minibuffer-local-filename-completion-map with either
15152 minibuffer-local-must-match-map or
15153 minibuffer-local-filename-completion-map.
15154
d224ac83
GM
151552011-07-01 Glenn Morris <rgm@gnu.org>
15156
3de63bf8
GM
15157 * type-break.el (type-break-time-sum): Use dolist.
15158
d224ac83
GM
15159 * textmodes/flyspell.el (flyspell-word-search-backward):
15160 Replace CL function.
15161
1a1e3f32
SM
151622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15163
fe3f64d5
SM
15164 * mouse.el (mouse--strip-first-event): New function.
15165 (function-key-map): Use it to map fringe clicks to normal clicks
15166 by default.
15167
eb604e34
SM
15168 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15169 (vc-bzr-revision-completion-table): Add support for annotate and date.
15170
1a1e3f32
SM
15171 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15172 inherit from parent.
15173
5bd35902
LMI
151742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15175
ace6c69c 15176 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15177 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15178
191e2bed
LMI
15179 * dired.el (dired-mode): Fix up the doc string as suggested by
15180 Drew Adams (bug#8817).
15181
5bd35902
LMI
15182 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15183 cookie, since the manual says that it should be possible to add
15184 this function to `find-file-hook' (bug#8709).
15185
eee8207a
TZ
151862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15187
15188 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15189 here. Noted Ted Zlatanov as the maintainer.
15190 (cfengine-common-settings, cfengine-common-syntax): New functions
15191 to set up common things between `cfengine-mode' and
15192 `cfengine3-mode'.
15193 (cfengine3-mode): New mode.
15194 (cfengine3-defuns cfengine3-defuns-regex
15195 (cfengine3-class-selector-regex cfengine3-category-regex)
15196 (cfengine3-vartypes cfengine3-font-lock-keywords)
15197 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15198 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15199
36b148cf
MA
152002011-07-01 Michael Albinus <michael.albinus@gmx.de>
15201
15202 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15203
15204 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15205
0bf4ba9a
MR
152062011-07-01 Martin Rudalics <rudalics@gmx.at>
15207
15208 * window.el (same-window-buffer-names, same-window-regexps)
15209 (same-window-p, special-display-frame-alist)
15210 (special-display-popup-frame, special-display-function)
15211 (special-display-buffer-names, special-display-regexps)
15212 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15213 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15214 (split-window-preferred-function, split-height-threshold)
15215 (split-width-threshold, even-window-heights)
15216 (display-buffer-mark-dedicated, window-splittable-p)
15217 (split-window-sensibly, window-safely-shrinkable-p):
15218 Un-obsolete.
15219 (display-buffer): Don't spread args with function specifier
15220 because special-display-popup-frame won't like it.
15221
35837f51
PE
152222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15223
d0672f86
PE
15224 Time-stamp simplifications and fixes.
15225 These improve accuracy slightly, and future-proof the code
15226 against some potential changes to current-time format.
15227
b9444d97
PE
15228 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15229 by using time-since and float-time.
15230
0ef923dc
PE
15231 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15232 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15233 + NNN microseconds".
15234
2f81380d
PE
15235 * type-break.el (type-break-time-sum): Rewrite using time-add.
15236
845b5c3e
PE
15237 * play/hanoi.el (hanoi-current-time-float): Remove.
15238 All uses replaced by float-time.
15239
ee6f1be0
PE
15240 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15241 This yields a more-accurate answer.
15242 (rng-time-to-float): Remove; no longer needed.
15243
fe955043
PE
15244 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15245
5777162a
PE
15246 * calendar/timeclock.el (timeclock-seconds-to-time):
15247 Defalias to seconds-to-time, since they're the same thing.
15248
3103f8b6 15249 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15250 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15251 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15252
0e61a35f
SM
152532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15254
15255 * window.el (bury-buffer): Don't iconify the only frame.
15256 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15257 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15258
ddd63a1e
CY
152592011-07-01 Chong Yidong <cyd@stupidchicken.com>
15260
0e61a35f
SM
15261 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15262 Add mouse-yank-primary.
ddd63a1e 15263
055f4923
TZ
152642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15265
15266 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15267
6a2fb145
SM
152682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15271 (find-library-name): Use it to find relative load names when provided
15272 absolute file name (bug#8803).
15273
fd4983f2
LMI
152742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15275
887d14ad
LMI
15276 * textmodes/flyspell.el (flyspell-word): Consider words that
15277 differ only in case as potential doublons (bug#5687).
15278
c53dc7fc
LMI
15279 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15280 Remove two rather uninteresting debugging-like messages to make
15281 debbugs.el more silent.
15282
fd4983f2
LMI
15283 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15284 a password-like phrase.
15285
7a71b18d 152862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15287
15288 * progmodes/cc-guess.el: New file.
15289
6a2fb145 15290 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15291
15292 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15293 derived from `c-basic-common-init'.
15294
15295 * progmodes/cc-mode.el (top-level): Require cc-guess.
15296 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15297
1fa280a3
LM
152982011-06-30 Lawrence Mitchell <wence@gmx.li>
15299
15300 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15301
e6597158
AM
153022011-06-30 Alan Mackenzie <acm@muc.de>
15303
1fa280a3
LM
15304 * progmodes/cc-engine.el (c-guess-continued-construct):
15305 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15306 lock is disabled. Name this case as "CASE G".
15307
68ba37fb
KM
153082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15309
15310 * allout.el (allout-yank-processing): Fix injection of extra space
15311 between bullet and non-whitespace character in first topic when
15312 pasting, ensuring that the actual spacing in the pasted topic
15313 following the bullet char is preserved. This extra space was
15314 causing pasted encrypted topics to get a decrypted status even
15315 when the content was actually still encrypted. Now the decryption
15316 status from before the paste is preserved.
15317
15318 (allout-flag-region): Set all allout overlays so they evaporate
15319 when reduced to zero length (evanescent), to prevent overlay
15320 leakage.
15321
887a0b34
GM
153222011-06-30 Glenn Morris <rgm@gnu.org>
15323
94b9acce
GM
15324 * w32-fns.el (w32-charset-info-alist): Declare.
15325
1d9b46d4
GM
15326 * find-dired.el (find-grep-options): Simplify.
15327
cc232200
GM
15328 * term/ns-win.el (ns-set-resource): Declare.
15329
28e77c46
GM
15330 * ses.el (row, col): Declare dynamic variables honestly.
15331
887a0b34
GM
15332 * textmodes/reftex-parse.el (index-tags): Declare.
15333
658d8eb8
CY
153342011-06-30 Chong Yidong <cyd@stupidchicken.com>
15335
15336 * cus-edit.el (customize-push-and-save): New function.
15337
15338 * files.el (hack-local-variables-confirm): Use it.
15339
1fa280a3
LM
15340 * custom.el (load-theme): New arg NO-CONFIRM.
15341 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15342 (custom-enabled-themes): Doc fix.
15343
15344 * cus-theme.el (customize-create-theme)
15345 (custom-theme-merge-theme): Callers to load-theme changed.
15346
bb617717
LMI
153472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15348
d61bdd5d
LMI
15349 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15350 short URLs have at least one dot in them (bug #7614).
15351
bb617717
LMI
15352 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15353 nil, because using a pty is apparently too slow (bug #895).
15354
2f31f37a
LMI
153552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15356
15357 * mail/sendmail.el (sendmail-query-once): New function.
15358 (sendmail-query-once-function): New variable.
15359
3076b24e
GM
153602011-06-29 Glenn Morris <rgm@gnu.org>
15361
faf2a174
GM
15362 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15363
3076b24e
GM
15364 * ses.el (top-level): Require cl when compiling.
15365 (ses-set-localvars): Fix error statement.
15366 Call it at compile time to silence a storm of warnings.
15367
5386012d
MR
153682011-06-29 Martin Rudalics <rudalics@gmx.at>
15369
15370 * window.el (normalize-live-buffer): Rename to
15371 window-normalize-buffer.
15372 (normalize-live-frame): Rename to window-normalize-frame.
15373 (normalize-any-window): Rename to window-normalize-any-window.
15374 (normalize-live-window): Rename to window-normalize-live-window.
15375 (make-window-atom): Rename to window-make-atom.
15376 (window-resize-reset): Rename to window--resize-reset.
15377 (window-resize-reset-1): Rename to window--resize-reset-1.
15378 (resize-mini-window): Rename to window--resize-mini-window.
15379 (resize-subwindows-skip-p): Rename to
15380 window--resize-subwindows-skip-p.
15381 (resize-subwindows-normal): Rename to
15382 window--resize-subwindows-normal.
15383 (resize-subwindows): Rename to window--resize-subwindows.
15384 (resize-other-windows): Rename to window--resize-siblings.
15385 (resize-this-window): Rename to window--resize-this-window.
15386 (resize-root-window): Rename to window--resize-root-window.
15387 (resize-root-window-vertically): Rename to
15388 window--resize-root-window-vertically.
15389 (normalize-buffer-to-display): Rename to
15390 window-normalize-buffer-to-display.
15391 (normalize-buffer-to-switch-to): Rename to
15392 window-normalize-buffer-to-switch-to.
15393 Correspondingly update all callers of the functions listed
15394 above.
15395 (display-buffer-alist, display-buffer-normalize-arguments)
15396 (display-buffer-normalize-options, display-buffer)
15397 (display-buffer-alist-set): Use "function" instead of
15398 "fun-with-args".
15399
1176868d
CY
154002011-06-28 Chong Yidong <cyd@stupidchicken.com>
15401
15402 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15403 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15404 debbugs.gnu.org. Mention acknowledgment email.
15405
20a7a65f
LMI
154062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15407
15408 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15409 buffer multibyteness, since it shouldn't matter.
15410
5f45cca5
MR
154112011-06-28 Martin Rudalics <rudalics@gmx.at>
15412
15413 * window.el (display-buffer-in-side-window): Handle dedicated
15414 windows as in display-buffer-reuse-window.
15415 (display-buffer-normalize-alist): Use value of override
15416 specifier.
15417 (display-buffer-normalize-specifiers): Use value of
15418 other-window-means-other-frame specifier.
15419 (display-buffer-alist): Rewrite some texts in widgets.
15420 (display-buffer): Spread arguments when calling function
15421 specified by fun-with-args.
15422
ad85fe1f
DD
154232011-06-28 Deniz Dogan <deniz@dogan.se>
15424
1fa280a3
LM
15425 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15426 Unnest `let'.
da68c4c8 15427
ad85fe1f
DD
15428 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15429 selectors (Bug#5732).
ec49bd31 15430 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15431
a08cc025
JA
154322011-06-27 Jari Aalto <jari.aalto@cante.net>
15433
15434 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15435 (eshell-ls-date-format): New defcustom.
15436 (eshell-ls-file): Use it.
15437
e2b551c5
SM
154382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15441
8982b231
KY
154422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15443
15444 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15445 (ange-ftp-make-tmp-name): New arg.
15446 (ange-ftp-file-local-copy): Use it.
15447
36c9fa27
J
154482011-06-27 Jambunathan K <kjambunathan@gmail.com>
15449
15450 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15451 no-conversion (Bug#8870).
15452
d68443dc
MR
154532011-06-27 Martin Rudalics <rudalics@gmx.at>
15454
15455 * window.el (window-right, window-left, window-child)
15456 (window-child-count, window-last-child)
15457 (window-iso-combination-p, walk-window-tree-1)
15458 (window-atom-check-1, window-tree-1, delete-window)
15459 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15460 new naming conventions - window-vchild, window-hchild,
15461 window-next and window-prev are now called window-top-child,
15462 window-left-child, window-next-sibling and window-prev-sibling
15463 respectively.
d615d6d2
MR
15464 (resize-window-reset): Rename to window-resize-reset.
15465 (resize-window-reset-1): Rename to window-resize-reset-1.
15466 (resize-window): Rename to window-resize.
15467 (window-min-height, window-min-width)
15468 (resize-mini-window, resize-this-window, resize-root-window)
15469 (resize-root-window-vertically, adjust-window-trailing-edge)
15470 (enlarge-window, shrink-window, maximize-window)
15471 (minimize-window, delete-window, quit-restore-window)
15472 (split-window, balance-windows, balance-windows-area-adjust)
15473 (balance-windows-area, window-state-put-2)
15474 (display-buffer-even-window-sizes, display-buffer-set-height)
15475 (display-buffer-set-width, set-window-text-height)
15476 (fit-window-to-buffer): Rename all "resize-window" prefixed
15477 calls to use the "window-resize" prefix convention.
15478 (display-buffer-alist): Fix symbol for label specifier.
15479 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15480 corresponding specifier.
15481 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15482
b6458526
VB
154832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15484
15485 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15486 convention.
15487 (ses-call-printer): Does not pass an empty string to formatter when the
15488 cell is empty to keep from barking printer Calc math-format-value.
15489
d31fd9ac
RS
154902011-06-27 Richard Stallman <rms@gnu.org>
15491
43d5bf84
RS
15492 * battery.el (battery-mode-line-limit): New variable.
15493 (battery-update): Handle it.
15494
d31fd9ac
RS
15495 * mail/rmailmm.el (rmail-mime-process-multipart):
15496 Handle truncated messages.
15497
819a6054
GM
154982011-06-27 Glenn Morris <rgm@gnu.org>
15499
15500 * progmodes/flymake.el (flymake-err-line-patterns):
15501 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15502
cedc73f2
VB
155032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15504
819a6054 15505 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15506 (ses--clean-!, ses--clean-_): New functions.
15507 (ses-range): Add configurability of readout order, and conversion
15508 to Calc vector.
15509
5e5d49b6
VB
15510 * ses.el (ses-repair-cell-reference-all): New function.
15511 (ses-cell-symbol): Set macro as safe, so that it can be used in
15512 formulas.
15513
56e6cc31 15514 * ses.el: Update cycle detection algorithm.
90ca8b49 15515 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15516 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15517 (ses-set-localvars): New function.
15518 (ses-make-cell): Add property-list as a cell element.
15519 (ses-cell-property-get-fun, ses-cell-property-get)
15520 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15521 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15522 New functions.
90ca8b49
VB
15523 (ses-cell-property-set, ses-cell-property-pop)
15524 (ses-cell-property-get-handle): New macro.
15525 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15526 New aliases, used for code readability.
15527 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15528 cycle detection.
15529 (ses-self-reference-early-detection): New defcustom.
fac916bf 15530 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15531 (ses-mode): Use ses-set-localvars.
15532 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15533 before lauching the update processing.
15534 (ses-initialize-Dijkstra-attempt): New function.
15535 (ses-recalculate-cell): Update for cycle detection based on
15536 Dijkstra algorithm.
15537
2bb63e81
VB
15538 * ses.el: Fix commenting and indenting convention.
15539
c9d29fb8
SM
155402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15541
15542 * bs.el (bs-cycle-next): Complete last change.
15543
d8e4b68b
JB
155442011-06-27 Drew Adams <drew.adams@oracle.com>
15545
15546 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15547
40098786
LMI
155482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15549
c9d29fb8
SM
15550 * net/network-stream.el (network-stream-open-starttls):
15551 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15552 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15553
40098786
LMI
15554 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15555 to binary to possibly avoid line encoding issues on Windows (among
15556 other things).
15557
468d09d4
LMI
155582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15559
15560 * net/network-stream.el (open-network-stream): Return an :error
15561 saying what the problem was, if possible.
15562
15563 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15564 server.
15565
15566 * net/network-stream.el (network-stream-open-starttls): If we
15567 wanted to use STARTTLS, and the server offered it, but we weren't
15568 able to because we had no STARTTLS support, then close the connection.
15569 (open-network-stream): Return an :error element, if present.
15570
16f07dd7
CY
155712011-06-26 Chong Yidong <cyd@stupidchicken.com>
15572
88821ca0
CY
15573 * hl-line.el (hl-line-sticky-flag): Doc fix.
15574 (global-hl-line-sticky-flag): New option (Bug#8323).
15575 (global-hl-line-highlight): Obey it.
15576
16f07dd7
CY
15577 * vc/vc.el (vc-revert-show-diff): Default to t.
15578
6b5ccddf
KM
155792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15580
c9d29fb8
SM
15581 * allout-widgets.el (allout-widgets-post-command-business):
15582 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15583 undecorated when an isearch is continued past, and isearch
15584 automatically collapses them. This leads to "widget leaks", where
15585 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15586 hidden widgets can slow down cursor travel, substantially.
15587 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15588 so we're doing without this nicety.
15589
15590 (allout-widgets-tally-string): Don't try to do a hash-table-count
15591 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15592 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15593 *Messages* when allout-widgets-maintain-tally is t.
15594
355f2e07
MR
155952011-06-26 Martin Rudalics <rudalics@gmx.at>
15596
15597 * window.el (display-buffer-normalize-argument): Rename to
15598 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15599 LABEL argument. Respect special-display-function when popping up
15600 a new frame. Fix code searching for a window showing the buffer
15601 on another frame.
c9d29fb8
SM
15602 (display-buffer-normalize-specifiers):
15603 Call display-buffer-normalize-arguments.
355f2e07
MR
15604 (display-buffer-in-window): Don't undedicate the window if its
15605 buffer remains the same.
15606 Reported by Drew Adams <drew.adams@oracle.com>.
15607 (display-buffer-alist): Add choice for same-window macro
15608 specfier.
15609 (display-buffer): Mention special meaning of LABEL argument in
15610 doc-string. Fix quoting. Don't pop up a new frame even as
15611 fallback.
15612
7ca8fc42
JB
156132011-06-26 Juanma Barranquero <lekktu@gmail.com>
15614
15615 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15616 avoid deleting the current window in some cases (bug#8911).
15617
bc312254
AS
156182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15619
15620 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15621 (Bug#8934)
15622
2db18f3f
LMI
156232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15624
c9d29fb8
SM
15625 * net/network-stream.el (network-stream-open-starttls):
15626 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15627 (network-stream-open-tls): Ditto.
15628
6302e0d3
LL
156292011-06-26 Leo Liu <sdl.web@gmail.com>
15630
15631 * register.el (registerv): New struct.
15632 (registerv-make): New function.
c9d29fb8
SM
15633 (jump-to-register, describe-register-1, insert-register):
15634 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15635 struct. (Bug#8415)
15636
5fdd4046
CY
156372011-06-26 Chong Yidong <cyd@stupidchicken.com>
15638
2afef60a
CY
15639 * vc/vc.el (vc-revert-show-diff): New defcustom.
15640 (vc-diff-internal): New arg specifying diff buffer.
15641 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15642 reuse an existing *vc-diff* buffer (Bug#8927).
15643
5fdd4046
CY
15644 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15645
e93db24a
GM
156462011-06-26 Glenn Morris <rgm@gnu.org>
15647
15648 * progmodes/f90.el (f90-critical-indent): New option.
15649 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15650 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15651 (f90-mode): Doc fix.
15652 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15653 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15654 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15655 (f90-match-end): Handle block, critical.
15656
eefff499
GM
156572011-06-25 Glenn Morris <rgm@gnu.org>
15658
f6ba4cc9
GM
15659 * calendar/diary-lib.el (diary-included-files): Doc fix.
15660 (diary-include-files): New function, extracted from
15661 diary-include-other-diary-files and diary-mark-included-diary-files.
15662 (diary-include-other-diary-files, diary-mark-included-diary-files):
15663 Just call diary-include-files.
15664 (diary-mark-entries): Reset diary-included-files on first call.
15665
16712304
GM
15666 * calendar/diary-lib.el (diary-mark-entries)
15667 (diary-mark-included-diary-files):
15668 Visit included diary-files in temp buffers.
15669
5d8e0d43
GM
15670 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15671 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15672 (f90-start-block-re, f90-imenu-generic-expression)
15673 (f90-looking-at-program-block-start, f90-no-block-limit):
15674 Add support for submodules.
15675
ccf7a5d5
GM
15676 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15677 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15678
11fdef7d 156792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15680
15681 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15682 buffer-file-type before setting its value, to avoid disastrous
eefff499 15683 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15684
74f53697
JB
156852011-06-25 Juanma Barranquero <lekktu@gmail.com>
15686
15687 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15688
15689 * ses.el (ses-unload-function):
15690 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15691
15692 * proced.el (proced-unload-function):
15693 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15694
18a4ce5e
AR
156952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15696
15697 * server.el (server-create-window-system-frame): Add parameters arg.
15698 (server-process-filter): Doc fix. Handle frame-parameters.
15699
519d22cc
JB
157002011-06-25 Juanma Barranquero <lekktu@gmail.com>
15701
15702 Fix bug#8730, bug#8781.
15703
15704 * loadhist.el (unload--set-major-mode): New function.
15705 (unload-feature): Use it.
15706
15707 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15708 (python-unload-function): New function.
15709
c206f5b0
SM
157102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15713
f9ad64f3
GS
157142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15715
15716 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15717 the candidates list.
15718
7d0da90e
JB
157192011-06-24 Juanma Barranquero <lekktu@gmail.com>
15720
15721 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15722
14b4e83d
RS
157232011-06-23 Richard Stallman <rms@gnu.org>
15724
15725 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15726 (rmail-variables): Set next-error-move-function.
15727 (rmail-what-message): Take argument POS.
15728 (rmail-next-error-move): New function.
15729
273d2baf
SM
157302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15733 messages for adjacent non-terminals.
15734
56c2cc9a
RS
157352011-06-23 Richard Stallman <rms@gnu.org>
15736
15737 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15738 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15739 (rmail-start-mail): Don't specify use of rmail-mail-return;
15740 that's done by mail-bury now.
15741 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15742
d59eb518
MA
157432011-06-23 Michael Albinus <michael.albinus@gmx.de>
15744
15745 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15746 SIZE is a number.
15747
02cfc6d6
MR
157482011-06-23 Martin Rudalics <rudalics@gmx.at>
15749
15750 * window.el (get-lru-window, get-mru-window)
15751 (get-largest-window): Never return a minibuffer window.
15752 (display-buffer-pop-up-window): Fix a bug that could lead to
15753 reusing the minibuffer window.
15754 (display-buffer): Pass original specifier argument to
15755 display-buffer-function instead of the normalized one.
15756 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15757
4e323265
LL
157582011-06-22 Leo Liu <sdl.web@gmail.com>
15759
15760 * minibuffer.el (completing-read-function)
15761 (completing-read-default): Move from minibuf.c
15762
7a70468f
RS
157632011-06-22 Richard Stallman <rms@gnu.org>
15764
50718fc2
RS
15765 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15766 to Rmail even if not started by a special Rmail command.
15767
7a70468f
RS
15768 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15769 Copy the buffer currently showing just one message.
15770
297dde5a
RW
157712011-06-22 Roland Winkler <winkler@gnu.org>
15772
15773 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15774 (bibtex-clean-entry): First delete the old key so that a
15775 customized algorithm for generating the new key does not get
15776 confused by the old key.
15777 (bibtex-url): Obey regexp of first step.
15778 (bibtex-search-entries): Do not use add-to-list with local
15779 list-var.
15780
97bb1093
LMI
157812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15782
15783 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15784 stored a user name, then query for the password first, instead of
15785 waiting for SMTP to give an error message and the trying again.
15786
1c0f1a19
JD
157872011-06-22 Lawrence Mitchell <wence@gmx.li>
15788
15789 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15790 BUFFER in call-process.
15791
396f7c9d
LMI
157922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15793
15794 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15795 QUIT twice.
ddb7ffee
LMI
15796 (smtpmail-try-auth-methods): Require user name and password from
15797 auth-source.
396f7c9d 15798
8998d1b3
MR
157992011-06-22 Martin Rudalics <rudalics@gmx.at>
15800
15801 * window.el (display-buffer-default-specifiers)
15802 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15803 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15804 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15805
15806 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15807 (special-display-frame-alist, special-display-popup-frame):
15808 Remove duplicate declarations. These are now in window.el.
15809
4ea31e07
LMI
158102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15811
c9d29fb8
SM
15812 * mail/smtpmail.el (smtpmail-via-smtp):
15813 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15814 server supports it. SMTP servers that support STARTTLS commonly
15815 require it.
15816
15817 * net/network-stream.el (network-stream-open-starttls): Support
15818 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15819 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15820
95f41d9a
LMI
15821 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15822 upgrades with `open-network-stream', and rely solely on
15823 auth-source for all credentials. Big changes throughout the file,
15824 but in particular:
c9d29fb8
SM
15825 (smtpmail-auth-credentials): Remove.
15826 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15827 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15828 MAIL FROM, too.
95f41d9a 15829
c9d29fb8
SM
15830 * net/network-stream.el (network-stream-open-starttls):
15831 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15832 STARTTLS.
15833 (auth-source): Require.
15834 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15835 (network-stream-certificate): Change cert-cert to cert and
15836 cert-key to key.
4ea31e07 15837
065ec2c7
MA
158382011-06-21 Michael Albinus <michael.albinus@gmx.de>
15839
15840 * net/tramp-cache.el (top): Don't load the persistency file when
15841 "emacs -Q" has been called.
15842
cd93b359
DR
158432011-06-21 Tim Harper <timcharper@gmail.com>
15844
d8e4b68b
JB
15845 * term/ns-win.el (ns-initialize-window-system):
15846 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15847 resource to NO as it is not yet supported by the NS port.
15848
ae9c0411
JB
158492011-06-21 Juanma Barranquero <lekktu@gmail.com>
15850
15851 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15852 (list-dynamic-libraries): ...not here.
15853
7f3f739f
LL
158542011-06-21 Leo Liu <sdl.web@gmail.com>
15855
15856 * subr.el (sha1): Implement sha1 using secure-hash.
15857
327c8fb1
MR
158582011-06-21 Martin Rudalics <rudalics@gmx.at>
15859
15860 * window.el (display-buffer-alist): In default value do not
15861 enforce searching a window on any but the selected frame.
15862 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15863 (display-buffer-select-window): Remove function.
15864 (display-buffer-in-window): When a window on another frame gets
15865 reused, do not select it any more but just raise its frame if
15866 necessary (Bug#8851) and (Bug#8856).
15867 (display-buffer-normalize-options): Handle pop-up-frames related
15868 options more faithfully.
15869 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15870 window if it is on another frame.
c9d29fb8
SM
15871 (display-buffer-alist, display-buffer-default-specifiers):
15872 Don't make new frame unsplittable by default.
9e9de014
MR
15873 (display-buffer-normalize-argument): Fix doc-string typo and use
15874 'same-frame-other-window instead of 'other-window when associating
15875 with display-buffer-macro-specifiers.
327c8fb1 15876
7cf3f556
VB
158772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15878
15879 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15880 New functions.
15881 (5x5-mode-map, 5x5-mode-menu): Bind them.
15882 (5x5-draw-grid): Tweak the solver's rendering.
15883
60a406cf
SM
158842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15887 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15888
d8e4b68b 158892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15890
15891 * menu-bar.el: Use function variable instead of switch-to-buffer.
15892 (menu-bar-select-buffer-function): New variable.
60a406cf 15893 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15894
478d6f95
SM
158952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15898 variable's status.
15899
ca530739
JD
159002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15901
15902 * x-dnd.el (x-dnd-version-from-flags)
15903 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15904 and long as number (Bug#8899).
15905 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15906
bcd70d97
SM
159072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15908
60a406cf 15909 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15910 (completion-try-completion, completion-all-completions): Compute the
15911 metadata argument if it's missing; make it optional (bug#8795).
15912
60a406cf 15913 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15914 (widget-complete): Use new :completion-function property.
15915 (widget-completions-at-point): New function.
15916 (default): Use :completion-function instead of :complete.
60a406cf
SM
15917 (widget-default-completions): Rename from widget-default-complete;
15918 Rewrite.
bcd70d97
SM
15919 (widget-string-complete, widget-file-complete, widget-color-complete):
15920 Remove functions.
15921 (file, symbol, function, variable, coding-system, color):
15922 * international/mule-cmds.el (default-input-method, charset)
15923 (language-info-custom-alist):
15924 * cus-edit.el (face): Use new property :completions.
15925
15926 * progmodes/pascal.el (pascal-completions-at-point): New function.
15927 (pascal-mode): Use it.
15928 (pascal-mode-map): Use completion-at-point.
15929 (pascal-toggle-completions): Make obsolete.
15930 (pascal-complete-word, pascal-show-completions):
15931 * progmodes/octave-mod.el (octave-complete-symbol):
15932 Redefine as obsolete alias.
15933 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15934 Signal absence of completion info for old Octave,
15935 (inferior-octave-complete): Redefine as obsolete alias.
15936 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15937 (meta-completions-at-point): Rename from meta-complete-symbol and
15938 adapt it for use on completion-at-point-functions.
15939 (meta-common-mode): Use it.
15940 (meta-looking-at-backward, meta-match-buffer): Remove.
15941 (meta-complete-symbol): Redefine as obsolete alias.
15942 (meta-common-mode-map): Use completion-at-point.
15943 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15944 (makefile-mode-map): Use completion-at-point.
15945 (makefile-completions-at-point): Rename from makefile-complete and
15946 adapt it for use on completion-at-point-functions.
15947 (makefile-mode): Use it.
15948 (makefile-complete): Redefine as obsolete alias.
15949
aebf69c8
DD
159502011-06-20 Deniz Dogan <deniz@dogan.se>
15951
15952 * net/rcirc.el: Delete trailing whitespaces once and for all.
15953
bfbbb27d
DC
159542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15955
15956 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15957
d264a46b
CY
159582011-06-19 Chong Yidong <cyd@stupidchicken.com>
15959
4ca009e5
CY
15960 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15961
d264a46b
CY
15962 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15963
fbf5b3ce
MR
159642011-06-19 Martin Rudalics <rudalics@gmx.at>
15965
15966 * window.el (display-buffer-other-window-means-other-frame):
15967 Call display-buffer-normalize-alist.
15968 (display-buffer-normalize-specifiers-1): Rename to
15969 display-buffer-normalize-argument. New argument other-frame.
15970 Rewrite.
15971 (display-buffer-normalize-specifiers-2): Rename to
15972 display-buffer-normalize-options.
15973 (display-buffer-normalize-alist-1): New function.
15974 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15975 display-buffer-normalize-alist.
15976 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15977 (display-buffer-normalize-options-inhibit): New variable.
15978 (display-buffer-normalize-specifiers): Rewrite calling
15979 display-buffer-normalize-alist,
15980 display-buffer-normalize-argument, and
15981 display-buffer-normalize-options. Don't call the latter if
15982 display-buffer-normalize-options-inhibit is non-nil.
15983 (frame-auto-delete): New option.
15984 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15985 (window-list-no-nils, window-state-ignored-parameters)
15986 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15987 (window-state-put-1, window-state-put-2, window-state-put):
15988 New functions.
9a028c23
MR
15989 (display-buffer-normalize-options): Move special-display-p group
15990 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15991
6d10d800
CY
159922011-06-18 Chong Yidong <cyd@stupidchicken.com>
15993
6420d28b
CY
15994 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15995 groups (Bug#8776).
15996 (rx-submatch-n): New function.
15997 (rx): Document it.
15998
ddb8b596
CY
15999 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16000 (Bug#8768).
16001
16002 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16003
77080289
CY
16004 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16005
61dfb316
CY
16006 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16007 anytime existing face settings are present (Bug#8889).
16008
6d10d800
CY
16009 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16010 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16011 Remove unused argument.
16012
be3fb2b8
MR
160132011-06-18 Martin Rudalics <rudalics@gmx.at>
16014
bcd70d97
SM
16015 * window.el (display-buffer-default-specifiers):
16016 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16017 pop-up-window-min-width, and another reuse-window specifier
16018 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16019 (display-buffer-normalize-specifiers-2):
16020 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16021 pop-up-windows is unset. Add a reuse-window specifier for the
16022 case popping up a new window fails.
16023 (special-display-popup-frame): Remove double quoting.
28dec25a 16024 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16025
1c6d8c76
SM
160262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16027
16028 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16029 according to comint-completion-addsuffix.
16030
16031 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16032 (pcomplete-suffix-list): Mark as obsolete.
16033 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16034 pcomplete-seen in the closure.
16035 (pcomplete-comint-setup): Setup completion-at-point as well.
16036 (pcomplete--entries): New function.
16037 (pcomplete--env-regexp): New var.
16038 (pcomplete-entries): Rewrite to work with partial-completion and
16039 without relying on pcomplete-suffix-list.
16040 (pcomplete-pare-list): Remove, unused.
16041
25aef8b8
MR
160422011-06-17 Martin Rudalics <rudalics@gmx.at>
16043
16044 * window.el (display-buffer-alist): Set pop-up-window-min-height
16045 and pop-up-window-min-width in default value. Reported by
16046 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16047 other-window-means-other-frame.
16048 (display-buffer-macro-specifiers): Comment out entry for
16049 other-window specifier.
16050 (display-buffer-other-window-means-other-frame): New function.
16051 (display-buffer-normalize-specifiers-1): New arguments
16052 buffer-name and label. Treat other-window case specially.
16053 (display-buffer-normalize-specifiers-2): Treat other-window case
16054 specially.
16055 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16056 (display-buffer-normalize-specifiers):
16057 Call display-buffer-normalize-specifiers-3.
25aef8b8 16058
dbad4f69
MR
160592011-06-17 Martin Rudalics <rudalics@gmx.at>
16060
16061 * window.el (same-window-p): Fix two typos introduced when
16062 adding with-no-warnings.
d1067961
MR
16063 (display-buffer-normalize-specifiers-1): Don't check
16064 pop-up-frames for 'unset initialization.
16065 (display-buffer-normalize-specifiers-2): Major rewrite using
16066 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16067 (pop-up-frames, display-buffer-reuse-frames)
16068 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16069 Suggested by David Engster <deng@randomsample.de>.
16070 (even-window-heights): Initialize to 'unset.
16071 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16072 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16073 other window case.
dbad4f69 16074
9b9c9e3a
MR
160752011-06-16 Martin Rudalics <rudalics@gmx.at>
16076
bcd70d97
SM
16077 * window.el (display-buffer-normalize-specifiers-1):
16078 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16079 second argument of display-buffer (Bug#8865).
981d5c09
MR
16080 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16081 (switch-to-buffer-other-window-same-frame)
16082 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16083 Adams (Bug#8875).
9c2755e9
MR
16084 (display-buffer): Don't check noninteractive when calling
16085 display-buffer-pop-up-frame.
16086 (display-buffer-pop-up-frame): Never pop up a frame in
16087 noninteractive mode (Bug#8857).
67222e1d
MR
16088 (enlarge-window, shrink-window): Don't report an error when the
16089 window can't be resized as requested (Bug#8862).
9b9c9e3a 16090
2b75be67
SM
160912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16092
9ffdd3ba
SM
16093 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16094
cb581a67
SM
16095 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16096
2b75be67
SM
16097 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16098
8c0e3589
AM
160992011-06-15 Alan Mackenzie <acm@muc.de>
16100
cb581a67
SM
16101 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16102 for declarators, disable knr checking to speed up for normal files.
16103 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16104
b96e6cde
LMI
161052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16106
4bba86e6
LMI
16107 * net/network-stream.el (open-network-stream): Add the keyword
16108 :always-query-capabilities for the case where you want to force a
16109 `plain' network connection, but the protocol still requires the
16110 capabilitiy command (i.e., SMTP and EHLO).
16111
2b75be67 16112 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16113 consistency with other `-live-p' functions.
16114
efdcdbf8
SM
161152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16116
16117 * window.el (same-window-buffer-names, same-window-regexps)
16118 (special-display-frame-alist, special-display-popup-frame)
16119 (special-display-function, special-display-buffer-names)
16120 (special-display-regexps, pop-up-frame-alist)
16121 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16122 (pop-up-windows, split-window-preferred-function)
16123 (split-height-threshold, split-width-threshold, even-window-heights)
16124 (display-buffer-mark-dedicated): Don't encourage the use of
16125 display-buffer-alist from Elisp code.
16126
c5cde042
DN
161272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16128
16129 * progmodes/python.el (python-mode): Derive from prog-mode.
16130 * progmodes/ps-mode.el (ps-mode):
16131 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16132 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16133 * progmodes/ld-script.el (ld-script-mode): Likewise.
16134
baa1c9ab
MR
161352011-06-15 Martin Rudalics <rudalics@gmx.at>
16136
16137 * window.el (display-buffer-alist): Trim default value to avoid
16138 popping up a new frame (Bug#8857) or reusing an arbitrary window
16139 on another frame.
16140 (display-buffer): Do not fall back on popping up a new frame in
16141 batch mode (Bug#8857).
16142
c5dd5a51
CY
161432011-06-14 Chong Yidong <cyd@stupidchicken.com>
16144
16145 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16146 (custom-theme-summary): New function.
16147 (customize-themes): Use it.
16148
d647b7c4
GM
161492011-06-13 Glenn Morris <rgm@gnu.org>
16150
16151 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16152
9481c002
MR
161532011-06-13 Martin Rudalics <rudalics@gmx.at>
16154
357f93d2
MR
16155 * help.el (help-window): Remove variable.
16156 (help-window-point-marker, temp-buffer-max-height)
16157 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16158 (help-print-return-message): Don't set help-window.
16159 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16160 (help-window-setup-finish): Remove.
16161 (help-window-display-message, help-window-setup)
16162 (with-help-window): Major rewrite based on new
16163 display-buffer-window variable.
16164
16165 * help-mode.el (help-mode-finish): Remove help-window related
16166 code.
16167
16168 * view.el (view-exits-all-viewing-windows): Remove reference to
16169 view-return-to-alist in doc-string.
16170 (view-return-to-alist): Make obsolete.
16171 (view-buffer): Call pop-to-buffer-same-window and remove
16172 undo-window code.
16173 (view-buffer-other-window): Call pop-to-buffer-other-window and
16174 simplify code. Ignore second argument.
16175 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16176 simplify code. Ignore second argument.
16177 (view-return-to-alist-update): Make obsolete.
16178 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16179 Rewrite using quit-restore window parameters.
2b75be67
SM
16180 (view-mode-exit): Rename second argument to EXIT-ONLY.
16181 Rewrite using quit-restore-window.
357f93d2
MR
16182 (View-exit, View-exit-and-edit, View-leave, View-quit)
16183 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16184 appropriate arguments.
16185 (view-end-message): Use quit-restore window parameter.
16186
9481c002
MR
16187 * window.el (display-buffer-function): Rewrite doc-string.
16188 (display-buffer-window, display-buffer-alist): New variables.
16189 (display-buffer-split-specifiers)
16190 (display-buffer-side-specifiers)
16191 (display-buffer-macro-specifiers): New constants.
16192 (display-buffer-even-window-sizes, display-buffer-set-height)
16193 (display-buffer-set-width, display-buffer-select-window)
16194 (display-buffer-in-window, display-buffer-reuse-window)
16195 (display-buffer-split-window-1, display-buffer-split-window)
16196 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16197 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16198 (display-buffer-in-side-window, normalize-buffer-to-display)
16199 (display-buffer-normalize-specifiers-1)
16200 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16201 (display-buffer-normalize-specifiers, display-buffer-frame):
16202 New functions.
9481c002
MR
16203 (display-buffer): Major rewrite.
16204 (display-buffer-other-window, display-buffer-other-frame)
16205 (pop-to-buffer, switch-to-buffer-other-window)
16206 (switch-to-buffer-other-frame): Rewrite.
16207 (display-buffer-same-window, display-buffer-same-frame)
16208 (display-buffer-same-frame-other-window)
16209 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16210 (pop-to-buffer-other-window)
16211 (pop-to-buffer-same-frame-other-window)
16212 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16213 (switch-to-buffer-other-window-same-frame): New functions.
16214 (same-window-p, special-display-p): Rewrite disabling warnings.
16215 Make obsolete.
16216 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16217 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16218 Make obsolete
16219 (same-window-buffer-names, same-window-regexps)
16220 (special-display-frame-alist, special-display-popup-frame)
16221 (special-display-function, special-display-buffer-names)
16222 (special-display-regexps, pop-up-frame-alist)
16223 (pop-up-frame-function, split-window-preferred-function)
16224 (split-height-threshold, split-width-threshold)
16225 (even-window-heights): Make obsolete.
16226
9db51aca
GM
162272011-06-12 Glenn Morris <rgm@gnu.org>
16228
16229 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16230 Misc simplifications.
9db51aca 16231
39cffb44
MR
162322011-06-12 Martin Rudalics <rudalics@gmx.at>
16233
16234 * window.el (window-safely-shrinkable-p): Restore function which
16235 was inadvertently removed in change from 2011-06-11. Declare as
16236 obsolete.
16237
2b75be67
SM
16238 * calendar/calendar.el (calendar-generate-window):
16239 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16240 window-safely-shrinkable-p.
16241
a8955be7
GM
162422011-06-12 Glenn Morris <rgm@gnu.org>
16243
16244 * progmodes/fortran.el (fortran-mode-syntax-table):
16245 * progmodes/f90.el (f90-mode-syntax-table):
16246 Set % to punctuation. (Bug#8820)
16247 (f90-find-tag-default): Remove, no longer needed.
16248
f0d4059d
DC
162492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16250
16251 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16252
1100a63c
CY
162532011-06-11 Chong Yidong <cyd@stupidchicken.com>
16254
16255 * image.el (image-animated-p): Return animation delay in seconds.
16256 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16257 (image-animate-timeout): Remove DELAY argument. Don't assume
16258 every subimage has the same delay; get it from image-animated-p.
16259 (image-animate): Caller changed.
16260
def722bf
MA
162612011-06-11 Michael Albinus <michael.albinus@gmx.de>
16262
16263 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16264 to ignored backtrace functions.
16265
0a2bb1a9
GM
162662011-06-11 Glenn Morris <rgm@gnu.org>
16267
16268 * calendar/appt.el (appt-disp-window-function): Doc fix.
16269 (appt-check): Handle overlapping appointments. (Bug#8337)
16270
6198ccd0
MR
162712011-06-11 Martin Rudalics <rudalics@gmx.at>
16272
16273 * window.el (window-tree-1, window-tree): New functions, moving
16274 the latter to window.el.
16275 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16276 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16277 (bw-refresh-edges): Remove.
16278 (balance-windows-1, balance-windows-2): New functions.
16279 (balance-windows): Rewrite in terms of window tree functions,
16280 balance-windows-1 and balance-windows-2.
16281 (bw-adjust-window): Remove.
16282 (balance-windows-area-adjust): New function with functionality of
16283 bw-adjust-window but using resize-window.
2b75be67
SM
16284 (set-window-text-height): Rewrite doc-string.
16285 Use normalize-live-window and resize-window.
16286 (enlarge-window-horizontally, shrink-window-horizontally):
16287 Rename argument to DELTA.
6198ccd0
MR
16288 (window-buffer-height): New function.
16289 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16290 Rewrite using new window resize routines.
2b75be67
SM
16291 (kill-buffer-and-window, mouse-autoselect-window-select):
16292 Use ignore-errors instead of condition-case.
6198ccd0
MR
16293 (quit-window): Call delete-frame instead of delete-windows-on
16294 for the only buffer on frame.
16295
9397e56f
MR
162962011-06-10 Martin Rudalics <rudalics@gmx.at>
16297
16298 * loadup.el (top-level): Load window before files for the sake
16299 of replace-buffer-in-windows.
16300
16301 * files.el (read-buffer-to-switch)
16302 (switch-to-buffer-other-window)
2b75be67
SM
16303 (switch-to-buffer-other-frame, display-buffer-other-frame):
16304 Move to window.el.
9397e56f
MR
16305
16306 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16307 (previous-buffer): Move to window.el.
16308
16309 * bindings.el (unbury-buffer): Move to window.el.
16310
16311 * window.el (delete-other-windows-vertically): Move after
16312 definition of delete-other-windows.
16313 (other-window, delete-windows-on, replace-buffer-in-windows):
16314 Move here from window.c.
16315 (record-window-buffer, unrecord-window-buffer)
16316 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16317 (switch-to-next-buffer): New functions.
16318 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16319 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16320 (previous-buffer): Move here from simple.el.
16321 Call switch-to-prev-buffer.
9397e56f
MR
16322 (bury-buffer): Move here from buffer.c. Switch to previous
16323 buffer when window cannot be deleted.
16324 (unbury-buffer): Move here from bindings.el.
16325 (ctl-x-map): Move binding for other-window from window.c to
16326 here.
16327 (read-buffer-to-switch, switch-to-buffer-other-window)
16328 (switch-to-buffer-other-frame): Move here from files.el.
16329 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16330 (switch-to-buffer): Move here from buffer.c.
16331 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16332
562dd5e9
MR
163332011-06-10 Martin Rudalics <rudalics@gmx.at>
16334
16335 * window.el (window-min-height, window-min-width): Move here
16336 from window.c. Add defcustoms and rewrite doc-strings.
16337 (resize-mini-window, resize-window): New functions.
16338 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16339 Move here from window.c.
16340 (maximize-window, minimize-window): New functions.
16341 (delete-window, delete-other-windows, split-window): Move here
16342 from window.c.
16343 (window-split-min-size): New function.
16344 (split-window-keep-point): Mention split-window-above-each-other
16345 instead of split-window-vertically.
2b75be67 16346 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16347 Rename split-window-vertically to split-window-above-each-other
16348 and provide defalias for old definition.
16349 (split-window-side-by-side, split-window-horizontally):
16350 Rename split-window-horizontally to split-window-side-by-side
16351 and provide defalias for the old definition.
562dd5e9
MR
16352 (ctl-x-map): Move bindings for delete-window,
16353 delete-other-windows and enlarge-window here from window.c.
16354 Replace bindings for split-window-vertically and
16355 split-window-horizontally by bindings for
16356 split-window-above-each-other and split-window-side-by-side.
16357
16358 * cus-start.el (all): Remove entries for window-min-height and
16359 window-min-width. Add entries for window-splits and
16360 window-nest.
16361
f0da764a
GM
163622011-06-09 Glenn Morris <rgm@gnu.org>
16363
80675c21
GM
16364 * calendar/appt.el (appt-mode-line): New function.
16365 (appt-check, appt-disp-window): Use it.
16366
f0da764a
GM
16367 * files.el (hack-one-local-variable-eval-safep):
16368 Allow minor-modes with explicit +/-1 arguments.
16369
59f623b7
TZ
163702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16371
16372 * term/xterm.el (xterm): Add defgroup.
16373 (xterm-extra-capabilities): Add defcustom to supply known xterm
16374 capabilities, skip querying them, or query them (default).
16375 (terminal-init-xterm): Use it.
16376 (terminal-init-xterm-modify-other-keys): New function to set up
16377 modifyOtherKeys support to simplify `terminal-init-xterm'.
16378
9aab8e0d
MR
163792011-06-09 Martin Rudalics <rudalics@gmx.at>
16380
16381 * window.el (resize-window-reset, resize-window-reset-1)
16382 (resize-subwindows-skip-p, resize-subwindows-normal)
16383 (resize-subwindows, resize-other-windows, resize-this-window)
16384 (resize-root-window, resize-root-window-vertically)
16385 (window-deletable-p, window-or-subwindow-p)
16386 (frame-root-window-p): New functions.
16387
e8b08aee
GM
163882011-06-09 Glenn Morris <rgm@gnu.org>
16389
16390 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16391 (ange-ftp-get-files): Use it.
16392
254c37a5
AK
163932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16394
16395 * mail/sendmail.el (mail-recover-1, mail-recover):
16396 * files.el (recover-file, recover-session):
16397 Handle dired-listing-switches not being just a single short option.
16398
35d7dbd3
GM
163992011-06-09 Glenn Morris <rgm@gnu.org>
16400
16401 * calendar/appt.el (appt-display-message, appt-disp-window):
16402 Handle lists of appointments.
16403
387522b2
MR
164042011-06-08 Martin Rudalics <rudalics@gmx.at>
16405
2b75be67
SM
16406 * window.el (one-window-p): Move down in code.
16407 Rewrite doc-string.
16408 (window-current-scroll-bars): Rewrite doc-string.
16409 Normalize live window argument.
387522b2
MR
16410 (walk-windows, get-window-with-predicate, count-windows):
16411 Rewrite doc-string. Use window-list-1.
16412 (window-in-direction-2, window-in-direction, get-mru-window):
16413 New functions.
16414
d8e4b68b 164152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16416
16417 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16418 Doc fix (Bug#8713).
16419
164202011-06-08 Chong Yidong <cyd@stupidchicken.com>
16421
16422 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16423
164242011-06-08 Juanma Barranquero <lekktu@gmail.com>
16425
16426 * loadhist.el (unload-feature-special-hooks):
16427 Add `comint-output-filter-functions'.
16428
0de12c52
IK
164292011-06-08 Ivan Kanis <gnu@kanis.fr>
16430
16431 * calendar/appt.el (appt-check): Move some initializations into the let.
16432
f3d1777e
MR
164332011-06-08 Martin Rudalics <rudalics@gmx.at>
16434
16435 * window.el (window-height): Defalias to window-total-height.
16436 (window-width): Defalias to window-body-width.
16437
18af70d0
CY
164382011-06-07 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * image-mode.el (image-toggle-animation): New command.
16441 (image-mode-map): Bind it to RET.
16442 (image-mode): Update message.
16443 (image-toggle-display-image): Avoid a spurious cache flush.
16444 (image-transform-rotation): Doc fix.
16445 (image-transform-properties): Return quickly in the normal case.
16446 (image-animate-loop): Rename from image-animate-max-time.
16447
2b75be67 16448 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16449 (create-animated-image): Remove unnecessary function.
16450 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16451 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16452 (image-animate-timer): Use car-safe.
16453 (image-animate-timeout): Rename argument.
16454
190b47e6
MR
164552011-06-07 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16458 window.c. Rename first argument to ALL-FRAMES.
16459 Rephrase doc-strings.
16460 (get-buffer-window-list): Rewrite using window-list-1.
16461 Rephrase doc-string.
a1511caf
MR
16462 (window-safe-min-height, window-safe-min-width): New constants.
16463 (window-size-ignore, window-min-size, window-min-size-1)
16464 (window-sizable, window-sizable-p, window-size-fixed-1)
16465 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16466 (window-max-delta-1, window-max-delta, window-resizable)
16467 (window-resizable-p, window-total-height, window-total-width)
16468 (window-body-width): New functions.
16469 (window-full-height-p, window-full-width-p): Rewrite using
16470 window-total-size.
16471 (window-body-height): Rewrite using window-body-size.
190b47e6 16472
85cc1f11
MR
164732011-06-06 Martin Rudalics <rudalics@gmx.at>
16474
16475 * window.el (window-right, window-left, window-child)
16476 (window-child-count, window-last-child, window-any-p)
16477 (normalize-live-buffer, normalize-live-frame)
16478 (normalize-any-window, normalize-live-window)
16479 (window-iso-combination-p, window-iso-combined-p)
16480 (window-iso-combinations)
16481 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16482 (windows-with-parameter, window-with-parameter)
16483 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16484 (window-atom-check, window-side-check, window-check):
16485 New functions.
85cc1f11
MR
16486 (ignore-window-parameters, window-sides, window-sides-vertical)
16487 (window-sides-slots): New variables.
16488 (window-size-fixed): Move down in code. Minor doc-string fix.
16489
e7156492
AS
164902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16491
16492 * comint.el (comint-dynamic-complete-as-filename)
16493 (comint-dynamic-complete-filename): Correctly call
16494 completion-in-region.
16495
7e821d0d
DD
164962011-06-05 Deniz Dogan <deniz@dogan.se>
16497
16498 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16499 in last change.
16500
ac09b8a1
DD
165012011-06-05 Deniz Dogan <deniz@dogan.se>
16502
16503 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16504 (rcirc): Use it to prompt for encryption.
16505
34699b85
RW
165062011-06-05 Roland Winkler <winkler@gnu.org>
16507
16508 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16509 (bibtex-search-entries): New command bound to C-c C-a.
16510 (bibtex-display-entries): New function.
16511
004dedd3
RW
165122011-06-05 Roland Winkler <winkler@gnu.org>
16513
16514 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16515 (bibtex-insert-kill): After yanking insert newline if necessary.
16516 (bibtex-initialize): Call bibtex-string-files-init only once.
16517 (bibtex-mode): Do not call easy-menu-add.
16518 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16519 (bibtex-yank): Set arg properly if nil.
16520
022fe7ce
RW
165212011-06-05 Roland Winkler <winkler@gnu.org>
16522
2b75be67
SM
16523 * textmodes/bibtex.el (bibtex-search-entry-globally):
16524 New variable.
022fe7ce
RW
16525 (bibtex-search-entry): Use it.
16526
b7c3692a
RW
165272011-06-05 Roland Winkler <winkler@gnu.org>
16528
16529 * textmodes/bibtex.el (bibtex-entry-format): New option
16530 sort-fields.
16531 (bibtex-format-entry, bibtex-reformat): Honor this option.
16532 (bibtex-parse-entry): Return fields in proper order.
16533
8eda563d
JB
165342011-06-05 Juanma Barranquero <lekktu@gmail.com>
16535
16536 * doc-view.el (doc-view-remove-if): Move computation of result out
16537 of `dolist' to silence misleading lexical-binding warning.
16538
7dbe3dbc
CY
165392011-06-04 Chong Yidong <cyd@stupidchicken.com>
16540
16541 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16542 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16543
0c33dd17
MA
165442011-06-04 Michael Albinus <michael.albinus@gmx.de>
16545
16546 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16547 "SunOS 5.10".
16548
f8f91c2b
MA
165492011-06-04 Michael Albinus <michael.albinus@gmx.de>
16550
16551 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16552 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16553 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16554 (tramp-parse-putty):
16555 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16556 (tramp-completion-function-alist-ssh)
16557 (tramp-completion-function-alist-telnet)
16558 (tramp-completion-function-alist-su)
16559 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16560 cookie.
16561
16562 * net/tramp-ftp.el:
16563 * net/tramp-sh.el:
16564 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16565 load "tramp.el" `tramp-set-completion-function'.
16566
e17d9003
SM
165672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16568
16569 * shell.el: Require and use pcomplete.
16570 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16571 (shell-completion-vars): Set pcomplete-default-completion-function.
16572
6c4cab03
DD
165732011-06-04 Deniz Dogan <deniz@dogan.se>
16574
16575 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16576 `memq' (Bug#8799).
16577
ea9fafe0
SM
165782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16581
b3e945d3
JB
165822011-06-02 Juanma Barranquero <lekktu@gmail.com>
16583
16584 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16585 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16586 * vc/log-view.el (log-view-beginning-of-defun):
16587 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16588 (smerge-refine-forward, smerge-refine-chopup-region):
16589 Silence warning for unused `dotimes' counter variables.
16590
7d520089
SM
165912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16592
16593 * net/tramp.el (tramp-with-progress-reporter): Rename from
16594 with-progress-reporter. Use `declare'.
16595 * net/tramp-smb.el:
16596 * net/tramp-sh.el:
16597 * net/tramp-gvfs.el: Update all uses.
16598
a1c2400f
JB
165992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16600
16601 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16602 buffer isn't killed before making it current.
16603
2403c841
SM
166042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16605
16606 Silence various byte-compiler warnings.
16607 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16608 `access-type' and new obsolescence format.
16609 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16610 new format.
16611 (byte-compile-check-variable): New `access-type' argument.
16612 Only warn if the access-type is obsolete.
16613 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16614 (byte-compile-variable-set): Adjust callers.
16615 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16616 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16617 setting it as obsolete.
16618 * simple.el (minibuffer-completing-symbol):
16619 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16620 access as obsolete.
16621 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16622 obsolete yet.
16623 * international/quail.el (quail-mouse-choose-completion): Remove unused
16624 code referring to obsolete var.
16625 (quail-choose-completion-string): Remove.
16626 * server.el (server-clients-with, server-kill-buffer-query-function)
16627 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16628 * proced.el (proced-send-signal):
16629 * emacs-lisp/lisp.el (lisp-complete-symbol):
16630 Replace completion-annotate-function with completion-extra-properties.
16631
2462470b
SM
166322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16633
fb5b2591
SM
16634 * simple.el (goto-line): Use read-number.
16635 (overriding-map-is-bound): Remove.
16636 (saved-overriding-map): Change default.
16637 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16638 Take the map as argument.
16639 (universal-argument, negative-argument, digit-argument): Use it.
16640 (restore-overriding-map): Adjust.
16641 (do-auto-fill): Use fill-forward-paragraph.
16642 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16643
fd6fa53f
SM
16644 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16645 (minibuffer-inactive-mode): New major mode.
16646 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16647 the *Messages* buffer" hack.
16648 (mouse-popup-menubar): Don't burp if the event is a normal key.
16649
2462470b
SM
16650 Miscellaneous tweaks.
16651 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16652 lexical scoping as in subr.el's dolist and dotimes.
16653 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16654 Silence compiler warning.
16655 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16656 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16657 * international/ccl.el (ccl-compile): Trivial simplification.
16658 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16659 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16660 `printflag' argument.
16661 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16662 Purecopy the whole obsolescence data.
16663
108bf785
LL
166642011-06-01 Leo Liu <sdl.web@gmail.com>
16665
16666 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16667 improve doc-string as suggested by Marco Pessotto
16668 <melmothx@gmail.com>.
16669 (rcirc-print): Fix last change.
16670
30a23501
SM
166712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 * minibuffer.el (complete-with-action): Return nil for the metadata and
16674 boundaries of non-functional tables.
16675 (completion-table-dynamic): Return nil for the metadata.
16676 (completion-table-with-terminator): Add default case, using
16677 complete-with-action.
16678 (completion--metadata): New function.
16679 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16680 to try and avoid pathological performance problems.
16681 (completion--embedded-envvar-table): Return `category' metadata.
16682
bcd54f83
LMI
166832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684
16685 * subr.el (process-alive-p): New tiny convenience function.
16686
e227544d
SM
166872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16690 content but also its previous major mode.
16691
e8296fdc
HE
166922011-05-31 Helmut Eller <eller.helmut@gmail.com>
16693
4d61f28d 16694 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16695 *Backtrace* buffer when we exit with C-M-c.
16696
620c53a6
SM
166972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16698
16699 * minibuffer.el: Add metadata method to completion tables.
16700 (completion-category-overrides): New defcustom.
16701 (completion-metadata, completion--field-metadata)
16702 (completion-metadata-get, completion--styles)
16703 (completion--cycle-threshold): New functions.
16704 (completion-try-completion, completion-all-completions):
16705 Add `metadata' argument to choose completion-styles.
16706 (completion--do-completion): Use metadata to choose cycling.
16707 (completion-all-sorted-completions): Use metadata for sorting.
16708 Remove :completion-cycle-penalty which is not needed any more.
16709 (completion--try-word-completion): Add `metadata' argument.
16710 (minibuffer-completion-help): Check metadata for annotation function
16711 and sorting.
16712 (completion-file-name-table): Return `category' metadata.
16713 (minibuffer-completing-file-name): Make obsolete.
16714 * simple.el (minibuffer-completing-symbol): Make obsolete.
16715 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16716 completion-try-completion.
16717
1257e755
SM
167182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16721
3767e706
LL
167222011-05-30 Leo Liu <sdl.web@gmail.com>
16723
16724 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16725 (rcirc-print): Decode all incoming messages (bug#8744).
16726 (rcirc-decode-coding-system): Allow value nil for automatic coding
16727 system detection.
3767e706 16728
d1a5d56a
GM
167292011-06-01 Glenn Morris <rgm@gnu.org>
16730
16731 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16732
e8cbec34
CY
167332011-05-29 Chong Yidong <cyd@stupidchicken.com>
16734
16735 * image.el (image-animate-max-time): Allow nil and t values.
16736 Default to nil.
16737 (create-animated-image): Doc fix.
16738 (image-animate-start): Remove second arg; just use
16739 image-animate-max-time.
16740 (image-animate-timeout): Doc fix. Args changed.
16741
16742 * image-mode.el (image-toggle-display-image): Ensure that the
16743 image spec passed to the animate timer is the same object as in
58179cce 16744 the buffer's display property (Bug#6981).
e8cbec34
CY
16745 (image-transform-properties): Doc fix.
16746
16747 * image.el (image-animate-max-time): Default to nil.
16748
159daf87
MR
167492011-05-29 Martin Rudalics <rudalics@gmx.at>
16750
16751 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16752 entire buffer list (Bug#8184).
16753
d66c4c7c
CY
167542011-05-29 Chong Yidong <cyd@stupidchicken.com>
16755
16756 * image.el (imagemagick-types-inhibit)
16757 (imagemagick-register-types): Doc fix.
16758
80aec780
DD
167592011-05-29 Deniz Dogan <deniz@dogan.se>
16760
16761 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16762 default.
16763
1dd3c2d9
CY
167642011-05-29 Chong Yidong <cyd@stupidchicken.com>
16765
16766 * select.el: Don't perform clipboard-manager saving in hooks;
16767 leave the hooks empty.
16768
60e56523
LL
167692011-05-28 Leo Liu <sdl.web@gmail.com>
16770
16771 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16772 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16773 (occur-edit-mode): New major mode (Bug#8463).
16774 (occur-after-change-function): New function.
16775 (occur-engine): Give Occur tags a read-only property.
16776
2b1e1a22
KR
167772011-05-28 Kevin Ryde <user42@zip.com.au>
16778
16779 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16780
5d344e88
CY
167812011-05-28 Chong Yidong <cyd@stupidchicken.com>
16782
8e6ca83d
CY
16783 * bindings.el (help-echo): Make the initial non-indicator dash
16784 empty on graphical terminals (Bug#7295).
16785
5d344e88
CY
16786 * files.el (auto-mode-alist): Move config rule after the
16787 in-stripping one (Bug#8547).
16788
bfbbace7
CY
16789 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16790
fbeba6e2
CY
16791 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16792 setting (Bug#8740).
16793
60ed8c72
AA
167942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16795
4ac619f0
AA
16796 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16797 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16798 (Bug#8539).
60ed8c72 16799
23db196e
CY
168002011-05-28 Chong Yidong <cyd@stupidchicken.com>
16801
16802 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16803
5012f24c
DK
168042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16805
16806 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16807 (hs-hide-block-at-point, hs-find-block-beginning)
16808 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16809 (Bug#8279).
16810
6a639b16
GM
168112011-05-28 Glenn Morris <rgm@gnu.org>
16812
16813 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16814
d43eaf2c
CY
168152011-05-28 Chong Yidong <cyd@stupidchicken.com>
16816
5199bde1
CY
16817 * help-fns.el (describe-function-1): If the function is a derived
16818 major mode, print the parent mode.
16819
d43eaf2c
CY
16820 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16821 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16822
423428a8
SM
168232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16824
0ff8e1ba 16825 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16826 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16827 * progmodes/etags.el (tags-completion-at-point-function):
16828 * info-look.el (info-lookup-completions-at-point): Mark as
16829 non-exclusive.
16830 (info-complete): Adjust accordingly.
16831
423428a8
SM
16832 * info-look.el: Convert to lexical-binding and completion-at-point.
16833 (info-lookup-completions-at-point): New function.
16834 (info-complete): Use it and completion-in-region.
16835
b74aa22b
DA
168362011-05-28 Drew Adams <drew.adams@oracle.com>
16837
16838 * isearch.el: Let M-e start with point at the first mismatched char.
16839 (isearch-fail-pos): New function.
16840 (isearch-edit-string): Use it.
16841
66e2e71d
DK
168422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16843
16844 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16845
b1890b0f 168462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16847
16848 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16849 traversal functions for avl-trees.
16850 (avl-tree--stack): New struct.
16851 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16852 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16853 (avl-tree--do-enter): Add optional `updatefun' arg.
16854 Change return value.
eb95d01d 16855 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16856 (avl-tree--do-delete): Add `test' and `nilflag' args.
16857 Change return value.
eb95d01d
TC
16858 (avl-tree-member): Add optional `nilflag'
16859 (avl-tree-member-p): New function.
16860 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16861 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16862 (avl-tree-stack-empty-p): New functions.
16863
3769ddcf
TC
16864 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16865 avl-tree--del-balance1 and make it work both ways.
16866 (avl-tree--del-balance2): Remove.
16867 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16868 make it work both ways.
16869 (avl-tree--enter-balance2): Remove.
16870 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16871 New macros.
16872 (avl-tree--mapc, avl-tree-map): Add direction argument.
16873
eb95d01d 168742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16875
16876 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16877
a9f737ee
CY
168782011-05-27 Chong Yidong <cyd@stupidchicken.com>
16879
16880 * select.el: Support clipboard managers with built-in function
16881 x-clipboard-manager-save, via delete-frame-functions and
16882 kill-emacs-hook.
16883 (xselect-convert-to-targets): Add MULTIPLE target to list.
16884 (xselect-convert-to-save-targets): New function.
16885
c92a1e54
KH
168862011-05-27 Kenichi Handa <handa@m17n.org>
16887
16888 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16889 let-binding rfc2047-encode-encoded-words to nil.
16890
e145f188
GM
168912011-05-27 Glenn Morris <rgm@gnu.org>
16892
5ec8a862
GM
16893 * mail/emacsbug.el: Don't require url-util.
16894
4b29d9fb
GM
16895 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16896
e145f188
GM
16897 * files.el (set-auto-mode):
16898 Also respect mode: entries at the end of the file. (Bug#8586)
16899
7d15102b
GM
169002011-05-26 Glenn Morris <rgm@gnu.org>
16901
98f593b8
GM
16902 * files.el (hack-local-variables-prop-line, hack-local-variables):
16903 Downcase mode names, as seems to be traditional.
27b48e63 16904 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16905
7d15102b
GM
16906 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16907 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16908
51d5b4ec
JD
169092011-05-25 Julien Danjou <julien@danjou.info>
16910
16911 * textmodes/rst.el (rst-define-level-faces): Do not define face
16912 symbol if it is already defined.
16913
91513f63
VB
169142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16915
16916 * play/5x5.el (5x5-new-game, 5x5-randomize):
16917 Reset 5x5-solver-output to nil when a new grid is cast.
16918 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16919 these debugging traces, as defmacro breaks the compiled code.
16920
4d90d6d0
DK
169212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16922
16923 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16924
e1b90ef6
LL
169252011-05-24 Leo Liu <sdl.web@gmail.com>
16926
16927 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16928 (vc-bzr-sha1): Adapt.
16929
d8e4b68b 16930 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16931
16932 * bindings.el: Provide sha1 feature.
16933
db0406bb 169342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16935
16936 * mail/sendmail.el: Require `rfc2047'.
16937 (mail-insert-from-field): Do not perform RFC2047 encoding.
16938 (mail-encode-header): New function.
16939 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16940 buffer to the return value of select-message-coding-system.
16941 Call mail-encode-header.
b8d747b9
KH
16942
16943 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16944
db0406bb 169452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16946
4d90d6d0
DK
16947 * mail/supercite.el (sc-default-cite-frame):
16948 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16949
eb8a5e9b
GM
169502011-05-24 Glenn Morris <rgm@gnu.org>
16951
f8630703
GM
16952 * progmodes/python.el (brm-menu): Declare.
16953
8831bbed
GM
16954 * emulation/viper.el (viper-set-hooks): Declare.
16955
eb8a5e9b
GM
16956 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16957 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16958 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16959 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16960 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16961 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16962
a2a25d24
SM
169632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16964
16965 Add an :exit-function for completion-at-point.
16966
16967 * minibuffer.el (completion--done): New fun.
16968 (completion--do-completion): Use it. New arg `expect-exact'.
16969 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16970 since completion--do-completion does it for us now.
16971 (minibuffer-force-complete): Use completion--done and
16972 completion--replace. Handle sole-completion case with more care.
16973 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16974 (completion-extra-properties): New var.
16975 (completion-annotate-function): Make obsolete.
16976 (minibuffer-completion-help): Adjust accordingly.
16977 Use completion-list-insert-choice-function.
16978 (completion-at-point, completion-help-at-point):
16979 Bind completion-extra-properties.
16980 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16981 * simple.el (completion-list-insert-choice-function): New var.
16982 (completion-setup-function): Preserve it.
16983 (choose-completion): Pay attention to it, shuffle the code a bit.
16984 (choose-completion-string): New arg `insert-function'.
16985
16986 * textmodes/bibtex.el: Convert to lexical binding.
16987 (bibtex-mode-map): Use completion-at-point.
16988 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16989 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16990 (bibtex-complete): Define as obsolete alias.
16991 (bibtex-complete-internal): Remove.
16992 (bibtex-format-entry): Remove unused sub-group in regexp.
16993 * shell.el (shell--command-completion-data)
16994 (shell-environment-variable-completion):
16995 * pcomplete.el (pcomplete-completions-at-point):
16996 * comint.el (comint--complete-file-name-data): Use :exit-function
16997 instead of completion-table-with-terminator so it also works for
16998 choose-completion.
16999
e44e373d
SM
170002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17001
4f91a816
SM
17002 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17003
782fc819
SM
17004 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17005 (bug#8710).
17006
e44e373d
SM
17007 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17008
381987c3
KM
170092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17010
17011 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17012 customization variable and implement: If non-nil, auto-fill will
17013 be inhibited while on topic's header line.
17014
b776bc70
VB
170152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17016
17017 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17018 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17019 always have a solution in grid size = 5 cases.
17020 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17021 (5x5-solver-output, 5x5-log-buffer): New vars.
17022 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17023 Make these variables buffer local to achieve 5x5 multi-session-ness.
17024 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17025 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17026 (5x5-solve-suggest): New funs.
17027 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17028 randomize a grid so that we ensure that there is always a solution.
17029 (5x5-make-random-grid): Allow other movement than flipping.
17030
7de88b6e
KR
170312011-05-23 Kevin Ryde <user42@zip.com.au>
17032
17033 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17034 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17035 advice and passes PREDICATE.
17036
b1ef1257
SM
170372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17038
bbca48fe
SM
17039 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17040 byte-compile-lambda if it's actually a lambda.
17041
b1ef1257
SM
17042 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17043 Fix function quoting. Use backquote better.
17044
92a9cc65
YS
170452011-05-22 Yuanle Song <sylecn@gmail.com>
17046
17047 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17048 matching (Bug#8516).
17049
f0fb8059
JA
170502011-01-22 Jari Aalto <jari.aalto@cante.net>
17051
17052 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17053 different face (Bug#8178).
17054
d5b44c93
CY
170552011-05-22 Chong Yidong <cyd@stupidchicken.com>
17056
17057 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17058 defface (Bug#8144).
17059
79106a44
SM
170602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17061
9c848d8a
SM
17062 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17063 funcall as well (bug#8712). Warn when performing those conversions.
17064 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17065
79106a44
SM
17066 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17067
88dfa756
GM
170682011-05-22 Glenn Morris <rgm@gnu.org>
17069
17070 * files.el (hack-local-variables-prop-line): Small simplifications.
17071 (hack-local-variables, hack-local-variables-prop-line):
17072 If MODE-ONLY, return the mode, rather than just `t'.
17073
b7cf2c79
SM
170742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17075
17076 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17077
3f1a8558
GM
170782011-05-21 Glenn Morris <rgm@gnu.org>
17079
7e4ccca3
GM
17080 * files.el (hack-local-variables-prop-line, hack-local-variables):
17081 If only interested in the mode, don't bother doing the other stuff.
17082
637d46ca
GM
17083 * image-mode.el (image-after-revert-hook):
17084 Redraw all frames on which the image is visible. (Bug#8567)
17085
973d955b
GM
17086 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17087
3f1a8558
GM
17088 * wid-edit.el (widget-checklist-match-inline):
17089 Fix 2011-04-19 change. (Bug#8649)
17090
96479927
SM
170912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17092
1dcf791f
SM
17093 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17094 Also allow singlespace after single-letter capitals followed by a dot.
17095
96479927
SM
17096 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17097 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17098
35fd0881
N
170992011-05-20 Nix <nix@esperi.org.uk>
17100
17101 * files.el (basic-save-buffer-2):
17102 Fix handling of break-hardlink-on-save with non-existent files.
17103
82745640
DD
171042011-05-19 Deniz Dogan <deniz@dogan.se>
17105
17106 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17107 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17108
4a720484
GM
171092011-05-19 Glenn Morris <rgm@gnu.org>
17110
d1f21341
GM
17111 * progmodes/f90.el (f90-type-def-re):
17112 Handle "type, bind(c)". (Bug#8691)
17113
4a720484
GM
17114 * emacs-lisp/autoload.el (batch-update-autoloads):
17115 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17116
2fb0a219
MA
171172011-05-18 Michael Albinus <michael.albinus@gmx.de>
17118
17119 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17120 property for the correct connection in case of multihops.
17121
e565dd37
GM
171222011-05-18 Glenn Morris <rgm@gnu.org>
17123
c2571358 17124 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17125 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17126
e565dd37
GM
17127 Rationalize calendar handling of day and month abbrev-arrays.
17128 * calendar/calendar.el (calendar-customized-p): New function.
17129 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17130 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17131 Add :set function.
17132 (calendar-abbrev-length, calendar-day-abbrev-array)
17133 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17134 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17135 Elements may no longer be nil.
17136 (calendar-day-name, calendar-month-name):
17137 Update for changed nature of abbrev arrays.
17138 * calendar/diary-lib.el (diary-name-pattern):
17139 Update for changed nature of abbrev arrays.
17140 (diary-mark-entries-1): Update calendar-make-alist calls.
17141 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17142 * calendar/cal-html.el (cal-html-day-abbrev-array):
17143 Simply inherit from calendar-day-abbrev-array.
17144
1d99a745
SM
171452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17146
17147 * progmodes/grep.el (grep-mode): Disable default
17148 compilation-directory-matcher setting (bug#8684).
17149
7c1d9aa0
MA
171502011-05-17 Michael Albinus <michael.albinus@gmx.de>
17151
17152 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17153 instead of "head" and "tail". There were problems with SunOS 5.9,
17154 and it performs better.
17155
3952e9d8
GM
171562011-05-17 Glenn Morris <rgm@gnu.org>
17157
2dd12e7f
GM
17158 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17159
e4157b9c
GM
17160 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17161 Replace obsolete function.
17162
8e249bbd
GM
17163 * shell.el (pcomplete-parse-arguments-function): Declare.
17164
3952e9d8
GM
17165 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17166 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17167 (appt-check): Doc fixes.
17168 (appt-disp-window-function, appt-delete-window-function):
17169 Remove needless special case in custom :type.
17170 (appt-display-count): Default to 0, not nil.
17171 (appt-check): Reset appt-display-count to 0, not nil.
17172
c71a0d48 171732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17174
c71a0d48
GM
17175 * progmodes/python.el (python-font-lock-keywords):
17176 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17177
31d55be9
SM
171782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17179
17180 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17181
3bfacb2f
KR
171822011-05-16 Kevin Ryde <user42@zip.com.au>
17183
17184 * info-look.el (makefile-automake-mode): New setups, looking in
17185 automake manual, then makefile-mode.
17186 (makefile-mode): Remove automake manual, have it just in
17187 makefile-automake-mode since there's various things different or
17188 not relevant to plain make.
17189 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17190 believe a hypothetical automake-mode would go to makefile-mode,
17191 not the other way around.
17192
c8e83751
CY
171932011-05-15 Chong Yidong <cyd@stupidchicken.com>
17194
5e9e35cd
CY
17195 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17196 hunk-end tags (Bug#8672).
17197
c8e83751
CY
17198 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17199 vc-annotate-show-diff-revision-at-line (Bug#8671).
17200
50b23e5a
GM
172012011-05-14 Glenn Morris <rgm@gnu.org>
17202
7210a739
GM
17203 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17204 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17205 (change-log-font-lock-keywords): Also handle multiple author lines
17206 with leading tabs. (Bug#8644)
7210a739 17207
4691905a
GM
17208 * calendar/appt.el (appt-check): Rename some local variables.
17209 Some simplification/reordering.
17210
50b23e5a
GM
17211 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17212 (feedmail-sendmail-f-doesnt-sell-me-out)
17213 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17214 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17215 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17216 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17217 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17218 (feedmail-binmail-gnulinuxish-template):
17219 Rename from feedmail-binmail-linuxish-template.
17220 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17221 Use insert-buffer-substring.
17222
215cda7c
BC
172232011-05-14 Bill Carpenter <bill@carpenter.org>
17224
17225 * mail/feedmail.el (feedmail-patch-level): Increase.
17226 (feedmail-debug): New custom group.
17227 (feedmail-confirm-outgoing-timeout)
17228 (feedmail-sendmail-f-doesnt-sell-me-out)
17229 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17230 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17231 (feedmail-sender-line, feedmail-from-line)
17232 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17233 (feedmail-spray-this-address)
215cda7c
BC
17234 (feedmail-spray-address-fiddle-plex-list)
17235 (feedmail-queue-use-send-time-for-date)
17236 (feedmail-queue-use-send-time-for-message-id)
17237 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17238 (feedmail-buffer-eating-function):
17239 Doc fixes.
17240 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17241 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17242 (feedmail-message-action-scroll-down): New functions.
17243 (feedmail-queue-directory, feedmail-queue-draft-directory):
17244 Use expand-file-name.
17245 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17246 Remove C-v help entry.
17247 (feedmail-queue-buffer-file-name): New variable.
17248 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17249 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17250 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17251 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17252 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17253 (feedmail-message-action-toggle-spray)
17254 (feedmail-run-the-queue-no-prompts)
17255 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17256 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17257 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17258 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17259 (feedmail-envelope-deducer, feedmail-fiddle-from)
17260 (feedmail-fiddle-sender, feedmail-default-date-generator)
17261 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17262 (feedmail-fiddle-spray-address)
17263 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17264 (feedmail-fiddle-list-of-fiddle-plexes)
17265 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17266 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17267 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17268 Change default. Doc fix.
17269 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17270 (feedmail-binmail-linuxish-template): New constant.
17271 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17272 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17273 (feedmail-send-it): Add debug call.
17274 Use feedmail-queue-buffer-file-name, and
17275 feedmail-send-it-immediately-wrapper.
17276 (feedmail-message-action-send): Add debug call.
17277 Use feedmail-send-it-immediately-wrapper.
17278 (feedmail-queue-express-to-queue): Add debug call.
17279 Run feedmail-queue-express-hook.
17280 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17281 (feedmail-message-action-help-blat):
17282 Rename from feedmail-queue-send-edit-prompt-help-first.
17283 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17284 Check line-endings. Handle errors better.
17285 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17286 Doc fix. Add debug call.
17287 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17288 Use feedmail-queue-send-edit-prompt-inner.
17289 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17290 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17291 from feedmail-queue-send-edit-prompt.
17292 (feedmail-queue-send-edit-prompt-help)
17293 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17294 (feedmail-tidy-up-slug): Add debug call.
17295 Respect feedmail-queue-slug-suspect-regexp.
17296 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17297 (feedmail-dump-message-to-queue): Add debug call.
17298 Expand queue-directory.
17299 (feedmail-dump-message-to-queue): Change message slightly.
17300 Use feedmail-say-chatter.
17301 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17302 (feedmail-send-it-immediately-wrapper): New function.
17303 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17304 Insert empty string rather than newline. Handle full-frame case.
17305 Use catch/throw. Use feedmail-say-chatter.
17306 (feedmail-fiddle-from): Try mail-host-address.
17307 (feedmail-default-message-id-generator): Doc fix.
17308 Bind system-time-locale. Handle missing end.
17309 (feedmail-fiddle-x-mailer): Add debug call.
17310 Handle feedmail-x-mailer-line being nil.
17311 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17312 Add debug call. Use buffer-substring-no-properties.
17313 (feedmail-say-debug, feedmail-say-chatter): New functions.
17314 (feedmail-find-eoh): Give an explicit error.
17315
42c7e61e
UJ
173162011-05-13 Ulf Jasper <ulf.jasper@web.de>
17317
c2571358 17318 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17319 family from helvetica to sans.
c2571358 17320 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17321 etc/images/newsticker.
17322
c2571358 17323 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17324 family from helvetica to sans.
17325
17326 * net/newst-plainview.el (newsticker-new-item-face)
17327 (newsticker-old-item-face, newsticker-immortal-item-face)
17328 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17329 (newsticker-statistics-face): Change default family from
42c7e61e 17330 helvetica to sans.
c2571358 17331 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17332 etc/images/newsticker.
17333
5d3385a0
JB
17334 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17335 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17336 auto-marking.
17337
8497a297
DV
173382011-05-13 Didier Verna <didier@xemacs.org>
17339
17340 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17341 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17342 TODO entries.
8497a297
DV
17343 (lisp-lambda-list-keyword-parameter-indentation)
17344 (lisp-lambda-list-keyword-parameter-alignment)
17345 (lisp-lambda-list-keyword-alignment): New customizable user options.
17346 (lisp-indent-defun-method): Improve docstring.
17347 (extended-loop-p): Fix comment.
17348 (lisp-indent-lambda-list-keywords-regexp): New variable.
17349 (lisp-indent-lambda-list): New function.
17350 (lisp-indent-259): Use it.
17351 (lisp-indent-defmethod): Support for more than one
17352 method qualifier and properly indent methods lambda-lists.
17353 (defgeneric): Provide a missing common-lisp-indent-function property.
17354
f278f87f
SM
173552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17356
17357 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17358 bounds for the empty string (bug#8667).
17359
5233edd7
GM
173602011-05-13 Glenn Morris <rgm@gnu.org>
17361
5237a44f
GM
17362 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17363
8340026c 17364 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17365 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17366
5233edd7 17367 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17368 (appt-time-msg-list): Doc fix.
a5464014 17369 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17370
92d10796
AS
173712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17372
17373 * progmodes/ld-script.el (ld-script-keywords)
17374 (ld-script-builtins): Update keywords list.
17375
914a0ae1
SM
173762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17377
c89be45f
SM
17378 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17379
914a0ae1
SM
17380 * shell.el (shell-completion-vars): New function.
17381 (shell-mode):
17382 * simple.el (read-shell-command): Use it.
17383 (blink-matching-open): No need for " [...]" in minibuffer-message.
17384
98dc3df3
GM
173852011-05-12 Glenn Morris <rgm@gnu.org>
17386
17387 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17388 (appt-check): Simplify.
17389
d2fc7e3d 173902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17391
4d61f28d 17392 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17393 literal "/dev/null".
17394
d2fc7e3d 173952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17396
17397 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17398 Fix typo.
17399
d2fc7e3d 174002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17401
3f254caa
SM
17402 * progmodes/which-func.el (which-function):
17403 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17404 which might not be defined (Bug#8260).
17405
d45885f7
GM
174062011-05-12 Glenn Morris <rgm@gnu.org>
17407
17408 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17409 Let byte-compile-initial-macro-environment always take precedence.
17410
488086f4
SM
174112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * net/rcirc.el: Add support for SSL/TLS connections.
17414 (rcirc-server-alist): New field `encryption'.
17415 (rcirc): Check `encryption' settings.
17416 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17417 Merge make-local-variable into `set'.
17418 (rcirc--connection-open-p): New function.
17419 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17420 the process is not a network process (e.g. running gnutls-cli).
17421 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17422 Make rcirc-(en|de)code-coding-system local here.
17423 (rcirc-mode): Merge make-local-variable into `set'.
17424 (rcirc-parent-buffer): Make permanent buffer-local.
17425 (rcirc-multiline-minor-mode): Don't do it here.
17426 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17427 there's no server buffer.
17428
7d3b9d44
GM
174292011-05-11 Glenn Morris <rgm@gnu.org>
17430
f64049c6
GM
17431 * newcomment.el (comment-kill): Prefix "unused" local.
17432
93c9df73
GM
17433 * term/w32console.el (get-screen-color): Declare.
17434
7d3b9d44
GM
17435 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17436 Handle symbol elements of byte-compile-initial-macro-environment.
17437
9e2dd53f
LL
174382011-05-10 Leo Liu <sdl.web@gmail.com>
17439
488086f4
SM
17440 * bookmark.el (bookmark-bmenu-mode-map):
17441 Bind bookmark-bmenu-search to `/'.
8b340240 17442
9e2dd53f 17443 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17444 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17445 (Footnote-unicode): New function.
17446 (footnote-style-alist): Add unicode style to the list.
17447 (footnote-style): Doc fix.
9e2dd53f 17448
79b70037
GM
174492011-05-10 Jim Meyering <meyering@redhat.com>
17450
17451 Fix doubled-word typos.
17452 * international/quail.el (quail-insert-kbd-layout): and and -> and
17453 * kermit.el: and and -> and
17454 * net/ldap.el (ldap-search-internal): to to -> to
17455 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17456 * progmodes/js.el (js-mode): and and -> and
17457 * textmodes/artist.el (artist-move-to-xy): at at -> at
17458 (artist-draw-region-trim-line-endings): if if -> if
17459 And Safetyc -> Safety.
17460 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17461
b8f82dc1 174622011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17463 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17464
17465 * files.el (hack-one-local-variable-eval-safep):
17466 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17467
4f99f44b
GM
174682011-05-10 Glenn Morris <rgm@gnu.org>
17469
17470 * calendar/diary-lib.el (diary-list-entries-hook)
17471 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17472 (diary-nongregorian-marking-hook, diary-list-entries)
17473 (diary-include-other-diary-files, diary-mark-entries)
17474 (diary-mark-included-diary-files): Doc fixes.
17475
84f29e6b
JB
174762011-05-09 Juanma Barranquero <lekktu@gmail.com>
17477
17478 * misc.el: Require tabulated-list.el during compilation.
17479
9bedd73a
CY
174802011-05-09 Chong Yidong <cyd@stupidchicken.com>
17481
488086f4
SM
17482 * progmodes/compile.el (compilation-start):
17483 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17484 (compilation-filter-hook): Doc fix.
17485
797c735c
DD
174862011-05-09 Deniz Dogan <deniz@dogan.se>
17487
17488 * wdired.el: Remove outdated installation comment. Fix usage
17489 comment.
17490
5f4b1dfe
JB
174912011-05-09 Juanma Barranquero <lekktu@gmail.com>
17492
17493 * misc.el: Implement new command `list-dynamic-libraries'.
17494 (list-dynamic-libraries--loaded-only-p): New variable.
17495 (list-dynamic-libraries--refresh): New function.
17496 (list-dynamic-libraries): New command.
17497
4c44026c
CY
174982011-05-09 Chong Yidong <cyd@stupidchicken.com>
17499
488086f4
SM
17500 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17501 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17502 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17503 higher priority to avoid clobbering by gnu.
17504
027f966d
CY
175052011-05-08 Chong Yidong <cyd@stupidchicken.com>
17506
17507 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17508 if the face has existing theme settings (Bug#8454).
17509
085f5d7d
CY
175102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17511
488086f4
SM
17512 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17513 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17514
2a86a00c
RS
17515 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17516 special file names `.' and `..' (Bug#8259).
17517
d9c54a06
CY
175182011-05-08 Chong Yidong <cyd@stupidchicken.com>
17519
488086f4
SM
17520 * progmodes/grep.el (grep-mode-font-lock-keywords):
17521 Remove buffer-changing entries.
d9c54a06
CY
17522 (grep-filter): New function.
17523 (grep-mode): Add it to compilation-filter-hook.
17524
17525 * progmodes/compile.el (compilation-filter-hook)
17526 (compilation-filter-start): New defvars.
17527 (compilation-filter): Call compilation-filter-hook prior to
17528 updating the process mark.
17529
c4662635
SM
175302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17531
17532 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17533
b0512a1d
EZ
175342011-05-07 Eli Zaretskii <eliz@gnu.org>
17535
605c9376
EZ
17536 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17537 mailclient-send-it even if window-system is nil. (Bug#8595)
17538
c4662635
SM
17539 * term/w32console.el (terminal-init-w32console):
17540 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17541 background-mode. (Bug#8597)
17542
d1dc2cc2
SM
175432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17544
17545 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17546 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17547 New functions.
17548 (defgeneric, eieio--defmethod): Use them.
17549 (eieio-defgeneric): Remove.
17550 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17551
915d1300
GM
175522011-05-07 Glenn Morris <rgm@gnu.org>
17553
a3961c3e
GM
17554 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17555 Use let rather than let*.
17556 (timeclock-find-discrep): Remove unused local.
17557
314347b9
GM
17558 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17559
915d1300
GM
17560 * calendar/appt.el (appt-time-msg-list): Doc fix.
17561
275b59b0
NF
175622011-05-06 Noah Friedman <friedman@splode.com>
17563
17564 * apropos.el (apropos-print-doc): Only use
17565 emacs-lisp-docstring-fill-column when it is bound to an integer,
17566 per that variable's documentation.
17567
6c19f744
SM
175682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17569
17570 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17571 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17572
60f884b2
GM
175732011-05-06 Glenn Morris <rgm@gnu.org>
17574
5006e634
GM
17575 * calendar/appt.el (appt-message-warning-time): Doc fix.
17576 (appt-warning-time-regexp): New option.
17577 (appt-make-list): Respect appt-message-warning-time.
17578
548d0a63
GM
17579 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17580 New options.
17581 (diary-add-to-list): Strip comments from the displayed string.
17582 (diary-mode): Set comment-start and comment-end.
17583
60f884b2
GM
17584 * vc/diff-mode.el (smerge-refine-subst): Declare.
17585 (diff-refine-hunk): Don't require smerge-mode when compiling.
17586
989681bb
JB
175872011-05-06 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * simple.el (list-processes): Return nil as the docstring says.
17590
a6bc05e1
MA
175912011-05-05 Michael Albinus <michael.albinus@gmx.de>
17592
17593 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17594 to "".
17595 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17596 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17597 determining of binary transfer. (Bug#7383)
17598
23c22e9a
MA
175992011-05-05 Michael Albinus <michael.albinus@gmx.de>
17600
c4662635
SM
17601 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17602 Fix port computation bug. (Bug#8618)
23c22e9a 17603
0bff894f
GM
176042011-05-05 Glenn Morris <rgm@gnu.org>
17605
b8296902
GM
17606 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17607
1f522ce8
GM
17608 * simple.el (shell-dynamic-complete-functions)
17609 (comint-dynamic-complete-functions): Declare.
17610
cf5bee67
GM
17611 * net/network-stream.el (gnutls-negotiate):
17612 * simple.el (tabulated-list-print): Fix declarations.
17613
17614 * progmodes/gud.el (syntax-symbol, syntax-point):
17615 Remove unnecessary and incorrect declarations.
17616
0bff894f
GM
17617 * emacs-lisp/check-declare.el (check-declare-scan):
17618 Handle byte-compile-initial-macro-environment in bytecomp.el
17619
9869b3ae
SM
176202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17621
17622 Fix earlier half-done eieio-defmethod change (bug#8338).
17623 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17624 Streamline and change calling convention.
17625 (defmethod): Adjust accordingly and simplify.
17626 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17627 new eieio--defmethod.
17628 (slot-boundp): Minor CSE simplification.
17629
9c1d5ac5
MZ
176302011-05-05 Milan Zamazal <pdm@zamazal.org>
17631
17632 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17633 (glasses-make-readable): Use glasses-separate-capital-groups.
17634
455c834e
JB
176352011-05-05 Juanma Barranquero <lekktu@gmail.com>
17636
17637 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17638 (warning-series): Doc fix.
17639 (display-warning): Don't try to create the buffer if we just found it.
17640
9ed7c8cb
CY
176412011-05-04 Chong Yidong <cyd@stupidchicken.com>
17642
17643 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17644 (autoload-find-generated-file): New function.
17645 (generate-file-autoloads): Bind generated-autoload-file to
17646 buffer-file-name.
9869b3ae
SM
17647 (update-file-autoloads, update-directory-autoloads):
17648 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17649 output file (Bug#7989).
17650 (batch-update-autoloads): Doc fix.
17651
0898ca10
JB
176522011-05-04 Juanma Barranquero <lekktu@gmail.com>
17653
17654 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17655
31dfb76c
GM
176562011-05-04 Glenn Morris <rgm@gnu.org>
17657
f330b642
GM
17658 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17659 function, so it follows changes in calendar-date-style.
17660 (diary-fancy-date-matcher): New function.
17661 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17662 (diary-fancy-font-lock-fontify-region-function):
17663 Use diary-fancy-date-pattern as a function.
17664
31dfb76c
GM
17665 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17666 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17667
48e79d6a
TZ
176682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17669
17670 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17671 instead of positional arguments. Allow :keylist and :crlfiles
17672 arguments.
17673 (open-gnutls-stream): Call it.
17674
17675 * net/network-stream.el (network-stream-open-starttls): Adjust to
17676 call `gnutls-negotiate' with :process and :hostname arguments.
17677
dd5a5ee0
SM
176782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17679
ef80fc09
SM
17680 * minibuffer.el (completion--message): New function.
17681 (completion--do-completion, minibuffer-complete)
17682 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17683 (completion--do-completion): Don't ignore completion-auto-help when in
17684 icomplete-mode.
17685
dd5a5ee0
SM
17686 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17687 internal encoding (e.g. tibetan zero is not whitespace).
17688 (global-whitespace-mode): Prefer save-current-buffer.
17689 (whitespace-trailing-regexp): Remove useless save-match-data.
17690 (whitespace-empty-at-bob-regexp): Minor simplification.
17691
b7d22a83
CY
176922011-05-03 Chong Yidong <cyd@stupidchicken.com>
17693
17694 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17695
5192af46
AM
176962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17697
17698 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17699 Use `concat' to create string for insertion.
5192af46 17700
5767d190
SM
177012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17702
17703 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17704 Avoid open-line which runs post-self-insert-hook.
17705 (bibtex-fill-entry): Remove unused `end' var.
17706
bf242939
AM
177072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17708
5767d190
SM
17709 * textmodes/ispell.el (ispell-add-per-file-word-list):
17710 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17711
25666126
LL
177122011-05-03 Leo Liu <sdl.web@gmail.com>
17713
17714 * isearch.el (isearch-yank-pop): New command.
5767d190 17715 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17716 (isearch-forward): Mention it.
17717
52d3c2d0
SM
177182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17719
1bcace58
SM
17720 * simple.el (minibuffer-complete-shell-command): Remove.
17721 (minibuffer-local-shell-command-map): Use completion-at-point.
17722 (read-shell-command): Setup completion vars here instead.
17723 (read-expression-map): Bind TAB to symbol completion.
17724
52d3c2d0
SM
17725 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17726 error directly rather via storing it into `results'.
17727
35813471
LL
177282011-05-02 Leo Liu <sdl.web@gmail.com>
17729
17730 * vc/diff.el: Fix description.
17731
e793a940
LMI
177322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17733
17734 * server.el (server-eval-at): New function.
17735
8de66e05
LMI
177362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17737
17738 * net/network-stream.el (open-network-stream): Take a :nowait
17739 parameter and pass it on to `make-network-process'.
17740 (network-stream-open-plain): Ditto.
17741
dcb79f20
AS
177422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17743
17744 * faces.el (face-spec-set-match-display): Don't match toolkit
17745 options on terminal frames.
17746
14a7fbd8
SM
177472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17748
7eabc1be
SM
17749 * progmodes/pascal.el: Use lexical binding.
17750 (pascal-mode-map): Remove author preferences.
17751
14a7fbd8
SM
17752 * pcomplete.el (pcomplete-std-complete): Don't abuse
17753 completion-at-point.
17754
50f84510
JB
177552011-04-28 Juanma Barranquero <lekktu@gmail.com>
17756
6e087a44
JB
17757 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17758 removing code that has been dead since 1991 or so.
17759
50f84510
JB
17760 * startup.el (command-line): When warning about "_emacs", use a
17761 delayed warning to allow the user to filter it out.
17762
0ba690bd
DD
177632011-04-28 Deniz Dogan <deniz@dogan.se>
17764
17765 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17766 user has not joined.
17767
08abfaad
SM
177682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17769
17770 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17771 aren't any completions at point.
17772
638f053a
JB
177732011-04-28 Juanma Barranquero <lekktu@gmail.com>
17774
17775 * subr.el (display-delayed-warnings): New function.
17776 (delayed-warnings-hook): New variable.
17777
8fff8daa
SM
177782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17779
08abfaad
SM
17780 * minibuffer.el (completion-at-point, completion-help-at-point):
17781 Don't presume that a given completion-at-point-function will always
17782 use the same calling convention.
17783
8fff8daa
SM
17784 * pcomplete.el (pcomplete-completions-at-point):
17785 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17786 pcomplete-seen is non-nil.
17787 (pcomplete-comint-setup): Also recognize the new comint/shell
17788 completion functions.
17789 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17790 pcomplete-seen is non-nil.
17791
841a1577 177922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17793
841a1577 17794 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17795 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17796 the first character in the entry. This allows for code to add its
211ec907
UJ
17797 own uid to the entry.
17798 (icalendar--convert-float-to-ical): Add export of
17799 `diary-float'-entries save for those with the optional DAY
17800 argument.
17801
2a782793
DC
178022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17803
17804 * subr.el (shell-quote-argument): Use alternate escaping strategy
17805 when we spot a variable reference in a string.
17806
0438ce91
DC
178072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17808
17809 * cus-start.el (all): Define customization for debug-on-event.
17810
841a1577 178112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17812
17813 * subr.el (shell-quote-argument): Escape correctly under Windows.
17814
d090ed6c
SM
178152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17818
bfd31217
MA
178192011-04-25 Michael Albinus <michael.albinus@gmx.de>
17820
d090ed6c
SM
17821 * net/tramp.el (tramp-process-actions): Add POS argument.
17822 Delete region between POS and (pos).
bfd31217 17823
d090ed6c
SM
17824 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17825 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17826 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17827
17828 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17829 position in `tramp-process-actions' call.
17830
17831 * net/trampver.el: Update release number.
17832
e92f3bd3
SM
178332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17834
850256b5
SM
17835 * custom.el (defcustom): Obey lexical-binding.
17836
e92f3bd3
SM
17837 Fix octave-inf completion problems reported by Alexander Klimov.
17838 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17839 Inherit from octave-mode-syntax-table.
17840 (inferior-octave-mode): Set info-lookup-mode.
17841 (inferior-octave-completion-at-point): New function.
17842 (inferior-octave-complete): Use it and completion-in-region.
17843 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17844 comint-filename-completion.
17845 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17846 symbol elements which shouldn't be word elements.
17847 (octave-font-lock-keywords, octave-beginning-of-defun)
17848 (octave-function-header-regexp): Adjust regexps accordingly.
17849 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17850
cd22b309
JB
178512011-04-25 Juanma Barranquero <lekktu@gmail.com>
17852
17853 * net/gnutls.el (gnutls-errorp): Declare before first use.
17854
8b492194
TZ
178552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17856
17857 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17858 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17859 default trustfile exists before going to use it. Add missing
5a5fa834 17860 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17861 Reported by Claudio Bley <claudio.bley@gmail.com>.
17862 (open-gnutls-stream): Add usage example.
17863
17864 * net/network-stream.el (network-stream-open-starttls): Give host
17865 parameter to `gnutls-negotiate'.
17866 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17867 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17868
841a1577 178692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17870
cd22b309
JB
17871 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17872 Use correct match group (bug#8438).
05842630 17873
3ba7869c
CY
178742011-04-24 Chong Yidong <cyd@stupidchicken.com>
17875
512e3ae1
CY
17876 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17877 (package-menu--generate): New arg specifying packages to show.
17878 (package-menu-refresh, package-menu-execute, list-packages):
17879 Callers changed.
17880 (package-show-package-list): New function, replacing deleted
17881 package--list-packages (renamed because it is non-internal).
17882
17883 * finder.el (finder-list-matches): Use package-show-package-list
17884 instead of deleted package--list-packages.
17885
e92f3bd3
SM
17886 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17887 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17888 (vc-annotate-mode-map): Bind it to RET.
17889
7031be6d
UR
178902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17891
17892 * progmodes/etags.el (next-file): Don't use set-buffer to change
17893 buffers (Bug#8478).
17894
4ef177aa
CY
178952011-04-24 Chong Yidong <cyd@stupidchicken.com>
17896
c8d173eb
CY
17897 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17898
4ef177aa
CY
17899 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17900 (apropos-accumulator): Doc fix.
17901 (apropos-function, apropos-macro, apropos-command)
17902 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17903 (apropos-plist): Add face property.
17904 (apropos-symbols-internal): Fix indentation.
17905 (apropos-print): Simplify help, and recognize apropos-multi-type.
17906 (apropos-print-doc): Use button-type-get to extract the button's
17907 face property. Fill docstring (Bug#8352).
17908
4ffd0d6b 179092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17910
17911 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17912
c6c32125 17913 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17914 (mpuz-mode-map): Use mapc.
c6c32125
JB
17915 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17916 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17917 Fix typos in docstrings.
17918
58d468b4
JB
17919 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17920 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17921
6470c3c6
JB
17922 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17923
4ffd0d6b 179242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17925
17926 * minibuffer.el (completion--do-completion): Avoid the "Next char
17927 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17928
3ad8bad0
CY
17929 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17930 mouse-2 into unread-command-events, it is interpreted correctly.
17931
71d73c9c 17932 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17933 (image-toggle-display): Doc fix.
71d73c9c 17934
841a1577 179352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17936
4ffd0d6b
GM
17937 * textmodes/page.el (what-page): Use line-number-at-pos to
17938 calculate line number (Bug#6825).
6e1dbaa9 17939
c2fb1b60
JB
179402011-04-22 Juanma Barranquero <lekktu@gmail.com>
17941
17942 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17943 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17944 Pass argument NO-DEFAULT to `find-tag-interactive'.
17945
e02f48d7
JB
179462011-04-22 Juanma Barranquero <lekktu@gmail.com>
17947
17948 Lexical-binding cleanup.
17949
17950 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17951 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17952 * progmodes/ada-prj.el (ada-prj-initialize-values)
17953 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17954 (ada-prj-show-value):
17955 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17956 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17957 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17958 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17959 * progmodes/bug-reference.el (bug-reference-push-button):
17960 * progmodes/fortran.el (fortran-line-length):
17961 * progmodes/glasses.el (glasses-change):
17962 * progmodes/octave-mod.el (octave-fill-paragraph):
17963 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17964 (python-pdbtrack-grub-for-buffer, python-sentinel):
17965 * progmodes/sql.el (sql-save-connection):
17966 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17967 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17968 Mark unused parameters.
17969
17970 * progmodes/compile.el (compilation--flush-directory-cache)
17971 (compilation--flush-parse, compile-internal): Mark unused parameters.
17972 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17973 (compilation-next-error-function): Remove unused variable `timestamp'.
17974
17975 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17976 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17977
17978 * progmodes/dcl-mode.el (dcl-end-of-command):
17979 Remove unused variable `start'.
17980 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17981 (dcl-option-value-basic, dcl-option-value-offset)
17982 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17983 Mark unused parameters.
17984 (dcl-save-local-variable): Remove unused variable `val'.
17985 (mode): Declare.
17986
17987 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17988 Mark unused parameters.
17989 (delphi-ignore-changes): Move before first use.
17990 (delphi-charset-token-at): Remove unused variable `start'.
17991 (delphi-else-start): Remove unused variable `if-count'.
17992 (delphi-comment-block-start, delphi-comment-block-end):
17993 Remove unused variable `kind'.
17994 (delphi-indent-line): Remove unused variable `new-point'.
17995
17996 * progmodes/ebrowse.el (ebrowse-files-list)
17997 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17998 Mark unused parameters. Don't quote `lambda'.
17999 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18000 Don't quote `lambda'.
18001 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18002 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18003 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18004 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18005 Use `ignore-errors'.
18006 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18007 (ebrowse-view/find-file-and-search-pattern)
18008 (ebrowse-view/find-member-declaration/definition):
18009 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18010 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18011 Rename parameter PREFIX-ARG to PREFIX.
18012 (ebrowse-tags-read-name): Remove unused variables `start' and
18013 `member-info'.
18014 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18015 to `tags-file'.
18016
18017 * progmodes/etags.el (local-find-tag-hook): Declare.
18018 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18019 Mark unused parameters.
18020
18021 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18022 (executable-interpret): Mark unused parameter.
18023
18024 * progmodes/flymake.el (flymake-process-sentinel)
18025 (flymake-after-change-function)
18026 (flymake-create-temp-with-folder-structure)
18027 (flymake-get-include-dirs-dot): Mark unused parameters.
18028 (flymake-safe-delete-directory): Remove unused variable `err'.
18029
18030 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18031 (speedbar-timer-fn, speedbar-line-text)
18032 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18033 (speedbar-center-buffer-smartly): Declare functions.
18034 (gdb-find-watch-expression): Remove unused variable `array'.
18035 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18036 (gdb-starting): Mark unused parameters.
18037 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18038 (gdb-table-string): Remove unused variable `res'.
18039 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18040 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18041 (gdb-display-buffer): Remove unused variable `cur-size'.
18042
18043 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18044 allow lexical-binding compilation.
18045 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18046 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18047 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18048 Mark unused parameters.
18049 (gud-gdb-marker-filter): Remove unused variable `match'.
18050 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18051 lambda expressions and funcall them, instead of using `fset'.
18052
18053 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18054 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18055
18056 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18057 variable `header-beg'; use `let'.
18058
18059 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18060 `restart', `last-sexp' and `at-do'.
18061
18062 * progmodes/js.el (js--debug): Mark unused parameter.
18063 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18064 (js--splice-into-items): Remove unused variable `item'.
18065 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18066
18067 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18068 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18069 (makefile-complete): Remove unused variable `try'.
18070 (makefile-fill-paragraph, makefile-match-function-end):
18071 Mark unused parameters.
18072
18073 * progmodes/octave-inf.el (inferior-octave-complete):
18074 Remove unused variable `proc'.
18075 (inferior-octave-output-digest): Mark unused parameter.
18076
18077 * progmodes/perl-mode.el (perl-calculate-indent):
18078 Remove unused variable `err'.
18079
18080 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18081 (prolog-indent-line): Mark unused parameters.
18082 (prolog-indent-line): Remove unused variable `beg'.
18083
18084 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18085 (reporter-dont-compact-list): Declare.
18086
18087 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18088 Remove unused variable `char'.
18089 (sh-debug): Mark unused parameter.
18090 (sh-get-indent-info): Remove unused variable `start'.
18091 (sh-calculate-indent): Remove unused variable `var'.
18092
18093 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18094 (simula-electric-keyword): Remove unused variable `null'.
18095 (simula-search-backward, simula-search-forward): Remove unused
18096 variables `begin' and `end'.
18097
18098 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18099 Remove unused variable `pos'.
18100 (vera-electric-tab, vera-comment-uncomment-region):
18101 Mark unused parameters.
18102 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18103
7ede3b65
CY
181042011-04-22 Chong Yidong <cyd@stupidchicken.com>
18105
18106 * emacs-lisp/package.el (package--builtins, package-alist)
18107 (package-load-descriptor, package-built-in-p, package-activate)
18108 (define-package, package-installed-p)
18109 (package-compute-transaction, package-buffer-info)
18110 (package--push): Doc fix. Distinguish more clearly between
18111 version strings and version lists.
18112
121656e9
JB
181132011-04-21 Juanma Barranquero <lekktu@gmail.com>
18114
18115 Lexical-binding cleanup.
18116
18117 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18118 (5x5-make-mutate-best):
18119 * play/fortune.el (fortune-in-buffer):
18120 * play/gomoku.el (gomoku-init-display):
18121 * play/solitaire.el (solitaire, solitaire-do-check):
18122 * play/tetris.el (tetris-default-update-speed-function):
18123 Mark unused parameters.
18124
18125 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18126 (bubbles--shift): Remove unused variable `char-org'.
18127 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18128 (bubbles--show-images): Remove unused variable `char'.
18129
18130 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18131 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18132 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18133 (decipher-analyze-buffer): Use ?\s.
18134 (decipher-make-checkpoint): Remove unused variable `mapping'.
18135
18136 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18137
18138 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18139 Remove unused variable `result'; use `let'.
18140
18141 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18142 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18143 (gametree-children-shown-p, gametree-compute-reduced-score):
18144 Use `ignore-errors'.
18145
18146 * play/handwrite.el (ps-lpr-switches): Declare.
18147 (handwrite): Remove unused variables `pmin' and `lastp'.
18148
18149 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18150
18151 * play/landmark.el (landmark-init-display)
18152 (landmark-update-naught-weights): Mark unused parameters.
18153 (landmark-y): Remove unused variable `noise'. Simplify.
18154 (landmark-human-plays): Remove unused variable `score'.
18155
18156 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18157 (mpuz-try-proposal): Remove unused variable `game'.
18158
18159 * play/zone.el (life-patterns): Declare.
18160
80f499c7
JB
181612011-04-20 Juanma Barranquero <lekktu@gmail.com>
18162
18163 * vc/vc.el (ediff-vc-internal): Declare function.
18164
024ff170
SM
181652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18166
c0a193ea
SM
18167 * shell.el: Use lexical-binding and std completion UI.
18168 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18169 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18170 comint-preoutput-filter-functions rather than on
18171 comint-output-filter-functions.
18172 (shell-command-completion, shell--command-completion-data)
18173 (shell-filename-completion, shell-environment-variable-completion)
18174 (shell-c-a-p-replace-by-expanded-directory): New functions.
18175 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18176 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18177 (shell-dynamic-complete-environment-variable): Use them.
18178 (shell-dynamic-complete-as-environment-variable)
18179 (shell-dynamic-complete-as-command): Remove.
18180 (shell-match-partial-variable): Match past point.
18181 * comint.el: Clean up use of completion-at-point-functions.
18182 (comint-completion-at-point): New function.
18183 (comint-mode): Use it completion-at-point-functions.
18184 (comint-dynamic-complete): Make it obsolete.
18185 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18186 (comint-c-a-p-replace-by-expanded-history): New function.
18187 (comint-dynamic-complete-functions)
18188 (comint-replace-by-expanded-history): Use it.
18189 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18190 termination strings. Try harder to avoid second try-completion.
18191 (completion-in-region-mode-map): Disable bindings that don't work yet.
18192
2dbaa080
SM
18193 * comint.el: Use lexical-binding. Require CL.
18194 (comint-dynamic-complete-functions): Use comint-filename-completion.
18195 (comint-completion-addsuffix): Tweak custom type.
18196 (comint-filename-completion, comint--common-suffix)
18197 (comint--common-quoted-suffix, comint--table-subvert)
18198 (comint--complete-file-name-data): New functions.
18199 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18200 (comint-dynamic-list-filename-completions): Use them.
18201 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18202
2dbaa080
SM
18203 * minibuffer.el (completion-in-region-mode):
18204 Keep completion-in-region-mode--predicate global.
18205 (completion-in-region--postch):
18206 Assume completion-in-region-mode--predicate is not null.
18207
c79a6f38
SM
18208 * progmodes/flymake.el (flymake-start-syntax-check-process):
18209 Obey `dir'. Simplify.
18210
024ff170
SM
18211 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18212 we're in VC after all.
18213
1c6c854e
CS
182142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18215
18216 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18217 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18218 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18219
bed7f140
SM
182202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18221
332e62ab
SM
18222 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18223 add sanity check.
18224
bed7f140
SM
18225 * obsolete/erc-hecomplete.el: Make obsolete.
18226 * obsolete/: Standardize obsolescence info in the header.
18227
f195c582
GM
182282011-04-20 Glenn Morris <rgm@gnu.org>
18229
18230 * calendar/solar.el (solar-horizontal-coordinates):
18231 Use the longitude argument rather than `calendar-longitude'.
18232 (solar-date-next-longitude): Remove unused locals.
18233
cb79b8c0
VJL
182342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18235
18236 * whitespace.el: New version 13.2.1.
18237
182382011-04-20 felix <EmacsWiki> (tiny change)
18239
d8e4b68b 18240 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18241 switching between major modes on a file.
18242
602ea69d
SM
182432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18246 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18247 multi-line comments as well.
18248
06b60517
JB
182492011-04-19 Juanma Barranquero <lekktu@gmail.com>
18250
18251 Lexical-binding cleanup.
18252
18253 * arc-mode.el (archive-mode-revert):
18254 * cmuscheme.el (scheme-interactively-start-process):
18255 * custom.el (custom-initialize-delay):
18256 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18257 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18258 * emacs-lock.el (emacs-lock-clear-sentinel):
18259 * ezimage.el (defezimage):
18260 * follow.el (follow-avoid-tail-recenter):
18261 * fringe.el (set-fringe-mode-1):
18262 * generic-x.el (bat-generic-mode-compile):
18263 * help-mode.el (help-info-variable, help-do-xref)
18264 (help-mode-revert-buffer):
18265 * help.el (view-emacs-todo):
18266 * iswitchb.el (iswitchb-completion-help):
18267 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18268 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18269 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18270 * locate.el (locate-update):
18271 * longlines.el (longlines-encode-region)
18272 (longlines-after-change-function):
18273 * outline.el (outline-isearch-open-invisible):
18274 * ps-def.el (declare-function, charset-dimension, char-width)
18275 (encode-char):
18276 * ps-mule.el (ps-mule-plot-string):
18277 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18278 (recentf-edit-list-select, recentf-edit-list-validate)
18279 (recentf-open-files-action):
18280 * rect.el (delete-whitespace-rectangle-line)
18281 (rectangle-number-line-callback):
18282 * register.el (window-configuration-to-register)
18283 (frame-configuration-to-register):
18284 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18285 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18286 (xselect-convert-to-targets, xselect-convert-to-delete)
18287 (xselect-convert-to-filename, xselect-convert-to-charpos)
18288 (xselect-convert-to-lineno, xselect-convert-to-colno)
18289 (xselect-convert-to-os, xselect-convert-to-host)
18290 (xselect-convert-to-user, xselect-convert-to-class)
18291 (xselect-convert-to-name, xselect-convert-to-integer)
18292 (xselect-convert-to-atom, xselect-convert-to-identity):
18293 * subr.el (declare, ignore, process-kill-without-query)
18294 (text-clone-maintain):
18295 * terminal.el (te-get-char, te-tic-sentinel):
18296 * tool-bar.el (tool-bar-make-keymap):
18297 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18298 * type-break.el (type-break-mode, type-break-noninteractive-query):
18299 * view.el (View-back-to-mark):
18300 * wid-browse.el (widget-browse-action, widget-browse-widget)
18301 (widget-browse-widgets, widget-browse-sexp):
18302 * widget.el (define-widget-keywords):
18303 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18304 Mark unused parameters.
18305
18306 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18307 (align-areas): Remove unused variable `look'.
18308 (align-region): Remove unused variables `real-end' and `pos-list'.
18309
18310 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18311
18312 * bindings.el (mode-line-modified, mode-line-remote):
18313 Mark unused parameters.
18314 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18315
18316 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18317 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18318
18319 * comint.el (comint-history-isearch-pop-state)
18320 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18321 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18322 (comint-substitute-in-file-name): Doc fix.
18323
18324 * completion.el (cmpl-statistics-block): Mark unused parameter.
18325 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18326 (save-completions-to-file, load-completions-from-file):
18327 Remove unused local variable `e'.
18328
18329 * composite.el (compose-chars): Remove unused variable `len'.
18330 (lgstring-insert-glyph): Remove unused variable `g'.
18331 (compose-glyph-string): Remove unused variables `ascent',
18332 `descent', `lbearing' and `rbearing'.
18333 (compose-glyph-string-relative): Remove unused variables
18334 `lbearing', `rbearing' and `wadjust'.
18335 (compose-gstring-for-graphic): Remove unused variables `header',
18336 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18337 (compose-gstring-for-terminal): Remove unused variables `header'
18338 and `nchars'. Use `let', not `let*'.
18339
18340 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18341 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18342 (Custom-buffer-done, custom-buffer-create-internal)
18343 (custom-browse-visibility-action, custom-browse-group-tag-action)
18344 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18345 (widget-magic-mouse-down-action, custom-toggle-parent)
18346 (custom-add-parent-links, custom-toggle-hide-variable)
18347 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18348 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18349 (custom-face-menu-create, custom-variable-menu-create, get)
18350 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18351 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18352 (customize-apropos): Remove unused variable `tests'.
18353 (custom-group-value-create): Remove unused variable `hidden-p'.
18354 (sort-fold-case): Declare.
18355
18356 * cus-theme.el (custom-reset-standard-faces-list)
18357 (custom-reset-standard-variables-list): Declare.
18358 (customize-create-theme, custom-theme-revert, custom-theme-write)
18359 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18360 Mark unused parameters.
18361
18362 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18363
18364 * delim-col.el (delimit-columns-max): Move defvar before first use.
18365
18366 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18367 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18368
18369 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18370 (auto-insert): Declare.
18371 (desktop-restore-file-buffer): Rename desktop-* parameters;
18372 mark unused ones.
18373 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18374 (desktop-buffer): Rename desktop-* parameters.
18375
18376 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18377 (dframe-reposition-frame-xemacs, dframe-help-echo)
18378 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18379 Mark unused parameters.
18380
18381 * dired-aux.el (backup-extract-version-start, overwrite-query)
18382 (overwrite-backup-query, rename-regexp-query)
18383 (rename-non-directory-query): Declare.
18384 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18385 (dired-add-entry): Remove unused variable `orig-file-name'.
18386 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18387 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18388 `dired-copy-preserve-time' directly.
18389 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18390 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18391
18392 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18393 (dired-virtual-revert, dired-make-relative-symlink):
18394 Mark unused parameters.
18395 (manual-program): Declare.
18396 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18397 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18398 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18399
18400 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18401
18402 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18403
18404 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18405 Declare.
18406
18407 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18408
18409 * electric.el (Electric-command-loop): Rename parameter
18410 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18411
18412 * expand.el (expand-in-literal): Remove unused variable `here'.
18413
18414 * facemenu.el (facemenu-add-new-color):
18415 Remove unused variable `docstring'.
18416
18417 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18418 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18419 (face-attr-construct): Mark unused parameter. Doc fix.
18420 (read-color): Remove unused variable `hex-string'.
18421
18422 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18423 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18424 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18425 (display-buffer-other-frame): Remove unused variable `old-window'.
18426 (kill-buffer-hook): Declare.
18427 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18428 Mark unused parameters.
18429 (after-find-file): Pass 1 to `auto-save-mode', not t.
18430
18431 * files-x.el (auto-insert): Declare.
18432 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18433
18434 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18435 variable `buf'. Mark unused parameter.
06b60517
JB
18436 (find-lisp-insert-directory): Mark unused parameter.
18437
18438 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18439 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18440 (format-common-tail): Remove, unused.
18441 (format-deannotate-region): Remove unused variable `loc'.
18442 (format-annotate-region): Remove unused variable `p'.
18443 (format-annotate-single-property-change): Remove unused variables
18444 `default' and `tail'.
18445
18446 * forms.el (read-file-filter): Declare.
18447 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18448
18449 * frame.el (frame-creation-function-alist): Mark unused parameter.
18450 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18451
18452 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18453 Remove unused parameters.
18454 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18455 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18456
18457 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18458 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18459 (hfy-prepare-tag-map): Mark unused parameters.
18460 (htmlfontify-buffer): Use `called-interactively-p'.
18461
18462 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18463 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18464 (ibuffer-do-occur): Mark unused parameters.
18465 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18466 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18467
18468 * ibuffer.el: Don't quote `lambda'.
18469 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18470 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18471 Mark unused parameters.
18472
18473 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18474 (ido-completing-read): Mark unused parameters.
18475 (ido-copy-current-word): Mark unused parameters;
18476 remove unused variable `name'.
18477 (ido-sort-merged-list): Remove unused parameter `dirs'.
18478
18479 * ielm.el (ielm-input-sender): Mark unused parameter.
18480 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18481 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18482 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18483 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18484 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18485
18486 * image-dired.el (image-dired-display-thumbs): Remove unused
18487 variables `curr-file' and `count'.
18488 (image-dired-remove-tag): Remove unused variable `start'.
18489 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18490 variable `curr-file'
18491 (image-dired-rotate-original): Remove unused variable `temp-file'.
18492 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18493 Remove unused variable `file'.
18494 (image-dired-gallery-generate): Remove unused variable `curr'.
18495 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18496
18497 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18498
18499 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18500
18501 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18502
18503 * isearch.el (minibuffer-history-symbol): Declare.
18504 (isearch-edit-string): Remove unused variable `err'.
18505 (isearch-message-prefix, isearch-message-suffix):
18506 Mark unused parameters.
18507
18508 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18509
18510 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18511
18512 * makesum.el (double-column): Remove unused variable `cnt'.
18513
18514 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18515 (ido-ignore-item-temp-list): Declare.
18516
18517 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18518 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18519 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18520 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18521 `mouse-col-delta'.
18522
18523 * mouse-sel.el (mouse-extend-internal):
18524 Remove unused variable `orig-window-frame'.
18525
18526 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18527 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18528 Move declarations before first use.
18529 (pcomplete-opt): Mark unused parameters; doc fix.
18530
18531 * proced.el (proced-revert): Mark unused parameter.
18532 (proced-send-signal): Remove unused variable `err'.
18533
18534 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18535 Rename parameter PREFIX-ARG to ARG.
18536 (ps-basic-plot-string, ps-basic-plot-whitespace):
18537 Mark unused parameters.
18538
18539 * replace.el (replace-count): Define.
18540 (occur-revert-function): Mark unused parameters.
18541 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18542 (isearch-case-fold-search, isearch-string): Declare.
18543 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18544 bind `case-fold-search'. Remove unused variables `beg' and `end',
18545 and simplify.
18546 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18547 COUNT and bind `replace-count'.
18548 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18549 to COUNT.
18550
18551 * savehist.el (print-readably, print-string-length): Declare.
18552
18553 * shadowfile.el (shadow-expand-cluster-in-file-name):
18554 Remove unused variable `cluster'.
18555 (shadow-copy-file): Remove unused variable `i'.
18556 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18557 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18558 (shadow-define-literal-group, shadow-define-regexp-group)
18559 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18560
18561 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18562 (shell): Use `called-interactively-p'.
18563 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18564
18565 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18566 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18567 (delete-backward-char): Remove unused variable `ocol'.
18568 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18569 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18570 (event-apply-hyper-modifier, event-apply-shift-modifier)
18571 (event-apply-control-modifier, event-apply-meta-modifier):
18572 Mark unused parameters.
18573 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18574 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18575
18576 * speedbar.el (speedbar-ignored-directory-expressions)
18577 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18578 (speedbar-find-file, speedbar-dir-follow)
18579 (speedbar-directory-buttons-follow, speedbar-tag-find)
18580 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18581 (speedbar-buffers-line-directory, speedbar-buffer-click):
18582 Mark unused parameters.
18583 (speedbar-tag-file): Remove unused variable `mode'.
18584 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18585
18586 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18587
18588 * talk.el (talk): Remove unused variable `display'.
18589
18590 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18591 (tar-write-region-annotate): Mark unused parameter.
18592
18593 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18594 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18595 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18596 warning by another.
18597
18598 * time-stamp.el (time-stamp-string-preprocess):
18599 Remove unused variable `require-padding'.
18600
18601 * tree-widget.el (widget-glyph-enable): Declare.
18602 (tree-widget-action): Mark unused parameter.
18603
18604 * w32-fns.el (x-get-selection): Mark unused parameter.
18605 (autoload-make-program, generated-autoload-file): Declare.
18606
18607 * wdired.el (wdired-revert): Mark unused parameters.
18608 (wdired-xcase-word): Remove unused variable `err'.
18609
18610 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18611 (whitespace-help-scroll): Remove unused variable `data-help'.
18612
18613 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18614 (widget-image-insert, widget-after-change, default)
18615 (widget-default-format-handler, widget-default-notify)
18616 (widget-default-prompt-value, widget-info-link-action)
18617 (widget-url-link-action, widget-function-link-action)
18618 (widget-variable-link-action, widget-file-link-action)
18619 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18620 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18621 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18622 (widget-insert-button-action, widget-delete-button-action, visibility)
18623 (widget-documentation-link-action, widget-documentation-string-action)
18624 (widget-const-prompt-value, widget-regexp-match, symbol)
18625 (widget-coding-system-prompt-value)
18626 (widget-key-sequence-value-to-external, sexp)
18627 (widget-sexp-value-to-internal, character, vector, cons)
18628 (widget-choice-prompt-value, widget-boolean-prompt-value)
18629 (widget-color--choose-action): Mark unused parameters.
18630 (widget-item-match-inline, widget-choice-match-inline)
18631 (widget-checklist-match, widget-checklist-match-inline)
18632 (widget-group-match): Rename parameter VALUES to VALS.
18633 (widget-field-value-set): Remove unused variable `size'.
18634 (widget-color-action): Remove unused variables `value' and `start'.
18635
18636 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18637 variable `dir'. Doc fix.
06b60517
JB
18638 (windmove-find-other-window): Don't pass it.
18639
18640 * window.el (count-windows): Mark unused parameter.
18641 (bw-adjust-window): Remove unused variable `err'.
18642
18643 * woman.el (woman-file-name): Remove unused variable `default'.
18644 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18645 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18646 (global-font-lock-mode): Declare.
18647 (woman-decode-region): Mark unused parameter.
18648 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18649
18650 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18651 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18652 (x-dnd-handle-moz-url): Remove unused variable `title'.
18653 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18654
18655 * xml.el (xml-parse-tag, xml-parse-attlist):
18656 Remove unused variable `pos'.
18657
bc4f7f3d
GM
186582011-04-19 Glenn Morris <rgm@gnu.org>
18659
18660 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18661 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18662 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18663 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18664 * calendar/cal-html.el (cal-html-insert-minical):
18665 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18666 (calendar-mark-date-pattern):
18667 Prefix "unused" locals.
18668
18669 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18670 optional argument `style'.
18671
18672 * calendar/appt.el (appt-make-list):
18673 * calendar/cal-china.el (calendar-chinese-date-string):
18674 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18675 (diary-hebrew-yahrzeit):
18676 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18677 * calendar/calendar.el (calendar-generate-window):
18678 * calendar/time-date.el (time-to-days):
18679 Remove unused local variables.
18680
16a43933
CY
186812011-04-18 Chong Yidong <cyd@stupidchicken.com>
18682
18683 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18684 glyphless-char-display table.
18685 (tabulated-list-glyphless-char-display): New var.
18686
7eed1860
SS
186872011-04-18 Sam Steingold <sds@gnu.org>
18688
18689 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18690 to acknowledgments.
18691
4d2d1ccd
GM
186922011-04-17 Glenn Morris <rgm@gnu.org>
18693
18694 * calendar/diary-lib.el (diary-sexp-entry):
18695 * calendar/holidays.el (holiday-sexp):
18696 Set debug-on-error rather than the removed stack-trace-on-error.
18697
239da61d
GM
186982011-04-16 Glenn Morris <rgm@gnu.org>
18699
18700 * progmodes/f90.el: Use lexical-binding.
18701 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18702
8b05752a
SM
187032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18704
daca8ba5
SM
18705 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18706 (mail-mode): Setup mailalias completion here instead.
18707 * mail/mailalias.el: Use lexical-binding.
18708 (pattern, mailalias-done): Declare dynamic.
18709 (mail-completion-at-point-function): New function, from mail-complete.
18710 (mail-complete): Use it.
18711 (mail-completion-expand): New function.
18712 (mail-get-names): Use it.
18713 (mail-directory, mail-directory-process, mail-directory-stream):
18714 Don't use `pattern' for lexically bound arg.
18715
6f542485
SM
18716 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18717
037e7c3f
SM
18718 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18719 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18720 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18721
8b05752a
SM
18722 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18723 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18724 (byte-interactive-p): Define them again, for use when inlining
18725 old code.
18726
49093f60
JB
187272011-04-15 Juanma Barranquero <lekktu@gmail.com>
18728
18729 * loadup.el: Use `string-to-number', not `string-to-int'.
18730
b5b8e7de
SM
187312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18732
18733 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18734 gud-gdb-complete-command.
18735 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18736 (gud-gdb-completion-at-point): New function.
18737 (gud-gdb-completions): Remove.
18738
f42efeb5
MA
187392011-04-14 Michael Albinus <michael.albinus@gmx.de>
18740
49093f60
JB
18741 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18742 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18743 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18744 whether `executable-find' is bound.
f42efeb5
MA
18745
18746 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18747
e240cc21
SM
187482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18749
18750 * minibuffer.el (completion-in-region-mode-predicate)
18751 (completion-in-region-mode--predicate): New vars.
18752 (completion-in-region, completion-in-region--postch)
18753 (completion-in-region-mode): Use them.
18754 (completion--capf-wrapper): Also return the hook function.
18755 (completion-at-point, completion-help-at-point):
18756 Adjust and provide a predicate.
c2bd2ab0
SM
18757
18758 Preserve arg names for advice of subr and lexical functions (bug#8457).
18759 * help-fns.el (help-function-arglist): Consolidate the subr and
18760 new-byte-code cases. Add argument `preserve-names' to extract names
18761 from the docstring when needed.
18762 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18763 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18764 (ad-arglist): Use help-function-arglist's new arg.
18765 (ad-definition-type): Use cond.
18766
c183f693
JB
187672011-04-13 Juanma Barranquero <lekktu@gmail.com>
18768
06641a47
JB
18769 * autorevert.el (auto-revert-handler):
18770 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18771 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18772 Don't quote lambda.
18773
c183f693
JB
18774 * image-mode.el (image-transform-set-scale):
18775 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18776
1e3b6001
G
187772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18778
18779 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18780 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18781 Upgrades via gnutls-cli are too slow to be done opportunistically.
18782
2d6af8dd
JB
187832011-04-12 Juanma Barranquero <lekktu@gmail.com>
18784
18785 * dframe.el (dframe-current-frame): Remove spurious quote.
18786
c0749a51
GM
187872011-04-12 Glenn Morris <rgm@gnu.org>
18788
088d0d61
GM
18789 * calendar/cal-tex.el (cal-tex-end-document):
18790 Try to automatically use latin1 input if needed.
18791
c0749a51
GM
18792 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18793 Don't try to cons a mark onto an empty element.
18794
5c90fde0
LL
187952011-04-11 Leo Liu <sdl.web@gmail.com>
18796
18797 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18798 buffers.
18799 (ido-kill-buffer-at-head): Support killing virtual buffers.
18800
369e974d
CY
188012011-04-10 Chong Yidong <cyd@stupidchicken.com>
18802
18803 * minibuffer.el (completion-show-inline-help): New var.
18804 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18805 (minibuffer-force-complete, minibuffer-complete-word):
18806 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18807
18808 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18809 to avoid interference from inline help (Bug#5849).
18810
37f1c930
LL
188112011-04-10 Leo Liu <sdl.web@gmail.com>
18812
099c39a4
JB
18813 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18814 Fix typo.
37f1c930 18815
a32d4040
CY
188162011-04-09 Chong Yidong <cyd@stupidchicken.com>
18817
18818 * image-mode.el (image-toggle-display-image): Signal an error if
18819 not in Image mode.
18820 (image-transform-mode, image-transform-resize)
18821 (image-transform-set-rotation): Doc fix.
daca8ba5 18822 (image-transform-set-resize): Delete.
a32d4040
CY
18823 (image-transform-set-scale, image-transform-fit-to-height)
18824 (image-transform-fit-to-width): Handle image-toggle-display-image
18825 and image-transform-resize directly.
18826
099c39a4 188272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18828
18829 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18830 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18831 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18832 (doc-view-mode-map): Add bindings for the new functions.
18833
099c39a4 188342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18835
4d61f28d 18836 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18837 Fix typo in docstring.
18838
3726838a
EZ
188392011-04-08 Eli Zaretskii <eliz@gnu.org>
18840
04f33f1e
EZ
18841 * files.el (file-size-human-readable): Produce one digit after
18842 decimal, like "ls -lh" does.
18843
18844 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18845 the file size representation.
18846
3726838a
EZ
18847 * simple.el (list-processes): If async subprocesses are not
18848 available, error out with a clear error message.
18849
cbb59342
CY
188502011-04-08 Chong Yidong <cyd@stupidchicken.com>
18851
18852 * help.el (help-form-show): New function, to be called from C.
18853 Put help-form output in a buffer named differently than *Help*.
18854
e3971c44
EZ
188552011-04-08 Eli Zaretskii <eliz@gnu.org>
18856
18857 * files.el (file-size-human-readable): New function.
18858
18859 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18860 computing the representation inline. Don't require `cl'.
18861
12544bbe
GM
188622011-04-08 Glenn Morris <rgm@gnu.org>
18863
a1de6c6a
GM
18864 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18865
3c4671f4
GM
18866 * net/browse-url.el (browse-url-firefox):
18867 Test system-type, not system-configuration.
18868
b605679c
GM
18869 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18870 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18871 Use log-edit-empty-buffer-p. (Bug#7598)
18872
56442f0c
GM
18873 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18874 (rlogin-mode-map): Initialize in the defvar.
18875 (rlogin): Use ignore-errors.
18876
12544bbe
GM
18877 * replace.el (occur-mode-map): Some fixes for menu items.
18878
eb237b0f
AH
188792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18880
18881 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18882
7d668f2c
CY
188832011-04-06 Chong Yidong <cyd@stupidchicken.com>
18884
e67a13ab
CY
18885 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18886 issuing unused warnings.
18887
18888 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18889 macro directly.
18890
7d668f2c
CY
18891 * simple.el: Lisp reimplement of list-processes. Based on an
18892 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18893 (process-menu-mode): New major mode.
18894 (list-processes--refresh, list-processes):
18895 (process-menu-visit-buffer): New functions.
18896
18897 * files.el (save-buffers-kill-emacs): Don't assume any return
18898 value of list-processes, which is undocumented anyway.
18899
a83ec3c9
CY
189002011-04-06 Chong Yidong <cyd@stupidchicken.com>
18901
18902 * emacs-lisp/tabulated-list.el: New file.
18903
e91a96fe
CY
18904 * emacs-lisp/package.el: Use Tabulated List mode.
18905 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18906 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18907 table format using Tabulated List mode variables.
18908 (package--push): New macro, replacing package-list-maybe-add.
18909 (package-menu--generate): Use package--push. Renamed from
18910 package--generate-package-list.
18911 (package-menu-refresh, list-packages): Use it.
daca8ba5 18912 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18913 Return insertion data instead of inserting it directly.
099c39a4
JB
18914 (package-menu-describe-package, package-menu-execute):
18915 Use tabulated-list-get-id.
e91a96fe
CY
18916 (package-menu-mark-delete, package-menu-mark-install)
18917 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18918 (package-menu-mark-obsolete-for-deletion):
18919 Use tabulated-list-put-tag.
e91a96fe
CY
18920 (package--list-packages, package-menu-revert)
18921 (package-menu-get-package, package-menu-get-version)
18922 (package-menu-sort-by-column): Functions deleted.
18923 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18924 (package-menu--status-predicate, package-menu--version-predicate)
18925 (package-menu--name-predicate)
18926 (package-menu--description-predicate): Handle arguments in the
18927 Tabulated List format.
18928 (package-list-packages-no-fetch): Call list-packages.
18929
3e214b50
JB
189302011-04-06 Juanma Barranquero <lekktu@gmail.com>
18931
18932 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18933 (after-find-file): Don't bind it.
3e214b50
JB
18934 (revert-buffer-in-progress-p): New variable.
18935 (revert-buffer): Bind it.
18936 Pass nil for `after-find-file-from-revert-buffer'.
18937
18938 * saveplace.el (save-place-find-file-hook): Use new variable
18939 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18940
3f0f1700
GM
189412011-04-06 Glenn Morris <rgm@gnu.org>
18942
c0274801
GM
18943 * Makefile.in (AUTOGEN_VCS): New variable.
18944 (autoloads): Use $AUTOGEN_VCS.
18945
3f0f1700
GM
18946 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18947 * calendar/calendar.el (calendar-mode-map):
18948 Check for toolkit scroll bars. (Bug#8305)
18949
41ea9e48
CY
189502011-04-05 Chong Yidong <cyd@stupidchicken.com>
18951
18952 * minibuffer.el (completion-in-region--postch)
18953 (completion-in-region-mode): Remove unnecessary messages.
18954
6194c800
JB
189552011-04-05 Juanma Barranquero <lekktu@gmail.com>
18956
33256f14
JB
18957 * font-lock.el (font-lock-refresh-defaults):
18958 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18959 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18960
6194c800
JB
18961 * info.el (Info-directory-list, Info-read-node-name-2)
18962 (Info-split-parameter-string): Doc fixes.
18963 (Info-virtual-nodes): Reflow docstring.
18964 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18965 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18966 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18967 Fix typos in docstrings.
18968 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18969 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18970 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18971 (Info-restore-desktop-buffer): Mark unused parameters.
18972 (Info-directory-find-file, Info-directory-find-node)
18973 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18974 (Info-virtual-index-find-node, Info-apropos-find-file)
18975 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18976 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18977 (Info-virtual-index): Remove unused local variable `nodename'.
18978
b87a8200 189792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18980
b87a8200
DD
18981 * net/rcirc.el: Update my e-mail address.
18982 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18983
3b2ff876
CY
189842011-04-05 Chong Yidong <cyd@stupidchicken.com>
18985
18986 * startup.el (command-line): Save the cursor's theme-face
18987 directly, instead of using face-override-spec.
18988
18989 * custom.el (load-theme): Minor optimization in assigning faces.
18990
8d17e7ca
JB
189912011-04-04 Juanma Barranquero <lekktu@gmail.com>
18992
18993 * help-fns.el (describe-variable): Complete all variables having
18994 documentation, including keywords.
18995 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18996
2fbc1934
JB
189972011-04-04 Juanma Barranquero <lekktu@gmail.com>
18998
18999 Convert to lexical-binding.
19000
19001 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19002 (bs--get-marked-string, bs--get-modified-string)
19003 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19004 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19005 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19006
19007 * ehelp.el (electric-help-execute-extended)
19008 (electric-help-ctrl-x-prefix):
19009 * hexl.el (hexl-revert-buffer-function):
19010 * linum.el (linum-after-change, linum-after-scroll):
19011 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19012
19013 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19014
74f50695
DU
190152011-04-04 Daiki Ueno <ueno@unixuser.org>
19016
19017 * epa-dired.el:
19018 * epa-mail.el:
19019 * epa-hook.el:
19020 * epa-file.el:
19021 * epa.el:
19022 * epg.el: Use lexical binding.
19023
c11325f7
CY
190242011-04-03 Chong Yidong <cyd@stupidchicken.com>
19025
0d9e9a12
CY
19026 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19027
c11325f7 19028 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19029 dictionary case for flyspell-mark-duplications-exceptions.
19030 Use regexp matching for languages.
c11325f7
CY
19031 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19032 default dictionary (Bug#7926).
19033
da91b5f2
CY
190342011-04-02 Chong Yidong <cyd@stupidchicken.com>
19035
099c39a4
JB
19036 * emacs-lisp/package.el (package--with-work-buffer):
19037 Recognize https URLs.
da91b5f2 19038
099c39a4
JB
19039 * net/network-stream.el: Move from gnus/proto-stream.el.
19040 Change prefix to network-stream throughout.
da91b5f2
CY
19041 (open-protocol-stream): Merge into open-network-stream, leaving
19042 open-protocol-stream as an alias. Handle nil BUFFER args.
19043
19044 * subr.el (open-network-stream): Move to net/network-stream.el.
19045
afa8e9f6
GM
190462011-04-02 Glenn Morris <rgm@gnu.org>
19047
1d2e369d
GM
19048 * find-dired.el (find-exec-terminator): New option.
19049 (find-ls-option): Test for -ls support.
19050 (find-ls-subdir-switches): Test for -b in find-ls-option.
19051 (find-dired, find-grep-dired): Doc fixes.
19052 (find-dired): Use find-exec-terminator.
19053
8abb7da8 19054 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19055 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19056 (find-name-arg): Remove purecopy.
8abb7da8 19057
f3ca7378
GM
19058 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19059 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19060 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19061 accordingly. Don't add the null-device if not needed.
19062
afa8e9f6
GM
19063 * files.el (save-some-buffers): Doc fix.
19064
35eae264
EZ
190652011-04-02 Eli Zaretskii <eliz@gnu.org>
19066
19067 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19068
26b51db5
JB
190692011-04-01 Juanma Barranquero <lekktu@gmail.com>
19070
19071 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19072 Use `dolist' rather than `mapcar'.
19073
7200d79c
SM
190742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19075
03408648 19076 Add lexical binding.
7200d79c 19077
03408648
SM
19078 * subr.el (apply-partially): Use new closures rather than CL.
19079 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19080 (dolist, dotimes): Use slightly different expansion for lexical code.
19081 (functionp): Move to C.
19082 (letrec): New macro.
19083 (with-wrapper-hook): Use it and apply-partially instead of CL.
19084 (eval-after-load): Preserve lexical-binding.
19085 (save-window-excursion, with-output-to-temp-buffer): Turn them
19086 into macros.
7200d79c 19087
03408648
SM
19088 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19089
19090 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19091 than the arglist.
19092 (help-add-fundoc-usage): Don't add `Not documented'.
19093 (help-function-arglist): Handle closures, subroutines, and new
19094 byte-code-functions.
19095 (help-make-usage): Remove leading underscores.
19096 (describe-function-1): Handle closures.
19097 (describe-variable): Use special-variable-p for completion.
19098
19099 * files.el (lexical-binding): Declare safe.
f488fb65 19100
03408648
SM
19101 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19102 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19103 (pcase): Add `let' pattern.
19104 Change memoization so it actually works.
19105 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19106 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19107 <let>: New case.
f488fb65 19108
03408648
SM
19109 * emacs-lisp/macroexp.el: Use lexical binding.
19110 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19111 Don't convert ' to #' without checking that it's indeed quoting
19112 a lambda.
19113
19114 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19115 Use eval-sexp-add-defvars.
03408648
SM
19116 (eval-sexp-add-defvars): New fun.
19117
19118 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19119
19120 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19121 Don't autoload.
19122 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19123 than the internal `byte-compile-lambda'.
19124 (defmethod): Don't hide code under quotes.
19125 (eieio-defmethod): New `code' argument.
19126
19127 * emacs-lisp/eieio-comp.el: Remove.
19128
19129 * emacs-lisp/edebug.el (edebug-eval-defun)
19130 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19131 (edebug-toggle): Avoid `eval'.
19132
19133 * emacs-lisp/disass.el (disassemble-internal): Handle new
19134 `closure' objects.
19135 (disassemble-1): Handle new byte codes.
19136
19137 * emacs-lisp/cl.el (pushnew): Silence warning.
19138
19139 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19140 (cl-byte-compile-throw): Remove.
19141 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19142
19143 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19144 closures.
19145
19146 * emacs-lisp/cconv.el: New file.
19147
19148 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19149 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19150 (byte-compile-initial-macro-environment):
19151 Handle declare-function here.
19152 (byte-compile--lexical-environment): New var.
19153 (byte-stack-ref, byte-stack-set, byte-discardN)
19154 (byte-discardN-preserve-tos): New lap codes.
19155 (byte-interactive-p): Don't use any more.
19156 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19157 New macros.
19158 (byte-compile-lapcode): Use them and handle new lap codes.
19159 (byte-compile-obsolete): Remove.
19160 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19161 (byte-compile-arglist-warn): Check late def of inlinable funs.
19162 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19163 since they should have been expanded by now.
19164 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19165 (byte-compile-from-buffer): Remove unused second arg.
19166 (byte-compile-preprocess): New function.
19167 (byte-compile-toplevel-file-form): New function to distinguish
19168 file-form calls from outside from file-form calls from hunk-handlers.
19169 (byte-compile-file-form): Simplify.
19170 (byte-compile-file-form-defsubst): Remove.
19171 (byte-compile-file-form-defmumble): Simplify now that
19172 byte-compile-lambda always returns a byte-code-function.
19173 (byte-compile): Preprocess.
19174 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19175 Remove, not used any more.
19176 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19177 (byte-compile-make-args-desc): New funs.
19178 (byte-compile-lambda): Handle lexical functions. Always return
19179 a byte-code-function.
19180 (byte-compile-reserved-constants): New var, to make up room for
19181 closed-over variables.
19182 (byte-compile-constants-vector): Obey it.
19183 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19184 (byte-compile-macroexpand-declare-function): New function.
19185 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19186 byte-code-functions.
19187 (byte-compile-form): Check obsolescence here.
19188 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19189 (byte-compile-variable-ref): Remove.
19190 (byte-compile-dynamic-variable-op): New fun.
19191 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19192 (byte-compile-variable-set): New funs.
19193 (byte-compile-discard): Add 2 args.
19194 (byte-compile-stack-ref, byte-compile-stack-set)
19195 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19196 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19197 macroexpand-all instead.
19198 (byte-compile-quote-form): Remove.
19199 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19200 (byte-compile-bind, byte-compile-unbind): New funs.
19201 (byte-compile-let): Handle let* and lexical binding.
19202 (byte-compile-let*): Remove.
19203 (byte-compile-catch, byte-compile-unwind-protect)
19204 (byte-compile-track-mouse, byte-compile-condition-case):
19205 Handle a new :fun-body form, used for lexical scoping.
19206 (byte-compile-save-window-excursion)
19207 (byte-compile-with-output-to-temp-buffer): Remove.
19208 (byte-compile-defun): Simplify.
19209 (byte-compile-stack-adjustment): New fun.
19210 (byte-compile-out): Use it.
19211 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19212
19213 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19214 handler any more.
19215
19216 * emacs-lisp/byte-opt.el: Use lexical binding.
19217 (byte-inline-lapcode): Remove (to bytecomp).
19218 (byte-compile-inline-expand): Pay attention to inlining to/from
19219 lexically bound code.
19220 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19221 any more.
19222 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19223 any more and don't call compiler-macros.
19224 (byte-compile-splice-in-already-compiled-code): Remove.
19225 (byte-code): Don't inline any more.
19226 (disassemble-offset): Receive `bytes' as argument rather than via
19227 dynamic scoping.
19228 (byte-compile-tag-number): Declare before first use.
19229 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19230 `return' even if make-spliceable.
19231 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19232 obsolete interactive-p.
19233 (byte-optimize-lapcode): Optimize new lap-codes.
19234 Don't trip up on new form of `byte-constant' lap code.
19235
19236 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19237
19238 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19239
19240 * custom.el (custom-initialize-default, custom-declare-variable):
19241 Use `defvar'.
19242
19243 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19244 New variables.
19245 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19246 (COMPILE_FIRST): Add macroexp and cconv.
19247 * makefile.w32-in: Mirror changes in Makefile.in.
19248
19249 * vc/cvs-status.el:
19250 * vc/diff-mode.el:
19251 * vc/log-edit.el:
19252 * vc/log-view.el:
19253 * vc/smerge-mode.el:
19254 * textmodes/bibtex-style.el:
090bd7cb 19255 * textmodes/css-mode.el:
03408648
SM
19256 * startup.el:
19257 * uniquify.el:
da91b5f2
CY
19258 * minibuffer.el:
19259 * newcomment.el:
19260 * reveal.el:
19261 * server.el:
19262 * mpc.el:
19263 * emacs-lisp/smie.el:
19264 * doc-view.el:
19265 * dired.el:
03408648
SM
19266 * abbrev.el: Use lexical binding.
19267
0f0c1f27
EZ
192682011-04-01 Eli Zaretskii <eliz@gnu.org>
19269
19270 * info.el (info-display-manual): New function.
19271
c82b2579
SM
192722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19275
221ddf68
TH
192762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19277
19278 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19279 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19280
cba6e77e
GM
192812011-03-31 Glenn Morris <rgm@gnu.org>
19282
e040639f
GM
19283 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19284
cba6e77e
GM
19285 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19286
6d0f1c9e
CS
192872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19288
19289 * progmodes/python.el (python-default-interpreter)
19290 (python-python-command-args, python-jython-command-args)
19291 (python-which-shell, python-which-args, python-which-bufname)
19292 (python-file-queue, python-comint-output-filter-function)
19293 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19294 variables and functions.
19295
3e2d70fd
SM
192962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19297
19298 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19299 (completion-in-region-mode): New minor mode.
19300 (completion-in-region): Use it.
19301 (completion-in-region--data, completion-in-region-mode-map): New vars.
19302 (completion-in-region--postch): New function.
19303 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19304 New vars.
19305 (completion--capf-wrapper): New function.
19306 (completion-at-point): Use it to track well-behavedness of
19307 hook functions.
19308 (completion-help-at-point): New command.
19309
f3e4086c
JM
193102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19311
19312 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19313 syntax class to search for whitespace on a single line
19314 (Message-ID: <4D938140.4030905@redhat.com>).
19315
eb7ffc14
LL
193162011-03-30 Leo Liu <sdl.web@gmail.com>
19317
19318 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19319 New commands.
19320 (edit-abbrevs-map): Bind them here.
19321 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19322
d806ab68
KM
193232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19324
19325 * allout.el (allout-hide-by-annotation, allout-flag-region):
19326 Reduce possibility of overlay leakage by making them volatile.
19327
19328 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19329 hash is not shared between buffers. Mode initialization is
19330 responsible for giving it a useful starting value.
19331 (allout-item-span): Reduce possibility of overlay leakage by
19332 making them volatile.
19333 (allout-widgets-count-buttons-in-region): Add diagnostic function
19334 for tracking down button overlay leaks.
19335
ea622834
LL
193362011-03-29 Leo Liu <sdl.web@gmail.com>
19337
19338 * ido.el (ido-read-internal): Use the default history var
19339 minibuffer-history if no HISTORY is specified.
19340
b62f8267
G
193412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19342
03408648
SM
19343 * net/imap.el (imap-shell-open, imap-process-connection-type):
19344 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19345 Kerberos, SSL, other subprocesses.
19346
947b6566
LL
193472011-03-28 Leo Liu <sdl.web@gmail.com>
19348
19349 * abbrev.el (abbrev-table-empty-p): New function.
19350 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19351 nonempty ones. (Bug#5937)
19352
5ffb62aa
JD
193532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19354
19355 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19356
7a097943
LL
193572011-03-27 Leo Liu <sdl.web@gmail.com>
19358
19359 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19360 for foreground and background colors.
19361 (ansi-color-make-color-map): Adapt.
19362
c5b40130
LL
193632011-03-25 Leo Liu <sdl.web@gmail.com>
19364
1f48f7d2
LL
19365 * midnight.el (midnight-time-float): Remove. Note it calculates
19366 the microsecond component incorrectly and seconds-to-time does the
19367 same job.
625897ec 19368 Remove redundant (require 'timer).
1f48f7d2 19369
c5b40130
LL
19370 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19371 (ido-completions): Remove unused arguments. (Bug#8329)
19372
d86d2721
SM
193732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19374
19375 * minibuffer.el (completion--flush-all-sorted-completions):
19376 Remove itself from hook.
19377 (completion-at-point): Let the functions perform the completion
19378 immediately and return nil or t.
19379 * comint.el (comint-dynamic-complete-functions): Now identical to
19380 completion-at-point-functions.
19381 (comint-dynamic-list-input-ring): Remove unused var `index'.
19382 (comint--match-partial-filename, comint--unquote&expand-filename):
19383 New funs, split from comint-match-partial-filename.
19384 (comint-dynamic-complete): Use completion-at-point.
19385 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19386
e8974c48
DA
193872011-03-24 Drew Adams <drew.adams@oracle.com>
19388
19389 * thingatpt.el: Support `defun'.
19390
def71b5e
LL
193912011-03-23 Leo Liu <sdl.web@gmail.com>
19392
cb5af48e
LL
19393 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19394
def71b5e
LL
19395 * help-mode.el (help-mode-finish): Tweak regexp.
19396
927c53e7
GM
193972011-03-23 Glenn Morris <rgm@gnu.org>
19398
18d05bed
GM
19399 * eshell/esh-opt.el (eshell-eval-using-options):
19400 Do not bind unused local variable `eshell-option-stub'.
19401
927c53e7
GM
19402 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19403
9d0da923
JB
194042011-03-22 Juanma Barranquero <lekktu@gmail.com>
19405
19406 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19407 keymap variable in `with-no-warnings' to avoid a warning when the
19408 keymap has been already `defconst'ed.
19409
4b978a67
LL
194102011-03-22 Leo Liu <sdl.web@gmail.com>
19411
19412 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19413 encode all chars in abbrevs; otherwise use emacs-mule or
19414 utf-8-emacs. (Bug#8308)
19415
5fd62452
JB
194162011-03-22 Juanma Barranquero <lekktu@gmail.com>
19417
0b1596c6
JB
19418 * simple.el (backward-delete-char-untabify):
19419 Avoid warning about using `delete-backward-char'.
19420
5fd62452
JB
19421 * image.el (image-type-file-name-regexps): Make it variable.
19422 `imagemagick-register-types' modifies it, and the user may want
19423 to add new extensions for known image types.
19424 (imagemagick-register-types): Throw error if not using ImageMagick.
19425
0b4e93f1
LL
194262011-03-22 Leo Liu <sdl.web@gmail.com>
19427
19428 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19429 located before rcirc-prompt-end-marker.
19430 (rcirc-complete): Error if point is not after rcirc prompt.
19431 Handle the case when table is nil.
9882e214 19432 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19433
fccee4ab
CY
194342011-03-22 Chong Yidong <cyd@stupidchicken.com>
19435
19436 * custom.el (custom--inhibit-theme-enable): Make it affect only
19437 custom-theme-set-variables and custom-theme-set-faces.
19438 (provide-theme): Ignore custom--inhibit-theme-enable.
19439 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19440 (custom-enabling-themes): Delete variable.
d86d2721
SM
19441 (enable-theme): Accept only loaded themes as arguments.
19442 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19443 (custom-enabled-themes): Forbid themes from setting this.
19444 Eliminate use of custom-enabling-themes.
19445 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19446
af896da6
LL
194472011-03-21 Leo Liu <sdl.web@gmail.com>
19448
19449 * ido.el (ido-read-internal): Add ido-selected to history instead
19450 of user input.
19451
78f64af0
SM
194522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19453
19454 * subr.el (deferred-action-list, deferred-action-function):
19455 Mark obsolete.
19456
b16ac1ec
LL
194572011-03-21 Leo Liu <sdl.web@gmail.com>
19458
810f7698
LL
19459 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19460 change on 2011-02-13 (bug#8309).
19461
b16ac1ec
LL
19462 * minibuffer.el (read-file-name-function): Change default value.
19463 (read-file-name--defaults): Rename from read-file-name-defaults.
19464 (read-file-name-default): Rename from read-file-name.
19465 (read-file-name): Call read-file-name-function.
19466
4e05e67e
GM
194672011-03-21 Glenn Morris <rgm@gnu.org>
19468
19469 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19470 Doc fixes.
19471
4359915b
CY
194722011-03-21 Chong Yidong <cyd@stupidchicken.com>
19473
19474 * cus-theme.el: Add missing provide statement.
19475 (customize-create-theme): Extract theme value correctly.
19476 (custom-theme-visit-theme): Autoload.
19477 (customize-create-theme): Prompt before inserting default faces.
19478
1fe275ee
JB
194792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19480
19481 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19482 units and musical notes.
19483
cd394be1 194842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19485
19486 * ido.el (ido-read-internal): Use completing-read-default.
19487 (ido-completing-read): Fix compatibility with completing-read.
19488
7d476bde
CO
194892011-03-20 Christian Ohler <ohler@gnu.org>
19490
19491 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19492 (ert-delete-all-tests): Use `called-interactively-p' rather than
19493 `interactive-p'.
19494 (ert--make-xrefs-region): Respect END.
19495
fe0fb33e
CY
194962011-03-19 Chong Yidong <cyd@stupidchicken.com>
19497
ff854b0b
CY
19498 * dired-aux.el (dired-create-directory): Signal an error if the
19499 directory already exists (Bug#8246).
19500
fe0fb33e
CY
19501 * facemenu.el (list-colors-display): Call list-faces-display
19502 inside with-help-window.
19503 (list-colors-print): Use display property to align the final
19504 column, instead of checking window-width.
19505
576bce32
EZ
195062011-03-19 Eli Zaretskii <eliz@gnu.org>
19507
4d61f28d 19508 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19509 windows-nt systems.
19510 (emerge-protect-metachars): Quote correctly for ms-dos and
19511 windows-nt systems.
19512
89c41d68 195132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19514
19515 * info.el (info-initialize): Replace all uses of `:' with
19516 path-separator for compatibility with non-Unix systems.
19517 Cache quoting of path-separator. (Bug#8258)
19518
b14e3e21 195192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19520
19521 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19522 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19523 (mouse-avoidance-mode): Fix typos in docstrings.
19524
4525ce3e
CY
195252011-03-19 Chong Yidong <cyd@stupidchicken.com>
19526
19527 * startup.el (package-subdirectory-regexp): Move from package.el.
19528 Omit \\` and \\', and let callers add them.
19529
19530 * emacs-lisp/package.el (package-strip-version)
19531 (package-load-all-descriptors): Add \\` and \\' to
19532 package-subdirectory-regexp before using it.
19533 (package-untar-buffer): New arg DIR; ensure that file untars only
19534 into this expected directory. Remove superfluous delete-region.
19535 (package-unpack): Caller changed.
19536 (package-tar-file-info): Use package-subdirectory-regexp.
19537
a904a09a 195382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19539
a904a09a
SM
19540 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19541 diff-mode-shared-map (bug#8284).
19542 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19543
195442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19545
19546 * calendar/time-date.el (format-seconds): Use assoc instead of
19547 assoc-string, since assoc-string doesn't exist in XEmacs.
19548
171fc304
JB
195492011-03-17 Juanma Barranquero <lekktu@gmail.com>
19550
19551 * custom.el (custom-known-themes): Reflow docstring.
19552 (custom-theme-load-path): Fix typo in docstring.
19553 (load-theme): Fix typo in error message.
19554 (custom-available-themes, custom-variable-theme-value):
19555 Use `let', not `let*'.
19556
d71990a1
JB
195572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19558
19559 * calc/README: Mention inclusion of musical notes.
19560
19561 * calc/calc-units.el (calc-lu-quant): Rename from
19562 `calc-logunits-quantity'.
19563 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19564 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19565 (calc-db): Rename from `calc-dblevel'.
19566 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19567 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19568 (calc-np): Rename from `calc-nplevel'.
19569 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19570 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19571 (calc-lu-plus): Rename from `calc-logunits-add'.
19572 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19573 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19574 (calc-lu-minus): Rename from `calc-logunits-sub'.
19575 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19576 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19577 (calc-lu-times): Rename from `calc-logunits-mul'.
19578 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19579 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19580 (calc-lu-divide): Rename from `calc-logunits-div'.
19581 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19582 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19583
19584 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19585 functions being autoloaded.
19586
19587 * calc/calc.el (calc-lu-power-reference): Rename from
19588 `calc-logunits-power-reference'.
19589 (calc-lu-field-reference): Rename from
19590 `calc-logunits-field-reference'.
19591
7a71b18d
GM
19592 * calc/calc-help.el (calc-l-prefix-help):
19593 Mention musical note functions.
d71990a1 19594
40c2934b
SM
195952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19596
19597 * minibuffer.el (completion-all-sorted-completions):
19598 Use :completion-cycle-penalty text property if present.
19599
b0911414
KM
196002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19601
19602 * allout.el (allout-yank-processing): Adjust for new rebulleting
19603 regime so bullet being yanked is used without prompting the user
19604 for a choice.
19605
8a05b668
JB
196062011-03-16 Juanma Barranquero <lekktu@gmail.com>
19607
19608 * startup.el (command-line): Warn the user that _emacs is deprecated.
19609
5ba5fb81
JB
196102011-03-16 Juanma Barranquero <lekktu@gmail.com>
19611
19612 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19613 (delphi-verbose, delphi-comment-face, delphi-string-face)
19614 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19615 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19616 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19617 (delphi-new-comment-line, delphi-font-lock-defaults)
19618 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19619 Fix typos in docstrings.
19620
2dab465b
KM
196212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19622
5ba5fb81 19623 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19624 Invert the roles of character and string values for INSTEAD, so a
19625 string is used for the more common case of a defaulting prompt.
19626
0adf5618
SM
196272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19628
19629 * progmodes/ruby-mode.el (ruby-backward-sexp):
19630 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19631 * play/gamegrid.el (gamegrid-make-face):
19632 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19633 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19634 * notifications.el (notifications-notify):
19635 * net/xesam.el (xesam-search-engines):
19636 * net/quickurl.el (quickurl-list-insert):
19637 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19638
d72700e5
CY
196392011-03-15 Chong Yidong <cyd@stupidchicken.com>
19640
19641 * startup.el (command-line): Update package subdirectory regexp.
19642
49c5410a
SM
196432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19644
c6eee9aa
SM
19645 * allout.el (allout-abbreviate-flattened-numbering)
19646 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19647
49c5410a
SM
19648 * subr.el (read-char-choice): Only show the cursor after the prompt,
19649 not after the answer.
19650
047b2bb9
KR
196512011-03-15 Kevin Ryde <user42@zip.com.au>
19652
19653 * help-fns.el (variable-at-point): Skip leading quotes, if any
19654 (bug#8253).
19655
0a57d256
SM
196562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19657
19658 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19659 warning message.
19660
77c992bc
MA
196612011-03-14 Michael Albinus <michael.albinus@gmx.de>
19662
19663 * shell.el (shell): When called interactively, offer to change the
19664 shell file name on remote hosts.
19665
eebc475d
TZ
196662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19667
19668 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19669 integration for LDAP parameters. The host, base, user or binddn,
19670 and secret tokens can be specified in a netrc file, for instance.
19671 This is optional because an `auth-source' parameter must be
19672 specified in the search attributes.
19673
9d05d1ba
JB
196742011-03-13 Juanma Barranquero <lekktu@gmail.com>
19675
19676 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19677
09d9db2c
GM
196782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19679
19680 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19681 into declaration. Remove redundant and harmful binding.
19682
196832011-03-12 Eli Zaretskii <eliz@gnu.org>
19684
19685 * files.el (file-ownership-preserved-p): Pass `integer' as an
19686 explicit 2nd argument to `file-attributes'. If the file's owner
19687 is the Administrators group on Windows, and the current user is
19688 Administrator, consider that a match.
19689
19690 * server.el (server-ensure-safe-dir): Consider server directory
19691 safe on MS-Windows if its owner is the Administrators group while
19692 the current Emacs user is Administrator. Use `=' to compare
19693 numerical UIDs, since they could be integers or floats.
19694
219bd536
JB
196952011-03-12 Juanma Barranquero <lekktu@gmail.com>
19696
19697 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19698
f3afd36b
MA
196992011-03-12 Michael Albinus <michael.albinus@gmx.de>
19700
19701 Sync with Tramp 2.2.1.
19702
19703 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19704
19705 * net/trampver.el: Update release number.
19706
3aaaa6f1
SM
197072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19708
94642599
SM
19709 * progmodes/compile.el (compilation--previous-directory): Fix up
19710 various nil/dead-marker mismatches (bug#8014).
19711 (compilation-directory-properties, compilation-error-properties):
19712 Don't call it at a position past the one we're about to change.
19713
3aaaa6f1
SM
19714 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19715 Disable obsolescence warnings in the file that declares it.
19716
14239447
KM
197172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19718
099c39a4
JB
19719 * allout-widgets.el (allout-widgets-tally):
19720 Initialize allout-widgets-tally as a hash table rather than nil to
19721 prevent mode-line redisplay warnings. Also, clarify the module
19722 description and fix a comment typo.
14239447 19723
135e287c
JB
197242011-03-11 Juanma Barranquero <lekktu@gmail.com>
19725
19726 * help-fns.el (describe-variable): Don't complete keywords.
19727 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19728
ffbf300e
CY
197292011-03-10 Chong Yidong <cyd@stupidchicken.com>
19730
ba08b241
CY
19731 * emacs-lisp/package.el (package-version-join): Impose a standard
19732 string representation for pre/alpha/beta version lists.
19733 (package-unpack-single): Standardize the directory name by passing
19734 it through package-version-join.
19735 (package-strip-rcs-id): Accept any version string that does not
19736 signal an error in version-to-list.
ffbf300e 19737
f346fd6b
MA
197382011-03-10 Michael Albinus <michael.albinus@gmx.de>
19739
19740 * simple.el (delete-trailing-whitespace): Return nil for the
19741 benefit of `write-file-functions'.
19742
ccb55d27
GM
197432011-03-10 Glenn Morris <rgm@gnu.org>
19744
5ceaac0c
GM
19745 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19746
02da65ff
GM
19747 * vc/vc-git.el (vc-git-program): New option.
19748 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19749 (vc-git--call): Use it.
19750
b2f603cc
GM
19751 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19752
5772caab
GM
19753 * cus-edit.el (Custom-newline): If no button at point, look
19754 for a subgroup button at start-of-line. (Bug#2298)
19755
ccb55d27
GM
19756 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19757
ec6ecaed
JD
197582011-03-10 Julien Danjou <julien@danjou.info>
19759
19760 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19761 `cursor-type' is nil.
19762
9d5aa01d
JB
197632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19764
19765 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19766
b6a5875b
KM
197672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19768
7a71b18d 19769 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19770 preserves the existing header prefix, rebulleting it if necessary,
19771 rather than replacing it. This is necessary for proper operation
19772 of cooperative addons like allout-widgets.
1154d12e
JB
19773 (allout-make-topic-prefix, allout-rebullet-heading):
19774 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19775 value as alternate bullet to be used, instead of prompting the user
19776 for a bullet character.
b6a5875b 19777
ee545c35
MA
197782011-03-09 Michael Albinus <michael.albinus@gmx.de>
19779
d86d2721
SM
19780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19781 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19782 `tramp-default-port'.
19783
c47971d7
DD
197842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19785
19786 * net/rcirc.el (rcirc-handler-001): Remove useless
19787 with-rcirc-process-buffer.
19788 (rcirc-check-auth-status): Swap arguments to string-match.
19789
13522cb4
GM
197902011-03-09 Glenn Morris <rgm@gnu.org>
19791
0be6f4f1
GM
19792 * shell.el (shell-mode):
19793 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19794
13522cb4
GM
19795 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19796 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19797
515de2e3
CY
197982011-03-08 Chong Yidong <cyd@stupidchicken.com>
19799
19800 * emacs-lisp/package.el (package-refresh-contents)
19801 (package-menu-execute): Use condition-case-no-debug.
19802
b511b994
MA
198032011-03-08 Michael Albinus <michael.albinus@gmx.de>
19804
19805 * simple.el (shell-command-to-string): Use `process-file'.
19806
19807 * emacs-lisp/package.el (package-tar-file-info): Handle also
19808 remote files.
19809
d86d2721
SM
19810 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19811 Use `equal' for upload base check.
b511b994 19812
25bbfb31
AM
198132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19814
19815 * textmodes/texinfo.el (texinfo-environments):
19816 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19817
be996521
GM
198182011-03-08 Glenn Morris <rgm@gnu.org>
19819
e9c8529f
GM
19820 * cus-start.el (cursor-in-non-selected-windows):
19821 Fix :set quoting oddness. (Bug#8192)
19822
be996521
GM
19823 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19824 in some setf expressions. (Bug#2159)
19825
2bb5649e
CY
198262011-03-08 Chong Yidong <cyd@stupidchicken.com>
19827
19828 * custom.el (custom-available-themes): Return themes in
19829 alphabetical order.
19830
33383987 19831See ChangeLog.15 for earlier changes.
e3d51b27
MR
19832
19833;; Local Variables:
19834;; coding: utf-8
e3d51b27
MR
19835;; End:
19836
acaf905b 19837 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19838
19839 This file is part of GNU Emacs.
19840
19841 GNU Emacs is free software: you can redistribute it and/or modify
19842 it under the terms of the GNU General Public License as published by
19843 the Free Software Foundation, either version 3 of the License, or
19844 (at your option) any later version.
19845
19846 GNU Emacs is distributed in the hope that it will be useful,
19847 but WITHOUT ANY WARRANTY; without even the implied warranty of
19848 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19849 GNU General Public License for more details.
19850
19851 You should have received a copy of the GNU General Public License
19852 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.