483befca9b392d2498bd094f4ea7bf9466c01a53
[bpt/emacs.git] / lisp / ChangeLog
1 2012-11-15 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el (todos-forward-category): Fix typo.
4
5 2012-10-30 Stephen Berman <stephen.berman@gmx.net>
6
7 * calendar/todos.el (todos-define-insertion-command):
8 Let generated insertion commands accept a prefix argument.
9
10 2012-10-08 Stephen Berman <Stephen.Berman@rub.de>
11
12 * calendar/todos.el (todos-move-item): If user quits before
13 completing movement, restore display of initial category; If item
14 is moved to end of target category, make sure the items above it
15 are displayed in the window.
16
17 2012-10-08 Stephen Berman <stephen.berman@gmx.net>
18
19 * calendar/todos.el: Fixes to todos-move-item and some of its
20 subroutines.
21 (todos-move-item): When there are marked items, point need not be
22 on an item; remove obsolete use of todos-add-category, since this
23 is now already done in todos-read-category; fix typo.
24 (todos-diary-item-p): Exclude empty lines.
25 (todos-read-category): Restore point and narrowing after adding
26 new category, to avoid moving to beginning of file when moving
27 marked items to a new category.
28 (todos-set-item-priority): Prompt for priority only when the
29 category has at least one todo item; only use non-nil priority to
30 calculate insertion location.
31 (todos-read-category): Don't reset todos-categories when a new
32 category is added due to todos-move-item or todos-jump-to-item.
33
34 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
35
36 * calendar/todos.el (todos-copy-item): New command.
37 (todos-insertion-map): Add key binding for it.
38
39 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
40
41 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
42 (todos-item-undo): Use it.
43 (todos-allcats-file, todos-all-categories-alist): New variables.
44 (todos-all-categories-alist): New function.
45 (todos-jump-to-any-category): New command.
46 (todos-move-item): Remove mark overlays from buffer items were
47 moved from; update todos-categories-with-marks,
48
49 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
50
51 * calendar/todos.el: Further code rearrangement; further new and
52 revised comments.
53 (todos-reevaluate-filelist-defcustoms): Rename from
54 todos-reevaluate-defcustoms and adjust callers.
55 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
56 (todos-date-string-start, todos-done-string-start)
57 (todos-item-start): Change from defvar to defconst.
58 (todos-set-top-priorities): Use read-number and simplify.
59 (todos-insert-item): Check whether date-type argument is a string.
60 (todos-set-date-from-calendar): Check whether
61 todos-date-from-calendar is a string; simplify cond clause.
62 (todos-archive-done-item, todos-unarchive-items):
63 Use buffer-substring-no-properties.
64
65 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
66
67 * calendar/todos.el (todos-item-undo): Fix restoration on
68 cancelling; use buffer-substring-no-properties; comment out code
69 removing mark overlay; fix insertion of undone items; display any
70 remaining done items.
71
72 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
73
74 * calendar/todos.el: Further significant code rearrangement;
75 further comment revision.
76 (todos-mode-display): New defgroup.
77 (todos-prefix, todos-number-priorities)
78 (todos-done-separator-string, todos-done-string)
79 (todos-comment-string, todos-show-with-done)
80 (todos-mode-line-function, todos-skip-archived-categories)
81 (todos-highlight-item, todos-wrap-lines)
82 (todos-line-wrapping-function): Use it.
83 (todos-item-insertion): New defgroup.
84 (todos-include-in-diary, todos-diary-nonmarking)
85 (todos-nondiary-marker, todos-always-add-time-string)
86 (todos-use-only-highlighted-region): Use it.
87 (todos-forward-button, todos-backward-button): New commands.
88 (todos-categories-mode-map): Use them, replacing forward-button
89 and backward-button.
90 (todos-merge-category): Fix and improve implementation; handle
91 archived items.
92 (todos-insert-item, todos-set-date-from-calendar): Handle setting
93 date by calling todos-insert-item-from-calendar.
94 (todos-delete-item): Fix overlay handling.
95 (todos-move-item): Highlight item to be moved.
96 (todos-item-undo): Handle marked items.
97 (todos-insert-item-from-calendar): Rewrite using
98 todos-date-from-calendar.
99
100 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
101
102 * calendar/todos.el: Further comment revision.
103 (todos-sorted-column): Change default value, also taking tty into
104 account.
105 (todos-reset-done-separator): Fix faulty variable binding.
106 (todos-reset-and-enable-done-separator): Save match data; comment
107 out code that causes problems for Edebug.
108 (todos-item-start): Handle empty line between todo and done items
109 when done items are hidden.
110 (todos-read-date): Use a leap year for `*' to allow
111 calendar-last-day-of-month to return Feb. 29.
112 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
113 (todos-filtered-items-mode): Delete faulty parentheses.
114 (todos-quit): Save Todos and archive files unconditionally.
115 (todos-forward-item): Accept only positive prefix argument.
116 (todos-backward-item): Accept only positive prefix argument; don't
117 move point to beginning of buffer if it is on the first item.
118 (todos-hide-show-date-time): Remove obsolete interactive spec.
119 (todos-move-category): Improve prompt string; ensure file moved to
120 is different from file moved from.
121 (todos-merge-categories): Remove.
122 (todos-set-category-priority): New command.
123 (todos-raise-category-priority, todos-lower-category-priority):
124 Use it to define these commands.
125 (todos-set-item-priority): Rewrite and generalize.
126 (todos-raise-item-priority, todos-lower-item-priority): Use it to
127 define these commands.
128
129 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
130
131 * calendar/todos.el (todos-reset-done-separator)
132 (todos-reset-and-enable-done-separator): New functions.
133 (todos-reset-done-separator-string): Rewrite using
134 todos-reset-done-separator for string longer than 1 character.
135 (todos-mode): Add todos-reset-and-enable-done-separator to
136 window-configuration-change-hook, replacing previous anonymous
137 function.
138 (todos-unload-hook): And remove it.
139
140 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
141
142 * calendar/todos.el (todos-done-separator-string): New defcustom.
143 (todos-done-separator): New variable replacing defcustom of the
144 same name.
145 (todos-reset-done-separator-string, todos-done-separator):
146 New functions.
147 (todos-mode): Make function added to
148 window-configuration-change-hook do a better job of updating the
149 done items separator string overlay.
150 (todos-unload-hook): Remove it here.
151 (todos-item-undo): Fix search for item's end.
152
153 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
154
155 * calendar/todos.el: Further comment revision.
156 (todos-sorted-column): Change default value.
157 (todos-item-start): Handle empty category (needed in
158 todos-filter-items).
159 (todos-read-date): Don't use calendar-read; make code cleaner.
160 (todos-multiple-filter-files): Rename this variable from
161 todos-multiple-files and adjust users.
162 (todos-multiple-filter-files-widget): Rename from
163 todos-multiple-files-widget and adjust users.
164 (todos-multiple-filter-files): Rename this function from
165 todos-multiple-files and adjust callers.
166 (todos-filter-items): Remove unused code.
167 (todos-insert-category-line): Add space so highlighting of last
168 column is consistent with the others; adjust display of column
169 highlighting.
170 (todos-menu): Remove obsolete entry.
171 (todos-categories-mode-map): Add new bindings.
172 (todos-display-categories-alphabetically-or-by-priority): New command.
173 (todos-display-categories-sorted-by-todo)
174 (todos-display-categories-sorted-by-diary)
175 (todos-display-categories-sorted-by-done)
176 (todos-display-categories-sorted-by-archived): Restore and fix
177 implementation.
178
179 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
180
181 * calendar/todos.el: Significant code rearrangement; further
182 comment revision.
183 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
184 adjust users.
185 (todos-filtered-buffer-name): Rename from
186 todos-special-buffer-name and adjust users.
187 (todos-filtered-items-mode-map): Rename from
188 todos-filter-items-mode-map and adjust users.
189 (todos-mode-external-set): Use todos-categories instead of
190 todos-set-categories (and add comment to check if this DTRT).
191 (todos-filtered-items-mode): Rename from todos-filter-items-mode
192 and adjust users.
193 (todos-add-category): Don't call todos-validate-name, since
194 todos-read-category does.
195 (todos-edit-quit): Use todos-repair-categories-sexp.
196 (todos-done-item-add-edit-or-delete-comment): Rename from
197 todos-done-item-add-or-edit-comment and adjust users; add optional
198 argument to prompt to delete comment.
199 (todos-item-undo): Delete done item comment on undoing if user
200 confirms.
201
202 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
203
204 * calendar/todos.el: Further code rearrangement and comment
205 revision.
206 (todos-item-start): Handle empty line between todo and done items
207 when done items are displayed.
208 (todos-key-bindings): Comment out bindings meant only for
209 todos-archive-mode.
210 (todos-archive-mode-map): Fix typo.
211 (todos-archive-mode): Derive from special-mode instead of
212 todos-mode to prevent its key bindings from being available here.
213 (todos-archive-done-item): Remove obsolete code; fix item count
214 updating.
215 (todos-unarchive-items): Simplify; fix unarchiving of all items in
216 category; fix item count updating; fix typo.
217
218 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
219
220 * calendar/todos.el: Further code rearrangement and comment
221 revision.
222 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
223 (todos-file-buffers): New variable.
224 (todos-reset-global-current-todos-file): Use it to simplify
225 implementation of this function.
226 (todos-filtered): New defgroup.
227 (todos-filter-buffer, todos-top-priorities-buffer)
228 (todos-diary-items-buffer, todos-regexp-items-buffer)
229 (todos-priorities-rules, todos-show-priorities)
230 (todos-filter-files, todos-filter-done-items): Use it.
231 (todos-skip-archived-categories): Rename from
232 todos-ignore-archived-categories and adjust users.
233 (todos-display-as-todos-file): Rename from todos-after-find-file
234 and adjust callers.
235 (todos-reset-highlight-item, todos-mode-external-set)
236 (todos-jump-to-category, todos-jump-to-item)
237 (todos-raise-category-priority, todos-insert-item)
238 (todos-move-item): Use find-file-visiting.
239 (todos-make-categories-list): Use file-truename.
240 (todos-display-categories-1): Adjust title text for archive files;
241 use done label for item counts in archive files.
242 (todos-modes-set-3): Add todos-display-as-todos-file to
243 find-file-hook.
244 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
245 todos-update-buffer-list post-command-hook.
246 (todos-unload-hook): And remove them.
247 (todos-show): Only when interactively invoked from an archive,
248 switch to corresponding Todos file.
249 (todos-archive-done-item): Remove obsolete code; fix handling of
250 marked items; fix search for existing category; check whether
251 archive exists and write to file if not; improve display handling.
252
253 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
254
255 * calendar/todos.el: Further comment revision.
256 (todos-item-end): Replace use of command todos-forward-item by
257 regexp searches using internal variables.
258 (todos-raise-category-priority): Improve and comment.
259 (todos-insert-item): Fix insertion of empty time string.
260
261 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
262
263 * calendar/todos.el (todos-ignore-archived-categories):
264 Revert last change; remove :initialize and :set functions; change
265 use and change users accordingly.
266 (todos-reset-categories, todos-categories-full)
267 (todos-truncate-categories-list): Remove.
268 (todos-set-categories, todos-update-categories-sexp):
269 Use todos-categories instead of todos-categories-full; remove use
270 of todos-ignore-archived-categories and
271 todos-truncate-categories-list.
272 (todos-check-format, todos-repair-categories-sexp):
273 Use todos-categories instead of todos-categories-full.
274 (todos-read-category): Improve last change.
275 (todos-validate-name): Use completing-read.
276 (todos-categories-category-number): Rename from
277 todos-category-number and adjust users.
278 (todos-update-categories-display, todos-mode-external-set)
279 (todos-delete-category, todos-move-category, todos-merge-category)
280 (todos-unarchive-items): Remove use of todos-categories-full and
281 todos-ignore-archived-categories.
282 (todos-modes-set-3, todos-add-category): Remove use of
283 todos-categories-full.
284 (todos-edit-mode): Fix typo.
285 (todos-forward-category): Use todos-ignore-archived-categories.
286
287 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
288
289 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
290 (todos-ignore-archived-categories): Change default value.
291
292 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
293
294 * calendar/todos.el: Further comment revision.
295 (todos-reset-global-current-todos-file):
296 Try to make this not slow down kill-buffer.
297 (todos-update-categories-sexp): Handle the case where there is no
298 categories sexp yet, i.e. after inserting the first item in the
299 file, so todos-display-categories works.
300 (todos-read-file-name): Improve implementation.
301 (todos-validate-name): Use variable todos-files.
302 (todos-category-number): New variable.
303 (todos-insert-category-line, todos-update-categories-display)
304 (todos-raise-category-priority): Use it.
305 (todos-add-file): Remove unused remnant code.
306
307 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
308
309 * calendar/todos.el: Further comment revision.
310 (todos-set-item-top-priority): New command.
311 (todos-reset-global-current-todos-file):
312 Use todos-files-function instead of todos-files.
313 (todos-read-category): Add optional argument to test whether
314 caller adds new category; if so, don't prompt for new category and
315 don't restore original todos-categories list.
316 (todos-categories-mode-map): Update to renamed commands.
317 (todos-filter-items-mode-map): Add binding for new command.
318 (todos-mode): Fix typo.
319 (todos-show): If called from archive file, show corresponding
320 category in Todos file, if it exists.
321 (todos-jump-to-category): Remove code to add new category, since
322 todos-read-category can do that.
323 (todos-add-file): Remove obsolete code; visit new file in selected
324 window.
325 (todos-add-category): Simplify.
326 (todos-rename-category): Use force-mode-line-update instead of
327 setting mode-line-buffer-identification.
328 (todos-delete-category): Improve logic of prompts; use
329 todos-categories-full and check todos-ignore-archived-categories.
330 (todos-raise-category-priority, todos-lower-category-priority):
331 Rename from todos-{raise,lower}-category and adjust callers.
332 (todos-move-category, todos-merge-category):
333 Set todos-categories-full; on setting todos-categories check
334 todos-ignore-archived-categories.
335 (todos-insert-item): Let-bind use-empty-active-region and use
336 use-region-p instead of transient-mark-mode.
337 (todos-raise-item-priority): Improve implementation.
338 (todos-archive-done-item): Rename from
339 todos-archive-done-item-or-items and adjust callers; confine to
340 Todos mode.
341 (todos-unarchive-items): On setting todos-categories check
342 todos-ignore-archived-categories.
343
344 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
345
346 * calendar/todos.el (todos-key-bindings): Remove binding of
347 deleted command.
348 (todos-menu): Remove entry of deleted command.
349 (todos-show-archive): Fix last change.
350 (todos-done-item-add-or-edit-comment): Rename from
351 todos-comment-done-item and adjust callers; prompt to edit an
352 existing comment.
353
354 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
355
356 * calendar/todos.el (todos-set-show-current-file): Rename from
357 todos-toggle-show-current-file and adjust callers.
358 (todos-number-priorities): Rename from todos-number-prefix and
359 adjust users.
360 (todos-update-count): Rename from todos-set-count and adjust
361 callers.
362 (todos-hide-show-item-numbering): Rename from
363 todos-toggle-item-numbering and adjust callers.
364 (todos-hide-show-done-items): Rename from
365 todos-toggle-view-done-items and adjust callers.
366 (todos-show-done-only): Rename from todos-toggle-show-done-only.
367 (todos-view-archived-items): Comment out.
368 (todos-show-archive): Prompt to choose another archive file if
369 current Todos file lacks an archive; prompt to visit archive
370 anyway when current category has no archived items.
371
372 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
373
374 * calendar/todos.el: Further comment revision and code
375 rearrangement.
376 (todos-item-end): Revert last change.
377 (todos-key-bindings, todos-menu, todos-archive-mode-map)
378 (todos-filter-items-mode-map): Use renamed commands.
379 (todos-hide-show-date-time): Rename from
380 todos-toggle-display-date-time.
381 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
382 adjust caller.
383 (todos-backward-item): Exempt special handling only from
384 todos-regexp-items-buffer instead of todos-filter-items-mode.
385 (todos-raise-item-priority): Don't allow item reprioritizing in
386 Todos filter items mode except for top priority items.
387
388 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
389
390 * calendar/todos.el: Add and revise further doc strings and
391 comments.
392 (todos-filter-function, todos-custom-items)
393 (todos-custom-items-multifile): Remove.
394 (todos-filter-done-items): New defcustom.
395 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
396 (todos-filter-items): Check return value of caller first; tag
397 archived items for todos-jump-to-item; delete categories sexp
398 before processing filter; check todos-filter-done-items for
399 whether to leave done items; remove custom filter; fix regexp for
400 file and category tags; don't invoke buffer fontification.
401 (powerset-recursive): Fix typo.
402 (todos-key-bindings): Remove unused bindings.
403 (todos-top-priorities-multifile, todos-diary-items-multifile)
404 (todos-regexp-items-multifile): Use variable todos-multiple-files.
405 (todos-jump-to-item): Fix regexp; handle archive tags; take
406 todos-filter-done-items into account.
407 (todos-insert-item-from-calendar): Relocate to end of file
408 together with key-binding as addition to calendar.el.
409
410 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
411
412 * calendar/todos.el: Add and revise further doc strings and
413 comments; major code rearrangement.
414 (todos-merged-files, todos-prompt-merged-files)
415 (todos-print-priorities, todos-tmp-buffer-name)
416 (todos-top-priorities-widgets, todos-update-merged-files)
417 (todos-merged-top-priorities, todos-merged-diary-items)
418 (todos-merged-regexp-items, todos-merged-custom-items)
419 (todos-raw-mode, todos-change-default-file)
420 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
421 (todos-toggle-diary-nonmarking, todos-validate-category-name):
422 Remove.
423 (todos-category-string-matcher): Comment out.
424 (todos-categories): New defgroup.
425 (todos-initial-file, todos-filter-buffer)
426 (todos-top-priorities-buffer, todos-categories-category-label)
427 (todos-diary-items-buffer, todos-regexp-items-buffer)
428 (todos-custom-items-buffer, todos-filter-files)
429 (todos-highlight-item, todos-todo-mode-date-time-regexp):
430 New defcustoms.
431 (todos-diary-expired): New face.
432 (todos-print-buffer, todos-multiple-files)
433 (todos-multiple-files-widget, todos-key-bindings): New variables.
434 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
435 (todos-special-buffer-name)
436 (todos-reevaluate-filter-files-defcustom)
437 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
438 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
439 (todos-diary-expired-matcher, todos-category-string-matcher-1)
440 (todos-category-string-matcher-2, todos-repair-categories-sexp)
441 (todos-validate-name, todos-multiple-files)
442 (todos-display-categories-1, todos-update-categories-display)
443 (todos-modes-set-3, todos-mode-external-set): New functions.
444 (todos-set-top-priorities-in-file)
445 (todos-set-top-priorities-in-category)
446 (todos-top-priorities-multifile, todos-diary-items-multifile)
447 (todos-regexp-items-multifile, todos-custom-items-multifile)
448 (todos-convert-legacy-files, todos-jump-to-item)
449 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
450 (todos-edit-item-diary-inclusion)
451 (todos-edit-category-diary-inclusion)
452 (todos-edit-item-diary-nonmarking)
453 (todos-edit-category-diary-nonmarking): New commands.
454 (todos, todos-faces): Update :version.
455 (todos-done-separator, todos-completion-ignore-case):
456 Change default value.
457 (todos-done-separator): Change :set function.
458 (todos-indent-to-here): Add :validate function to :type.
459 (todos-prefix-string, todos-mark, todos-button)
460 (todos-sorted-column, todos-archived-only, todos-search)
461 (todos-done, todos-done-sep): Provide full face definitions
462 instead of inheriting.
463 (todos-edit-buffer, todos-categories-buffer): Change from
464 defcustom to defvar.
465 (todos-category-beg, todos-category-done): Change from defvar to
466 defconst.
467 (todos-files): Check if todos-files-directory exists.
468 (todos-default-todos-file, todos-mode-line-control, todos-print):
469 Use todos-short-file-name.
470 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
471 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
472 todos-category-string-matcher-2, todos-diary-expired-matcher.
473 (todos-category-select): Use todos-done-string-start, and
474 condition search on todos-show-with-done; don't make display
475 overlay for done items separator string if there already is one;
476 use todos-highlight-item, require hl-line and activate
477 hl-line-mode here in order to avoid a hang if done in todos-mode
478 or the mode hook.
479 (todos-update-categories-sexp): Use todos-categories-full if set,
480 otherwise todos-categories.
481 (todos-make-categories-list): Don't test for archive file when
482 processing a legacy todo-mode file.
483 (todos-check-format): Add check for todos-categories sexp.
484 (todos-diary-item-p): Use todos-nondiary-start instead of
485 todos-date-pattern.
486 (todos-marked-item-p): Rename from todos-item-marked-p.
487 (todos-read-file-name): Don't accept empty name; validate.
488 (todos-read-category): Validate new name before prompting whether
489 to add new category; force quit if user answers no.
490 (todos-filter-items): Improve implementation.
491 (todos-set-top-priorities): Rewrite as a noninteractive function
492 using minibuffer input instead of widgets.
493 (todos-insert-sort-button): Call todos-display-sorted with
494 argument nil to display categories in numerical order, instead of
495 calling todos-display-categories.
496 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
497 Common Lisp powerset function at
498 http://rosettacode.org/wiki/Power_set#Common_Lisp.
499 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
500 powerset function at http://rosettacode.org/wiki/Power_set#C.
501 (todos-powerset): Defalias to powerset-bitwise.
502 (todos-mode-map): Generate from todos-key-bindings instead of
503 listing each key definition.
504 (todos-categories-mode-map): Add two bindings.
505 (todos-filter-items-mode-map): Add some bindings, remove others.
506 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
507 function setting todos-done-separator to
508 window-configuration-change-hook.
509 (todos-unload-hook): Remove function setting todos-done-separator
510 from window-configuration-change-hook.
511 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
512 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
513 (todos-categories-mode): Derive from special-mode; use
514 todos-mode-external-set.
515 (todos-filter-items-mode): Derive from special-mode.
516 (todos-quit): Save archive file if it hasn't yet been saved.
517 (todos-display-categories): Delegate all functionality to
518 todos-display-categories-1 and todos-update-categories-display.
519 (todos-toggle-view-done-items): Improve implementation.
520 (todos-highlight-item): Require hl-line.
521 (todos-toggle-display-date-time): Remove argument and make it
522 apply only to whole file.
523 (todos-top-priorities, todos-diary-items, todos-regexp-items)
524 (todos-custom-items): Use todos-special-buffer-name.
525 (todos-add-file): Use todos-short-file-name and
526 todos-reevaluate-defcustoms; remove validation, since it's now
527 done in todos-read-file-name.
528 (todos-add-category): Also update todos-categories-full if non-nil.
529 (todos-delete-category): Delete file after confirmation if only
530 category is deleted.
531 (todos-move-category): Use todos-short-file-name and
532 todos-reevaluate-defcustoms.
533 (todos-insert-item): Fix getting date from the calendar and
534 insertion of time string.
535 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
536 display of diary entries.
537 (todos-edit-multiline): Add optional argument to restrict editing
538 buffer to current item, otherwise make entire buffer (i.e. whole
539 file) editable.
540 (todos-edit-quit): When whole file is editable, check file format
541 validity before killing buffer, and if valid, recalculate
542 categories sexp to be safe.
543 (todos-edit-item-header): Allow choosing date from calendar.
544 (todos-item-done): Handle marked items.
545
546 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
547
548 * calendar/todos.el (todos-item-start): Restore commented out code
549 to prevent wrongly moving point in widened buffer.
550
551 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
552
553 * calendar/todos.el: Remove old commentary from todo-mode.el; add
554 and revise further doc strings and comments; require cl.el at
555 compile time for remove-duplicates; use function powerset from
556 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
557 code rearrangement. Add adapted version of diary-goto-entry as comment.
558 (todos-file-top, todos-archived-categories-buffer)
559 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
560 (todos-save-top-priorities, todos-reset-separator)
561 (todos-switch-todos-file, todos-item-string-start, todos-counts)
562 (todos-string-count-lines, todos-string-multiline-p)
563 (todos-display-categories-alphabetically): Remove.
564 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
565 (todos-insert-item-ask-date-time-for-diary)
566 (todos-insert-item-ask-date-time-for-diary-here)
567 (todos-insert-item-ask-date-time-here)
568 (todos-insert-item-ask-date-maybe-notime)
569 (todos-insert-item-ask-date-maybe-notime-for-diary)
570 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
571 (todos-insert-item-ask-date-maybe-notime-here)
572 (todos-insert-item-ask-date-for-diary)
573 (todos-insert-item-ask-date-for-diary-here)
574 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
575 (todos-insert-item-ask-dayname-time)
576 (todos-insert-item-ask-dayname-time-for-diary)
577 (todos-insert-item-ask-dayname-time-for-diary-here)
578 (todos-insert-item-ask-dayname-time-here)
579 (todos-insert-item-ask-dayname-maybe-notime)
580 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
581 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
582 (todos-insert-item-ask-dayname-maybe-notime-here)
583 (todos-insert-item-ask-dayname-for-diary)
584 (todos-insert-item-ask-dayname-for-diary-here)
585 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
586 (todos-insert-item-ask-time-for-diary)
587 (todos-insert-item-ask-time-for-diary-here)
588 (todos-insert-item-ask-time-here)
589 (todos-insert-item-maybe-notime)
590 (todos-insert-item-maybe-notime-for-diary)
591 (todos-insert-item-maybe-notime-for-diary-here)
592 (todos-insert-item-maybe-notime-here)
593 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
594 (todos-insert-item-here): Remove; all of these are now generated
595 on loading (some with the same name, most with other names.)
596 (todos-item-counts, todos-display-categories-alphabetically)
597 (todos-display-categories-sorted-by-todo)
598 (todos-display-categories-sorted-by-diary)
599 (todos-display-categories-sorted-by-done)
600 (todos-display-categories-sorted-by-archived): Comment out.
601 (todos-comment-string, todos-mode-line-function)
602 (todos-filter-function, todos-priorities-rules)
603 (todos-visit-files-commands, todos-categories-totals-label)
604 (todos-use-only-highlighted-region, todos-diary-nonmarking):
605 New defcustoms.
606 (todos-mark, todos-comment): New faces.
607 (todos-comment-face): Corresponding new variable.
608 (todos-categories-full, todos-global-current-todos-file)
609 (todos-first-visit, todos-insertion-commands-args-genlist)
610 (todos-insertion-commands-args, todos-insertion-commands-names)
611 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
612 (todos-top-priorities-widgets, todos-date-from-calendar)
613 (todos-item-mark, todos-categories-with-marks): New variables.
614 (todos-mode-line-control, todos-reset-global-current-todos-file)
615 (todos-gen-arglists, todos-insertion-command-name)
616 (todos-insertion-key-bindings, todos-unload-hook)
617 (todos-filter-items, todos-set-date-from-calendar)
618 (todos-comment-string-matcher, todos-after-find-file)
619 (todos-reset-nondiary-marker, todos-reset-done-string)
620 (todos-reset-comment-string, todos-show-current-file)
621 (todos-item-marked-p, todos-total-item-counts): New functions.
622 (todos-define-insertion-command): New macro.
623 (todos-toggle-mark-item, todos-mark-category)
624 (todos-unmark-category, todos-set-top-priorities)
625 (todos-merged-diary-items, todos-regexp-items)
626 (todos-merged-regexp-items, todos-custom-items)
627 (todos-merged-custom-items, todos-comment-done-item)
628 (todos-archive-category-done-items, todos-unarchive-items)
629 (todos-print-to-file): New commands.
630 (todos-done-separator): Change :set function.
631 (todos-done-string): Uncomment :initialize and :set functions.
632 (todos-files): Use file-truename.
633 (todos-show-current-file): Rename from
634 todos-auto-switch-todos-file and change :set function accordingly.
635 (todos-font-lock-keywords): Use todos-comment-string-matcher;
636 change names of other matcher functions to new *-matcher.
637 (todos-category-number): Change initial value.
638 (todos-insertion-map): Use todos-insertion-key-bindings to
639 generate key definitions.
640 (todos-mode-map): Don't suppress digit keys, so they can supply
641 prefix arguments; add new and change some existing bindings.
642 (todos-archive-mode-map): Change a key binding.
643 (todos-categories-mode-map): Comment out a key binding.
644 (todos-filter-items-mode-map): Rename from
645 todos-top-priorities-mode-map.
646 (todos-mode): Make todos-current-todos-file,
647 todos-categories-full, todos-categories, todos-first-visit,
648 todos-category-number, todos-show-done-only,
649 todos-categories-with-marks local variables and set them; add
650 todos-show-current-file to pre-command-hook, todos-after-find-file
651 to post-command-hook and todos-reset-global-current-todos-file to
652 kill-buffer-hook.
653 (todos-archive-mode): Make todos-current-todos-file,
654 todos-categories and todos-category-number local variables and set
655 them; add todos-after-find-file to post-command-hook.
656 (todos-raw-mode): New derived major mode.
657 (todos-categories-mode): Don't set font-lock-defaults and
658 buffer-read-only; make todos-current-todos-file and
659 todos-categories local variables and set them.
660 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
661 (todos-quit): Don't reset todos-categories on quitting
662 todos-categories-mode; handle quitting todos-filter-items-mode.
663 (todos-show): Simplify; when visiting an archive file switch to
664 corresponding Todos file; use todos-first-visit.
665 (todos-view-archived-items): Simplify; call todos-category-number.
666 (todos-show-archive): Rename from todos-switch-to-archive and
667 adjust callers; simplify.
668 (todos-toggle-display-date-time): Add optional argument to toggle
669 display in entire file.
670 (todos-top-priorities): Use todos-filter-items, which now contains
671 the previous core of this command.
672 (todos-merged-top-priorities, todos-diary-items):
673 Use todos-filter-items.
674 (todos-forward-category): Add optional argument to go to the
675 previous category.
676 (todos-backward-category): Use todos-forward-category.
677 (todos-jump-to-category): Refine implementation.
678 (todos-forward-item, todos-backward-item): Fix movement from todo
679 to done item and vice versa.
680 (todos-add-file): Remove argument and simplify.
681 (todos-rename-category): Use todos-current-todos-file and
682 todos-mode-line-function; set todos-categories with
683 todos-set-categories.
684 (todos-delete-category): Ask what to do if category has archived items.
685 (todos-raise-category): Ensure modified todos-categories is added
686 to file's categories sexp.
687 (todos-move-category): Improve implementation, especially handling
688 of archived categories.
689 (todos-merge-category): Tweak; set item counts.
690 (todos-insert-item): Improve handling of various argument values;
691 add new argument values to control marking of diary items and to
692 use region for item body.
693 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
694 (todos-delete-item, todos-edit-item-header): Handle marked items.
695 (todos-edit-item): Incorporate functionality of removed
696 todos-string-multiline-p.
697 (todos-edit-multiline): Use set-window-buffer instead of
698 switch-to-buffer.
699 (todos-edit-quit): Don't save on quitting; use todos-show instead
700 of todos-category-select.
701 (todos-raise-item-priority): Add argument to lower priority;
702 improve handling of top priority items in todos-filter-items-mode;
703 restore marks.
704 (todos-lower-item-priority): Use todos-raise-item-priority.
705 (todos-set-item-priority): Increment maximum number if item is new.
706 (todos-move-item): Handle marked items; delay changing category
707 moved from till after movement to avoid restoring if user cancels
708 before insertion.
709 (todos-item-done): Add optional argument to insert comment; fix
710 item counts and update sexp.
711 (todos-item-undo): Fix item counts and update.
712 (todos-archive-done-item-or-items): Rename from
713 todos-archive-done-items; add optional argument to archive all
714 items in category; handle marked items.
715 (todos-unarchive-category): Use todos-unarchive-items.
716 (todos-toggle-diary-inclusion): Incorporate functionality of
717 removed todos-toggle-item-diary-inclusion; handle marked items.
718 (todos-print): Add optional argument to print to file.
719 (todos-done-string-start): Don't use todos-nondiary-start.
720 (todos-date-string-matcher, todos-time-string-matcher)
721 (todos-done-string-matcher, todos-category-string-matcher): Rename
722 from *-match and adjust callers.
723 (todos-wrap-and-indent): Use set instead of setq for local variables.
724 (todos-prefix-overlays): Improve overlay handling.
725 (todos-reset-categories): Fix and complete implementation.
726 (todos-toggle-show-current-file): Rename from
727 todos-toggle-switch-todos-file-noninteractively.
728 (todos-category-select): Use todos-mode-line-function.
729 (todos-item-start): Comment out code used by removed function.
730 (todos-remove-item): Handle presence of both prefix/number and
731 mark overlays.
732 (todos-get-count): Simplify.
733 (todos-set-count): Change argument list and adjust callers; simplify.
734 (todos-set-categories): Handle new archive files; use
735 todos-categories-full and todos-ignore-archived-categories.
736 (todos-truncate-categories-list): Use todos-categories-full.
737 (todos-update-categories-sexp): Use kill-region instead of
738 kill-line; use todos-categories-full.
739 (todos-read-file-name): Add argument to require existing file and
740 adjust callers; use file-truename.
741 (todos-read-category): Remove argument to require existing
742 category and delegate it to completing-read in function body.
743 (todos-validate-category-name): Make empty string prompt only for
744 initial category name.
745 (todos-read-date): Use = instead of eq for testing if month = 13,
746 and if it is, set monthname to *.
747 (todos-display-categories): Use todos-global-current-todos-file;
748 use set-window-buffer instead of switch-to-buffer; add a line
749 showing item count totals.
750 (todos-padded-string): Use the longest of category name or label.
751 (todos-descending-counts): Rename from
752 todos-descending-counts-store and adjust users.
753 (todos-insert-category-line): Adjust format; use mapconcat; kill
754 buffer after jumping to category.
755
756 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
757
758 * calendar/todos.el Add and revise various doc strings, remove
759 further commented out code; add further comments; further code
760 rearrangement.
761 (todos-file-do, todos-archive-file, todos-mode-hook)
762 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
763 (todos-view-archive, todos-search-string)
764 (todos-jump-to-category-noninteractively, todos-initial-setup):
765 Remove.
766 (todos-files): Remove this defcustom.
767 (todos-initial-category, todos-display-categories-first)
768 (todos-auto-switch-todos-file, todos-default-todos-file)
769 (todos-categories-category-label, todos-categories-todo-label)
770 (todos-categories-diary-label, todos-categories-done-label)
771 (todos-categories-archived-label)
772 (todos-categories-number-separator, todos-categories-align)
773 (todos-ignore-archived-categories, todos-nondiary-marker):
774 New defcustoms.
775 (todos-prefix, todos-done-separator, todos-file-top)
776 (todos-categories-buffer, todos-archived-categories-buffer)
777 (todos-edit-buffer, todos-always-add-time-string, todos-button):
778 Change default value.
779 (todos-done-string): Add todos-reset-done-string as :set function,
780 but keep this commented out.
781 (todos-files, todos-archives, todos-insertion-map)
782 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
783 (todos-show-done-only, todos-date-string-start)
784 (todos-done-string-start): New variables.
785 (todos-files-directory, todos-files-function, todos-merged-files)
786 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
787 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
788 (todos-toggle-switch-todos-file-noninteractively)
789 (todos-switch-todos-file, todos-counts, todos-get-count)
790 (todos-set-count, todos-set-categories)
791 (todos-truncate-categories-list, todos-update-categories-sexp)
792 (todos-read-file-name, todos-sort, todos-display-sorted)
793 (todos-label-to-key, todos-insert-sort-button): New functions.
794 (todos-display-categories-sorted-by-todo)
795 (todos-display-categories-sorted-by-diary)
796 (todos-display-categories-sorted-by-done)
797 (todos-display-categories-sorted-by-archived)
798 (todos-update-merged-files, todos-switch-to-archive)
799 (todos-choose-archive, todos-merged-top-priorities)
800 (todos-jump-to-category-other-file, todos-clear-matches)
801 (todos-add-file, todos-change-default-file, todos-move-category)
802 (todos-merge-category, todos-merge-categories)
803 (todos-edit-item-time, todos-move-item-to-file)
804 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
805 (todos-toggle-diary-nonmarking): New commands.
806 (todos-toggle-show-done-only): New command replacing todos-view-archive.
807 (todos-faces): New defgroup; use in all face definitions.
808 (todos-sorted-column, todos-archived-only, todos-search): New faces.
809 (todos-font-lock-keywords): Use subexpression 1 with matcher
810 todos-category-string-match.
811 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
812 (todos-categories-mode-map): Add new key bindings; change some
813 existing bindings.
814 (todos-top-priorities-mode-map): New keymap.
815 (todos-menu): Add submenues and new entries.
816 (auto-mode-alist): Add extension of Todos and Todos archive files.
817 (todos-mode, todos-archive-mode): Make derived mode; use
818 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
819 and todos-switch-todos-file; make todos-show-done-only local
820 variable.
821 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
822 (todos-categories-mode): Make derived mode.
823 (todos-top-priorities-mode): New derived major mode.
824 (todos-save): Remove unused code.
825 (todos-quit): Handle todos-categories-mode; save archive buffer.
826 (todos-show): Add optional argument to prompt for a Todos file; if
827 called interactively or with prefix arg or from an archive, don't
828 make a no-op but reset todos-current-todos-file, todos-categories
829 and todos-category-number; use todos-read-file-name,
830 todos-display-categories-first, todos-ignore-archived-categories.
831 (todos-display-categories): Change argument name; refactor code
832 for inserting table labels and lines, using
833 todos-ignore-archived-categories, todos-sort,
834 todos-categories-number-separator, todos-insert-sort-button,
835 todos-categories-*-labels, and todos-insert-category-line.
836 (todos-display-categories-alphabetically): Use todos-display-sorted.
837 (todos-toggle-view-done-items): Use todos-done-string-start and
838 todos-get-count.
839 (todos-toggle-display-date-time): Use todos-done-string-start.
840 (todos-top-priorities): Remove autoload cookie; partially rewrite:
841 new argument list; allow combining top priorities of multiple
842 Todos files; change display to include category (and file) name as
843 part of item header; use todos-top-priorities-mode.
844 (todos-diary-items): Reimplement using only todos-top-priorities.
845 (todos-forward-category, todos-backward-category): Adjust to
846 1-based numbering of categories; move point to top of category.
847 (todos-jump-to-category): Rewrite, adding optional arguments to
848 provide a category in non-interactive uses and to prompt for which
849 Todos file to jump to.
850 (todos-search): Reimplement; highlight each match as found, say
851 how many matches remain and prompt whether to go to next one; at
852 end of search prompt whether to remove highlighting.
853 (todos-add-category): Remove autoload cookie; assign new category
854 the highest category number; associate zero-initialized vector of
855 item counts, instead of property list, with new category; use
856 todos-validate-category-name and todos-update-categories-sexp.
857 (todos-rename-category): Use todos-validate-category-name and
858 todos-update-categories-sexp; take archive files into account.
859 (todos-delete-category): Use todos-get-count and
860 todos-update-categories-sexp, let-bind variable that were
861 mistakenly global; use delete-region instead of kill-region;
862 adjust to 1-based numbering of categories; move point to top of
863 category.
864 (todos-raise-category): Handle item count vectors; use
865 todos-insert-category-line and todos-update-categories-sexp.
866 (todos-insert-item): Use nil time-string argument to omit time
867 string; use todos-nondiary-start and todos-nondiary-end and
868 todos-update-categories-sexp; if category named to insert into
869 does not exist, add it; take new diary items into account.
870 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
871 (todos-insert-item-ask-date-time-for-diary)
872 (todos-insert-item-ask-date-time-for-diary-here)
873 (todos-insert-item-ask-date-time-here)
874 (todos-insert-item-ask-date-maybe-notime)
875 (todos-insert-item-ask-date-maybe-notime-for-diary)
876 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
877 (todos-insert-item-ask-date-maybe-notime-here)
878 (todos-insert-item-ask-date-for-diary)
879 (todos-insert-item-ask-date-for-diary-here)
880 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
881 (todos-insert-item-ask-dayname-time)
882 (todos-insert-item-ask-dayname-time-for-diary)
883 (todos-insert-item-ask-dayname-time-for-diary-here)
884 (todos-insert-item-ask-dayname-time-here)
885 (todos-insert-item-ask-dayname-maybe-notime)
886 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
887 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
888 (todos-insert-item-ask-dayname-maybe-notime-here)
889 (todos-insert-item-ask-dayname-for-diary)
890 (todos-insert-item-ask-dayname-for-diary-here)
891 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
892 (todos-insert-item-ask-time-for-diary)
893 (todos-insert-item-ask-time-for-diary-here)
894 (todos-insert-item-ask-time-here)
895 (todos-insert-item-maybe-notime)
896 (todos-insert-item-maybe-notime-for-diary)
897 (todos-insert-item-maybe-notime-for-diary-here)
898 (todos-insert-item-maybe-notime-here)
899 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
900 New insertion commands.
901 (todos-insert-item-from-calendar): Use todos-current-todos-file.
902 (todos-delete-item): Handle diary items;
903 use todos-update-categories-sexp.
904 (todos-edit-item): Check if point is with item string;
905 use read-string instead of read-from-minibuffer;
906 use todos-date-string-start; after editing put point at start of
907 item text.
908 (todos-edit-multiline): Narrow to item before invoking
909 todos-edit-mode; show key binding of todos-edit-quit in a message.
910 (todos-edit-quit): Use todos-save; kill buffer.
911 (todos-edit-item-header): Add optional argument to prompt for
912 editing only date string or only time string;
913 use todos-date-string-start.
914 (todos-edit-item-date, todos-edit-item-date-is-today)
915 (todos-raise-item-priority, todos-lower-item-priority): Rename
916 from todos-{raise, lower}-item and make them DTRT in
917 todos-top-priorities-mode.
918 (todos-set-item-priority): Make interactive; use todos-get-count
919 and todos-insert-with-overlays; interactively, just relocate the
920 item within its category.
921 (todos-move-item): Add optional argument to prompt for a category
922 in another Todos file; handle diary items; fix restoration after
923 cancelling before inserting.
924 (todos-item-done): Handle diary items; simplify handling of
925 insertion in done items section.
926 (todos-item-undo): Handle diary items.
927 (todos-archive-done-items): Adjust to new handling of archive
928 files (in parallel with Todos files); handle diary items; use
929 todos-done-string-start.
930 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
931 todos-nondiary-end and todos-item-counts.
932 (todos-toggle-diary-inclusion): Use todos-category-done instead of
933 todos-category-end.
934 (todos-print): Remove autoload cookie; rewrite to make overlays,
935 line wrapping and wrap prefixes printable.
936 (todos-date-pattern): Make parenthesized groups shy.
937 (todos-date-string-match): Use todos-date-string-start; make
938 todos-date-pattern an explicitly numbered group.
939 (todos-time-string-match): Use todos-date-string-start.
940 (todos-done-string-match): Use todos-done-string-start.
941 (todos-category-string-match): Rewrite to match new category and
942 category+filename patterns in todos-top-priorities-mode.
943 (todos-prefix-overlays): Use todos-done-string-start and
944 todos-category-done.
945 (todos-reset-prefix): Handle archive files; restore point after
946 changing prefix.
947 (todos-reset-separator): Handle archive files.
948 (todos-category-number): Make category number one more than its
949 list index.
950 (todos-current-category): Adjust to 1-based numbering of categories.
951 (todos-category-select): Simplify handling of done items and done
952 separator string overlay.
953 (todos-item-start): Use todos-date-string-start and
954 todos-done-string-start.
955 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
956 (todos-item-string): Restore point after getting item bounds; use
957 buffer-substring-no-properties.
958 (todos-done-item-p): Use todos-done-string-start.
959 (todos-make-categories-list): Add optional argument to force
960 looping through file to get categories and their item counts,
961 otherwise set todos-categories from sexp in first line; use
962 vectors of item counts instead of plists; count diary items.
963 (todos-item-counts): Use todos-counts, todos-set-counts,
964 todos-get-counts, and todos-update-categories-sexp instead of
965 getting and setting properties; handle diary items.
966 (todos-read-category): Add argument to set prompt; don't offer
967 default category.
968 (todos-validate-category-name): Rename from
969 todos-check-category-name; take into account whether there are
970 already categories or not.
971 (todos-read-date): Accept `*' as an unspecified month, day, or year.
972 (todos-padded-string): Accommodate new structure of
973 todos-categories as alists; use todos-categories-align.
974 (todos-descending-counts-store): New variable.
975 (todos-insert-category-line): Rename from
976 todos-insert-category-name and reimplement using labels and
977 todos-get-counts instead of properties; use
978 todos-ignore-archived-categories; highlight sorted column.
979
980 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
981
982 * calendar/todos.el Remove lots of commented out code; add various
983 comments; further code rearrangement.
984 (todos-insert-item-here-ask-date-time)
985 (todos-insert-item-ask-date-time)
986 (todos-insert-item-ask-dayname-time)
987 (todos-insert-item-for-diary)
988 (todos-insert-item-for-diary-ask-date-time)
989 (todos-make-categories-alist, todos-categories-alist): Remove.
990 (todos-categories-list): Comment out.
991 (todos-make-categories-list): New function replacing
992 todos-make-categories-alist, using category plists to get item
993 counts and taking archive into account.
994 (todos-current-todos-file): New variable.
995 (todos-mode-map): Update key bindings.
996 (todos-save): Add as comment code to make sure todos-categories
997 sexp is current on saving.
998 (todos-quit): Call todos-show on quitting Todos archive buffer.
999 (todos-show): If todos-current-todos-file is not set to Todos
1000 file, set it as a new file; set todos-categories from
1001 todos-make-categories-alist.
1002 (todos-display-categories): Use a different display format for
1003 archive file; put point initially on the first button.
1004 (todos-toggle-view-done-items): Check the category's `done'
1005 property to determine if there are done items.
1006 (todos-view-archive): Set todos-current-todos-file to the archive
1007 file; jump from the Todos file to the same category in the
1008 archive, if it exists, else jump to the first category; use
1009 message instead of error.
1010 (todos-add-category): Intern a special symbol for the new category
1011 and set its property list to holds counts of the numbers of todo,
1012 done and archived items in the category; assign the new category
1013 the current highest category number.
1014 (todos-rename-category): Don't use todos-categories-alist.
1015 (todos-delete-category): Check the category's `todo' and `done'
1016 properties to determine if it is empty; ensure that the end of the
1017 last category is found; after deleting the category, empty its
1018 plist and unintern its special symbol.
1019 (todos-insert-item-here): Fix argument list of todos-insert-item.
1020 (todos-delete-item, todos-raise-item, todos-lower-item):
1021 Use message instead of error.
1022 (todos-move-item): If the category to be moved to does not exist,
1023 add it as a new category.
1024 (todos-item-done, todos-reset-separator):
1025 Use todos-category-select instead of todos-show.
1026 (todos-archive-done-items): Make buffer writeable; conditionalize
1027 search for end of category; save after adding to archive in case
1028 the file is new, so it can be found.
1029 (todos-category-select): Wrap search in if instead of or+and;
1030 don't hide done items in an archive.
1031 (todos-set-item-priority): Check the category's `todo'
1032 property to determine if there are not done todo items.
1033 (todos-jump-to-category-noninteractively): Just switch to buffer
1034 visiting todos-current-todos-file, since this can be either a
1035 Todos file or an archive.
1036 (todos-item-counts): Use category's plist instead of an alist.
1037 (todos-longest-category-name-length): Argument is now a list of
1038 category names, not an alist, so just test each element, not each
1039 element's the car.
1040 (todos-padded-string): Use todos-categories instead of
1041 todos-categories-alist.
1042 (todos-insert-category-name): Use category plist to get item
1043 counts; take archived items into account.
1044
1045 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1046
1047 * calendar/todos.el: Numerous spelling and comment fixes, doc
1048 string fixes to conform with checkdoc, further rearrangement of
1049 definitions, etc.
1050 (todos-previous-line, todos-previous-answer)
1051 (todos-insert-item-ask-date, todos-change-date)
1052 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1053 (todos-count-items-in-category, todos-count-all-items): Remove.
1054 (todos-update-numbered-prefix, todos-item-start-overlays)
1055 (todos-add-item-non-interactively): Comment out, also in uses.
1056 (todos-done-separator): Change default value.
1057 (todos-always-add-time-string): Rename from todos-add-time-string
1058 and adjust uses.
1059 (todos-read-category): Rename from todos-completing-read and
1060 adjust callers; use todos-current-category.
1061 (todos-make-categories-alist): Rename from function
1062 todos-categories-alist.
1063 (todos-categories-alist): New variable.
1064 (todos-indent-to-here): New defcustom.
1065 (todos-button): New face.
1066 (todos-display-categories-alphabetically, todos-raise-category)
1067 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1068 (todos-insert-item-here-ask-date-time)
1069 (todos-insert-item-ask-date-time)
1070 (todos-insert-item-ask-dayname-time): New commands.
1071 (todos-edit-item-header): New command replacing todos-change-date.
1072 (todos-category-number, todos-indent, todos-item-counts)
1073 (todos-check-category-name, todos-read-date, todos-read-dayname)
1074 (todos-read-time, todos-padded-string)
1075 (todos-insert-category-name): New functions.
1076 (todos-set-item-priority): New function replacing
1077 todos-add-item-non-interactively.
1078 (todos-mode-map): Remap newline to newline-and-indent.
1079 (todos-edit-mode-map): Make sparse keymap; remap newline to
1080 newline-and-indent.
1081 (todos-categories-mode-map): New keymap.
1082 (todos-mode, todos-edit-mode): Make indent-line-function local
1083 variable and set to todos-indent.
1084 (todos-categories-mode): New major mode.
1085 (todos-display-categories): List categories initially in their
1086 numerical order; add optional argument to switch to alphabetical
1087 listing.
1088 (todos-toggle-view-done-items): Simplify implementation.
1089 (todos-toggle-display-date-time): Fix regexp search string.
1090 (todos-backward-item, todos-forward-item): Use variable
1091 todos-item-start.
1092 (todos-add-category): Use todos-check-category-name and
1093 todos-categories-alist.
1094 (todos-rename-category): Use todos-current-category,
1095 todos-check-category-name and todos-categories-alist.
1096 (todos-delete-category): Use todos-check-category-name and
1097 todos-categories-alist and take done items into account.
1098 (todos-insert-item): Use separate arguments to handle insertion of
1099 date/dayname and time strings, add new argument to mark item for
1100 diary inclusion, use new todos-read-* functions,
1101 todos-set-item-priority and todos-item-counts.
1102 (todos-insert-item-here, todos-insert-item-for-diary)
1103 (todos-insert-item-from-calendar): Adapt to new version of
1104 todos-insert-item.
1105 (todos-delete-item, todos-item-done): Use todos-item-counts.
1106 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1107 char follows.
1108 (todos-lower-item): Ensure only not-done items can be lowered.
1109 (todos-move-item): Use todos-current-category, todos-read-category
1110 and todos-item-counts.
1111 (todos-archive-done-items): Use todos-current-category and
1112 todos-item-counts; fix regexp search string.
1113 (todos-item-undo): Use todos-current-category,
1114 todos-set-item-priority, todos-insert-with-overlays and
1115 todos-item-counts; restore if user quits before inserting undone
1116 item.
1117 (todos-date-pattern): Rewrite without using
1118 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1119 (todos-date-string-match): Do not make todos-date-pattern an
1120 unnumbered group.
1121 (todos-time-string-match): Make todos-date-pattern a shy group.
1122 (todos-wrap-and-indent): Use todos-indent-to-here.
1123 (todos-reset-prefix): Revert to using todos-show instead of
1124 todos-category-select.
1125 (todos-prefix-overlays): Fix numbering of done items and updating
1126 of prefix.
1127 (todos-category-select): Use todos-current-category; fix display
1128 of separator string; don't move point to top of category.
1129 (todos-jump-to-category-noninteractively): Use todos-category-number.
1130 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1131 (todos-item-start): New variable.
1132 (todos-item-start): Use it to define this function.
1133 (todos-item-end): Adjust if item is last unfinished one before
1134 displayed done items.
1135 (todos-remove-item): Use todos-item-start and todos-item-end
1136 instead of todos-forward-item and todos-backward-item.
1137 (todos-longest-category-name-length): Add argument for list of
1138 categories.
1139
1140 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1141
1142 * calendar/todos.el: Comment out calendar require, since diary-lib
1143 requires calendar. Rearrange file to group definitions according
1144 to their use (types of commands, internal functions, etc.)
1145 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1146 (todos-date-string, todos-time-string, todos-check-overlay)
1147 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1148 Comment out.
1149 (todos-current-date, todos-item-end-overlays)
1150 (todos-list-categories): Remove.
1151 (todos-item-end): Remove (the variable, not the function).
1152 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1153 callers.
1154 (todos-done-separator, todos-done-string, todos-show-with-done)
1155 (todos-files, todos-archive-file, todos-categories-buffer)
1156 (todos-archived-categories-buffer, todos-wrap-lines)
1157 (todos-line-wrapping-function): New defcustoms.
1158 (todos-done, todos-done-sep): New faces.
1159 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1160 (todos-search-string, todos-date-nodayname-pattern)
1161 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1162 (todos-done-string-match, todos-category-string-match)
1163 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1164 (todos-current-category, todos-count-items-in-category)
1165 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1166 (todos-longest-category-name-length): New functions.
1167 (todos-categories-list): New buffer-specific function replacing
1168 todos-list-categories.
1169 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1170 (todos-search, todos-view-archive, todos-diary-items)
1171 (todos-toggle-display-date-time, todos-insert-item-no-time)
1172 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1173 (todos-insert-item-from-calendar, todos-edit-quit)
1174 (todos-change-date, todos-item-done, todos-archive-done-items)
1175 (todos-item-undo): New commands.
1176 (todos-archive-mode): New major mode.
1177 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1178 (todos-category-beg): Change value.
1179 (todos-number-prefix): Change default value.
1180 (todos-edit-buffer): Change from defvar to defcustom.
1181 (todos-font-lock-keywords): Use todos-done-string-match and
1182 todos-category-string-match.
1183 (todos-backward-item, todos-forward-item): Use todos-done-string
1184 and todos-date-pattern.
1185 (todos-display-categories): Reimplement using buttons from
1186 button.el instead of widgets.
1187 (todos-top-priorities): Use with-current-buffer; take done items
1188 into account; ensure buffers gets fontified.
1189 (todos-add-category): Ensure new category does not begin with
1190 empty lines.
1191 (todos-jump-to-category): Use todos-category-select instead of
1192 todos-show.
1193 (todos-rename-category): Prompt for new name in body instead of in
1194 interactive spec.
1195 (todos-insert-item): Don't insert in done items section of
1196 category. Add two optional arguments to control insertion: (i) to
1197 insert near point without prompting for priority; (ii) to use
1198 defaults for date and time strings, to prompt for these, or to
1199 choose date from the Calendar.
1200 (todos-insert-item-here): Reimplement using todos-insert-item.
1201 (todos-delete-item): Don't move point after deleting last item.
1202 (todos-raise-item, todos-lower-item): Take done items into account.
1203 (todos-move-item): Don't move done items; update item numbering;
1204 restore if user quits before inserting moved item.
1205 (todos-print): Prompt for confirmation to print.
1206 (todos-reset-prefix): Search backward from end of file instead of
1207 forward from top.
1208 (todos-jump-to-category-noninteractively): Take Todos archive into
1209 account.
1210 (todos-category-select): Show or hide done items according to
1211 todos-show-with-done; if shown, coordinate separator and prefix
1212 overlays.
1213 (todos-add-item-non-interactively): Replace binary insertion
1214 algorithm with prompting for numerical priority.
1215 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1216 (todos-item-start): Take done items into account; use
1217 todos-date-pattern.
1218 (todos-item-end): Reimplement using todos-forward-item.
1219 (todos-remove-item): Reimplement using todos-forward-item and
1220 todos-backward-item; redo overlay handling.
1221 (todos-mode-map): Add some new key bindings and change numerous
1222 existing bindings; use "i" as prefix key for item insertion
1223 commands.
1224 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1225 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1226 spec; set buffer-read-only to t and consequently let-bind this
1227 variable in all Todos commands that change buffer content.
1228 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1229 (todos-save): Don't save top priorities buffer.
1230 (todos-show): Make a no-op if called interactively in narrowed
1231 Todos mode, since, also to work around item prefix reduplication
1232 bug with show-paren-mode enabled; use todos-categories-list.
1233
1234 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1235
1236 * calendar/todos.el: Comment out time-stamp require; require
1237 calendar and diary-lib.
1238 (todos-prefix): Change default value and doc string to reflect new
1239 meaning; add :initialize and :set functions.
1240 (todos-time-string-format, todos-entry-prefix-function)
1241 (todos-initials, todos-entry-timestamp-initials)
1242 (todos-prefix-face, todos-category-sep, todos-category-end)
1243 (todos-cp): Comment out.
1244 (todos-prefix-string): Inherit from font-lock-comment-face.
1245 (todos-item-header, todos-item-header-face): Remove.
1246 (todos-date, todos-time): New faces.
1247 (todos-date-face, todos-time-face): Corresponding new variables.
1248 (todos-add-time-string, todos-include-in-diary)
1249 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1250 New defcustoms.
1251 (todos-item-end, todos-item-start-overlays)
1252 (todos-item-end-overlays): New variables.
1253 (todos-date-string-match, todos-time-string-match): New functions.
1254 (todos-font-lock-keywords): Use them.
1255 (todos-current-date, todos-date-string, todos-time-string)
1256 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1257 (todos-reset-prefix, todos-update-numbered-prefix)
1258 (todos-check-overlay, todos-item-overlays)
1259 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1260 (todos-highlight-item): New command.
1261 (todos-category-beg): Change value.
1262 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1263 (todos-backward-item): Add optional count argument; use it and
1264 todos-item-start.
1265 (todos-forward-item): Use todos-check-overlay, todos-item-start
1266 and variable todos-item-end.
1267 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1268 todos-update-numbered-prefix, todos-item-overlays.
1269 (todos-add-category, todos-rename-category)
1270 (todos-list-categories): Use new category format.
1271 (todos-delete-category): Allow deleting non-empty category;
1272 use new category format.
1273 (todos-add-item-non-interactively): Comment out unnecessary
1274 save-excursion; use todos-insert-with-overlays.
1275 (todos-insert-item): Comment out unnecessary save-excursion; use
1276 new item format for date/time header and diary inclusion marking.
1277 (todos-insert-item-here): Use new item format for date/time header
1278 and diary inclusion marking; use todos-insert-with-overlays.
1279 (todos-raise-item): Make a no-op if point is on an empty line; use
1280 todos-insert-with-overlays.
1281 (todos-lower-item): Use todos-insert-with-overlays.
1282 (todos-top-priorities): Move call to todos-show inside
1283 save-excursion; add save-current-buffer after save-restriction.
1284 (todos-item-start): Use variable todos-item-end.
1285 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1286 (todos-remove-item): Take item overlays into account.
1287 (todos-mode): Change calculation of wrap-prefix; make
1288 hl-line-range-function a local variable and set it to highlight
1289 todo item.
1290 (todos-show): Ensure point stays at top of category.
1291
1292 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1293
1294 * calendar/todos.el (todos-window-configuration): Comment out.
1295 (todos-display-categories): Comment out use of
1296 todos-window-configuration; use switch-to-buffer instead of
1297 pop-to-buffer.
1298 (todos-jump-to-category-noninteractively): Comment out use of
1299 todos-window-configuration.
1300 (todos-edit-item): Don't allow editing of date/time item header.
1301 (todos-insert-item, todos-insert-item-here): Insert date/time
1302 header in front of new item string.
1303 (todos-mode): Tweak wrap-prefix.
1304
1305 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1306
1307 * calendar/todos.el (todos-file-do, todos-file-done):
1308 Change default location to directory "~/.emacs.d/".
1309 (todos-completion-ignore-case, todos-categories-buffer):
1310 New defcustoms.
1311 (todos-prefix-string, todos-item-header): New faces.
1312 (todos-prefix-face, todos-item-header-face): Corresponding
1313 new variables.
1314 (todos-rename-category, todos-delete-category)
1315 (todos-display-categories, todos-move-item): New commands.
1316 (todos-mode-map): Add key bindings for new commands and for
1317 todos-add-category, which had no key binding.
1318 (todos-jump-to-category-noninteractively): New function.
1319 (todos-top-priorities): Comment out code using a previously
1320 deleted variable.
1321 (todos-completing-read): Allow SPC to insert a space when entering
1322 a new category name; use todos-completion-ignore-case.
1323 (todos-font-lock-keywords, todos-window-configuration):
1324 New variables.
1325 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1326 word-wrap, and wrap-prefix local variables.
1327
1328 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1329
1330 * calendar/todos.el (todos-list-categories): Fix typos.
1331 (todos-show): Ensure file is in todos-mode.
1332
1333 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1334
1335 * calendar/todos.el (todos-header): Remove defvar.
1336 (todos-add-category): Comment out code that inserts and updates
1337 the file local variables first line of the file todos-file-do.
1338 (todos-list-categories): New function.
1339 (todos-show): Use it; remove use of a previously deleted variable.
1340
1341 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1342
1343 * calendar/todos.el: New file. This is a copy of todo-mode.el
1344 from revision 94343 except for the following changes: replace all
1345 occurrences of the namespace prefix "todo-" with "todos-", delete
1346 the defvar todo-cats (the old name of todo-categories) and its use
1347 in todos-add-category, delete all defaliases of old command names.
1348
1349 2012-09-11 Bastien Guerry <bzg@gnu.org>
1350
1351 * subr.el (set-temporary-overlay-map): Add a docstring.
1352 (bug#12346)
1353
1354 2012-09-11 Bastien Guerry <bzg@gnu.org>
1355
1356 * minibuffer.el (completion-table-subvert): Fix docstring.
1357 (bug#12347)
1358
1359 2012-09-11 Bastien Guerry <bzg@gnu.org>
1360
1361 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1362
1363 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1364
1365 * progmodes/sql.el: Version 3.1
1366 (sql-db2-escape-newlines): New variable.
1367 (sql-escape-newlines-filter): Use it.
1368
1369 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1370
1371 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1372
1373 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1374
1375 * vc/diff-mode.el (diff-mode-menu): Bind
1376 diff-remove-trailing-whitespace.
1377
1378 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1381 (emacs-lisp-byte-code-comment)
1382 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1383 New functions.
1384 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1385 (eval-defun-2): Remove bogus interactive spec.
1386 (lisp-indent-line): Remove redundant whole-exp code, now done in
1387 indent-according-to-mode.
1388 (save-match-data): Remove redundant indent data.
1389
1390 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1391 Use `declare'.
1392
1393 2012-09-09 Juri Linkov <juri@jurta.org>
1394
1395 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1396 (replace-lax-whitespace, query-replace-regexp)
1397 (query-replace-regexp-eval, replace-regexp): Doc fix.
1398 (perform-replace, replace-highlight): Let-bind
1399 isearch-lax-whitespace to replace-lax-whitespace and
1400 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1401
1402 * isearch.el (isearch-query-replace): Let-bind
1403 replace-lax-whitespace to isearch-lax-whitespace and
1404 replace-regexp-lax-whitespace to
1405 isearch-regexp-lax-whitespace. (Bug#10885)
1406
1407 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1410
1411 2012-09-09 Alan Mackenzie <acm@muc.de>
1412
1413 * progmodes/cc-engine.el (c-state-cache-init):
1414 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1415 (c-record-parse-state-state):
1416 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1417
1418 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1419
1420 * register.el (register-separator): Rename from
1421 separator-register. All uses changed. Doc fix.
1422 (register): Fix version.
1423
1424 2012-09-09 Chong Yidong <cyd@gnu.org>
1425
1426 * replace.el (query-replace-map): Bind four new symbols for
1427 requesting window scrolling.
1428
1429 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1430 query-replace-map (Bug#8948).
1431
1432 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1433
1434 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1435 since they are now in query-replace-map.
1436
1437 * window.el (scroll-other-window-down): Make the arg optional.
1438
1439 2012-09-09 Chong Yidong <cyd@gnu.org>
1440
1441 * files.el (hack-local-variables-confirm): Use quit-window to kill
1442 the *Local Variables* buffer.
1443
1444 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1445
1446 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1447 not just expect to be at its beginning. Adjust callees.
1448 Succeed when do-end block has no space before the pipe character.
1449 (ruby-brace-to-do-end): When the original block is one-liner,
1450 convert to multiline. Reindent the result.
1451
1452 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1453
1454 * register.el (register): New group.
1455 (register-separator): New user option.
1456 (increment-register): Route it to `append-to-register', if
1457 register contains text. Implication is that `C-x r +' can now be
1458 used for appending to a text register (bug#12217).
1459 (append-to-register, prepend-to-register): Add separator based on
1460 `register-separator.
1461
1462 2012-09-08 Alan Mackenzie <acm@muc.de>
1463
1464 AWK Mode: make auto-newline work when there's "==" in the pattern.
1465 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1466 correctly.
1467 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1468 Test more rigorously for "=" token.
1469
1470 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1471
1472 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1473 Only fail when reached LIMIT.
1474
1475 2012-09-08 Chong Yidong <cyd@gnu.org>
1476
1477 * dired.el (dired-mode-map): Don't bind M-=.
1478
1479 * dired-aux.el (dired-diff): Use backup file as default.
1480
1481 2012-09-08 Drew Adams <drew.adams@oracle.com>
1482
1483 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1484
1485 2012-09-08 Chong Yidong <cyd@gnu.org>
1486
1487 * subr.el (syntax-after, syntax-class): Doc fix.
1488
1489 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1490
1491 * window.el (display-buffer-in-previous-window): New buffer
1492 display action function.
1493
1494 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1495 (debugger-previous-window): New variable.
1496 (debug): Rewrite using display-buffer-in-previous-window,
1497 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1498
1499 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1500
1501 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1502
1503 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1504
1505 * progmodes/python.el (python-shell-send-string):
1506 When default-directory is remote, create temp file on remote
1507 filesystem.
1508 (python-shell-send-file): When file is remote, pass local view of
1509 file paths to remote Python interpreter. (Bug#12340)
1510
1511 2012-09-07 Chong Yidong <cyd@gnu.org>
1512
1513 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1514
1515 * files.el (after-find-file): Don't fail on a read-only buffer if
1516 require-final-newline is `visit' or `visit-save' (Bug#11156).
1517
1518 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1519
1520 * userlock.el (ask-user-about-supersession-threat):
1521 Use read-char-choice (Bug#12093).
1522
1523 2012-09-07 Chong Yidong <cyd@gnu.org>
1524
1525 * subr.el (buffer-narrowed-p): New function.
1526
1527 * ses.el (ses-widen):
1528 * simple.el (count-words--buffer-message):
1529 * net/browse-url.el (browse-url-of-buffer): Use it
1530
1531 * simple.el (count-words-region): Don't signal an error if there
1532 is a non-nil prefix arg and the mark is not set.
1533
1534 * help.el (describe-key-briefly): Allow the message to be seen
1535 when invoked from the minibuffer (Bug#7014).
1536
1537 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1538
1539 * progmodes/ruby-mode.el (ruby-end-of-defun)
1540 (ruby-beginning-of-defun): Simplify, allow indentation before
1541 block beginning and end keywords.
1542 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1543 (ruby-end-of-defun): Expect that the point is at the beginning of
1544 the defun.
1545
1546 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1549 (bug#12367).
1550 (cl--make-usage-args): Strip _ from argument names.
1551
1552 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1553
1554 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1555 obsolete alias speedbar-key-map.
1556 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1557 (vhdl-index-menu-init): Don't use obsolete variable
1558 font-lock-maximum-size.
1559
1560 2012-09-06 Chong Yidong <cyd@gnu.org>
1561
1562 * frame.el (window-system-version): Mark as obsolete.
1563
1564 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1565 of obsolete variable speedbar-key-map.
1566
1567 2012-09-06 Juri Linkov <juri@jurta.org>
1568
1569 * replace.el (replace-lax-whitespace): New defcustom.
1570 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1571 (replace-string, replace-regexp): Mention it in docstrings.
1572 (perform-replace, replace-highlight): Let-bind
1573 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1574 to the values of replace-lax-whitespace and regexp-flag.
1575 Don't let-bind search-whitespace-regexp. (Bug#10885)
1576
1577 * isearch.el (isearch-query-replace): Let-bind
1578 replace-lax-whitespace instead of let-binding
1579 replace-search-function and replace-re-search-function.
1580 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1581 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1582 (isearch-toggle-symbol): Set isearch-regexp to nil
1583 in isearch-word mode (like in isearch-toggle-word).
1584
1585 2012-09-06 Juri Linkov <juri@jurta.org>
1586
1587 * replace.el (replace-search-function)
1588 (replace-re-search-function): Set default values to nil.
1589 (perform-replace): Let-bind isearch-related variables based on
1590 replace-related values, call `isearch-search-fun' and let-bind
1591 the result to `search-function'. Remove code that sets
1592 `search-function' and `search-string' separately for
1593 `delimited-flag'.
1594 (replace-highlight): Add new argument `delimited-flag' and
1595 rename other arguments to the names used in `perform-replace'.
1596 Let-bind `isearch-word' to the argument `delimited-flag'.
1597 (Bug#10885, bug#10887)
1598
1599 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1602 ruby-beginning-of-indent, simplify, allow all keywords to have
1603 indentation before them.
1604 (ruby-beginning-of-indent): Adjust for above. Search until the
1605 found point is not inside a string or comment.
1606 (ruby-font-lock-keywords): Allow symbols to start with "@"
1607 character, give them higher priority than variables.
1608 (ruby-syntax-propertize-function)
1609 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1610 matchers. Expression expansions are not comments when inside a
1611 string, and there comment syntax status is irrelevant.
1612 (ruby-match-expression-expansion): New function. Check that
1613 expression expansion is inside a string, and it's not escaped.
1614 (ruby-font-lock-keywords): Use it.
1615
1616 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1617
1618 * help.el (temp-buffer-max-height): New default value.
1619 (temp-buffer-resize-frames): New option.
1620 (resize-temp-buffer-window): Optionally resize frame.
1621
1622 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1623 (fit-frame-to-buffer): New function.
1624
1625 2012-09-05 Glenn Morris <rgm@gnu.org>
1626
1627 * emulation/cua-rect.el (cua--init-rectangles):
1628 * textmodes/picture.el (picture-mode-map):
1629 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1630 like forward-char and backward-char. (Bug#12317)
1631
1632 2012-09-05 Leo Liu <sdl.web@gmail.com>
1633
1634 * progmodes/flymake.el (flymake-warning-re): New variable.
1635 (flymake-parse-line): Use it.
1636
1637 2012-09-05 Glenn Morris <rgm@gnu.org>
1638
1639 * calendar/holidays.el (holiday-christian-holidays):
1640 Rename an entry. (Bug#12289)
1641
1642 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1645 (bug#12222).
1646
1647 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * loadup.el: Load macroexp. Remove hack.
1650 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1651 (macroexp--expand-all): Use it to get better warnings.
1652 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1653 (internal-macroexpand-for-load): New functions.
1654 (macroexp--pending-eager-loads): New var.
1655 (emacs-startup-hook): New hack to replace one in loadup.el.
1656 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1657 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1658 (cl-psetf): Simplify.
1659 (cl-defstruct): Add indent rule.
1660
1661 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1662
1663 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1664 over `user-mail-address' for the SMTP MAIL FROM envelope.
1665 (smtpmail-via-smtp): Ditto.
1666
1667 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1668
1669 * progmodes/ruby-mode.el: Clean up keybindings.
1670 (ruby-mode-map): Don't bind ruby-electric-brace,
1671 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1672 backward-kill-word, reindent-then-newline-and-indent.
1673 (ruby-mark-defun): Remove.
1674 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1675 (ruby-mode): Set local beginning-of-defun-function and
1676 end-of-defun-function values.
1677
1678 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1679
1680 * window.el (temp-buffer-window-setup-hook)
1681 (temp-buffer-window-show-hook): New hooks.
1682 (temp-buffer-window-setup, temp-buffer-window-show)
1683 (with-temp-buffer-window): New functions.
1684 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1685 (special-display-popup-frame): Make sure the window used shows BUFFER.
1686
1687 * help.el (temp-buffer-resize-mode): Fix doc-string.
1688 (resize-temp-buffer-window): New optional argument WINDOW.
1689
1690 * files.el (recover-file, save-buffers-kill-emacs):
1691 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1692
1693 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1696 remote definition of `default-directory', ensure we can connect.
1697
1698 2012-09-02 Juri Linkov <juri@jurta.org>
1699
1700 Toggle whitespace matching mode with M-s SPC.
1701 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1702
1703 * isearch.el (search-whitespace-regexp): Doc fix.
1704 Remove cons cell customization.
1705 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1706 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1707 New variables.
1708 (isearch-forward, isearch-forward-regexp): Doc fix.
1709 (isearch-toggle-lax-whitespace): New command.
1710 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1711 (re-search-forward-lax-whitespace)
1712 (re-search-backward-lax-whitespace): New functions.
1713 (isearch-whitespace-regexp): Remove function.
1714 (isearch-query-replace): Let-bind replace-search-function and
1715 replace-re-search-function.
1716 (isearch-occur): Let-bind search-spaces-regexp according to the
1717 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1718 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1719 condition for C-q SPC.
1720 (isearch-search-fun-default): Use new functions mentioned above.
1721 (isearch-search-forward, isearch-search-backward): Remove functions.
1722 (isearch-search): Don't let-bind search-spaces-regexp.
1723 (isearch-lazy-highlight-space-regexp): Remove variable.
1724 (isearch-lazy-highlight-lax-whitespace)
1725 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1726 (isearch-lazy-highlight-new-loop): Use them.
1727 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1728
1729 2012-09-02 Chong Yidong <cyd@gnu.org>
1730
1731 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1732
1733 2012-09-02 Glenn Morris <rgm@gnu.org>
1734
1735 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1736
1737 2012-09-01 Glenn Morris <rgm@gnu.org>
1738
1739 * term.el: Tidy up menu definitions.
1740 (term-mode-map): Use easymenu for In/Out, Complete menus.
1741 (term-pager-break-map): Initialize in the defvar.
1742 (term-terminal-menu, term-signals-menu): Define with easymenu.
1743 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1744 (term-pager-menu): New, extracted from term-process-pager.
1745 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1746 (term-update-mode-line): Propertize line/char and page items.
1747 (term-process-pager): Move keymap initialization elsewhere.
1748
1749 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1750
1751 * window.el (switch-to-prev-buffer): Handle additional values of
1752 BURY-OR-KILL argument. Don't switch in minibuffer window.
1753 (switch-to-next-buffer): Don't switch in minibuffer window.
1754 (quit-restore-window): New function based on quit-window.
1755 Handle additional values of former KILL argument.
1756 (quit-window): Call quit-restore-window with appropriate
1757 interpretation of KILL argument.
1758 (display-buffer-below-selected): New buffer display action
1759 function.
1760
1761 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1762
1763 * minibuffer.el (completion-at-point-functions): Complete docstring
1764 (bug#12254).
1765
1766 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1767
1768 Better seed support for (random).
1769 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1770 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1771 * play/mpuz.el, play/tetris.el, play/zone.el:
1772 * calc/calc-comb.el (math-init-random-base):
1773 * play/blackbox.el (bb-init-board):
1774 * play/life.el (life):
1775 * server.el (server-use-tcp):
1776 * type-break.el (type-break):
1777 Remove unnecessary call to (random t).
1778 * net/sasl.el (sasl-unique-id-function):
1779 Change (random t) to (random), now that the latter is more random.
1780 * play/life.el (life-initialized): Remove no-longer-needed var.
1781
1782 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1783
1784 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1785 Consider frame's buffer predicate when choosing the buffer.
1786 (Bug#12081)
1787
1788 2012-08-30 Richard Stallman <rms@gnu.org>
1789
1790 * simple.el (special-mode-map): Delete binding for `z'.
1791
1792 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1793
1794 * progmodes/compile.el (compilation-always-kill): Doc fix.
1795
1796 2012-08-30 Chong Yidong <cyd@gnu.org>
1797
1798 * window.el (display-buffer-reuse-frames): Make the obsolescence
1799 message more informative.
1800
1801 2012-08-30 Glenn Morris <rgm@gnu.org>
1802
1803 * paren.el (show-paren-delay):
1804 Add a :set function. Doc fix. (Bug#12297)
1805
1806 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1807
1808 * progmodes/compile.el (compilation-always-kill): New var.
1809 (compilation-start): Use it.
1810
1811 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1814 * files.el (read-only-mode): Move to simple.el.
1815
1816 * files.el (read-only-mode): New minor mode.
1817 (toggle-read-only): Use it and mark obsolete.
1818 (find-file--read-only):
1819 * vc/vc.el (vc-next-action, vc-checkout):
1820 * vc/vc-cvs.el (vc-cvs-checkout):
1821 * obsolete/vc-mcvs.el (vc-mcvs-update):
1822 * ffap.el (ffap--toggle-read-only): Update callers.
1823
1824 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1825
1826 * eshell/esh-ext.el (eshell-external-command): Do not examine
1827 remote shell scripts.
1828 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1829
1830 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1831 "/usr/local/sbin".
1832
1833 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1836
1837 2012-08-28 Leo Liu <sdl.web@gmail.com>
1838
1839 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1840 completion-at-point. (Bug#12220)
1841
1842 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1843
1844 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1845
1846 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1849 be buffer-local; add delete-trailing-whitespace (bug#12259).
1850
1851 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1852
1853 * progmodes/hideif.el (hif-compress-define-list):
1854 Fix typo. (Bug#11951)
1855
1856 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1857
1858 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1859 buffer local setting.
1860
1861 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1862 rcirc-encode-coding-system.
1863
1864 2012-08-28 Leo Liu <sdl.web@gmail.com>
1865
1866 * net/rcirc.el (rcirc-split-message): New function.
1867 (rcirc-send-message): Use it. (Bug#12051)
1868
1869 2012-08-28 Juri Linkov <juri@jurta.org>
1870
1871 * info.el (Info-fontify-node): Hide empty lines at the end of
1872 the node. (Bug#12272)
1873
1874 2012-08-27 Drew Adams <drew.adams@oracle.com>
1875
1876 * dired.el (dired-pop-to-buffer): Make window start at beginning
1877 of buffer (Bug#12281).
1878
1879 2012-08-26 Chong Yidong <cyd@gnu.org>
1880
1881 * window.el (special-display-regexps, special-display-frame-alist)
1882 (special-display-buffer-names, special-display-function)
1883 (display-buffer-reuse-frames): Mark as obsolete.
1884
1885 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1886
1887 * help.el (help-print-return-message): Don't treat
1888 display-buffer-reuse-frames specially.
1889
1890 2012-08-26 Chong Yidong <cyd@gnu.org>
1891
1892 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1893 New variable, replacing gdb-frame-parameters.
1894 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1895 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1896 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1897 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1898 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1899 the functions directly with gdb-display-buffer-other-frame-action.
1900 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1901 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1902 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1903 (gdb-display-registers-buffer): Define directly.
1904 (def-gdb-display-buffer): Macro deleted.
1905 (gdb-display-buffer): Remove second and third args, callers don't
1906 use them. Defer to the default display-buffer behavior, apart
1907 from making windows dedicated.
1908 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1909
1910 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1911
1912 * window.el (display-buffer-pop-up-frame): Handle a
1913 pop-up-frame-parameters alist entry.
1914 (display-buffer): Document it.
1915
1916 2012-08-26 Chong Yidong <cyd@gnu.org>
1917
1918 * isearch.el (search-whitespace-regexp): Make string and nil
1919 values apply to both ordinary and regexp search. Allow a cons
1920 cell value to distinguish between the two.
1921 (isearch-whitespace-regexp, isearch-search-forward)
1922 (isearch-search-backward): New functions.
1923 (isearch-occur, isearch-search-fun-default, isearch-search)
1924 (isearch-lazy-highlight-new-loop): Use them.
1925 (isearch-forward, isearch-forward-regexp): Doc fix.
1926
1927 2012-08-26 Chong Yidong <cyd@gnu.org>
1928
1929 * faces.el (help-argument-name): Always inherit from italic
1930 (Bug#12213).
1931
1932 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1933
1934 * window.el (window--even-window-heights): Even heights when
1935 WINDOW and the selected window form a vertical combination.
1936 (display-buffer-use-some-window): Provide that window used gets
1937 sized back by quit-window. (Bug#11880) and (Bug#12091)
1938
1939 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1940
1941 Fix file time stamp problem with bzr and CVS (Bug#12001).
1942 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1943 in the file's time stamp, since the version control system loses
1944 that information.
1945
1946 2012-08-22 Juri Linkov <juri@jurta.org>
1947
1948 * info.el (Info-fontify-node): Hide the suffix of the
1949 Info file name in the header line. (Bug#12187)
1950
1951 2012-08-22 Glenn Morris <rgm@gnu.org>
1952
1953 * calendar/cal-tex.el (cal-tex-weekly-common):
1954 Restore leading blank page.
1955
1956 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1957
1958 * misc.el (forward-to-word, backward-to-word): Activate or extend
1959 the region under `shift-select-mode'. (Bug#12231)
1960
1961 2012-08-22 Bastien Guerry <bzg@gnu.org>
1962
1963 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1964 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1965 gives details on why the space is never needed.
1966
1967 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1968
1969 * window.el (walk-window-tree, window-with-parameter):
1970 New optional argument MINIBUF to control whether these functions
1971 should run on the minibuffer window.
1972 (window-at-side-list): Don't operate on minibuffer window.
1973 (window-in-direction): Simplify and rewrite doc-string.
1974 (window--size-ignore): Rename to window--size-ignore-p.
1975 Update callers.
1976 (display-buffer-in-atom-window, window--major-non-side-window)
1977 (window--major-side-window, display-buffer-in-major-side-window)
1978 (delete-side-window, display-buffer-in-side-window):
1979 New functions.
1980 (window--side-check, window-deletable-p, delete-window)
1981 (delete-other-windows, split-window): Handle side windows and
1982 atomic windows appropriately.
1983 (window--display-buffer): Call display-buffer-record-window also
1984 when the window buffer did not change.
1985
1986 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1987
1988 * help-fns.el (help-fns--key-bindings):
1989 Abbreviate non-symbol remap targets. (Bug#12174)
1990
1991 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1992
1993 * dired.el (dired-mark-remembered): Don't clobber point.
1994 (Bug#11795)
1995
1996 2012-08-22 Glenn Morris <rgm@gnu.org>
1997
1998 * progmodes/bug-reference.el (bug-reference): New custom group.
1999 (bug-reference-bug-regexp): Make it a defcustom.
2000
2001 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2002
2003 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2004 (js-paren-indent-offset, js-square-indent-offset)
2005 (js-curly-indent-offset): Add :safe (Bug#12257).
2006
2007 2012-08-22 Edward O'Connor <hober0@gmail.com>
2008
2009 * json.el (json-key-format): Add error properties.
2010 (json-encode-key): New function.
2011 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2012 Use json-encode-key.
2013
2014 2012-08-22 Glenn Morris <rgm@gnu.org>
2015
2016 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2017 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2018 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2019 Update for above change.
2020
2021 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2022
2023 * cus-face.el (custom-face-attributes): Fix customize type for the
2024 :underline attribute. (Bug#11805)
2025
2026 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2027
2028 * window.el (window-point-1, set-window-point-1): Remove.
2029 (window-in-direction, record-window-buffer)
2030 (set-window-buffer-start-and-point, split-window-below)
2031 (window--state-get-1, display-buffer-record-window):
2032 Replace calls to window-point-1 and set-window-point-1 by calls to
2033 window-point and set-window-point respectively.
2034
2035 2012-08-21 Glenn Morris <rgm@gnu.org>
2036
2037 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2038 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2039 Use it.
2040
2041 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2042 (cal-tex-shortday): New function.
2043 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2044 (cal-tex-cursor-filofax-daily): Use the above.
2045
2046 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2047 New functions.
2048 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2049 (cal-tex-cursor-filofax-week): Use them.
2050
2051 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2052 New constants.
2053 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2054 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2055
2056 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2057 (cal-tex-end-document): Don't rely on buffer name.
2058
2059 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2060 Use cal-tex-vspace.
2061 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2062 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2063 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2064 Use cal-tex-arg.
2065
2066 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2067 (cal-tex-cursor-week, cal-tex-cursor-week2)
2068 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2069 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2070 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2071 (cal-tex-insert-preamble, cal-tex-b-document)
2072 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2073 Improve cal-tex-cmd usage.
2074
2075 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2076 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2077 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2078 (cal-tex-weekly-paper): New function.
2079 (cal-tex-cursor-week, cal-tex-cursor-week2)
2080 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2081 (cal-tex-cursor-day): Use it.
2082
2083 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2084 (cal-tex-cursor-filofax-week): Remove leading blank page.
2085
2086 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2087 Add autoload cookie. For now at least, don't use color, since
2088 no other cal-tex function does.
2089
2090 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2091 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2092 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2093
2094 2012-08-21 Juri Linkov <juri@jurta.org>
2095
2096 * info.el (Info-file-attributes): New variable.
2097 (info-insert-file-contents): Add file attributes to
2098 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2099 `Info-toc-nodes' when previous modtime of the Info file is less
2100 than new modtime.
2101 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2102 of info.el. (Bug#12230)
2103
2104 2012-08-20 Glenn Morris <rgm@gnu.org>
2105
2106 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2107 * calendar/holidays.el (calendar-holiday-list):
2108 Report errors with display-warning rather than beep'n'sleep.
2109
2110 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2111
2112 * net/tramp.el (tramp-accept-process-output): Accept only output
2113 from PROC. Otherwise, process filters and sentinels might be
2114 confused. (Bug#12145)
2115
2116 2012-08-20 Chong Yidong <cyd@gnu.org>
2117
2118 * descr-text.el (describe-text-properties-1): Use overlays-in to
2119 report on empty overlays (Bug#3322).
2120
2121 2012-08-20 Glenn Morris <rgm@gnu.org>
2122
2123 * mail/rmailout.el (rmail-output-read-file-name):
2124 Trap and report errors in rmail-output-file-alist elements.
2125
2126 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2127 since most non-font-lock faces are not also variables).
2128
2129 2012-08-20 Edward Reingold <reingold@iit.edu>
2130
2131 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2132 New function. (Bug12160)
2133
2134 2012-08-19 Glenn Morris <rgm@gnu.org>
2135
2136 * mail/rmailout.el (rmail-output-read-file-name):
2137 Fix previous change (when the alist is nil or does not match).
2138
2139 2012-08-19 Chong Yidong <cyd@gnu.org>
2140
2141 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2142 (Bug#12228).
2143
2144 2012-08-18 Chong Yidong <cyd@gnu.org>
2145
2146 * simple.el (yank-handled-properties): New defcustom.
2147 (yank-excluded-properties): Add font-lock-face and category.
2148 (yank): Doc fix.
2149
2150 * subr.el (remove-yank-excluded-properties):
2151 Obey yank-handled-properties. The special handling of font-lock-face
2152 and category is now done this way, instead of being hard-coded.
2153 (insert-for-yank-1): Remove font-lock-face handling.
2154 (yank-handle-font-lock-face-property)
2155 (yank-handle-category-property): New function.
2156
2157 2012-08-17 Glenn Morris <rgm@gnu.org>
2158
2159 * mail/rmailout.el (rmail-output-read-file-name):
2160 Check rmail-output-file-alist against the full message body
2161 in the correct rmail buffer. (Bug#12214)
2162
2163 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2166 Eliminate superfluous prompt. (Bug#12203)
2167
2168 2012-08-17 Chong Yidong <cyd@gnu.org>
2169
2170 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2171 font spec, set the font directly (Bug#3228).
2172
2173 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2174
2175 * window.el (delete-window): Fix last fix.
2176
2177 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2178
2179 * window.el (window-valid-p): Move to window.c.
2180 (window-child, window-child-count, window-last-child)
2181 (window-normalize-window, window-combined-p)
2182 (window-combinations, window-atom-root, window-min-size)
2183 (window-sizable, window-sizable-p, window-size-fixed-p)
2184 (window-min-delta, window-max-delta, window--resizable)
2185 (window--resizable-p, window-resizable, window-total-size)
2186 (window-full-height-p, window-full-width-p, window-body-size)
2187 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2188 (minimize-window, window-deletable-p, delete-window)
2189 (delete-other-windows, set-window-buffer-start-and-point)
2190 (next-buffer, previous-buffer, split-window, balance-windows-2)
2191 (set-window-text-height, window-buffer-height)
2192 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2193 (truncated-partial-width-window-p): Minor code adjustments.
2194 In doc-strings state whether the argument window has to denote a
2195 live, valid or any window.
2196
2197 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2198
2199 * progmodes/subword.el (subword-forward-function)
2200 (subword-backward-function, subword-forward-regexp)
2201 (subword-backward-regexp): New variables.
2202 (subword-forward, subword-forward-internal, subword-backward-internal):
2203 Use new variables, eg so that different "word" definitions
2204 can be easily used. (Bug#11411)
2205
2206 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2209 for composite selectors.
2210 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2211 operation just because we can't find a previous revision.
2212
2213 2012-08-15 Chong Yidong <cyd@gnu.org>
2214
2215 * frame.el (set-frame-font): Accept font objects.
2216
2217 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2220
2221 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2222
2223 * man.el (Man-overstrike-face, Man-underline-face)
2224 (Man-reverse-face): Remove variables.
2225 (Man-overstrike, Man-underline, Man-reverse): New faces.
2226 (Man-fontify-manpage): Use them instead of the variables.
2227 (Man-cleanup-manpage): Comment change.
2228 (Man-ansi-color-map): New variable.
2229 (Man-fontify-manpage): Use it.
2230 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2231
2232 Implement ANSI SGR parameters 22-27 (bug#12146).
2233 * ansi-color.el (ansi-colors): Doc fix.
2234 (ansi-color-context, ansi-color-context-region): Doc fix.
2235 (ansi-color--find-face): New function.
2236 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2237 Rename the local variable `face' to `codes' since it is now a list of
2238 ansi codes. Doc fix.
2239 (ansi-color-get-face): Remove.
2240 (ansi-color-parse-sequence): New function, derived from
2241 ansi-color-get-face.
2242 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2243 codes 22-27.
2244
2245 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * subr.el (read-passwd): Allow use from a minibuffer.
2248
2249 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2250
2251 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2252 inside comments and strings as identifiers.
2253
2254 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2255 expression to evaluate. This allows to evaluate expressions with
2256 embedded whitespace.
2257 (gud-tooltip-tips): Add a blank before the newline in the
2258 message-box text, for the benefit of message-box emulation on
2259 MS-Windows.
2260
2261 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2262 messages from GDB, pop them up in a tooltip to give feedback to
2263 user.
2264 (gdb-tooltip-print-1): Quote the expression to evaluate.
2265 This allows to evaluate expressions with embedded whitespace.
2266 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2267 if the TTY name is nil or empty (which happens when communicating
2268 with the inferior via pipes, e.g. on MS-Windows).
2269 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2270 don't send that to the GUD buffer.
2271
2272 2012-08-14 Glenn Morris <rgm@gnu.org>
2273
2274 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2275 Optimize away setq-default with no args, as for setq. (Bug#12195)
2276
2277 2012-08-14 Chong Yidong <cyd@gnu.org>
2278
2279 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2280
2281 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2282 (Bug#12085).
2283
2284 2012-08-14 Glenn Morris <rgm@gnu.org>
2285
2286 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2287
2288 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2291 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2292 Use cached shell name.
2293
2294 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2295
2296 * progmodes/python.el (python-shell-send-string):
2297 (python-shell-send-setup-code): Do not use `format' with `message'.
2298
2299 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2300
2301 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2302 (ruby-percent-literal-beg-re): New constant.
2303 (ruby-syntax-general-delimiters-goto-beg): Rename to
2304 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2305 (ruby-syntax-propertize-general-delimiters): Rename to
2306 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2307 popular term. Adjust comments everywhere.
2308 (ruby-syntax-propertize-percent-literal): Only propertize when not
2309 inside a simple string or comment. When the literal is unclosed,
2310 leave the text after it unpropertized.
2311 (ruby-syntax-methods-before-regexp): New constant.
2312 (ruby-syntax-propertize-function): Use it to recognize regexps.
2313 Don't look at the text after regexp, just use the whitelist.
2314
2315 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2316
2317 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2318 non-nil always load the compiled file if it exists. (Bug#12197)
2319
2320 2012-08-14 Chong Yidong <cyd@gnu.org>
2321
2322 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2323 (hi-lock-set-pattern): When deciding whether to use font lock or
2324 overlays, look at font-lock-mode instead of font-lock-fontified
2325 (Bug#12168).
2326 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2327 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2328
2329 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2330
2331 * subr.el (internal--after-with-selected-window): Fix typo
2332 (Bug#12193).
2333
2334 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2335
2336 Use `completion-table-dynamic' for completion functions.
2337 * progmodes/python.el
2338 (python-shell-completion--do-completion-at-point)
2339 (python-shell-completion--get-completions):
2340 Remove functions.
2341 (python-shell-completion-complete-at-point): New function.
2342 (python-completion-complete-at-point): Use it.
2343
2344 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2345
2346 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2347 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2348
2349 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * subr.el (function-get): Refine `autoload' arg so it can also
2352 autoload functions for gv.el (bug#12191).
2353 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2354 autoloads macros.
2355
2356 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2357 Prefer pcase-let over destructuring-bind.
2358 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2359 Also, remove whitespace as we go, rather than after accumulating the
2360 various places.
2361
2362 * subr.el (internal--before-with-selected-window)
2363 (internal--after-with-selected-window): Fix typo seleted->selected.
2364 (with-selected-window): Adjust callers.
2365 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2366
2367 2012-08-13 Bastien Guerry <bzg@gnu.org>
2368
2369 * window.el (special-display-popup-frame): Minor docstring
2370 enhancement. (Bug#12172)
2371
2372 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2373
2374 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2375 type 1-6.
2376 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2377 extended headers.
2378
2379 * files.el (hack-local-variables-filter): Remove useless eval.
2380
2381 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2382
2383 * subr.el (with-selected-window): Fix last change.
2384
2385 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * subr.el (internal--before-with-seleted-window)
2388 (internal--after-with-seleted-window): New functions.
2389 (with-selected-window): Use them, to replace dependency on
2390 tty-top-frame.
2391
2392 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2393
2394 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2395 binding for `newline'.
2396 (ruby-move-to-block): When moving backward, stop at block opening,
2397 not indentation.
2398 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2399 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2400 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2401 `ruby-toggle-block'.
2402
2403 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * ibuffer.el (ibuffer-do-toggle-read-only):
2406 * dired.el (dired-toggle-read-only):
2407 * buff-menu.el (Buffer-menu-toggle-read-only):
2408 * bindings.el (mode-line-toggle-read-only):
2409 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2410
2411 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2412
2413 * descr-text.el (describe-char): Put the overlays over the
2414 "displayed as" character.
2415
2416 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2417
2418 * calc/calc-units.el (math-default-units-table): Give an
2419 initial value.
2420 (math-put-default-units): Add options to put composite units and
2421 unit systems in the default units table.
2422 (calc-convert-units): Send composite units to
2423 `math-put-default-units' when appropriate.
2424
2425 2012-08-11 Glenn Morris <rgm@gnu.org>
2426
2427 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2428
2429 * tutorial.el (help-with-tutorial):
2430 * emacs-lisp/copyright.el (copyright-update-directory):
2431 * emacs-lisp/autoload.el (autoload-find-generated-file)
2432 (autoload-find-file): Disable local eval: (for insurance).
2433
2434 * files.el (hack-local-variables-filter): If an eval: form is not
2435 known to be safe, and enable-local-variables is :safe, then ignore
2436 the form totally, as is done for non-eval forms. (Bug#12155)
2437 This is CVE-2012-3479.
2438
2439 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2442 (rx-form): Simplify.
2443
2444 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2445
2446 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2447 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2448 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2449 (ruby-syntax-propertize-function): Adjust for changes in
2450 `ruby-syntax-propertize-heredoc'.
2451
2452 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2453
2454 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2455 binding (use `M-;' instead).
2456 (ruby-singleton-class-p): New function.
2457 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2458
2459 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2462
2463 2012-08-10 Chong Yidong <cyd@gnu.org>
2464
2465 * progmodes/python.el (python-shell-get-process-name): Don't mess
2466 with same-window-buffer-names.
2467
2468 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2469 (eshell-remove-from-window-buffer-names): Make obsolete.
2470 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2471 (eshell): Just use pop-to-buffer-same-window instead.
2472
2473 2012-08-10 Chong Yidong <cyd@gnu.org>
2474
2475 * bindings.el: Bind M-= back to count-words-region.
2476
2477 * simple.el (count-words-region): Accept a prefix arg for acting
2478 on the entire buffer.
2479 (count-words--buffer-message): New helper function.
2480
2481 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2482
2483 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2484 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2485 (event-start, event-end): Use posn-at-point to return a more
2486 informative posn.
2487 (posnp): New function.
2488 * mouse.el (popup-menu-normalize-position): Use it.
2489
2490 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2491
2492 * mouse.el (popup-menu-normalize-position): New function.
2493 (popup-menu): Use `popup-menu-normalize-position' to normalize
2494 the form for POSITION argument.
2495
2496 * term/x-win.el (x-menu-bar-open):
2497 Use the value returend from (posn-at-point) as position
2498 passed to `popup-menu'.
2499
2500 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2501
2502 * calc/calccomp.el (math-compose-expr): Add extra argument
2503 indicating that parentheses should be put around products in
2504 denominators. Give multiplication precedence over division during
2505 composition.
2506
2507 2012-08-09 Chong Yidong <cyd@gnu.org>
2508
2509 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2510 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2511 (Man-untabify-command, manual-program): Convert to defcustom
2512 (Bug#10429).
2513
2514 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2515
2516 * descr-text.el (describe-char): Don't insert extra newlines
2517 (Bug#10127).
2518
2519 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2520 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2521
2522 * align.el (align-region): Delete temporary markers (Bug#10047).
2523 Plus some code cleanups.
2524
2525 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2526
2527 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2528 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2529 (python-shell-internal-last-output): Use make-local-variable
2530 instead of make-variable-buffer-local.
2531
2532 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2533
2534 * progmodes/python.el: Enhancements to forward-sexp.
2535 (python-nav-forward-sexp): Rename from
2536 python-nav-forward-sexp-function.
2537 (python-nav--forward-sexp, python-nav--backward-sexp):
2538 New functions.
2539
2540 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2541
2542 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2543 modes and simplification modes.
2544
2545 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * delsel.el (delete-selection-pre-hook): Don't propagate the
2548 file-supersession signals (bug#12161).
2549
2550 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2553 (cl-map-extents): Add compatibility aliases (bug#12135).
2554
2555 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2558 tests by `ignore-error'.
2559 (tramp-find-shell): Open also a new shell, when cache is already
2560 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2561
2562 2012-08-08 Juri Linkov <juri@jurta.org>
2563
2564 * bookmark.el: Add `defaults' property to the bookmark record.
2565 (bookmark-current-buffer): Doc fix.
2566 (bookmark-make-record): Add `defaults' property with default values
2567 to the bookmark record.
2568 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2569 with `bookmark-insert-current-bookmark'.
2570 (bookmark-set): Get `defaults' property from the bookmark record
2571 and use it in `read-from-minibuffer'.
2572 (bookmark-insert-current-bookmark): Remove function.
2573
2574 * info.el (Info-bookmark-make-record): Add `defaults' property
2575 with values of canonical Info node name, the current Info file
2576 name and the current Info node name. (Bug#12107)
2577
2578 2012-08-08 Juri Linkov <juri@jurta.org>
2579
2580 * files.el (basic-save-buffer): Use `buffer-name' as the default
2581 of `read-file-name' when buffer is not visiting a file (bug#12128).
2582
2583 2012-08-08 Juri Linkov <juri@jurta.org>
2584
2585 * info.el (Info-isearch-search): Doc fix.
2586 (Info-search): Change search-failed message from "initial node" to
2587 "end of node" (bug#12078).
2588 (Info-isearch-search): Change `isearch-string-state' to
2589 `isearch--state-string'.
2590
2591 2012-08-08 Glenn Morris <rgm@gnu.org>
2592
2593 * language/persian.el: Remove file.
2594 * language/misc-lang.el: Move unique part of persian.el here.
2595 * loadup.el: Remove language/persian.
2596
2597 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2598
2599 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2600
2601 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2602
2603 * progmodes/python.el Fixed defsubst warning.
2604 (python-syntax-context) Rename from python-info-ppss-context.
2605 (python-syntax-context-type): Rename from
2606 python-info-ppss-context-type.
2607 (python-syntax-comment-or-string-p): Rename from
2608 python-info-ppss-comment-or-string-p.
2609
2610 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2611
2612 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2613
2614 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2615
2616 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2617 a defcustom that is quoted with backquote.
2618
2619 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2620 Fix handling of interactive spec when the body uses return.
2621 (math-do-arg-check, math-define-function-body): Use backquote forms.
2622 * calc/calc-ext.el (math-defcache): Likewise.
2623 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2624 * allout.el (allout-new-exposure): Likewise.
2625 * calc/calcalg2.el (math-tracing-integral): Likewise.
2626 * info.el (Info-last-menu-item): Likewise.
2627 * emulation/vip.el (vip-loop): Likewise.
2628 * textmodes/artist.el (artist-funcall): Likewise.
2629 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2630 Construct menu-item directly.
2631
2632 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2633 Don't declare.
2634
2635 2012-08-07 Chong Yidong <cyd@gnu.org>
2636
2637 * simple.el (deactivate-mark): Preserve text properties when
2638 saving the primary selection (Bug#8384).
2639
2640 2012-08-07 Kevin Ryde <user42@zip.com.au>
2641
2642 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2643 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2644 and continue processing (Bug#12110).
2645
2646 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2649 syntax-propertize-function (bug#10095).
2650
2651 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2654 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2655 describe-function-1.
2656 (describe-function-1): Use them. Move compiler macro after sig.
2657 (help-fns--compiler-macro): Use function-get. Assume we're already in
2658 standard-output. Adjust layout to new call order.
2659
2660 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2661 re-binding a symbol that has a symbol-macro (bug#12119).
2662
2663 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2664
2665 * language/persian.el: New file. (Bug#11812)
2666 * loadup.el: Add language/persian.el.
2667
2668 2012-08-06 Chong Yidong <cyd@gnu.org>
2669
2670 * window.el (window--maybe-raise-frame): New function.
2671 (window--display-buffer): Split off from here.
2672 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2673 (display-buffer-pop-up-window, display-buffer-use-some-window):
2674 Obey an inhibit-switch-frame action alist entry.
2675 (display-buffer): Update doc.
2676
2677 * replace.el (occur-after-change-function): Avoid losing focus by
2678 using the inhibit-switch-frame display parameter (Bug#12139).
2679
2680 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2681
2682 Make internal shell process buffer names start with space.
2683 * progmodes/python.el (python-shell-make-comint): Add optional
2684 argument INTERNAL.
2685 (run-python-internal): Use it.
2686 (python-shell-internal-get-or-create-process): Check for new
2687 internal buffer names.
2688
2689 2012-08-06 Glenn Morris <rgm@gnu.org>
2690
2691 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2692 Do less getting and setting of environment variables.
2693
2694 2012-08-05 Chong Yidong <cyd@gnu.org>
2695
2696 * proced.el (proced): Add substitution string to docstring to
2697 trigger autoloading of the proced library on C-h f (Bug#1768).
2698
2699 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2700 Don't show defvars which have no second argument (Bug#8638).
2701
2702 * imenu.el (imenu-generic-expression): Move documentation here
2703 from imenu--generic-function.
2704 (imenu--generic-function): Refer to imenu-generic-expression.
2705
2706 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2707
2708 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2709 indentation declaration.
2710 (viper-loop): Add indentation declaration (Bug#7025).
2711
2712 2012-08-05 Chong Yidong <cyd@gnu.org>
2713
2714 * help-fns.el (describe-variable): Add hyperlink for
2715 directory-local variables files. Improve buffer-local and
2716 permanent-local reporting; suggested by MON KEY (Bug#6644).
2717
2718 * help-mode.el (help-dir-local-var-def): New button type.
2719
2720 * files.el (kill-buffer-hook): Provide a defvar.
2721
2722 2012-08-05 Glenn Morris <rgm@gnu.org>
2723
2724 * eshell/esh-ext.el (eshell/addpath):
2725 Also update eshell-path-env. (Bug#12013)
2726
2727 2012-08-05 Chong Yidong <cyd@gnu.org>
2728
2729 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2730
2731 * fringe.el (fringe-styles): Add docstring.
2732 (fringe--check-mode): New function.
2733 (set-fringe-mode, set-fringe-style): Use it.
2734 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2735
2736 * files.el (set-auto-mode): Fix invalid setq call.
2737
2738 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * isearch.el: Misc simplification; use defstruct.
2741 (isearch-mode-map): Dense maps now work like sparse ones.
2742 (isearch--state): New defstruct.
2743 (isearch-string-state, isearch-message-state, isearch-point-state)
2744 (isearch-success-state, isearch-forward-state)
2745 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2746 (isearch-wrapped-state, isearch-barrier-state)
2747 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2748 replaced by defstruct's accessors.
2749 (isearch--set-state): Rename from isearch-top-state and change
2750 calling convention.
2751 (isearch-push-state): Use new isearch--get-state.
2752 (isearch-toggle-word): Disable regexp when enabling word.
2753 (isearch-message-prefix): Remove unused arg _c-q-hack.
2754 (isearch-message-suffix): Remove unused arg _ellipsis.
2755
2756 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * simple.el (list-processes--refresh): For a server use :host or
2759 :local as the address.
2760 (list-processes): Doc fix.
2761
2762 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2763
2764 * lisp/mpc.el: Support password in host argument.
2765 (mpc--proc-connect): Parse and use new password element.
2766 Set mpc-proc variable instead of returning process.
2767 (mpc-proc): Adjust accordingly.
2768
2769 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2770
2771 * whitespace.el (whitespace-display-mappings): Use Unicode
2772 codepoints, instead of emacs-mule codepoints. See
2773 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2774 for the details.
2775
2776 * files.el (file-truename): Don't skip symlink-chasing part on
2777 windows-nt. Incorporate the resolution of 8+3 short aliases on
2778 Windows into the loop that recursively chases symlinks.
2779 Compare directory and its parent case-insensitively on MS-Windows and
2780 MS-DOS.
2781
2782 2012-08-03 Chong Yidong <cyd@gnu.org>
2783
2784 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2785
2786 * sort.el (sort-regexp-fields): Doc fix.
2787
2788 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2789
2790 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2791 labels regex position point at the expected place.
2792
2793 2012-08-03 MON KEY <monkey@sandpframing.com>
2794
2795 * net/imap.el (imap-interactive-login, imap-authenticate)
2796 (imap-mailbox-lsub, imap-mailbox-list)
2797 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2798 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2799 (imap-parse-response): Doc fix.
2800
2801 2012-08-03 João Távora <joaotavora@gmail.com>
2802
2803 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2804 if sexp scanning does not move point (Bug#5734).
2805
2806 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2807
2808 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2809 Add listings, minted, and ctable packages.
2810 (reftex-label-alist-builtin): Move listings, minted, and ctable
2811 entries before LaTeX.
2812 (reftex-label-alist): Docfix.
2813
2814 2012-08-02 Bastien Guerry <bzg@gnu.org>
2815
2816 * replace.el (occur): Fix docstring (bug#12122).
2817
2818 2012-08-02 Glenn Morris <rgm@gnu.org>
2819
2820 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2821
2822 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2823
2824 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2825 * international/mule-cmds.el: Create
2826 inactivate-current-input-method-function as an obsolete alias for
2827 deactivate-current-input-method-function. See Katsumi Yamaoka in
2828 <http://bugs.gnu.org/10150#46>.
2829
2830 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2831
2832 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2833 of nested `if's.
2834
2835 2012-08-01 Glenn Morris <rgm@gnu.org>
2836
2837 * progmodes/autoconf.el (autoconf-definition-regexp):
2838 Add AH_TEMPLATE, adjust submatch numbering.
2839 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2840 (autoconf-current-defun-function): Update for above change.
2841 (autoconf-current-defun-function): First skip to end of current word.
2842
2843 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2844
2845 * calendar/cal-html.el (cal-html-insert-agenda-days):
2846 Fix typo. (Bug#12018)
2847
2848 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2849
2850 Shell processes: enhancements to startup and CEDET compatibility.
2851 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2852 (python-shell-make-comint): accept-process-output at startup.
2853 (run-python-internal): Set inferior-python-mode-hook to nil.
2854 (python-shell-internal-get-or-create-process): call sit-for.
2855 (python-preoutput-result): Add obsolete alias.
2856 (python-shell-internal-send-string): Use it.
2857 (python-shell-send-setup-code): Remove call to
2858 accept-process-output.
2859
2860 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2861
2862 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2863 (Bug#12108)
2864
2865 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2866
2867 * calc-mode.el (calc-basic-simplification-mode): Rename from
2868 `calc-limited-simplification-mode'.
2869 (calc-alg-simplification-mode): New function.
2870 (calc-set-simplify-mode): Adjust message.
2871
2872 * calc.el (calc-set-mode-line): Adjust mode line display for
2873 basic simplification mode.
2874
2875 * calc-help.el (calc-m-prefix-help): Update help message.
2876
2877 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2878 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2879
2880 2012-07-31 Bastien Guerry <bzg@gnu.org>
2881
2882 * man.el (man): Fix comment. (bug#12101)
2883
2884 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2885
2886 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2887 Don't return a non-nil value when no suitable buffer was found.
2888
2889 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2890
2891 * progmodes/python.el (run-python-internal): Disable font lock for
2892 internal shells.
2893
2894 2012-07-30 Stefan Merten <smerten@oekonux.de>
2895
2896 * rst.el: Silence `checkdoc-ispell'.
2897 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2898 (rst-official-version, rst-official-cvs-rev)
2899 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2900 (rst-mode-map): New key binding.
2901
2902 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2903
2904 Update .PHONY listings in makefiles.
2905 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2906 autoloads, update-subdirs, updates, bzr-update, update-authors,
2907 compile-onefile, compile-calc, backup-compiled-files,
2908 compile-after-backup, compile-one-process, mh-autoloads,
2909 bootstrap-clean, distclean, maintainer-clean.
2910
2911 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2912
2913 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2914 (calc-set-mode-line): Don't display "AlgSimp ".
2915
2916 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2917 (calc-lim-simplify-mode): New function.
2918 (calc-set-simplify-mode): Default to 'alg.
2919 (calc-default-simplify-mode): Make algebraic simplifications
2920 the default.
2921
2922 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2923 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2924
2925 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2926 indicate new simplification modes.
2927
2928 * calc/README: Mention new default simplification mode.
2929
2930 * calc/calc.el (math-normalize-error): New variable.
2931 (math-normalize): Set `math-normalize-error' to t
2932 when there's an error.
2933
2934 * calc/calc-alg.el (math-simplify): Don't simplify when
2935 `math-normalize' returns an error.
2936
2937 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2938
2939 * international/mule-cmds.el (set-locale-environment): Revert last
2940 change, since display-graphic-p returns nil when this function is
2941 called during startup. Instead...
2942
2943 * term/w32console.el (terminal-init-w32console): ...setup the
2944 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2945
2946 2012-07-29 Juri Linkov <juri@jurta.org>
2947
2948 * simple.el (goto-line): Don't display default line number in the
2949 prompt because it should be displayed by `read-number' (bug#9952).
2950 Add the current line number to the defaults of `goto-line' to
2951 allow its easier modification by users with `M-n' (bug#9201).
2952
2953 * subr.el (read-number): Support multiple default values like in
2954 other minibuffer reading functions. Replace `read' with
2955 `string-to-number' for consistency with `number-to-string'.
2956
2957 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2958
2959 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2960 * emulation/viper-init.el (viper-deactivate-input-method-action):
2961 Rename from viper-inactivate-input-method-action.
2962 (viper-deactivate-input-method):
2963 Rename from viper-inactivate-input-method.
2964 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2965 * international/mule-cmds.el (deactivate-input-method):
2966 Rename from inactivate-input-method.
2967 Also run input-method-deactivate-hook.
2968 (deactivate-current-input-method-function):
2969 Rename from inactivate-current-input-method-function.
2970 (input-method-deactivate-hook): New hook.
2971 (input-method-inactivate-hook): Mark obsolete.
2972 (inactivate-input-method): Mark obsolete.
2973
2974 * international/quail.el (quail-activate):
2975 Also run quail-deactivate-hook.
2976 (quail-deactivate): Rename from quail-inactivate.
2977 * international/robin.el (robin-activate):
2978 Also run robin-deactivate-hook.
2979 (robin-deactivate): Rename from robin-inactivate.
2980
2981 2012-07-29 Chong Yidong <cyd@gnu.org>
2982
2983 * simple.el (indicate-copied-region): New function.
2984 (kill-ring-save): Split off from here.
2985
2986 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2987 (kill-rectangle): Set deactivate-mark to t on read-only error.
2988
2989 * register.el (copy-to-register, copy-rectangle-to-register):
2990 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2991 (append-to-register, prepend-to-register):
2992 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2993
2994 * simple.el (async-shell-command-buffer): New defcustom.
2995 (shell-command): Use it. (Bug#4719)
2996
2997 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2998
2999 * international/mule-cmds.el (set-locale-environment): In a
3000 console session on MS-Windows, set up keyboard and terminal
3001 encoding from the OEM codepage, not the ANSI codepage.
3002 (Bug#12055)
3003
3004 2012-07-28 Chong Yidong <cyd@gnu.org>
3005
3006 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3007 gdb-get-location.
3008
3009 2012-07-28 Leo Liu <sdl.web@gmail.com>
3010
3011 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3012 the alist (bug#12029).
3013
3014 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3015
3016 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3017 (compile-always, compile-first)
3018 ($(lisp)/calendar/cal-loaddefs.el)
3019 ($(lisp)/calendar/diary-loaddefs.el)
3020 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3021 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3022 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3023 instead of on update-subdirs.
3024 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3025
3026 2012-07-28 Chong Yidong <cyd@gnu.org>
3027
3028 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3029 directory if vc-deduce-backend returns nil (Bug#7350).
3030
3031 * simple.el (delete-trailing-lines): New option.
3032 (delete-trailing-whitespace): Obey it (Bug#11879).
3033
3034 2012-07-28 David Engster <deng@randomsample.de>
3035
3036 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3037 Explanation of new 'symbol-qnames feature in doc-strings.
3038 (xml-maybe-do-ns): Return expanded names as plain symbols if
3039 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3040 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3041
3042 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3043
3044 Consistent completion in inferior python with emacs -nw.
3045 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3046 binding in inferior-python-mode-map with "\t".
3047 (python-shell-completion-complete-at-point)
3048 (python-completion-complete-at-point): Remove interactive spec.
3049
3050 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3051
3052 * calc/calccomp.el (math-compose-expr): Undo previous change.
3053
3054 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3055
3056 * progmodes/python.el (python-mode-map): Add keybinding for
3057 run-python.
3058 (python-shell-make-comint): Fix pop-to-buffer call.
3059 (run-python): Autoload. New arg SHOW.
3060 (python-shell-get-or-create-process): Do not pop python process
3061 buffer.
3062
3063 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * notifications.el (notifications-on-action-signal)
3066 (notifications-on-closed-signal): Use also the bus address for the map.
3067 (notifications-notify, notifications-close-notification)
3068 (notifications-get-capabilities): Add optional argument BUS.
3069
3070 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3071
3072 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3073 Add support for the lstlisting and minted environments, and for the
3074 ctable macro.
3075 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3076 labels written in keyvals syntax.
3077
3078 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3079
3080 * calc/calccomp.el (math-compose-expr): Use parentheses when
3081 there is a product in the denominator of a fraction.
3082
3083 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3084
3085 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3086 ($(lisp)/calendar/diary-loaddefs.el)
3087 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3088 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3089 Fixes failures in parallel bootstrap because subdirs.el is being
3090 rewritten while the autoload files are built at the same time,
3091 which needs to load subdirs.el.
3092
3093 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3094
3095 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3096 (mouse-drag-line): Don't exit tracking when a switch-frame or
3097 switch-window event occurs (Bug#12006).
3098
3099 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * mouse.el (popup-menu): Fix last change.
3102
3103 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 Autoload from Lisp with more care. Follow aliases when looking for
3106 function properties.
3107 * subr.el (autoloadp): New function.
3108 (symbol-file): Use it.
3109 (function-get): New function.
3110 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3111 autoload-do-load.
3112 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3113 (lisp-indent-function):
3114 * emacs-lisp/gv.el (gv-get):
3115 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3116 * emacs-lisp/byte-opt.el (byte-optimize-form):
3117 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3118 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3119 Use function-get.
3120 * emacs-lisp/cl.el: Don't propagate function properties any more.
3121
3122 * speedbar.el (speedbar-add-localized-speedbar-support):
3123 * emacs-lisp/disass.el (disassemble-internal):
3124 * desktop.el (desktop-load-file):
3125 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3126 (describe-function-1):
3127 * emacs-lisp/find-func.el (find-function-noselect):
3128 * emacs-lisp/elp.el (elp-instrument-function):
3129 * emacs-lisp/advice.el (ad-has-proper-definition):
3130 * apropos.el (apropos-safe-documentation, apropos-macrop):
3131 * emacs-lisp/debug.el (debug-on-entry):
3132 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3133 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3134 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3135
3136 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3137
3138 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3139 function, not an obsolete variable (Bug#12046).
3140
3141 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3142
3143 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3144
3145 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3146
3147 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3148 window only if it is still live (Bug#12034).
3149
3150 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3151
3152 * subr.el (redirect-frame-focus): Add advertised calling
3153 convention (Bug#12030).
3154
3155 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3156
3157 Prefer typical American spelling for "acknowledgment".
3158 * vc/add-log.el (change-log-acknowledgment): Rename from
3159 change-log-acknowledgement, with an alias for the old name.
3160
3161 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3162
3163 * calc-alg.el (math-simplify-divide): Don't cross multiply
3164 in an equation when the lhs is a variable.
3165
3166 2012-07-24 Julien Danjou <julien@danjou.info>
3167
3168 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3169 Remove, unused.
3170
3171 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3172
3173 * startup.el (command-line): Don't display an empty user name in
3174 the error message about non-existent home directory, when
3175 init-file-user was set to an empty string. See
3176 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3177 for the details and context.
3178
3179 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3180
3181 * ses.el (ses-cell-formula-aset): New macro.
3182 (ses-cell-references-aset): New macro.
3183 (ses-cell-p): New function.
3184 (ses-rename-cell): Do no longer rely on complex operations like
3185 ses-cell-set-formula or ses-set-cell to change the cell and handle
3186 the undo at the same time, but rather use lower level new macros
3187 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3188 the undo directly. Refresh the mode line.
3189
3190 2012-07-21 Leo Liu <sdl.web@gmail.com>
3191
3192 * progmodes/cc-cmds.el (c-defun-name):
3193 Use match-string-no-properties instead for consistency.
3194
3195 2012-07-20 Leo Liu <sdl.web@gmail.com>
3196
3197 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3198 (Bug#7879)
3199
3200 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3201
3202 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3205 * progmodes/bug-reference.el, misearch.el: Provide themselves
3206 (bug#11915).
3207
3208 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3209 of narrowed buffer (bug#11966).
3210
3211 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3212
3213 * ses.el (ses-rename-cell): Set new name also in reference list of
3214 cells of which the renamed cell depends.
3215
3216 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3217
3218 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3219 to check whether menu-bar is shown or not. If not shown,
3220 show the menu-bar as a popup menu instead of using tmm.
3221 * mouse.el (popup-menu): Accept `point' as `position' argument.
3222
3223 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3226 up inside string symbol literal (bug#11923).
3227
3228 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3229
3230 * startup.el (fancy-startup-text): Read the whole tutorial, not
3231 just its first 256 bytes. Prevents gibberish in display of the
3232 tutorial title.
3233
3234 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3235
3236 Drop idle buffer compaction due to an absence of the
3237 proved efficiency.
3238 * compact.el: Remove.
3239
3240 2012-07-19 Sam Steingold <sds@gnu.org>
3241
3242 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3243 vc-bzr-pull & vc-bzr-merge-branch.
3244 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3245 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3246 for consistency with compilation-error-regexp-alist.
3247 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3248 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3249 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3250 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3251
3252 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * emacs-lisp/chart.el: Use lexical-binding.
3255 (chart-emacs-storage): Don't hardcode the list of entries.
3256
3257 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3258
3259 Next round of tweaks caused by Fgarbage_collect changes.
3260 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3261
3262 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3263
3264 Compact buffers when idle.
3265 * compact.el: New file.
3266
3267 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * subr.el (eventp): Presume that if it looks vaguely like an event,
3270 it's an event (bug#10190).
3271
3272 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3273
3274 Enhancements to ppss related code (thanks Stefan).
3275 * progmodes/python.el (python-indent-context)
3276 (python-indent-calculate-indentation, python-indent-dedent-line)
3277 (python-indent-electric-colon, python-nav-forward-block)
3278 (python-mode-abbrev-table)
3279 (python-info-assignment-continuation-line-p): Simplify checks
3280 for ppss context.
3281 (python-info-continuation-line-p): Cleanup.
3282 (python-info-ppss-context): Do not catch 'quote.
3283 (python-info-ppss-context-type)
3284 (python-info-ppss-comment-or-string-p): Simplify.
3285
3286 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3287
3288 * progmodes/python.el: Enhancements to eldoc support.
3289 (python-info-current-symbol): New function.
3290 (python-eldoc-at-point): Use python-info-current-symbol.
3291 (python-info-current-defun): Fix cornercase on first defun scan.
3292 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3293 and signal error when no inferior python process is available.
3294
3295 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3296
3297 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3298 assume it's always t.
3299 (vc-git-registered): Remove caching, the function is only called
3300 once.
3301 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3302
3303 2012-07-18 Chong Yidong <cyd@gnu.org>
3304
3305 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3306
3307 * simple.el (count-words): Report on narrowing (Bug#9959).
3308
3309 * bindings.el: Bind M-= to count-words.
3310
3311 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3312
3313 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3314
3315 * progmodes/sh-script.el (sh-imenu-generic-expression):
3316 Capture a function with `function' keyword and without parentheses
3317 like "function FOO" (bug#11856).
3318
3319 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3320
3321 * window.el (split-window-sensibly): Make WINDOW argument
3322 optional.
3323
3324 2012-07-18 Chong Yidong <cyd@gnu.org>
3325
3326 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3327
3328 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3329 and make C-x 8 RET exit isearch (Bug#11439).
3330
3331 * international/iso-transl.el: Move isearch-mode-map key
3332 definitions to isearch.el.
3333
3334 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3337 (eieio-defclass): Use gv-define-setter when possible.
3338
3339 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3340
3341 Reflect recent changes in Fgarbage_collect.
3342 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3343 reflect new format of data returned by Fgarbage_collect.
3344
3345 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3346
3347 New utility functions + python-info-ppss-context fix (Bug#11910).
3348 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3349 (python-info-ppss-comment-or-string-p): New functions.
3350 (python-info-ppss-context): Small fix for string check.
3351
3352 2012-07-17 Juri Linkov <juri@jurta.org>
3353
3354 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3355 (dired-do-async-shell-command): Don't add `*' at the end of the
3356 command (Bug#11815).
3357 (dired-do-shell-command): Doc fix.
3358 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3359 Join the individual commands using either "&" or ";" as the
3360 separator depending on the values of these trailing characters.
3361 At the end re-add the trailing "&". (Bug#10598)
3362
3363 * simple.el (async-shell-command): Sync the interactive spec with
3364 `shell-command'. Doc fix.
3365 (shell-command): Doc fix.
3366
3367 2012-07-17 Juri Linkov <juri@jurta.org>
3368
3369 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3370
3371 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3372
3373 Final renames and doc fixes for movement commands (bug#11899).
3374 * progmodes/python.el (python-nav-beginning-of-statement):
3375 Rename from python-nav-statement-start.
3376 (python-nav-end-of-statement): Rename from
3377 python-nav-statement-end.
3378 (python-nav-beginning-of-block): Rename from
3379 python-nav-block-start.
3380 (python-nav-end-of-block): Rename from python-nav-block-end.
3381
3382 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3383
3384 * progmodes/python.el (python-shell-send-string-no-output):
3385 Allow accept-process-output to quit, keeping shell process ready for
3386 future interactions (Bug#11868).
3387
3388 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3391
3392 * emacs-lisp/elint.el (elint-find-args-in-code):
3393 Use help-function-arglist, so as to handle lexical byte-code.
3394
3395 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3396 change (bug#11826).
3397
3398 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3401 Avoid spuriously marking the buffer as modified because of c-is-sws.
3402
3403 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3404 as not-a-comment (bug#11946).
3405
3406 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3407 for uninterned vars.
3408
3409 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3410 Use read-event since we don't really want to read chars but bytes.
3411
3412 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3413 $$..$$ but also $..$ using regexps (bug#11953).
3414 Use tex-verbatim for \url and \path.
3415 (tex-font-lock-keywords): Define as defconst like the others.
3416 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3417
3418 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3419
3420 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3421 alias for insert-char.
3422
3423 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3424
3425 * progmodes/python.el: Simplified imenu implementation.
3426 (python-nav-jump-to-defun): Remove command.
3427 (python-mode-map): Use `imenu' instead.
3428 (python-nav-list-defun-positions-cache)
3429 (python-imenu-include-defun-type, python-imenu-make-tree)
3430 (python-imenu-subtree-root-label, python-imenu-index-alist):
3431 Remove vars.
3432 (python-nav-list-defun-positions, python-nav-read-defun)
3433 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3434 (python-imenu-make-tree, python-imenu-create-index):
3435 Remove functions.
3436 (python-mode): Update to interact with imenu by setting
3437 `imenu-extract-index-name-function' only.
3438
3439 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3440
3441 * progmodes/python.el: Enhancements to navigation commands.
3442 (python-nav-backward-sentence)
3443 (python-nav-forward-sentence): Remove.
3444 (python-nav-backward-statement, python-nav-forward-statement)
3445 (python-nav-statement-start, python-nav-statement-end)
3446 (python-nav-backward-block, python-nav-forward-block)
3447 (python-nav-block-start, python-nav-block-end)
3448 (python-nav-forward-sexp-function)
3449 (python-info-current-line-comment-p)
3450 (python-info-current-line-empty-p): New functions.
3451 (python-indent-context): Use `python-nav-statement-start'.
3452
3453 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3454
3455 * eshell/em-ls.el (eshell/ls): Use `apply'.
3456
3457 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3458 multi-hops, instead of Tramp internals.
3459
3460 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3461
3462 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3463 when F1 and F2 are located on different hosts.
3464
3465 2012-07-14 Chong Yidong <cyd@gnu.org>
3466
3467 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3468 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3469 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3470 (xterm-mouse--read-event-sequence-1000)
3471 (xterm-mouse--read-event-sequence-1006): New functions. For old
3472 mouse protocol, handle M-mouse-X events correctly.
3473 (xterm-mouse-event): New arg specifying mouse protocol.
3474 (turn-on-xterm-mouse-tracking-on-terminal)
3475 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3476 sequence to toggle extended coordinates on newer XTerms.
3477 This appears to be harmless on terminals which do not support this.
3478
3479 2012-07-14 Leo Liu <sdl.web@gmail.com>
3480
3481 Add fringe bitmap indicators for flymake. (Bug#11253)
3482 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3483 (flymake-make-overlay): New arg BITMAP.
3484 (flymake-error-bitmap, flymake-warning-bitmap)
3485 (flymake-fringe-indicator-position): New user variables.
3486
3487 * fringe.el: New bitmap exclamation-mark.
3488
3489 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3490
3491 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3492 also (Bug#7879).
3493
3494 2012-07-14 Chong Yidong <cyd@gnu.org>
3495
3496 * electric.el (electric-pair-post-self-insert-function): Fix pair
3497 insertion in empty-region case (Bug#11520).
3498
3499 2012-07-14 Chong Yidong <cyd@gnu.org>
3500
3501 * bindings.el: Consolidate ctl-x-r-map bindings.
3502 Bind copy-rectangle-as-kill to C-x r w.
3503
3504 * rect.el, register.el: Move bindings to bindings.el.
3505
3506 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3507
3508 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3509
3510 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3511
3512 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3513
3514 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3515
3516 * bindings.el (top): Use `mapc' instead of `mapcar'.
3517
3518 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3519
3520 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * progmodes/sql.el (sql-comint): Suppress the check for program on
3523 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3524 (Bug#11908)
3525
3526 2012-07-13 Chong Yidong <cyd@gnu.org>
3527
3528 * bindings.el: Assign a non-nil permanent-local property to
3529 per-buffer variables which lack a default value (Bug#11930).
3530
3531 * help-fns.el (describe-variable): In the "automatically becomes
3532 local" notice, take note of permanent-local variables.
3533
3534 2012-07-13 Chong Yidong <cyd@gnu.org>
3535
3536 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3537 to allow printing the message when called from Lisp.
3538
3539 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3540 Remove toggle-read-only.
3541
3542 * bs.el (bs-toggle-readonly):
3543 * buff-menu.el (Buffer-menu-toggle-read-only):
3544 Remove with-no-warnings around toggle-read-only.
3545
3546 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3547 Remove with-no-warnings around toggle-read-only.
3548 (ffap-read-only, ffap-read-only-other-window)
3549 (ffap-read-only-other-frame): Callers changed.
3550
3551 * help-mode.el: Don't require view package.
3552 (help-mode-finish): Set buffer-read-only instead of calling
3553 toggle-read-only.
3554
3555 * bindings.el (mode-line-toggle-read-only):
3556 * dired.el (dired-toggle-read-only):
3557 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3558 with non-nil second arg.
3559
3560 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3561 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3562 directly.
3563
3564 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3565
3566 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3567 not incf.
3568
3569 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 More CL cleanups and reduction of use of cl.el.
3572 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3573 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3574 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3575 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3576 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3577 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3578 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3579 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3580 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3581 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3582 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3583 * eshell/em-cmpl.el, eshell/em-banner.el:
3584 * calendar/parse-time.el: Use cl-lib.
3585 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3586 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3587 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3588 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3589 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3590 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3591 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3592 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3593 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3594 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3595 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3596 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3597 `lambda' rather than with `quote'.
3598 (eshell-do-opt): Adjust accordingly.
3599 (eshell-process-option): Simplify.
3600 * eshell/esh-var.el:
3601 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3602 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3603 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3604 to `pcase--dontcare'.
3605 * emacs-lisp/cl.el (labels): Mark obsolete.
3606 (cl--letf, letf): Move to cl-lib.
3607 (cl--letf*, letf*): Remove.
3608 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3609 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3610 (cl-progv): Rewrite.
3611 (cl--letf, cl-letf): Move from cl.el.
3612 (cl-letf*): New macro.
3613 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3614
3615 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3616
3617 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3618
3619 2012-07-11 Chong Yidong <cyd@gnu.org>
3620
3621 * vc/log-edit.el (log-edit-vc-backend): New variable.
3622 (log-edit): Doc fix.
3623
3624 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3625 argument of log-edit to set up all local variables.
3626 (vc-start-logentry): New optional arg specifying VC backend.
3627
3628 * vc/vc.el (vc-checkin): Use it.
3629 (vc-deduce-fileset): Handle Log Edit buffers.
3630 (vc-diff): Make first argument optional too.
3631
3632 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3633
3634 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3635
3636 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3637 command, just in case. The function is not needed anymore.
3638 (eshell-external-command): Do not call `eshell-remote-command'.
3639
3640 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3641
3642 Reduce use of (require 'cl).
3643 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3644 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3645 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3646 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3647 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3648 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3649 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3650 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3651 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3652 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3653 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3654 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3655 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3656 (byte-compile-unfold-bcf, byte-compile-check-variable):
3657 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3658 (byte-compile-nilconstp):
3659 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3660 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3661
3662 * emacs-lisp/gv.el (cond): Make it a valid place.
3663 (if): Simplify slightly.
3664
3665 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3666 (pcase--self-quoting-p): New function.
3667 (pcase--u1): Use it.
3668
3669 2012-07-10 Glenn Morris <rgm@gnu.org>
3670
3671 * emacs-lisp/authors.el (authors-fixed-entries):
3672 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3673
3674 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3675
3676 Rename configure.in to configure.ac (Bug#11603).
3677 * emacs-lisp/authors.el (authors-canonical-file-name):
3678 * progmodes/autoconf.el (autoconf-mode):
3679 Prefer configure.ac to configure.in.
3680
3681 2012-07-08 Chong Yidong <cyd@gnu.org>
3682
3683 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3684 Implement the mouse-1-click-follows-link handling properly.
3685
3686 * info.el (Info-link-keymap): Use follow-link mechanism for
3687 header-line links (Bug#374).
3688
3689 * simple.el (deactivate-mark): Do not set the primary selection
3690 if another program has acquired it (Bug#11772).
3691
3692 2012-07-07 Kevin Ryde <user42@zip.com.au>
3693
3694 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3695 (woman-decode-region): Replace escaped-escapes without destroying
3696 bold or underline (Bug#11552).
3697 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3698
3699 2012-07-07 Chong Yidong <cyd@gnu.org>
3700
3701 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3702 (interprogram-cut-function, interprogram-paste-function):
3703 Mention that we typically mean the clipboard.
3704
3705 2012-07-06 Glenn Morris <rgm@gnu.org>
3706
3707 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3708
3709 * files.el (toggle-read-only): Restrict message to interactive use.
3710
3711 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3712
3713 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3714
3715 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3716
3717 2012-07-06 Glenn Morris <rgm@gnu.org>
3718
3719 * Makefile.in (compile-one-process): Rename from "recompile".
3720
3721 * Makefile.in (bzr-update): "compile" is the same as "recompile
3722 autoloads", but parallelizable, so use that instead.
3723
3724 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3725
3726 * window.el (quit-window): Always restore window height when
3727 it's saved in quit-restore parameter (Bug#11810).
3728
3729 2012-07-06 Glenn Morris <rgm@gnu.org>
3730
3731 * simple.el (kill-whole-line): Doc tweak.
3732
3733 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3734
3735 * files.el (file-relative-name): Compare file names
3736 case-insensitively if on MS-Windows or MS-DOS, or if
3737 read-file-name-completion-ignore-case is non-nil. Don't use
3738 case-fold-search for this purpose. (Bug#11827)
3739
3740 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * calendar/cal-dst.el (calendar-current-time-zone):
3743 Return calendar-current-time-zone-cache if non-nil.
3744
3745 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3746 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3747
3748 * calendar/cal-dst.el (calendar-current-time-zone):
3749 Return calendar-current-time-zone-cache if non-nil.
3750
3751 2012-07-06 Glenn Morris <rgm@gnu.org>
3752
3753 * Makefile.in (cvs-update): Remove old alias.
3754
3755 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3756
3757 Sync with Tramp 2.2.6-pre.
3758
3759 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3760 compatible declaration.
3761
3762 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3763 Protect `list-load-path-shadows' call.
3764
3765 * net/tramp-compat.el (top): Require packages, which aren't
3766 autoloaded anymore for XEmacs. Protect call of
3767 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3768 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3769 it hurts at least for SXEmacs.
3770 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3771 standard-value for `temporary-file-directory'.
3772
3773 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3774 Redirect stderr to /dev/null.
3775 (tramp-sh-handle-write-region): uid and gid can be floats.
3776 Reported by Russell Sim <russell.sim@gmail.com>.
3777 (tramp-sh-handle-vc-registered): Hide errors.
3778 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3779 and `start-file-process'.
3780 (tramp-maybe-open-connection): Check also whether `non-essential'
3781 is bound.
3782
3783 2012-07-04 Chong Yidong <cyd@gnu.org>
3784
3785 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3786 (xml-parse-tag): Likewise, and avoid changing entity tables.
3787 (xml-syntax-table): Define from scratch, making sure not to give
3788 x2000 and other Unicode spaces whitespace syntax, since those are
3789 not spaces in XML.
3790 (xml-parse-fragment): Delete unused function.
3791 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3792 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3793 (xml-entity-ref, xml-pe-reference-re)
3794 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3795 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3796 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3797 (xml-entity-value-re): Use syntax references in regexps where
3798 possible; no need to define inside a let-binding.
3799 (xml-parse-dtd): Use xml-pe-reference-re.
3800 (xml-entity-or-char-ref-re): New defconst.
3801 (xml-parse-string, xml-substitute-special): Use it.
3802
3803 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3806 (find-file--read-only): New function.
3807 (find-file-read-only, find-file-read-only-other-window)
3808 (find-file-read-only-other-frame): Use it.
3809 (insert-file-contents-literally): Don't `fset'.
3810 (get-free-disk-space): Use locate-dominating-file.
3811
3812 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3813 function is already compiled.
3814
3815 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3816
3817 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3820 files on the same host.
3821
3822 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3823
3824 * help-fns.el (describe-function-1): Only call
3825 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3826
3827 2012-07-03 Chong Yidong <cyd@gnu.org>
3828
3829 * xml.el: Protect parser against XML bombs.
3830 (xml-entity-expansion-limit): New variable.
3831 (xml-parse-string, xml-substitute-special): Use it.
3832 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3833
3834 2012-07-03 Glenn Morris <rgm@gnu.org>
3835
3836 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3837 Allow linking to specific messages in debbugs reports (eg 123#5).
3838
3839 2012-07-02 Chong Yidong <cyd@gnu.org>
3840
3841 * xml.el: Fix entity and character reference expansion, allowing
3842 them to expand into markup as per XML spec.
3843 (xml-default-ns): New variable.
3844 (xml-entity-alist): Use XML spec definitions for lt and amp.
3845 (xml-parse-region): Make first two arguments optional.
3846 Discard text properties.
3847 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3848 All callers changed.
3849 (xml-parse-tag): Call xml-parse-tag-1. For backward
3850 compatibility, this function should not modify buffer contents.
3851 (xml-parse-tag-1): Fix opening-tag regexp.
3852 (xml-parse-string): Rewrite, handling entity and character
3853 references properly.
3854 (xml--entity-replacement-text): Signal an error if a parameter
3855 entity is undefined.
3856
3857 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * comint.el (comint-output-filter): Filter out repeated prompts.
3860
3861 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3862 and file-name-absolute-p.
3863 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3864 internal calls.
3865
3866 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3867
3868 Spelling fixes.
3869 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3870 Rename from byte-compile--refiy-function. All uses changed.
3871
3872 2012-07-01 Chong Yidong <cyd@gnu.org>
3873
3874 * xml.el (xml--parse-buffer): New function. Move most of
3875 xml-parse-region here.
3876 (xml-parse-region): Copy region into a temporary buffer, since
3877 parameter entity substitution requires changing buffer contents.
3878 Use xml--parse-buffer.
3879 (xml-parse-file): Use xml--parse-buffer.
3880 (xml-parse-dtd): Make parameter entity substitution work right.
3881 Use proper regexps for ELEMENT declarations (Bug#7172).
3882
3883 2012-06-30 Glenn Morris <rgm@gnu.org>
3884
3885 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3886
3887 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3888 Remove outdated and unnecessary dbus declarations.
3889
3890 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3891
3892 * emacs-lisp/timer.el (timer-until): Subtract results of
3893 float-time, instead of taking float-time of the result of
3894 time-subtract, since float-time signals an error for negative time
3895 arguments.
3896
3897 2012-06-30 Chong Yidong <cyd@gnu.org>
3898
3899 * xml.el (xml-*-re): Convert defvars into defconsts, and
3900 eval-and-compile them so eval-and-compile works on derivatives.
3901 (xml--entity-replacement-text): Use eval-and-comple.
3902
3903 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * vc/vc-git.el (vc-git-registered): Use cache property
3906 `git-registered'.
3907 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3908 `vc-git-working-revision' in order to benefit from the cache.
3909 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3910
3911 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3912
3913 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3914 removed (likely outside Emacs). (Bug#11757)
3915
3916 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * emacs-lisp/cl-lib.el: Require macroexp.
3919
3920 2012-06-30 Chong Yidong <cyd@gnu.org>
3921
3922 * xml.el: Implement XML parameter entities.
3923 (xml-parameter-entity-alist): New variable.
3924 (xml-parse-region, xml-parse-fragment): Preserve previous values
3925 of xml-entity-alist and xml-parameter-entity-alist, so that
3926 repeated calls on different documents do not change them.
3927 (xml-parse-tag): Fix doctype regexp.
3928 (xml--entity-replacement-text): New function.
3929 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3930 properly requires url retrieval which is unimplemented.
3931 (xml-escape-string): Doc fix.
3932
3933 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3936
3937 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3938
3939 * fringe.el (fringe-mode): Doc fix.
3940
3941 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3942
3943 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3944 is non-nil.
3945 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3946 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3947
3948 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3949
3950 * calendar/cal-dst.el (calendar-current-time-zone):
3951 Return calendar-current-time-zone-cache if non-nil.
3952
3953 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3954
3955 * progmodes/which-func.el (which-func-format):
3956 Add mouse-face. (Bug#11698)
3957
3958 2012-06-29 Leo Liu <sdl.web@gmail.com>
3959
3960 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3961
3962 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * minibuffer.el (minibuffer-confirm-exit-commands):
3965 Add completion-at-point (bug#11725).
3966
3967 2012-06-29 Glenn Morris <rgm@gnu.org>
3968
3969 * progmodes/f90.el (f90-font-lock-keywords-2):
3970 Add some preprocessor elements. (Bug#10499)
3971
3972 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3975 Use syntax-propertize (bug#11739).
3976
3977 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3978
3979 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3980
3981 2012-06-28 Julien Danjou <julien@danjou.info>
3982
3983 * term.el (term-handle-colors-array): Use a set of new faces to
3984 color the terminal. Also uses :inverse-video property.
3985 (term-default-fg-color): Set to nil by default, deprecate in favor
3986 of `term-face'.
3987 (term-default-bg-color): Set to nil by default, deprecate in favor
3988 of `term-face'.
3989 (term-current-face): Use `term-face' by default.
3990 (term-bold-attribute): Variable deleted.
3991
3992 2012-06-28 Glenn Morris <rgm@gnu.org>
3993
3994 * simple.el (completion-list-mode-finish):
3995 Don't use toggle-read-only. (Since completion-list-mode has
3996 a special mode-class, it wasn't doing anything extra anyway.)
3997
3998 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3999
4000 Make inlining of other-mode interpreted functions work (bug#11799).
4001 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4002 (byte-compile): Use it to fix compilation of lexical-binding closures.
4003 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4004 function, if needed.
4005
4006 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * help-mode.el (help-make-xrefs): Don't just withstand
4009 cyclic-variable-indirection but any error in documentation-property.
4010
4011 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4012 memory use.
4013 * bindings.el (bindings--define-key): New function.
4014 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4015 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4016 * bindings.el: Use it to purecopy define-key bindings.
4017
4018 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4019
4020 * emacs-lisp/cl.el (flet): Mark obsolete.
4021 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4022 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4023 * progmodes/js.el (js-c-fill-paragraph):
4024 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4025 (ebrowse-switch-member-buffer-to-derived-class):
4026 * play/5x5.el (5x5-solver): Use cl-flet.
4027
4028 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4029 (cl--symbol-function): New macro.
4030 (cl--letf, cl--letf*): Use it.
4031
4032 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4033 Strip "toggle-" if any.
4034
4035 2012-06-27 Glenn Morris <rgm@gnu.org>
4036
4037 * info.el (Info-default-directory-list): Move here from paths.el.
4038 * paths.el: Remove file, which is now empty.
4039 * loadup.el: No longer load "paths".
4040
4041 * custom.el (custom-initialize-delay): Doc fix.
4042
4043 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4044 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4045 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4046 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4047 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4048 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4049 * eshell/eshell.el (eshell-defgroup): Remove alias.
4050
4051 2012-06-27 Chong Yidong <cyd@gnu.org>
4052
4053 * help.el (help-enable-auto-load): New variable.
4054
4055 * help-fns.el (help-fns--autoloaded-p): New function.
4056 (describe-function-1): Refer to a function as "autoloaded" if it
4057 was autoloaded at any time in the past. Perform autoloading if
4058 help-enable-auto-load is non-nil.
4059
4060 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4061
4062 * makefile.w32-in (compile, compile-always): Depend on
4063 update-subdirs, not on subdirs.el. Otherwise, several different
4064 sub-targets of 'bootstrap' running in parallel could
4065 simultaneously write to subdirs.el, producing a garbled file.
4066
4067 2012-06-26 Sam Steingold <sds@gnu.org>
4068
4069 * files.el (file-name-base): New convenience function.
4070 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4071 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4072 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4073 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4074 * textmodes/ispell.el, textmodes/reftex-ref.el:
4075 * textmodes/tex-mode.el: Use it.
4076 Did not touch cedet and org because they are maintained elsewhere.
4077
4078 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4079
4080 * calendar/calendar.el (calendar-exit): Don't try to delete or
4081 iconify last frame. See:
4082 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4083
4084 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4085
4086 * server.el (server-process-filter): Remember dir in the
4087 process's `server-client-directory' properties.
4088
4089 2012-06-24 Chong Yidong <cyd@gnu.org>
4090
4091 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4092 non-tag text.
4093
4094 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4095
4096 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4097
4098 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * help-fns.el (describe-variable): Don't croak when doc is not found.
4101 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4102 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4103 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4104 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4105 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4106 ((lambda ..) ..).
4107 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4108
4109 2012-06-23 Chong Yidong <cyd@gnu.org>
4110
4111 * info.el (Info-mouse-follow-link): Accept symbol values of
4112 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4113 (Info-fontify-node): Use Info-link-keymap for all navigation
4114 buttons, with link-args property to perform the desired action.
4115 (Info-link-keymap): Doc fix.
4116 (Info-next-link-keymap, Info-prev-link-keymap)
4117 (Info-up-link-keymap): Delete now-unused keymaps.
4118
4119 2012-06-23 Chong Yidong <cyd@gnu.org>
4120
4121 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4122
4123 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4124 system abbrevs.
4125
4126 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4127
4128 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4129
4130 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4131 (bug#11719).
4132
4133 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4134 the requote function doesn't work properly (bug#11714).
4135
4136 2012-06-23 Glenn Morris <rgm@gnu.org>
4137
4138 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4139
4140 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 Further GV/CL cleanups.
4143 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4144 gv-expander.
4145 (gv--defun-declaration): New function.
4146 (defun-declarations-alist): Use it.
4147 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4148 (gv-place): Autoload.
4149 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4150 original definition of dotimes and dolist.
4151 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4152 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4153 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4154 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4155 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4156 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4157 to the function's definition.
4158 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4159 * window.el:
4160 * files.el:
4161 * faces.el:
4162 * env.el: Don't use CL.
4163
4164 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4165
4166 Support higher-resolution time stamps (Bug#9000).
4167
4168 * calendar/time-date.el (with-decoded-time-value): New arg
4169 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4170 (encode-time-value): New optional arg PICO. New type 3.
4171 (time-to-seconds) [!float-time]: Support the new picoseconds
4172 component if it's used.
4173 (seconds-to-time, time-subtract, time-add):
4174 Support ps-resolution time stamps as well.
4175
4176 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4177 (timerp): Timer vectors now have length 9, not 8.
4178 (timer--time): Support new-style (4-part) time stamps.
4179 (timer-next-integral-multiple-of-time): Time stamps now have
4180 picosecond resolution, so take a bit more care about rounding.
4181 (timer-relative-time, timer-inc-time): New optional arg psecs.
4182 (timer-set-time-with-usecs): Set psecs to 0.
4183 (timer--activate): Check psecs component, too.
4184
4185 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4186
4187 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4190 Move the non-essential binding to the post/pre-command-hook where it is
4191 more obviously correct.
4192
4193 * subr.el (read-passwd): Don't use a history at all.
4194 * savehist.el (savehist-save): Remove password saved accidentally
4195 because of the above bug.
4196
4197 2012-06-22 Bastien Guerry <bzg@gnu.org>
4198
4199 * files.el (toggle-read-only): Display a message telling whether
4200 the buffer is read-only or not (bug#11726).
4201
4202 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * emacs-lisp/gv.el: New file.
4205 * subr.el (push, pop): Extend to generalized variables.
4206 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4207 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4208 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4209 gv-define-simple-setter, and gv-define-expander.
4210 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4211 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4212 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4213 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4214 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4215 gv-letplace.
4216 (cl-defstruct): Don't define setf-method any more.
4217 * emacs-lisp/cl.el (flet): Don't autoload.
4218 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4219 (define-setf-expander, defsetf, define-modify-macro)
4220 (cl-struct-setf-expander): Move from cl-lib.el.
4221 * emacs-lisp/syntax.el:
4222 * emacs-lisp/ewoc.el:
4223 * emacs-lisp/smie.el:
4224 * emacs-lisp/cconv.el:
4225 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4226 (timer--time): Use gv-define-simple-setter.
4227 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4228 to avoid coding-system problems in subr.el. Adjust all users.
4229 (macroexp--maxsize, macroexp-small-p): New functions.
4230 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4231 * scroll-bar.el (scroll-bar-mode):
4232 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4233 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4234 * winner.el (winner-configuration, winner-make-point-alist)
4235 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4236 * files.el (locate-file-completion-table): Avoid list*.
4237
4238 2012-06-22 Chong Yidong <cyd@gnu.org>
4239
4240 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4241 (dired-create-files): Doc fix (Bug#11329).
4242 (dired-do-copy): Doc fix (Bug#11334).
4243 (dired-mark-read-string): Doc fix (Bug#11553).
4244
4245 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4246 Doc fix (Bug#11326).
4247 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4248 (dired-dwim-target): Doc fix.
4249
4250 * wdired.el (wdired-mode): Doc fix.
4251
4252 2012-06-22 Glenn Morris <rgm@gnu.org>
4253
4254 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4255 (pcmpl-rpm-cache-stamp-file): New constant.
4256 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4257 (pcmpl-rpm-packages): Optionally cache list of packages.
4258
4259 * pcmpl-rpm.el (pcmpl-rpm): New group.
4260 (pcmpl-rpm-query-options): New option.
4261 (pcmpl-rpm-packages): No need to inline it.
4262 Use pcmpl-rpm-query-options.
4263
4264 * calendar/calendar.el (calendar-in-read-only-buffer):
4265 Avoid some needless mode changes.
4266
4267 2012-06-21 Chong Yidong <cyd@gnu.org>
4268
4269 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4270 (desktop-path): Remove . from the default value (Bug#10977).
4271 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4272
4273 2012-06-20 Chong Yidong <cyd@gnu.org>
4274
4275 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4276
4277 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4278
4279 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4280 (bug#11201).
4281
4282 2012-06-20 Chong Yidong <cyd@gnu.org>
4283
4284 * term.el (term-window-width): Handle the case of a missing right
4285 fringe (Bug#8837).
4286 (term-check-size): Use window-text-height (Bug#5445).
4287 (term-mode): Use define-derived-mode. Minor cleanups.
4288 Set font-lock-defaults (Bug#7692).
4289 (term-move-columns, term-insert-char, term-emulate-terminal)
4290 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4291
4292 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4293
4294 * net/ange-ftp.el (ange-ftp-get-passwd):
4295 Bind `enable-recursive-minibuffers'.
4296 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4297
4298 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4299
4300 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4301
4302 2012-06-19 Glenn Morris <rgm@gnu.org>
4303
4304 * progmodes/python.el (python-mode): Derive from prog-mode.
4305
4306 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4307
4308 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4309 (edt-user-menu-bar-update-buffers): New functions.
4310 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4311
4312 2012-06-19 Chong Yidong <cyd@gnu.org>
4313
4314 * subr.el (with-selected-window): Preserve the selected window's
4315 terminal's top-frame (Bug#4702).
4316
4317 * window.el (save-selected-window): Likewise.
4318
4319 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * progmodes/python.el (python-rx-constituents): Move backquote.
4322 (python-skeleton-define, python-define-auxiliary-skeleton):
4323 Use `declare'.
4324
4325 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4326
4327 * minibuffer.el (read-file-name-default): Revert the patch from
4328 2012-06-17.
4329
4330 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4333 (pcase--u1, pcase--q1): Don't use apply-partially.
4334
4335 2012-06-18 Glenn Morris <rgm@gnu.org>
4336
4337 * progmodes/python.el (python-proc, python-buffer)
4338 (python-send-receive, python-send-string): Fix obsolete versions.
4339
4340 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4341
4342 * window.el (special-display-p): Completely remove stringp
4343 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4344
4345 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4346
4347 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4348
4349 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4350
4351 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4352 * net/tramp-sh.el (tramp-maybe-open-connection):
4353 Throw if `non-essential' is non-nil.
4354
4355 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4356
4357 * window.el (special-display-p): Signal an error if BUFFER-NAME
4358 is not a string (Bug#11713).
4359
4360 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4361
4362 * progmodes/python.el (python-info-beginning-of-backslash):
4363 Rename from python-info-beginning-of-backlash, as a spelling fix.
4364
4365 2012-06-17 Chong Yidong <cyd@gnu.org>
4366
4367 * term.el (term-emulate-terminal): If term-check-size is called,
4368 move point to the process mark without resetting point (Bug#4635).
4369
4370 2012-06-17 Glenn Morris <rgm@gnu.org>
4371
4372 * international/mule-cmds.el (mule-menu-keymap)
4373 (set-language-environment, set-locale-environment): Doc tweaks.
4374
4375 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4376
4377 * cus-face.el (custom-face-attributes): Add wave-style underline
4378 attribute.
4379 * faces.el (set-face-attribute): Update docstring to describe
4380 wave-style underline attribute.
4381
4382 2012-06-16 Chong Yidong <cyd@gnu.org>
4383
4384 * term/xterm.el (terminal-init-xterm): Discard input before
4385 querying background mode (Bug#10959).
4386
4387 2012-06-16 Stefan Merten <smerten@oekonux.de>
4388
4389 * textmodes/rst.el: Added and corrected some comments.
4390 (rst-re-alist-def): Improve symbol syntax.
4391 (rst-mode-syntax-table): Correct syntax entries.
4392 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4393 (rst-official-version, rst-official-cvs-rev): Update version
4394 information.
4395
4396 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4397
4398 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4399 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4400
4401 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4402
4403 * progmodes/python.el: New python.el merge.
4404 (python-guess-indent): Obsolete var.
4405 (python-indent-guess-indent-offset): New defcustom.
4406 (python-indent): Obsolete var.
4407 (python-indent-offset): New defcustom.
4408 (python-python-command, python-jython-command): Delete var.
4409 (python-shell-interpreter): New defcustom.
4410 (python-pdbtrack-do-tracking-p): Delete var.
4411 (python-pdbtrack-activate): New defcustom.
4412 (python-use-skeletons): Obsolete var.
4413 (python-skeleton-autoinsert): New defcustom.
4414 (inferior-python-filter-regexp, python-continuation-offset)
4415 (python-honour-comment-indentation, python-indent-string-contents)
4416 (python-jython-packages, python-mode-hook)
4417 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4418 (python-shell-prompt-alist)
4419 (python-source-modes): Delete defcustoms.
4420 (python-check-buffer-name, python-eldoc-setup-code)
4421 (python-eldoc-string-code, python-ffap-setup-code)
4422 (python-ffap-string-code, python-fill-comment-function)
4423 (python-fill-decorator-function, python-fill-paren-function)
4424 (python-fill-string-function, python-imenu-include-defun-type)
4425 (python-imenu-make-tree, python-imenu-subtree-root-label)
4426 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4427 (python-shell-compilation-regexp-alist)
4428 (python-shell-completion-module-string-code)
4429 (python-shell-completion-pdb-string-code)
4430 (python-shell-completion-setup-code)
4431 (python-shell-completion-string-code)
4432 (python-shell-enable-font-lock, python-shell-exec-path)
4433 (python-shell-extra-pythonpaths)
4434 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4435 (python-shell-process-environment)
4436 (python-shell-prompt-block-regexp)
4437 (python-shell-prompt-output-regexp)
4438 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4439 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4440 (python-shell-virtualenv-path): New defcustoms.
4441 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4442 (inferior-python-mode-syntax-table, python--prompt-regexp)
4443 (python-buffer, python-command python-python-command)
4444 (python-default-template, python-imports, python-indent-index)
4445 (python-indent-list, python-indent-list-length)
4446 (python-mode-running, python-pdbtrack-is-tracking-p)
4447 (python-preoutput-continuation, python-preoutput-leftover)
4448 (python-preoutput-result, python-preoutput-skip-next-prompt)
4449 (python-prev-dir/file, python-recursing)
4450 (python-saved-check-command, python-version-checked)
4451 (python-which-func-length-limit)
4452 (view-return-to-alist): Delete vars.
4453 (python-check-custom-command, python-dotty-syntax-table)
4454 (python-imenu-index-alist, python-indent-current-level)
4455 (python-indent-dedenters, python-indent-levels)
4456 (python-nav-beginning-of-defun-regexp)
4457 (python-nav-list-defun-positions-cache)
4458 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4459 (python-shell-internal-buffer)
4460 (python-skeleton-available): New vars.
4461 (def-python-skeleton): Delete macro.
4462 (python-skeleton-define): New macro.
4463 (python-define-auxiliary-skeleton, python-rx): New macros.
4464 (python-insert-class): Delete command.
4465 (python-skeleton-class): New command.
4466 (python-insert-def): Delete command.
4467 (python-skeleton-def): New command.
4468 (python-insert-for): Delete command.
4469 (python-skeleton-for): New command.
4470 (python-insert-if): Delete command.
4471 (python-skeleton-if): New command.
4472 (python-insert-try/except, python-insert-try/finally): Delete commands.
4473 (python-skeleton-try): New command.
4474 (python-insert-while): Delete command.
4475 (python-skeleton-while): New command.
4476 (python-backspace): Delete command.
4477 (python-indent-dedent-line-backspace): New command.
4478 (python-electric-colon): Delete command.
4479 (python-indent-electric-colon): New command.
4480 (python-guess-indent): Delete command.
4481 (python-indent-guess-indent-offset): New command.
4482 (python-shift-left): Delete command.
4483 (python-indent-shift-left): New command.
4484 (python-shift-right): Delete command.
4485 (python-indent-shift-right): New command.
4486 (python-find-function): Delete command.
4487 (python-nav-jump-to-defun): New command.
4488 (python-next-statement): Delete command.
4489 (python-nav-forward-sentence): New command.
4490 (python-previous-statement): Delete command.
4491 (python-nav-backward-sentence): New command.
4492 (python-fill-paragraph): Delete command.
4493 (python-fill-paragraph-function): New command.
4494 (python-send-buffer): Delete command.
4495 (python-shell-send-buffer): New command.
4496 (python-send-defun): Delete command.
4497 (python-shell-send-defun): New command.
4498 (python-send-region, python-send-region-and-go): Delete commands.
4499 (python-shell-send-region)
4500 (python-shell-switch-to-shell): New commands.
4501 (python-send-string): Delete command.
4502 (python-shell-send-string): New command.
4503 (python-switch-to-python): Delete command.
4504 (python-shell-switch-to-shell): New command.
4505 (python-describe-symbol): Delete command.
4506 (python-eldoc-at-point): New command.
4507 (python--set-prompt-regexp, python-args-to-list)
4508 (python-after-info-look, python-check-version)
4509 (python-check-comint-prompt, python-find-imports)
4510 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4511 (python-unload-function, python-expand-template)
4512 (python-maybe-jython, python-preoutput-filter)
4513 (python-pdbtrack-get-source-buffer)
4514 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4515 (python-pdbtrack-toggle-stack-tracking)
4516 (python-pdbtrack-track-stack-file, python-initial-text)
4517 (python-first-word, python-comment-line-p, python-send-command)
4518 (python-setup-brm, python-sentinel, python-set-proc)
4519 (python-skip-out, python-input-filter, python-outdent-p)
4520 (python-outline-level, python-backslash-continuation-line-p)
4521 (python-end-of-block, python-end-of-statement, python-mark-block)
4522 (python-beginning-of-block, python-beginning-of-statement)
4523 (python-blank-line-p, python-beginning-of-string)
4524 (python-open-block-statement-p): Delete functions.
4525 (python-indent-line, python-indent-line-1): Delete functions.
4526 (python-indent-line): New function.
4527 (python-indentation-levels): Delete function.
4528 (python-indent-calculate-levels): New function.
4529 (python-proc): Delete function.
4530 (python-shell-get-process): New function.
4531 (python-send-receive): Delete function.
4532 (python-shell-send-string-no-output): New function.
4533 (python-module-path): Delete function.
4534 (python-ffap-module-path): New function.
4535 (python-completion-at-point)
4536 (python-symbol-completions): Delete functions.
4537 (python-completion-complete-at-point): New function.
4538 (python-load-file): Delete function.
4539 (python-shell-send-file): New function.
4540 (python-calculate-indentation): Delete function.
4541 (python-indent-calculate-indentation): New function.
4542 (python-skip-comments/blanks): Delete function.
4543 (python-util-forward-comment): New function.
4544 (python-continuation-line-p): Delete function.
4545 (python-info-continuation-line-p): New function.
4546 (python-which-func, python-current-defun): Delete function.
4547 (python-info-current-defun): New function.
4548 (python-beginning-of-defun): Delete function.
4549 (python-nav-beginning-of-defun): New function.
4550 (python-close-block-statement-p)
4551 (python-block-end-p): Delete function.
4552 (python-info-closing-block): New function.
4553 (python-comint-output-filter-function)
4554 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4555 (python-fill-comment, python-fill-decorator, python-fill-paren)
4556 (python-fill-string, python-imenu-make-element-tree)
4557 (python-imenu-make-tree, python-imenu-tree-assoc)
4558 (python-indent-context, python-indent-dedent-line)
4559 (python-indent-line-function)
4560 (python-indent-post-self-insert-function)
4561 (python-indent-toggle-levels)
4562 (python-info-assignment-continuation-line-p)
4563 (python-info-beginning-of-backlash)
4564 (python-info-block-continuation-line-p)
4565 (python-info-closing-block-message)
4566 (python-info-line-ends-backslash-p)
4567 (python-info-looking-at-beginning-of-defun)
4568 (python-info-ppss-context, python-info-ppss-context-type)
4569 (python-nav-list-defun-positions, python-nav-read-defun)
4570 (python-nav-sentence-end, python-nav-sentence-start)
4571 (python-pdbtrack-comint-output-filter-function)
4572 (python-pdbtrack-set-tracked-buffer)
4573 (python-shell-calculate-exec-path)
4574 (python-shell-calculate-process-environment)
4575 (python-shell-completion--do-completion-at-point)
4576 (python-shell-completion--get-completions)
4577 (python-shell-completion-complete-at-point)
4578 (python-shell-completion-complete-or-indent)
4579 (python-shell-get-or-create-process)
4580 (python-shell-get-process-name)
4581 (python-shell-internal-get-or-create-process)
4582 (python-shell-internal-get-process-name)
4583 (python-shell-internal-send-string, python-shell-make-comint)
4584 (python-shell-parse-command, python-shell-send-setup-code)
4585 (python-skeleton-add-menu-items)
4586 (python-util-clone-local-variables, python-util-position)
4587 (run-python-internal, python-indentation-levels)
4588 (python-nav-beginning-of-defun)
4589 (python-completion-complete-at-point): New functions.
4590 (run-python): Change arguments. New API requirements.
4591
4592 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4595 (bug#11649).
4596
4597 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4598 (macroexp--expand-all): Use it.
4599
4600 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4601 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4602 Use `cl-function' instead.
4603
4604 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4605
4606 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4607 Suggested by Stefan Monnier while discussing bug#11657.
4608
4609 2012-06-14 Sam Steingold <sds@gnu.org>
4610
4611 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4612
4613 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4614
4615 * play/doctor.el (doctor-doc): Remove parameter and use
4616 doctor-sent instead of sent.
4617 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4618
4619 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4620
4621 * files.el: Require cl-lib.
4622 (file-name-non-special): Replace case -> cl-case.
4623
4624 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4625
4626 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4627 mapping from #' to function*.
4628
4629 2012-06-13 Chong Yidong <cyd@gnu.org>
4630
4631 * mouse.el (mouse-drag-track): Do not set the mark if the user
4632 releases the mouse without selecting anything (Bug#11588).
4633
4634 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4637 as well (bug#11646).
4638
4639 * loadup.el: Count byte-code functions as well.
4640
4641 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4642 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4643
4644 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4645 (bug#11649). Add cl-defun and cl-defmacro.
4646
4647 2012-06-13 Drew Adams <drew.adams@oracle.com>
4648
4649 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4650 Fix last change.
4651
4652 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4653
4654 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4655 Otherwise, it blocks in batch mode.
4656
4657 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * help-mode.el (bookmark-make-record-default): Declare.
4660
4661 2012-06-13 Chong Yidong <cyd@gnu.org>
4662
4663 * emacs-lisp/package.el (list-packages): Compute a list of
4664 packages that are newly-available since the last list-packages
4665 invocation.
4666 (package-menu--new-package-list): New var.
4667 (package-menu--generate, package-menu--print-info)
4668 (package-menu--status-predicate, package-menu-mark-install):
4669 Handle new status label "new".
4670
4671 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4674 conversion to backquotes.
4675
4676 2012-06-12 Chong Yidong <cyd@gnu.org>
4677
4678 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4679 Rename from gud-inhibit-global-bindings.
4680
4681 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4682
4683 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4684 hook from nxml-glyph-set-hook.
4685
4686 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4687 declaration.
4688
4689 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4690
4691 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4692 Convert to defcustom.
4693
4694 2012-06-12 Drew Adams <drew.adams@oracle.com>
4695
4696 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4697 New functions.
4698 (help-mode): Use them.
4699
4700 2012-06-11 Glenn Morris <rgm@gnu.org>
4701
4702 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4703 Use preprocessor face for directives.
4704 (fortran-directive-re): Doc fix.
4705
4706 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4709 conversion to backquotes (bug#11652).
4710
4711 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4712 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4713 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4714 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4715 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4716 (cl-ninth, cl-tenth): Mark them as inlinable.
4717 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4718 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4719 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4720 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4721 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4722 (cl-list*, cl-adjoin): Don't put an autoload manually.
4723 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4724 (cl--compiler-macro-list*): Add autoload cookie.
4725 (cl--compiler-macro-cXXr): New function.
4726
4727 * help-fns.el (help-fns--compiler-macro): New function extracted from
4728 describe-function-1; follow aliases and use `compiler-macro' property.
4729 (describe-function-1): Use it.
4730
4731 2012-06-11 Chong Yidong <cyd@gnu.org>
4732
4733 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4734 is uninstalled, if imagemagick is installed.
4735
4736 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * emacs-lisp/cl-lib.el: Use lexical-binding.
4739 (cl-map-extents, cl-maclisp-member): Remove.
4740 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4741 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4742 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4743 * emacs-lisp/cl-extra.el: Use lexical-binding.
4744 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4745 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4746 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4747 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4748 * emacs-lisp/cl-seq.el: Use lexical-binding.
4749 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4750 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4751 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4752 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4753 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4754 CL's internals.
4755
4756 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4757
4758 Sync with Tramp 2.2.6-pre.
4759
4760 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4761 `print-length' and `print-level' to nil, in order to avoid
4762 truncation. Reported by Christopher Schmidt
4763 <christopher@ristopher.com>.
4764
4765 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4766
4767 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4768 New defmacro.
4769 (tramp-compat-copy-directory): Add optional argument
4770 COPY-CONTENTS. It is not handled yet.
4771
4772 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4773 (tramp-ftp-file-name-p): Simplify.
4774
4775 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4776 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4777 connection vector.
4778
4779 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4780 (tramp-methods): Do not use `tramp-password-end-of-line'.
4781 (tramp-completion-function-alist-putty): Handle UNIX case.
4782 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4783 (tramp-do-file-attributes-with-stat)
4784 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4785 gid as real numbers. They could run out of integer range on cygwin.
4786 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4787 (tramp-sh-handle-expand-file-name): Handle hops.
4788 (tramp-open-connection-setup-interactive-shell):
4789 Use `tramp-cleanup'. Move check for busyboxes ...
4790 (tramp-find-shell): ... here. Simplify implementation.
4791 Set "remote-shell" property also for alternative shells.
4792 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4793 If failing, a regular file would be written otherwise.
4794 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4795 (tramp-find-inline-encoding): Cache the coding commands in the
4796 process cache. Apply test command on the remote side, if defined.
4797 (tramp-find-inline-compress): Cache the compress commands in the
4798 process cache.
4799 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4800 when requested. Handle hops.
4801 (tramp-current-connection): New defvar.
4802 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4803 Throw `suppress', if there was a failed connection shortly before.
4804 Handle user interrupt. (Bug#10187)
4805 (tramp-get-inline-compress, tramp-get-inline-coding):
4806 Read connection properties from the process cache.
4807
4808 * net/tramp-smb.el (tramp-smb-server-version)
4809 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4810 New defconsts.
4811 (tramp-smb-prompt): Extend for powershell prompt.
4812 (tramp-smb-file-name-handler-alist): Add handlers for
4813 `process-file', `shell-command' and `start-file-process'.
4814 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4815 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4816 (tramp-smb-file-name-p): Simplify.
4817 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4818 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4819 (tramp-smb-shell-quote-argument): New defuns.
4820 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4821 Implement using "tar". By this, time-stamps are preserved.
4822 (tramp-smb-handle-copy-file): Handle also the case of directories.
4823 (tramp-smb-do-file-attributes-with-stat)
4824 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4825 Use `tramp-get-connection-buffer').
4826 (tramp-smb-handle-rename-file): Use "rename", when source and
4827 target are on the same share.
4828 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4829 Use `tramp-smb-server-version'.
4830 (tramp-smb-wait-for-output): Remove prompt.
4831
4832 * net/tramp.el (top): Require 'cl.
4833 (tramp-methods, tramp-rsh-end-of-line):
4834 Remove `tramp-password-end-of-line' from docstring.
4835 (tramp-save-ad-hoc-proxies): New defcustom.
4836 (tramp-completion-function-alist): Adapt docstring.
4837 (tramp-default-password-end-of-line): Remove defcustom.
4838 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4839 (tramp-user-regexp, tramp-file-name-regexp-unified)
4840 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4841 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4842 (tramp-remote-file-name-spec-regexp): New defconst.
4843 (tramp-file-name-structure): Extend structure for hops.
4844 (tramp-get-method-parameter): Move up.
4845 (tramp-file-name-p, tramp-dissect-file-name)
4846 (with-parsed-tramp-file-name): Handle hops.
4847 (tramp-file-name-hop): New defun.
4848 (tramp-make-tramp-file-name): New optional arg HOP.
4849 (tramp-message-show-progress-reporter-message): New defvar.
4850 (tramp-with-progress-reporter): Use it. We cannot use
4851 `tramp-message-show-message' here, because this suppresses also
4852 error buffers.
4853 (tramp-error-with-buffer): Suppress buffer view, if
4854 `tramp-message-show-message' is nil.
4855 Use `tramp-get-connection-buffer'.
4856 (tramp-cleanup): New defun.
4857 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4858 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4859 an error unchanged.
4860 (tramp-completion-handle-file-name-all-completions): Handle hops.
4861 Fix an error when called from ido.
4862 (tramp-completion-dissect-file-name): Use better local variable
4863 name. Add hop to the vector.
4864 (tramp-handle-insert-file-contents): Use progress-reporter for the
4865 whole scenario.
4866 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4867 to `t'.
4868 (tramp-check-for-regexp): Simplify search.
4869 (tramp-enter-password): Remove it. Move implementation ...
4870 (tramp-action-password): ... here.
4871 (tramp-mode-string-to-int, tramp-local-host-p)
4872 (tramp-make-tramp-temp-file, tramp-read-passwd)
4873 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4874 Set tramp-autoload cookie.
4875
4876 * net/trampver.el: Update release number.
4877
4878 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4879 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4882 (tramp-parse-group, tramp-parse-file)
4883 (tramp-parse-shostkeys-sknownhosts): New defuns.
4884 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4885 (tramp-parse-shosts-group, tramp-parse-sconfig)
4886 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4887 (tramp-parse-sknownhosts, tramp-parse-hosts)
4888 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4889 Use them.
4890 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4891 (tramp-parse-putty-group): Don't narrow.
4892 (tramp-parse-putty): Make a loop.
4893 (tramp-file-name-handler): Catch the `suppress' signal.
4894
4895 2012-06-11 Chong Yidong <cyd@gnu.org>
4896
4897 * image.el (imagemagick-register-types): Put the ImageMagick entry
4898 at the end of image-type-file-name-regexps.
4899
4900 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4901
4902 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4903 (pcase, pcase-let*, pcase-dolist): Use them.
4904
4905 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * emacs-lisp/pcase.el (pcase--let*): New function.
4908 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4909 (pcase--expand): Use macroexp-let².
4910
4911 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4914 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4915 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4916 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4917 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4918 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4919
4920 2012-06-10 Glenn Morris <rgm@gnu.org>
4921
4922 * mail/rmail.el (rmail-yank-current-message): Leave point at
4923 correct position. (Bug#11660)
4924
4925 2012-06-10 Chong Yidong <cyd@gnu.org>
4926
4927 * allout-widgets.el: Fix code header.
4928
4929 2012-06-10 Chong Yidong <cyd@gnu.org>
4930
4931 * cus-edit.el (customize-changed-options-previous-release):
4932 Bump to 24.1.
4933
4934 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4935
4936 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4937
4938 2012-06-09 Chong Yidong <cyd@gnu.org>
4939
4940 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4941
4942 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4943
4944 * window.el (special-display-popup-frame): Don't use
4945 window--display-buffer (Bug#11651).
4946
4947 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4948
4949 Fix parallel builds: make sure loaddefs.el is not being written
4950 while Lisp files are compiled.
4951 (compile): Don't depend on 'mh-autoloads'.
4952 (compile-CMD, compile-SH): Depend on 'autoloads'.
4953 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4954
4955 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4956
4957 2012-06-09 Chong Yidong <cyd@gnu.org>
4958
4959 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4960 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4961 Doc fixes (Bug#11225).
4962
4963 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4966 a function if there's a clear indication that it has a compiler-macro.
4967 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4968 (macro-declarations-alist): Add arglist to declaration functions.
4969 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4970 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4971 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4972 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4973 Also add autoload to find the compiler macro.
4974 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4975 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4976 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4977 (cl--compiler-macro-get): New functions, replacing calls to
4978 cl-define-compiler-macro.
4979 (cl-typep) [compiler-macro]: Use macroexp-let².
4980
4981 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4982
4983 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4984 string properly, fixes Bug#11473.
4985
4986 2012-06-08 Chong Yidong <cyd@gnu.org>
4987
4988 * faces.el (set-face-attribute): Doc fix.
4989 (modify-face): Don't use :bold and :italic.
4990 (error, warning, success): Tweak definitions.
4991
4992 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4993 (custom-modified, custom-set, custom-changed, custom-themed)
4994 (custom-saved, custom-button, custom-button-mouse)
4995 (custom-button-pressed, custom-state, custom-comment-tag)
4996 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4997 (custom-group-subtitle): Use new-style face specs.
4998 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4999 (custom-set-face, custom-changed-face, custom-saved-face)
5000 (custom-button-face, custom-button-pressed-face)
5001 (custom-documentation-face, custom-state-face)
5002 (custom-comment-face, custom-comment-tag-face)
5003 (custom-variable-tag-face, custom-variable-button-face)
5004 (custom-face-tag-face, custom-group-tag-face-1)
5005 (custom-group-tag-face): Remove obsolete face alias.
5006
5007 * epa.el (epa-validity-high, epa-validity-medium)
5008 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5009 (epa-field-name, epa-field-body):
5010 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5011 (font-lock-keyword-face, font-lock-builtin-face)
5012 (font-lock-function-name-face, font-lock-variable-name-face)
5013 (font-lock-type-face, font-lock-constant-face):
5014 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5015 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5016 * speedbar.el (speedbar-button-face, speedbar-file-face)
5017 (speedbar-directory-face, speedbar-tag-face)
5018 (speedbar-selected-face, speedbar-highlight-face)
5019 (speedbar-separator-face):
5020 * whitespace.el (whitespace-newline, whitespace-space)
5021 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5022 (whitespace-line, whitespace-space-before-tab)
5023 (whitespace-space-after-tab, whitespace-indentation)
5024 (whitespace-empty):
5025 * emulation/cua-base.el (cua-global-mark):
5026 * eshell/em-prompt.el (eshell-prompt):
5027 * net/newst-plainview.el (newsticker-new-item-face)
5028 (newsticker-old-item-face, newsticker-immortal-item-face)
5029 (newsticker-obsolete-item-face, newsticker-date-face)
5030 (newsticker-statistics-face, newsticker-default-face):
5031 * net/newst-reader.el (newsticker-feed-face)
5032 (newsticker-extra-face, newsticker-enclosure-face):
5033 * net/newst-treeview.el (newsticker-treeview-face)
5034 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5035 (newsticker-treeview-immortal-face)
5036 (newsticker-treeview-obsolete-face)
5037 (newsticker-treeview-selection-face):
5038 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5039 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5040 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5041 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5042 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5043 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5044 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5045 (mpuz-text):
5046 * progmodes/vera-mode.el (vera-font-lock-number)
5047 (vera-font-lock-function, vera-font-lock-interface):
5048 * textmodes/table.el (table-cell): Use new-style face specs, and
5049 don't use the old :bold and :italic attributes.
5050
5051 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5052 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5053 (ebrowse-member-class, ebrowse-progress): Likewise.
5054 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5055 (ebrowse-file-name-face, ebrowse-default-face)
5056 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5057 (ebrowse-progress-face): Remove obsolete faces.
5058
5059 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5060 Inherit from error and warning faces respectively.
5061
5062 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5063 Likewise.
5064 (flyspell-incorrect-face, flyspell-duplicate-face):
5065 Remove obsolete aliases.
5066
5067 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5068
5069 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5070 Avoid infloop.
5071
5072 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * startup.el (argv, argi): Make lexically scoped.
5075 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5076 * emacs-lisp/cl-macs.el: Use lexical-binding.
5077 Rename cl-bind-* to cl--bind-*.
5078 * files.el: Don't require `cl' since it doesn't use it.
5079 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5080
5081 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5082
5083 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5084 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5085 instead of calling external sort utility.
5086 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5087
5088 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5089
5090 * descr-text.el (describe-char): Mention how to insert the
5091 character, if the current input method doesn't support it.
5092 See the discussion in this thread for the details:
5093 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5094
5095 2012-06-08 Sam Steingold <sds@gnu.org>
5096
5097 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5098 XF86Back to previous-buffer.
5099 (minibuffer-local-map): Bind them to next-history-element and
5100 previous-history-element respectively.
5101 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5102 help-go-back respectively.
5103 * info.el (Info-mode-map): Bind them to Info-history-forward and
5104 Info-history-back respectively.
5105 These are the keys next to Up on the ThinkPad keyboard.
5106
5107 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5110 * emacs-lisp/cl-macs.el: Provide itself.
5111 (cl--labels-convert-cache): New var.
5112 (cl--labels-convert): New function.
5113 (cl-flet, cl-labels): New implementation with new semantics, relying on
5114 lexical-binding.
5115 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5116 (cl-closure-vars, cl--function-convert-cache)
5117 (cl--function-convert): Move from cl-macs.el.
5118 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5119 rename by removing the "cl-" prefix.
5120 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5121
5122 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5125 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5126 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5127 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5128 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5129 (cl-hash-table-count): Add old compatibility aliases.
5130
5131 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5132 Use macroexpand-all-environment instead.
5133 (cl--old-macroexpand): New var.
5134 (cl--sm-macroexpand): New function.
5135 (cl-symbol-macrolet): Use it during macro expansion.
5136 (cl--function-convert-cache): New var.
5137 (cl--function-convert): New function, extracted from
5138 cl-macroexpand-all.
5139 (cl-lexical-let): Use it.
5140
5141 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5142 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5143 (cl-member): Remove old alias.
5144
5145 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5146 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5147 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5148 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5149 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5150 (cl-macroexpand-cmacs): Remove var.
5151 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5152 Use macroexpand-all instead.
5153
5154 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5157 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5158 (macroexp-copyable-p): New functions and macros.
5159 * emacs-lisp/edebug.el (edebug-unwrap):
5160 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5161 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5162 (pcase--let*): Remove.
5163 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5164 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5165 macroexp-const-p instead.
5166 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5167
5168 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5169 instead of "cl-" for internal definitions. Use macroexp-const-p.
5170 (cl-old-bc-file-form): Remove var.
5171 (cl-const-exprs-p): Remove fun.
5172 (cl-labels, cl-macrolet): Use backquote.
5173 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5174 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5175 (cl-define-setf-expander): Rename from cl-define-setf-method.
5176 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5177
5178 * international/mule-cmds.el: Don't require CL.
5179 (view-hello-file): Don't use `letf'.
5180
5181 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * tmm.el (tmm-prompt): Use string-prefix-p.
5184 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5185 (tmm-add-prompt): Use minibuffer-completion-help.
5186 (tmm-delete-map): Remove.
5187
5188 * subr.el (kbd): Make it its own function.
5189
5190 2012-06-07 Stefan Merten <smerten@oekonux.de>
5191
5192 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5193 Silence compiler warnings. Fix versions.
5194 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5195 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5196 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5197 (rst-package-emacs-version-alist): Correct Emacs version to
5198 represent major merge with upstream.
5199 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5200
5201 2012-06-06 Glenn Morris <rgm@gnu.org>
5202
5203 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5204 Only print environment variables if set.
5205
5206 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5209 (macroexp--cons): Rename from maybe-cons.
5210 (macroexp--accumulate): Rename from macroexp-accumulate.
5211 (macroexp--all-forms): Rename from macroexpand-all-forms.
5212 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5213 (macroexp--expand-all): Rename from macroexpand-all-1.
5214
5215 2012-06-06 Sam Steingold <sds@gnu.org>
5216
5217 * calendar/calendar.el (calendar-in-read-only-buffer):
5218 Call `special-mode' to enable the standard read-only keybindings.
5219
5220 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5223 with "loading" messages (bug#11635).
5224
5225 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5226
5227 * files.el (enable-remote-dir-locals): New option.
5228 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5229
5230 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5231 Ensure, that the temp directory is local.
5232
5233 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5234 `temporary-file-directory'.
5235
5236 * progmodes/python.el (python-send-region): Ensure, that the
5237 temporary file is created also in the remote case.
5238
5239 2012-06-06 Glenn Morris <rgm@gnu.org>
5240
5241 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5242 (vc-rcs-update-changelog): Use it.
5243
5244 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5245
5246 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5247 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5248 (vc-sccs-diff): Replace use of the external vcdiff script.
5249
5250 2012-06-05 Glenn Morris <rgm@gnu.org>
5251
5252 * ledit.el: Move to obsolete/.
5253
5254 2012-06-05 Sam Steingold <sds@gnu.org>
5255
5256 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5257 patch (Bug#11140).
5258
5259 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * emacs-lisp/cust-print.el: Move to obsolete.
5262
5263 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5264 compiler-macro expansion.
5265
5266 Add native compiler-macro support.
5267 * emacs-lisp/macroexp.el (macroexpand-all-1):
5268 Support compiler-macros directly. Properly follow aliases and apply
5269 the compiler macros more thoroughly.
5270 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5271 macroexpand now properly follows aliases.
5272 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5273 (cl-compiler-macroexpand): Use new prop.
5274 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5275
5276 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5277
5278 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5279
5280 * window.el (get-lru-window, get-mru-window, get-largest-window):
5281 New argument NOT-SELECTED to avoid picking the selected window.
5282 (window--display-buffer-1, window--display-buffer-2): Replace by
5283 new function window--display-buffer
5284 (display-buffer-same-window, display-buffer-reuse-window)
5285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5286 Use window--display-buffer.
5287 (display-buffer-use-some-window): Remove temporary dedication
5288 hack by calling get-lru-window and get-largest-window with
5289 NOT-SELECTED argument non-nil. Call window--display-buffer.
5290
5291 2012-06-05 Glenn Morris <rgm@gnu.org>
5292
5293 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5294 Replace external vcdiff script.
5295
5296 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5299
5300 2012-06-04 Chong Yidong <cyd@gnu.org>
5301
5302 * image.el (imagemagick-types-inhibit): Revert last change.
5303 Add INFO and M.
5304 (imagemagick-enabled-types): Remove CIN and EPS*.
5305
5306 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * emacs-lisp/cl-lib.el: Rename from cl.el.
5309 * emacs-lisp/cl.el: New compatibility file.
5310 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5311 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5312 to obey the "cl-" prefix.
5313 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5314
5315 2012-06-03 Glenn Morris <rgm@gnu.org>
5316
5317 * emacs-lisp/authors.el (authors-aliases): Addition.
5318
5319 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5320 Fix :version.
5321
5322 2012-06-03 Stefan Merten <smerten@oekonux.de>
5323
5324 * textmodes/rst.el: Add comments.
5325 (rst-transition, rst-adornment): New faces.
5326 (rst-adornment-faces-alist): Make default safe to reevaluate.
5327 Fixes
5328 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5329 Improve customization tags.
5330 (rst-define-level-faces): Clarify meaning.
5331
5332 2012-06-03 Chong Yidong <cyd@gnu.org>
5333
5334 * progmodes/compile.el (compilation-mode-line-fail)
5335 (compilation-mode-line-run, compilation-mode-line-exit):
5336 New faces.
5337 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5338
5339 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5340
5341 * progmodes/which-func.el (which-func-update-ediff-windows):
5342 New function. Use it in ediff-select-hook (Bug#11478).
5343
5344 2012-06-03 Chong Yidong <cyd@gnu.org>
5345
5346 * bindings.el: Remove explicit help text from format-mode-line.
5347 It is now supplied by mode-line-default-help-echo.
5348 (mode-line-front-space, mode-line-end-spaces)
5349 (mode-line-misc-info): New variables.
5350 (mode-line-modes, mode-line-position): Move the default value to
5351 the variable definition.
5352 (mode-line-default-help-echo): New defcustom.
5353 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5354 (mode-line-modified-help-echo): New functions.
5355 (mode-line-mule-info, mode-line-modified): Use them.
5356 (mode-line-eol-desc, propertized-buffer-identification):
5357 Consistency fixes for help text.
5358 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5359 set-buffer-file-coding-system (Bug#289).
5360 (mode-line-mule-info-help-echo): Update help text.
5361
5362 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * simple.el (execute-extended-command): Set real-this-command
5365 (bug#11506).
5366
5367 2012-06-02 Chong Yidong <cyd@gnu.org>
5368
5369 Remove incorrect uses of "modeline" in comments, docstrings, and
5370 function/variable names (Bug#10329).
5371
5372 * cus-edit.el (mode-line):
5373 * dframe.el (dframe-mouse-hscroll):
5374 * emacs-lisp/re-builder.el:
5375 * emacs-lisp/easy-mmode.el (define-minor-mode):
5376 * frame.el (set-frame-name):
5377 * help.el (lookup-minor-mode-from-indicator):
5378 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5379 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5380 (c-toggle-hungry-state):
5381 * progmodes/antlr-mode.el (antlr-language-alist):
5382 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5383 * progmodes/vhdl-mode.el (vhdl-mode):
5384 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5385 * term/ns-win.el (ns-face-at-pos):
5386 * term/sup-mouse.el (sup-mouse-report):
5387 * textmodes/flyspell.el (flyspell-mode-line-string):
5388 * textmodes/ispell.el (ispell-highlight-face):
5389 * textmodes/reftex-global.el:
5390 * vc/vc-arch.el (vc-arch-mode-line-string):
5391 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5392 * vc/vc-git.el (vc-git-mode-line-string):
5393 * vc/vc-hooks.el (vc-display-status)
5394 (vc-default-mode-line-string):
5395 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5396
5397 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5398
5399 * dired.el (dired-sort-set-mode-line): Rename from
5400 dired-sort-set-modeline. All callers changed.
5401
5402 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5403 eshell-status-in-modeline.
5404
5405 * foldout.el (foldout-mode-line-string): Rename from
5406 foldout-modeline-string. All callers changed.
5407 (foldout-update-mode-line): Rename from foldout-update-modeline.
5408
5409 * subr.el (redraw-modeline): Make into obsolete alias.
5410
5411 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5412 timeclock-modeline-display. Make old name an alias.
5413 (timeclock-update-mode-line): Likewise. All callers changed.
5414 (timeclock-mode-line-display): No need to check before using
5415 add-hook.
5416 (timeclock-relative, timeclock-day-over-hook)
5417 (timeclock-use-elapsed, timeclock-mode-string)
5418 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5419
5420 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5421 crisp-mode-modeline-string.
5422
5423 * play/solitaire.el (solitaire-build-mode-line): Rename from
5424 solitaire-build-modeline. All callers changed.
5425
5426 * play/zone.el (zone-hiding-mode-line): Rename from
5427 zone-hiding-modeline. All callers changed.
5428 (zone): Remove unusued `modeline-hidden-level' property.
5429
5430 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5431 xscheme-modeline-initialize. All callers changed.
5432
5433 * strokes.el (strokes-lighter): Rename from
5434 strokes-modeline-string.
5435
5436 * textmodes/sgml-mode.el (html-face-tag-alist)
5437 (html-tag-face-alist): Use mode-line face instead of obsolete
5438 alias modeline.
5439
5440 2012-06-02 Stefan Merten <smerten@oekonux.de>
5441
5442 * textmodes/rst.el: Always require `cl'.
5443 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5444
5445 2012-06-02 Chong Yidong <cyd@gnu.org>
5446
5447 * image.el (imagemagick-enabled-types): Rename from
5448 imagemagick-types-enable. Add many more types.
5449 (imagemagick-types-inhibit): Change default to nil.
5450 (imagemagick-filter-types): Caller changed.
5451
5452 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * emacs-lisp/cl-macs.el: Use backquotes.
5455 (cl-transform-function-property): Use eval-and-compile rather than
5456 abusing `require'.
5457 (defstruct): Use declare-function instead of with-no-warnings.
5458
5459 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5460 (byte-compile-output-docform): Re-add the print-circle bindings.
5461 (byte-compile-fix-header): Use #$ just because it's shorter.
5462 (byte-compile-output-file-form): Remove defun/defmacro.
5463
5464 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5465
5466 * simple.el (choose-completion): Remove now obsolete binding for
5467 owindow.
5468
5469 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5470
5471 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5472 in order to avoid "Stack overflow in regexp matcher".
5473
5474 2012-05-31 Glenn Morris <rgm@gnu.org>
5475
5476 * image.el: For clarity, call imagemagick-register-types at
5477 top-level, rather than relying on a custom :initialize.
5478 (imagemagick-types-enable): New option. (Bug#11557)
5479 (imagemagick-filter-types): New function. (Bug#7406)
5480 (imagemagick-register-types): Use imagemagick-filter-types.
5481 If disabling support, remove elements altogether rather
5482 than using an impossible regexp.
5483 (imagemagick-types-inhibit): Give it the default init function.
5484
5485 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5488 Handle arbitrary file name lengths (Bug#11585).
5489
5490 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5491
5492 * desktop.el (desktop-read): Clear previous and next buffers for
5493 all windows and bury *Messages* buffer (bug#11556).
5494
5495 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 Add `declare' for `defun'. Align `defmacro's with it.
5498 * emacs-lisp/easy-mmode.el (define-minor-mode)
5499 (define-globalized-minor-mode): Don't autoload the var definitions.
5500 * emacs-lisp/byte-run.el: Use lexical-binding.
5501 (defun-declarations-alist, macro-declarations-alist): New vars.
5502 (defmacro, defun): Use them.
5503 (make-obsolete, define-obsolete-function-alias)
5504 (make-obsolete-variable, define-obsolete-variable-alias):
5505 Use `declare'.
5506 (macro-declaration-function): Mark obsolete.
5507 * emacs-lisp/autoload.el: Use lexical-binding.
5508 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5509
5510 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5511
5512 * textmodes/ispell.el (ispell-with-no-warnings):
5513 Define as a macro.
5514 (ispell-kill-ispell, ispell-change-dictionary):
5515 Use `called-interactively-p' for Emacs instead of obsolete
5516 `interactive-p'.
5517
5518 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5521 (macro-declaration-function): Move var from C code.
5522 (macro-declaration-function): Define function with defalias.
5523 * emacs-lisp/macroexp.el (macroexpand-all-1):
5524 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5525 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5526 defun/defmacro any more.
5527 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5528 Provide fallback for unknown arglist.
5529 (byte-compile-arglist-warn): Change calling convention.
5530 (byte-compile-output-file-form): Move print-vars binding.
5531 (byte-compile-output-docform): Simplify accordingly.
5532 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5533 (byte-compile-defmacro-declaration): Remove.
5534 (byte-compile-file-form-defmumble): Generalize to defalias.
5535 (byte-compile-output-as-comment): Return byte-positions.
5536 Simplify callers accordingly.
5537 (byte-compile-lambda): Use `assert'.
5538 (byte-compile-defun, byte-compile-defmacro): Remove.
5539 (byte-compile-file-form-defalias):
5540 Use byte-compile-file-form-defmumble.
5541 (byte-compile-defalias-warn): Remove.
5542
5543 2012-05-29 Stefan Merten <smerten@oekonux.de>
5544
5545 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5546 possible. Fix authors. Improve comments. Improve loading of `cl'.
5547
5548 (rst-mode-abbrev-table): Merge definition.
5549 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5550 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5551
5552 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5553
5554 * calendar/icalendar.el
5555 (icalendar-export-region): Export UID properly.
5556
5557 2012-05-29 Leo Liu <sdl.web@gmail.com>
5558 * calendar/icalendar.el (icalendar-import-format):
5559 Add `icalendar-import-format-uid' (Bug#11525).
5560 (icalendar-import-format-uid): New.
5561 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5562 Export UID.
5563
5564 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5567 different alternative patterns.
5568 (pcase-codegen): Be more careful to preserve identity.
5569 (pcase--u1): Don't forget to mark vars as used.
5570
5571 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5572 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5573 (byte-compile-from-buffer): ...rather than here.
5574
5575 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5576 functions from byte-compile-function-environment.
5577
5578 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5579
5580 * window.el (window-deletable-p): Avoid deleting the root window
5581 of a frame with an active minibuffer.
5582
5583 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5584
5585 * simple.el (choose-completion): Use quit-window (Bug#11567).
5586
5587 2012-05-29 Chong Yidong <cyd@gnu.org>
5588
5589 * whitespace.el (whitespace-cleanup): Fix usage of
5590 whitespace-empty-at-bob-regexp (Bug#11492).
5591
5592 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5593
5594 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5595 revert (Bug#11488).
5596
5597 2012-05-29 Juri Linkov <juri@jurta.org>
5598
5599 * isearch.el (isearch-mode-map): Bind `M-s _' to
5600 `isearch-toggle-symbol'. Bind `M-s c' to
5601 `isearch-toggle-case-fold'.
5602 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5603 (isearch-forward): Add `M-s _' to the docstring.
5604 (isearch-forward-symbol, isearch-toggle-case-fold)
5605 (isearch-symbol-regexp): New functions. (Bug#11381)
5606
5607 2012-05-29 Juri Linkov <juri@jurta.org>
5608
5609 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5610 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5611 a function, call it to get the regexp.
5612 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5613 property `isearch-message-prefix' instead of the string "word ".
5614 (isearch-search-fun-default): For the case of `isearch-word',
5615 return a lambda that calls re-search-forward/re-search-backward
5616 with a regexp returned by `word-search-regexp' or by the function
5617 in `isearch-word'.
5618
5619 2012-05-29 Juri Linkov <juri@jurta.org>
5620
5621 * isearch.el (isearch-search-fun-default): New function.
5622 (isearch-search-fun): Move default part to the new function
5623 `isearch-search-fun-default'.
5624 (isearch-search-fun-function): Set the default value to
5625 `isearch-search-fun-default'. (Bug#11381)
5626
5627 * comint.el (comint-history-isearch-end):
5628 Use `isearch-search-fun-default'.
5629 (comint-history-isearch-search): Use `isearch-search-fun-default'
5630 and remove spacial case for `isearch-word'.
5631 (comint-history-isearch-wrap): Remove spacial case for
5632 `isearch-word'.
5633
5634 * hexl.el (hexl-isearch-search-function):
5635 Use `isearch-search-fun-default'.
5636
5637 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5638 Use `word-search-regexp' for `isearch-word'.
5639
5640 * misearch.el (multi-isearch-search-fun):
5641 Use `isearch-search-fun-default'.
5642
5643 * simple.el (minibuffer-history-isearch-search):
5644 Use `isearch-search-fun-default' and remove spacial case for
5645 `isearch-word'.
5646 (minibuffer-history-isearch-wrap): Remove spacial case for
5647 `isearch-word'.
5648
5649 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5650 Remove spacial case for `isearch-word'.
5651 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5652
5653 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5654
5655 Decrease XEmacs incompatibilities.
5656 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5657 Use `string-match'.
5658 (flyspell-delete-region-overlays): Use alternative definition for
5659 XEmacs.
5660 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5661 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5662 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5663 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5664 `define-obsolete-face-alias' under XEmacs, but old method.
5665
5666 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5667 `with-no-warnings' definition or Emacs alias.
5668 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5669 (ispell-word): Do not use `region-p' if XEmacs.
5670
5671 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5672
5673 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5674 Check for `ispell-dictionary-base-alist' instead of full
5675 `ispell-dictionary-alist'.
5676 (ispell-init-process): Show spellchecker when starting new Ispell
5677 process.
5678
5679 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5682 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5683
5684 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5685
5686 * version.el (motif-version-string, gtk-version-string)
5687 (ns-version-string): Declare.
5688
5689 2012-05-27 Juri Linkov <juri@jurta.org>
5690
5691 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5692 after the `eval-defun-1' specialcaseing
5693 like in `edebug-eval-defun' (bug#10181).
5694
5695 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5696 like in `eval-defun-1'.
5697
5698 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5699
5700 * mail/sendmail.el (mail-yank-region):
5701 Recognize rmail-yank-current-message in addition to insert-buffer.
5702 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5703 a *mail* buffer created through rmail-start-mail with sendmail as
5704 mail-user-agent.
5705
5706 2012-05-27 Chong Yidong <cyd@gnu.org>
5707
5708 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5709 Default to 256 (Bug#11267).
5710
5711 * help.el (describe-mode): Doc fix.
5712
5713 2012-05-26 Glenn Morris <rgm@gnu.org>
5714
5715 * w32-fns.el (w32-init-info): Remove.
5716 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5717
5718 * info.el (info-initialize): For self-contained NS builds, put the
5719 included info/ directory at the front. (Bug#2791)
5720
5721 * paths.el (Info-default-directory-list): Make it a defcustom,
5722 mainly so that we can use custom-initialize-delay.
5723
5724 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * subr.el (buffer-has-markers-at): Mark obsolete.
5727
5728 * subr.el (lambda): Use declare.
5729
5730 * emacs-lisp/lisp-mode.el (lambda):
5731 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5732
5733 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5734
5735 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5736
5737 2012-05-26 Glenn Morris <rgm@gnu.org>
5738
5739 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5740
5741 2012-05-25 Glenn Morris <rgm@gnu.org>
5742
5743 * paths.el: Remove no-byte-compile.
5744 * loadup.el: No need to load paths.el uncompiled.
5745
5746 * image.el (imagemagick-types-inhibit): Doc fix.
5747
5748 * version.el: Remove no-byte-compile and associated formatting.
5749 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5750 is ancient code from when there was an "inc-vers.el".
5751
5752 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * progmodes/gdb-mi.el: Minor style changes.
5755 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5756 Turn into minor modes.
5757 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5758 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5759 (gdb-shell): Remove unneeded let-binding.
5760 (gdb-get-many-fields): Eliminate O(n²) behavior.
5761
5762 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5763
5764 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5765 platforms that don't link in fontset.c.
5766
5767 2012-05-25 Juri Linkov <juri@jurta.org>
5768
5769 Use the same diff color scheme as in modern VCSes (bug#10181).
5770
5771 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5772 to avoid confusion with `diff-added' that now uses green colors.
5773 (diff-removed): Use shades of red.
5774 (diff-added): Use shades of green.
5775 (diff-changed): Leave just the yellow color.
5776 (diff-use-changed-face): New variable.
5777 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5778 how to highlight context diff changes.
5779 (diff-refine-change): Use shades of yellow.
5780 (diff-refine-removed): New face that uses shades of red.
5781 (diff-refine-added): New face that uses shades of green.
5782 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5783 `diff-refine-removed' in the call to `smerge-refine-subst'
5784 depending on the value of `diff-use-changed-face'.
5785
5786 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5787 (smerge-other): Use shades of green.
5788 (smerge-base): Use shades of yellow.
5789 (smerge-refined-change): Empty face.
5790 (smerge-refined-removed): New face that uses shades of red.
5791 (smerge-refined-added): New face that uses shades of green.
5792 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5793 args `props-r' and `props-a', and use them. Doc fix.
5794 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5795 on its value use different faces `smerge-refined-change',
5796 `smerge-refined-removed', `smerge-refined-added' in the call to
5797 `smerge-refine-subst'.
5798
5799 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5800 Add face condition `min-colors 88' with shades of red.
5801 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5802 `min-colors 88' with shades of green.
5803 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5804 `min-colors 88' with shades of yellow.
5805
5806 2012-05-24 Glenn Morris <rgm@gnu.org>
5807
5808 * paths.el (prune-directory-list, remote-shell-program): Move to...
5809 * files.el (prune-directory-list, remote-shell-program): ...here.
5810 For the latter, delay initialization, prefer ssh, just search PATH.
5811
5812 * paths.el (term-file-prefix): Move to faces.el (the only user).
5813 * faces.el (term-file-prefix): Move here, make it a defcustom.
5814
5815 * paths.el (news-directory, news-path, news-inews-program):
5816 Move to gnus/nnspool.el.
5817
5818 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5819
5820 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5821 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5822 Make the latter a defcustom, with a delayed initialization.
5823
5824 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5825 These were deleted from Gnus itself late 2010.
5826
5827 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5828
5829 * progmodes/which-func.el (which-func-ff-hook):
5830 Check against user-error, not error.
5831
5832 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5833 cl-specs.el, which no longer exists.
5834
5835 2012-05-22 Glenn Morris <rgm@gnu.org>
5836
5837 * info.el (info-emacs-bug): New command.
5838 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5839 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5840
5841 2012-05-21 Glenn Morris <rgm@gnu.org>
5842
5843 * makefile.w32-in (update-subdirs-SH):
5844 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5845
5846 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5849
5850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5851 Simplify Maven regexp, and make sure the file can't start with a space
5852 (bug#11517).
5853
5854 2012-05-21 Glenn Morris <rgm@gnu.org>
5855
5856 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5857 Scrap superfluous subshells.
5858
5859 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5862 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5863
5864 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5865
5866 * calc/calc.el (calc-ensure-consistent-units): New variable.
5867
5868 * calc/calc-units.el (math-consistent-units-p)
5869 (math-check-unit-consistency): New functions.
5870 (calc-quick-units, calc-convert-units):
5871 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5872 is non-nil.
5873 (calc-extract-units): Fix typo.
5874
5875 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5878
5879 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5880 (flyspell-default-deplacement-commands): Don't spell check after
5881 repeated window/frame switches (e.g. triggered by mouse-movement).
5882 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5883 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5884 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5885 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5886 Remove unused vars.
5887 (flyspell-get-casechars, flyspell-get-not-casechars):
5888 Simplify; Don't bother removing a ] just to add it back.
5889 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5890
5891 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5892
5893 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5894 New functions.
5895 (math-function-table): Add support for more C functions.
5896
5897 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5898
5899 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5900 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5901 Protect delay handling for otherchars against empty otherchars.
5902
5903 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5906 their respective macro declarations.
5907 * skeleton.el (define-skeleton):
5908 * progmodes/compile.el (define-compilation-mode):
5909 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5910 (define-ibuffer-filter):
5911 * emacs-lisp/generic.el (define-generic-mode):
5912 * emacs-lisp/easy-mmode.el (define-minor-mode)
5913 (define-globalized-minor-mode):
5914 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5915 * emacs-lisp/byte-run.el (defsubst):
5916 * custom.el (deftheme): Add doc-string metadata.
5917
5918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5921
5922 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5925
5926 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5927 * emacs-lisp/cl-macs.el: Idem.
5928 * emacs-lisp/cl-specs.el: Remove.
5929
5930 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 Minor renaming of internal CL functions and variables.
5933 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5934 (cl--position): Rename from cl-position.
5935 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5936 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5937 (cl--random-state): Rename from *random-state*.
5938
5939 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5942 parens around the arg list (bug#11499).
5943
5944 2012-05-17 Juri Linkov <juri@jurta.org>
5945
5946 * isearch.el (word-search-regexp, word-search-backward)
5947 (word-search-forward, word-search-backward-lax)
5948 (word-search-forward-lax): Move functions from search.c
5949 (bug#10145, bug#11381).
5950
5951 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5952
5953 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5954 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5955 Delay for otherchars as for normal word components.
5956
5957 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * minibuffer.el (completion--sifn-requote): Fix last change.
5960 (minibuffer-local-must-match-filename-map):
5961 Move define-obsolete-variable-alias before its var.
5962
5963 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5966
5967 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5968 behavior.
5969 (completion--string-equal-p): New function.
5970 (completion--twq-all): Use it to get better assertion failure data.
5971
5972 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5973 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5974 (shell--requote-argument): New functions.
5975 (shell-completion-vars): Use them.
5976 (shell--parse-pcomplete-arguments): Rename from
5977 shell-parse-pcomplete-arguments.
5978 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5979 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5980 Obey comint-file-name-quote-list.
5981
5982 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5983 (smie-indent-keyword): Use it.
5984
5985 2012-05-14 Stefan Merten <smerten@oekonux.de>
5986
5987 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5988
5989 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * net/rlogin.el (rlogin-mode-map): Fix last change.
5992
5993 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5994
5995 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5996 the following \r\n using a single `process-send-string', since the
5997 Lotus SMTP server refuses to accept any commands if they are sent
5998 with two `process-send-string's (Bug#11444).
5999
6000 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * shell.el (shell-parse-pcomplete-arguments):
6003 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6004
6005 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6006
6007 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6008 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6009 (image-transform-width, image-transform-fit-width): New functions.
6010 (image-transform-properties): Use them.
6011 (image-transform-check-size): New function.
6012 (image-toggle-display-image): Use it (for testing).
6013 (image-transform-set-rotation): Reduce angle mod 360.
6014 Delete obsolete comment.
6015
6016 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6017
6018 * image-mode.el: Fix scaling (bug#11399).
6019 (image-transform-resize): Doc fix.
6020 (image-transform-properties): Default scale is 1 and height should
6021 be an integer.
6022
6023 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6024
6025 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6026 than hard-coding `car', to fix misbehavior when moving forward.
6027
6028 2012-05-13 Chong Yidong <cyd@gnu.org>
6029
6030 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6031 (tabulated-list-entries, tabulated-list-padding)
6032 (tabulated-list-sort-key): Make permanent-local.
6033
6034 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6035 (electric-buffer-list): Put electric buffer menu
6036 command descriptions in this docstring, instead of the docstring
6037 of electric-buffer-menu-mode. Code cleanups.
6038 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6039 Electric-buffer-menu-mode.
6040 (electric-buffer-update-highlight): Minor code cleanup.
6041
6042 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6045 (Bug#11447)
6046
6047 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 Move define-obsolete-variable-alias before the var's definition.
6050 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6051 * tooltip.el (tooltip-hook):
6052 * textmodes/reftex-toc.el (reftex-toc-map):
6053 * textmodes/reftex-sel.el (reftex-select-label-map)
6054 (reftex-select-bib-map):
6055 * textmodes/reftex-index.el (reftex-index-map)
6056 (reftex-index-phrases-map):
6057 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6058 * progmodes/meta-mode.el (meta-mode-map):
6059 * novice.el (disabled-command-hook):
6060 * loadhist.el (unload-hook-features-list):
6061 * frame.el (blink-cursor):
6062 * files.el (find-file-not-found-hooks, write-file-hooks)
6063 (write-contents-hooks):
6064 * emulation/tpu-edt.el (GOLD-map):
6065 * emacs-lock.el (emacs-lock-from-exiting):
6066 * emacs-lisp/generic.el (generic-font-lock-defaults):
6067 * emacs-lisp/chart.el (chart-map):
6068 * dos-fns.el (register-name-alist):
6069 * dired-x.el (dired-omit-files-p):
6070 * desktop.el (desktop-enable):
6071 * cus-edit.el (custom-mode-hook):
6072 * buff-menu.el (buffer-menu-mode-hook):
6073 * bookmark.el (bookmark-read-annotation-text-func)
6074 (bookmark-exit-hooks):
6075 * allout.el (allout-mode-deactivate-hook)
6076 (allout-exposure-change-hook, allout-structure-added-hook)
6077 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6078 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6079 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6080 comes before the corresponding variable's definition.
6081
6082 2012-05-12 Chong Yidong <cyd@gnu.org>
6083
6084 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6085 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6086 (Buffer-menu-mode-map): Bind it.
6087 (Buffer-menu--pretty-name): Add a mouse-face property.
6088
6089 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6092 (prolog-upper-case-string, prolog-lower-case-string)
6093 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6094 (prolog-use-smie, prolog-smie-grammar): New vars.
6095 (prolog-smie-forward-token, prolog-smie-backward-token)
6096 (prolog-smie-rules): New funs.
6097 (prolog-comment-indent): Remove.
6098 (prolog-mode-variables): Use default comment indentation instead.
6099 Setup SMIE.
6100 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6101 (prolog-mode): Don't call them any more.
6102 (prolog-electric-colon, prolog-electric-dash)
6103 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6104
6105 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6106
6107 * minibuffer.el (completion--twq-all): Again, allow case differences.
6108
6109 * term.el: Move keymap initialization code to be more idiomatic.
6110 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6111 (term-terminal-menu): Move initialization into declaration.
6112 (term-escape-char): Let the user set it in her .emacs.
6113
6114 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6115 Provide SMIE-based indentation (not enabled by default yet).
6116 (sh-mode-map): Don't bind electric keys.
6117 Use electric-pair-mode instead of skeleton-pair.
6118 (sh-assignment-regexp): Fit within 80 columns.
6119 (sh-indent-supported): Specify actual shell name instead of boolean.
6120 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6121 (sh-maybe-here-document): Use it. Make obsolete.
6122 (sh-electric-here-document-mode) New minor mode.
6123 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6124 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6125 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6126 (sh-smie-rc-grammar, sh-use-smie): New vars.
6127 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6128 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6129 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6130 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6131 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6132 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6133 (sh-set-shell): Use smie-setup if requested.
6134
6135 * term.el (term-set-escape-char): Properly set term-escape-char.
6136 See http://stackoverflow.com/questions/10524656.
6137
6138 2012-05-10 Chong Yidong <cyd@gnu.org>
6139
6140 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6141 Use url-generic-parse-url, and handle host names and Windows
6142 filenames properly.
6143 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6144 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6145 URL schemes to work on.
6146 (ffap--toggle-read-only): New function.
6147 (ffap-read-only, ffap-read-only-other-window)
6148 (ffap-read-only-other-frame): Use it.
6149 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6150 necessary for ffap-url-unwrap-remote.
6151
6152 2012-05-10 Dave Abrahams <dave@boostpro.com>
6153
6154 * cus-start.el (create-lockfiles): Add it.
6155
6156 2012-05-09 Chong Yidong <cyd@gnu.org>
6157
6158 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6159 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6160
6161 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6164
6165 2012-05-09 Chong Yidong <cyd@gnu.org>
6166
6167 * ansi-color.el (ansi-color-process-output): Check for validity of
6168 comint-last-output-start before using it. This avoids a bad
6169 interaction with gdb-mi's input/output buffer.
6170
6171 2012-05-09 Glenn Morris <rgm@gnu.org>
6172
6173 * files.el (dir-locals-read-from-file):
6174 Mention dir-locals in any error message.
6175
6176 2012-05-09 Chong Yidong <cyd@gnu.org>
6177
6178 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6179 package (Bug#11410).
6180
6181 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6182 variables into description.
6183
6184 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6187 shell-delimiter-argument-list (bug#11348).
6188 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6189
6190 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6191
6192 * textmodes/rst.el: Silence byte-compiler warnings.
6193 (rst-re-alist, rst-reset-section-caches): Move around.
6194 (rst-re): Use `characterp', not `char-valid-p'.
6195 (font-lock-beg, font-lock-end): Declare.
6196
6197 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6198 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6199
6200 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6201
6202 2012-05-08 Glenn Morris <rgm@gnu.org>
6203
6204 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6205
6206 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * vc/log-edit.el: Add GNU coding standards highlighting.
6209 (log-edit-font-lock-gnu-style)
6210 (log-edit-font-lock-gnu-keywords): New vars.
6211 (log-edit-font-lock-keywords): New fun.
6212 (log-edit-mode): Don't fold case in font-lock.
6213 (log-edit-font-lock-keywords): Do not assume case-folding.
6214
6215 * imenu.el: Misc cleanup. Make docstrings out of comments.
6216 Use lexical-binding.
6217 (imenu--index-alist, imenu--last-menubar-index-alist)
6218 (imenu-menubar-modified-tick): Use defvar-local.
6219 (imenu--split-menu): Remove unused var.
6220 (imenu--cleanup-seen): Declare as global.
6221 (imenu--cleanup): Use dolist.
6222
6223 * subr.el (defvar-local): Add debug spec and doc-string position.
6224
6225 2012-05-08 Glenn Morris <rgm@gnu.org>
6226
6227 * language/burmese.el, language/cham.el, language/czech.el:
6228 * language/english.el, language/georgian.el, language/greek.el:
6229 * language/japanese.el, language/khmer.el, language/korean.el:
6230 * language/lao.el, language/misc-lang.el, language/romanian.el:
6231 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6232 * language/thai.el, language/utf-8-lang.el:
6233 Remove no-byte-compile setting.
6234
6235 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6236
6237 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6238
6239 * progmodes/make-mode.el (makefile-browse):
6240 Remove unnecessary interactive. (Bug#11324)
6241
6242 2012-05-07 Glenn Morris <rgm@gnu.org>
6243
6244 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6245
6246 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6247
6248 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * loadup.el: Preload newcomment.el.
6251 * newcomment.el: Move autoload-only code to toplevel.
6252
6253 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6254 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6255 Handle new :right-align column property.
6256 (tabulated-list-print-col): Idem, plus use `display' text-property to
6257 try and preserve alignment for variable pitch fonts.
6258
6259 2012-05-07 Chong Yidong <cyd@gnu.org>
6260
6261 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6262 (tabulated-list-use-header-line): New var.
6263 (tabulated-list-init-header): Use it.
6264 (tabulated-list-print-fake-header): New function.
6265 (tabulated-list-print): Use it.
6266 (tabulated-list-sort-button-map): Add non-header-line commands.
6267 (tabulated-list-init-header): Add column name property to basic
6268 labels as well.
6269 (tabulated-list-col-sort): Handle non-header-line button case.
6270 (tabulated-list--sort-by-column-name): Fix a corner case.
6271
6272 * buff-menu.el (list-buffers--refresh):
6273 Handle Buffer-menu-use-header-line.
6274
6275 2012-05-06 Chong Yidong <cyd@gnu.org>
6276
6277 * buff-menu.el: Convert to Tabulated List mode.
6278 (Buffer-menu-buffer+size-width): Make obsolete.
6279 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6280 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6281 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6282 documentation into docstring of buffer-menu.
6283 (Buffer-menu-toggle-files-only): Add an informative message.
6284 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6285 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6286 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6287 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6288 (Buffer-menu-execute, Buffer-menu-select)
6289 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6290 (Buffer-menu-bury): Use Tabulated List machinery.
6291 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6292 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6293 Delete.
6294 (list-buffers--refresh): New function.
6295 (list-buffers-noselect): Use it.
6296 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6297 (Buffer-menu--pretty-file-name): New helper functions.
6298
6299 * loadup.el: Preload tabulated-list.
6300
6301 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6302 tabulated-list-sort-column.
6303 (tabulated-list-init-header): Add the initial aligning space even
6304 if tabulated-list-padding is zero.
6305
6306 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6307
6308 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6309 whose cdr is not a cons cell correctly (bug#11038).
6310
6311 2012-05-06 Chong Yidong <cyd@gnu.org>
6312
6313 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6314 Accept additional plist in column descriptors.
6315 (tabulated-list-init-header): Obey it.
6316 (tabulated-list-get-entry): New function.
6317 (tabulated-list-put-tag): Use it. Use string-width instead of
6318 length.
6319 (tabulated-list--column-number): New function.
6320 (tabulated-list-print): Use it.
6321 (tabulated-list-print-col): New function.
6322 Set `tabulated-list-column-name' property on each column's text.
6323 (tabulated-list-print-entry): Use it.
6324 (tabulated-list-delete-entry, tabulated-list-set-col):
6325 New functions.
6326 (tabulated-list-sort-column): New command (Bug#11337).
6327
6328 * buff-menu.el (list-buffers): Move C-x C-b binding from
6329 buff-menu.el to bindings.el.
6330
6331 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6332 :advertised-binding feature.
6333
6334 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6335
6336 * progmodes/compile.el (compilation-internal-error-properties):
6337 Calculate start position correctly when end-col is set but
6338 end-line is not (Bug#11382).
6339
6340 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6341
6342 * man.el (Man-unindent): Use text-property-default-nonsticky to
6343 prevent untabify from inheriting face properties (Bug#11408).
6344
6345 2012-05-05 Stefan Merten <smerten@oekonux.de>
6346
6347 * textmodes/rst.el: Major merge with upstream development up to
6348 Docutils SVN r7399 / rst.el V1.2.1.
6349
6350 Clarify maintainership and authors.
6351
6352 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6353 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6354 (rst-official-version, rst-official-cvs-rev, rst-version)
6355 (rst-package-emacs-version-alist): New functions and variables
6356 for version information.
6357
6358 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6359 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6360 (rst-mode-syntax-table, rst-mode): New and corrected functions
6361 and variables representing reStructuredText features.
6362
6363 (rst-re): New function for reStructuredText regexes. Use in
6364 many places.
6365
6366 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6367 (rst-mode-map): Rebind keys.
6368
6369 (rst-mode-lazy, rst-font-lock-keywords)
6370 (rst-font-lock-extend-region)
6371 (rst-font-lock-extend-region-internal)
6372 (rst-font-lock-extend-region-extend)
6373 (rst-font-lock-find-unindented-line-limit)
6374 (rst-font-lock-find-unindented-line-match)
6375 (rst-adornment-level, rst-font-lock-adornment-level)
6376 (rst-font-lock-adornment-match)
6377 (rst-font-lock-handle-adornment-pre-match-form)
6378 (rst-font-lock-handle-adornment-matcher): Major revision of
6379 font-locking. Integrate with other code. Use `jit-lock-mode'.
6380
6381 (rst-preferred-adornments, rst-adjust-hook)
6382 (rst-new-adornment-down, rst-preferred-bullets)
6383 (rst-preferred-bullets, rst-indent, rst-indent-width)
6384 (rst-indent-field, rst-indent-literal-normal)
6385 (rst-indent-literal-minimized, rst-indent-comment): Change,
6386 extend and improve customization.
6387
6388 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6389 (rst-normalize-cursor-position, rst-get-decoration)
6390 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6391 (rst-rstrip, rst-toc-insert-find-delete-contents)
6392 (rst-shift-fill-region, rst-compute-bullet-tabs)
6393 (rst-debug-print-tabs, rst-debug-mark-found)
6394 (rst-shift-region-guts, rst-shift-region-right)
6395 (rst-shift-region-left, rst-use-char-classes)
6396 (rst-font-lock-keywords-function)
6397 (rst-font-lock-indentation-point)
6398 (rst-font-lock-find-unindented-line-begin)
6399 (rst-font-lock-find-unindented-line-end)
6400 (rst-font-lock-find-unindented-line)
6401 (rst-font-lock-adornment-point, rst-font-lock-level)
6402 (rst-adornment-level-alist): Remove functions and variables.
6403
6404 (rst-compare-adornments, rst-get-adornment-match)
6405 (rst-suggest-new-adornment, rst-get-adornments-around)
6406 (rst-adornment-complete-p, rst-get-next-adornment)
6407 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6408 (rst-straighten-adornments): Standardize function names to
6409 use "adornment" instead of "decoration". Correct callers.
6410 Similar standardizing in many places.
6411
6412 (rst-update-section, rst-adjust, rst-promote-region)
6413 (rst-enumerate-region, rst-bullet-list-region)
6414 (rst-repeat-last-character): Correct use of `interactive'.
6415
6416 (rst-classify-adornment, rst-find-all-adornments)
6417 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6418 (rst-find-leftmost-column, rst-repeat-last-character):
6419 Refactor functions.
6420
6421 (rst-find-title-line, rst-reset-section-caches)
6422 (rst-get-adornments-around, rst-adjust-adornment-work)
6423 (rst-arabic-to-roman, rst-roman-to-arabic)
6424 (rst-insert-list-pos, rst-insert-list-new-item)
6425 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6426 New functions.
6427
6428 (rst-all-sections, rst-section-hierarchy)
6429 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6430 New variables.
6431
6432 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6433 configuration instead of only buffer. Change where necessary.
6434
6435 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6436 (rst-shift-region, rst-adaptive-fill): New functions for
6437 indentation and filling.
6438
6439 (rst-comment-line-break, rst-comment-indent)
6440 (rst-comment-insert-comment, rst-comment-region)
6441 (rst-uncomment-region): New functions for handling comments.
6442
6443 (rst-compile): Quote shell arguments.
6444
6445 (rst-compile-pdf-preview, rst-compile-slides-preview):
6446 Delete temporary files after use.
6447
6448 2012-05-05 Glenn Morris <rgm@gnu.org>
6449
6450 * calendar/cal-html.el: Optionally include holidays in the output.
6451 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6452 (cal-html-holidays): New option.
6453 (cal-html-css-default): Add holiday entry.
6454 (holiday-in-range): Autoload it.
6455 (cal-html-htmlify-entry): Add optional class argument.
6456 (cal-html-htmlify-list): Add optional holidays argument.
6457 (cal-html-insert-agenda-days): Include holidays in the output.
6458 (cal-html-one-month): Maybe include holidays.
6459
6460 * calendar/holidays.el (holiday-in-range):
6461 Move here from cal-tex-list-holidays.
6462 * calendar/cal-tex.el (cal-tex-list-holidays):
6463 Make it an obsolete alias for holiday-in-range. Update all callers.
6464
6465 2012-05-05 Chong Yidong <cyd@gnu.org>
6466
6467 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6468 Nextstep.
6469
6470 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6471
6472 * files.el (file-auto-mode-skip): New var.
6473 (set-auto-mode-1): Use it.
6474
6475 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * repeat.el: Use lexical-binding.
6478 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6479 (repeat-undo-count): Remove.
6480 (repeat):
6481 * progmodes/octave-mod.el (octave-abbrev-start):
6482 * progmodes/f90.el (f90-abbrev-start):
6483 * face-remap.el (text-scale-adjust):
6484 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6485
6486 * emacs-lisp/pcase.el (pcase--let*): New function.
6487 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6488 a bit more.
6489 (pcase--split-pred): Be more clever about ruling out overlap between
6490 a predicate and some constant pattern.
6491 (pcase--q1): Use `null' instead of (eq foo nil).
6492
6493 * subr.el (setq-local, defvar-local): New macros.
6494 (kbd): Redefine as an alias.
6495 (with-selected-window): Leave unrelated frames alone.
6496 (set-temporary-overlay-map): New function.
6497
6498 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * subr.el (user-error): New function.
6501 * window.el (switch-to-buffer):
6502 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6503 (smerge-match-conflict):
6504 * simple.el (previous-matching-history-element)
6505 (next-matching-history-element, goto-history-element, undo-more)
6506 (undo-start):
6507 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6508 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6509 (next-file, tags-loop-scan, list-tags, complete-tag):
6510 * progmodes/compile.el (compilation-loop):
6511 * mouse.el (mouse-minibuffer-check):
6512 * man.el (Man-bgproc-sentinel, Man-goto-page):
6513 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6514 (Info-history-forward, Info-follow-reference, Info-menu)
6515 (Info-extract-menu-item, Info-extract-menu-counting)
6516 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6517 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6518 (Info-next-reference, Info-prev-reference, Info-index)
6519 (Info-index-next, Info-follow-nearest-node)
6520 (Info-copy-current-node-name):
6521 * imenu.el (imenu--make-index-alist)
6522 (imenu-default-create-index-function, imenu-add-to-menubar):
6523 * files.el (basic-save-buffer, recover-file):
6524 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6525 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6526 (checkdoc-message-text, checkdoc-defun):
6527 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6528 * cus-edit.el (customize-changed-options, customize-rogue)
6529 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6530 (custom-variable-mark-to-reset-standard)
6531 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6532 (custom-file):
6533 * completion.el (check-completion-length):
6534 * comint.el (comint-search-arg)
6535 (comint-previous-matching-input-string-position)
6536 (comint-previous-matching-input)
6537 (comint-replace-by-expanded-history-before-point, comint-send-input)
6538 (comint-copy-old-input, comint-backward-matching-input)
6539 (comint-goto-process-mark, comint-set-process-mark):
6540 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6541 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6542
6543 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * dabbrev.el (dabbrev--ignore-case-p): New function.
6546 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6547 Use it.
6548
6549 * files.el (automount-dir-prefix): Mark as obsolete.
6550
6551 2012-05-04 Glenn Morris <rgm@gnu.org>
6552
6553 * patcomp.el, play/bruce.el: Move to obsolete/.
6554
6555 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6556
6557 Fix minor Y10k bugs.
6558 * arc-mode.el (archive-unixdate):
6559 * autoinsert.el (auto-insert-alist):
6560 * calc/calc-forms.el (math-this-year):
6561 * emacs-lisp/copyright.el (copyright-current-year)
6562 (copyright-update-year, copyright):
6563 * tar-mode.el (tar-clip-time-string):
6564 * time.el (display-time-update):
6565 Don't assume years have 4 digits.
6566
6567 2012-05-04 Chong Yidong <cyd@gnu.org>
6568
6569 * dos-w32.el (file-name-buffer-file-type-alist)
6570 (direct-print-region-use-command-dot-com):
6571 * ffap.el (ffap-menu-regexp):
6572 * find-file.el (ff-special-constructs):
6573 * follow.el (follow-debug):
6574 * forms.el (forms--debug):
6575 * iswitchb.el (iswitchb-all-frames):
6576 * ido.el (ido-all-frames):
6577 * emacs-lisp/timer.el (timer-max-repeats):
6578 * mail/feedmail.el (feedmail-mail-send-hook)
6579 (feedmail-mail-send-hook-queued):
6580 * mail/footnote.el (footnote-signature-separator):
6581 * mail/mailabbrev.el (mail-alias-separator-string)
6582 (mail-abbrev-mode-regexp):
6583 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6584 * progmodes/idlwave.el (idlwave-libinfo-file)
6585 (idlwave-default-completion-case-is-down)
6586 (idlwave-library-routines): Convert defvars to defcustoms.
6587
6588 * mail/rmail.el (rmail-decode-mime-charset):
6589 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6590 (idlwave-shell-fix-inserted-breaks)
6591 (idlwave-shell-activate-alt-keybindings)
6592 (idlwave-shell-use-breakpoint-glyph):
6593 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6594
6595 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6598
6599 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6600
6601 * progmodes/verilog-mode.el (font-lock-keywords):
6602 Fix mis-highligting auto. Reported by Craig Barner.
6603 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6604 defines from global name space. Reported by Dan Dever.
6605 (verilog-auto-reset, verilog-auto-reset-widths)
6606 (verilog-auto-tieoff): Support using unbased numbers for
6607 AUTORESET and AUTOTIEOFF.
6608 (verilog-submit-bug-report): Update variable list.
6609 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6610 parenthesis from not matching. Reported by Michael Rytting.
6611 (verilog-auto-template-lint): Fix hash error when linting modules
6612 with no used templates.
6613 (verilog-warn, verilog-warn-error)
6614 (verilog-warn-fatal): When non-interactive report multiple
6615 warnings before exiting. Suggested by Brad Dobbie.
6616 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6617 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6618 to report unused template errors. Reported by Brad Dobbie.
6619 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6620 nets, bug438. Reported by Vns Blore.
6621 (verilog-auto-inout-module, verilog-auto-reg)
6622 (verilog-read-decls, verilog-read-sub-decls-sig)
6623 (verilog-signals-edit-wire-reg, verilog-signals-with):
6624 Fix passing of Verilog data types in ANSI input/output ports
6625 such as "output logic" into the AUTOs. Special case "wire" and
6626 "reg" for backwards compatibility presuming Verilog 2001.
6627 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6628 (verilog-preprocess): Fix replication of preprocess output.
6629 Reported by Brad Dobbie.
6630 (verilog-auto-inst-interfaced-ports):
6631 Create verilog-auto-inst-interfaced-ports, bug429.
6632 Reported by Julian Gorfajn.
6633 (verilog-after-save-font-hook)
6634 (verilog-before-save-font-hook): New variable.
6635 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6636 (verilog-save-font-mods): Wrap disabling fontification, reported
6637 by David Rogoff.
6638 (verilog-do-indent, verilog-pretty-declarations-auto)
6639 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6640 Reported by Pierre-David Pfister.
6641 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6642 of class declarations, bug292. Reported by Kevin Heilman.
6643 (verilog-read-decls): Fix 'parameter type' not appearing in
6644 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6645 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6646 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6647 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6648 Reported by David Kravitz.
6649
6650 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6651
6652 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6653 assignment with tests in ifs and for loops.
6654 (verilog-extended-complete-re, verilog-complete-reg): Change so
6655 that DPI inport functions don't look like fuction declarations.
6656 (verilog-pretty-expr): Don't line up assignment
6657 operations to the test and increment in if and for loops
6658 (verilog-extended-complete-re, verilog-complete-reg): Change so
6659 that DPI inport functions don't look like fuction declarations.
6660
6661 2012-05-03 Kenichi Handa <handa@m17n.org>
6662
6663 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6664 decoding, and show a warning message without signaling an error
6665 (Bug#11282).
6666
6667 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * emacs-lisp/bytecomp.el
6670 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6671 since cconv.el might have introduced :fun-body, internal-make-closure,
6672 and friends for bytecomp to handle (bug#11391).
6673 * custom.el (defcustom): Avoid ((λ ..) ..).
6674
6675 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6678
6679 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * notifications.el (dbus-debug):
6682 * term/linux.el (gpm-mouse-enable):
6683 * term/screen.el (xterm-register-default-colors): Declare.
6684
6685 2012-05-02 Chong Yidong <cyd@gnu.org>
6686
6687 * cus-start.el (gc-cons-percentage, exec-suffixes)
6688 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6689 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6690 (make-cursor-line-fully-visible, void-text-area-pointer)
6691 (font-list-limit): Add customization data.
6692
6693 * allout.el (allout-exposure-change-functions)
6694 (allout-structure-added-functions)
6695 (allout-structure-deleted-functions)
6696 (allout-structure-shifted-functions): Rename abnormal hooks from
6697 *-hook, and convert to defcustoms.
6698 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6699 Convert to defcustoms.
6700 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6701
6702 * allout-widgets.el: Hook callers changed.
6703
6704 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6705
6706 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6707 the yanked message in preference to the default value of
6708 buffer-file-coding-system.
6709
6710 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6711
6712 * window.el (display-buffer--action-function-custom-type):
6713 Fix entry.
6714
6715 2012-05-02 Alan Mackenzie <acm@muc.de>
6716
6717 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6718
6719 2012-05-01 Glenn Morris <rgm@gnu.org>
6720
6721 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6722
6723 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6724
6725 * cus-edit.el (custom-variable-documentation): Simplify with format.
6726
6727 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6728 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * simple.el (suggest-key-bindings, execute-extended-command):
6731 Move from keyboard.c.
6732
6733 2012-05-01 Chong Yidong <cyd@gnu.org>
6734
6735 * follow.el: Eliminate advice.
6736 (set-process-filter, process-filter, sit-for): Advice deleted.
6737 (follow-mode-off-hook): Obsolete hook removed.
6738 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6739 Vars deleted.
6740 (follow-auto): Use a :set function.
6741 (follow-mode): Rewritten. Don't advise process filters.
6742 (follow-switch-to-current-buffer-all, follow-scroll-up)
6743 (follow-scroll-down): Assume follow-mode is bound.
6744 (follow-comint-scroll-to-bottom)
6745 (follow-align-compilation-windows): New functions.
6746 (follow--window-sorter): New function.
6747 (follow-all-followers): Use it to explicitly sort windows by their
6748 positions; don't make assumptions about next-window order.
6749 (follow-windows-start-end, follow-delete-other-windows-and-split)
6750 (follow-calc-win-start): Doc fix.
6751 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6752 vertical-motion unnecessarily.
6753 (follow-adjust-window): New function.
6754 (follow-post-command-hook): Use it.
6755 (follow-call-set-process-filter, follow-call-process-filter)
6756 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6757 (follow-stop-intercept-process-output, follow-generic-filter):
6758 Functions deleted.
6759 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6760 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6761 New functions, replacing advice on scroll-bar-* commands.
6762 (follow-mwheel-scroll): New function (Bug#4112).
6763
6764 * comint.el (comint-adjust-point): New function.
6765 (comint-postoutput-scroll-to-bottom): Use it.
6766 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6767
6768 2012-05-01 Glenn Morris <rgm@gnu.org>
6769
6770 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6771 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6772 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6773 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6774 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6775 Remove no-byte-compile setting.
6776
6777 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6780 all-completions code to not return a number in the last cdr.
6781
6782 2012-04-30 Leo Liu <sdl.web@gmail.com>
6783
6784 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6785 read-only error.
6786
6787 2012-04-29 Chong Yidong <cyd@gnu.org>
6788
6789 * follow.el (follow-calc-win-end): Rewrite to handle partial
6790 screen lines correctly (Bug#8390).
6791 (follow-avoid-tail-recenter): Minor cleanup.
6792
6793 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6794
6795 Avoid the obsolete `assoc' package.
6796 * speedbar.el (speedbar-refresh): Avoid adelete.
6797 (speedbar-file-lists): Simplify and avoid aput.
6798 * man.el (Man--sections, Man--refpages): New vars, replacing
6799 Man-sections-alist and Man-refpages-alist.
6800 (Man-build-section-alist, Man-build-references-alist):
6801 Use them; avoid aput.
6802 (Man--last-section, Man--last-refpage): New vars.
6803 (Man-follow-manual-reference): Use them.
6804 Use the `default' arg of completing-read.
6805 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6806
6807 2012-04-27 Chong Yidong <cyd@gnu.org>
6808
6809 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6810
6811 * startup.el (x-apply-session-resources): New function.
6812
6813 * term/ns-win.el (ns-initialize-window-system):
6814 * term/w32-win.el (w32-initialize-window-system):
6815 * term/x-win.el (x-initialize-window-system): Use it to properly
6816 set menu-bar-mode and other vars from X resources, even if the
6817 initial frame is not a window-system frame (Bug#2299).
6818
6819 * subr.el (read-key): Avoid running filter function when setting
6820 up temporary tool bar entries (Bug#9922).
6821
6822 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6823
6824 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6825 (Bug#11344)
6826
6827 2012-04-27 Chong Yidong <cyd@gnu.org>
6828
6829 * select.el (xselect--encode-string): New function, split from
6830 xselect-convert-to-string.
6831 (xselect-convert-to-string): Use it.
6832 (xselect-convert-to-filename, xselect-convert-to-os)
6833 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6834 returned strings are properly encoded (Bug#11315).
6835
6836 2012-04-27 Chong Yidong <cyd@gnu.org>
6837
6838 * simple.el (delete-active-region): Move to killing custom group.
6839
6840 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6841
6842 * progmodes/which-func.el (which-func-current): Quote %
6843 characters for mode-line processing.
6844
6845 2012-04-27 Chong Yidong <cyd@gnu.org>
6846
6847 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6848 reaching eob (Bug#11286).
6849
6850 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6851
6852 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6853 (gdb): Make it buffer-local and init to zero.
6854 (gdb-control-commands-regexp): New variable.
6855 (gdb-send): Don't wrap in "-interpreter-exec console" if
6856 gdb-control-level is positive. Increment gdb-control-level
6857 whenever the command matches gdb-control-commands-regexp, and
6858 decrement it each time the command is "end". (Bug#11279)
6859
6860 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6861
6862 * window.el (adjust-window-trailing-edge, enlarge-window)
6863 (shrink-window, window-resize):
6864 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6865 windows (Bug#11276).
6866
6867 2012-04-27 Chong Yidong <cyd@gnu.org>
6868
6869 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6870 fix "missing prefix" warning. All callers changed.
6871
6872 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * emacs-lisp/assoc.el: Move to obsolete/.
6875
6876 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6879
6880 * term/ns-win.el (ns-define-service):
6881 * progmodes/pascal.el (pascal-goto-defun):
6882 * progmodes/js.el (js--read-tab):
6883 * progmodes/etags.el (tags-lazy-completion-table):
6884 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6885 * emacs-lisp/ewoc.el (ewoc--wrap):
6886 * emacs-lisp/assoc.el (aput, adelete, amake):
6887 * doc-view.el (doc-view-convert-current-doc):
6888 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6889
6890 2012-04-26 Chong Yidong <cyd@gnu.org>
6891
6892 * image.el (image-type-from-buffer): Only return supported image
6893 type (Bug#9045).
6894
6895 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6896 value, for symmetry with diff-end-of-hunk.
6897 (diff-split-hunk, diff-find-source-location)
6898 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6899 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6900 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6901 compute the relevant hunk or file properly (Bug#6005).
6902 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6903
6904 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * vc/vc-mtn.el:
6907 * vc/vc-hg.el:
6908 * vc/vc-git.el:
6909 * vc/vc-dir.el:
6910 * vc/vc-cvs.el:
6911 * vc/vc-bzr.el:
6912 * vc/vc-arch.el:
6913 * vc/vc.el: Replace lexical-let by lexical-binding.
6914 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6915 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6916 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6917
6918 2012-04-26 Chong Yidong <cyd@gnu.org>
6919
6920 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6921 (diff-mode-shared-map): Bind it to / and [remap undo].
6922
6923 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6924 (ediff-window-setup-function): Use it as the default, to set up
6925 windows based on whether the current frame is graphical (Bug#2138).
6926 (ediff-choose-window-setup-function-automatically): Make obsolete.
6927
6928 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6929
6930 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * ffap.el: Remove old code for obsolete package.
6933 (ffap-complete-as-file-p): Remove.
6934
6935 Use completion-table-with-quoting for comint and pcomplete.
6936 * comint.el (comint--unquote&requote-argument)
6937 (comint--unquote-argument, comint--requote-argument): New functions.
6938 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6939 (comint-quote-filename): Use regexp-opt-charset.
6940 (comint--common-suffix, comint--common-quoted-suffix)
6941 (comint--table-subvert): Remove.
6942 (comint-unquote-function, comint-requote-function): New vars.
6943 (comint--complete-file-name-data): Use them with
6944 completion-table-with-quoting.
6945 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6946 * pcomplete.el (pcomplete-arg-quote-list)
6947 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6948 (pcomplete-unquote-argument-function): Default to non-nil.
6949 (pcomplete-unquote-argument): Simplify.
6950 (pcomplete--common-quoted-suffix): Remove.
6951 (pcomplete-requote-argument-function): New var.
6952 (pcomplete--common-suffix): New function.
6953 (pcomplete-completions-at-point): Use completion-table-with-quoting
6954 and completion-table-subvert.
6955
6956 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6957 (minibuffer--double-dollars): Preserve properties.
6958 (completion--sifn-requote): New function.
6959 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6960
6961 * minibuffer.el: Add support for completion of quoted/escaped data.
6962 (completion-table-with-quoting, completion-table-subvert): New funs.
6963 (completion--twq-try, completion--twq-all): New functions.
6964 (completion--nth-completion): New function.
6965 (completion-try-completion, completion-all-completions): Use it.
6966
6967 2012-04-25 Leo Liu <sdl.web@gmail.com>
6968
6969 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6970 Use compilation-message if available to find real filename.
6971
6972 2012-04-25 Chong Yidong <cyd@gnu.org>
6973
6974 * vc/diff-mode.el (diff-setup-whitespace): New function.
6975 (diff-mode): Use it.
6976
6977 * vc/diff.el (diff-sentinel):
6978 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6979 Whitespace mode variables based on diff style (Bug#8612).
6980
6981 2012-04-25 Leo Liu <sdl.web@gmail.com>
6982
6983 * progmodes/python.el (python-send-region): Add suffix .py to the
6984 temp file.
6985
6986 * files.el (auto-mode-alist): Use javascript-mode instead.
6987
6988 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6989
6990 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6991
6992 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6993 (soap-resolve-references-for-array-type): Hack to prevent self
6994 references, see Bug#9.
6995 (soap-parse-envelope): Report the contents of the 'detail' node
6996 when receiving a fault reply.
6997 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6998
6999 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7000 (soap-inspect-simple-type): New function.
7001
7002 * net/soap-client.el (soap-simple-type): New struct.
7003 (soap-default-xsd-types, soap-default-soapenc-types)
7004 (soap-decode-basic-type, soap-encode-basic-type):
7005 support unsignedInt and double basic types.
7006 (soap-resolve-references-for-simple-type)
7007 (soap-parse-simple-type, soap-encode-simple-type): New function.
7008 (soap-parse-schema): Parse xsd:simpleType declarations.
7009
7010 * net/soap-client.el (soap-default-xsd-types)
7011 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7012 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7013 the local name of "soapenc:Array".
7014 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7015 decoding integer, byte and anyURI xsd types.
7016
7017 2012-04-25 Chong Yidong <cyd@gnu.org>
7018
7019 * cus-edit.el (custom-buffer-create-internal): Update header text.
7020
7021 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7022
7023 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7024 settings on 'system-type', not on 'window-system'. On MS-Windows,
7025 set interactive-mode on in GDB.
7026
7027 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7030 (ruby-syntax-propertize-regexp): Remove.
7031 (ruby-syntax-propertize-function): Split regexp into chunks.
7032 Match following code directly.
7033
7034 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7035
7036 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7037 (ruby-syntax-propertize-regexp): New function.
7038 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7039 by a special keyword.
7040
7041 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7042 (ruby-syntax-general-delimiters-goto-beg)
7043 (ruby-syntax-propertize-general-delimiters): New functions.
7044 (ruby-syntax-propertize-function): Use them to handle GDL.
7045 (ruby-font-lock-keywords): Move old handling of GDL...
7046 (ruby-font-lock-syntactic-keywords): .. to here.
7047 (ruby-calculate-indent): Adjust indentation for GDL.
7048
7049 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7050
7051 * notifications.el (top): Remove unneeded declarations.
7052 (notifications-specification-version): Change to "1.2".
7053 (notifications-interface, notifications-notify-method)
7054 (notifications-close-notification-method): Fix docstring.
7055 (notifications-get-capabilities-method): New defconst.
7056 (notifications-notify): Add :action-items, :resident and
7057 :transient hints. Change "image_data" to "image-data" and
7058 "image_path" to "image-path".
7059 (notifications-get-capabilities): New defun.
7060
7061 2012-04-24 Leo Liu <sdl.web@gmail.com>
7062
7063 * progmodes/python.el: Move hideshow setup to the end.
7064
7065 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7066
7067 * window.el (handle-select-window): Clear echo area since this is
7068 no more done by read_char (Bug#11304).
7069
7070 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7073 and `/ M' to filter-derived-mode.
7074 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7075 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7076 (ibuffer-mark-by-mode): Use default rather than initial-input.
7077 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7078
7079 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7080
7081 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7082 (ibuffer-filter-by-derived-mode): New filter.
7083 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7084
7085 2012-04-23 Andreas Politz <politza@fh-trier.de>
7086
7087 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7088
7089 2012-04-23 Chong Yidong <cyd@gnu.org>
7090
7091 * cus-edit.el (customize-apropos, customize-apropos-options):
7092 Disable matching of non-option variables (Bug#11176).
7093 (customize-option, customize-option-other-window)
7094 (customize-changed-options): Doc fix.
7095 (customize-apropos-options, customize-apropos-faces)
7096 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7097
7098 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7099 Fix word list splitting (Bug#11132).
7100 (apropos-symbol, apropos-keybinding, apropos-label)
7101 (apropos-property, apropos-function-button)
7102 (apropos-variable-button, apropos-misc-button): New faces.
7103 (apropos-symbol-face, apropos-keybinding-face)
7104 (apropos-label-face, apropos-property-face, apropos-match-face):
7105 Variables removed (Bug#8396).
7106 (apropos-library-button, apropos-format-plist, apropos-print)
7107 (apropos-print-doc, apropos-describe-plist): Callers changed.
7108
7109 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7110
7111 * net/xesam.el (xesam-mode-map): Use let-bound map in
7112 initialization. (Bug#11292)
7113
7114 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7115
7116 Preserve ispell session localwords when switching back to
7117 original buffer.
7118
7119 * textmodes/ispell.el (ispell-buffer-session-localwords):
7120 New buffer-local variable to hold buffer session localwords.
7121 (ispell-kill-ispell): Add option 'clear to delete session
7122 localwords.
7123 (ispell-command-loop, ispell-change-dictionary)
7124 (ispell-buffer-local-words): Preserve session localwords when
7125 needed.
7126
7127 * textmodes/flyspell.el (flyspell-process-localwords)
7128 (flyspell-do-correct): Preserve session localwords when needed.
7129
7130 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7131
7132 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7133 using obsolete `translation-table-for-input'.
7134 (ispell-word, ispell-process-line, ispell-complete-word):
7135 Use plain `insert' instead of removed `ispell-insert-word'.
7136
7137 2012-04-22 Chong Yidong <cyd@gnu.org>
7138
7139 * cus-edit.el (custom-variable-menu)
7140 (custom-variable-reset-saved, custom-face-menu)
7141 (custom-face-reset-saved): If there is no saved value, make the
7142 "reset-saved" operation bring back the default (Bug#9509).
7143 (custom-face-state): Properly detect themed faces.
7144
7145 * faces.el (face-spec-set): Stop supporting deprecated form of
7146 third arg.
7147
7148 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7149
7150 Move functions from C to Lisp. Make non-blocking method calls
7151 the default. Implement further D-Bus standard interfaces.
7152
7153 * net/dbus.el (dbus-message-internal): Declare function.
7154 Remove unneeded function declarations.
7155 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7156 (dbus-message-type-method-return, dbus-message-type-error)
7157 (dbus-message-type-signal): Declare variables. Remove local
7158 definitions.
7159 (dbus-interface-dbus, dbus-interface-peer)
7160 (dbus-interface-introspectable, dbus-interface-properties)
7161 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7162 Adapt docstring.
7163 (dbus-interface-objectmanager): New defconst.
7164 (dbus-call-method, dbus-call-method-asynchronously)
7165 (dbus-send-signal, dbus-method-return-internal)
7166 (dbus-method-error-internal, dbus-register-service)
7167 (dbus-register-signal, dbus-register-method): New defuns, moved
7168 from dbusbind.c
7169 (dbus-call-method-handler, dbus-setenv)
7170 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7171 New defuns.
7172 (dbus-call-method-non-blocking): Make it an obsolete function.
7173 (dbus-unregister-object, dbus-unregister-service)
7174 (dbus-handle-event, dbus-register-property)
7175 (dbus-property-handler): Obey the new structure of
7176 `bus-registered-objects'.
7177 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7178 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7179 Use `dbus-call-method'.
7180
7181 2012-04-22 Chong Yidong <cyd@gnu.org>
7182
7183 * cus-edit.el (custom-commands, custom-reset-menu)
7184 (Custom-reset-standard): Tweak labels.
7185 (custom-reset-button-menu): Change default to t.
7186 (custom-buffer-create-internal): For the custom-reset-button-menu
7187 case, put the revert button first.
7188 (custom-group-subtitle): New face.
7189 (custom-group-value-create): Align docstring to a specific column.
7190
7191 * wid-edit.el (widget-documentation-link-add): Don't handle
7192 indentation in this function.
7193 (widget-documentation-string-indent-to): New function.
7194 (widget-documentation-string-value-create): Use it.
7195
7196 * autorevert.el (auto-revert):
7197 * epg-config.el (epg):
7198 * ibuffer.el (ibuffer):
7199 * mpc.el (mpc):
7200 * ses.el (ses):
7201 * eshell/eshell.el (eshell):
7202 * net/ange-ftp.el (ange-ftp):
7203 * progmodes/ebnf2ps.el (postscript):
7204 * progmodes/flymake.el (flymake):
7205 * progmodes/prolog.el (prolog):
7206 * progmodes/verilog-mode.el (verilog-mode):
7207 * progmodes/which-func.el (which-func):
7208 * term/xterm.el (xterm):
7209 * textmodes/picture.el (picture):
7210 * textmodes/tildify.el (tildify):
7211 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7212 customization buffers.
7213
7214 2012-04-22 Alan Mackenzie <acm@muc.de>
7215
7216 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7217 Adding a ) can hide the resulting (..) from searches. Fix it.
7218 Bound the backward search to the position of the existing (.
7219
7220 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * progmodes/verilog-mode.el (verilog-mode): Check whether
7223 which-func-modes is t before adding verilog-mode.
7224 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7225
7226 2012-04-21 Leo Liu <sdl.web@gmail.com>
7227
7228 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7229
7230 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7231
7232 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7233 filling of the last column of a table (Bug#5635).
7234 (woman-find-next-control-line): New arg, specifying an additional
7235 regexp component for the control line.
7236 (woman2-roff-buffer): Use it.
7237 (woman-break-table): New function.
7238 (woman2-TS): Use it.
7239
7240 2012-04-21 Chong Yidong <cyd@gnu.org>
7241
7242 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7243 (woman-horizontal-escapes, woman-negative-vertical-space)
7244 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7245 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7246
7247 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7248
7249 * minibuffer.el (completion-file-name-table): Complete user names.
7250
7251 2012-04-20 Leo Liu <sdl.web@gmail.com>
7252
7253 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7254 and pcase-let*.
7255
7256 2012-04-20 Chong Yidong <cyd@gnu.org>
7257
7258 * server.el (server-execute): Respect initial-buffer-choice if it
7259 is a string and there are no files to open (Bug#2825).
7260 (server-create-window-system-frame, server-create-tty-frame):
7261 Don't switch buffers here.
7262 (server-process-filter): Only try to open a window system frame if
7263 compiled with graphical support (Bug#8314).
7264
7265 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7266
7267 * battery.el (battery-echo-area-format): Display remaining time
7268 for sysfs backend too (Bug#11269).
7269 (battery-linux-sysfs): Fix conditional for the charge.
7270
7271 2012-04-20 Chong Yidong <cyd@gnu.org>
7272
7273 * progmodes/gdb-mi.el (gdb): Revert previous change.
7274 (gdb-inferior-io--init-proc): New function.
7275 (gdb-init-1): Use it.
7276 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7277 responsible for allocating a new pty and hooking it to gdb when
7278 the old pty gets an EIO due to process exit.
7279 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7280 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7281 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7282
7283 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7284
7285 * window.el (window-min-size, window-sizable, window-min-delta)
7286 (window-max-delta, window--resizable, window-resizable)
7287 (window-total-size, window-full-height-p, window-full-width-p)
7288 (window-in-direction, window--resize-mini-window, window-resize)
7289 (window--resize-child-windows-normal)
7290 (window--resize-child-windows, window--resize-siblings)
7291 (window--resize-this-window, adjust-window-trailing-edge)
7292 (enlarge-window, shrink-window): Doc fixes.
7293
7294 2012-04-20 Chong Yidong <cyd@gnu.org>
7295
7296 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7297 New function to call delete-process on the gdb-inferior buffer's pty.
7298 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7299 pty process (Bug#11273).
7300 (gdb-update): New arg to suppress talking to the gdb process.
7301 (gdb-done-or-error): Use it.
7302 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7303 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7304 sentinel not being called.
7305
7306 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7307
7308 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7309
7310 2012-04-20 Glenn Morris <rgm@gnu.org>
7311
7312 * net/network-stream.el (open-network-stream): Doc fix.
7313
7314 2012-04-20 Chong Yidong <cyd@gnu.org>
7315
7316 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7317
7318 2012-04-20 Alan Mackenzie <acm@muc.de>
7319
7320 Ensure searching for keywords is case sensitive.
7321
7322 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7323 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7324 (c-defun-name, c-mark-function, c-cpp-define-name)
7325 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7326 (c-context-line-break): Bind case-fold-search to nil.
7327
7328 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7329 Bind case-fold-search to nil.
7330
7331 2012-04-20 Chong Yidong <cyd@gnu.org>
7332
7333 * mail/sendmail.el (mail-bury): Call return action with the right
7334 Rmail buffer (Bug#11242).
7335
7336 * server.el (server-process-filter): Handle corner case where both
7337 tty and nowait options are present (Bug#11102).
7338
7339 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7340
7341 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7342 (top level): Put into the executable the ident-style '$Id:' tag on
7343 windows-nt as well.
7344
7345 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * electric.el (electric-indent-post-self-insert-function): Check that
7348 electric-indent-mode is enabled in current buffer.
7349
7350 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7351
7352 * imenu.el (imenu-progress-message): Restore; it is "used" in
7353 erc/erc-imenu.el and net/snmp-mode.el.
7354
7355 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7358 (mouse-avoidance-nudge-mouse): Remove unused binding.
7359
7360 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7361
7362 * descr-text.el (describe-char):
7363 * progmodes/python.el (python-describe-symbol):
7364 Don't call `toggle-read-only', set `buffer-read-only'.
7365
7366 * imenu.el (imenu-default-goto-function): Mark unused args.
7367 (imenu-progress-message): Remove obsolete macro; all callers changed.
7368
7369 * subr.el (keymap-canonicalize): Remove unused binding.
7370 (read-passwd): Mark unused arg.
7371
7372 * tutorial.el (tutorial--display-changes): Remove unused binding.
7373 (tutorial--save-tutorial-to): Remove unused variable.
7374
7375 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7376 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7377 (package-generate-autoloads, package-menu--generate)
7378 (package-menu--find-upgrades): Remove unused bindings.
7379
7380 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7381 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7382 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7383 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7384 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7385 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7386 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7387 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7388 (cua-delete-char-rectangle): Mark unused args.
7389 (cua-align-rectangle): Remove unused binding.
7390
7391 * mail/rmail.el (compilation--message->loc)
7392 (epa--find-coding-system-for-mime-charset): Declare.
7393
7394 * net/dbus.el (dbus-register-service): Declare.
7395 (dbus-name-owner-changed-handler): Remove unused binding.
7396
7397 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7398 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7399 (nxml-scan-backward-within): Mark unused arg.
7400 (nxml-dynamic-markup-word): Remove unused binding.
7401
7402 * mouse.el (mouse-menu-major-mode-map):
7403 * emacs-lisp/authors.el (authors-scan-change-log)
7404 (authors-add-to-author-list):
7405 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7406 * emacs-lisp/smie.el (smie-auto-fill):
7407 * mail/sendmail.el (mail-bury):
7408 * mail/unrmail.el (unrmail):
7409 * net/tls.el (open-tls-stream):
7410 * textmodes/picture.el (picture-mouse-set-point):
7411 Remove unused bindings.
7412
7413 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7414
7415 * net/tramp.el (tramp-action-password): Let-bind
7416 `enable-recursive-minibuffers' to t.
7417
7418 2012-04-18 Sam Steingold <sds@gnu.org>
7419
7420 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7421 instead of 'string to accommodate values like [f11].
7422 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7423 * progmodes/gdb-mi.el: Likewise.
7424
7425 2012-04-18 Leo Liu <sdl.web@gmail.com>
7426
7427 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7428 current buffer.
7429 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7430 LOCAL is nil.
7431
7432 2012-04-18 Chong Yidong <cyd@gnu.org>
7433
7434 * simple.el (line-move): Use forward-line if in batch mode
7435 (Bug#11053).
7436
7437 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7438
7439 * files.el (after-find-file): Do not try to add a final newline if
7440 the buffer is read-only (Bug#11156).
7441
7442 2012-04-17 Richard Stallman <rms@gnu.org>
7443
7444 * mail/rmail.el (rmail-start-mail):
7445 Pass (rmail-mail-return...) for the return-action.
7446 Pass (rmail-yank-current-message...) for the yank-action.
7447 (rmail-yank-current-message): New function.
7448 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7449 (rmail-reply): Likewise.
7450 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7451
7452 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7453 buffer, not the last. Reject temp buffers. Use the rmail-mode
7454 buffer, not newbuf.
7455
7456 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7457
7458 * server.el (server-ensure-safe-dir): Simplify.
7459
7460 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/smie.el: Provide smarter auto-filling.
7463 (smie-auto-fill): New function.
7464 (smie-setup): Use it.
7465
7466 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7467
7468 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7469
7470 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7471 (comment-indent): Use it.
7472
7473 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7474
7475 * ses.el: The overall change is to add cell renaming, that is
7476 setting fancy names for cell symbols other than name matching
7477 "\\`[A-Z]+[0-9]+\\'" regexp .
7478 (ses-localvars): Add ses--renamed-cell-symb-list.
7479 (ses-create-cell-variable): New defun.
7480 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7481 (ses-relocate-formula): Relocate formulas only for cells the
7482 symbols of which are not renamed, i.e. symbols whose names do not
7483 match regexp "\\`[A-Z]+[0-9]+\\'".
7484 (ses-relocate-all): Relocate values only for cells the symbols of
7485 which are not renamed.
7486 (ses-load): Create cells variables as the (ses-cell ...) are read,
7487 in order to check row col consistency with cell symbol name only
7488 for cells that are not renamed.
7489 (ses-replace-name-in-formula): New defun.
7490 (ses-rename-cell): New defun.
7491
7492 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7493
7494 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7495 New option (bug#11118).
7496 (perl-calculate-indent): Respect it.
7497
7498 2012-04-17 Glenn Morris <rgm@gnu.org>
7499
7500 * dired-aux.el (dired-mark-read-string): Doc fix.
7501
7502 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7503
7504 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7505 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7506
7507 2012-04-17 Glenn Morris <rgm@gnu.org>
7508
7509 * mouse.el (mouse-drag-track):
7510 * speedbar.el (speedbar-frame-mode):
7511 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7512
7513 2012-04-16 Leo Liu <sdl.web@gmail.com>
7514
7515 * progmodes/python.el: Trivial cleanup.
7516
7517 2012-04-16 Glenn Morris <rgm@gnu.org>
7518
7519 * vc/vc.el (vc-string-prefix-p):
7520 * vc/pcvs-util.el (cvs-string-prefix-p):
7521 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7522 * mpc.el (mpc-string-prefix-p):
7523 Make all of these into obsolete aliases for string-prefix-p.
7524 Update callers.
7525 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7526
7527 * textmodes/two-column.el: Move custom options to the start.
7528 (frame-width): Remove compat definition.
7529 (2C-associate-buffer, 2C-dissociate):
7530 Use with-current-buffer rather than save-excursion.
7531 (2C-dissociate): Force a mode-line update.
7532 (2C-autoscroll): Use ignore-errors.
7533
7534 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7535 Autoload trivia.
7536
7537 * emacs-lisp/cl-extra.el (*random-state*):
7538 Remove unnecessary declaration.
7539
7540 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7541
7542 * play/cookie1.el (cookie-snarf):
7543 Give an explicit error if input file cannot be read.
7544
7545 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7546
7547 * progmodes/perl-mode.el (c-macro-expand):
7548 Remove unnecessary autoload (it is in loaddefs.el).
7549
7550 * textmodes/picture.el (picture-desired-column)
7551 (picture-update-desired-column): Convert comments to doc-strings.
7552 (picture-substitute): Remove function.
7553 (picture-mode-map): Initialize in the defvar.
7554
7555 * woman.el: Remove eval-after-load for tar-mode.
7556 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7557 (woman-tar-extract-file): Autoload it.
7558
7559 * frame.el (automatic-hscrolling): Make this alias obsolete.
7560
7561 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7562
7563 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7564 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7565 (ispell-dictionary-base-alist): Revert to original XEmacs
7566 friendly version for default. [:alpha:] will be added in
7567 `ispell-set-spellchecker-params' if needed.
7568
7569 2012-04-16 Chong Yidong <cyd@gnu.org>
7570
7571 * image.el (imagemagick--file-regexp): New variable.
7572 (imagemagick-register-types): Use it.
7573 (imagemagick-types-inhibit): Add :set function. Allow new value
7574 of t to inhibit all types.
7575
7576 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7577 so we can preload it.
7578
7579 * loadup.el (fboundp): Preload regexp-opt, needed by
7580 imagemagick-register-types.
7581
7582 2012-04-15 Chong Yidong <cyd@gnu.org>
7583
7584 * frame.el (scrolling): Remove nearly unused customization group.
7585
7586 * scroll-all.el (scroll-all-mode): Move to windows group.
7587
7588 2012-04-15 Chong Yidong <cyd@gnu.org>
7589
7590 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7591
7592 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7595 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7596
7597 2012-04-15 Glenn Morris <rgm@gnu.org>
7598
7599 * simple.el (process-file-side-effects): Doc fix.
7600
7601 2012-04-15 Glenn Morris <rgm@gnu.org>
7602
7603 * international/mule-cmds.el (set-language-environment): Doc fix.
7604
7605 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * server.el (server-auth-key, server-generate-key): Doc fixes.
7608 (server-get-auth-key): Doc fix. Use `string-match-p'.
7609 (server-start): Reflow docstring.
7610
7611 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7612
7613 * server.el (server-generate-key): `called-interactively-p'
7614 requires a parameter.
7615
7616 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7617
7618 * server.el (server-auth-key): New variable.
7619 (server-generate-key, server-get-auth-key): New function.
7620 (server-start): Use the new variable and functions to allow
7621 setting a permanent server key (bug#9423).
7622
7623 2012-04-14 Leo Liu <sdl.web@gmail.com>
7624
7625 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7626
7627 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7628
7629 Spelling fixes.
7630 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7631 Emacs uses American spelling.
7632
7633 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7634
7635 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7636 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7637 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7638 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7639
7640 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * progmodes/which-func.el (which-func-modes): Change default.
7643
7644 2012-04-14 Kim F. Storm <storm@cua.dk>
7645
7646 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7647 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7648
7649 2012-04-14 Chong Yidong <cyd@gnu.org>
7650
7651 * custom.el (custom-theme-set-variables): Doc fix.
7652
7653 2012-04-14 Glenn Morris <rgm@gnu.org>
7654
7655 * international/mule.el (set-auto-coding-for-load): Doc fix.
7656
7657 2012-04-14 Alan Mackenzie <acm@muc.de>
7658
7659 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7660 imenu work again for Objective C Mode. Correct the *-index values,
7661 these having been disturbed by a previous change in 2011-08.
7662
7663 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7664 Correct two search limits.
7665
7666 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7669
7670 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7671
7672 * international/characters.el: Fix sorting.
7673
7674 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7675
7676 * international/characters.el: Add more missing Latin case pairs.
7677
7678 2012-04-14 Glenn Morris <rgm@gnu.org>
7679
7680 * files.el (dir-locals-set-class-variables): Doc fix.
7681
7682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7683
7684 * international/characters.el: Add set-case-syntax-pair call for
7685 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7686 counterpart. (Bug#11209)
7687
7688 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7689
7690 2012-04-14 Glenn Morris <rgm@gnu.org>
7691
7692 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7693
7694 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7695
7696 * textmodes/ispell.el (ispell-dictionary-base-alist):
7697 Add data for Hebrew.
7698
7699 2012-04-14 Chong Yidong <cyd@gnu.org>
7700
7701 * net/rcirc.el (rcirc-cmd-quit):
7702 Revert 2012-03-18 change (Bug#11192).
7703
7704 2012-04-14 Glenn Morris <rgm@gnu.org>
7705
7706 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7707
7708 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7709
7710 * minibuffer.el (completion-in-region-mode-map):
7711 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7712
7713 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7714
7715 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7716
7717 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7718
7719 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7720 to allow `C-M-f' and `C-M-b' to move to the nearest path
7721 separator (bug#9511).
7722
7723 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7724
7725 * avoid.el: Require cl when compiling. And also move the
7726 `provide' to the end.
7727
7728 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7729
7730 * avoid.el (mouse-avoidance-banish-position): New variable.
7731 (mouse-avoidance-banish-destination): Use it (bug#10165).
7732
7733 2012-04-13 Leo Liu <sdl.web@gmail.com>
7734
7735 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7736
7737 2012-04-13 Ken Brown <kbrown@cornell.edu>
7738
7739 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7740 this is no longer needed now that cygstart understands file:// URLs.
7741 (browse-url-filename-alist): For the same reason, don't modify
7742 file:// URLs on Cygwin.
7743
7744 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7745
7746 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7747 the region on shift if the binding is already shifted (bug#11221).
7748
7749 2012-04-12 Glenn Morris <rgm@gnu.org>
7750
7751 * mail/mailpost.el: Move to obsolete/.
7752
7753 2012-04-12 Drew Adams <drew.adams@oracle.com>
7754
7755 * imenu.el (imenu--generic-function): Ignore invisible definitions
7756 (bug#10123).
7757
7758 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7759
7760 * hexl.el (hexl-bits): New variable.
7761 (hexl-options): Mention the variable in the doc string.
7762 (hexl-rulerise, hexl-line-displen): New functions.
7763 (hexl-mode): Mention the new variable.
7764 (hexl-mode, hexl-current-address, hexl-current-address):
7765 Use the displen.
7766 (hexl-ascii-start-column): New function.
7767 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7768 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7769
7770 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7771
7772 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7773 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7774 the encoding, as expected by hunspell.
7775
7776 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * battery.el (battery--linux-sysfs-regexp): New const.
7779 (battery-status-function): Use it. Remove yeeloong special case.
7780 (battery-yeeloong-sysfs): Remove.
7781 (battery-echo-area-format): Remove yeeloong special case.
7782
7783 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7786 Reported by Noah Friedman.
7787
7788 * subr.el (read-passwd): Use read-string.
7789
7790 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7791
7792 * vcursor.el (vcursor-move): Increase the priority of the overlay
7793 (bug#9663).
7794
7795 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7796
7797 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7798 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7799
7800 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7801
7802 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7803 define-minor-mode (bug#10760).
7804
7805 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7806
7807 * progmodes/grep.el (rgrep): Tweak the find command line so
7808 that directories matching `grep-find-ignored-files' won't be
7809 pruned (bug#10351).
7810
7811 2012-04-11 Chong Yidong <cyd@gnu.org>
7812
7813 * startup.el (command-line): Remove support for long-obsolete
7814 variable font-lock-face-attributes.
7815
7816 2012-04-11 Glenn Morris <rgm@gnu.org>
7817
7818 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7819
7820 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * window.el (window--state-get-1): Obey window-point-insertion-type.
7823
7824 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7825
7826 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7827 to previous function when point is on the first character of a
7828 function. Take care of that in `narrow-to-defun' (bug#6157).
7829
7830 2012-04-11 Glenn Morris <rgm@gnu.org>
7831
7832 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7833 not just file-errors.
7834
7835 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7836 (vc-bzr-sha1): Use internal sha1.
7837
7838 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7841
7842 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7843
7844 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7845 that start in the middle of the line (bug#10496).
7846
7847 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7848
7849 * battery.el (battery-linux-proc-acpi): Only one battery is
7850 discharged at a time, but that seems to confuse battery.el when
7851 computing `rate-type' for the battery not being discharged
7852 (bug#10332).
7853
7854 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7855
7856 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7857
7858 * international/quail.el: Use dolist and simplify.
7859 (quail-define-package, quail-update-keyboard-layout)
7860 (quail-define-rules): Use dolist.
7861 (quail-insert-kbd-layout, quail-get-translation): CSE.
7862
7863 * tmm.el: Use dolist, remove left over hook.
7864 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7865 Use dolist.
7866 (calendar-load-hook): Don't mess with it.
7867
7868 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7869 Use derived-mode-p. Run the diff asynchronously.
7870
7871 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7872
7873 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7874
7875 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7876
7877 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7878 (list-dynamic-libraries--loaded): New function.
7879 (list-dynamic-libraries--refresh): Use it.
7880
7881 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7882
7883 * progmodes/python.el (python-fill-paragraph):
7884 Make python-fill-region in a multiline string work when font-lock is
7885 disabled (bug#7018).
7886
7887 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7888
7889 * language/european.el (cp775): Add oem/legacy (en)coding on
7890 DOS/MS Windows for the Baltic languages. There are still plenty
7891 of texts written in this encoding/codepage (bug#6519).
7892
7893 2012-04-10 Glenn Morris <rgm@gnu.org>
7894
7895 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7896 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7897
7898 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7899
7900 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7901 next-line "n" and previous-line "p" in order to make recentf more
7902 consistent with ibuffer, dired or org-mode (bug#9387).
7903
7904 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7905
7906 * image.el (put-image): Return the overlay created instead of the
7907 optional input string (bug#7834). Note that this may break code
7908 that is (for some reason or other) depending on `put-image'
7909 returning the string.
7910
7911 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7912
7913 * simple.el (zap-to-char): Allow zapping using input methods
7914 (bug#1580).
7915
7916 * textmodes/fill.el (fill-region): Leave point and mark where they
7917 were before filling (bug#5399).
7918
7919 2012-04-09 Glenn Morris <rgm@gnu.org>
7920
7921 * version.el (emacs-bzr-get-version):
7922 Handle lightweight checkouts of local branches.
7923
7924 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7925
7926 * international/characters.el: Recover lost case pairs. (Bug#11209)
7927
7928 2012-04-09 Chong Yidong <cyd@gnu.org>
7929
7930 * custom.el (custom-variable-p): Return nil for non-symbol
7931 arguments instead of signaling an error.
7932 (user-variable-p): Obsolete alias for custom-variable-p.
7933
7934 * apropos.el (apropos-variable):
7935 * files-x.el (read-file-local-variable):
7936 * simple.el (set-variable):
7937 * woman.el (woman-mini-help):
7938 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7939
7940 2012-04-09 Glenn Morris <rgm@gnu.org>
7941
7942 * startup.el (normal-top-level): Don't look for leim-list.el
7943 in places where it will not be found. (Bug#910)
7944
7945 * international/mule-cmds.el (set-default-coding-systems):
7946 * files.el (normal-mode):
7947 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7948 This function was removed with ucs-tables.el in 2008.
7949
7950 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7951
7952 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7953 ispell-encoding8-command to "-i", without a trailing space.
7954 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7955 separate command-line arguments, to specify the encoding, since
7956 that's how hunspell expects it.
7957
7958 2012-04-08 Glenn Morris <rgm@gnu.org>
7959
7960 * loadup.el: Load bindings before cus-start.
7961 This reduces somewhat the number of "rogue" settings in emacs -Q.
7962
7963 2012-04-07 Glenn Morris <rgm@gnu.org>
7964
7965 * version.el (emacs-bzr-get-version): New function.
7966 (emacs-bzr-version): New variable.
7967 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7968 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7969
7970 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7971
7972 * international/uni-bidi.el, international/uni-category.el:
7973 * international/uni-combining.el, international/uni-decimal.el:
7974 * international/uni-decomposition.el, international/uni-digit.el:
7975 * international/uni-lowercase.el, international/uni-mirrored.el:
7976 * international/uni-name.el, international/uni-numeric.el:
7977 * international/uni-titlecase.el, international/uni-uppercase.el:
7978 Update for Unicode 6.1.
7979
7980 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7981
7982 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7983
7984 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7985
7986 * window.el (shrink-window): Mention the `window-min-height'
7987 variable in the doc string.
7988
7989 2012-04-05 Bastien Guerry <bzg@altern.org>
7990
7991 * color.el (color-lighten-name): Fix typo.
7992
7993 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * server.el (server--on-display-p): New function.
7996 (server--on-display-p): Use it.
7997
7998 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7999
8000 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8001 (bug#11145).
8002
8003 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * comint.el (comint--common-quoted-suffix): Check string boundary
8006 before comparing (bug#11158).
8007 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8008
8009 2012-04-04 Chong Yidong <cyd@gnu.org>
8010
8011 * minibuffer.el (completion-extra-properties): Doc fix.
8012
8013 * subr.el (delayed-warnings-hook): Doc fix.
8014
8015 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8016
8017 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8018 selection (Bug#11159).
8019 (epa-insert-keys): Inform that the default public key will be
8020 exported if no key is selected.
8021
8022 2012-04-04 Richard Stallman <rms@gnu.org>
8023
8024 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8025
8026 2012-04-03 Chong Yidong <cyd@gnu.org>
8027
8028 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8029 mail-insert-file, not its obsolete alias mail-attach-file.
8030
8031 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8032
8033 * notifications.el (notifications-notify): Fix docstring.
8034
8035 2012-04-02 Glenn Morris <rgm@gnu.org>
8036
8037 * emacs-lisp/authors.el (authors-aliases): Another addition.
8038
8039 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8040
8041 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8042 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8043 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8044
8045 2012-04-01 Chong Yidong <cyd@gnu.org>
8046
8047 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8048 Handle root directory properly.
8049 (copy-directory): Caller changed.
8050
8051 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8052 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8053
8054 2012-03-31 Glenn Morris <rgm@gnu.org>
8055
8056 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8057
8058 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8059
8060 * calendar/calendar.el (calendar-window-list)
8061 (calendar-hide-window): Restore. (Bug#11140)
8062 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8063
8064 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8065
8066 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8067
8068 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8069 Check if file is a symlink (Bug#10489).
8070
8071 * files.el (copy-directory): Likewise.
8072
8073 2012-03-30 Chong Yidong <cyd@gnu.org>
8074
8075 * image.el (imagemagick-types-inhibit)
8076 (imagemagick-register-types): Doc fix.
8077
8078 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8079
8080 * textmodes/ispell.el (ispell-get-extended-character-mode):
8081 Disable extended-char-mode for hunspell. hunspell does not support it
8082 and treats ~word as ordinary words in pipe mode.
8083
8084 2012-03-30 Glenn Morris <rgm@gnu.org>
8085
8086 * tutorial.el (help-with-tutorial): Ensure local variables don't
8087 happen to make the buffer read-only. (Bug#11127)
8088
8089 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8092 (perl-calculate-indent): Return `noindent' in strings.
8093
8094 2012-03-28 Sam Steingold <sds@gnu.org>
8095
8096 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8097 instead of the broken adhockery which does not prevent calendar
8098 buffers from being displayed at random after exit.
8099 (calendar-window-list, calendar-hide-window): Remove the broken
8100 adhockery.
8101
8102 2012-03-28 Glenn Morris <rgm@gnu.org>
8103
8104 * replace.el (query-replace-map): Doc fix.
8105
8106 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8107
8108 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8109 contents. (Bug#11109)
8110
8111 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8114 (bug#11077).
8115 (avl-tree--check, avl-tree--check-node): New funs.
8116
8117 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8118
8119 * window.el (switch-to-visible-buffer): New option.
8120 (switch-to-prev-buffer, switch-to-next-buffer):
8121 Observe switch-to-visible-buffer. Make sure that checking for a window
8122 showing a buffer already is done on the same frame.
8123
8124 2012-03-27 Glenn Morris <rgm@gnu.org>
8125
8126 * startup.el (mail-host-address): Doc fix.
8127
8128 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8131 than 197 variables.
8132
8133 2012-03-26 Ami Fischman <ami@fischman.org>
8134
8135 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8136
8137 2012-03-26 Glenn Morris <rgm@gnu.org>
8138
8139 * files.el (save-buffers-kill-emacs): Doc fix.
8140
8141 * startup.el (normal-top-level, command-line, command-line-1):
8142 Give them doc strings.
8143
8144 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8145
8146 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8147 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8148
8149 2012-03-25 Chong Yidong <cyd@gnu.org>
8150
8151 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8152 theme if it was previously enabled before (Bug#11031).
8153
8154 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8155 spec with custom-face-get-current-spec if its :shown-value is not
8156 determined yet (Bug#9337).
8157 (customize-create-theme, custom-theme-revert): Doc fixes.
8158
8159 * button.el (button-at): Minor addition to docstring.
8160
8161 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8162
8163 * vc/vc.el (vc-merge): Fix a prompt.
8164
8165 2012-03-24 Chong Yidong <cyd@gnu.org>
8166
8167 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8168 point (Bug#9623).
8169
8170 * button.el (button-at): Minor addition to docstring.
8171
8172 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * newcomment.el (comment-choose-indent): No space after BOL.
8175
8176 2012-03-22 Sam Steingold <sds@gnu.org>
8177
8178 * window.el (switch-to-prev-buffer): Revert last patch because the
8179 bug turned out to be an advertised feature (Elisp manual 28.14).
8180
8181 2012-03-22 Glenn Morris <rgm@gnu.org>
8182
8183 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8184 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8185
8186 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8187
8188 * net/network-stream.el (network-stream-open-starttls): Make error
8189 message under Windows be less misleading.
8190
8191 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8192
8193 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8194 understands (bug#9942).
8195
8196 2012-03-22 Chong Yidong <cyd@gnu.org>
8197
8198 * simple.el (end-of-visible-line): Handle return value of
8199 next-single-property-change properly (Bug#9371).
8200
8201 2012-03-22 Kenichi Handa <handa@m17n.org>
8202
8203 * international/quail.el (quail-insert-kbd-layout): Fix previous
8204 change. To avoid unwanted bidi reordering, use
8205 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8206
8207 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8208
8209 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8210 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8211 (ruby-beginning-of-indent): Be more careful with the difference
8212 between word-boundary and symbol boundary.
8213 (ruby-mode-syntax-table): Make : a symbol constituent.
8214
8215 2012-03-21 Andreas Politz <politza@fh-trier.de>
8216
8217 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8218
8219 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8220
8221 * progmodes/etags.el (tags-completion-at-point-function):
8222 Improve last fix.
8223
8224 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8225
8226 2012-03-21 Sam Steingold <sds@gnu.org>
8227
8228 * progmodes/etags.el (tags-completion-at-point-function):
8229 Avoid the error when point is inside the pattern.
8230
8231 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8232
8233 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8234 line (Bug#10855).
8235
8236 2012-03-21 Drew Adams <drew.adams@oracle.com>
8237
8238 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8239
8240 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8241
8242 * ido.el (ido-set-current-directory, ido-read-internal)
8243 (ido-choose-completion-string, ido-completion-help): Handle nil
8244 value of ido-completion-buffer (Bug#11008).
8245
8246 2012-03-21 Sam Steingold <sds@gnu.org>
8247
8248 * window.el (switch-to-prev-buffer): Do not switch to a visible
8249 window previous buffer, just like with the frame previous buffers.
8250
8251 2012-03-21 Chong Yidong <cyd@gnu.org>
8252
8253 * faces.el (make-face, make-empty-face, copy-face):
8254 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8255 Doc fixes.
8256
8257 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8260 (widget-complete): Remove broken use of it.
8261
8262 2012-03-20 Chong Yidong <cyd@gnu.org>
8263
8264 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8265 Use string-width and truncate-string-width to handle arbitrary
8266 characters.
8267
8268 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8269
8270 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8271 to draw rectangles, not squares. (Regression introduced by revno
8272 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8273
8274 2012-03-18 Chong Yidong <cyd@gnu.org>
8275
8276 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8277 it is not yet defined (for temacs).
8278
8279 2012-03-18 Leo Liu <sdl.web@gmail.com>
8280
8281 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8282
8283 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8284
8285 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8286 (ispell-choices-win-default-height, ispell-silently-savep)
8287 (ispell-dictionary-alist, ispell-encoding8-command)
8288 (ispell-check-version, ispell-aspell-find-dictionary)
8289 (ispell-valid-dictionary-list, ispell-words-keyword)
8290 (ispell-get-word, ispell-internal-change-dictionary)
8291 (ispell-region, ispell-skip-region-list)
8292 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8293 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8294 (ispell-message-text-end, ispell-message)
8295 (ispell-buffer-local-parsing): Doc fix.
8296
8297 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8298
8299 * htmlfontify.el: Add support for code block fontification for ODT
8300 export (Bug #9914).
8301 (hfy-optimisations): Define new option
8302 `body-text-only'
8303 (hfy-fontify-buffer): Honor above setting.
8304 (hfy-begin-span, hfy-end-span): New routines factored out form
8305 `hfy-fontify-buffer'.
8306 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8307 that permit insertion of custom tags.
8308 (hfy-fontify-buffer): Use above handlers.
8309 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8310 (hfy-face-to-css): Re-defined to be a variable.
8311 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8312 over multiple runs. This is made possible by having the caller let
8313 bind a special variable `hfy-user-sheet-assoc'.
8314 (htmlfontify-string): New defun.
8315 (hfy-compile-face-map): Make sure that the last char in the
8316 buffer is correctly fontified.
8317 (hfy-face-resolve-face): Whitespace only change.
8318
8319 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8320
8321 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8322 message more clear.
8323
8324 2012-03-16 Leo Liu <sdl.web@gmail.com>
8325
8326 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8327
8328 2012-03-16 Alan Mackenzie <acm@muc.de>
8329
8330 Further optimise the handling of large macros.
8331
8332 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8333 limit to a call of `c-literal-limits'.
8334 (c-determine-+ve-limit): New function.
8335 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8336 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8337 In CASE 5B, restrict a search limit to 500.
8338 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8339
8340 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8341 Restrict macro bounds to +-500 from after-change's BEG END.
8342
8343 2012-03-16 Leo Liu <sdl.web@gmail.com>
8344
8345 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8346
8347 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8348
8349 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8350 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8351
8352 2012-03-16 Glenn Morris <rgm@gnu.org>
8353
8354 * view.el (view-buffer, view-buffer-other-window)
8355 (view-buffer-other-frame): Doc fixes re special mode-class.
8356
8357 * subr.el (eval-after-load): If named feature is provided not from
8358 a file, run after-load forms. (Bug#10946)
8359
8360 * calendar/calendar.el (calendar-insert-at-column):
8361 Handle non-unit-width characters a bit better. (Bug#10978)
8362
8363 2012-03-15 Chong Yidong <cyd@gnu.org>
8364
8365 * emacs-lisp/ring.el (ring-extend): New function.
8366 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8367
8368 * comint.el (comint-read-input-ring)
8369 (comint-add-to-input-history): Grow comint-input-ring lazily.
8370
8371 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8374 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8375
8376 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8377 (imenu-add-to-menubar): Don't add a redundant index.
8378 (imenu-update-menubar): Handle a dynamically composed keymap.
8379
8380 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8381
8382 * mail/sendmail.el (mail-encode-header):
8383 Bind rfc2047-encode-encoded-words to nil.
8384
8385 2012-03-13 Glenn Morris <rgm@gnu.org>
8386
8387 * calendar/calendar.el (calendar-string-spread):
8388 Handle non-unit-width characters a bit better. (Bug#10978)
8389
8390 2012-03-13 Leo Liu <sdl.web@gmail.com>
8391
8392 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8393 directory and file as argument (Bug#10822).
8394
8395 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8396
8397 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8398 For dynamically generated code, follow $PC.
8399 (gdb-disassembly-handler-custom): Handle no function name case.
8400
8401 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8402
8403 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8404 * emulation/ws-mode.el (ws-query-replace):
8405 * sort.el (sort-regexp-fields):
8406 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8407
8408 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * dabbrev.el: Fix cycle completion order (bug#10963).
8411 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8412 (dabbrev-completion): Don't use an obarray; provide
8413 a cycle-sort-function.
8414
8415 2012-03-12 Leo Liu <sdl.web@gmail.com>
8416
8417 * simple.el (kill-new): Use equal-including-properties for comparison.
8418 (kill-do-not-save-duplicates): Doc fix.
8419
8420 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * dabbrev.el: Fix cycle completion (bug#10963).
8423 Use lexical binding and wrap to 80 columns.
8424 (dabbrev-completion): Delay computing the list of completions.
8425
8426 2012-03-12 Kenichi Handa <handa@m17n.org>
8427
8428 * international/quail.el (quail-insert-kbd-layout): Surround each
8429 row by LRO and PDF instead of inserting many LRMs. Pad the left
8430 and right of each non-spacing marks. Insert invisible space
8431 between lower and upper characters to prevent composition.
8432
8433 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * minibuffer.el (minibuffer-complete): Don't get confused when the
8436 function is run twice via different commands (bug#10958).
8437 (complete-with-action): Fix docstring.
8438
8439 2012-03-12 Chong Yidong <cyd@gnu.org>
8440
8441 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8442 (nxml-completion-at-point-function): New function.
8443 (nxml-mode): Use it.
8444 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8445
8446 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8447 Load generated autoloads file before byte compiling (Bug#10970).
8448 (package--make-autoloads-and-compile): New helper fun.
8449
8450 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8451
8452 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8453
8454 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8455
8456 * autorevert.el (auto-revert-handler): Ensure, that
8457 file-readable-p is applied only for local files or in
8458 auto-revert-tail-mode.
8459
8460 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8461
8462 * server.el (server-eval-at): Handle non-tcp connections.
8463 Decode result string.
8464
8465 * server.el (server-msg-size): New constant.
8466 (server-reply-print): New function.
8467 (server-eval-and-print): Use it.
8468 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8469 Handle -print-nonl.
8470
8471 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8472
8473 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8474 (Bug#10987).
8475
8476 2012-03-11 Chong Yidong <cyd@gnu.org>
8477
8478 * simple.el (goto-line): Doc fix (Bug#9938).
8479
8480 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8481
8482 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8483 when finished (Bug#10963).
8484
8485 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8486
8487 * window.el (split-window-below): Fix bug in case where
8488 split-window-keep-point is nil (Bug#10971).
8489
8490 2012-03-11 Juri Linkov <juri@jurta.org>
8491
8492 * replace.el (replace-highlight): Set isearch-word to nil
8493 unconditionally. (Bug#10887)
8494
8495 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8496
8497 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8498 mairix-replace-illegal-chars; all callers changed. Don't remove
8499 ^, ~, and = characters: they are meaningful in mairix search specs.
8500 (mairix-widget-create-query): Add usage information about mairix
8501 search forms: negating words, searching for substrings, etc.
8502
8503 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8504
8505 * international/fontset.el (font-encoding-alist): Add an entry for
8506 ksx1001 (Bug#5667).
8507
8508 2012-03-10 Richard Stallman <rms@gnu.org>
8509
8510 * mail/sendmail.el (mail-encode-header):
8511 Set rfc2047-encode-encoded-words.
8512
8513 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8514
8515 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8516 view buffer means not swapped.
8517 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8518 (rmail-write-region-annotate): Error if real text has disappeared.
8519
8520 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8521
8522 2012-03-10 Chong Yidong <cyd@gnu.org>
8523
8524 * emulation/cua-rect.el (cua--init-rectangles):
8525 * emulation/cua-base.el (cua--init-keymaps):
8526 Add delete-forward-char to remappings (Bug#9666).
8527
8528 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8529
8530 * speedbar.el (speedbar-unhighlight-one-tag-line):
8531 Avoid unhighlighting due to frame switching (Bug#10275).
8532
8533 2012-03-10 Chong Yidong <cyd@gnu.org>
8534
8535 * minibuffer.el (completion-in-region, completion-help-at-point):
8536 Give the completion field overlay a high priority (Bug#6830).
8537
8538 * dired.el (dired-goto-file): Recognize absolute file name
8539 listings (Bug#7126).
8540 (dired-goto-file-1): New helper function.
8541 (dired-toggle-read-only): Inhibit warnings.
8542
8543 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8544
8545 * net/dbus.el (dbus-property-handler): Return empty array if
8546 there are no properties.
8547
8548 2012-03-09 Leo Liu <sdl.web@gmail.com>
8549
8550 * savehist.el (savehist-printable): Stricter check for string
8551 value (Bug#10937).
8552
8553 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8554
8555 * mail/smtpmail.el (smtpmail-send-it):
8556 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8557 valid mbox format.
8558
8559 2012-03-09 Glenn Morris <rgm@gnu.org>
8560
8561 * files.el (dir-locals-find-file):
8562 Don't check result is regular, readable.
8563 (dir-locals-read-from-file): Demote errors.
8564
8565 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8566
8567 * international/quail.el (quail-insert-kbd-layout):
8568 Insert invisible LRM characters before each character in a keyboard
8569 layout cell, to prevent their reordering by bidi display engine.
8570 For details, see the discussion in
8571 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8572
8573 2012-03-08 Alan Mackenzie <acm@muc.de>
8574
8575 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8576 the starting position; make it extend the marked region when
8577 invoked repeatedly - all under appropriate circumstances.
8578 Fixes bugs #5525, #10906.
8579
8580 2012-03-08 Glenn Morris <rgm@gnu.org>
8581
8582 * files.el (locate-dominating-file, dir-locals-find-file):
8583 Undo 2012-03-06 change.
8584
8585 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8586
8587 * international/quail.el (quail-help):
8588 Force bidi-paragraph-direction be left-to-right. See discussion in
8589 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8590 for the reason.
8591
8592 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8593
8594 Avoid superfluous registering of signals. (Bug#10807)
8595
8596 * notifications.el (notifications-on-action-object)
8597 (notifications-on-close-object): New defvars.
8598 (notifications-on-action-signal, notifications-on-closed-signal):
8599 Unregister the signal if not needed any longer.
8600 (notifications-notify): Register `notifications-action-signal' or
8601 `notifications-closed-signal', if :on-action or :on-close has been
8602 passed as argument.
8603
8604 2012-03-07 Chong Yidong <cyd@gnu.org>
8605
8606 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8607 non-X platforms.
8608
8609 2012-03-06 Glenn Morris <rgm@gnu.org>
8610
8611 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8612 (x-disown-selection-internal, x-get-selection-internal):
8613 Doc fix (add arglist signatures). (Bug#10783)
8614
8615 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8616
8617 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8618 Handle breakpoints with no "type".
8619
8620 2012-03-06 Glenn Morris <rgm@gnu.org>
8621
8622 * files.el (locate-dominating-file): Add optional predicate argument.
8623 (dir-locals-find-file): Make use of above change.
8624
8625 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8626
8627 * info.el (Info-insert-dir): Also try "dir.gz".
8628
8629 2012-03-06 Glenn Morris <rgm@gnu.org>
8630
8631 * files.el (dir-locals-find-file):
8632 Ignore non-readable or non-regular files. (Bug#10928)
8633
8634 * files.el (locate-dominating-file): Doc fix.
8635
8636 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8637
8638 * calendar/calendar.el (calendar-set-mode-line):
8639 `getenv' returns a string. (Bug#10951)
8640
8641 2012-03-05 Leo Liu <sdl.web@gmail.com>
8642
8643 * simple.el (backward-delete-char-untabify): Constrain point to
8644 field (Bug#10939).
8645
8646 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8647
8648 2012-03-05 Chong Yidong <cyd@gnu.org>
8649
8650 * simple.el (count-words): If called from Lisp, return the word
8651 count, for symmetry with `count-lines'. Arglist changed.
8652 (count-words--message): Args changed. Consolidate counting code
8653 from count-words and count-words-region.
8654 (count-words-region): Caller changed.
8655 (count-lines-region): Make it an obsolete alias.
8656
8657 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8658
8659 * saveplace.el (save-place-to-alist)
8660 (save-place-ignore-files-regexp): Allow value nil to disable this
8661 feature.
8662
8663 2012-03-04 Chong Yidong <cyd@gnu.org>
8664
8665 * faces.el (face-spec-reset-face): For the default face, reset the
8666 attributes to default values (Bug#10748).
8667
8668 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8669
8670 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8671 previous patch: Check `message-send-mail-function', and not the
8672 default function (bug#10897).
8673
8674 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8675
8676 * notifications.el (notifications-on-action-signal)
8677 (notifications-on-closed-signal): Check for unique service name of
8678 incoming event. Fix error in removing entry.
8679 (top): Register for signals with wildcard service name.
8680 (notifications-notify): Use daemon unique service name for map entries.
8681
8682 2012-03-04 Chong Yidong <cyd@gnu.org>
8683
8684 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8685
8686 2012-03-04 Glenn Morris <rgm@gnu.org>
8687
8688 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8689 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8690 (expand-abbrev, define-abbrev-table): Doc fixes.
8691
8692 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8693
8694 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8695 `message-default-send-mail-function' and not `send-mail-function'
8696 when doing the prompting for `sendmail-query-once' before sending
8697 in Message buffers (bug#10897).
8698
8699 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8700 This is inconsistent with all the other stream functions, which leave
8701 the setting up to the higher levels (if so wanted) (bug#10931).
8702
8703 2012-03-02 Alan Mackenzie <acm@muc.de>
8704
8705 Depessimize the handling of very large macros.
8706
8707 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8708 (c-macro-cache-syntactic): New variables to implement a one
8709 element macro cache.
8710 (c-invalidate-macro-cache): New function.
8711 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8712 Adapt to use the new cache.
8713 (c-state-safe-place): Use better the cache of safe positions.
8714 (c-state-semi-nonlit-pos-cache)
8715 (c-state-semi-nonlit-pos-cache-limit):
8716 New variables for...
8717 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8718 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8719 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8720 Use c-state-semi-safe-place.
8721
8722 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8723 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8724
8725 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8726
8727 * jka-compr.el (jka-compr-call-process):
8728 Apply `file-accessible-directory-p' only when the default directory is
8729 not remote.
8730
8731 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8732
8733 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8734 access of FILE2, if FILE1 does not exist.
8735
8736 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8737 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8738
8739 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8740 Add "PAGER=" to `process-environment'.
8741
8742 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8743
8744 * progmodes/sql.el: Bug fix
8745 (sql-get-login-ext): Save login values in globals.
8746 (sql-get-login): Use new version of `sql-get-login-ext'.
8747 (sql-interactive-mode): Set global `sql-connection' to nil.
8748 (sql-connect): Set global values for connection.
8749 (sql-product-interactive): Save global values as buffer local.
8750
8751 2012-02-29 Leo Liu <sdl.web@gmail.com>
8752
8753 * abbrev.el (define-abbrevs): Reset sys to nil.
8754
8755 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8756
8757 * files.el (file-equal-p): Rename from `files-equal-p'.
8758 Return nil when one or both files don't exist.
8759 (file-subdir-of-p): Now only top directory must exists,
8760 return nil if it doesn't.
8761 (copy-directory): No need to test with `file-subdir-of-p' after
8762 creating dir.
8763 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8764 to `file-equal-p'.
8765
8766 2012-02-28 Glenn Morris <rgm@gnu.org>
8767
8768 * shell.el (shell-mode):
8769 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8770 * play/landmark.el (landmark-font-lock-face-O):
8771 * play/handwrite.el (handwrite):
8772 * play/gomoku.el (gomoku-O):
8773 * net/browse-url.el (browse-url-browser-display):
8774 * international/mule.el (define-charset):
8775 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8776 * filesets.el (filesets-find-file-delay):
8777 * eshell/em-xtra.el (eshell-xtra):
8778 * eshell/em-unix.el (eshell-grep):
8779 * emulation/viper.el (viper-mode):
8780 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8781 * emacs-lisp/easymenu.el (easy-menu-define):
8782 * calendar/timeclock.el (timeclock-use-display-time):
8783 * bs.el (bs-mode):
8784 * bookmark.el (bookmark-save-flag):
8785 Doc fix (standardize possessive apostrophe usage).
8786
8787 2012-02-27 Chong Yidong <cyd@gnu.org>
8788
8789 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8790 Fix key-binding lookup for ESC key (Bug#9146).
8791
8792 * font-lock.el (font-lock-specified-p): Rename from
8793 font-lock-spec-present. Callers changed.
8794
8795 2012-02-27 Daniel Hackney <dan@haxney.org>
8796
8797 * emacs-lisp/package.el (package-compute-transaction):
8798 Handle holding a package version to t in package-load-list.
8799
8800 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8801
8802 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8803 (tramp-get-inode, tramp-get-device): Use cached values.
8804
8805 2012-02-26 Alan Mackenzie <acm@muc.de>
8806
8807 Check there is a font-lock specification before doing initial
8808 fontification.
8809
8810 * font-core.el (font-lock-mode): Move the conditional from
8811 :after-hook to font-lock-initial-fontify.
8812 (font-lock-default-function): Move the check for a specification
8813 to font-lock-spec-present.
8814
8815 * font-lock.el (font-lock-initial-fontify): Call ...
8816 (font-lock-spec-present): New function.
8817
8818 2012-02-26 Jim Blandy <jimb@red-bean.com>
8819
8820 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8821 (gdb-send): Apply it to the operand of the '-interpreter-exec
8822 console' command, so that we can pass arguments with (say) quotes
8823 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8824
8825 2012-02-26 Chong Yidong <cyd@gnu.org>
8826
8827 * help-fns.el (describe-function-1): Clarify description of
8828 remapping (Bug#10844).
8829
8830 * files.el (files-equal-p): Doc fix.
8831 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8832 and quit the loop once a mismatch is found.
8833
8834 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8835
8836 * bs.el (bs--show-with-configuration): Don't throw an error
8837 if the window cannot be split; otherwise, subsequent calls to
8838 bs-show fail, restoring a stale window config. (Bug#10882)
8839
8840 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8841
8842 * term/ns-win.el (global-map): Bind ns-drag-file to
8843 ns-find-file (Bug#5855, Bug#10050).
8844
8845 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * calendar/parse-time.el (parse-time-string): Allow extractor to
8848 return nil.
8849
8850 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp.el (tramp-file-name-for-operation):
8853 Add `files-equal-p' and `file-subdir-of-p'.
8854
8855 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8856 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8857 Add COPY-CONTENTS argument.
8858
8859 2012-02-25 Chong Yidong <cyd@gnu.org>
8860
8861 Add custom groups for VC backends, for consistency with vc-bzr.
8862
8863 * vc/vc-arch.el (vc-arch):
8864 * vc/vc-cvs.el (vc-cvs):
8865 * vc/vc-git.el (vc-git):
8866 * vc/vc-hg.el (vc-hg):
8867 * vc/vc-mtn.el (vc-mtn):
8868 * vc/vc-rcs.el (vc-rcs):
8869 * vc/vc-sccs.el (vc-sccs):
8870 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8871 All relevant defcustoms reassigned.
8872
8873 2012-02-25 Chong Yidong <cyd@gnu.org>
8874
8875 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8876
8877 * term/x-win.el (x-initialize-window-system): Reduce default for
8878 x-selection-timeout to 5 seconds (Bug#8869).
8879
8880 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8881
8882 * files.el (files-equal-p, file-subdir-of-p): New functions.
8883 (copy-directory): Error when trying to copy a directory on itself.
8884 Add missing copy-contents arg to tramp handler.
8885 * dired-aux.el (dired-copy-file-recursive): Same.
8886 (dired-create-files): Modify destination when source is equal to
8887 dest when copying files.
8888 Return also when dest is a subdir of source. (Bug#10489)
8889
8890 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8891
8892 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8893 (Bug#10874)
8894
8895 2012-02-23 Alan Mackenzie <acm@muc.de>
8896
8897 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8898 parameter "after-hook:" to allow the expansion to run code after
8899 the execution of the mode hooks.
8900
8901 * font-lock.el (font-lock-initial-fontify): New function extracted
8902 from font-lock-mode-internal.
8903
8904 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8905 :after-hook.
8906
8907 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8910 (completion--cache-all-sorted-completions): New function.
8911 (completion-all-sorted-completions): Use it.
8912 (completion--do-completion, minibuffer-force-complete):
8913 Use it to re-instate the flush hook.
8914
8915 * icomplete.el (icomplete-completions): Replace last fix with a better
8916 one (bug#10850).
8917
8918 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8919
8920 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8921 when it might call us back infinitely (bug#10797).
8922
8923 2012-02-23 Glenn Morris <rgm@gnu.org>
8924
8925 * minibuffer.el (completion-category-overrides): Doc fix.
8926
8927 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8930 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8931
8932 2012-02-23 Glenn Morris <rgm@gnu.org>
8933
8934 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8935 (authors-obsolete-files-regexps, authors-ignored-files)
8936 (authors-ambiguous-files, authors-renamed-files-alist):
8937 Add more entries.
8938
8939 2012-02-23 Juri Linkov <juri@jurta.org>
8940
8941 * isearch.el (isearch-occur): Sync interactive spec with occur's
8942 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8943
8944 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8945
8946 2012-02-22 Juri Linkov <juri@jurta.org>
8947
8948 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8949 (ucs-insert): Doc fix. Check for hex digits in the string.
8950 Don't display `nil' in the error message. (Bug#10857)
8951
8952 2012-02-22 Alan Mackenzie <acm@muc.de>
8953
8954 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8955
8956 2012-02-22 Glenn Morris <rgm@gnu.org>
8957
8958 * ffap.el (ffap-c-path):
8959 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8960
8961 2012-02-22 Chong Yidong <cyd@gnu.org>
8962
8963 * custom.el (load-theme): Doc fix.
8964
8965 2012-02-22 Glenn Morris <rgm@gnu.org>
8966
8967 * dired-x.el (dired-guess-shell-alist-default):
8968 Remove escape sequences from nroff output. (Bug#172)
8969
8970 2012-02-21 Glenn Morris <rgm@gnu.org>
8971
8972 * vc/emerge.el (emerge-defvar-local):
8973 Set `permanent-local' property rather than unused `preserved'.
8974
8975 * textmodes/picture.el (picture-delete-char): New alias.
8976 (picture-mode-map): Use it. (Bug#10860)
8977 (picture-mode): Doc fix.
8978
8979 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8980
8981 * newcomment.el (uncomment-region-default): Remove unused binding.
8982
8983 2012-02-21 Glenn Morris <rgm@gnu.org>
8984
8985 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8986 (picture-self-insert, picture-tab-chars): Doc fix.
8987 (picture-mode-map): Fix C-a, C-e.
8988
8989 2012-02-20 Glenn Morris <rgm@gnu.org>
8990
8991 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8992
8993 2012-02-20 Leo Liu <sdl.web@gmail.com>
8994
8995 * icomplete.el (icomplete-completions): Check FROM arg before
8996 passing to substring (Bug#10850).
8997
8998 2012-02-19 Chong Yidong <cyd@gnu.org>
8999
9000 * comint.el: Require ansi-color.
9001 (comint-output-filter-functions): Add ansi-color-process-output.
9002
9003 * ansi-color.el: Don't set comint-output-filter-functions; it is
9004 now in the initial value defined in comint.el.
9005 (ansi-color-apply-face-function): New variable.
9006 (ansi-color-apply-on-region): Use it.
9007 (ansi-color-apply-overlay-face): New function.
9008
9009 * shell.el (shell): No need to require ansi-color.
9010 (shell-mode): Use ansi-color-apply-face-function to highlight
9011 color escapes using font-lock-face property (Bug#10835).
9012
9013 2012-02-19 Chong Yidong <cyd@gnu.org>
9014
9015 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9016 mode-line formats (Bug#10839).
9017
9018 2012-02-18 Glenn Morris <rgm@gnu.org>
9019
9020 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9021
9022 * mail/undigest.el (unforward-rmail-message): Doc fix.
9023
9024 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9025
9026 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9027
9028 * international/characters.el (script-list): Sync with the latest
9029 Unicode Character Database.
9030
9031 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9032
9033 * international/titdic-cnv.el: Remove duplicate coding tag.
9034 * language/cham.el: Likewise.
9035 * language/tai-viet.el: Likewise.
9036
9037 2012-02-18 Glenn Morris <rgm@gnu.org>
9038
9039 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9040 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9041 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9042 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9043 * calendar/holidays.el (holiday-bahai-holidays)
9044 (calendar-holidays, list-holidays):
9045 Use utf-8 Bahá'í in doc-strings, menus, etc.
9046
9047 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9048
9049 * saveplace.el (save-place-ignore-files-regexp): New variable
9050 allowing for excluding files from saving their location of point.
9051 The default value matches the temporary commit message editing
9052 files from Git, SVN, Bazaar, and Mercurial.
9053 (save-place-to-alist): Use it.
9054
9055 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9056 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * newcomment.el (uncomment-region-default): Don't leave extra space
9059 when an arg is provided (bug#8150).
9060
9061 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9062
9063 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9064
9065 2012-02-17 Glenn Morris <rgm@gnu.org>
9066
9067 * net/socks.el: Require network-stream. (Bug#10599)
9068
9069 2012-02-17 Kenichi Handa <handa@m17n.org>
9070
9071 * international/charprop.el:
9072 * international/uni-name.el:
9073 * international/uni-old-name.el:
9074 * international/uni-comment.el: Regenerate.
9075
9076 2012-02-16 Glenn Morris <rgm@gnu.org>
9077
9078 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9079 Interactively in calendar buffer, give an error if not on a date.
9080
9081 2012-02-15 Glenn Morris <rgm@gnu.org>
9082
9083 * shell.el (shell-delimiter-argument-list):
9084 Revert 2011-02-17 change. (Bug#8027)
9085
9086 2012-02-15 Chong Yidong <cyd@gnu.org>
9087
9088 * minibuffer.el (completion-at-point-functions): Doc fix.
9089
9090 * custom.el (defcustom): Doc fix; note use of defvar.
9091
9092 2012-02-15 Glenn Morris <rgm@gnu.org>
9093
9094 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9095 Doc fixes.
9096
9097 2012-02-14 Glenn Morris <rgm@gnu.org>
9098
9099 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9100
9101 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9102
9103 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9104 way the ports list is computed.
9105 (smtpmail-query-smtp-server): Prompt the user for a port number if
9106 we can't connect to any of the standard ports (bug#10810).
9107
9108 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9109
9110 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9111
9112 2012-02-13 Glenn Morris <rgm@gnu.org>
9113
9114 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9115
9116 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9117
9118 * net/gnutls.el (gnutls-trustfiles): New variable.
9119 (gnutls-negotiate): Use it.
9120
9121 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9122
9123 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9124 does its stuff if Gnus is running.
9125
9126 2012-02-13 Alan Mackenzie <acm@muc.de>
9127
9128 Fix a loop in c-set-fl-decl-start.
9129
9130 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9131 c-backward-syntactic-ws actually moves backwards.
9132
9133 2012-02-13 Leo Liu <sdl.web@gmail.com>
9134
9135 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9136 beginning so that all \C-o chars are removed.
9137
9138 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9139
9140 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9141
9142 2012-02-12 Alan Mackenzie <acm@muc.de>
9143
9144 Fix infinite loop with long macros.
9145 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9146
9147 2012-02-12 Chong Yidong <cyd@gnu.org>
9148
9149 * window.el (display-buffer): Doc fix (Bug#10785).
9150
9151 2012-02-12 Glenn Morris <rgm@gnu.org>
9152
9153 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9154 (x-disown-selection-internal, x-get-selection-internal):
9155 Sync docs with the xselect.c versions.
9156
9157 * allout-widgets.el: Add missing license notice.
9158
9159 2012-02-11 Glenn Morris <rgm@gnu.org>
9160
9161 * select.el (x-get-selection-internal, x-own-selection-internal)
9162 (x-disown-selection-internal):
9163 * x-dnd.el (x-get-selection-internal): Update declarations.
9164
9165 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9166
9167 * window.el (window-sides-slots):
9168 * tool-bar.el (tool-bar-position):
9169 * term/xterm.el (xterm-extra-capabilities):
9170 * ses.el (ses-self-reference-early-detection):
9171 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9172 (verilog-auto-wire-type)
9173 (verilog-auto-delete-trailing-whitespace)
9174 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9175 (verilog-auto-tieoff-declaration):
9176 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9177 (sql-oracle-statement-starters, sql-oracle-scan-on):
9178 * progmodes/prolog.el (prolog-align-comments-flag)
9179 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9180 (prolog-left-indent-regexp, prolog-paren-indent-p)
9181 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9182 (prolog-types, prolog-mode-specificators)
9183 (prolog-determinism-specificators, prolog-directives)
9184 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9185 (prolog-electric-dot-flag)
9186 (prolog-electric-dot-full-predicate-template)
9187 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9188 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9189 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9190 (prolog-program-switches, prolog-prompt-regexp)
9191 (prolog-debug-on-string, prolog-debug-off-string)
9192 (prolog-trace-on-string, prolog-trace-off-string)
9193 (prolog-zip-on-string, prolog-zip-off-string)
9194 (prolog-use-standard-consult-compile-method-flag)
9195 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9196 (prolog-imenu-max-lines, prolog-info-predicate-index)
9197 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9198 (prolog-char-quote-workaround):
9199 * progmodes/cc-vars.el (c-defun-tactic):
9200 * net/tramp.el (tramp-encoding-command-interactive)
9201 (tramp-local-end-of-line):
9202 * net/soap-client.el (soap-client):
9203 * net/netrc.el (netrc-file):
9204 * net/gnutls.el (gnutls):
9205 * minibuffer.el (completion-category-overrides)
9206 (completion-cycle-threshold)
9207 (completion-pcm-complete-word-inserts-delimiters):
9208 * man.el (Man-name-local-regexp):
9209 * mail/feedmail.el (feedmail-display-full-frame):
9210 * international/characters.el (glyphless-char-display-control):
9211 * eshell/em-ls.el (eshell-ls-date-format):
9212 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9213 (lisp-lambda-list-keyword-parameter-indentation)
9214 (lisp-lambda-list-keyword-parameter-alignment):
9215 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9216 * dired-x.el (dired-omit-verbose):
9217 * cus-theme.el (custom-theme-allow-multiple-selections):
9218 * calc/calc.el (calc-highlight-selections-with-faces)
9219 (calc-lu-field-reference, calc-lu-power-reference)
9220 (calc-note-threshold):
9221 * battery.el (battery-mode-line-limit):
9222 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9223 (archive-7z-update):
9224 * allout.el (allout-prefixed-keybindings)
9225 (allout-unprefixed-keybindings)
9226 (allout-inhibit-auto-fill-on-headline)
9227 (allout-flattened-numbering-abbreviation):
9228 * allout-widgets.el (allout-widgets-auto-activation)
9229 (allout-widgets-icons-dark-subdir)
9230 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9231 (allout-widgets-theme-dark-background)
9232 (allout-widgets-theme-light-background)
9233 (allout-widgets-item-image-properties-emacs)
9234 (allout-widgets-item-image-properties-xemacs)
9235 (allout-widgets-run-unit-tests-on-load)
9236 (allout-widgets-time-decoration-activity)
9237 (allout-widgets-hook-error-post-time)
9238 (allout-widgets-track-decoration):
9239 Add missing :version tags to new defcustoms and defgroups.
9240
9241 * progmodes/sql.el (sql-ansi-statement-starters)
9242 (sql-oracle-statement-starters): Add custom type.
9243
9244 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9245 (prolog-system-version): Give it a type.
9246
9247 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9248
9249 * term/pc-win.el (x-select-text, x-selection-owner-p)
9250 (x-own-selection-internal, x-disown-selection-internal)
9251 (x-get-selection-internal): Sync doc strings and argument lists
9252 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9253
9254 2012-02-11 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/python.el (python-end-of-statement): Fix infinite
9257 loop. (Bug#10788)
9258
9259 2012-02-10 Glenn Morris <rgm@gnu.org>
9260
9261 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9262 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9263
9264 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9265
9266 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9267 about SMTP before checking the From header.
9268
9269 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9270 into own function for reuse by emacsbug.el.
9271
9272 2012-02-10 Leo Liu <sdl.web@gmail.com>
9273
9274 * subr.el (condition-case-unless-debug): Rename from
9275 condition-case-no-debug. All callers changed.
9276 (with-demoted-errors): Fix caller.
9277
9278 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9279 * nxml/rng-valid.el (rng-do-some-validation):
9280 * emacs-lisp/package.el (package-refresh-contents)
9281 (package-menu-execute):
9282 * desktop.el (desktop-create-buffer):
9283 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9284
9285 2012-02-10 Glenn Morris <rgm@gnu.org>
9286
9287 * textmodes/bibtex.el:
9288 Add missing :version tags for new/changed defcustoms.
9289
9290 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9291
9292 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9293
9294 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9295 (smtpmail-via-smtp): Use it, or fall back on the From address.
9296 (smtpmail-send-it): Ditto.
9297
9298 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9301 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9302 (byte-compile-tmp-var): New const.
9303 (byte-compile-defvar): Use it to minimize .elc size.
9304 Just use `defvar' rather than simulate it (bug#10761).
9305
9306 2012-02-09 Glenn Morris <rgm@gnu.org>
9307
9308 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9309
9310 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9311 Add :version tags.
9312
9313 * progmodes/compile.el (compilation-error-screen-columns)
9314 (compilation-first-column, compilation-filter-start): Doc fixes.
9315
9316 * vc/log-view.el (log-view-toggle-entry-display):
9317 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9318
9319 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9320 (report-emacs-bug-can-use-xdg-email):
9321 (report-emacs-bug-insert-to-mailer): Doc fixes.
9322 (report-emacs-bug): Message fix.
9323
9324 * net/browse-url.el (browse-url-can-use-xdg-open)
9325 (browse-url-xdg-open): Doc fixes.
9326
9327 * electric.el (electric-indent-mode, electric-pair-mode)
9328 (electric-layout-rules, electric-layout-mode): Doc fixes.
9329 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9330
9331 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9332
9333 * server.el (server-unselect-display): Don't inadvertently kill
9334 the current buffer. (Bug#10729)
9335
9336 2012-02-08 Glenn Morris <rgm@gnu.org>
9337
9338 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9339 (sql-list-table): Doc fixes.
9340
9341 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9342 Comment out (does nothing).
9343
9344 * completion.el (dynamic-completion-mode):
9345 * dirtrack.el (dirtrack-debug-mode):
9346 * electric.el (electric-layout-mode):
9347 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9348 * face-remap.el (text-scale-mode, buffer-face-mode):
9349 * iimage.el (iimage-mode):
9350 * image-mode.el (image-transform-mode):
9351 * minibuffer.el (completion-in-region-mode):
9352 * scroll-lock.el (scroll-lock-mode):
9353 * simple.el (next-error-follow-minor-mode):
9354 * tar-mode.el (tar-subfile-mode):
9355 * tooltip.el (tooltip-mode):
9356 * vcursor.el (vcursor-use-vcursor-map):
9357 * wid-browse.el (widget-minor-mode):
9358 * emulation/tpu-edt.el (tpu-edt-mode):
9359 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9360 * international/iso-ascii.el (iso-ascii-mode):
9361 * language/thai-util.el (thai-word-mode):
9362 * mail/supercite.el (sc-minor-mode):
9363 * net/goto-addr.el (goto-address-mode):
9364 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9365 * progmodes/cwarn.el (cwarn-mode):
9366 * progmodes/flymake.el (flymake-mode):
9367 * progmodes/glasses.el (glasses-mode):
9368 * progmodes/hideshow.el (hs-minor-mode):
9369 * progmodes/pascal.el (pascal-outline-mode):
9370 * textmodes/enriched.el (enriched-mode):
9371 * vc/smerge-mode.el (smerge-mode):
9372 Doc fixes (minor mode argument).
9373
9374 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9375
9376 * ls-lisp.el (ls-lisp-sanitize): New function.
9377 (ls-lisp-insert-directory): Use it to fix or remove any elements
9378 in file-alist with missing attributes. (Bug#4673)
9379
9380 2012-02-07 Alan Mackenzie <acm@muc.de>
9381
9382 Fix spurious recognition of c-in-knr-argdecl.
9383
9384 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9385 putative K&R region.
9386
9387 2012-02-07 Alan Mackenzie <acm@muc.de>
9388
9389 * progmodes/cc-engine.el (c-forward-objc-directive):
9390 Prevent looping in "#pragma mark @implementation".
9391
9392 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * notifications.el (notifications-on-closed-signal): Make `reason'
9395 optional. (Bug#10744)
9396
9397 2012-02-07 Glenn Morris <rgm@gnu.org>
9398
9399 * emacs-lisp/easy-mmode.el (define-minor-mode):
9400 Doc fixes for the macro and the mode it defines.
9401
9402 * image.el (imagemagick-types-inhibit): Doc fix.
9403
9404 * cus-start.el (imagemagick-render-type): Add it.
9405
9406 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9407
9408 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9409 Set the default at load time, too, so that `font-lock-fontify-buffer'
9410 can be called without setting up the entire mode first. This fixes
9411 a bug in `mm-inline-text' with C MIME parts.
9412
9413 2012-02-06 Chong Yidong <cyd@gnu.org>
9414
9415 * simple.el (list-processes--refresh): Delete exited processes
9416 (Bug#8094).
9417
9418 * comint.el (comint-next-prompt): next-single-char-property-change
9419 and prev-single-char-property-change never return nil (Bug#8657).
9420
9421 * custom.el (defcustom): Doc fix (Bug#9711).
9422
9423 2012-02-05 Chong Yidong <cyd@gnu.org>
9424
9425 * cus-edit.el (custom-variable-reset-backup): Quote the value
9426 before storing it in the customized-value property (Bug#6712).
9427 (custom-display): Add a customization type tag.
9428 (custom-buffer-create-internal): Improve tooltip message.
9429
9430 * wid-edit.el (widget-field-value-get): New optional arg to
9431 suppress trailing whitespace truncation.
9432 (character): Use it (Bug#2689).
9433
9434 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9435
9436 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9437 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9438
9439 2012-02-05 Chong Yidong <cyd@gnu.org>
9440
9441 * cus-edit.el (custom-variable-value-create): For mismatched
9442 types, show the current value (Bug#7600).
9443
9444 * custom.el (defcustom): Doc fix.
9445
9446 2012-02-05 Glenn Morris <rgm@gnu.org>
9447
9448 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9449
9450 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9451
9452 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9453 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9454 (pp-last-sexp): Use `looking-at-p'.
9455
9456 2012-02-04 Glenn Morris <rgm@gnu.org>
9457
9458 * files.el (revert-buffer):
9459 Doc fix (mention revert-buffer-in-progress-p).
9460
9461 * emacs-lisp/ert-x.el (ert-simulate-command):
9462 Check deferred-action-list (which is obsolete) is bound.
9463
9464 * subr.el (with-wrapper-hook): Doc fixes.
9465
9466 * simple.el (filter-buffer-substring-functions)
9467 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9468
9469 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9470
9471 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9472 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9473
9474 2012-02-04 Leo Liu <sdl.web@gmail.com>
9475
9476 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9477
9478 2012-02-04 Glenn Morris <rgm@gnu.org>
9479
9480 * image.el (image-extension-data): Add obsolete alias.
9481
9482 * isearch.el (isearch-update): Doc fix.
9483
9484 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9485
9486 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9487
9488 2012-02-03 Glenn Morris <rgm@gnu.org>
9489
9490 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9491 (image-animate-timeout): Doc fix.
9492
9493 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9494
9495 2012-02-02 Glenn Morris <rgm@gnu.org>
9496
9497 * server.el (server-auth-dir): Doc fix.
9498 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9499
9500 * subr.el (run-mode-hooks): Doc fix.
9501
9502 2012-02-02 Juri Linkov <juri@jurta.org>
9503
9504 * image-mode.el (image-toggle-display-image): Remove tautological
9505 `major-mode' from the `derived-mode-p' test.
9506
9507 2012-02-02 Kenichi Handa <handa@m17n.org>
9508
9509 * composite.el (compose-region): Cancel previous change.
9510
9511 2012-02-02 Kenichi Handa <handa@m17n.org>
9512
9513 * composite.el (compose-region, compose-string): Signal error for
9514 a null string component (Bug#6988).
9515
9516 2012-02-01 Chong Yidong <cyd@gnu.org>
9517
9518 * view.el (view-buffer-other-window, view-buffer-other-frame):
9519 Handle special modes like view-buffer (Bug#10650).
9520 (view-buffer): Simplify.
9521
9522 * frame.el (set-frame-font): Tweak meaning of third argument.
9523
9524 * dynamic-setting.el (font-setting-change-default-font):
9525 Use set-frame-font (Bug#9982).
9526
9527 2012-02-01 Glenn Morris <rgm@gnu.org>
9528
9529 * progmodes/compile.el (compilation-internal-error-properties):
9530 Respect compilation-first-column in the "*compilation*" buffer.
9531
9532 * emacs-lisp/easy-mmode.el (define-minor-mode):
9533 Relax :variable's test for a named function.
9534
9535 2012-01-31 Alan Mackenzie <acm@muc.de>
9536
9537 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9538 off by one error.
9539
9540 2012-01-31 Chong Yidong <cyd@gnu.org>
9541
9542 * frame.el (set-frame-font): New arg ALL-FRAMES.
9543
9544 * menu-bar.el (menu-set-font): Use set-frame-font.
9545
9546 * faces.el (face-spec-reset-face): Don't apply unspecified
9547 attribute values to the default face.
9548
9549 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9550
9551 * progmodes/cwarn.el (cwarn): Remove dead link.
9552 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9553 Remove * from defcustom docstrings.
9554 (turn-on-cwarn-mode): Make obsolete.
9555 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9556 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9557
9558 2012-01-31 Glenn Morris <rgm@gnu.org>
9559
9560 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9561 Fix :variable handling of mode a symbol not equal to modefun.
9562 Allow named functions to be used as the cdr of :variable.
9563
9564 2012-01-30 Glenn Morris <rgm@gnu.org>
9565
9566 * emacs-lisp/authors.el (authors-fixed-entries):
9567 Remove reference to deleted file rnewspost.el.
9568
9569 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * window.el (window-with-parameter): Remove unused variable `windows'.
9572 (window--side-check): Remove unused variable `code'.
9573 (window--resize-siblings): Remove unused variable `first'.
9574 (adjust-window-trailing-edge): Remove unused variable `failed'.
9575 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9576 Use `let', not `let*'.
9577 (balance-windows-2): Remove unused variable `found'.
9578 (window--state-put-2): Remove unused variable `splits'.
9579 (window-state-put): Remove unused variable `selected'.
9580 (same-window-p): Use `string-match-p'.
9581 (display-buffer-assq-regexp): Remove unused variable `value'.
9582 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9583 Mark argument ALIST as ignored.
9584 (pop-to-buffer): Remove unused variable `old-window'.
9585
9586 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9587
9588 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9589 and .lzma compressed files.
9590
9591 2012-01-29 Chong Yidong <cyd@gnu.org>
9592
9593 * frame.el (window-system-default-frame-alist): Doc fix.
9594
9595 * dynamic-setting.el (font-setting-change-default-font): Don't
9596 change the default face if SET-FONT argument is non-nil (Bug#9982).
9597
9598 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9599
9600 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9601
9602 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9603
9604 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9605 breakpoints in files outside current directory (Bug#6098).
9606
9607 2012-01-29 Chong Yidong <cyd@gnu.org>
9608
9609 * progmodes/python.el: Require ansi-color at top-level.
9610
9611 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9612 Define and use in Emacs Lisp mode (Bug#9360).
9613 (lisp-mode-abbrev-table): Add doc.
9614 (lisp-mode-variables): Don't set local-abbrev-table.
9615 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9616
9617 2012-01-28 Roland Winkler <winkler@gnu.org>
9618
9619 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9620
9621 2012-01-28 Roland Winkler <winkler@gnu.org>
9622
9623 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9624 (bibtex-set-dialect): Use it. Either set global values of
9625 dialect-dependent variables or bind these variables buffer-locally
9626 (Bug#10254).
9627 (bibtex-mode): Call bibtex-set-dialect via
9628 hack-local-variables-hook.
9629 (bibtex-dialect): Update docstring.
9630 Add safe-local-variable predicate.
9631 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9632 bibtex-set-dialect.
9633 (bibtex-mode-map): Define menu for each dialect.
9634 (bibtex-entry): Fix docstring.
9635
9636 2012-01-28 Chong Yidong <cyd@gnu.org>
9637
9638 * eshell/esh-arg.el (eshell-quote-argument): New function.
9639
9640 * eshell/esh-ext.el (eshell-invoke-batch-file):
9641 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9642 first arg to eshell-parse-command (Bug#10523).
9643
9644 2012-01-28 Drew Adams <drew.adams@oracle.com>
9645
9646 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9647 `default-directory' is non-nil.
9648
9649 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9650
9651 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9652 line that displays system-configuration-options. (Bug#9924)
9653
9654 2012-01-28 Drew Adams <drew.adams@oracle.com>
9655
9656 * descr-text.el (describe-char): Show information about POS, in
9657 addition to information about the character at POS. Improve and
9658 update the doc string. Change "code point" to "code point in
9659 charset", to avoid confusion with the character's Unicode code
9660 point shown above that. (Bug#10129)
9661
9662 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9663
9664 * descr-text.el (describe-char): Show the raw character, not only
9665 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9666 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9667 for the reasons.
9668
9669 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9670
9671 * emacs-lisp/package.el (package-install):
9672 Run package-refresh-contents if there is no archive yet (Bug#9798).
9673
9674 2012-01-28 Chong Yidong <cyd@gnu.org>
9675
9676 * emacs-lisp/package.el (package-maybe-load-descriptor):
9677 New function, split from package-maybe-load-descriptor.
9678 (package-maybe-load-descriptor): Use it.
9679 (package-download-transaction): Fully load required packages
9680 inside the loop, so that `require' calls work (Bug#10593).
9681 (package-install): No need to call package-initialize now.
9682
9683 2012-01-28 Chong Yidong <cyd@gnu.org>
9684
9685 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9686
9687 * tooltip.el (tooltip-mode): Doc fix.
9688 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9689
9690 * frame.el (set-cursor-color): Doc fix (Bug#352).
9691
9692 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9693 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9694
9695 * cus-edit.el (custom-buffer-create-internal): Fix search button
9696 action (Bug#10542).
9697 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9698
9699 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9700
9701 * dired.el (dired-mark-files-regexp):
9702 Include any subdirectory components. (Bug#10445)
9703
9704 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9705
9706 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9707 Handle [host]:port syntax. (Bug#10533)
9708
9709 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9710
9711 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9712
9713 2012-01-26 Glenn Morris <rgm@gnu.org>
9714
9715 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9716 * term.el (term-raw-escape-map): Use Control-X-prefix.
9717 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9718
9719 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9720
9721 * window.el (window-state-get, window--state-get-1): Don't deal
9722 with fixed-sizeness of windows. Simplify code.
9723
9724 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9725
9726 * window.el (window--state-get-1, window--state-put-2):
9727 Don't save and restore the mark.
9728
9729 2012-01-25 Chong Yidong <cyd@gnu.org>
9730
9731 * custom.el (custom-variable-p): Doc fix.
9732
9733 2012-01-25 Glenn Morris <rgm@gnu.org>
9734
9735 * dired.el (dired-goto-file): Handle some of the more common
9736 characters that `ls -b' escapes. (Bug#10596)
9737
9738 * progmodes/compile.el (compilation-next-error-function):
9739 Respect compilation-first-column in the "*compilation*" buffer.
9740 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9741
9742 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9743
9744 2012-01-24 Glenn Morris <rgm@gnu.org>
9745
9746 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9747
9748 2012-01-24 Julien Danjou <julien@danjou.info>
9749
9750 * color.el (color-rgb-to-hsl): Fix value computing.
9751 (color-hue-to-rgb): New function.
9752 (color-hsl-to-rgb): New function.
9753 (color-clamp, color-saturate-hsl, color-saturate-name)
9754 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9755 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9756
9757 2012-01-24 Glenn Morris <rgm@gnu.org>
9758
9759 * vc/vc-rcs.el (vc-rcs-create-tag):
9760 * vc/vc-sccs.el (vc-sccs-create-tag):
9761 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9762
9763 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9764
9765 * eshell/esh-util.el (eshell-read-hosts-file):
9766 Skip comment lines. (Bug#10549)
9767
9768 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9769
9770 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9771
9772 * subr.el (display-delayed-warnings): Doc fix.
9773 (collapse-delayed-warnings): New function to collapse identical
9774 adjacent warnings.
9775 (delayed-warnings-hook): Add it.
9776
9777 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9778
9779 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9780
9781 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9782 (tramp-default-user-alist): Don't add "pscp".
9783 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9784 property "login-as", if set. (Bug#10530)
9785
9786 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9787
9788 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9789 "plink1" and "psftp". (Bug#10530)
9790
9791 2012-01-21 Kenichi Handa <handa@m17n.org>
9792
9793 * international/mule-cmds.el (prefer-coding-system): Show a
9794 warning message if the default value of file-name-coding-system
9795 was not changed.
9796
9797 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9798
9799 * windmove.el (windmove-reference-loc):
9800 Fix windmove-reference-loc miscalculation.
9801
9802 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9803
9804 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9805 default unit.
9806
9807 2012-01-21 Glenn Morris <rgm@gnu.org>
9808
9809 * international/mule.el (auto-coding-alist): Add .tbz.
9810
9811 * files.el (local-enable-local-variables): Doc fix.
9812 (inhibit-local-variables-regexps): Rename from
9813 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9814 Doc fix. Add some extensions from auto-coding-alist.
9815 (inhibit-local-variables-suffixes):
9816 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9817 (inhibit-local-variables-p):
9818 New function, extracted from set-auto-mode-1.
9819 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9820 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9821 (hack-local-variables): Doc fix. Make the mode-only case
9822 respect enable-local-variables and friends.
9823 Respect inhibit-local-variables-regexps for file-locals, but
9824 not for directory-locals.
9825 (set-visited-file-name):
9826 Take account of inhibit-local-variables-regexps.
9827 Whether it applies may change as the file name is changed.
9828 * jka-cmpr-hook.el (jka-compr-install):
9829 * jka-compr.el (jka-compr-uninstall):
9830 Update for inhibit-first-line-modes-suffixes name change.
9831
9832 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9833
9834 * help-macro.el (make-help-screen): Temporarily restore original
9835 binding for minor-mode-map-alist (Bug#10454).
9836
9837 2012-01-19 Julien Danjou <julien@danjou.info>
9838
9839 * color.el (color-name-to-rgb): Use the white color to find the max
9840 color component value and return correctly computed values.
9841 (color-name-to-rgb): Add missing float conversion for max value.
9842
9843 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9844
9845 * window.el (window--state-get-1, window-state-get): Do not use
9846 special state value for window-persistent-parameters.
9847 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9848 (window--state-put-2): Reset all window parameters to nil before
9849 assigning values of persistent parameters.
9850
9851 2012-01-18 Alan Mackenzie <acm@muc.de>
9852
9853 Eliminate sluggishness and hangs in fontification of "semicolon
9854 deserts".
9855
9856 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9857 Change value 10000 -> 3000.
9858 (c-state-safe-place): Reformulate so it doesn't stack up an
9859 infinite number of wrong entries in c-state-nonlit-pos-cache.
9860 (c-determine-limit-get-base, c-determine-limit): New functions to
9861 determine backward search limits disregarding literals.
9862 (c-find-decl-spots): Amend commenting.
9863 (c-cheap-inside-bracelist-p): New function which detects "={".
9864
9865 * progmodes/cc-fonts.el
9866 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9867 backward search.
9868 (c-font-lock-declarations): Fix an occurrence of point being
9869 undefined. Check additionally for point being in a bracelist or
9870 near a macro invocation without a semicolon so as to avoid a
9871 fruitless time consuming search for a declarator. Give a more
9872 precise search limit for declarators using the new
9873 c-determine-limit.
9874
9875 2012-01-18 Glenn Morris <rgm@gnu.org>
9876
9877 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9878 (set-auto-mode): Doc fixes.
9879
9880 2012-01-17 Glenn Morris <rgm@gnu.org>
9881
9882 * isearch.el (search-nonincremental-instead): Fix doc typo.
9883
9884 * dired.el (dired-insert-directory): Handle newlines in directory name.
9885 (dired-build-subdir-alist): Unescape newlines in directory name.
9886
9887 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9888
9889 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9890 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9891 (tramp-action-terminal): Use it. (Bug#10530)
9892
9893 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9894
9895 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9896
9897 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9898
9899 * window.el (window-state-ignored-parameters): Remove variable.
9900 (window--state-get-1): Rename argument MARKERS to IGNORE.
9901 Handle persistent window parameters. Make copy of clone-of
9902 parameter only if requested. (Bug#10348)
9903 (window--state-put-2): Install a window parameter only if it has
9904 a non-nil value or an existing parameter shall be overwritten.
9905
9906 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9907
9908 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9909
9910 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9911
9912 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9913 don't pass the (nil) value of `upnode' to string-match.
9914
9915 2012-01-14 Chong Yidong <cyd@gnu.org>
9916
9917 * startup.el (command-line): Fix X resource class for cursorColor.
9918 Fix values recognized by the cursorBlink resource.
9919
9920 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9921
9922 * epg.el (epg--make-temp-file): Avoid permission race condition
9923 when running on old Emacs versions (bug#10403).
9924
9925 2012-01-14 Glenn Morris <rgm@gnu.org>
9926
9927 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9928
9929 2012-01-13 Alan Mackenzie <acm@muc.de>
9930
9931 Fix filling for when filladapt mode is enabled.
9932
9933 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9934 c-mask-paragraph, pass in `fill-paragraph' rather than
9935 `fill-region-as-paragraph'. (This is a reversion of a previous
9936 change.)
9937 * progmodes/cc-mode.el (c-basic-common-init):
9938 Make fill-paragraph-handle-comment buffer local and set it to nil.
9939
9940 2012-01-13 Glenn Morris <rgm@gnu.org>
9941
9942 * dired.el (dired-switches-escape-p): New function.
9943 (dired-insert-directory): Use dired-switches-escape-p.
9944 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9945
9946 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9947
9948 2012-01-12 Glenn Morris <rgm@gnu.org>
9949
9950 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9951 changes in adaptive-fill-regexp. (Bug#10276)
9952
9953 2012-01-11 Alan Mackenzie <acm@muc.de>
9954
9955 Fix Emacs bug #10463 - put `widen's around the critical spots.
9956
9957 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9958 widen around each invocation of c-state-pp-to-literal. Remove an
9959 unused let variable.
9960
9961 2012-01-11 Glenn Morris <rgm@gnu.org>
9962
9963 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9964 Doc fix.
9965
9966 2012-01-10 Chong Yidong <cyd@gnu.org>
9967
9968 * net/network-stream.el (network-stream-open-starttls):
9969 Avoid emitting a confusing error message when the server gives a bad
9970 response to the capability command.
9971
9972 2012-01-10 Glenn Morris <rgm@gnu.org>
9973
9974 * mail/unrmail.el (unrmail): Tweak previous change.
9975
9976 2012-01-09 Chong Yidong <cyd@gnu.org>
9977
9978 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9979
9980 2012-01-08 Alan Mackenzie <acm@muc.de>
9981
9982 Optimise font locking in long enum definitions.
9983
9984 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9985 arm to a cond form to handle enums.
9986 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9987 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9988
9989 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9990
9991 * files.el (move-file-to-trash): Preserve default file modes on error.
9992 (Bug#10401)
9993
9994 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9995
9996 * faces.el (set-face-attribute): Clarify the meaning of the nil
9997 frame (bug#10294).
9998
9999 * subr.el (with-selected-frame): Mention that the selected frame
10000 is restored (bug#9980).
10001
10002 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10003 (bug#9759).
10004
10005 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10006 (password-read): Don't autoload unused function.
10007
10008 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * progmodes/which-func.el (which-func-mode): Turn into a
10011 non-interactive function and mark as obsolete (bug#10428).
10012
10013 2012-01-06 Chong Yidong <cyd@gnu.org>
10014
10015 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10016 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10017 functions, along with 1 and -1.
10018
10019 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10020
10021 * time.el (display-time-load-average)
10022 (display-time-default-load-average): Doc fixes. See the thread
10023 starting at
10024 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10025 for the details.
10026
10027 2012-01-06 Glenn Morris <rgm@gnu.org>
10028
10029 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10030 has no messages. (Bug#10377)
10031
10032 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10033 than Info-edit. (Bug#10385)
10034
10035 * time.el (display-time-load-average, display-time-next-load-average):
10036 Doc fixes.
10037
10038 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10039 local setting of buffer-read-only to the input buffer. (Bug#10419)
10040
10041 * calendar/calendar.el (calendar-mode):
10042 Locally set scroll-margin to 0. (Bug#10379)
10043
10044 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10045
10046 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10047
10048 2012-01-05 Glenn Morris <rgm@gnu.org>
10049
10050 * eshell/em-unix.el (diff-no-select): Autoload it.
10051 (eshell/diff): Use diff-no-select. (Bug#10420)
10052
10053 2012-01-05 Chong Yidong <cyd@gnu.org>
10054
10055 * shell.el (shell-dynamic-complete-functions): Revert last change.
10056 (shell-command-completion-function): New function.
10057 (shell-completion-vars): Use it to implement
10058 shell-completion-execonly (Bug#10417).
10059
10060 * custom.el (enable-theme): Don't set custom-safe-themes.
10061
10062 * cus-theme.el (custom-theme-merge-theme):
10063 Ignore custom-enabled-themes and custom-safe-themes.
10064
10065 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10066
10067 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10068 first prompt in `sql-interacive-mode'.
10069 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10070 keywords.
10071 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10072 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10073 context of original buffer. Invoke `sql-login-hook'.
10074
10075 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10076
10077 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10078 letters in cite-prefix.
10079
10080 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10081
10082 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10083
10084 2012-01-03 Chong Yidong <cyd@gnu.org>
10085
10086 * shell.el (shell-dynamic-complete-functions):
10087 Put pcomplete-completions-at-point, so as to try
10088 comint-filename-completion first (Bug#10417).
10089
10090 2012-01-02 Richard Stallman <rms@gnu.org>
10091
10092 * battery.el (battery-status-function):
10093 Detect when to use battery-yeeloong-sysfs.
10094 (battery-echo-area-format): Add string for Yeeloong.
10095 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10096 (battery-yeeloong-sysfs): New function.
10097
10098 2012-01-02 Chong Yidong <cyd@gnu.org>
10099
10100 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10101 (dirtrack): Merge code for handling relative filenames in prompt
10102 from shell-dir-cookie-watcher.
10103 (dirtrack-debug-message): New arg to avoid excess format calls.
10104
10105 * shell.el (shell-dir-cookie-re): Variable deleted.
10106 (shell-dir-cookie-watcher): Function deleted.
10107 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10108 with dirtrack-mode.
10109
10110 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10111
10112 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10113 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10114 libgnutls-26.dll.
10115
10116 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10117
10118 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10119
10120 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10121
10122 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10123 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10124
10125 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10126
10127 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10128 also for alternative shells.
10129 (tramp-open-connection-setup-interactive-shell): Check, whether
10130 the shell is a busybox.
10131 (tramp-send-command): Don't suppress multiple prompts for
10132 busyboxes, it hurts.
10133
10134 2011-12-28 Chong Yidong <cyd@gnu.org>
10135
10136 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10137 (gdb-get-source-file): Move mode line update to
10138 gdb-get-source-file (Bug#10087).
10139
10140 2011-12-25 Chong Yidong <cyd@gnu.org>
10141
10142 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10143 gud-gdb-marker-filter without taking it as an argument.
10144 (gud-gdb-run-command-fetch-lines): Caller changed.
10145 (gud-gdb-completion-function): New variable.
10146 (gud-gdb-completion-at-point): Use it.
10147 (gud-gdb-completions-1): Split from gud-gdb-completions.
10148
10149 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10150 function as separate arguments.
10151 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10152 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10153 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10154 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10155 (gdb-stopped, def-gdb-auto-update-trigger)
10156 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10157 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10158 Callers changed.
10159 (gud-gdbmi-completions): New function.
10160 (gdb): Use it for generating the completion table.
10161
10162 2011-12-24 Alan Mackenzie <acm@muc.de>
10163
10164 Introduce a mechanism to widen the region used in context font
10165 locking. Use this to protect declarations from losing their contexts.
10166
10167 * progmodes/cc-langs.el (c-before-font-lock-functions):
10168 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10169 (c-before-context-fontification-functions): New defvar, a list of
10170 functions to be run just before context (etc.) font locking.
10171
10172 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10173 New, functionality extracted from
10174 c-neutralize-syntax-in-and-mark-CPP.
10175 (c-in-after-change-fontification): New variable.
10176 (c-after-change): Set c-in-after-change-fontification.
10177 (c-set-fl-decl-start): Rejig its interface, so it can be called
10178 from both after-change and context fontifying.
10179 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10180 New functions.
10181 (c-standard-font-lock-fontify-region-function): New variable.
10182 (c-font-lock-fontify-region): New function.
10183
10184 2011-12-24 Juri Linkov <juri@jurta.org>
10185
10186 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10187 (Bug#10348)
10188
10189 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10190
10191 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10192 existence of source file. (Bug#10325)
10193
10194 2011-12-23 Alan Mackenzie <acm@muc.de>
10195
10196 Fix unstable fontification inside templates.
10197
10198 * progmodes/cc-langs.el (c-before-font-lock-functions):
10199 Newly created from the singular version. The (c c++ objc) entry now
10200 additionally has c-set-fl-decl-start. The other languages (apart
10201 from AWK) have that as a single entry.
10202
10203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10204 The functionality for "local" declarations has been extracted to
10205 c-set-fl-decl-start.
10206
10207 * progmodes/cc-mode.el (c-common-init, c-after-change):
10208 Changes due to pluralisation of c-before-font-lock-functions.
10209 (c-set-fl-decl-start): New function, extracted from
10210 c-font-lock-enclosing-decls and enhanced.
10211
10212 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10215
10216 2011-12-22 Juri Linkov <juri@jurta.org>
10217
10218 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10219
10220 2011-12-22 Chong Yidong <cyd@gnu.org>
10221
10222 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10223
10224 2011-12-21 Drew Adams <drew.adams@oracle.com>
10225
10226 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10227
10228 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10229
10230 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10231
10232 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10233
10234 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10235 highlighting and support. Fix up comments for capitalization.
10236 (cfengine-mode-debug): New var.
10237 (cfengine3-mode): Change the modeline indicator to "CFE3".
10238 (cfengine3-font-lock-keywords): Improve defun highlighting.
10239 (cfengine2-actions): Rename from `cfengine-actions'.
10240 (cfengine2-font-lock-keywords): Rename from
10241 `cfengine-font-lock-keywords'.
10242 (cfengine2-imenu-expression): Rename from
10243 `cfengine-imenu-expression'.
10244 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10245 (cfengine2-beginning-of-defun): Rename from
10246 `cfengine-beginning-of-defun'.
10247 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10248 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10249 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10250 modeline indicator to "CFE2".
10251 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10252 (cfengine-mode-abbrevs): Mark obsolete.
10253
10254 2011-12-21 Chong Yidong <cyd@gnu.org>
10255
10256 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10257 filename argument.
10258
10259 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10260
10261 * window.el (window-normalize-buffer-to-display): Remove.
10262 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10263
10264 2011-12-19 Chong Yidong <cyd@gnu.org>
10265
10266 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10267 Don't signal an error in a predicate function; return non-nil.
10268 (vc-dir-mark-file): Move the error here.
10269 (vc-dir-mark-unmark): If acting on the region, keep going if one
10270 of the entries cannot be marked/unmarked.
10271 (vc-dir-mark-all-files): If current entry is a directory, mark
10272 only child files, as documented.
10273
10274 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10275
10276 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10277 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10278 addition.
10279
10280 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10281
10282 * term/ns-win.el (ns-get-selection-internal)
10283 (ns-store-selection-internal): Declare.
10284 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10285 Declare as obsolete.
10286 (ns-get-pasteboard, ns-paste-secondary):
10287 Use ns-get-selection-internal.
10288 (ns-set-pasteboard, ns-copy-including-secondary):
10289 Use ns-store-selection-internal.
10290
10291 2011-12-17 Chong Yidong <cyd@gnu.org>
10292
10293 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10294 (vc-deduce-fileset): Doc fix.
10295
10296 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10297
10298 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10299
10300 2011-12-13 Sam Steingold <sds@gnu.org>
10301
10302 * man.el (Man-getpage-in-background): When running under a
10303 window-system, ignore $MANWIDTH and $COLUMNS.
10304
10305 2011-12-15 Kenichi Handa <handa@m17n.org>
10306
10307 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10308 (setup-ethiopic-environment-internal): Comment out key-binding for
10309 ethio-toggle-punctuation.
10310
10311 2011-12-13 Alan Mackenzie <acm@muc.de>
10312
10313 Add the switch statement to AWK Mode.
10314
10315 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10316 "default" to the keywords regexp.
10317
10318 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10319 expression as the rest.
10320 (c-nonlabel-token-key): Allow string literals for AWK.
10321 Refactor for the other modes.
10322
10323 Large brace-block initialisation makes CC Mode slow: Fix.
10324 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10325 routines. Limit backward searching in c-font-lock-enclosing.decl.
10326
10327 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10328 pp-state and literal type in addition to the limits.
10329 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10330 (c-state-literal-at): Use the above new defun.
10331 (c-slow-in-literal, c-fast-in-literal): Remove.
10332 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10333
10334 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10335 being in a literal. Add a limit for backward searching.
10336
10337 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10338 c-slow-in-literal.
10339
10340 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10343
10344 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10345
10346 * window.el (delete-other-windows): Use correct frame in call to
10347 window-with-parameter.
10348
10349 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10350
10351 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10352 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10353 (makefile-gmake-statements, makefile-makepp-statements):
10354 Use it and add new makepp keywords.
10355 (makefile-makepp-font-lock-keywords): Add new patterns.
10356 (makefile-match-function-end): Match new [...] and [[...]].
10357
10358 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10359
10360 * ses.el (ses-call-printer-return, ses-cell-property-get)
10361 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10362 (ses-create-cell-variable, ses-reset-header-string)
10363 (ses-cell-set-formula, ses-repair-cell-reference-all)
10364 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10365 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10366 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10367 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10368 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10369 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10370 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10371 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10372 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10373 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10374 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10375 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10376
10377 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10378
10379 * ses.el: The overall change is to add cell renaming, that is
10380 setting fancy names for cell symbols other than name matching
10381 "\\`[A-Z]+[0-9]+\\'" regexp .
10382 (ses-create-cell-variable): New defun.
10383 (ses-relocate-formula): Relocate formulas only for cells the
10384 symbols of which are not renamed, i.e. symbols whose names do not
10385 match regexp "\\`[A-Z]+[0-9]+\\'".
10386 (ses-relocate-all): Relocate values only for cells the symbols of
10387 which are not renamed.
10388 (ses-load): Create cells variables as the (ses-cell ...) are read,
10389 in order to check row col consistency with cell symbol name only
10390 for cells that are not renamed.
10391 (ses-replace-name-in-formula): New defun.
10392 (ses-rename-cell): New defun.
10393
10394 2011-12-11 Chong Yidong <cyd@gnu.org>
10395
10396 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10397 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10398
10399 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10400
10401 * window.el (other-window): Fix docstring.
10402
10403 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10404
10405 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10406 `from' or `to' address before taking its substring.
10407 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10408 encoded name is chopped in the middle of the encoded string, and
10409 thus displayed encoded.
10410
10411 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10414
10415 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10416
10417 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10418 to use texinfo-update-node and commands that call it if the
10419 Texinfo file uses @node lines without next/prev/up pointers.
10420 Correct outdated description about texinfo-master-menu.
10421 (texinfo-all-menus-update, texinfo-master-menu)
10422 (texinfo-update-node, texinfo-every-node-update)
10423 (texinfo-multiple-files-update): Doc fix. Warn against updating
10424 all the @node lines.
10425 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10426 argument is numeric. Explain better in the doc string what the
10427 function really does.
10428 (texinfo-insert-master-menu-list): Improve the error message
10429 displayed if there's no menu in the Top node.
10430 (Bug#2975) See also this thread:
10431 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10432
10433 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10434
10435 * speedbar.el (speedbar-supported-extension-expressions):
10436 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10437
10438 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10439
10440 * printing.el (pr-mode-alist):
10441 * simple.el (filter-buffer-substring-functions)
10442 (completion-list-insert-choice-function):
10443 * window.el (window-with-parameter, window-atom-root)
10444 (window-sides-slots, window-size-fixed, window-min-delta)
10445 (window-max-delta, window--resize-mini-window)
10446 (window--resize-child-windows-normal, window-tree)
10447 (delete-other-windows, quit-window, split-window)
10448 (display-buffer-record-window, special-display-buffer-names)
10449 (special-display-regexps, special-display-popup-frame)
10450 (same-window-p, split-window-sensibly)
10451 (display-buffer-overriding-action, display-buffer-alist)
10452 (display-buffer-base-action, display-buffer, switch-to-buffer)
10453 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10454 (fit-window-to-buffer, recenter-positions)
10455 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10456 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10457 and remove unneeded backslashes in docstrings.
10458
10459 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10462
10463 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10464 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10465 end in ".mk".
10466 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10467 when reading the makefile (bug#10116).
10468
10469 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10472 (bug#10116).
10473
10474 2011-12-06 Glenn Morris <rgm@gnu.org>
10475
10476 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10477
10478 2011-12-06 Chong Yidong <cyd@gnu.org>
10479
10480 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10481
10482 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10483
10484 * textmodes/table.el (table-shorten-cell): Fix typo.
10485
10486 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10487
10488 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10489
10490 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10491
10492 * descr-text.el (describe-char): Fix display of strong
10493 right-to-left characters and directional embeddings and overrides.
10494
10495 * simple.el (what-cursor-position): Fix display of codepoints of
10496 strong right-to-left characters.
10497
10498 2011-12-05 Chong Yidong <cyd@gnu.org>
10499
10500 * faces.el (read-color): Doc fix.
10501
10502 2011-12-05 Glenn Morris <rgm@gnu.org>
10503
10504 * align.el (align--set-marker): Add doc-string.
10505 Don't try to move something that is not a marker. (Bug#10216)
10506
10507 2011-12-04 Glenn Morris <rgm@gnu.org>
10508
10509 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10510 overly zealous deletion of trailing whitespace.
10511
10512 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * server.el (server-delete-client): On Windows, do not try to delete
10515 the only terminal.
10516 (server-process-filter): On Windows, treat requests for a tty frame as
10517 if they were for a GUI frame if the running server is in GUI mode.
10518
10519 2011-12-03 Glenn Morris <rgm@gnu.org>
10520
10521 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10522
10523 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * electric.el: Streamline electric-indent's hook.
10526 (electric-indent-chars): Revert to simple list.
10527 (electric-indent-functions): New var.
10528 (electric-indent-post-self-insert-function): Use it.
10529
10530 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10531 there's no inferior buffer (bug#10196).
10532 (prolog-consult-compile): Don't use toggle-read-only.
10533
10534 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10537 interrupt. (Bug#10187)
10538
10539 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10542 (bug#9160).
10543
10544 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10545 (bug#10191).
10546
10547 2011-12-02 Juri Linkov <juri@jurta.org>
10548
10549 * info.el (Info-search): Display "end of manual" when Isearch
10550 reaches the end of single-file Info manual. (Bug#9918)
10551
10552 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10553
10554 * isearch.el (isearch-message-prefix): Run the input method part
10555 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10556
10557 2011-12-02 Juri Linkov <juri@jurta.org>
10558
10559 * isearch.el (isearch-occur): Use `word-search-regexp' for
10560 `isearch-word'.
10561 (isearch-search-and-update): Add condition for `isearch-word' and
10562 call `word-search-regexp'. (Bug#10145)
10563
10564 2011-12-01 Glenn Morris <rgm@gnu.org>
10565
10566 * eshell/em-hist.el (eshell-hist-initialize):
10567 Handle eshell-history-size nil and HISTSIZE set or unset.
10568 (eshell-history-file-name, eshell-history-size): Fix custom type.
10569
10570 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10571
10572 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10573
10574 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10575
10576 * progmodes/verilog-mode.el (verilog-pretty-expr):
10577 Rework verilog-pretty-expr to handle new assignment operators in system
10578 verilog, such as += *= and the like.
10579 (verilog-assignment-operator-re): Regular expression to find the
10580 assigment operator in a verilog assignment.
10581 (verilog-assignment-operation-re): Regular expression to find an
10582 assignment statement for pretty-expr.
10583 (verilog-in-attribute-p): Query returns true if point is in an
10584 attribute context; used to skip these for expression line up from
10585 pretty-expr.
10586 (verilog-in-parameter-p): Query returns true if point is in an
10587 parameter definition context; used to skip these for expression
10588 line up from pretty-expr.
10589 (verilog-in-parenthesis-p): Query returns true if point is in a
10590 parenthetical expression, specifically ( ) but not [ ] or { };
10591 used by pretty-expr.
10592 (verilog-just-one-space): If there is no space, don't add one.
10593 (verilog-get-lineup-indent-2): Specifically skip just attribute
10594 contexts for expression lineup, rather than skipping all
10595 parenthetical expressions.
10596 (verilog-calculate-indent): Fix comment, and fix indent.
10597 (verilog-do-indent): Indent declarations in lists (suggested by
10598 Joachim Lechner).
10599 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10600 skeleton items.
10601 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10602 by Alain Mellan).
10603
10604 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10605
10606 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10607 parameters with embedded comments. Reported by Ray Stevens.
10608 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10609 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10610 Reported by Tim Holt.
10611 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10612 instantiated by upper module causing wrong expansion until AUTOed a
10613 second time. Reported by K C Buckenmaier.
10614 (verilog-diff-auto): Fix showing .* as a difference when
10615 `verilog-auto-star-save' off. Reported by Dan Dever.
10616 (verilog-auto-reset, verilog-read-always-signals)
10617 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10618 temporary signals in reset list if
10619 verilog-auto-reset-blocking-in-non is nil, and match assignment
10620 style to each signal's assignment type, bug381.
10621 Reported by Thomas Esposito.
10622 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10623 (verilog-uvm-statement-re): Support UVM indentation and
10624 highlighting, with old OVM keywords only.
10625 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10626 Support AUTOTIEOFF creating non-wire data types.
10627 Suggested by Jonathan Greenlaw.
10628 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10629 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10630 (verilog-inject-sense, verilog-read-inst-pins)
10631 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10632 Fix mismatching parenthesis inside commented out code when deleting
10633 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10634 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10635 non-numeric vector width. Reported by Alex Reed.
10636 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10637 detecting signals with parameter widths. Reported by Alex Reed.
10638 (verilog-auto-delete-trailing-whitespace):
10639 With `verilog-auto-delete-trailing-whitespace' remove trailing
10640 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10641 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10642 Fix verilog-scan-cache corruption when running user AUTO expansion
10643 hooks that call indentation routines.
10644 (verilog-simplify-range-expression): Fix typo ignoring lower case
10645 identifiers.
10646 (verilog-delete-auto): Fix delete-autos to also remove user created
10647 automatics, as long as they start with AUTO.
10648 (verilog-batch-diff-auto, verilog-diff-auto)
10649 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10650 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10651 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10652 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10653 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10654 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10655 is disabled and its cache will get corrupt, causing AUTOS not to
10656 expand. Instead use only -quick functions.
10657 (verilog-scan-region): Fix scanning over escaped quotes.
10658 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10659 (verilog-re-search-backward-quick)
10660 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10661 related functions now ignore strings, to fix misparsing of strings
10662 with magic comments embedded in them.
10663 (verilog-read-auto-template):
10664 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10665 Reported by Brad Dobbie.
10666 (verilog-read-auto-template):
10667 Fix 'verilog-auto-inst-template-numbers' with comments.
10668 Reported by Brad Dobbie.
10669 (verilog-auto-inst, verilog-auto-inst-param)
10670 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10671 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10672 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10673 debugging templates without merge conflicts, bug357.
10674 Reported by Brad Dobbie.
10675 (verilog-read-auto-template):
10676 Fix verilog-auto-inst-template-numbers with multiple templates.
10677 Reported by Brad Dobbie.
10678 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10679 abbrevs so user won't be asked to save.
10680 (verilog-read-auto-lisp-present): Fix to start at beginning of
10681 buffer in case called outside of verilog-auto.
10682 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10683 to "X-2". Reported by Matthew Myers.
10684 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10685 all inputs from module templates. Reported by Leith Johnson.
10686 (verilog-module-inside-filename-p): Fix locating programs as with
10687 modules.
10688 (verilog-auto-inst-port): Fix vl-width expressions when using
10689 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10690 (verilog-decls-get-regs, verilog-decls-get-signals,
10691 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10692 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10693 verilog-read-decls): Combine reg and wire structures into one var
10694 structure to represent SystemVerilog concepts.
10695 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10696 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10697 (verilog-auto-wire-type, verilog-insert-definition):
10698 Add verilog-auto-wire-type and AUTOLOGIC to support using
10699 SystemVerilog "logic" keyword instead of "wire"/"reg".
10700 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10701 to declares outputs that also have assignments (presumably in an
10702 ifdef or generate if so there's not a driver conflict).
10703 Reported by Matthew Myers.
10704 (verilog-auto-declare-nettype, verilog-insert-definition):
10705 Add verilog-auto-declare-nettype to fix declarations using
10706 `default_nettype none. Reported by Julian Gorfajn.
10707 (verilog-read-always-signals-recurse, verilog-read-decls)
10708 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10709 malformed end statement, bug325. Reported by Joshua Wise and
10710 Andrew Drake.
10711 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10712 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10713 when expanding .* in interfaces, bug320.
10714 Reported by Pierre-David Pfister.
10715 (verilog-read-module-name): Fix import statements between module
10716 name and open parenthesis, bug317.
10717 Reported by Pierre-David Pfister.
10718 (verilog-simplify-range-expression): Fix simplification of
10719 multiplications inside AUTOWIRE connections, bug303.
10720 (verilog-auto-inst-port): Support parameter expansion in
10721 multidimensional arrays.
10722 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10723 after "assert property". Reported by Julian Gorfajn.
10724 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10725 with multiplication, bug303.
10726 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10727 Reported by Jan Frode Lonnum.
10728
10729 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10730
10731 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10732 (hfy-shell-file-name, hfy-shell):
10733 * international/fontset.el (x-decompose-font-name): Fix typos.
10734
10735 2011-11-29 Ken Brown <kbrown@cornell.edu>
10736
10737 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10738 (gdb-version): Remove defvar.
10739 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10740 (gdb-gud-context-command, gdb-non-stop-handler)
10741 (gdb-current-context-command, gdb-stopped): Use it.
10742 (gdb-init-1): Enable pretty printing here.
10743 (gdb-non-stop-handler): Don't enable pretty-printing here.
10744 Check to see if the target supports non-stop mode; if not, turn off
10745 non-stop mode. Use the following.
10746 (gdb-check-target-async): New defun.
10747 (gud-watch, gdb-stopped): Fix whitespace.
10748 (gdb-get-source-file): Don't try to display the source file if
10749 `gdb-main-file' is nil.
10750
10751 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * align.el: Try to generate fewer markers (bug#10047).
10754 (align--set-marker): New macro.
10755 (align-region): Use it.
10756
10757 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10760
10761 2011-11-29 Chong Yidong <cyd@gnu.org>
10762
10763 * indent.el (indent-for-tab-command, indent-according-to-mode):
10764 Doc fix.
10765 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10766
10767 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10770 aware of remote file names. (Bug#10124)
10771
10772 2011-11-29 Chong Yidong <cyd@gnu.org>
10773
10774 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10775
10776 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * files.el (find-file): Don't use force-same-window (bug#10144).
10779 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10780 use pop-to-buffer if the selected window can't be used.
10781 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10782
10783 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10784
10785 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10786 special-mode-map.
10787
10788 2011-11-28 Chong Yidong <cyd@gnu.org>
10789
10790 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10791
10792 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10793
10794 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10795 gdb-get-source-file-list on gdb-create-source-file-list.
10796
10797 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10798
10799 * whitespace.el (whitespace-newline): Use a different foreground
10800 color for 16-color light-background displays.
10801
10802 2011-11-24 Chong Yidong <cyd@gnu.org>
10803
10804 * window.el (display-buffer--special-action): Doc fix.
10805
10806 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10809 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10810 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10811 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10812 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10813 (avl-tree-stack-first):
10814 * emacs-lisp/cconv.el (cconv--analyse-use):
10815 * net/gnutls.el (gnutls-negotiate): Fix typos.
10816
10817 2011-11-24 Glenn Morris <rgm@gnu.org>
10818
10819 * lpr.el (lpr-windows-system, lpr-lp-system):
10820 * mail/binhex.el (binhex-begin-line):
10821 * progmodes/grep.el (grep-history, grep-find-history):
10822 * textmodes/flyspell.el:
10823 * vc/pcvs-defs.el (cvs-global-menu):
10824 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10825 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10826 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10827
10828 * net/tls.el: Fix case of "GnuTLS".
10829
10830 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10831
10832 * version.el (emacs-build-system): Give it a doc-string.
10833
10834 2011-11-24 Juri Linkov <juri@jurta.org>
10835
10836 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10837
10838 2011-11-24 Glenn Morris <rgm@gnu.org>
10839
10840 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10841 if called on a non-mime message just toggle the headers. (Bug#8006)
10842
10843 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10844
10845 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10846 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10847 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10848 (allout-rebullet-heading, allout-open-sibtopic)
10849 (allout-toggle-current-subtree-encryption)
10850 (allout-toggle-subtree-encryption, allout-encrypt-string)
10851 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10852 (allout-distinctive-bullets-string, allout-auto-activation):
10853 * window.el (window-normalize-buffer-to-display):
10854 * progmodes/verilog-mode.el (verilog-batch-indent):
10855 * textmodes/bibtex.el (bibtex-field-braces-opt)
10856 (bibtex-field-strings-opt):
10857 * vc/cvs-status.el (cvs-tree-merge):
10858 Fix typos.
10859
10860 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10861
10862 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10863 `non-essential' to t, in order to avoid remote connections.
10864
10865 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10866
10867 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10868 On MS-DOS and MS-Windows, compare with loaddefs.el
10869 case-insensitively.
10870
10871 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10872
10873 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10874
10875 2011-11-23 Glenn Morris <rgm@gnu.org>
10876
10877 * paths.el (rmail-file-name): Reformat the doc-string so that it
10878 is picked up.
10879
10880 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10881 (rmail-auto-file): Ignore case in the "special" field names,
10882 as mail-fetch-field does for all others.
10883
10884 * mail/rmail.el (rmail-forward):
10885 * mail/rmailkwd.el (rmail-set-label):
10886 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10887 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10888
10889 * mail/rmail.el (rmail-current-message): Doc fix.
10890
10891 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10892
10893 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10894
10895 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10896
10897 2011-11-22 Glenn Morris <rgm@gnu.org>
10898
10899 * mail/rmailmm.el (test-rmail-mime-handler)
10900 (test-rmail-mime-bulk-handler)
10901 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10902
10903 2011-11-21 Juri Linkov <juri@jurta.org>
10904
10905 * calc/calc.el (calc-read-key-sequence):
10906 Let-bind `input-method-function' to nil. (Bug#10018)
10907
10908 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10909
10910 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10911 Tell the caller that the next line needs recomputation, even
10912 though it doesn't start a sexp (bug#10094).
10913
10914 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10917
10918 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10921 Use force-same-window.
10922
10923 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10924
10925 * descr-text.el (describe-char-unicode-data):
10926 * json.el (json-string-escape):
10927 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10928 (Footnote-unicode, Footnote-style-p):
10929 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10930
10931 2011-11-20 Chong Yidong <cyd@gnu.org>
10932
10933 * window.el (replace-buffer-in-windows): Restore interactive spec.
10934
10935 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10938
10939 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10940 (byte-compile-global-not-obsolete-vars): New var.
10941 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10942 Use it.
10943 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10944
10945 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10946
10947 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10948 * progmodes/pascal.el (electric-pascal-equal):
10949 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10950 * xml.el (xml-substitute-special): Fix typos.
10951
10952 2011-11-20 Glenn Morris <rgm@gnu.org>
10953
10954 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10955 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10956 Doc fixes.
10957 (rmail-decode-mime-charset): Mark as obsolete.
10958
10959 * mail/rmailsum.el (rmail-message-regexp-p-1):
10960 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10961 Before using mime functions, check they are set. (Bug#10077)
10962
10963 2011-11-19 Juri Linkov <juri@jurta.org>
10964
10965 * info.el (Info-finder-find-node): Use `package--builtins' instead
10966 of `package-alist'. Use node names formed by the pattern "Keyword "
10967 and the keyword name.
10968
10969 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10970
10971 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10972
10973 2011-11-19 Juri Linkov <juri@jurta.org>
10974
10975 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10976 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10977 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10978 `old-history', `old-history-forward'. Add let-binding
10979 `window-selected'. Remove calls to `kill-buffer',
10980 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10981 before calling `Info-find-node', so `Info-find-node-2' will reread
10982 the Info file. Restore window positions only when `window-selected'
10983 is non-nil.
10984
10985 2011-11-19 Juri Linkov <juri@jurta.org>
10986
10987 * isearch.el (isearch-lazy-highlight-new-loop):
10988 Remove condition `(not isearch-error)'. (Bug#9918)
10989
10990 * misearch.el (multi-isearch-search-fun): Add condition
10991 `(not bound)' to ignore lazy-highlighting search.
10992 Add the search-failed message "end of multi" when the end of
10993 multi-sequence is reached. Uncapitalize the search-failed
10994 message "Repeat for next buffer".
10995
10996 * info.el (Info-search): Add the search-failed message
10997 "end of the manual" when the end of the manual is reached
10998 in Isearch mode.
10999
11000 2011-11-19 Juri Linkov <juri@jurta.org>
11001
11002 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11003 Use non-destructive `remove' instead of `delete' because
11004 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11005 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11006
11007 2011-11-19 Juri Linkov <juri@jurta.org>
11008
11009 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11010 to nil instead of binding `search-ring' and `regexp-search-ring'.
11011 (Bug#9185)
11012
11013 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11014
11015 * simple.el (line-move): Force movement by logical lines for any
11016 hscrolled window, not only when auto-hscroll-mode is on.
11017 (line-move-visual): Update doc string to that effect. (Bug#10076)
11018
11019 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11020
11021 * language/european.el (macintosh): Define as alias for mac-roman.
11022
11023 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11024
11025 * mail/rmailmm.el (rmail-mime-display-header)
11026 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11027 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11028 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11029 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11030 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11031 of a raw aref.
11032 (rmail-mime-entity-segment): To get past the tagline, move forward
11033 2 more lines, to account for the 2 empty lines that precede and
11034 follow the line with the buttons.
11035 (rmail-mime-update-tagline): Move one more line, to get past the
11036 empty line that follows the buttons in the tagline. (Bug#9520)
11037
11038 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11039
11040 * window.el (window-max-delta-1, window-min-delta-1)
11041 (window-min-size-1, window-state-get-1, window-state-put-1)
11042 (window-state-put-2): Use "window--" prefix.
11043
11044 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11047 (smie-warning-count): New var.
11048 (smie-set-prec2tab): Use it.
11049 (smie-bnf->prec2): Improve warnings. Add docstring.
11050 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11051 (smie-bnf--set-class): New function.
11052 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11053 corner case.
11054
11055 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11056 (compilation-error-properties, compilation-move-to-column):
11057 Handle compilation-first-column while in the target buffer.
11058
11059 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11060 Don't hardcode point-min==1.
11061
11062 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11063 (eshell-rewrite-for-command): Remove workaround.
11064 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11065 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11066 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11067
11068 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11069
11070 2011-11-17 Glenn Morris <rgm@gnu.org>
11071
11072 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11073 Ignore buffer-local generated-autoload-file if it is the same
11074 as the global value. (Bug#10049)
11075
11076 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11077
11078 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11079 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11080 (reftex-toc-previous-heading, reftex-toc-max-level)
11081 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11082 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11083 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11084 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11085 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11086 (reftex-toc-rename-label, reftex-toc-visit-location)
11087 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11088 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11089 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11090 leaving "*toc*" only for references to the buffer.
11091
11092 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11093
11094 * window.el (window-resize, delete-window, split-window):
11095 Replace window-splits by window-combination-resize.
11096 * cus-start.el (window-splits): Replace by window-combination-resize.
11097
11098 2011-11-17 Glenn Morris <rgm@gnu.org>
11099
11100 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11101 Make bash entry derive from sh entry, not shell entry.
11102
11103 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11104
11105 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11106 local file name.
11107
11108 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11109
11110 * menu-bar.el (menu-bar-file-menu):
11111 * printing.el (pr-ps-utility):
11112 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11113 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11114 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11115 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11116 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11117 (icalendar--convert-cyclic-to-ical)
11118 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11119 (icalendar--convert-ical-to-diary)
11120 (icalendar--convert-recurring-to-diary)
11121 (icalendar--convert-non-recurring-all-day-to-diary)
11122 (icalendar-import-format-sample):
11123 * progmodes/idlw-shell.el (idlwave-shell-mode):
11124 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11125 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11126 (vhdl-ps-print-init): Fix typos.
11127
11128 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11129
11130 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11131 FSF and collapse date sequence, obscure author/maintainer email address
11132 better, remove extra version line, track relocation of author's webpage.
11133
11134 * progmodes/python.el (python-pdbtrack-input-prompt)
11135 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11136 regular python pdb prompts. Adjustments shamelessly taken exactly as
11137 suggested in EmacsWiki page (tiny change):
11138 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11139
11140 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11141
11142 * expand.el (expand-pos, expand-index, expand-point):
11143 Remove redundant info from docstring.
11144 (expand-add-abbrevs): Doc fix.
11145 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11146 (expand-sample-perl-mode-expand-list): Fix typos.
11147
11148 * net/dbus.el (dbus-event-member-name):
11149 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11150 * term/pc-win.el (msdos-create-frame-with-faces):
11151 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11152
11153 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11154
11155 * window.el (split-window, window-state-get-1)
11156 (window-state-put-1, window-state-put-2): Rename occurrences of
11157 window-nest to window-combination-limit.
11158 * cus-start.el (window-nest): Rename to window-combination-limit.
11159
11160 2011-11-16 Chong Yidong <cyd@gnu.org>
11161
11162 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11163 regexp (Bug#10033).
11164
11165 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11168 `completing-read' will remove *Completions* and will preserve
11169 current-buffer for us.
11170 (tmm-add-prompt): Users of *Completions* will always (re)set its
11171 major mode.
11172 (tmm-old-comp-map): Remove.
11173
11174 2011-11-16 Glenn Morris <rgm@gnu.org>
11175
11176 * mail/rmailedit.el: Require rmailmm when compiling.
11177 (rmail-old-mime-state): New declaration.
11178 (rmail-edit-current-message): If editing a mime message,
11179 edit the "raw" message from the mbox buffer.
11180 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11181
11182 2011-11-15 Glenn Morris <rgm@gnu.org>
11183
11184 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11185 which wasn't being used. Add optional arg to force given state.
11186 (rmail-mime): Add optional arg to force given state.
11187
11188 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11189
11190 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11191 * frame.el (display-mm-dimensions-alist):
11192 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11193 (outline-move-subtree-down):
11194 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11195 (newsticker--treeview-do-get-node):
11196 * net/quickurl.el (quickurl-list-buffer-name):
11197 * progmodes/dcl-mode.el (dcl-mode):
11198 * progmodes/gdb-mi.el (gdb-mapcar*):
11199 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11200
11201 2011-11-15 Glenn Morris <rgm@gnu.org>
11202
11203 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11204 in a boolean sense, so just make it a boolean, and fix the doc.
11205 (rmail-show-mime-function, rmail-mime-feature)
11206 (rmail-require-mime-maybe): Doc fixes.
11207 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11208
11209 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11210
11211 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11212
11213 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11214 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11215 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11216 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11217
11218 2011-11-15 Glenn Morris <rgm@gnu.org>
11219
11220 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11221 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11222 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11223 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11224 (rmail-mime, rmail-show-mime): Doc fixes.
11225
11226 * term/ns-win.el (mode-line-frame-identification):
11227 Leave it alone. (Bug#10051)
11228
11229 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11230
11231 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11232 Handle empty buffers. (Bug#9978)
11233
11234 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11235
11236 * international/mule.el (define-charset):
11237 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11238 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11239 * progmodes/verilog-mode.el (verilog-backward-token):
11240 * textmodes/ispell.el (lookup-words):
11241 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11242
11243 2011-11-14 Glenn Morris <rgm@gnu.org>
11244
11245 * progmodes/executable.el
11246 (executable-make-buffer-file-executable-if-script-p):
11247 Handle file-modes returning nil.
11248
11249 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11250 message - not necessary, and causes problems. (Bug#9831)
11251
11252 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11253
11254 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11255
11256 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11257 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11258 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11259
11260 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11261
11262 * window.el (window-resize, delete-window): Use window-splits
11263 variable instead of function.
11264 (window-state-get-1, window-state-put-2, window-state-put):
11265 Don't deal with windows' splits status.
11266
11267 2011-11-12 Glenn Morris <rgm@gnu.org>
11268
11269 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11270 (apropos-documentation): Doc fixes.
11271
11272 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11273
11274 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11275 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11276
11277 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * electric.el (electric-indent-post-self-insert-function): Make it
11280 possible for a char to only indent in some circumstances.
11281 (electric-indent-mode): Simplify.
11282
11283 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11284
11285 * window.el (windows-with-parameter): Remove unused function.
11286 (windows-at-side): Rename to window-at-side-list.
11287 (window-check, window-atom-check, window-atom-check-1)
11288 (window-side-check, window-size-ignore, window-size-fixed-1)
11289 (window-in-direction-2): Prefix with "window--".
11290 (window-tree-1): Rename to window--subtree, fix doc-string.
11291
11292 2011-11-11 Glenn Morris <rgm@gnu.org>
11293
11294 * subr.el (eval-after-load): If FILE is already loaded,
11295 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11296
11297 2011-11-10 Glenn Morris <rgm@gnu.org>
11298
11299 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11300 Call svn via vc-svn-command rather than vc-do-command.
11301 (vc-svn-command): Add --non-interactive. (Bug#9993)
11302 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11303
11304 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11305 Add toggle-read-only. (Bug#7292)
11306 * files.el (toggle-read-only): Mention that it should only
11307 be used interactively. (Bug#10006)
11308
11309 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11312 Adjust regexp for OCaml warnings.
11313
11314 * electric.el (electric-pair-post-self-insert-function): Let user
11315 turn it off buffer-locally (bug#9932).
11316
11317 * progmodes/python.el (python-beginning-of-statement):
11318 Rewrite (bug#2703).
11319
11320 * progmodes/compile.el: Better handle TABs (bug#9749).
11321 (compilation-internal-error-properties)
11322 (compilation-next-error-function): Obey the target buffer's
11323 compilation-error-screen-columns.
11324
11325 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11326
11327 * progmodes/meta-mode.el: Remove obsolete comments.
11328 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11329 Fix typos in docstrings.
11330
11331 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11332
11333 * window.el (window-size-fixed-p): Rewrite doc-string.
11334 (window-resizable-p): Rename to window--resizable-p. Update callers.
11335 (window--resizable): New function. Make all callers of
11336 window-resizable call window--resizable instead.
11337 (window-resizable): Rewrite in terms of window--resizable.
11338
11339 2011-11-08 Glenn Morris <rgm@gnu.org>
11340
11341 * progmodes/delphi.el (delphi-mode-syntax-table):
11342 Let define-derived-mode define a proper syntax table. (Bug#9994)
11343
11344 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11345
11346 * window.el: Stay away from defsubst.
11347 (window-list-no-nils): Remove.
11348 (window-state-get-1, window-state-get): Use backquote instead.
11349
11350 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11351
11352 * emacs-lisp/find-func.el (find-function-read):
11353 Fix incorrect use of default argument in `completing-read'.
11354
11355 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11356
11357 * window.el (display-buffer-function, special-display-function):
11358 Mention display-buffer-record-window but do not mention
11359 help-setup parameter in doc-strings.
11360 (window-min-delta): Fix doc-string typo.
11361
11362 2011-11-08 Chong Yidong <cyd@gnu.org>
11363
11364 * window.el (window-total-height, window-total-width): Doc fix.
11365 (window-body-size): Move from C.
11366 (window-body-height, window-body-width): Move to C.
11367
11368 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * window.el: Make special-display like display-buffer-alist (bug#9532).
11371 (display-buffer--special-action): New function, morphed
11372 from display-buffer--special.
11373 (display-buffer): Use it to handle special-display-buffers at higher
11374 priority (just after display-buffer-alist).
11375 (display-buffer-fallback-action, display-buffer--other-frame-action)
11376 (pop-to-buffer-same-window): Remove display-buffer--special.
11377
11378 2011-11-07 Glenn Morris <rgm@gnu.org>
11379
11380 * calendar/cal-menu.el (cal-menu-set-date-title):
11381 Do nothing if not in a calendar. (Bug#9976)
11382
11383 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * files.el (find-file): Always use selected-window.
11386
11387 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11388
11389 * window.el (window-combinations): Make WINDOW argument
11390 mandatory. Rewrite doc-string.
11391 (walk-window-subtree, window-atom-check, window-min-delta)
11392 (window-max-delta, window--resize-this-window)
11393 (window--resize-root-window-vertically, window-tree)
11394 (balance-windows, window-state-put): Rewrite doc-strings as to
11395 not mention the term "subwindow".
11396 (window--resize-subwindows-skip-p): Rename to
11397 window--resize-child-windows-skip-p.
11398 (window--resize-subwindows-normal): Rename to
11399 window--resize-child-windows-normal.
11400 (window--resize-subwindows): Rename to
11401 window--resize-child-windows.
11402 (window-or-subwindow-p): Rename to window--in-subtree-p.
11403
11404 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11405
11406 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11407 Ensure that mbox format messages end in two newlines (Bug#9974).
11408
11409 2011-11-06 Chong Yidong <cyd@gnu.org>
11410
11411 * window.el (window-combination-p): Function deleted; its
11412 side-effect is not used in any existing code.
11413 (window-combinations, window-combined-p): Call window-*-child
11414 directly.
11415
11416 2011-11-05 Chong Yidong <cyd@gnu.org>
11417
11418 * window.el (window-valid-p): Rename from window-any-p.
11419 (window-size-ignore, window-state-get): Callers changed.
11420 (window-normalize-window): Rename from window-normalize-any-window.
11421 New arg LIVE-ONLY, replacing window-normalize-live-window.
11422 (window-normalize-live-window): Delete.
11423 (window-combination-p, window-combined-p, window-combinations)
11424 (walk-window-subtree, window-atom-root, window-min-size)
11425 (window-sizable, window-sizable-p, window-size-fixed-p)
11426 (window-min-delta, window-max-delta, window-resizable)
11427 (window-resizable-p, window-full-height-p, window-full-width-p)
11428 (window-current-scroll-bars, window-point-1, set-window-point-1)
11429 (window-at-side-p, window-in-direction, window-resize)
11430 (adjust-window-trailing-edge, maximize-window, minimize-window)
11431 (window-deletable-p, delete-window, delete-other-windows)
11432 (record-window-buffer, unrecord-window-buffer)
11433 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11434 (quit-window, split-window, window-state-put)
11435 (set-window-text-height, fit-window-to-buffer)
11436 (shrink-window-if-larger-than-buffer): Callers changed.
11437
11438 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11439
11440 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11441 rfc2047-decode-string.
11442 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11443 warnings.
11444
11445 * window.el (window-body-height, window-body-width): Mention in
11446 the doc string that the return values are in frame's canonical
11447 units. (Bug#9949)
11448
11449 2011-11-03 Alan Mackenzie <acm@muc.de>
11450
11451 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11452 change in cc-engine.el.
11453
11454 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11457
11458 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11459
11460 * window.el (quit-window): Call unrecord-window-buffer after
11461 showing another buffer in the window. (Bug#9937)
11462 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11463
11464 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11465
11466 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11467 Accept status with more than 9 shelves. (Bug#9935)
11468 Reported by Colin D Bennett <colin@gibibit.com>.
11469
11470 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11471
11472 * help.el (with-help-window): Don't reference
11473 temp-buffer-show-specifiers in doc-string.
11474
11475 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11476
11477 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11478 menu-item.
11479
11480 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11481
11482 * whitespace.el: New version 13.2.2.
11483 (whitespace-newline-mode): Disable properly. Reported by Sarah
11484 <EmacsWiki>.
11485
11486 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11487
11488 * net/newst-treeview.el: Remove "Time-stamp".
11489 (newsticker--group-manage-orphan-feeds): Do not call
11490 newsticker--treeview-tree-update.
11491 (newsticker-treeview-update, newsticker-treeview):
11492 Call newsticker--treeview-tree-update if necessary.
11493
11494 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11495
11496 * window.el (window-iso-combination-p, window-iso-combined-p)
11497 (window-iso-combinations): Remove "iso-" infix.
11498 Suggested by Chong Yidong.
11499 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11500 (window-max-delta-1, window-resize, window--resize-siblings)
11501 (window--resize-this-window, adjust-window-trailing-edge)
11502 (split-window, balance-windows-1)
11503 (shrink-window-if-larger-than-buffer):
11504 * calendar/calendar.el (calendar-generate-window):
11505 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11506
11507 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11510 in place (bug#9907).
11511 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11512 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11513 (eshell-structure-basic-command, eshell-rewrite-while-command)
11514 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11515 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11516 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11517 (eshell-do-pipelines-synchronously, eshell-eval-command):
11518 Use backquotes and prefer setq to set.
11519 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11520 (eshell-macrop): Use functionp.
11521 (eshell-do-eval): Handle multiple expressions in `while' body.
11522
11523 2011-10-30 Chong Yidong <cyd@gnu.org>
11524
11525 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11526 instead of set-mark (Bug#9810).
11527
11528 2011-10-30 Chong Yidong <cyd@gnu.org>
11529
11530 * window.el (split-window-below, split-window-right): Rename from
11531 split-window-above-each-other and split-window-side-by-side
11532 respectively. All callers changed.
11533 (split-window-sensibly, split-window-sensibly): Use them.
11534 (split-window-keep-point): Doc fix.
11535
11536 * isearch.el: Add isearch-scroll property to split-window-below
11537 and split-window-right.
11538
11539 * follow.el (follow-mode):
11540 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11541 * progmodes/ada-xref.el (ada-gdb-application):
11542 * emulation/vip.el (vip-buffer-in-two-windows):
11543 * image-dired.el (image-dired-dired-with-window-configuration):
11544 * dired-x.el (dired-do-find-marked-files):
11545 * dired.el (dired-pop-to-buffer):
11546 * bs.el (bs--show-with-configuration):
11547 * vc/emerge.el (emerge-setup-windows):
11548 * textmodes/two-column.el (2C-two-columns):
11549 * textmodes/reftex-toc.el (reftex-toc):
11550 * progmodes/gdb-mi.el (gdb-setup-windows):
11551 * progmodes/fortran.el (fortran-window-create):
11552 * net/newst-treeview.el (newsticker--treeview-window-init):
11553 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11554 * emulation/tpu-edt.el (tpu-gold-map):
11555 * emulation/crisp.el (crisp-mode-map):
11556 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11557
11558 2011-10-29 Chong Yidong <cyd@gnu.org>
11559
11560 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11561
11562 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11563
11564 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11565 forged Ispell output (Bug#7904).
11566
11567 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11568
11569 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * doc-view.el: Avoid ugly errors about not finding nil.
11572 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11573 (doc-view-dvipdf-program, doc-view-unoconv-program)
11574 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11575 Avoid nil or absolute file name as default value.
11576 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11577
11578 2011-10-28 Alan Mackenzie <acm@muc.de>
11579
11580 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11581
11582 2011-10-28 Alan Mackenzie <acm@muc.de>
11583
11584 Amend the handling of c-beginning/end-of-defun in nested declaration
11585 scopes.
11586
11587 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11588 cc-langs.el. Change it to a defcustom.
11589
11590 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11591 cc-vars.el.
11592
11593 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11594 Prevent "class foo : bar" being spuriously recognized as a label.
11595
11596 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11597 Add parameter `inclusive' (to include enclosing braces in the region).
11598 (c-widen-to-enclosing-decl-scope): New function.
11599 (c-while-widening-to-decl-block): New macro.
11600 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11601 outward for defun boundaries, and correspondingly change symbol
11602 `respect-enclosure' to `go-outward'.
11603 (c-declaration-limits): Change algorithm to report only the "innermost"
11604 defun's boundaries.
11605
11606 2011-10-28 Deniz Dogan <deniz@dogan.se>
11607
11608 * net/rcirc.el (rcirc-mode): Use hard newlines.
11609
11610 2011-10-28 Alan Mackenzie <acm@muc.de>
11611
11612 Amend to indent and fontify macros "which include their own semicolon"
11613 correctly, using the "virtual semicolon" mechanism.
11614
11615 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11616
11617 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11618 Recode to scan one line at a time rather than having \n and \r
11619 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11620 (c-forward-label): Amend for virtual semicolons.
11621 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11622
11623 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11624 of the new C macros.
11625
11626 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11627 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11628 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11629 (c-opt-cpp-macro-define): Make into a full language variable.
11630 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11631 AWK Mode (including \n, \r) removed, no longer needed.
11632
11633 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11634 Invoke c-make-macro-with-semi-re.
11635
11636 * progmodes/cc-vars.el (c-macro-with-semi-re):
11637 (c-macro-names-with-semicolon): New variables.
11638 (c-make-macro-with-semi-re): New function.
11639
11640 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * vc/log-edit.el: Fill empty field rather than adding new one.
11643 (log-edit-add-field): New function.
11644 (log-edit-insert-changelog): Use it.
11645
11646 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11647
11648 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11649
11650 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11653 (gdb--check-interpreter): New function.
11654 (gdb): Use it.
11655
11656 2011-10-27 Glenn Morris <rgm@gnu.org>
11657
11658 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11659 (least-positive-float, least-negative-float)
11660 (least-positive-normalized-float, least-negative-normalized-float)
11661 (float-epsilon, float-negative-epsilon):
11662 Remove unnecessary declarations.
11663
11664 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11665 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11666 (least-positive-float, least-negative-float)
11667 (least-positive-normalized-float, least-negative-normalized-float)
11668 (float-epsilon, float-negative-epsilon): Add doc-strings,
11669 based on those in cl.texi.
11670
11671 * files.el (set-visited-file-name): If the major-mode changed,
11672 reload the local variables. (Bug#9796)
11673
11674 2011-10-27 Chong Yidong <cyd@gnu.org>
11675
11676 * subr.el (change-major-mode-after-body-hook): New hook.
11677 (run-mode-hooks): Run it.
11678
11679 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11680 Use change-major-mode-before-body-hook.
11681
11682 * simple.el (fundamental-mode):
11683 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11684 change introducing fundamental-mode-hook.
11685
11686 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11687
11688 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11689
11690 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * ido.el (ido-file-name-all-completions-1): Do not require
11693 tramp.el explicitly. (Bug#7583)
11694
11695 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * progmodes/octave-mod.el:
11698 * progmodes/octave-inf.el: Update maintainer.
11699
11700 2011-10-26 Chong Yidong <cyd@gnu.org>
11701
11702 * subr.el (with-wrapper-hook): Rewrite doc.
11703
11704 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11707 filenames "/method:foo:". (Bug#9793)
11708
11709 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11710
11711 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11712 (bug#9865).
11713
11714 2011-10-24 Glenn Morris <rgm@gnu.org>
11715
11716 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11717
11718 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11719
11720 * notifications.el: Add the requirement of a running D-Bus session
11721 bus to the Commentary.
11722
11723 2011-10-24 Juri Linkov <juri@jurta.org>
11724
11725 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11726 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11727 (Bug#9364)
11728
11729 2011-10-24 Juri Linkov <juri@jurta.org>
11730
11731 * info.el (Info-following-node-name-re): Add newline to the list
11732 of allowed characters for leading space. (Bug#9824)
11733
11734 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * progmodes/octave-inf.el (inferior-octave-mode-map):
11737 Fix C-c C-h binding.
11738 * progmodes/octave-mod.el (octave-help): Remove.
11739
11740 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11741
11742 Sync with Tramp 2.2.3.
11743
11744 * net/tramp-cache.el (top): Pacify byte-compiler using
11745 `init-file-user' and `site-run-file'.
11746
11747 * net/trampver.el: Update release number.
11748
11749 2011-10-23 Chong Yidong <cyd@gnu.org>
11750
11751 * files.el (toggle-read-only): Remove obsolete comment about
11752 version control.
11753
11754 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11755 for toggle-read-only. Note that this hasn't called vc-next-action
11756 since 2008-05-02, though it wasn't documented at the time.
11757
11758 * vc/ediff-init.el (ediff-toggle-read-only-function):
11759 Use toggle-read-only.
11760
11761 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11762
11763 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11764 of c-parse-state.
11765
11766 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11767 correct faulty logical expression.
11768 (c-parse-state-state, c-record-parse-state-state):
11769 (c-replay-parse-state-state): New defvar/defuns.
11770 (c-debug-parse-state): Use new functions.
11771
11772 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11773
11774 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11775 last fix. Use window-in-direction correctly.
11776
11777 2011-10-21 Chong Yidong <cyd@gnu.org>
11778
11779 * progmodes/idlwave.el (idlwave-mode):
11780 * progmodes/vera-mode.el (vera-mode): No need to set
11781 require-final-newline; that's done in prog-mode.
11782 Suggested by Stefan Monnier.
11783
11784 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11785
11786 * mouse.el (mouse-drag-window-above)
11787 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11788 (mouse-drag-mode-line-1, mouse-drag-header-line)
11789 (mouse-drag-vertical-line-rightward-window): Remove.
11790 (mouse-drag-line): New function.
11791 (mouse-drag-mode-line, mouse-drag-header-line)
11792 (mouse-drag-vertical-line): Call mouse-drag-line.
11793 * window.el (window-at-side-p, windows-at-side): New functions.
11794
11795 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11796
11797 * tar-mode.el (tar-grind-file-mode):
11798 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11799
11800 2011-10-21 Chong Yidong <cyd@gnu.org>
11801
11802 * progmodes/idlwave.el (idlwave-mode):
11803 * progmodes/vera-mode.el (vera-mode):
11804 Use mode-require-final-newline.
11805
11806 2011-10-20 Glenn Morris <rgm@gnu.org>
11807
11808 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11809
11810 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11811
11812 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11813
11814 2011-10-20 Chong Yidong <cyd@gnu.org>
11815
11816 * emulation/cua-base.el (cua-mode):
11817 * mail/footnote.el (footnote-mode):
11818 * mail/mailabbrev.el (mail-abbrevs-mode):
11819 * net/xesam.el (xesam-minor-mode):
11820 * progmodes/bug-reference.el (bug-reference-mode):
11821 * progmodes/cap-words.el (capitalized-words-mode):
11822 * progmodes/compile.el (compilation-minor-mode)
11823 (compilation-shell-minor-mode):
11824 * progmodes/gud.el (gud-tooltip-mode):
11825 * progmodes/hideif.el (hide-ifdef-mode):
11826 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11827 * progmodes/subword.el (subword-mode):
11828 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11829 * progmodes/which-func.el (which-function-mode):
11830 * term/tvi970.el (tvi970-set-keypad-mode):
11831 * term/vt100.el (vt100-wide-mode):
11832 * textmodes/flyspell.el (flyspell-mode):
11833 * textmodes/ispell.el (ispell-minor-mode):
11834 * textmodes/nroff-mode.el (nroff-electric-mode):
11835 * textmodes/paragraphs.el (use-hard-newlines):
11836 * textmodes/refill.el (refill-mode):
11837 * textmodes/reftex.el (reftex-mode):
11838 * textmodes/rst.el (rst-minor-mode):
11839 * textmodes/sgml-mode.el (html-autoview-mode)
11840 (sgml-electric-tag-pair-mode):
11841 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11842 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11843 * emulation/crisp.el (crisp-mode):
11844 * emacs-lisp/eldoc.el (eldoc-mode):
11845 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11846 minor mode behavior.
11847
11848 2011-10-19 Juri Linkov <juri@jurta.org>
11849
11850 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11851 the list of hard-coded chars with escape-glyph face.
11852
11853 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11854
11855 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11856
11857 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11860 running process.
11861
11862 2011-10-19 Glenn Morris <rgm@gnu.org>
11863
11864 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11865 Ignore ignored files. (Bug#9726)
11866
11867 2011-10-19 Chong Yidong <cyd@gnu.org>
11868
11869 Doc fix for minor modes, stating that an omitted argument enables
11870 the mode unconditionally when called from Lisp.
11871
11872 * abbrev.el (abbrev-mode):
11873 * allout.el (allout-mode):
11874 * autoinsert.el (auto-insert-mode):
11875 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11876 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11877 (global-auto-revert-mode):
11878 * battery.el (display-battery-mode):
11879 * composite.el (global-auto-composition-mode)
11880 (auto-composition-mode):
11881 * delsel.el (delete-selection-mode):
11882 * desktop.el (desktop-save-mode):
11883 * dired-x.el (dired-omit-mode):
11884 * dirtrack.el (dirtrack-mode):
11885 * doc-view.el (doc-view-minor-mode):
11886 * double.el (double-mode):
11887 * electric.el (electric-indent-mode, electric-pair-mode):
11888 * emacs-lock.el (emacs-lock-mode):
11889 * epa-hook.el (auto-encryption-mode):
11890 * follow.el (follow-mode):
11891 * font-core.el (font-lock-mode):
11892 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11893 * help.el (temp-buffer-resize-mode):
11894 * hilit-chg.el (highlight-changes-mode)
11895 (highlight-changes-visible-mode):
11896 * hi-lock.el (hi-lock-mode):
11897 * hl-line.el (hl-line-mode, global-hl-line-mode):
11898 * icomplete.el (icomplete-mode):
11899 * ido.el (ido-everywhere):
11900 * image-file.el (auto-image-file-mode):
11901 * image-mode.el (image-minor-mode):
11902 * iswitchb.el (iswitchb-mode):
11903 * jka-cmpr-hook.el (auto-compression-mode):
11904 * linum.el (linum-mode):
11905 * longlines.el (longlines-mode):
11906 * master.el (master-mode):
11907 * mb-depth.el (minibuffer-depth-indicate-mode):
11908 * menu-bar.el (menu-bar-mode):
11909 * minibuf-eldef.el (minibuffer-electric-default-mode):
11910 * mouse-sel.el (mouse-sel-mode):
11911 * msb.el (msb-mode):
11912 * mwheel.el (mouse-wheel-mode):
11913 * outline.el (outline-minor-mode):
11914 * paren.el (show-paren-mode):
11915 * recentf.el (recentf-mode):
11916 * reveal.el (reveal-mode, global-reveal-mode):
11917 * rfn-eshadow.el (file-name-shadow-mode):
11918 * ruler-mode.el (ruler-mode):
11919 * savehist.el (savehist-mode):
11920 * scroll-all.el (scroll-all-mode):
11921 * scroll-bar.el (scroll-bar-mode):
11922 * server.el (server-mode):
11923 * shell.el (shell-dirtrack-mode):
11924 * simple.el (auto-fill-mode, transient-mark-mode)
11925 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11926 (line-number-mode, column-number-mode, size-indication-mode)
11927 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11928 * strokes.el (strokes-mode):
11929 * time.el (display-time-mode):
11930 * t-mouse.el (gpm-mouse-mode):
11931 * tool-bar.el (tool-bar-mode):
11932 * tooltip.el (tooltip-mode):
11933 * type-break.el (type-break-mode-line-message-mode)
11934 (type-break-query-mode):
11935 * view.el (view-mode):
11936 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11937 (global-whitespace-mode, global-whitespace-newline-mode):
11938 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11939
11940 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11941 Fix autogenerated docstring.
11942
11943 2011-10-19 Juri Linkov <juri@jurta.org>
11944
11945 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11946 by checking environment variables "DESKTOP_SESSION" and
11947 "XDG_CURRENT_DESKTOP". (Bug#9779)
11948
11949 2011-10-19 Juri Linkov <juri@jurta.org>
11950
11951 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11952 (browse-url-chromium-program, browse-url-chromium-arguments):
11953 New defcustoms.
11954 (browse-url-default-browser): Check for `browse-url-chromium' and
11955 call `browse-url-chromium-program'.
11956 (browse-url-chromium): New command. (Bug#9779)
11957
11958 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * facemenu.el (list-colors-duplicates): On Windows, detect more
11961 duplicates by assuming that only colors matching "^System" are
11962 special "system colors". (Bug#9722)
11963
11964 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11967 to distinguish the author from the committer.
11968
11969 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11970
11971 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11972
11973 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11974
11975 * international/mule.el (sgml-html-meta-auto-coding-function):
11976 Add support for detecting encoding in HTML5 specified only as
11977 <meta charset="UTF-8">. Implementation just makes http-equiv and
11978 content-type parts from HTML4 encoding string optional. (Bug#9716)
11979
11980 2011-10-18 Glenn Morris <rgm@gnu.org>
11981
11982 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11983
11984 2011-10-18 Chong Yidong <cyd@gnu.org>
11985
11986 * faces.el (cursor): Doc fix.
11987
11988 2011-10-17 Chong Yidong <cyd@gnu.org>
11989
11990 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11991
11992 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11993
11994 * dirtrack.el (dirtrack): Support shell buffers with path
11995 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11996
11997 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11998
11999 * json.el: Bump version to 1.3 and note change in History.
12000 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12001
12002 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12003
12004 * comint.el (comint-insert-input, comint-send-input)
12005 (comint-get-old-input-default, comint-backward-matching-input)
12006 (comint-next-prompt): Use nil instead of `input' for field property of
12007 past user input (bug#114).
12008
12009 * minibuffer.el (completion--replace): Inherit surrounding properties
12010 (bug#114).
12011 (minibuffer-complete-and-exit): Use it.
12012
12013 * comint.el (comint--table-subvert): Quote the all-completions output
12014 (bug#9160).
12015
12016 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12017
12018 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12019
12020 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12021 window on right of selected. (Bug#9350) Reword other window
12022 entries and separate them from frame entries.
12023
12024 2011-10-15 Glenn Morris <rgm@gnu.org>
12025
12026 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12027 Doc fixes.
12028
12029 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12030
12031 * net/network-stream.el (network-stream-open-starttls):
12032 Improve detection of failure due to lack of TLS support.
12033
12034 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12035 putting the input text in front and in bold.
12036
12037 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12040
12041 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12042 empty buffer.
12043
12044 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12045 unread-command-events rather than pushing yet-another event.
12046
12047 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12048
12049 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12050 the explanation of the possible choices. Make the options passed
12051 to completing-read shorter.
12052
12053 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12054
12055 * textmodes/flyspell.el (flyspell-large-region): Make sure
12056 extended character mode is used if defined (Bug#1339).
12057
12058 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12059
12060 * simple.el (what-cursor-position): Fix the display of the
12061 character info for LRE, LRO, RLE, and RLO characters by appending
12062 an invisible PDF.
12063
12064 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12067 even in case of error; add debug spec; simplify data flow.
12068 (with-timeout-handler): Remove.
12069
12070 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12071
12072 Fix Bug#6019, Bug#9315.
12073
12074 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12075 complete `buffer-file-name', the local file name part could look
12076 remotely (for example on VMS).
12077
12078 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12079 `tramp-run-real-handler'.
12080 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12081 already quoted by '"'.
12082
12083 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12084 Let `file-name-handler-alist' be nil, the local file name part
12085 could look remotely (for example on VMS).
12086
12087 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12088
12089 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12090 from here...
12091 (flyspell-post-command-hook): ...to here.
12092
12093 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12094
12095 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12096 if not needed.
12097 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12098 using completion. Protect against "slow" callers.
12099 Remove the "message hack".
12100
12101 2011-10-11 Juri Linkov <juri@jurta.org>
12102
12103 * isearch.el (isearch-lazy-highlight-word): New variable.
12104 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12105 Use it. (Bug#9727)
12106
12107 2011-10-11 Glenn Morris <rgm@gnu.org>
12108
12109 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12110 like f90-previous-statement does.
12111
12112 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12113
12114 * eshell/eshell.el (eshell-command): History should be saved
12115 only in interactive use, to avoid error.
12116
12117 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * minibuffer.el (completion-file-name-table): Fix last change,
12120 i.e. ignore normal errors but not the other ones.
12121
12122 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12123
12124 * window.el (special-display-buffer-names)
12125 (special-display-regexps): Remove some remnants of earlier
12126 changes from doc-strings.
12127 (quit-windows-on): New function.
12128
12129 * vc/vc.el (vc-revert, vc-rollback):
12130 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12131 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12132 (Bug#6183) (Bug#7074) (Bug#7447)
12133
12134 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12135
12136 * window.el (frame-auto-hide-function): Add version tag.
12137 (Bug#9699)
12138
12139 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12140
12141 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12142 condition.
12143
12144 2011-10-09 Leo Liu <sdl.web@gmail.com>
12145
12146 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12147 (Bug#9701)
12148
12149 2011-10-08 Glenn Morris <rgm@gnu.org>
12150
12151 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12152 before the first code statement zero indent. (Bug#9690)
12153
12154 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12155
12156 * simple.el (count-words-region): Always count in the region.
12157 Report the number of lines and characters too.
12158 (count-words): New command, which counts in the buffer if the
12159 region is inactive, as count-words-region used to.
12160 (count-words--message): New function. Handle plurals.
12161 (count-lines-region): Make it an alias for count-words-region.
12162
12163 * bindings.el (esc-map): Replace count-lines-region with
12164 count-words-region.
12165
12166 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12167
12168 * window.el (window--delete): Delete dedicated frame
12169 unconditionally when argument KILL is non-nil. (Bug#9699)
12170 (switch-to-buffer): Fix doc-string typo.
12171
12172 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12173
12174 * eshell/eshell.el (eshell-command): Avoid using hooks.
12175
12176 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12177
12178 * bindings.el ([M-left],[M-right]): Bind to left-word and
12179 right-word respectively.
12180
12181 2011-10-07 Glenn Morris <rgm@gnu.org>
12182
12183 * cus-start.el (debug-on-quit): Fix custom type.
12184
12185 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186
12187 * subr.el (define-key-after): Clarify that the function is not
12188 useful for non-menu keymaps.
12189
12190 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12191
12192 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12193
12194 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12195 in current minibuffer (Fix bug with recursive minibuffers).
12196
12197 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12198
12199 * progmodes/gdb-mi.el (gdb): Doc fix.
12200
12201 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12202
12203 * window.el (frame-auto-hide-function): New option replacing
12204 frame-auto-delete. Suggested by Stefan Monnier.
12205 (window--delete): Call frame-auto-hide-function instead of
12206 investigating frame-auto-delete.
12207 (window-point-1, set-window-point-1): New functions.
12208 (window-in-direction, record-window-buffer, window-state-get-1)
12209 (display-buffer-record-window): Use window-point-1 instead of
12210 window-point.
12211 (set-window-buffer-start-and-point): Use set-window-point-1.
12212
12213 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12216
12217 2011-10-05 Glenn Morris <rgm@gnu.org>
12218
12219 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12220 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12221
12222 2011-10-05 Leo Liu <sdl.web@gmail.com>
12223
12224 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12225 works with buffer object.
12226
12227 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * mpc.el (mpc-tool-bar-map): Add labels.
12230
12231 2011-10-04 Glenn Morris <rgm@gnu.org>
12232
12233 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12234
12235 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12236
12237 * window.el (window--delete): New function.
12238 (frame-auto-delete): Resuscitate option.
12239 (bury-buffer, replace-buffer-in-windows)
12240 (quit-window): Rewrite using window--delete.
12241 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12242 Pass display-buffer-mark-dedicated to window--display-buffer-2
12243 (Bug#9639).
12244
12245 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12246
12247 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12248 returns a list (bug#9554). Add remote file name completion.
12249 * comint.el (comint--table-subvert): Curry and get quote&unquote
12250 functions as arguments.
12251 (comint--complete-file-name-data): Adjust call accordingly.
12252 * pcomplete.el (pcomplete--table-subvert): Remove.
12253 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12254
12255 * minibuffer.el (completion-table-case-fold): Use currying.
12256 (completion--styles-type, completion--cycling-threshold-type):
12257 New constants.
12258 (completion-styles, completion-category-overrides)
12259 (completion-cycle-threshold): Use them.
12260 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12261 completion-table-case-fold.
12262
12263 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12264
12265 * minibuffer.el (completion-category-overrides): Fix type of styles
12266 and add more user friendly tags (bug#9660).
12267
12268 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12269
12270 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12271 (mule-input-method-string): New widget.
12272 (default-input-method, language-info-custom-alist): Use it.
12273
12274 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * pcomplete.el: Require comint.
12277 (pcomplete--common-suffix): Remove.
12278 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12279 (pcomplete--table-subvert): Sync with comint--table-subvert.
12280 (pcomplete--entries): Use comint-completion-file-name-table.
12281 * comint.el (comint-unquote-filename): Simplify.
12282 (comint-completion-file-name-table): New function (bug#9616).
12283 (comint--complete-file-name-data): Use it.
12284
12285 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12286 (pcmpl-gnu-tar-buffer): Remove.
12287 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12288 around. Make sure pcomplete-suffix-list is only changed temporarily.
12289 Don't look inside the tar's file if it's too large.
12290
12291 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12292
12293 * cus-edit.el (custom-mode-map):
12294 * epa.el (epa-key-list-mode-map):
12295 * man.el (Man-mode-map):
12296 * startup.el (splash-screen-keymap):
12297 * simple.el (special-mode-map): Use scroll-up-command and
12298 scroll-down-command.
12299
12300 * progmodes/idlw-help.el (idlwave-help-mode-map):
12301 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12302 * net/newst-plainview.el (newsticker-mode-map):
12303 * emulation/ws-mode.el (wordstar-mode-map):
12304 * emulation/vi.el (vi-com-map):
12305 * calc/calc-graph.el (calc-graph-show-dumb):
12306 * term/sun.el (terminal-init-sun):
12307 * term/ns-win.el (global-map):
12308 * progmodes/grep.el (grep-mode-map):
12309 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12310 * mail/rmail.el (rmail-mode-map):
12311 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12312
12313 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12314 custom-safe-themes as special.
12315
12316 2011-10-01 Julien Danjou <julien@danjou.info>
12317
12318 * notifications.el (notifications-notify): Fix docstring.
12319
12320 2011-10-01 Per Starbäck <per@starback.se>
12321
12322 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12323
12324 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12325
12326 * startup.el (command-line-1): Fix last fix by inserting
12327 initial-scratch-message into *scratch* before displaying it.
12328 (Bug#9605) and (Bug#9636)
12329
12330 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12331
12332 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12333 window is hscrolled, move by logical lines. (Bug#9607)
12334 (line-move-visual): Update the doc string to the above effect.
12335
12336 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12337
12338 * window.el (display-buffer-record-window): When WINDOW is the
12339 selected window use `point' instead of `window-point'. (Bug#9626)
12340
12341 * startup.el (command-line-1): Use insert-before-markers when
12342 inserting initial-scratch-message. (Bug#9605)
12343
12344 * help.el (help-window): Remove variable.
12345
12346 2011-09-29 Glenn Morris <rgm@gnu.org>
12347
12348 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12349
12350 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12351
12352 * descr-text.el (describe-char-categories): Accept category
12353 descriptions more than one line long.
12354
12355 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * simple.el (delete-trailing-whitespace): Fix last change.
12358
12359 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12360 Don't confuse "y => 3" as the beginning of a `y' operation.
12361
12362 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12363 object has more than 4 slots (bug#9613).
12364
12365 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12366
12367 * subr.el (with-output-to-temp-buffer):
12368 * net/quickurl.el (quickurl, quickurl-browse-url):
12369 Fix typos in docstrings.
12370
12371 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12372
12373 * minibuffer.el (completion-styles)
12374 (completion-category-overrides): Cross reference each other in doc
12375 strings.
12376
12377 2011-09-27 Glenn Morris <rgm@gnu.org>
12378
12379 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12380 to split-string. (Bug#9606)
12381
12382 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12383
12384 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12385 (bug#9615).
12386
12387 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12388
12389 * emacs-lisp/package.el (list-packages): Fix echo area message.
12390
12391 2011-09-27 Leo Liu <sdl.web@gmail.com>
12392
12393 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12394
12395 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * net/dbus.el (dbus-unregister-object): Don't release services for
12398 registered signals. (Bug#9581)
12399
12400 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12401
12402 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12403 function that picks between cfengine 2 and 3 support
12404 automatically. Update docs accordingly.
12405
12406 2011-09-22 Kenichi Handa <handa@m17n.org>
12407
12408 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12409 ZERO.
12410 (indian-itrans-v5-table-for-tamil): New variable.
12411 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12412
12413 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12414
12415 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12416 that's true if the current command involved collapsing of text.
12417 It's reset to false at the beginning of the next command.
12418 (allout-post-command-business): Move the cursor to the beginning
12419 of entry if the cursor is hidden and collapsing activity just
12420 happened.
12421
12422 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12423
12424 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12425 tracking (Bug#9541).
12426
12427 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12428
12429 * net/newst-reader.el (newsticker-html-renderer)
12430 (newsticker-show-news): Automatically load html rendering package
12431 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12432 because w3m-fill-column is let-bound" and the error "Symbol's value
12433 as variable is void: w3m-fill-column".
12434
12435 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12436
12437 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12438 Release services only if they are defined. (Bug#9581)
12439
12440 2011-09-23 Richard Stallman <rms@gnu.org>
12441
12442 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12443 distinguish start of paragraph from start of its text.
12444
12445 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12446
12447 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12448 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12449 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12450
12451 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12452
12453 * international/mule-diag.el (mule-diag): Insert a newline after
12454 each fontset description.
12455
12456 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * simple.el (delete-trailing-whitespace):
12459 Document last change; simplify.
12460
12461 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12462
12463 * simple.el (delete-trailing-whitespace): Also delete
12464 extra newlines at the end of the buffer.
12465
12466 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12467 (picture-newline): Use forward-line so as to ignore fields.
12468
12469 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * subr.el (with-wrapper-hook): Fix edebug spec.
12472
12473 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12474
12475 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12476 (bug#4538).
12477
12478 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12479
12480 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12481 Fix nasty bug using wrong cached values.
12482
12483 2011-09-23 Alan Mackenzie <acm@muc.de>
12484
12485 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12486
12487 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12488
12489 * window.el (pop-to-buffer): Ensure right window is selected if we
12490 chose another frame.
12491
12492 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12493
12494 * simple.el (what-cursor-position): Use get-char-property-change
12495 and next-single-char-property-change, to be able to show display
12496 properties that come from overlays as well as text properties.
12497
12498 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12499
12500 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12501
12502 * cmuscheme.el (run-scheme, switch-to-scheme):
12503 * cus-edit.el (customize-group, custom-buffer-create)
12504 (customize-browse):
12505 * info.el (info):
12506 * shell.el (shell):
12507 * mail/sendmail.el (mail):
12508 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12509
12510 2011-09-22 Richard Stallman <rms@gnu.org>
12511
12512 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12513 move back only to line beg, don't move back over blank lines.
12514
12515 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12516
12517 * files.el (copy-directory): Set directory attributes only in case
12518 they could be retrieved from the source directory. (Bug#9565)
12519
12520 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12521
12522 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12523 (hs-find-block-beginning, hs-hide-level-recursive):
12524 Ignore strings as well as comments. (Bug#9502)
12525
12526 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12527
12528 * progmodes/sql.el (sql-comint-postgres):
12529 Convert port number to a string. (Bug#9566)
12530
12531 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12532
12533 * window.el (quit-window): Undedicate window when switching to
12534 previous buffer. Reported by Thierry Volpiatto
12535 <thierry.volpiatto@gmail.com>.
12536 (special-display-popup-frame): When popping up a new frame reset
12537 its previous buffers to nil. Simplify code.
12538
12539 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12542 and process filter, as done also in `shell-command'.
12543
12544 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (set-window-buffer-start-and-point):
12547 Call set-window-start with NOFORCE argument t.
12548 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12549 (quit-window): Reword doc-string. Handle new format of
12550 quit-restore parameter. Don't delete window if it has a
12551 previous buffer we can show instead of the present one.
12552 (display-buffer-record-window): Rewrite using a new format for
12553 the quit-restore window parameter
12554 (special-display-popup-frame, display-buffer-same-window)
12555 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12556 (display-buffer-pop-up-window, display-buffer-use-some-window):
12557 Adapt symbol passed to display-buffer-record-window.
12558 * help.el (help-window-setup): Handle new format of quit-restore
12559 parameter.
12560
12561 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * faces.el (face-list): Fix docstring (bug#9564).
12564
12565 * window.el (display-buffer--action-function-custom-type):
12566 Don't include internal functions in the Custom interface.
12567
12568 2011-09-20 Juri Linkov <juri@jurta.org>
12569
12570 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12571 (Info-forward-node, Info-backward-node, Info-next-preorder)
12572 (Info-last-preorder): Use it. (Bug#9528)
12573
12574 2011-09-20 Juri Linkov <juri@jurta.org>
12575
12576 * info.el (Info-last-preorder): Visit last menu item only when
12577 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12578
12579 2011-09-20 Julien Danjou <julien@danjou.info>
12580
12581 * password-cache.el (password-cache-remove): Remove entries even if the
12582 value is nil, so that password with a nil value (negative caching) is
12583 possible to invalidate.
12584
12585 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12586
12587 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12588 all whitespace around breakpoint. (Bug#9553)
12589 (f90-find-breakpoint): Only break at whitespace inside a comment.
12590
12591 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * minibuffer.el (completion-file-name-table): Keep track of errors.
12594 (completion-table-with-predicate): Handle the case where pred1 is nil.
12595 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12596
12597 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12600 (debugger-return-value): Signal an error if the debugging context does
12601 not await any return value.
12602
12603 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12604 * image-mode.el (image-toggle-display-text)
12605 (image-toggle-display-image): Stay away from evil `intangible'.
12606
12607 2011-09-19 Leo Liu <sdl.web@gmail.com>
12608
12609 * replace.el (occur-revert-arguments): Make it permanent-local.
12610 (occur-mode): Don't call font-lock-defontify.
12611
12612 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * net/ldap.el (ldap-search-internal): Don't push empty search
12615 result (Bug#9508).
12616
12617 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12620
12621 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12622
12623 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12624 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12625
12626 2011-09-18 Juri Linkov <juri@jurta.org>
12627
12628 * buff-menu.el (Buffer-menu-mode-map):
12629 * dired.el (dired-mode-map):
12630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12631 (lisp-interaction-mode-map):
12632 * emacs-lisp/package.el (package-menu-mode-map):
12633 * epa.el (epa-key-list-mode-map):
12634 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12635 (menu-bar-options-menu):
12636 * outline.el (outline-mode-menu-bar-map):
12637 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12638 * vc/vc-dir.el (vc-dir-menu-map):
12639 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12640 Capitalize non-function content words in menu item strings.
12641
12642 * dired.el (dired-mode-map): Add menu item for
12643 `image-dired-dired-toggle-marked-thumbs'.
12644
12645 2011-09-18 Juri Linkov <juri@jurta.org>
12646
12647 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12648 to `isearch-case-fold-search' and restore its original value
12649 after the `isearch-mode' call.
12650
12651 2011-09-18 Juri Linkov <juri@jurta.org>
12652
12653 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12654 because `zgrep' returns 1 for successful matches (bug#9226).
12655
12656 2011-09-18 Juri Linkov <juri@jurta.org>
12657
12658 * info.el (Info-extract-menu-node-name): Check the second match
12659 for empty string (second test-case of bug#9528).
12660 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12661 intermediate nodes to the history (first test-case of bug#9528).
12662
12663 2011-09-18 Juri Linkov <juri@jurta.org>
12664
12665 * info.el (Info-mode-syntax-table): New variable.
12666 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12667
12668 2011-09-18 Juri Linkov <juri@jurta.org>
12669
12670 * info.el (Info-file-supports-index-cookies):
12671 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12672 outputs one more line for long file names (bug#4142).
12673
12674 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12675
12676 * newcomment.el (comment-normalize-vars): If prompting for
12677 comment-start, set comment-start-skip too (Bug#8424).
12678
12679 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12680
12681 * icomplete.el: Fix previous fix of Bug#5849.
12682 (icomplete-mode): Don't set completion-show-inline-help.
12683 (icomplete-minibuffer-setup): Set completion-show-inline-help
12684 locally during icompletion.
12685
12686 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12687
12688 * woman.el (woman2-process-escapes): Don't delete unrecognized
12689 escapes (Bug#7843).
12690
12691 * files.el (inhibit-first-line-modes-regexps): Add image files.
12692 (hack-local-variables-prop-line): Return nil for malformed
12693 prop-lines (Bug#9044).
12694
12695 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12696
12697 * net/tramp.el (top): Don't require 'shell.
12698 (tramp-methods): Fix docstring.
12699 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12700 Return complete remote file name. Handle "smb" case.
12701 Use `tramp-tmpdir', if defined for the respective method.
12702 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12703
12704 * net/tramp-compat.el (top): Require 'shell.
12705
12706 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12707 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12708 `tramp-current-host'.
12709 (tramp-get-remote-tmpdir): Remove.
12710
12711 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12712 `tramp-tmpdir' entries.
12713 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12714 (tramp-smb-handle-file-attributes): Ignore errors.
12715 (tramp-smb-wait-for-output): Check also for process end.
12716
12717 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12718
12719 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12720 when sending QUIT (bug#9312).
12721
12722 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12723
12724 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12725 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12726 occur-mode-display-occurrence.
12727 (occur-edit-mode): Add usage message.
12728 (occur-cease-edit): New command.
12729 (occur-after-change-function): Use text properties to find the
12730 position of the prefix text.
12731 (occur-engine): Set stickiness of prefix text properties.
12732
12733 2011-09-17 Glenn Morris <rgm@gnu.org>
12734
12735 * progmodes/etags.el (complete-tag):
12736 Fix call to completion-in-region. (Bug#9526)
12737
12738 2011-09-17 Juri Linkov <juri@jurta.org>
12739
12740 * textmodes/ispell.el (ispell-word): Add to the error message
12741 the word, ispell program name and current dictionary (bug#9121).
12742 (ispell-tex-arg-end): Capitalize "error" in the error message.
12743
12744 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12745
12746 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12747 check. (Bug#4251)
12748
12749 2011-09-17 Juri Linkov <juri@jurta.org>
12750
12751 * window.el (window-safe-min-height, window-safe-min-width):
12752 Fix typos (followup to bug#9522).
12753
12754 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12755
12756 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12757
12758 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12759
12760 * simple.el (line-move): If goal-column is set, move by logical
12761 lines, not by display lines. (Bug#971)
12762 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12763 to reflect the above change.
12764
12765 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * image.el (imagemagick-register-types): Use regexp-opt.
12768
12769 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12770
12771 * window.el (display-buffer-base-action): Rename from
12772 display-buffer-default-action. Make default value empty.
12773 (display-buffer-overriding-action): Convert to defvar.
12774 (display-buffer-fallback-action): New var.
12775
12776 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12777
12778 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12779 declaration.
12780 (package--add-to-archive-contents): If there is a duplicate entry
12781 with an older version, remove it.
12782 (package-menu-mark-delete, package-menu-mark-install)
12783 (package-menu-mark-unmark): Make unused args optional.
12784 (package-menu-mark-obsolete-for-deletion):
12785 Use package-menu-get-status instead of a regexp search.
12786 (package-menu-get-status): Use tabulated-list-entry.
12787 (package-menu-mark-upgrades): New command.
12788 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12789 (package-menu-execute): Do installation before deletion.
12790 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12791 instead of checking major-mode.
12792 (package-menu--find-upgrades): New function.
12793
12794 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12795
12796 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12797 passwords in the log buffer.
12798 (smtpmail-process-filter): Update the process marker so that the
12799 "broken by peer" status message is inserted in the right place.
12800
12801 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12804 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12805 bibtex-completion-at-point-function.
12806 (bibtex-completion-at-point-function): Use them.
12807
12808 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12809
12810 * mpc.el (mpc-constraints-tag-lookup): New function.
12811 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12812 also to browser "album|playlist".
12813
12814 2011-09-14 Juri Linkov <juri@jurta.org>
12815
12816 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12817 (isearch-edit-string): Use length of `isearch-string' when
12818 `isearch-fail-pos' returns nil.
12819 (isearch-message): Remove duplicate code and call
12820 `isearch-fail-pos' with arg `t'.
12821
12822 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12823
12824 * replace.el (occur-mode-goto-occurrence): Don't force using other
12825 window (Bug#9499).
12826
12827 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12828
12829 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (display-buffer-window): Remove.
12832 (display-buffer-record-window): Use help-setup window parameter
12833 instead of variable display-buffer-window.
12834 (display-buffer-function, special-display-buffer-names)
12835 (special-display-function): Mention help-setup parameter instead
12836 of display-buffer-window in doc-string.
12837 * help.el (help-window-setup): New argument help-window.
12838 Use help-window-setup parameter instead of display-buffer-window.
12839 Reword some messages.
12840 (with-help-window): Pass window used for displaying the buffer
12841 to help-window-setup. Don't set display-buffer-window.
12842
12843 2011-09-13 Glenn Morris <rgm@gnu.org>
12844
12845 * emacs-lisp/debug.el (debugger-make-xrefs):
12846 Preserve point. (Bug#9462)
12847
12848 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12849
12850 * window.el (window-deletable-p): Use next-frame.
12851
12852 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12853
12854 * window.el (window-auto-delete): Remove.
12855 (window-deletable-p): Remove argument FORCE. Don't deal with
12856 dedication and previous buffers.
12857 (switch-to-prev-buffer): Don't delete window.
12858 (delete-windows-on): Delete a window's frame if and only if the
12859 window is dedicated.
12860 (replace-buffer-in-windows): Delete buffer's window or frame if
12861 and only if window is dedicated.
12862 (quit-window): Handle quit-restore as before last change.
12863 (bury-buffer): Delete window only if window-deletable-p returns t.
12864
12865 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12866
12867 * window.el (window-deletable-p): Never delete the last frame on a
12868 given terminal.
12869
12870 2011-09-13 Glenn Morris <rgm@gnu.org>
12871
12872 * help.el (describe-key-briefly): Copy previous standard-output change.
12873
12874 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12875
12876 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12877
12878 2011-09-13 Glenn Morris <rgm@gnu.org>
12879
12880 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12881 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12882
12883 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * dired-aux.el (dired-mark-read-string): Don't return default
12886 value on empty input (Bug#9361).
12887 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12888 Omit initial minibuffer contents.
12889 (dired-do-chmod): Signal an error on empty input.
12890 (dired-mark-read-string): Don't return default on empty input.
12891
12892 * files.el (file-modes-symbolic-to-number): Doc fix.
12893
12894 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12895
12896 * international/mule-cmds.el (ucs-completions): Remove.
12897 (read-char-by-name): Use complete-with-action instead; add metadata.
12898
12899 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12900
12901 * window.el (display-buffer--action-function-custom-type)
12902 (display-buffer--action-custom-type): New vars.
12903 (display-buffer-alist, display-buffer-default-action)
12904 (display-buffer-overriding-action): Add defcustom types.
12905
12906 * frame.el (delete-other-frames): Doc fix (Bug#276).
12907
12908 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909
12910 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12911
12912 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12913
12914 Change modes that used same-window-* vars to use switch-to-buffer.
12915
12916 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12917 Use switch-to-buffer.
12918
12919 * cus-edit.el (customize-group, custom-buffer-create)
12920 (customize-browse, custom-buffer-create-other-window):
12921 Use switch-to-buffer or switch-to-buffer-other-window.
12922
12923 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12924 (Info-prev, Info-up, Info-speedbar-goto-node)
12925 (info-display-manual): Use switch-to-buffer.
12926 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12927
12928 * mail/sendmail.el (mail): Use switch-to-buffer.
12929 (mail-recover): Use switch-to-buffer-other-window.
12930
12931 * cmuscheme.el (run-scheme, switch-to-scheme):
12932 * ielm.el (ielm):
12933 * shell.el (shell):
12934 * net/rlogin.el (rlogin):
12935 * net/telnet.el (telnet, rsh):
12936 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12937
12938 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12941
12942 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12943
12944 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12945 so don't mention it (bug#9301).
12946 (dired-sort-toggle-or-edit): Clarify string further.
12947
12948 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12949 match `x', `w32' and `ns', like the manual says (bug#9029).
12950
12951 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12952 (process-kill-buffer-query-function): Mention the buffer name in
12953 the query.
12954
12955 * image-mode.el (image-next-line): The line parameter is mandatory
12956 (bug#9258).
12957
12958 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12959 which can be useful (bug#9301).
12960
12961 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12962
12963 * subr.el (match-string): Mention that the current buffer should
12964 be the same as the search was done in (bug#9282).
12965
12966 * facemenu.el: Disable the remove-* commands if the mark isn't
12967 active (bug#9162).
12968
12969 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12970
12971 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12972 of display-buffer.
12973 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12974
12975 * replace.el (occur-mode-goto-occurrence)
12976 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12977 and display-buffer.
12978
12979 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12980 display-buffer.
12981
12982 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12983 special-display and same-window variables.
12984 (mail-other-window): Use switch-to-buffer-other-window.
12985 (mail-other-frame): USe switch-to-buffer-other-frame.
12986
12987 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12988 Use display-buffer-other-frame.
12989 (gdb-display-gdb-buffer): Use pop-to-buffer.
12990
12991 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12992
12993 * progmodes/python.el: Don't set same-window-buffer-names.
12994
12995 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12996
12997 * window.el (display-buffer-alist): Add *Python*.
12998
12999 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13000
13001 * window.el (display-buffer-alist): Add entry for buffers
13002 previously handled same-window-*.
13003 (display-buffer-alist, display-buffer-default-action)
13004 (display-buffer-overriding-action): Mark as risky.
13005 (display-buffer-alist): Document action function changes.
13006 (display-buffer--same-window-action)
13007 (display-buffer--other-frame-action): New variables.
13008 (switch-to-buffer, display-buffer-other-frame): Use them.
13009 (display-buffer): Rename reuse-frame entry to reusable-frames.
13010 (display-buffer-reuse-selected-window): Function deleted.
13011 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13012 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13013 (display-buffer-special): New function.
13014 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13015 display-buffer-reuse-or-pop-window. Split off special-display
13016 part into display-buffer-special.
13017 (display-buffer-use-some-window): Don't perform any special
13018 pop-up-frames handling.
13019 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13020 (display-buffer--maybe-same-window): Rename from
13021 display-buffer-maybe-same-window.
13022
13023 * info.el: Don't set same-window-regexps.
13024 (info-setup): New function.
13025 (info-other-window, info): Call it.
13026
13027 * cus-edit.el: Don't set same-window-regexps.
13028 (customize-group): New argument.
13029 (customize-group-other-window): Use it.
13030 (customize-face, customize-face-other-window): Likewise.
13031 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13032
13033 * net/rlogin.el:
13034 * net/telnet.el:
13035 * progmodes/gud.el: Don't set same-window-regexps.
13036
13037 * cmuscheme.el:
13038 * ielm.el:
13039 * shell.el:
13040 * mail/sendmail.el:
13041 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13042
13043 2011-09-10 Juri Linkov <juri@jurta.org>
13044
13045 * isearch.el (isearch-edit-string): Remove obsolete mention of
13046 `C-w' (`isearch-yank-word-or-char') from docstring.
13047 (isearch-query-replace): Fix typo in docstring (bug#9466).
13048
13049 2011-09-10 Juri Linkov <juri@jurta.org>
13050
13051 * paren.el (show-paren-function): Don't show escaped parens.
13052 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13053
13054 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13055
13056 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13057 (mm-default-file-encoding): Remove autoload forms, they are
13058 replaced with autoload cookies in mml.el and mm-encode.el.
13059 (mail-add-attachment): New command.
13060 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13061 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13062 the doc string.
13063 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13064
13065 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13066
13067 * simple.el (count-words-region): Use buffer if there's no region
13068 (bug#9429).
13069
13070 2011-09-09 Juri Linkov <juri@jurta.org>
13071
13072 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13073 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13074 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13075
13076 2011-09-09 Alan Mackenzie <acm@muc.de>
13077
13078 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13079 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13080
13081 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13082
13083 Fix for Savannah bug#9392.
13084 * simple.el (mail-encode-mml): New defvar.
13085
13086 * mail/rmail.el (mail-encode-mml): Add a defvar.
13087 (rmail-enable-mime-composing): Default to t.
13088 (rmail-forward): Use MIME method of forwarding only if both
13089 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13090 Set mail-encode-mml non-nil if the MIME method was used.
13091
13092 * mail/sendmail.el (mml-to-mime): Add autoload form.
13093 (mail-encode-mml): Add a defvar.
13094 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13095 to nil.
13096 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13097 message through mml-to-mime, and reset mail-encode-mml to nil.
13098
13099 2011-09-09 Glenn Morris <rgm@gnu.org>
13100
13101 * woman.el (woman-if-body): When processing an .el block,
13102 do not delete the next .el block as well. (Bug#9447)
13103 (woman-special-characters): Add oq, cq, and hy characters.
13104
13105 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13106
13107 * window.el (window-deletable-p): Make sure window is live before
13108 invoking window-prev-buffers.
13109
13110 2011-09-08 Leo Liu <sdl.web@gmail.com>
13111
13112 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13113
13114 2011-09-08 Juri Linkov <juri@jurta.org>
13115
13116 * progmodes/compile.el (compilation-environment): Make it
13117 a defcustom (bug#8340).
13118
13119 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13120
13121 * window.el (frame-auto-delete): Rename to window-auto-delete.
13122 Make it control auto-deletion of windows and/or frames.
13123 (window-deletable-p): New argument FORCE. Rewrite conditions
13124 for deleting window/frame. (Bug#9419)
13125 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13126 Rewrite handling of case when window/frame can be deleted.
13127 (delete-windows-on): Call window-deletable-p with new FORCE
13128 argument t. (Bug#9456)
13129
13130 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13131
13132 * help-mode.el (help-mode): Restore autoload.
13133
13134 2011-09-07 Juri Linkov <juri@jurta.org>
13135
13136 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13137 `compilation-environment'. Set buffer-local
13138 `compilation-environment' to `thisenv' later after (funcall mode).
13139 (Bug#8340)
13140
13141 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13142 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13143 instead of replacing its value. (Bug#8340)
13144
13145 2011-09-07 Juri Linkov <juri@jurta.org>
13146
13147 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13148 based on text properties put by `grep-filter' instead of matching
13149 escape sequences.
13150 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13151 to the value of `grep-error-screen-columns' (bug#9438).
13152
13153 2011-09-07 Juri Linkov <juri@jurta.org>
13154
13155 * simple.el (next-error-highlight, next-error-highlight-no-select):
13156 Doc fix (bug#9432).
13157
13158 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13159
13160 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13161 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13162
13163 2011-09-07 Leo Liu <sdl.web@gmail.com>
13164
13165 * net/rcirc.el (rcirc-mode): Conditionally initialize
13166 rcirc-input-ring.
13167
13168 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13169
13170 * emacs-lisp/find-func.el (find-function-C-source): Only set
13171 find-function-C-source-directory after checking that we found a source
13172 file there (bug#9440).
13173
13174 2011-09-06 Alan Mackenzie <acm@muc.de>
13175
13176 * isearch.el (isearch-other-meta-char): Wherever a key list is
13177 unread, "unread" the prefix arg, too. This fixes bug #8901.
13178
13179 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13180
13181 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13182
13183 2011-09-05 Juri Linkov <juri@jurta.org>
13184
13185 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13186
13187 2011-09-05 Juri Linkov <juri@jurta.org>
13188
13189 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13190 keeping point where processing of grep matches begins, and
13191 continue to delete remaining escape sequences from the same point.
13192 (grep-filter): Make leading zero optional in "0?1;31m" because
13193 git-grep emits "\033[1;31m" escape sequences unlike expected
13194 "\033[01;31m" as GNU Grep does (bug#9408).
13195 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13196
13197 2011-09-05 Juri Linkov <juri@jurta.org>
13198
13199 * subr.el (y-or-n-p): Capitalize "yes".
13200
13201 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13202
13203 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13204 `tramp-cache-unload-hook' where appropriate.
13205 (tramp-methods): Rename `tramp-remote-sh' to
13206 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13207 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13208
13209 * net/tramp-sh.el (top): Don't require 'shell.
13210 (tramp-methods): Add `tramp-remote-shell' and
13211 `tramp-remote-shell-args' entries.
13212 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13213 (tramp-sh-handle-shell-command): Remove.
13214 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13215 Use `tramp-remote-shell'.
13216
13217 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13218
13219 * mail/sendmail.el (sendmail-query-once-function): Delete.
13220 (sendmail-query-once): Save directly to send-mail-function.
13221 Update message-send-mail-function too.
13222
13223 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13224
13225 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13226
13227 * progmodes/python.el (python-mode-map): Use correct function to
13228 start python interpreter from menu-bar (as reported by Geert
13229 Kloosterman).
13230 (inferior-python-mode-map): Fix typo.
13231 (python-shell-map): Remove.
13232
13233 2011-09-03 Deniz Dogan <deniz@dogan.se>
13234
13235 * net/rcirc.el (rcirc-print): Simplify code for
13236 rcirc-scroll-show-maximum-output. There is no need to walk
13237 through all windows to find the right one.
13238
13239 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13240
13241 * help.el (help-return-method): Doc fix.
13242
13243 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13244
13245 * window.el (window-deletable-p): Don't return a non-nil value
13246 when there's a buffer that was shown in the window before.
13247 (Bug#9419)
13248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13249 Set window's previous buffers to nil.
13250
13251 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13252
13253 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13254 newline before and after the tag line, so it doesn't interfere
13255 with determining the paragraph direction of bidirectional text.
13256
13257 2011-09-03 Leo Liu <sdl.web@gmail.com>
13258
13259 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13260
13261 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13262
13263 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13264 (pop-to-buffer): Change interactive spec. Pass second argument
13265 directly to display-buffer.
13266 (display-buffer): Fix interactive spec. Use functionp to
13267 distinguish between a function and a list of functions.
13268
13269 * abbrev.el (edit-abbrevs):
13270 * arc-mode.el (archive-extract):
13271 * autoinsert.el (auto-insert):
13272 * bookmark.el (bookmark-bmenu-list):
13273 * files.el (find-file):
13274 * view.el (view-buffer):
13275 * progmodes/compile.el (compilation-goto-locus):
13276 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13277
13278 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13279
13280 * window.el (display-buffer-alist): Doc fix.
13281 (display-buffer): Add docstring. Don't treat
13282 display-buffer-default specially.
13283 (display-buffer-reuse-selected-window)
13284 (display-buffer-same-window, display-buffer-maybe-same-window)
13285 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13286 (display-buffer-pop-up-window)
13287 (display-buffer-reuse-or-pop-window)
13288 (display-buffer-use-some-window): New functions.
13289 (display-buffer-default-action): Use them.
13290 (display-buffer-default): Delete.
13291 (pop-to-buffer-1): Fix choice of actions.
13292
13293 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * minibuffer.el (completion--insert-strings): Don't get confused by
13296 completion entries that end with an LF char.
13297
13298 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13299
13300 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13301
13302 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13303
13304 * window.el (display-buffer): Restore interactive spec.
13305 (display-buffer-same-window, display-buffer-other-window):
13306 New functions.
13307 (pop-to-buffer-1): New function. Use the above.
13308 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13309 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13310
13311 * view.el (view-buffer-other-window, view-buffer-other-frame):
13312 Just use pop-to-buffer.
13313
13314 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13315
13316 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13317
13318 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13319
13320 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13321
13322 2011-08-31 Richard Stallman <rms@gnu.org>
13323
13324 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13325 of the separation of rmail-view-buffer from rmail-buffer.
13326 If you say no to "replace original", the decrypt is in the
13327 view buffer. If you say yes, the decrypt goes into the
13328 rmail buffer also.
13329
13330 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13331
13332 * window.el (display-buffer-window): Rewrite doc-string.
13333 (display-buffer-record-window): New function.
13334 (display-buffer-macro-specifiers)
13335 (display-buffer-even-window-sizes, display-buffer-set-height)
13336 (display-buffer-set-width, display-buffer-in-window)
13337 (display-buffer-reuse-window, display-buffer-split-specifiers)
13338 (display-buffer-side-specifiers, display-buffer-split-window-1)
13339 (display-buffer-split-window, display-buffer-split-atom-window)
13340 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13341 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13342 (display-buffer-other-window-means-other-frame)
13343 (display-buffer-normalize-special)
13344 (display-buffer-normalize-default)
13345 (display-buffer-normalize-argument)
13346 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13347 (display-buffer-normalize-specifiers, display-buffer-frame)
13348 (display-buffer-same-window, display-buffer-same-frame)
13349 (display-buffer-other-window)
13350 (display-buffer-same-frame-other-window)
13351 (display-buffer-other-frame, pop-to-buffer-same-window)
13352 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13353 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13354 (switch-to-buffer-same-frame)
13355 (switch-to-buffer-other-window-same-frame)
13356 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13357 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13358 (display-buffer-alist-set): Remove.
13359 (display-buffer-function, special-display-buffer-names)
13360 (special-display-regexps, special-display-function):
13361 In doc-string refer to display-buffer-window and quit-restore
13362 parameter.
13363 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13364 (special-display-frame-alist, special-display-popup-frame)
13365 (same-window-buffer-names, same-window-regexps, same-window-p)
13366 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13367 (split-window-preferred-function, split-height-threshold)
13368 (split-width-threshold, window-splittable-p)
13369 (split-window-sensibly, window--try-to-split-window)
13370 (window--frame-usable-p, even-window-heights)
13371 (window--even-window-heights, window--display-buffer-1)
13372 (window--display-buffer-2, display-buffer-other-frame):
13373 Restore old Emacs 23 code, order and doc-strings where applicable.
13374 (display-buffer-default, display-buffer-assq-regexp): New functions.
13375 (display-buffer-alist): Rewrite doc-string.
13376 (display-buffer-default-action)
13377 (display-buffer-overriding-action): New variables.
13378 (display-buffer, switch-to-buffer): Rewrite.
13379 (pop-to-buffer): Restore Emacs 23 behavior but use
13380 window-normalize-buffer-to-display.
13381 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13382 Restore Emacs 23 behavior but use
13383 window-normalize-buffer-to-switch-to.
13384 (pop-to-buffer-same-window): Rewrite.
13385 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13386 Rewrite using Emacs 23 options.
13387
13388 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13389
13390 * net/tramp.el (tramp-root-regexp): Remove.
13391 (tramp-completion-file-name-regexp-unified)
13392 (tramp-completion-file-name-regexp-separate)
13393 (tramp-completion-file-name-regexp-url): Don't use leading volume
13394 letter on w32 systems. (Bug#5303, Bug#9311)
13395 (tramp-drop-volume-letter): Simplify definition.
13396 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13397
13398 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13401 (bug#9356).
13402
13403 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13404
13405 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13406
13407 2011-08-29 Juri Linkov <juri@jurta.org>
13408
13409 * isearch.el (isearch-done): Don't display message "Mark saved"
13410 when arg `edit' is non-nil to prevent its flicker in the echo area.
13411
13412 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13413
13414 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13415 obsolete packages for deletion.
13416
13417 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13418
13419 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13420 (help-mode): Derive help-mode from special-mode. Don't invoke
13421 view-mode from help-mode.
13422 (help-xref-override-view-map): Remove.
13423 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13424 view-mode is not used anymore.
13425
13426 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13427
13428 * server.el (server-port): Doc fix.
13429
13430 * cus-theme.el (custom-theme-choose-mode): Inherit from
13431 special-mode (Bug#9124).
13432 (custom-theme-choose-mode-map): Add special-mode to parent.
13433
13434 2011-08-28 Alan Mackenzie <acm@muc.de>
13435
13436 * progmodes/cc-fonts.el
13437 (c-make-font-lock-BO-decl-search-function): New function.
13438 (c-basic-matchers-after - "Fontify the clauses after various
13439 keywords"): Extract the three keyword lists for the 3 erroneous
13440 constructs from the list of four, and use the new function above
13441 in place of an old one.
13442
13443 2011-08-28 Deniz Dogan <deniz@dogan.se>
13444
13445 * net/rcirc.el (rcirc-insert-prev-input)
13446 (rcirc-insert-next-input): Remove unused argument.
13447
13448 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13451
13452 2011-08-27 Alan Mackenzie <acm@muc.de>
13453
13454 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13455 handle function pointer parameters properly.
13456
13457 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13458
13459 * window.el (display-buffer-reuse-window): Fix case where
13460 selected window was reused with non-nil OTHER-WINDOW argument.
13461 (Bug#9381)
13462
13463 2011-08-27 Deniz Dogan <deniz@dogan.se>
13464
13465 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13466 oftc's NickServ messages.
13467
13468 2011-08-27 Glenn Morris <rgm@gnu.org>
13469
13470 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13471
13472 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13473
13474 * emacs-lisp/package.el (package-install): Call package-initialize
13475 if called interactively.
13476
13477 2011-08-26 Leo Liu <sdl.web@gmail.com>
13478
13479 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13480
13481 2011-08-25 Juri Linkov <juri@jurta.org>
13482
13483 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13484 `search-whitespace-regexp' (bug#9364).
13485
13486 2011-08-25 Juri Linkov <juri@jurta.org>
13487
13488 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13489 `regexp-search-ring' to their global values to protect from
13490 updating by `read-from-minibuffer' (bug#9185).
13491
13492 2011-08-25 Juri Linkov <juri@jurta.org>
13493
13494 * textmodes/ispell.el (ispell-command-loop): Add newline
13495 at the end of the "Use option `i'..." line.
13496
13497 2011-08-25 Juri Linkov <juri@jurta.org>
13498
13499 * battery.el (display-battery-mode): If `battery-status-function'
13500 or `battery-mode-line-format' is nil, display the message and set
13501 `display-battery-mode' to nil (bug#9363).
13502
13503 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13504
13505 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13506 bidi-string-mark-left-to-right; they are unnecessary now.
13507
13508 2011-08-25 Deniz Dogan <deniz@dogan.se>
13509
13510 * net/quickurl.el: Documentation typo fixes.
13511
13512 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13515
13516 2011-08-25 Glenn Morris <rgm@gnu.org>
13517
13518 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13519
13520 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13521 (smtpmail-via-smtp): Handle nil response from smtp.
13522
13523 2011-08-24 Juri Linkov <juri@jurta.org>
13524
13525 * proced.el (proced-marked): Inherit from `error' instead of
13526 `font-lock-warning-face'.
13527
13528 * ibuffer.el (ibuffer-marked-face): Change default face from
13529 `font-lock-warning-face' to `warning'.
13530 (ibuffer-deletion-face): Change default face from
13531 `font-lock-type-face' to `error'.
13532
13533 * battery.el (battery-update): Use the face `error' instead of
13534 `font-lock-warning-face' (bug#6117).
13535
13536 2011-08-24 Juri Linkov <juri@jurta.org>
13537
13538 * faces.el (success): Change face color from "Green3" to
13539 "ForestGreen" on light background (bug#9353).
13540
13541 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13542
13543 * window.el (quit-window): Rename from quit-restore-window.
13544 Use same arglist as old quit-window.
13545 (frame-auto-delete): Doc fix.
13546
13547 * view.el (view-mode-exit): Use quit-window.
13548
13549 2011-08-24 Juri Linkov <juri@jurta.org>
13550
13551 * isearch.el (isearch-ring-adjust1): Start visiting previous
13552 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13553 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13554 for empty search string (when the last search string is reused
13555 automatically) to adjust the isearch ring to the last element and
13556 prepare the correct index for further M-p commands (bug#9185).
13557
13558 2011-08-24 Kenichi Handa <handa@m17n.org>
13559
13560 * international/ucs-normalize.el: If decomposition property of
13561 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13562 nil.
13563 (nfd, nfkd): Likewise.
13564
13565 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13568 from process filters aren't reliably transmitted to the surrounding
13569 accept-process-output.
13570 (mpc-proc-check): New function.
13571 (mpc-proc-sync): Use it (bug#8293)
13572
13573 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13576 Add compatibility functions (bug#9313).
13577
13578 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13579
13580 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13581
13582 * international/uni-bidi.el: Regenerate.
13583
13584 2011-08-23 Kenichi Handa <handa@m17n.org>
13585
13586 * international/charprop.el:
13587 * international/uni-bidi.el:
13588 * international/uni-category.el:
13589 * international/uni-combining.el:
13590 * international/uni-comment.el:
13591 * international/uni-decimal.el:
13592 * international/uni-decomposition.el:
13593 * international/uni-digit.el:
13594 * international/uni-lowercase.el:
13595 * international/uni-mirrored.el:
13596 * international/uni-name.el:
13597 * international/uni-numeric.el:
13598 * international/uni-old-name.el:
13599 * international/uni-titlecase.el:
13600 * international/uni-uppercase.el: Regenerate.
13601
13602 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13603
13604 * help.el (help-window-setup): Fix message displayed when other
13605 window is reused. (Bug#9341)
13606
13607 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13610 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13611
13612 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13613 Mark obsolete.
13614 * shell.el (shell-parse-pcomplete-arguments): New function.
13615 (shell-completion-vars): Use it instead (bug#9160).
13616
13617 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13620 strings and comments (bug#9333).
13621
13622 * emacs-lisp/debug.el (debug-arglist): New function.
13623 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13624 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13625
13626 2011-08-22 Juri Linkov <juri@jurta.org>
13627
13628 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13629 Revert regexp that highlights output switches to its old
13630 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13631
13632 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13633 to check for empty output (bug#9226).
13634
13635 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13636
13637 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13638 symbol-constituent as the default, as that stops font-lock from
13639 working properly (Bug#8843).
13640
13641 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13642
13643 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13644 `coding-system-for-*' around the process open call to avoid
13645 auth-source side effects.
13646 (smtpmail-try-auth-methods): Expand the secret password.
13647 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13648 probe hangs.
13649
13650 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13651
13652 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13653
13654 * emacs-lisp/find-func.el (find-function-noselect): New arg
13655 lisp-only.
13656
13657 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13658 signal an error for built-in functions (Bug#6664).
13659
13660 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13661
13662 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13663 (smtpmail-try-auth-methods): Use it.
13664
13665 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13666
13667 * font-lock.el (font-lock-fontify-region)
13668 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13669 (font-lock-default-unfontify-buffer)
13670 (font-lock-default-fontify-region)
13671 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13672
13673 * progmodes/compile.el (compilation-error-properties):
13674 Fix confusion between file struct and message struct (Bug#9319).
13675 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13676 `ant' regexp.
13677
13678 * net/browse-url.el (browse-url-firefox): Don't call
13679 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13680
13681 2011-08-20 Glenn Morris <rgm@gnu.org>
13682
13683 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13684
13685 * tutorial.el (tutorial--default-keys): Update some default bindings.
13686
13687 * files.el (hack-local-variables): Fully ignore case for "mode:".
13688
13689 2011-08-20 Alan Mackenzie <acm@muc.de>
13690
13691 Resolve invalid use of a regexp in regexp-opt.
13692
13693 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13694 detection for a java annotation.
13695
13696 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13697 detection for a java annotation.
13698
13699 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13700 handling for java.
13701 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13702
13703 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13704
13705 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13706 (Bug#9274).
13707
13708 2011-08-20 Alan Mackenzie <acm@muc.de>
13709
13710 Fontify CPP expressions correctly when starting in the middle of
13711 such a construct. Mainly for when jit-lock etc. starts a chunk
13712 here.
13713
13714 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13715 variable.
13716 (c-make-font-lock-search-form): New function, extracted from
13717 c-make-font-lock-search-function.
13718 (c-make-font-lock-search-function): Use the above function.
13719 (c-make-font-lock-context-search-function): New function.
13720 (c-cpp-matchers): Enhance the preprocessor expression case with
13721 the above function
13722 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13723 which takes an expression.
13724
13725 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13726
13727 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13728
13729 * window.el (display-buffer-reuse-window)
13730 (display-buffer-pop-up-window): Don't reuse or split a side
13731 window.
13732
13733 2011-08-19 Glenn Morris <rgm@gnu.org>
13734
13735 * files.el (hack-local-variables-prop-line, hack-local-variables):
13736 Downcase "Mode:". (Bug#9331)
13737
13738 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13739
13740 * international/characters.el: Add L and R categories.
13741
13742 * subr.el (bidi-string-mark-left-to-right): Rename from
13743 string-mark-left-to-right. Use category search.
13744
13745 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13746
13747 2011-08-18 Juri Linkov <juri@jurta.org>
13748
13749 * faces.el (error, warning, success): New faces with definitions
13750 copied from old default values of `font-lock-warning-face',
13751 `compilation-warning', `compilation-info' (bug#6117).
13752
13753 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13754
13755 * progmodes/compile.el (compilation-error): Inherit from `error'.
13756 (compilation-warning): Inherit from `warning'.
13757 (compilation-info): Inherit from `success'.
13758
13759 * dired.el (dired-marked): Inherit from `warning'.
13760 (dired-flagged): Inherit from `error'.
13761
13762 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13763
13764 * mail/smtpmail.el (auth-source): Require to avoid problems with
13765 binding variables (bug#9298). Also clean up some unused
13766 autoloads.
13767
13768 * net/network-stream.el (network-stream-open-starttls):
13769 Support using starttls.el without using gnutls-cli.
13770
13771 2011-08-17 Juri Linkov <juri@jurta.org>
13772
13773 * progmodes/grep.el (rgrep): Handle the case when
13774 `grep-find-command' is a cons cell (bug#9278).
13775
13776 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13777
13778 * window.el (display-buffer-pop-up-frame): Run frame creation
13779 function with BUFFER current (as special-display-popup-frame
13780 does). Reported by Drew Adams.
13781
13782 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13783
13784 * epa-mail.el: Simplify GnuPG group expansion using
13785 epg-expand-group.
13786 (epa-mail-group-alist, epa-mail-group-modtime)
13787 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13788 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13789 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13790 Remove.
13791
13792 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13793
13794 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13795
13796 2011-08-16 Alan Mackenzie <acm@muc.de>
13797
13798 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13799 Correct, to avoid the inside of macros.
13800
13801 2011-08-16 Richard Stallman <rms@gnu.org>
13802
13803 * epa-mail.el: Handle GnuPG group definitions.
13804 (epa-mail-group-alist, epa-mail-group-modtime)
13805 (epa-mail-gnupg-conf-file): New variables.
13806 (epa-mail-parse-groups, epa-mail-sync-groups)
13807 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13808 (epa-mail-expand-recipients): New functions.
13809 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13810
13811 * mail/rmail.el (rmail-epa-decrypt): New command.
13812
13813 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13814 Don't bind buffer-read-only, just inhibit-read-only.
13815 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13816 (epa-decrypt-armor-in-region): Make error message clearer.
13817
13818 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13821 and "a2b" to "ab" for `prefix'.
13822
13823 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13824
13825 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13826 filter groups.
13827 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13828 Fourquet (Bug#8804).
13829
13830 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13831
13832 * startup.el (argi): Declare as global variable (bug#9275).
13833
13834 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13835
13836 * subr.el (string-mark-left-to-right): Search the entire string
13837 for RTL script, not just the terminating character. Doc fix.
13838
13839 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13840
13841 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13842 New function.
13843 (js--regexp-literal, js-syntax-propertize-function): Remove.
13844 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13845 (js-mode-map): Don't rebind electric keys.
13846 (js-insert-and-indent): Remove.
13847 (js-mode): Setup electric-layout and electric-indent instead.
13848
13849 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13850
13851 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13852
13853 * epa.el (epa-progress-callback-function): Fix the logic of
13854 displaying progress.
13855 * epa-file.el (epa-file-insert-file-contents): Make progress
13856 display more user-friendly.
13857 (epa-file-write-region): Ditto.
13858
13859 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13860
13861 * subr.el (string-mark-left-to-right): New function.
13862
13863 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13864 Use string-mark-left-to-right.
13865 (list-buffers-noselect): Caller changed.
13866
13867 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13868 Use string-mark-left-to-right.
13869 (tabulated-list-print): Recenter after moving point.
13870
13871 2011-08-10 Juri Linkov <juri@jurta.org>
13872
13873 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13874 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13875 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13876
13877 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13880 (Bug#7554).
13881
13882 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13883
13884 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13885 character. (Bug#6594)
13886
13887 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13888
13889 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13890 (image-dired--with-db-file): New macro.
13891 (image-dired-write-tags, image-dired-remove-tag)
13892 (image-dired-create-gallery-lists, image-dired-write-comments)
13893 (image-dired-get-comment, image-dired-mark-tagged-files)
13894 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13895 (image-dired-gallery-generate): Use insert-file-contents.
13896
13897 * time.el (display-time-world-list, display-time-world-display):
13898 * time-stamp.el (time-stamp-string):
13899 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13900 set-time-zone-rule (Bug#7337).
13901
13902 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13903
13904 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13905 (epg-error-to-string, epg-errors-to-string): New function.
13906 (epg-wait-for-completion): Reverse errors list.
13907 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13908 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13909 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13910 (epg-sign-keys, epg-generate-key-from-file)
13911 (epg-generate-key-from-string): Format errors by using
13912 epg-errors-to-string (bug#9255).
13913 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13914
13915 2011-08-07 Juri Linkov <juri@jurta.org>
13916
13917 * faces.el (list-faces-display): Remove extra angle bracket
13918 from `help-mode-map'.
13919
13920 * info.el (Info-history-toc-nodes): Doc fix.
13921
13922 * longlines.el (longlines-mode): Doc fix.
13923
13924 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13927 of statements and in a few more cases (bug#9183).
13928
13929 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13930 New functions.
13931 (cl-transform-lambda): Use them (bug#9239).
13932
13933 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13934
13935 * window.el (display-buffer-same-window)
13936 (display-buffer-same-frame, display-buffer-other-window)
13937 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13938 (pop-to-buffer-other-window)
13939 (pop-to-buffer-same-frame-other-window)
13940 (pop-to-buffer-other-frame): Make them defuns.
13941 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13942
13943 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13944
13945 * subr.el (make-composed-keymap): Move from C. Change calling
13946 convention, and improve docstring to bring attention to a subtle point.
13947 * minibuffer.el (completing-read-default): Adjust accordingly.
13948
13949 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13950
13951 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13952 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13953
13954 * net/trampver.el: Update release number.
13955
13956 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13957
13958 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13959 "in" (bug#9190).
13960
13961 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13962
13963 * mail/sendmail.el (sendmail-query-once): Restore the current
13964 buffer after querying (bug#9074).
13965
13966 * dired.el (dired-flagged): Use different faces for marked and
13967 flagged files (bug#6117).
13968
13969 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13970 (bug#4433).
13971
13972 * ido.el (ido-mode): Switch off the message if called
13973 non-interactively.
13974
13975 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13976 before 587, since it appears that that's more likely to work for
13977 more people.
13978
13979 * cus-edit.el (custom-file): When running under emacs -q, always
13980 refuse to save the customizations, even if the .emacs file doesn't
13981 exist.
13982
13983 * info.el: Remove the `Info-beginning-of-buffer' function
13984 (bug#8325).
13985
13986 * net/network-stream.el (network-stream-open-starttls):
13987 Use `starttls-available-p' to see whether starttls.el can be used.
13988
13989 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13990
13991 * window.el (display-buffer-in-window): Don't set dedicated status
13992 of window here (Bug#9215).
13993 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13994 (display-buffer-pop-up-side-window)
13995 (display-buffer-in-side-window): Set dedicated status of window here.
13996
13997 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14000 before binding generated-autoload-file.
14001
14002 2011-08-01 Deniz Dogan <deniz@dogan.se>
14003
14004 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14005
14006 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14007
14008 Sync with Tramp 2.2.2.
14009
14010 * net/trampver.el: Update release number.
14011
14012 2011-07-30 Juri Linkov <juri@jurta.org>
14013
14014 * dired-aux.el (dired-touch-initial): Remove function.
14015 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14016 current time, and `default' to the last modification time of the
14017 current marked file (bug#6887).
14018
14019 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14020
14021 * simple.el (goto-line): Use string-to-number to provide a
14022 numeric argument to read-number (bug#9163).
14023
14024 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14025
14026 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14027 connection process, it could be nil.
14028
14029 2011-07-27 Leo Liu <sdl.web@gmail.com>
14030
14031 Simplify url handling in rcirc-mode.
14032
14033 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14034 (rcirc-browse-url-at-mouse): Remove.
14035 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14036
14037 2011-07-26 Alan Mackenzie <acm@muc.de>
14038
14039 Fontify bitfield declarations properly.
14040
14041 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14042 (c-symbol-chars): Now exported as a lang variable.
14043 (c-not-primitive-type-keywords): New lang variable.
14044
14045 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14046 QT keyword "more" to prevent "more slots: ...." being spuriously
14047 parsed as a bitfield declaration.
14048
14049 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14050 Refactor and enhance to handle bitfield declarations.
14051 (c-punctuation-in): New function.
14052 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14053 declarations properly.
14054
14055 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14056
14057 * calendar/icalendar.el (icalendar--all-events): Take care of
14058 multiple vcalendars in a single file.
14059 (icalendar--convert-float-to-ical): Checkdoc fixes.
14060
14061 2011-07-25 Deniz Dogan <deniz@dogan.se>
14062
14063 * image.el (insert-image): Clarifying docstring.
14064
14065 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14068 `tramp-send-command-and-check' if there is no error.
14069 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14070
14071 2011-07-22 Alan Mackenzie <acm@muc.de>
14072
14073 Prevent cc-langs.elc being loaded at run time.
14074
14075 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14076 cc-langs.
14077
14078 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14079 "(require 'cc-langs)". Quote a form so it will evaluate at
14080 (cc-mode's) compilation time.
14081
14082 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14083
14084 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14085 loading. (Bug#9114)
14086
14087 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14088
14089 * window.el (display-buffer-pop-up-window)
14090 (display-buffer-pop-up-side-window)
14091 (display-buffer-in-side-window): Call display-buffer-set-height
14092 and display-buffer-set-width after setting the new window's
14093 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14094
14095 2011-07-20 Sam Steingold <sds@gnu.org>
14096
14097 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14098 (etags-tags-included-tables): Call `convert-standard-filename' on
14099 the file names contained in TAGS so that windows Emacs can handle
14100 TAGS files created by cygwin ctags.
14101
14102 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14103
14104 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14105 which apparently didn't work.
14106
14107 2011-07-19 Roland Winkler <winkler@gnu.org>
14108
14109 * proced.el (proced-send-signal): For *Marked Processes* buffer
14110 put point at beginning of buffer.
14111
14112 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14113
14114 * proced.el (proced-format): Make header lines align with the text
14115 (bug#1779).
14116
14117 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14118
14119 * view.el (view-buffer): Allow running in `special' modes if we're
14120 visiting a file (bug#8615).
14121
14122 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14123
14124 * window.el (display-buffer-alist-of-strings-p)
14125 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14126 New functions.
14127 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14128 more accurately.
14129
14130 2011-07-18 Alan Mackenzie <acm@muc.de>
14131
14132 Fontify declarators properly when, e.g., a jit-lock chunk begins
14133 inside a declaration.
14134
14135 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14136
14137 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14138 New function.
14139 (c-complex-decl-matchers): Insert reference to
14140 c-font-lock-enclosing-decls.
14141
14142 * progmodes/cc-engine.el (c-backward-single-comment):
14143 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14144 to nil around calls to (forward-comment -1).
14145
14146 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14147
14148 * image.el (put-image): Doc typo fix.
14149
14150 * progmodes/etags.el (tags-search): Doc typo fix.
14151
14152 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14153 password if we get errors 550 to 554.
14154
14155 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * net/gnutls.el (gnutls-log-level): Remove.
14158
14159 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14160 indentation character (bug#6380).
14161
14162 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14163
14164 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14165 to clarify what the problem is (bug#4291).
14166
14167 * simple.el (current-kill): Clarify what
14168 `interprogram-paste-function' does (bug#7500).
14169 (auto-fill-mode): Document `auto-fill-function' in relation to
14170 `auto-fill-mode' (bug#2470).
14171
14172 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14173
14174 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14175 method if slot is read-only (bug#9035).
14176
14177 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14178
14179 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14180 * window.el (pop-to-buffer): Select window used even if it was
14181 selected before, see discussion of (Bug#8615), (Bug#6954).
14182 Pass argument NORECORD on to select-frame-set-input-focus.
14183
14184 2011-07-15 Glenn Morris <rgm@gnu.org>
14185
14186 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14187 Respect help-form.
14188
14189 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14190
14191 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14192 (gnutls-negotiate): Use it.
14193
14194 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14195
14196 * net/gnutls.el (gnutls-negotiate):
14197 Upcase `gnutls-algorithm-priority'.
14198
14199 2011-07-15 Glenn Morris <rgm@gnu.org>
14200
14201 * jka-compr.el (jka-compr-verbose): Move from here...
14202 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14203 Add missing :version tag.
14204 * info.el: No need to require jka-compr when compiling.
14205
14206 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14209 (gnutls-negotiate): Use it.
14210
14211 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14212
14213 * info.el (Info-beginning-of-buffer): New command.
14214 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14215 announcing `b' as the key (bug#8325).
14216 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14217
14218 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14219
14220 * international/mule-cmds.el
14221 (describe-specified-language-support): Make the error message
14222 clearer (bug#8905).
14223
14224 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14225
14226 * isearch.el (isearch-barrier): Add a doc string, since it's
14227 mentioned in a function doc string (bug#8678).
14228
14229 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14230
14231 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14232 buffer argument (Bug#9083) and self-identifying label argument.
14233
14234 2011-07-15 Glenn Morris <rgm@gnu.org>
14235
14236 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14237
14238 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14239
14240 * man.el (Man-fontify-manpage): Fix message when formatting the
14241 man page (bug#7929).
14242
14243 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14244
14245 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14246 argument LRM; if non-nil, append an invisible LRM character to the
14247 buffer name.
14248 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14249 last argument non-nil, when formatting buffer names.
14250 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14251 paragraph direction.
14252
14253 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14254
14255 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14256 the man page name (bug#7929).
14257
14258 * image.el (put-image): Mention the `put-image' overlay property
14259 (bug#7834).
14260
14261 * scroll-bar.el (set-scroll-bar-mode): Mention that
14262 `scroll-bar-mode' lists the values (bug#7772).
14263
14264 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14265 command (bug#7729).
14266
14267 * rect.el (apply-on-rectangle): Return the point after the last
14268 operation.
14269 (string-rectangle): Go to the point after the last operation
14270 (bug#7522).
14271
14272 * printing.el (pr-toggle-region): Clarify the documentation
14273 slightly (bug#7493).
14274
14275 * time.el (display-time-update):
14276 Allow `display-time-mail-function' to return nil (bug#7158).
14277 Fix suggested by Detlev Zundel.
14278
14279 * vc/diff.el (diff): Clarify the order the file names are read
14280 (bug#7111).
14281
14282 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14283 the doc string (bug#7015).
14284
14285 * font-lock.el (font-lock-maximum-decoration): Mention what
14286 numeric levels mean (bug#6935).
14287
14288 * startup.el (initial-buffer-choice): Don't mention the `none'
14289 selection, which is against policy.
14290
14291 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14292
14293 * window.el (display-buffer-normalize-special):
14294 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14295
14296 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14297
14298 * subr.el (version<, version<=, version=): Mention "-CVS" and
14299 "-12345" alpha version numbers.
14300
14301 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14302
14303 * bindings.el: Add advertised binding for set-mark-command
14304 (Bug#5772).
14305
14306 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14307
14308 * bindings.el (mode-line-other-buffer):
14309 * bookmark.el (bookmark-bmenu-2-window):
14310 * bs.el (bs-cycle-next, bs-cycle-previous):
14311 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14312 switch-to-buffer.
14313
14314 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14315 Delete.
14316
14317 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14318
14319 * follow.el (follow-debug-message, follow-redisplay):
14320 * jka-cmpr-hook.el (with-auto-compression-mode):
14321 Fix typos in docstrings.
14322
14323 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14324
14325 * subr.el (with-silent-modifications): Clarify somewhat what the
14326 macro inhibits (bug#6525).
14327
14328 * simple.el (eval-expression): Note what it does if called
14329 interactively (bug#6495).
14330
14331 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14332
14333 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14334 Use pop-to-buffer buffer-or-name if it is nil.
14335
14336 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14337 Remove switch-to-buffer.
14338
14339 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14340
14341 * files.el (make-directory): Clarify that an error will be raised
14342 if there's an error (bug#6397).
14343
14344 * startup.el (initial-buffer-choice): Add `none' as a choice
14345 (bug#6234).
14346
14347 * subr.el (add-hook): Clarify section about buffer-local hooks
14348 (bug#6218).
14349
14350 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14351
14352 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * tabify.el (untabify): Preserve the current column so that point
14355 doesn't move (bug#6032).
14356
14357 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
14359 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14360 Rewrite to avoid awkward possessive "s" (bug#5986).
14361
14362 2011-07-13 Glenn Morris <rgm@gnu.org>
14363
14364 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14365 (dired-insert-directory): Give a message the first time
14366 if ls is found not to support --dired.
14367
14368 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14369
14370 * simple.el (toggle-truncate-lines): Clarify what is toggled
14371 (bug#5580). Text by Drew Adams.
14372
14373 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14374
14375 * simple.el (blink-matching-open): Make the error message from the
14376 last change less verbose.
14377
14378 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14379
14380 * font-lock.el (font-lock-comment-face): Use the high contrast
14381 "yellow" color for font-lock-comment-face on low color terminals
14382 using a dark background color (bug#4221).
14383
14384 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14385
14386 * dired.el (dired-insert-set-properties): Make the doc string
14387 reflect what it does now (bug#5325).
14388
14389 * simple.el (blink-matching-open): Say that we were unable to find
14390 the match within the limit, if we're limited (bug#5122).
14391
14392 * international/mule-cmds.el (prefer-coding-system): Add an
14393 example (bug#4869).
14394
14395 * progmodes/etags.el (tags-search): Document `file-list-form'
14396 (bug#4731).
14397
14398 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14399
14400 * net/browse-url.el (browse-url-default-browser)
14401 (browse-url-browser-function): Make the default browser choice a
14402 bit more logical (bug#4300). Also clean up the doc string.
14403
14404 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14405
14406 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14407 binary endings (bug#4440).
14408
14409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14410
14411 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14412 which can be pretty annoying (bug#8971).
14413
14414 * jka-compr.el (jka-compr-verbose): New variable, and use
14415 throughout (bug#8971).
14416
14417 * info.el (Info-find-file): Fall back on the installation
14418 directory if we can't find the info node anywhere else.
14419
14420 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14421
14422 * vc/vc.el (vc-revert-file):
14423 Don't set file time-stamp in the past. (Bug#5181)
14424
14425 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14426
14427 * files.el (after-find-file): Give a better error message when
14428 trying to find a symlink that points to a file that doesn't exist
14429 (bug#4398).
14430
14431 * progmodes/cc-vars.el: Remove (probably) misleading comment
14432 (bug#4396).
14433
14434 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14435
14436 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14437
14438 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14439
14440 * mouse-sel.el: Hack restoring functionality, while keeping
14441 compatibility with 2010-07-03 changes to mouse selection.
14442 (mouse-sel-primary-overlay): New var.
14443 (mouse-sel-selection-alist): Use it.
14444 (mouse-sel-mode): Doc fix; remove points that are default features
14445 of mouse.el.
14446
14447 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14448
14449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14450 Fix previous fix (bug#2490).
14451
14452 2011-07-12 Roland Winkler <winkler@gnu.org>
14453
14454 * textmodes/bibtex.el (bibtex-initialize):
14455 Use pop-to-buffer-same-window.
14456 (bibtex-search-entries): Fix interactive call.
14457
14458 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14459
14460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14461 Fontise bytecomp Error lines more correctly (bug#2490).
14462 Fix suggested by Johan Bockgård.
14463
14464 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14465
14466 * dired-x.el (dired-guess-default): Use `delete-dups'.
14467
14468 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14469
14470 * dired.el (dired-mark-prompt):
14471 * dired-aux.el (dired-read-shell-command): Doc fix.
14472
14473 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14474
14475 * mail/sendmail.el (sendmail-query-once):
14476 Use `customize-save-variable' unconditionally, now that it works under
14477 emacs -Q.
14478
14479 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14480
14481 * cus-edit.el (custom-file): Take an optional no-error variable.
14482 (customize-save-variable): Set the variable, and give a warning if
14483 running under "emacs -q".
14484
14485 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14486
14487 * loadhist.el (unload-feature-special-hooks):
14488 Add `auto-coding-functions', `fill-nobreak-predicate' and
14489 `find-directory-functions' (bug#5327).
14490
14491 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14492
14493 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14494
14495 * cus-edit.el (custom-guess-name-alist): -alist variables should
14496 use the `alist' type (bug#3120). Suggested by Drew Adams.
14497
14498 * printing.el: Add documentation to all the `pr-toggle-' commands.
14499
14500 2011-07-11 Leo Liu <sdl.web@gmail.com>
14501
14502 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14503 backends where it makes sense (bug#2623).
14504
14505 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14506
14507 * dired-x.el (dired-guess-default): Remove duplicate shell command
14508 entries (bug#2028).
14509 (dired-guess-default): Fix grammar in doc string (bug#2028).
14510 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14511
14512 * subr.el (remove-duplicates): New conveniency function.
14513
14514 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14515
14516 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14517 (bug#1526).
14518
14519 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14520
14521 * window.el (display-buffer-normalize-default): Don't invert
14522 meaning of even-window-heights. Reported by Eli Zaretskii
14523 <eliz@gnu.org>.
14524
14525 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14526
14527 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14528
14529 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * window.el (display-buffer): Fix arguments to
14532 display-buffer-reuse-window in last change.
14533
14534 * faces.el (link): Use a less saturated blue on light backgrounds.
14535
14536 * startup.el (fancy-startup-text, fancy-about-text)
14537 (fancy-startup-tail): Use font-lock faces, for background safety.
14538
14539 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14540
14541 * emulation/viper-cmd.el (viper-change-state-to-vi):
14542 Limit triggering of abbrev expansion (Bug#9038).
14543
14544 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14545
14546 * window.el (display-buffer-default-specifiers): Remove.
14547 (display-buffer-macro-specifiers): Remove default specifiers.
14548 (display-buffer-alist): Default to nil.
14549 (display-buffer-reuse-window): New optional argument other-window.
14550 (display-buffer-pop-up-window): Allow splitting internal
14551 windows. Check whether a live window was created.
14552 (display-buffer-other-window-means-other-frame)
14553 (display-buffer-normalize-arguments): Rename to
14554 display-buffer-normalize-argument and rewrite. Set the
14555 other-window specifier.
14556 (display-buffer-normalize-special): New function.
14557 (display-buffer-normalize-options): Rename to
14558 display-buffer-normalize-default and rewrite.
14559 (display-buffer-normalize-options-inhibit): Remove.
14560 (display-buffer-normalize-specifiers): Rewrite.
14561 (display-buffer): Process other-window specifier and call
14562 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14563 more faithfully.
14564 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14565 (display-buffer-alist-set): Don't handle 'unset default values.
14566 (display-buffer-in-window, display-buffer-alist-set):
14567 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14568 <tassilo@member.fsf.org>.
14569
14570 2011-07-09 Leo Liu <sdl.web@gmail.com>
14571
14572 * register.el (insert-register): Restore accidental change on
14573 2011-06-26. (Bug#9028)
14574
14575 2011-07-09 Glenn Morris <rgm@gnu.org>
14576
14577 * subr.el (remq): Handle the empty list. (Bug#9024)
14578
14579 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14580
14581 * mail/sendmail.el (send-mail-function): No longer delay custom
14582 initialization.
14583 * custom.el (custom-initialize-delay): Doc fix.
14584
14585 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14586
14587 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14588
14589 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14590
14591 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14592 human-friendly prompt.
14593
14594 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14595
14596 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14597 provided by a particular plugin.
14598
14599 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14600
14601 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14602 save customizations (with "emacs -Q"), just set the variable
14603 instead of erroring out.
14604
14605 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14606
14607 2011-07-08 Juri Linkov <juri@jurta.org>
14608
14609 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14610 (archive-zip-update-case): Use 7z if found by `executable-find'.
14611 The order of searching the available programs is the same as in
14612 `archive-zip-extract' (bug#8968).
14613
14614 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14615
14616 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14617 (menu-bar-options-menu): Tweak descriptions.
14618
14619 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14620
14621 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14622 menu items into verb phrases (bug#1421). Also refill to fit under
14623 80 columns.
14624
14625 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14626
14627 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14628 (Info-read-node-name): Doc fix (Bug#1084).
14629
14630 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14631 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14632 (end-of-sexp, beginning-of-sexp)
14633 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14634 (forward-symbol, forward-same-syntax, word-at-point)
14635 (sentence-at-point): Doc fix (Bug#1144).
14636
14637 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14638
14639 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14640 should cover it (bug#1281).
14641
14642 * cus-edit.el (custom-show): Mark as obsolete.
14643
14644 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14645 negotiation fails, then possibly try again with a non-encrypted
14646 connection (bug#9017).
14647
14648 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14649 be used.
14650
14651 2011-07-07 Richard Stallman <rms@gnu.org>
14652
14653 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14654 property, and handle its changed format.
14655 Look for the correct line number.
14656 Use file's line contents (but not past first =) to find
14657 correct line in message.
14658
14659 2011-07-07 Kenichi Handa <handa@m17n.org>
14660
14661 * international/characters.el (build-unicode-category-table):
14662 Delete it.
14663 (unicode-category-table): Set it by unicode-property-table-internal.
14664
14665 * international/mule-cmds.el (char-code-property-alist): Move to
14666 to src/chartab.c.
14667 (get-char-code-property): Call unicode-property-table-internal to
14668 load a file. Call get-unicode-property-internal where necessary.
14669 (put-char-code-property): Call unicode-property-table-internal to
14670 load a file. Call put-unicode-property-internal where necessary.
14671 put-unicode-property-internal where necessary.
14672 (char-code-property-description):
14673 Call unicode-property-table-internal to load a file.
14674
14675 * international/charprop.el:
14676 * international/uni-bidi.el:
14677 * international/uni-category.el:
14678 * international/uni-combining.el:
14679 * international/uni-comment.el:
14680 * international/uni-decimal.el:
14681 * international/uni-decomposition.el:
14682 * international/uni-digit.el:
14683 * international/uni-lowercase.el:
14684 * international/uni-mirrored.el:
14685 * international/uni-name.el:
14686 * international/uni-numeric.el:
14687 * international/uni-old-name.el:
14688 * international/uni-titlecase.el:
14689 * international/uni-uppercase.el: Regenerate.
14690
14691 * loadup.el: Load international/charprop.el before
14692 international/characters.
14693
14694 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14695
14696 * window.el (next-buffer, previous-buffer): Signal an error if
14697 called from a minibuffer window.
14698
14699 * bindings.el: Revert 2011-07-04 change.
14700
14701 2011-07-06 Richard Stallman <rms@gnu.org>
14702
14703 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14704 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14705 Treat markers like ints.
14706 (rmail-mime-entity): Doc fix.
14707
14708 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14709
14710 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14711 defcustom again for backwards compatibility.
14712
14713 * simple.el (shell-command-on-region): Fill.
14714
14715 * dired-aux.el (dired-kill-line): Add a doc string.
14716
14717 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14718 to "\\sw\\|\\s_" (bug#358).
14719
14720 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14721 (dired-unmark-backward): Ditto.
14722 (dired-flag-backup-files): Ditto.
14723
14724 * dired-x.el (dired-mark-sexp): Ditto.
14725
14726 2011-07-06 Richard Stallman <rms@gnu.org>
14727
14728 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14729 (rmail-mime-entity): New arg TRUNCATED.
14730 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14731 New functions.
14732 (rmail-mime-save): Warn if entity is truncated.
14733 (rmail-mime-toggle-hidden): Likewise, for showing.
14734 (rmail-mime-process-multipart): Record when an entity is truncated.
14735
14736 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14737 if ENTITY is a string.
14738
14739 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14740
14741 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14742 of faces when `M-C-x'-ing their definitions (bug#8378).
14743 Also clean up the code slightly.
14744
14745 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14746 because that makes the colors go away.
14747
14748 * mail/sendmail.el (send-mail-function): Change the default to
14749 `sendmail-query-once'.
14750 (sendmail-query-once): Add an autoload cookie.
14751
14752 * net/network-stream.el (network-stream-open-starttls): Try using
14753 a plain connection even if the server offered STARTTLS, and we
14754 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14755 capability. This should make smtpmail.el work in slightly more
14756 configurations.
14757
14758 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14759
14760 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14761 New defun.
14762 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14763
14764 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14765
14766 * progmodes/sql.el: Version 3.0
14767 (sql-product-alist): Add product :completion-object,
14768 :completion-column, and :statement attributes.
14769 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14770 (sql-mode-syntax-table): Mark all punctuation.
14771 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14772 ansi keywords.
14773 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14774 (sql-mode-oracle-font-lock-keywords): Improve.
14775 (sql-oracle-show-reserved-words): New function for development.
14776 (sql-product-font-lock): Simplify for source code buffers.
14777 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14778 New functions.
14779 (sql-highlight-product): Set product specific syntax table.
14780 (sql-mode-map): Add statement movement functions.
14781 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14782 New variable.
14783 (sql-statement-regexp, sql-beginning-of-statement)
14784 (sql-end-of-statement, sql-signum): New functions.
14785 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14786 (sql-show-sqli-buffer): Bug fix.
14787 (sql-interactive-mode): Store connection data as buffer local.
14788 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14789 with sql-interactive-mode.
14790 (sql-save-connection): Save buffer local settings.
14791 (sql-connection-menu-filter): Change menu entry name.
14792 (sql-product-interactive): Bug fix.
14793 (sql-preoutput-hold): New variable.
14794 (sql-interactive-remove-continuation-prompt): Bug fixes.
14795 (sql-debug-redirect): New variable.
14796 (sql-str-literal): New function.
14797 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14798 Redesign.
14799 (sql-oracle-save-settings, sql-oracle-restore-settings)
14800 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14801 (sql-completion-object, sql-completion-column)
14802 (sql-completion-sqlbuf): New variables.
14803 (sql-build-completions-1, sql-build-completions)
14804 (sql-try-completion): New functions.
14805 (sql-read-table-name): Use them.
14806 (sql-contains-names): New buffer local variable.
14807 (sql-list-all, sql-list-table): Use it.
14808 (sql-oracle-completion-types): New variable.
14809 (sql-oracle-completion-object, sql-sqlite-completion-object)
14810 (sql-postgres-completion-object): New functions.
14811
14812 2011-07-06 Glenn Morris <rgm@gnu.org>
14813
14814 * window.el (pop-to-buffer): Doc fix.
14815
14816 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14817
14818 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14819
14820 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14823
14824 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14825
14826 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14827
14828 * button.el (button): Inherit from link face. Suggested by Dan
14829 Nicolaescu.
14830
14831 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * progmodes/gdb-mi.el: Fit in 80 columns.
14834 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14835 switch-to-buffer.
14836
14837 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14838 if imenu is simply not configured (bug#8941).
14839
14840 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14841
14842 * allout.el (allout-post-undo-hook): New allout outline-change
14843 event hook to signal undo activity.
14844 (allout-post-command-business): Run allout-post-undo-hook if an
14845 undo just occurred.
14846 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14847 * allout-widgets.el (allout-widgets-after-undo-function):
14848 Ensure the integrity of the current item's decoration after it has been
14849 in the vicinity of an undo.
14850 (allout-widgets-mode): Include allout-widgets-after-undo-function
14851 on the new allout-post-undo-hook.
14852
14853 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14854
14855 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14856 Let define-derived-mode define it.
14857 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14858 cycles of abbrev-table inheritance (bug#8998).
14859
14860 2011-07-05 Roland Winkler <winkler@gnu.org>
14861
14862 * textmodes/bibtex.el: Add support for biblatex.
14863 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14864 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14865 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14866 (bibtex-entry-alist, bibtex-field-alist): New variables.
14867 (bibtex-entry-field-alist): Obsolete alias for
14868 bibtex-BibTeX-entry-alist.
14869 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14870 (bibtex-set-dialect): New command.
14871 (bibtex-entry-type, bibtex-entry-head)
14872 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14873 Bind via bibtex-set-dialect.
14874 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14875 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14876 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14877 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14878 Define via bibtex-set-dialect.
14879 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14880 Obey bibtex-no-opt-remove-re.
14881 (bibtex-vec-push, bibtex-vec-incr): New functions.
14882 (bibtex-format-entry, bibtex-field-list)
14883 (bibtex-print-help-message, bibtex-validate)
14884 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14885
14886 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14887
14888 * progmodes/compile.el (compilation-goto-locus):
14889 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14890 * bs.el (bs-cycle-next, bs-cycle-previous):
14891 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14892 * bindings.el (mode-line-other-buffer):
14893 * autoinsert.el (auto-insert):
14894 * arc-mode.el (archive-extract):
14895 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14896
14897 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14898
14899 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14900 Fix check of `emacs-lock-unlockable-modes'.
14901 Coerce true values of `emacs-lock--try-unlocking' to t.
14902
14903 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14904
14905 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14906 * emacs-lock.el: New file.
14907
14908 2011-07-05 Julien Danjou <julien@danjou.info>
14909
14910 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14911 than `boundp' to check if face is set.
14912
14913 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14914
14915 * register.el (registerv-make):
14916 * window.el (window-min-height): Fix typos in docstrings.
14917
14918 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14919
14920 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14921 Update doc string.
14922
14923 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14924
14925 * server.el (server-execute): Catch quit and call
14926 `server-return-error' to pass the error back to emacsclient and
14927 close the connection (bug#8942).
14928
14929 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14930
14931 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14932 insecure exception for current topic. Also note that auto-saves
14933 are handled differently.
14934
14935 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14936 State variables for tracking auto-save inhibition situation.
14937
14938 (allout-write-contents-hook-handler): Rename from
14939 'allout-write-file-hook-handler', and describe how it depends on
14940 write-contents-functions sensitivity to non-nil value to prevent
14941 file write.
14942
14943 (allout-auto-save-hook-handler): Remove. auto-save does not check
14944 this in individual buffers, only in the starting buffer, so this
14945 is not the right way for us to inhibit auto-save in a buffer
14946 according to its condition.
14947
14948 (allout-mode): Use new allout-write-contents-hook-handler, and
14949 only with write-contents-functions. Remove auto-save provisions -
14950 they're implemented elsewhere.
14951
14952 (allout-before-change-handler): If undo is in progress, note that
14953 for attention of allout-post-command-business.
14954
14955 (allout-post-command-business): If the command we're following was
14956 an undo, check for change in the status of encrypted items and
14957 adjust auto-save inhibitions accordingly.
14958
14959 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14960 according to whether there are or aren't any plain-text topics
14961 pending encryption.
14962
14963 (allout-inhibit-auto-save-info-for-decryption):
14964 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14965 if there are plain-text topics pending encryption.
14966
14967 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14968 buffer-saved-size and some allout state to not inhibit auto-saves
14969 if there are no longer any plain-text topics pending encryption.
14970
14971 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14972 No longer provide for exemption of the current topic.
14973
14974 2011-07-04 Juri Linkov <juri@jurta.org>
14975
14976 Add 7z operations to delete and save changed members (bug#8968).
14977 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14978 New defcustoms.
14979 (archive-7z-write-file-member): New function.
14980 (archive-7z-summarize): Fix the number of dashes in the
14981 listing output.
14982
14983 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14984
14985 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14986 (bug#8958).
14987
14988 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14989
14990 * bindings.el: Ignore next-buffer and previous-buffer in
14991 minibuffer-local-map.
14992
14993 * font-lock.el (font-lock-builtin-face): Change light background
14994 color to dark slate blue (Bug#6693).
14995
14996 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14997
14998 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14999
15000 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15004 Add switch-to-buffer.
15005
15006 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15007
15008 * isearch.el (isearch-search-fun-function): Clarify further the
15009 meaning of the function returned.
15010
15011 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15012
15013 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15014
15015 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15016 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15017 Use it.
15018 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15019 `tramp-default-remote-path' does not exist.
15020 (tramp-send-command-and-read): New optional argument NOERROR.
15021 (tramp-open-connection-setup-interactive-shell)
15022 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15023 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15024 (tramp-process-sentinel): Flush also process' connection property.
15025 (tramp-sh-handle-start-file-process): Do not set process
15026 sentinel. It is done now ...
15027 (tramp-maybe-open-connection): ... here. (Bug#8929)
15028
15029 2011-07-04 MON KEY <monkey@sandpframing.com>
15030
15031 * play/animate.el (animate-string): Doc fixes and allow changing
15032 the buffer name (bug#5417).
15033
15034 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15035
15036 * play/animate.el (animation-buffer-name): Rename from *animate*.
15037
15038 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15039
15040 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15041 This is simpler and helps future-proof the code.
15042 (timer-until): Use time-subtract and float-time.
15043 (timer--time-less-p): Use time-less-p.
15044
15045 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15046
15047 * type-break.el (timep): Use the value of `float-time' to avoid a
15048 byte-compiler warning.
15049
15050 * server.el (server-eval-and-print): Return any result, even nil.
15051
15052 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15053
15054 * type-break.el: Accept time formats that the builtins accept.
15055 (timep, type-break-time-difference): Accept any format that
15056 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15057 This is simpler and helps future-proof the code.
15058 (type-break-time-difference): Round rather than ignoring
15059 subseconds components.
15060
15061 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062
15063 * info.el (Info-apropos-matches): Make non-interactive, since it
15064 doesn't seem to do anything useful as a command (bug#8829).
15065
15066 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15067
15068 * frame.el (frame-background-mode, frame-set-background-mode):
15069 Move from faces.el.
15070 (frame-default-terminal-background): New function.
15071
15072 * custom.el (custom-push-theme): Don't record faces in `changed'
15073 theme; this doesn't work correctly for per-frame face settings.
15074 (disable-theme): Use face-set-after-frame-default to reset faces.
15075 (custom--frame-color-default): New function.
15076
15077 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15078
15079 * dired.el (dired-flagging-regexp): Remove unused variable
15080 (bug#8769).
15081
15082 2011-03-29 Kevin Ryde <user42@zip.com.au>
15083
15084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15085 `perl-Test2' extend to match possible "fail #N" rep count
15086 (bug#8377).
15087
15088 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
15090 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15091 `smtpmail-via-smtp' now returns the error instead of nil.
15092
15093 * isearch.el (isearch-search-fun-function): Clarify the doc string
15094 (bug#8101).
15095
15096 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15097
15098 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15099 unnecessary spaces (bug#8987).
15100
15101 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15102
15103 * net/network-stream.el (open-network-stream): Use the
15104 :end-of-capability command thoughout.
15105
15106 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15107
15108 * net/network-stream.el (open-network-stream): Add the
15109 :end-of-capability command parameter, used by pop3.el.
15110
15111 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15112
15113 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15114
15115 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15116 for list)" (bug#6475).
15117
15118 * files.el (file-expand-wildcards): Ignore non-readable
15119 sub-directories while trying to find matches instead of signaling
15120 an error (bug#6297).
15121
15122 * man.el (Man-reference-regexp): Allow matching possible
15123 word-wrapped references (bug#6289).
15124
15125 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15126 for consistency with the other vc buffers (bug#6197).
15127 (vc-checkin): Ditto.
15128
15129 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15130
15131 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15132
15133 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134
15135 * custom.el (defcustom): Clarify that :set is only used in the
15136 Customize user interface (bug#6089).
15137
15138 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15139 associated with a file, refuse to run instead of erroring out
15140 (bug#6084).
15141
15142 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15143 the doc string, since it appears that using `fill-column' always
15144 controls the width (bug#7845).
15145
15146 * simple.el (shell-command-on-region): Say where the error output
15147 went if `shell-command-default-error-buffer' is set (bug#6857).
15148
15149 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15150
15151 * allout.el (allout-yank-processing): Adjust cursor position for
15152 backwards-deleted space.
15153
15154 (allout-rebullet-heading): Register changes with
15155 allout-exposure-changed-hook, so the modified topic is properly
15156 decorated.
15157
15158 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15159
15160 * minibuffer.el (completion-in-region): Document PREDICATE
15161 (bug#7136).
15162
15163 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15164 of keyword/argument pairs (bug#6904).
15165
15166 * replace.el (multi-occur):
15167 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15168
15169 2011-07-02 Drew Adams <drew.adams@oracle.com>
15170
15171 * dired.el (dired-mark-if): Make the message about whether it's
15172 marking or unmarking clearer (bug#8523).
15173
15174 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15175
15176 * disp-table.el (display-table-print-array): New function.
15177 (describe-display-table): Use it to print the vectors more pretty
15178 (Bug#8859).
15179
15180 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15181
15182 * window.el (window-state-get-1): Don't assign clone numbers.
15183 Add clone-of item to list of window parameters.
15184 (window-state-put-2): Don't process clone numbers.
15185 (display-buffer-alist): Fix doc-string.
15186
15187 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15188
15189 * subr.el (remq): Don't allocate if it's not needed.
15190 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15191 (keymap--merge-bindings): New functions.
15192 (keymap-canonicalize): Use them to refine the canonicalization.
15193 * minibuffer.el (minibuffer-local-completion-map)
15194 (minibuffer-local-must-match-map): Move initialization from C.
15195 (minibuffer-local-filename-completion-map): Move initialization from C;
15196 don't inherit from anything here.
15197 (minibuffer-local-filename-must-match-map): Make obsolete.
15198 (completing-read-default): Use make-composed-keymap to combine
15199 minibuffer-local-filename-completion-map with either
15200 minibuffer-local-must-match-map or
15201 minibuffer-local-filename-completion-map.
15202
15203 2011-07-01 Glenn Morris <rgm@gnu.org>
15204
15205 * type-break.el (type-break-time-sum): Use dolist.
15206
15207 * textmodes/flyspell.el (flyspell-word-search-backward):
15208 Replace CL function.
15209
15210 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * mouse.el (mouse--strip-first-event): New function.
15213 (function-key-map): Use it to map fringe clicks to normal clicks
15214 by default.
15215
15216 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15217 (vc-bzr-revision-completion-table): Add support for annotate and date.
15218
15219 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15220 inherit from parent.
15221
15222 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15223
15224 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15225 (dired-show-file-type): Doc fixup (bug#8818).
15226
15227 * dired.el (dired-mode): Fix up the doc string as suggested by
15228 Drew Adams (bug#8817).
15229
15230 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15231 cookie, since the manual says that it should be possible to add
15232 this function to `find-file-hook' (bug#8709).
15233
15234 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15235
15236 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15237 here. Noted Ted Zlatanov as the maintainer.
15238 (cfengine-common-settings, cfengine-common-syntax): New functions
15239 to set up common things between `cfengine-mode' and
15240 `cfengine3-mode'.
15241 (cfengine3-mode): New mode.
15242 (cfengine3-defuns cfengine3-defuns-regex
15243 (cfengine3-class-selector-regex cfengine3-category-regex)
15244 (cfengine3-vartypes cfengine3-font-lock-keywords)
15245 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15246 (cfengine3-indent-line): Add from cfengine3.el.
15247
15248 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15249
15250 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15251
15252 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15253
15254 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15255
15256 * window.el (same-window-buffer-names, same-window-regexps)
15257 (same-window-p, special-display-frame-alist)
15258 (special-display-popup-frame, special-display-function)
15259 (special-display-buffer-names, special-display-regexps)
15260 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15261 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15262 (split-window-preferred-function, split-height-threshold)
15263 (split-width-threshold, even-window-heights)
15264 (display-buffer-mark-dedicated, window-splittable-p)
15265 (split-window-sensibly, window-safely-shrinkable-p):
15266 Un-obsolete.
15267 (display-buffer): Don't spread args with function specifier
15268 because special-display-popup-frame won't like it.
15269
15270 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15271
15272 Time-stamp simplifications and fixes.
15273 These improve accuracy slightly, and future-proof the code
15274 against some potential changes to current-time format.
15275
15276 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15277 by using time-since and float-time.
15278
15279 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15280 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15281 + NNN microseconds".
15282
15283 * type-break.el (type-break-time-sum): Rewrite using time-add.
15284
15285 * play/hanoi.el (hanoi-current-time-float): Remove.
15286 All uses replaced by float-time.
15287
15288 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15289 This yields a more-accurate answer.
15290 (rng-time-to-float): Remove; no longer needed.
15291
15292 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15293
15294 * calendar/timeclock.el (timeclock-seconds-to-time):
15295 Defalias to seconds-to-time, since they're the same thing.
15296
15297 * emacs-lisp/elp.el (elp-elapsed-time):
15298 * emacs-lisp/benchmark.el (benchmark-elapse):
15299 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15300
15301 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15302
15303 * window.el (bury-buffer): Don't iconify the only frame.
15304 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15305 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15306
15307 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15308
15309 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15310 Add mouse-yank-primary.
15311
15312 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15313
15314 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15315
15316 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15317
15318 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15319 (find-library-name): Use it to find relative load names when provided
15320 absolute file name (bug#8803).
15321
15322 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323
15324 * textmodes/flyspell.el (flyspell-word): Consider words that
15325 differ only in case as potential doublons (bug#5687).
15326
15327 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15328 Remove two rather uninteresting debugging-like messages to make
15329 debbugs.el more silent.
15330
15331 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15332 a password-like phrase.
15333
15334 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15335
15336 * progmodes/cc-guess.el: New file.
15337
15338 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15339
15340 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15341 derived from `c-basic-common-init'.
15342
15343 * progmodes/cc-mode.el (top-level): Require cc-guess.
15344 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15345
15346 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15347
15348 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15349
15350 2011-06-30 Alan Mackenzie <acm@muc.de>
15351
15352 * progmodes/cc-engine.el (c-guess-continued-construct):
15353 Correct the handling of template-args-cont, particularly for when font
15354 lock is disabled. Name this case as "CASE G".
15355
15356 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15357
15358 * allout.el (allout-yank-processing): Fix injection of extra space
15359 between bullet and non-whitespace character in first topic when
15360 pasting, ensuring that the actual spacing in the pasted topic
15361 following the bullet char is preserved. This extra space was
15362 causing pasted encrypted topics to get a decrypted status even
15363 when the content was actually still encrypted. Now the decryption
15364 status from before the paste is preserved.
15365
15366 (allout-flag-region): Set all allout overlays so they evaporate
15367 when reduced to zero length (evanescent), to prevent overlay
15368 leakage.
15369
15370 2011-06-30 Glenn Morris <rgm@gnu.org>
15371
15372 * w32-fns.el (w32-charset-info-alist): Declare.
15373
15374 * find-dired.el (find-grep-options): Simplify.
15375
15376 * term/ns-win.el (ns-set-resource): Declare.
15377
15378 * ses.el (row, col): Declare dynamic variables honestly.
15379
15380 * textmodes/reftex-parse.el (index-tags): Declare.
15381
15382 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15383
15384 * cus-edit.el (customize-push-and-save): New function.
15385
15386 * files.el (hack-local-variables-confirm): Use it.
15387
15388 * custom.el (load-theme): New arg NO-CONFIRM.
15389 Use customize-push-and-save (Bug#8720).
15390 (custom-enabled-themes): Doc fix.
15391
15392 * cus-theme.el (customize-create-theme)
15393 (custom-theme-merge-theme): Callers to load-theme changed.
15394
15395 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15396
15397 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15398 short URLs have at least one dot in them (bug #7614).
15399
15400 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15401 nil, because using a pty is apparently too slow (bug #895).
15402
15403 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15404
15405 * mail/sendmail.el (sendmail-query-once): New function.
15406 (sendmail-query-once-function): New variable.
15407
15408 2011-06-29 Glenn Morris <rgm@gnu.org>
15409
15410 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15411
15412 * ses.el (top-level): Require cl when compiling.
15413 (ses-set-localvars): Fix error statement.
15414 Call it at compile time to silence a storm of warnings.
15415
15416 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15417
15418 * window.el (normalize-live-buffer): Rename to
15419 window-normalize-buffer.
15420 (normalize-live-frame): Rename to window-normalize-frame.
15421 (normalize-any-window): Rename to window-normalize-any-window.
15422 (normalize-live-window): Rename to window-normalize-live-window.
15423 (make-window-atom): Rename to window-make-atom.
15424 (window-resize-reset): Rename to window--resize-reset.
15425 (window-resize-reset-1): Rename to window--resize-reset-1.
15426 (resize-mini-window): Rename to window--resize-mini-window.
15427 (resize-subwindows-skip-p): Rename to
15428 window--resize-subwindows-skip-p.
15429 (resize-subwindows-normal): Rename to
15430 window--resize-subwindows-normal.
15431 (resize-subwindows): Rename to window--resize-subwindows.
15432 (resize-other-windows): Rename to window--resize-siblings.
15433 (resize-this-window): Rename to window--resize-this-window.
15434 (resize-root-window): Rename to window--resize-root-window.
15435 (resize-root-window-vertically): Rename to
15436 window--resize-root-window-vertically.
15437 (normalize-buffer-to-display): Rename to
15438 window-normalize-buffer-to-display.
15439 (normalize-buffer-to-switch-to): Rename to
15440 window-normalize-buffer-to-switch-to.
15441 Correspondingly update all callers of the functions listed
15442 above.
15443 (display-buffer-alist, display-buffer-normalize-arguments)
15444 (display-buffer-normalize-options, display-buffer)
15445 (display-buffer-alist-set): Use "function" instead of
15446 "fun-with-args".
15447
15448 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15449
15450 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15451 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15452 debbugs.gnu.org. Mention acknowledgment email.
15453
15454 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15455
15456 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15457 buffer multibyteness, since it shouldn't matter.
15458
15459 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15460
15461 * window.el (display-buffer-in-side-window): Handle dedicated
15462 windows as in display-buffer-reuse-window.
15463 (display-buffer-normalize-alist): Use value of override
15464 specifier.
15465 (display-buffer-normalize-specifiers): Use value of
15466 other-window-means-other-frame specifier.
15467 (display-buffer-alist): Rewrite some texts in widgets.
15468 (display-buffer): Spread arguments when calling function
15469 specified by fun-with-args.
15470
15471 2011-06-28 Deniz Dogan <deniz@dogan.se>
15472
15473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15474 Unnest `let'.
15475
15476 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15477 selectors (Bug#5732).
15478 (css-proprietary-nmstart-re): Use `regexp-opt'.
15479
15480 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15481
15482 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15483 (eshell-ls-date-format): New defcustom.
15484 (eshell-ls-file): Use it.
15485
15486 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15487
15488 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15489
15490 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15491
15492 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15493 (ange-ftp-make-tmp-name): New arg.
15494 (ange-ftp-file-local-copy): Use it.
15495
15496 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15497
15498 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15499 no-conversion (Bug#8870).
15500
15501 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15502
15503 * window.el (window-right, window-left, window-child)
15504 (window-child-count, window-last-child)
15505 (window-iso-combination-p, walk-window-tree-1)
15506 (window-atom-check-1, window-tree-1, delete-window)
15507 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15508 new naming conventions - window-vchild, window-hchild,
15509 window-next and window-prev are now called window-top-child,
15510 window-left-child, window-next-sibling and window-prev-sibling
15511 respectively.
15512 (resize-window-reset): Rename to window-resize-reset.
15513 (resize-window-reset-1): Rename to window-resize-reset-1.
15514 (resize-window): Rename to window-resize.
15515 (window-min-height, window-min-width)
15516 (resize-mini-window, resize-this-window, resize-root-window)
15517 (resize-root-window-vertically, adjust-window-trailing-edge)
15518 (enlarge-window, shrink-window, maximize-window)
15519 (minimize-window, delete-window, quit-restore-window)
15520 (split-window, balance-windows, balance-windows-area-adjust)
15521 (balance-windows-area, window-state-put-2)
15522 (display-buffer-even-window-sizes, display-buffer-set-height)
15523 (display-buffer-set-width, set-window-text-height)
15524 (fit-window-to-buffer): Rename all "resize-window" prefixed
15525 calls to use the "window-resize" prefix convention.
15526 (display-buffer-alist): Fix symbol for label specifier.
15527 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15528 corresponding specifier.
15529 Reported by Juanma Barranquero <lekktu@gmail.com>.
15530
15531 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15532
15533 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15534 convention.
15535 (ses-call-printer): Does not pass an empty string to formatter when the
15536 cell is empty to keep from barking printer Calc math-format-value.
15537
15538 2011-06-27 Richard Stallman <rms@gnu.org>
15539
15540 * battery.el (battery-mode-line-limit): New variable.
15541 (battery-update): Handle it.
15542
15543 * mail/rmailmm.el (rmail-mime-process-multipart):
15544 Handle truncated messages.
15545
15546 2011-06-27 Glenn Morris <rgm@gnu.org>
15547
15548 * progmodes/flymake.el (flymake-err-line-patterns):
15549 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15550
15551 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15552
15553 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15554 (ses--clean-!, ses--clean-_): New functions.
15555 (ses-range): Add configurability of readout order, and conversion
15556 to Calc vector.
15557
15558 * ses.el (ses-repair-cell-reference-all): New function.
15559 (ses-cell-symbol): Set macro as safe, so that it can be used in
15560 formulas.
15561
15562 * ses.el: Update cycle detection algorithm.
15563 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15564 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15565 (ses-set-localvars): New function.
15566 (ses-make-cell): Add property-list as a cell element.
15567 (ses-cell-property-get-fun, ses-cell-property-get)
15568 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15569 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15570 New functions.
15571 (ses-cell-property-set, ses-cell-property-pop)
15572 (ses-cell-property-get-handle): New macro.
15573 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15574 New aliases, used for code readability.
15575 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15576 cycle detection.
15577 (ses-self-reference-early-detection): New defcustom.
15578 (ses-formula-references): Robustify against self-referring cells.
15579 (ses-mode): Use ses-set-localvars.
15580 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15581 before lauching the update processing.
15582 (ses-initialize-Dijkstra-attempt): New function.
15583 (ses-recalculate-cell): Update for cycle detection based on
15584 Dijkstra algorithm.
15585
15586 * ses.el: Fix commenting and indenting convention.
15587
15588 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15589
15590 * bs.el (bs-cycle-next): Complete last change.
15591
15592 2011-06-27 Drew Adams <drew.adams@oracle.com>
15593
15594 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15595
15596 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15597
15598 * net/network-stream.el (network-stream-open-starttls):
15599 Don't re-get capabilities unless we've reestablished connection.
15600 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15601
15602 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15603 to binary to possibly avoid line encoding issues on Windows (among
15604 other things).
15605
15606 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15607
15608 * net/network-stream.el (open-network-stream): Return an :error
15609 saying what the problem was, if possible.
15610
15611 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15612 server.
15613
15614 * net/network-stream.el (network-stream-open-starttls): If we
15615 wanted to use STARTTLS, and the server offered it, but we weren't
15616 able to because we had no STARTTLS support, then close the connection.
15617 (open-network-stream): Return an :error element, if present.
15618
15619 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15620
15621 * hl-line.el (hl-line-sticky-flag): Doc fix.
15622 (global-hl-line-sticky-flag): New option (Bug#8323).
15623 (global-hl-line-highlight): Obey it.
15624
15625 * vc/vc.el (vc-revert-show-diff): Default to t.
15626
15627 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15628
15629 * allout-widgets.el (allout-widgets-post-command-business):
15630 Stop decorating intermediate isearch matches. They're not being
15631 undecorated when an isearch is continued past, and isearch
15632 automatically collapses them. This leads to "widget leaks", where
15633 decorated items accumulate in collapsed areas. Lines with lots of
15634 hidden widgets can slow down cursor travel, substantially.
15635 Too much complicated machinery would be needed to ensure undecoration,
15636 so we're doing without this nicety.
15637
15638 (allout-widgets-tally-string): Don't try to do a hash-table-count
15639 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15640 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15641 *Messages* when allout-widgets-maintain-tally is t.
15642
15643 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15644
15645 * window.el (display-buffer-normalize-argument): Rename to
15646 display-buffer-normalize-arguments. Handle special meaning of
15647 LABEL argument. Respect special-display-function when popping up
15648 a new frame. Fix code searching for a window showing the buffer
15649 on another frame.
15650 (display-buffer-normalize-specifiers):
15651 Call display-buffer-normalize-arguments.
15652 (display-buffer-in-window): Don't undedicate the window if its
15653 buffer remains the same.
15654 Reported by Drew Adams <drew.adams@oracle.com>.
15655 (display-buffer-alist): Add choice for same-window macro
15656 specfier.
15657 (display-buffer): Mention special meaning of LABEL argument in
15658 doc-string. Fix quoting. Don't pop up a new frame even as
15659 fallback.
15660
15661 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15662
15663 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15664 avoid deleting the current window in some cases (bug#8911).
15665
15666 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15667
15668 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15669 (Bug#8934)
15670
15671 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15672
15673 * net/network-stream.el (network-stream-open-starttls):
15674 Use built-in TLS support if `gnutls-available-p' is true.
15675 (network-stream-open-tls): Ditto.
15676
15677 2011-06-26 Leo Liu <sdl.web@gmail.com>
15678
15679 * register.el (registerv): New struct.
15680 (registerv-make): New function.
15681 (jump-to-register, describe-register-1, insert-register):
15682 Support the jump-func, print-func and insert-func slot of a registerv
15683 struct. (Bug#8415)
15684
15685 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15686
15687 * vc/vc.el (vc-revert-show-diff): New defcustom.
15688 (vc-diff-internal): New arg specifying diff buffer.
15689 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15690 reuse an existing *vc-diff* buffer (Bug#8927).
15691
15692 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15693
15694 2011-06-26 Glenn Morris <rgm@gnu.org>
15695
15696 * progmodes/f90.el (f90-critical-indent): New option.
15697 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15698 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15699 (f90-mode): Doc fix.
15700 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15701 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15702 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15703 (f90-match-end): Handle block, critical.
15704
15705 2011-06-25 Glenn Morris <rgm@gnu.org>
15706
15707 * calendar/diary-lib.el (diary-included-files): Doc fix.
15708 (diary-include-files): New function, extracted from
15709 diary-include-other-diary-files and diary-mark-included-diary-files.
15710 (diary-include-other-diary-files, diary-mark-included-diary-files):
15711 Just call diary-include-files.
15712 (diary-mark-entries): Reset diary-included-files on first call.
15713
15714 * calendar/diary-lib.el (diary-mark-entries)
15715 (diary-mark-included-diary-files):
15716 Visit included diary-files in temp buffers.
15717
15718 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15719 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15720 (f90-start-block-re, f90-imenu-generic-expression)
15721 (f90-looking-at-program-block-start, f90-no-block-limit):
15722 Add support for submodules.
15723
15724 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15725 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15726
15727 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15728
15729 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15730 buffer-file-type before setting its value, to avoid disastrous
15731 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15732
15733 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15734
15735 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15736
15737 * ses.el (ses-unload-function):
15738 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15739
15740 * proced.el (proced-unload-function):
15741 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15742
15743 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15744
15745 * server.el (server-create-window-system-frame): Add parameters arg.
15746 (server-process-filter): Doc fix. Handle frame-parameters.
15747
15748 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15749
15750 Fix bug#8730, bug#8781.
15751
15752 * loadhist.el (unload--set-major-mode): New function.
15753 (unload-feature): Use it.
15754
15755 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15756 (python-unload-function): New function.
15757
15758 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15761
15762 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15763
15764 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15765 the candidates list.
15766
15767 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15768
15769 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15770
15771 2011-06-23 Richard Stallman <rms@gnu.org>
15772
15773 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15774 (rmail-variables): Set next-error-move-function.
15775 (rmail-what-message): Take argument POS.
15776 (rmail-next-error-move): New function.
15777
15778 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15779
15780 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15781 messages for adjacent non-terminals.
15782
15783 2011-06-23 Richard Stallman <rms@gnu.org>
15784
15785 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15786 (rmail-show-message-1): Preserve buffer modified flag.
15787 (rmail-start-mail): Don't specify use of rmail-mail-return;
15788 that's done by mail-bury now.
15789 (rmail-mail-return): Handle arg NEWBUF.
15790
15791 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15792
15793 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15794 SIZE is a number.
15795
15796 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15797
15798 * window.el (get-lru-window, get-mru-window)
15799 (get-largest-window): Never return a minibuffer window.
15800 (display-buffer-pop-up-window): Fix a bug that could lead to
15801 reusing the minibuffer window.
15802 (display-buffer): Pass original specifier argument to
15803 display-buffer-function instead of the normalized one.
15804 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15805
15806 2011-06-22 Leo Liu <sdl.web@gmail.com>
15807
15808 * minibuffer.el (completing-read-function)
15809 (completing-read-default): Move from minibuf.c
15810
15811 2011-06-22 Richard Stallman <rms@gnu.org>
15812
15813 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15814 to Rmail even if not started by a special Rmail command.
15815
15816 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15817 Copy the buffer currently showing just one message.
15818
15819 2011-06-22 Roland Winkler <winkler@gnu.org>
15820
15821 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15822 (bibtex-clean-entry): First delete the old key so that a
15823 customized algorithm for generating the new key does not get
15824 confused by the old key.
15825 (bibtex-url): Obey regexp of first step.
15826 (bibtex-search-entries): Do not use add-to-list with local
15827 list-var.
15828
15829 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830
15831 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15832 stored a user name, then query for the password first, instead of
15833 waiting for SMTP to give an error message and the trying again.
15834
15835 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15836
15837 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15838 BUFFER in call-process.
15839
15840 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15841
15842 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15843 QUIT twice.
15844 (smtpmail-try-auth-methods): Require user name and password from
15845 auth-source.
15846
15847 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15848
15849 * window.el (display-buffer-default-specifiers)
15850 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15851 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15852 (split-window): Normalize SIDE argument (Bug#8916).
15853
15854 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15855 (special-display-frame-alist, special-display-popup-frame):
15856 Remove duplicate declarations. These are now in window.el.
15857
15858 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15859
15860 * mail/smtpmail.el (smtpmail-via-smtp):
15861 Set :use-starttls-if-possible so that we always use STARTTLS if the
15862 server supports it. SMTP servers that support STARTTLS commonly
15863 require it.
15864
15865 * net/network-stream.el (network-stream-open-starttls): Support
15866 upgrading to STARTTLS always, even if we don't have built-in support.
15867 (open-network-stream): Add the :always-query-capabilities keyword.
15868
15869 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15870 upgrades with `open-network-stream', and rely solely on
15871 auth-source for all credentials. Big changes throughout the file,
15872 but in particular:
15873 (smtpmail-auth-credentials): Remove.
15874 (smtpmail-starttls-credentials): Remove.
15875 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15876 MAIL FROM, too.
15877
15878 * net/network-stream.el (network-stream-open-starttls):
15879 Provide support for client certificates both for external and built-in
15880 STARTTLS.
15881 (auth-source): Require.
15882 (open-network-stream): Document the :client-certificate keyword.
15883 (network-stream-certificate): Change cert-cert to cert and
15884 cert-key to key.
15885
15886 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15887
15888 * net/tramp-cache.el (top): Don't load the persistency file when
15889 "emacs -Q" has been called.
15890
15891 2011-06-21 Tim Harper <timcharper@gmail.com>
15892
15893 * term/ns-win.el (ns-initialize-window-system):
15894 Set application-specific `ApplePressAndHoldEnabled' system
15895 resource to NO as it is not yet supported by the NS port.
15896
15897 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15898
15899 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15900 (list-dynamic-libraries): ...not here.
15901
15902 2011-06-21 Leo Liu <sdl.web@gmail.com>
15903
15904 * subr.el (sha1): Implement sha1 using secure-hash.
15905
15906 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15907
15908 * window.el (display-buffer-alist): In default value do not
15909 enforce searching a window on any but the selected frame.
15910 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15911 (display-buffer-select-window): Remove function.
15912 (display-buffer-in-window): When a window on another frame gets
15913 reused, do not select it any more but just raise its frame if
15914 necessary (Bug#8851) and (Bug#8856).
15915 (display-buffer-normalize-options): Handle pop-up-frames related
15916 options more faithfully.
15917 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15918 window if it is on another frame.
15919 (display-buffer-alist, display-buffer-default-specifiers):
15920 Don't make new frame unsplittable by default.
15921 (display-buffer-normalize-argument): Fix doc-string typo and use
15922 'same-frame-other-window instead of 'other-window when associating
15923 with display-buffer-macro-specifiers.
15924
15925 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15926
15927 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15928 New functions.
15929 (5x5-mode-map, 5x5-mode-menu): Bind them.
15930 (5x5-draw-grid): Tweak the solver's rendering.
15931
15932 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15933
15934 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15935 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15936
15937 2011-06-21 Drew Adams <drew.adams@oracle.com>
15938
15939 * menu-bar.el: Use function variable instead of switch-to-buffer.
15940 (menu-bar-select-buffer-function): New variable.
15941 (menu-bar-update-buffers): Use it (bug#8876).
15942
15943 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15944
15945 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15946 variable's status.
15947
15948 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15949
15950 * x-dnd.el (x-dnd-version-from-flags)
15951 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15952 and long as number (Bug#8899).
15953 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15954
15955 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15956
15957 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15958 (completion-try-completion, completion-all-completions): Compute the
15959 metadata argument if it's missing; make it optional (bug#8795).
15960
15961 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15962 (widget-complete): Use new :completion-function property.
15963 (widget-completions-at-point): New function.
15964 (default): Use :completion-function instead of :complete.
15965 (widget-default-completions): Rename from widget-default-complete;
15966 Rewrite.
15967 (widget-string-complete, widget-file-complete, widget-color-complete):
15968 Remove functions.
15969 (file, symbol, function, variable, coding-system, color):
15970 * international/mule-cmds.el (default-input-method, charset)
15971 (language-info-custom-alist):
15972 * cus-edit.el (face): Use new property :completions.
15973
15974 * progmodes/pascal.el (pascal-completions-at-point): New function.
15975 (pascal-mode): Use it.
15976 (pascal-mode-map): Use completion-at-point.
15977 (pascal-toggle-completions): Make obsolete.
15978 (pascal-complete-word, pascal-show-completions):
15979 * progmodes/octave-mod.el (octave-complete-symbol):
15980 Redefine as obsolete alias.
15981 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15982 Signal absence of completion info for old Octave,
15983 (inferior-octave-complete): Redefine as obsolete alias.
15984 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15985 (meta-completions-at-point): Rename from meta-complete-symbol and
15986 adapt it for use on completion-at-point-functions.
15987 (meta-common-mode): Use it.
15988 (meta-looking-at-backward, meta-match-buffer): Remove.
15989 (meta-complete-symbol): Redefine as obsolete alias.
15990 (meta-common-mode-map): Use completion-at-point.
15991 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15992 (makefile-mode-map): Use completion-at-point.
15993 (makefile-completions-at-point): Rename from makefile-complete and
15994 adapt it for use on completion-at-point-functions.
15995 (makefile-mode): Use it.
15996 (makefile-complete): Redefine as obsolete alias.
15997
15998 2011-06-20 Deniz Dogan <deniz@dogan.se>
15999
16000 * net/rcirc.el: Delete trailing whitespaces once and for all.
16001
16002 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16003
16004 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16005
16006 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16007
16008 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16009
16010 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16011
16012 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16013
16014 * window.el (display-buffer-other-window-means-other-frame):
16015 Call display-buffer-normalize-alist.
16016 (display-buffer-normalize-specifiers-1): Rename to
16017 display-buffer-normalize-argument. New argument other-frame.
16018 Rewrite.
16019 (display-buffer-normalize-specifiers-2): Rename to
16020 display-buffer-normalize-options.
16021 (display-buffer-normalize-alist-1): New function.
16022 (display-buffer-normalize-specifiers-3): Rename to
16023 display-buffer-normalize-alist.
16024 Call display-buffer-normalize-alist-1.
16025 (display-buffer-normalize-options-inhibit): New variable.
16026 (display-buffer-normalize-specifiers): Rewrite calling
16027 display-buffer-normalize-alist,
16028 display-buffer-normalize-argument, and
16029 display-buffer-normalize-options. Don't call the latter if
16030 display-buffer-normalize-options-inhibit is non-nil.
16031 (frame-auto-delete): New option.
16032 (window-deletable-p): Use frame-auto-delete.
16033 (window-list-no-nils, window-state-ignored-parameters)
16034 (window-state-get-1, window-state-get, window-state-put-list)
16035 (window-state-put-1, window-state-put-2, window-state-put):
16036 New functions.
16037 (display-buffer-normalize-options): Move special-display-p group
16038 after pop-up-frame group (Bug#8851) and (Bug#8856).
16039
16040 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16041
16042 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16043 groups (Bug#8776).
16044 (rx-submatch-n): New function.
16045 (rx): Document it.
16046
16047 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16048 (Bug#8768).
16049
16050 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16051
16052 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16053
16054 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16055 anytime existing face settings are present (Bug#8889).
16056
16057 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16058 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16059 Remove unused argument.
16060
16061 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16062
16063 * window.el (display-buffer-default-specifiers):
16064 Remove pop-up-frame. Add pop-up-window-min-height,
16065 pop-up-window-min-width, and another reuse-window specifier
16066 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16067 (display-buffer-normalize-specifiers-2):
16068 Handle split-height-threshold and split-width-threshold also when
16069 pop-up-windows is unset. Add a reuse-window specifier for the
16070 case popping up a new window fails.
16071 (special-display-popup-frame): Remove double quoting.
16072 (display-buffer-normalize-specifiers-1): Fix thinko.
16073
16074 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16075
16076 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16077 according to comint-completion-addsuffix.
16078
16079 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16080 (pcomplete-suffix-list): Mark as obsolete.
16081 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16082 pcomplete-seen in the closure.
16083 (pcomplete-comint-setup): Setup completion-at-point as well.
16084 (pcomplete--entries): New function.
16085 (pcomplete--env-regexp): New var.
16086 (pcomplete-entries): Rewrite to work with partial-completion and
16087 without relying on pcomplete-suffix-list.
16088 (pcomplete-pare-list): Remove, unused.
16089
16090 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16091
16092 * window.el (display-buffer-alist): Set pop-up-window-min-height
16093 and pop-up-window-min-width in default value. Reported by
16094 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16095 other-window-means-other-frame.
16096 (display-buffer-macro-specifiers): Comment out entry for
16097 other-window specifier.
16098 (display-buffer-other-window-means-other-frame): New function.
16099 (display-buffer-normalize-specifiers-1): New arguments
16100 buffer-name and label. Treat other-window case specially.
16101 (display-buffer-normalize-specifiers-2): Treat other-window case
16102 specially.
16103 (display-buffer-normalize-specifiers-3): New function.
16104 (display-buffer-normalize-specifiers):
16105 Call display-buffer-normalize-specifiers-3.
16106
16107 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16108
16109 * window.el (same-window-p): Fix two typos introduced when
16110 adding with-no-warnings.
16111 (display-buffer-normalize-specifiers-1): Don't check
16112 pop-up-frames for 'unset initialization.
16113 (display-buffer-normalize-specifiers-2): Major rewrite using
16114 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16115 (pop-up-frames, display-buffer-reuse-frames)
16116 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16117 Suggested by David Engster <deng@randomsample.de>.
16118 (even-window-heights): Initialize to 'unset.
16119 (display-buffer-alist-set): Handle new 'unset initializations.
16120 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16121 other window case.
16122
16123 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16124
16125 * window.el (display-buffer-normalize-specifiers-1):
16126 Respect current value of pop-up-frames for most reasonable values of
16127 second argument of display-buffer (Bug#8865).
16128 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16129 (switch-to-buffer-other-window-same-frame)
16130 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16131 Adams (Bug#8875).
16132 (display-buffer): Don't check noninteractive when calling
16133 display-buffer-pop-up-frame.
16134 (display-buffer-pop-up-frame): Never pop up a frame in
16135 noninteractive mode (Bug#8857).
16136 (enlarge-window, shrink-window): Don't report an error when the
16137 window can't be resized as requested (Bug#8862).
16138
16139 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16140
16141 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16142
16143 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16144
16145 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16146
16147 2011-06-15 Alan Mackenzie <acm@muc.de>
16148
16149 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16150 for declarators, disable knr checking to speed up for normal files.
16151 2: Refactor, replacing a sequence of nested if forms by a cond form.
16152
16153 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16154
16155 * net/network-stream.el (open-network-stream): Add the keyword
16156 :always-query-capabilities for the case where you want to force a
16157 `plain' network connection, but the protocol still requires the
16158 capabilitiy command (i.e., SMTP and EHLO).
16159
16160 * subr.el (process-live-p): Rename from `process-alive-p' for
16161 consistency with other `-live-p' functions.
16162
16163 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16164
16165 * window.el (same-window-buffer-names, same-window-regexps)
16166 (special-display-frame-alist, special-display-popup-frame)
16167 (special-display-function, special-display-buffer-names)
16168 (special-display-regexps, pop-up-frame-alist)
16169 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16170 (pop-up-windows, split-window-preferred-function)
16171 (split-height-threshold, split-width-threshold, even-window-heights)
16172 (display-buffer-mark-dedicated): Don't encourage the use of
16173 display-buffer-alist from Elisp code.
16174
16175 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16176
16177 * progmodes/python.el (python-mode): Derive from prog-mode.
16178 * progmodes/ps-mode.el (ps-mode):
16179 * progmodes/mixal-mode.el (mixal-mode):
16180 * progmodes/cfengine.el (cfengine-mode):
16181 * progmodes/ld-script.el (ld-script-mode): Likewise.
16182
16183 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16184
16185 * window.el (display-buffer-alist): Trim default value to avoid
16186 popping up a new frame (Bug#8857) or reusing an arbitrary window
16187 on another frame.
16188 (display-buffer): Do not fall back on popping up a new frame in
16189 batch mode (Bug#8857).
16190
16191 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16192
16193 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16194 (custom-theme-summary): New function.
16195 (customize-themes): Use it.
16196
16197 2011-06-13 Glenn Morris <rgm@gnu.org>
16198
16199 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16200
16201 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16202
16203 * help.el (help-window): Remove variable.
16204 (help-window-point-marker, temp-buffer-max-height)
16205 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16206 (help-print-return-message): Don't set help-window.
16207 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16208 (help-window-setup-finish): Remove.
16209 (help-window-display-message, help-window-setup)
16210 (with-help-window): Major rewrite based on new
16211 display-buffer-window variable.
16212
16213 * help-mode.el (help-mode-finish): Remove help-window related
16214 code.
16215
16216 * view.el (view-exits-all-viewing-windows): Remove reference to
16217 view-return-to-alist in doc-string.
16218 (view-return-to-alist): Make obsolete.
16219 (view-buffer): Call pop-to-buffer-same-window and remove
16220 undo-window code.
16221 (view-buffer-other-window): Call pop-to-buffer-other-window and
16222 simplify code. Ignore second argument.
16223 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16224 simplify code. Ignore second argument.
16225 (view-return-to-alist-update): Make obsolete.
16226 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16227 Rewrite using quit-restore window parameters.
16228 (view-mode-exit): Rename second argument to EXIT-ONLY.
16229 Rewrite using quit-restore-window.
16230 (View-exit, View-exit-and-edit, View-leave, View-quit)
16231 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16232 appropriate arguments.
16233 (view-end-message): Use quit-restore window parameter.
16234
16235 * window.el (display-buffer-function): Rewrite doc-string.
16236 (display-buffer-window, display-buffer-alist): New variables.
16237 (display-buffer-split-specifiers)
16238 (display-buffer-side-specifiers)
16239 (display-buffer-macro-specifiers): New constants.
16240 (display-buffer-even-window-sizes, display-buffer-set-height)
16241 (display-buffer-set-width, display-buffer-select-window)
16242 (display-buffer-in-window, display-buffer-reuse-window)
16243 (display-buffer-split-window-1, display-buffer-split-window)
16244 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16245 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16246 (display-buffer-in-side-window, normalize-buffer-to-display)
16247 (display-buffer-normalize-specifiers-1)
16248 (display-buffer-normalize-specifiers-2)
16249 (display-buffer-normalize-specifiers, display-buffer-frame):
16250 New functions.
16251 (display-buffer): Major rewrite.
16252 (display-buffer-other-window, display-buffer-other-frame)
16253 (pop-to-buffer, switch-to-buffer-other-window)
16254 (switch-to-buffer-other-frame): Rewrite.
16255 (display-buffer-same-window, display-buffer-same-frame)
16256 (display-buffer-same-frame-other-window)
16257 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16258 (pop-to-buffer-other-window)
16259 (pop-to-buffer-same-frame-other-window)
16260 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16261 (switch-to-buffer-other-window-same-frame): New functions.
16262 (same-window-p, special-display-p): Rewrite disabling warnings.
16263 Make obsolete.
16264 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16265 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16266 Make obsolete
16267 (same-window-buffer-names, same-window-regexps)
16268 (special-display-frame-alist, special-display-popup-frame)
16269 (special-display-function, special-display-buffer-names)
16270 (special-display-regexps, pop-up-frame-alist)
16271 (pop-up-frame-function, split-window-preferred-function)
16272 (split-height-threshold, split-width-threshold)
16273 (even-window-heights): Make obsolete.
16274
16275 2011-06-12 Glenn Morris <rgm@gnu.org>
16276
16277 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16278 Misc simplifications.
16279
16280 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16281
16282 * window.el (window-safely-shrinkable-p): Restore function which
16283 was inadvertently removed in change from 2011-06-11. Declare as
16284 obsolete.
16285
16286 * calendar/calendar.el (calendar-generate-window):
16287 Use window-iso-combined-p instead of combination of one-window-p and
16288 window-safely-shrinkable-p.
16289
16290 2011-06-12 Glenn Morris <rgm@gnu.org>
16291
16292 * progmodes/fortran.el (fortran-mode-syntax-table):
16293 * progmodes/f90.el (f90-mode-syntax-table):
16294 Set % to punctuation. (Bug#8820)
16295 (f90-find-tag-default): Remove, no longer needed.
16296
16297 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16298
16299 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16300
16301 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16302
16303 * image.el (image-animated-p): Return animation delay in seconds.
16304 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16305 (image-animate-timeout): Remove DELAY argument. Don't assume
16306 every subimage has the same delay; get it from image-animated-p.
16307 (image-animate): Caller changed.
16308
16309 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16310
16311 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16312 to ignored backtrace functions.
16313
16314 2011-06-11 Glenn Morris <rgm@gnu.org>
16315
16316 * calendar/appt.el (appt-disp-window-function): Doc fix.
16317 (appt-check): Handle overlapping appointments. (Bug#8337)
16318
16319 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16320
16321 * window.el (window-tree-1, window-tree): New functions, moving
16322 the latter to window.el.
16323 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16324 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16325 (bw-refresh-edges): Remove.
16326 (balance-windows-1, balance-windows-2): New functions.
16327 (balance-windows): Rewrite in terms of window tree functions,
16328 balance-windows-1 and balance-windows-2.
16329 (bw-adjust-window): Remove.
16330 (balance-windows-area-adjust): New function with functionality of
16331 bw-adjust-window but using resize-window.
16332 (set-window-text-height): Rewrite doc-string.
16333 Use normalize-live-window and resize-window.
16334 (enlarge-window-horizontally, shrink-window-horizontally):
16335 Rename argument to DELTA.
16336 (window-buffer-height): New function.
16337 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16338 Rewrite using new window resize routines.
16339 (kill-buffer-and-window, mouse-autoselect-window-select):
16340 Use ignore-errors instead of condition-case.
16341 (quit-window): Call delete-frame instead of delete-windows-on
16342 for the only buffer on frame.
16343
16344 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16345
16346 * loadup.el (top-level): Load window before files for the sake
16347 of replace-buffer-in-windows.
16348
16349 * files.el (read-buffer-to-switch)
16350 (switch-to-buffer-other-window)
16351 (switch-to-buffer-other-frame, display-buffer-other-frame):
16352 Move to window.el.
16353
16354 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16355 (previous-buffer): Move to window.el.
16356
16357 * bindings.el (unbury-buffer): Move to window.el.
16358
16359 * window.el (delete-other-windows-vertically): Move after
16360 definition of delete-other-windows.
16361 (other-window, delete-windows-on, replace-buffer-in-windows):
16362 Move here from window.c.
16363 (record-window-buffer, unrecord-window-buffer)
16364 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16365 (switch-to-next-buffer): New functions.
16366 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16367 from simple.el. Call switch-to-next-buffer.
16368 (previous-buffer): Move here from simple.el.
16369 Call switch-to-prev-buffer.
16370 (bury-buffer): Move here from buffer.c. Switch to previous
16371 buffer when window cannot be deleted.
16372 (unbury-buffer): Move here from bindings.el.
16373 (ctl-x-map): Move binding for other-window from window.c to
16374 here.
16375 (read-buffer-to-switch, switch-to-buffer-other-window)
16376 (switch-to-buffer-other-frame): Move here from files.el.
16377 (normalize-buffer-to-switch-to): New functions.
16378 (switch-to-buffer): Move here from buffer.c.
16379 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16380
16381 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16382
16383 * window.el (window-min-height, window-min-width): Move here
16384 from window.c. Add defcustoms and rewrite doc-strings.
16385 (resize-mini-window, resize-window): New functions.
16386 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16387 Move here from window.c.
16388 (maximize-window, minimize-window): New functions.
16389 (delete-window, delete-other-windows, split-window): Move here
16390 from window.c.
16391 (window-split-min-size): New function.
16392 (split-window-keep-point): Mention split-window-above-each-other
16393 instead of split-window-vertically.
16394 (split-window-above-each-other, split-window-vertically):
16395 Rename split-window-vertically to split-window-above-each-other
16396 and provide defalias for old definition.
16397 (split-window-side-by-side, split-window-horizontally):
16398 Rename split-window-horizontally to split-window-side-by-side
16399 and provide defalias for the old definition.
16400 (ctl-x-map): Move bindings for delete-window,
16401 delete-other-windows and enlarge-window here from window.c.
16402 Replace bindings for split-window-vertically and
16403 split-window-horizontally by bindings for
16404 split-window-above-each-other and split-window-side-by-side.
16405
16406 * cus-start.el (all): Remove entries for window-min-height and
16407 window-min-width. Add entries for window-splits and
16408 window-nest.
16409
16410 2011-06-09 Glenn Morris <rgm@gnu.org>
16411
16412 * calendar/appt.el (appt-mode-line): New function.
16413 (appt-check, appt-disp-window): Use it.
16414
16415 * files.el (hack-one-local-variable-eval-safep):
16416 Allow minor-modes with explicit +/-1 arguments.
16417
16418 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16419
16420 * term/xterm.el (xterm): Add defgroup.
16421 (xterm-extra-capabilities): Add defcustom to supply known xterm
16422 capabilities, skip querying them, or query them (default).
16423 (terminal-init-xterm): Use it.
16424 (terminal-init-xterm-modify-other-keys): New function to set up
16425 modifyOtherKeys support to simplify `terminal-init-xterm'.
16426
16427 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16428
16429 * window.el (resize-window-reset, resize-window-reset-1)
16430 (resize-subwindows-skip-p, resize-subwindows-normal)
16431 (resize-subwindows, resize-other-windows, resize-this-window)
16432 (resize-root-window, resize-root-window-vertically)
16433 (window-deletable-p, window-or-subwindow-p)
16434 (frame-root-window-p): New functions.
16435
16436 2011-06-09 Glenn Morris <rgm@gnu.org>
16437
16438 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16439 (ange-ftp-get-files): Use it.
16440
16441 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16442
16443 * mail/sendmail.el (mail-recover-1, mail-recover):
16444 * files.el (recover-file, recover-session):
16445 Handle dired-listing-switches not being just a single short option.
16446
16447 2011-06-09 Glenn Morris <rgm@gnu.org>
16448
16449 * calendar/appt.el (appt-display-message, appt-disp-window):
16450 Handle lists of appointments.
16451
16452 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16453
16454 * window.el (one-window-p): Move down in code.
16455 Rewrite doc-string.
16456 (window-current-scroll-bars): Rewrite doc-string.
16457 Normalize live window argument.
16458 (walk-windows, get-window-with-predicate, count-windows):
16459 Rewrite doc-string. Use window-list-1.
16460 (window-in-direction-2, window-in-direction, get-mru-window):
16461 New functions.
16462
16463 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16464
16465 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16466 Doc fix (Bug#8713).
16467
16468 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16469
16470 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16471
16472 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16473
16474 * loadhist.el (unload-feature-special-hooks):
16475 Add `comint-output-filter-functions'.
16476
16477 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16478
16479 * calendar/appt.el (appt-check): Move some initializations into the let.
16480
16481 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16482
16483 * window.el (window-height): Defalias to window-total-height.
16484 (window-width): Defalias to window-body-width.
16485
16486 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16487
16488 * image-mode.el (image-toggle-animation): New command.
16489 (image-mode-map): Bind it to RET.
16490 (image-mode): Update message.
16491 (image-toggle-display-image): Avoid a spurious cache flush.
16492 (image-transform-rotation): Doc fix.
16493 (image-transform-properties): Return quickly in the normal case.
16494 (image-animate-loop): Rename from image-animate-max-time.
16495
16496 * image.el (image-animate-max-time): Move to image-mode.el.
16497 (create-animated-image): Remove unnecessary function.
16498 (image-animate): Rename from image-animate-start. New arg.
16499 (image-animate-stop): Remove; just use image-animate-timer.
16500 (image-animate-timer): Use car-safe.
16501 (image-animate-timeout): Rename argument.
16502
16503 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16504
16505 * window.el (get-lru-window, get-largest-window): Move here from
16506 window.c. Rename first argument to ALL-FRAMES.
16507 Rephrase doc-strings.
16508 (get-buffer-window-list): Rewrite using window-list-1.
16509 Rephrase doc-string.
16510 (window-safe-min-height, window-safe-min-width): New constants.
16511 (window-size-ignore, window-min-size, window-min-size-1)
16512 (window-sizable, window-sizable-p, window-size-fixed-1)
16513 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16514 (window-max-delta-1, window-max-delta, window-resizable)
16515 (window-resizable-p, window-total-height, window-total-width)
16516 (window-body-width): New functions.
16517 (window-full-height-p, window-full-width-p): Rewrite using
16518 window-total-size.
16519 (window-body-height): Rewrite using window-body-size.
16520
16521 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16522
16523 * window.el (window-right, window-left, window-child)
16524 (window-child-count, window-last-child, window-any-p)
16525 (normalize-live-buffer, normalize-live-frame)
16526 (normalize-any-window, normalize-live-window)
16527 (window-iso-combination-p, window-iso-combined-p)
16528 (window-iso-combinations)
16529 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16530 (windows-with-parameter, window-with-parameter)
16531 (window-atom-root, make-window-atom, window-atom-check-1)
16532 (window-atom-check, window-side-check, window-check):
16533 New functions.
16534 (ignore-window-parameters, window-sides, window-sides-vertical)
16535 (window-sides-slots): New variables.
16536 (window-size-fixed): Move down in code. Minor doc-string fix.
16537
16538 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16539
16540 * comint.el (comint-dynamic-complete-as-filename)
16541 (comint-dynamic-complete-filename): Correctly call
16542 completion-in-region.
16543
16544 2011-06-05 Deniz Dogan <deniz@dogan.se>
16545
16546 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16547 in last change.
16548
16549 2011-06-05 Deniz Dogan <deniz@dogan.se>
16550
16551 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16552 (rcirc): Use it to prompt for encryption.
16553
16554 2011-06-05 Roland Winkler <winkler@gnu.org>
16555
16556 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16557 (bibtex-search-entries): New command bound to C-c C-a.
16558 (bibtex-display-entries): New function.
16559
16560 2011-06-05 Roland Winkler <winkler@gnu.org>
16561
16562 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16563 (bibtex-insert-kill): After yanking insert newline if necessary.
16564 (bibtex-initialize): Call bibtex-string-files-init only once.
16565 (bibtex-mode): Do not call easy-menu-add.
16566 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16567 (bibtex-yank): Set arg properly if nil.
16568
16569 2011-06-05 Roland Winkler <winkler@gnu.org>
16570
16571 * textmodes/bibtex.el (bibtex-search-entry-globally):
16572 New variable.
16573 (bibtex-search-entry): Use it.
16574
16575 2011-06-05 Roland Winkler <winkler@gnu.org>
16576
16577 * textmodes/bibtex.el (bibtex-entry-format): New option
16578 sort-fields.
16579 (bibtex-format-entry, bibtex-reformat): Honor this option.
16580 (bibtex-parse-entry): Return fields in proper order.
16581
16582 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16583
16584 * doc-view.el (doc-view-remove-if): Move computation of result out
16585 of `dolist' to silence misleading lexical-binding warning.
16586
16587 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16588
16589 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16590 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16591
16592 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16593
16594 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16595 "SunOS 5.10".
16596
16597 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16598
16599 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16600 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16601 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16602 (tramp-parse-putty):
16603 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16604 (tramp-completion-function-alist-ssh)
16605 (tramp-completion-function-alist-telnet)
16606 (tramp-completion-function-alist-su)
16607 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16608 cookie.
16609
16610 * net/tramp-ftp.el:
16611 * net/tramp-sh.el:
16612 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16613 load "tramp.el" `tramp-set-completion-function'.
16614
16615 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16616
16617 * shell.el: Require and use pcomplete.
16618 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16619 (shell-completion-vars): Set pcomplete-default-completion-function.
16620
16621 2011-06-04 Deniz Dogan <deniz@dogan.se>
16622
16623 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16624 `memq' (Bug#8799).
16625
16626 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16627
16628 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16629
16630 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16631
16632 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16633 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16634 * vc/log-view.el (log-view-beginning-of-defun):
16635 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16636 (smerge-refine-forward, smerge-refine-chopup-region):
16637 Silence warning for unused `dotimes' counter variables.
16638
16639 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16640
16641 * net/tramp.el (tramp-with-progress-reporter): Rename from
16642 with-progress-reporter. Use `declare'.
16643 * net/tramp-smb.el:
16644 * net/tramp-sh.el:
16645 * net/tramp-gvfs.el: Update all uses.
16646
16647 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16648
16649 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16650 buffer isn't killed before making it current.
16651
16652 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16653
16654 Silence various byte-compiler warnings.
16655 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16656 `access-type' and new obsolescence format.
16657 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16658 new format.
16659 (byte-compile-check-variable): New `access-type' argument.
16660 Only warn if the access-type is obsolete.
16661 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16662 (byte-compile-variable-set): Adjust callers.
16663 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16664 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16665 setting it as obsolete.
16666 * simple.el (minibuffer-completing-symbol):
16667 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16668 access as obsolete.
16669 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16670 obsolete yet.
16671 * international/quail.el (quail-mouse-choose-completion): Remove unused
16672 code referring to obsolete var.
16673 (quail-choose-completion-string): Remove.
16674 * server.el (server-clients-with, server-kill-buffer-query-function)
16675 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16676 * proced.el (proced-send-signal):
16677 * emacs-lisp/lisp.el (lisp-complete-symbol):
16678 Replace completion-annotate-function with completion-extra-properties.
16679
16680 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16681
16682 * simple.el (goto-line): Use read-number.
16683 (overriding-map-is-bound): Remove.
16684 (saved-overriding-map): Change default.
16685 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16686 Take the map as argument.
16687 (universal-argument, negative-argument, digit-argument): Use it.
16688 (restore-overriding-map): Adjust.
16689 (do-auto-fill): Use fill-forward-paragraph.
16690 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16691
16692 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16693 (minibuffer-inactive-mode): New major mode.
16694 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16695 the *Messages* buffer" hack.
16696 (mouse-popup-menubar): Don't burp if the event is a normal key.
16697
16698 Miscellaneous tweaks.
16699 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16700 lexical scoping as in subr.el's dolist and dotimes.
16701 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16702 Silence compiler warning.
16703 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16704 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16705 * international/ccl.el (ccl-compile): Trivial simplification.
16706 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16707 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16708 `printflag' argument.
16709 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16710 Purecopy the whole obsolescence data.
16711
16712 2011-06-01 Leo Liu <sdl.web@gmail.com>
16713
16714 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16715 improve doc-string as suggested by Marco Pessotto
16716 <melmothx@gmail.com>.
16717 (rcirc-print): Fix last change.
16718
16719 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * minibuffer.el (complete-with-action): Return nil for the metadata and
16722 boundaries of non-functional tables.
16723 (completion-table-dynamic): Return nil for the metadata.
16724 (completion-table-with-terminator): Add default case, using
16725 complete-with-action.
16726 (completion--metadata): New function.
16727 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16728 to try and avoid pathological performance problems.
16729 (completion--embedded-envvar-table): Return `category' metadata.
16730
16731 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16732
16733 * subr.el (process-alive-p): New tiny convenience function.
16734
16735 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16738 content but also its previous major mode.
16739
16740 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16741
16742 * emacs-lisp/debug.el (debug): Restore the previous content of the
16743 *Backtrace* buffer when we exit with C-M-c.
16744
16745 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16746
16747 * minibuffer.el: Add metadata method to completion tables.
16748 (completion-category-overrides): New defcustom.
16749 (completion-metadata, completion--field-metadata)
16750 (completion-metadata-get, completion--styles)
16751 (completion--cycle-threshold): New functions.
16752 (completion-try-completion, completion-all-completions):
16753 Add `metadata' argument to choose completion-styles.
16754 (completion--do-completion): Use metadata to choose cycling.
16755 (completion-all-sorted-completions): Use metadata for sorting.
16756 Remove :completion-cycle-penalty which is not needed any more.
16757 (completion--try-word-completion): Add `metadata' argument.
16758 (minibuffer-completion-help): Check metadata for annotation function
16759 and sorting.
16760 (completion-file-name-table): Return `category' metadata.
16761 (minibuffer-completing-file-name): Make obsolete.
16762 * simple.el (minibuffer-completing-symbol): Make obsolete.
16763 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16764 completion-try-completion.
16765
16766 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16769
16770 2011-05-30 Leo Liu <sdl.web@gmail.com>
16771
16772 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16773 (rcirc-print): Decode all incoming messages (bug#8744).
16774 (rcirc-decode-coding-system): Allow value nil for automatic coding
16775 system detection.
16776
16777 2011-06-01 Glenn Morris <rgm@gnu.org>
16778
16779 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16780
16781 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16782
16783 * image.el (image-animate-max-time): Allow nil and t values.
16784 Default to nil.
16785 (create-animated-image): Doc fix.
16786 (image-animate-start): Remove second arg; just use
16787 image-animate-max-time.
16788 (image-animate-timeout): Doc fix. Args changed.
16789
16790 * image-mode.el (image-toggle-display-image): Ensure that the
16791 image spec passed to the animate timer is the same object as in
16792 the buffer's display property (Bug#6981).
16793 (image-transform-properties): Doc fix.
16794
16795 * image.el (image-animate-max-time): Default to nil.
16796
16797 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16798
16799 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16800 entire buffer list (Bug#8184).
16801
16802 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16803
16804 * image.el (imagemagick-types-inhibit)
16805 (imagemagick-register-types): Doc fix.
16806
16807 2011-05-29 Deniz Dogan <deniz@dogan.se>
16808
16809 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16810 default.
16811
16812 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16813
16814 * select.el: Don't perform clipboard-manager saving in hooks;
16815 leave the hooks empty.
16816
16817 2011-05-28 Leo Liu <sdl.web@gmail.com>
16818
16819 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16820 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16821 (occur-edit-mode): New major mode (Bug#8463).
16822 (occur-after-change-function): New function.
16823 (occur-engine): Give Occur tags a read-only property.
16824
16825 2011-05-28 Kevin Ryde <user42@zip.com.au>
16826
16827 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16828
16829 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16830
16831 * bindings.el (help-echo): Make the initial non-indicator dash
16832 empty on graphical terminals (Bug#7295).
16833
16834 * files.el (auto-mode-alist): Move config rule after the
16835 in-stripping one (Bug#8547).
16836
16837 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16838
16839 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16840 setting (Bug#8740).
16841
16842 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16843
16844 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16845 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16846 (Bug#8539).
16847
16848 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16849
16850 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16851
16852 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16853
16854 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16855 (hs-hide-block-at-point, hs-find-block-beginning)
16856 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16857 (Bug#8279).
16858
16859 2011-05-28 Glenn Morris <rgm@gnu.org>
16860
16861 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16862
16863 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16864
16865 * help-fns.el (describe-function-1): If the function is a derived
16866 major mode, print the parent mode.
16867
16868 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16869 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16870
16871 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16872
16873 * minibuffer.el (completion--capf-wrapper): Check applicability before
16874 returning non-nil for non-exclusive completion data.
16875 * progmodes/etags.el (tags-completion-at-point-function):
16876 * info-look.el (info-lookup-completions-at-point): Mark as
16877 non-exclusive.
16878 (info-complete): Adjust accordingly.
16879
16880 * info-look.el: Convert to lexical-binding and completion-at-point.
16881 (info-lookup-completions-at-point): New function.
16882 (info-complete): Use it and completion-in-region.
16883
16884 2011-05-28 Drew Adams <drew.adams@oracle.com>
16885
16886 * isearch.el: Let M-e start with point at the first mismatched char.
16887 (isearch-fail-pos): New function.
16888 (isearch-edit-string): Use it.
16889
16890 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16891
16892 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16893
16894 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16895
16896 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16897 traversal functions for avl-trees.
16898 (avl-tree--stack): New struct.
16899 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16900 (avl-tree-enter): Add optional `updatefun' arg.
16901 (avl-tree--do-enter): Add optional `updatefun' arg.
16902 Change return value.
16903 (avl-tree-delete): Add optional `test' and `nilflag' args.
16904 (avl-tree--do-delete): Add `test' and `nilflag' args.
16905 Change return value.
16906 (avl-tree-member): Add optional `nilflag'
16907 (avl-tree-member-p): New function.
16908 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16909 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16910 (avl-tree-stack-empty-p): New functions.
16911
16912 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16913 avl-tree--del-balance1 and make it work both ways.
16914 (avl-tree--del-balance2): Remove.
16915 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16916 make it work both ways.
16917 (avl-tree--enter-balance2): Remove.
16918 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16919 New macros.
16920 (avl-tree--mapc, avl-tree-map): Add direction argument.
16921
16922 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16923
16924 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16925
16926 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16927
16928 * select.el: Support clipboard managers with built-in function
16929 x-clipboard-manager-save, via delete-frame-functions and
16930 kill-emacs-hook.
16931 (xselect-convert-to-targets): Add MULTIPLE target to list.
16932 (xselect-convert-to-save-targets): New function.
16933
16934 2011-05-27 Kenichi Handa <handa@m17n.org>
16935
16936 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16937 let-binding rfc2047-encode-encoded-words to nil.
16938
16939 2011-05-27 Glenn Morris <rgm@gnu.org>
16940
16941 * mail/emacsbug.el: Don't require url-util.
16942
16943 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16944
16945 * files.el (set-auto-mode):
16946 Also respect mode: entries at the end of the file. (Bug#8586)
16947
16948 2011-05-26 Glenn Morris <rgm@gnu.org>
16949
16950 * files.el (hack-local-variables-prop-line, hack-local-variables):
16951 Downcase mode names, as seems to be traditional.
16952 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16953
16954 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16955 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16956
16957 2011-05-25 Julien Danjou <julien@danjou.info>
16958
16959 * textmodes/rst.el (rst-define-level-faces): Do not define face
16960 symbol if it is already defined.
16961
16962 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16963
16964 * play/5x5.el (5x5-new-game, 5x5-randomize):
16965 Reset 5x5-solver-output to nil when a new grid is cast.
16966 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16967 these debugging traces, as defmacro breaks the compiled code.
16968
16969 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16970
16971 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16972
16973 2011-05-24 Leo Liu <sdl.web@gmail.com>
16974
16975 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16976 (vc-bzr-sha1): Adapt.
16977
16978 * sha1.el: Remove. Function `sha1' is now builtin.
16979
16980 * bindings.el: Provide sha1 feature.
16981
16982 2011-05-24 Kenichi Handa <handa@m17n.org>
16983
16984 * mail/sendmail.el: Require `rfc2047'.
16985 (mail-insert-from-field): Do not perform RFC2047 encoding.
16986 (mail-encode-header): New function.
16987 (sendmail-send-it): Set buffer-file-coding-system of the work
16988 buffer to the return value of select-message-coding-system.
16989 Call mail-encode-header.
16990
16991 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16992
16993 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16994
16995 * mail/supercite.el (sc-default-cite-frame):
16996 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16997
16998 2011-05-24 Glenn Morris <rgm@gnu.org>
16999
17000 * progmodes/python.el (brm-menu): Declare.
17001
17002 * emulation/viper.el (viper-set-hooks): Declare.
17003
17004 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17005 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17006 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17007 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17008 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17009 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17010
17011 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17012
17013 Add an :exit-function for completion-at-point.
17014
17015 * minibuffer.el (completion--done): New fun.
17016 (completion--do-completion): Use it. New arg `expect-exact'.
17017 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17018 since completion--do-completion does it for us now.
17019 (minibuffer-force-complete): Use completion--done and
17020 completion--replace. Handle sole-completion case with more care.
17021 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17022 (completion-extra-properties): New var.
17023 (completion-annotate-function): Make obsolete.
17024 (minibuffer-completion-help): Adjust accordingly.
17025 Use completion-list-insert-choice-function.
17026 (completion-at-point, completion-help-at-point):
17027 Bind completion-extra-properties.
17028 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17029 * simple.el (completion-list-insert-choice-function): New var.
17030 (completion-setup-function): Preserve it.
17031 (choose-completion): Pay attention to it, shuffle the code a bit.
17032 (choose-completion-string): New arg `insert-function'.
17033
17034 * textmodes/bibtex.el: Convert to lexical binding.
17035 (bibtex-mode-map): Use completion-at-point.
17036 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17037 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17038 (bibtex-complete): Define as obsolete alias.
17039 (bibtex-complete-internal): Remove.
17040 (bibtex-format-entry): Remove unused sub-group in regexp.
17041 * shell.el (shell--command-completion-data)
17042 (shell-environment-variable-completion):
17043 * pcomplete.el (pcomplete-completions-at-point):
17044 * comint.el (comint--complete-file-name-data): Use :exit-function
17045 instead of completion-table-with-terminator so it also works for
17046 choose-completion.
17047
17048 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17051
17052 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17053 (bug#8710).
17054
17055 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17056
17057 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17058
17059 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17060 customization variable and implement: If non-nil, auto-fill will
17061 be inhibited while on topic's header line.
17062
17063 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17064
17065 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17066 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17067 always have a solution in grid size = 5 cases.
17068 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17069 (5x5-solver-output, 5x5-log-buffer): New vars.
17070 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17071 Make these variables buffer local to achieve 5x5 multi-session-ness.
17072 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17073 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17074 (5x5-solve-suggest): New funs.
17075 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17076 randomize a grid so that we ensure that there is always a solution.
17077 (5x5-make-random-grid): Allow other movement than flipping.
17078
17079 2011-05-23 Kevin Ryde <user42@zip.com.au>
17080
17081 * emacs-lisp/advice.el (ad-read-advised-function):
17082 Use `function-called-at-point' as the default, if it has
17083 advice and passes PREDICATE.
17084
17085 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17086
17087 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17088 byte-compile-lambda if it's actually a lambda.
17089
17090 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17091 Fix function quoting. Use backquote better.
17092
17093 2011-05-22 Yuanle Song <sylecn@gmail.com>
17094
17095 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17096 matching (Bug#8516).
17097
17098 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17099
17100 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17101 different face (Bug#8178).
17102
17103 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17104
17105 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17106 defface (Bug#8144).
17107
17108 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17109
17110 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17111 funcall as well (bug#8712). Warn when performing those conversions.
17112 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17113
17114 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17115
17116 2011-05-22 Glenn Morris <rgm@gnu.org>
17117
17118 * files.el (hack-local-variables-prop-line): Small simplifications.
17119 (hack-local-variables, hack-local-variables-prop-line):
17120 If MODE-ONLY, return the mode, rather than just `t'.
17121
17122 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17123
17124 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17125
17126 2011-05-21 Glenn Morris <rgm@gnu.org>
17127
17128 * files.el (hack-local-variables-prop-line, hack-local-variables):
17129 If only interested in the mode, don't bother doing the other stuff.
17130
17131 * image-mode.el (image-after-revert-hook):
17132 Redraw all frames on which the image is visible. (Bug#8567)
17133
17134 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17135
17136 * wid-edit.el (widget-checklist-match-inline):
17137 Fix 2011-04-19 change. (Bug#8649)
17138
17139 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17140
17141 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17142 Also allow singlespace after single-letter capitals followed by a dot.
17143
17144 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17145 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17146
17147 2011-05-20 Nix <nix@esperi.org.uk>
17148
17149 * files.el (basic-save-buffer-2):
17150 Fix handling of break-hardlink-on-save with non-existent files.
17151
17152 2011-05-19 Deniz Dogan <deniz@dogan.se>
17153
17154 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17155 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17156
17157 2011-05-19 Glenn Morris <rgm@gnu.org>
17158
17159 * progmodes/f90.el (f90-type-def-re):
17160 Handle "type, bind(c)". (Bug#8691)
17161
17162 * emacs-lisp/autoload.el (batch-update-autoloads):
17163 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17164
17165 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17166
17167 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17168 property for the correct connection in case of multihops.
17169
17170 2011-05-18 Glenn Morris <rgm@gnu.org>
17171
17172 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17173 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17174
17175 Rationalize calendar handling of day and month abbrev-arrays.
17176 * calendar/calendar.el (calendar-customized-p): New function.
17177 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17178 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17179 Add :set function.
17180 (calendar-abbrev-length, calendar-day-abbrev-array)
17181 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17182 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17183 Elements may no longer be nil.
17184 (calendar-day-name, calendar-month-name):
17185 Update for changed nature of abbrev arrays.
17186 * calendar/diary-lib.el (diary-name-pattern):
17187 Update for changed nature of abbrev arrays.
17188 (diary-mark-entries-1): Update calendar-make-alist calls.
17189 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17190 * calendar/cal-html.el (cal-html-day-abbrev-array):
17191 Simply inherit from calendar-day-abbrev-array.
17192
17193 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17194
17195 * progmodes/grep.el (grep-mode): Disable default
17196 compilation-directory-matcher setting (bug#8684).
17197
17198 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17199
17200 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17201 instead of "head" and "tail". There were problems with SunOS 5.9,
17202 and it performs better.
17203
17204 2011-05-17 Glenn Morris <rgm@gnu.org>
17205
17206 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17207
17208 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17209 Replace obsolete function.
17210
17211 * shell.el (pcomplete-parse-arguments-function): Declare.
17212
17213 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17214 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17215 (appt-check): Doc fixes.
17216 (appt-disp-window-function, appt-delete-window-function):
17217 Remove needless special case in custom :type.
17218 (appt-display-count): Default to 0, not nil.
17219 (appt-check): Reset appt-display-count to 0, not nil.
17220
17221 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17222
17223 * progmodes/python.el (python-font-lock-keywords):
17224 Add the Python 3.X keyword "nonlocal" (bug#8639).
17225
17226 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17227
17228 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17229
17230 2011-05-16 Kevin Ryde <user42@zip.com.au>
17231
17232 * info-look.el (makefile-automake-mode): New setups, looking in
17233 automake manual, then makefile-mode.
17234 (makefile-mode): Remove automake manual, have it just in
17235 makefile-automake-mode since there's various things different or
17236 not relevant to plain make.
17237 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17238 believe a hypothetical automake-mode would go to makefile-mode,
17239 not the other way around.
17240
17241 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17242
17243 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17244 hunk-end tags (Bug#8672).
17245
17246 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17247 vc-annotate-show-diff-revision-at-line (Bug#8671).
17248
17249 2011-05-14 Glenn Morris <rgm@gnu.org>
17250
17251 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17252 in the middle of an existing one with multiple authors. (Bug#8645)
17253 (change-log-font-lock-keywords): Also handle multiple author lines
17254 with leading tabs. (Bug#8644)
17255
17256 * calendar/appt.el (appt-check): Rename some local variables.
17257 Some simplification/reordering.
17258
17259 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17260 (feedmail-sendmail-f-doesnt-sell-me-out)
17261 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17262 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17263 (feedmail-queue-runner-message-sender): Set :version.
17264 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17265 (bbdb-dwim-net-address, vm-mail): Declare.
17266 (feedmail-binmail-gnulinuxish-template):
17267 Rename from feedmail-binmail-linuxish-template.
17268 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17269 Use insert-buffer-substring.
17270
17271 2011-05-14 Bill Carpenter <bill@carpenter.org>
17272
17273 * mail/feedmail.el (feedmail-patch-level): Increase.
17274 (feedmail-debug): New custom group.
17275 (feedmail-confirm-outgoing-timeout)
17276 (feedmail-sendmail-f-doesnt-sell-me-out)
17277 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17278 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17279 (feedmail-sender-line, feedmail-from-line)
17280 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17281 (feedmail-spray-this-address)
17282 (feedmail-spray-address-fiddle-plex-list)
17283 (feedmail-queue-use-send-time-for-date)
17284 (feedmail-queue-use-send-time-for-message-id)
17285 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17286 (feedmail-buffer-eating-function):
17287 Doc fixes.
17288 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17289 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17290 (feedmail-message-action-scroll-down): New functions.
17291 (feedmail-queue-directory, feedmail-queue-draft-directory):
17292 Use expand-file-name.
17293 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17294 Remove C-v help entry.
17295 (feedmail-queue-buffer-file-name): New variable.
17296 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17297 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17298 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17299 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17300 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17301 (feedmail-message-action-toggle-spray)
17302 (feedmail-run-the-queue-no-prompts)
17303 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17304 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17305 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17306 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17307 (feedmail-envelope-deducer, feedmail-fiddle-from)
17308 (feedmail-fiddle-sender, feedmail-default-date-generator)
17309 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17310 (feedmail-fiddle-spray-address)
17311 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17312 (feedmail-fiddle-list-of-fiddle-plexes)
17313 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17314 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17315 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17316 Change default. Doc fix.
17317 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17318 (feedmail-binmail-linuxish-template): New constant.
17319 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17320 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17321 (feedmail-send-it): Add debug call.
17322 Use feedmail-queue-buffer-file-name, and
17323 feedmail-send-it-immediately-wrapper.
17324 (feedmail-message-action-send): Add debug call.
17325 Use feedmail-send-it-immediately-wrapper.
17326 (feedmail-queue-express-to-queue): Add debug call.
17327 Run feedmail-queue-express-hook.
17328 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17329 (feedmail-message-action-help-blat):
17330 Rename from feedmail-queue-send-edit-prompt-help-first.
17331 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17332 Check line-endings. Handle errors better.
17333 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17334 Doc fix. Add debug call.
17335 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17336 Use feedmail-queue-send-edit-prompt-inner.
17337 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17338 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17339 from feedmail-queue-send-edit-prompt.
17340 (feedmail-queue-send-edit-prompt-help)
17341 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17342 (feedmail-tidy-up-slug): Add debug call.
17343 Respect feedmail-queue-slug-suspect-regexp.
17344 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17345 (feedmail-dump-message-to-queue): Add debug call.
17346 Expand queue-directory.
17347 (feedmail-dump-message-to-queue): Change message slightly.
17348 Use feedmail-say-chatter.
17349 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17350 (feedmail-send-it-immediately-wrapper): New function.
17351 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17352 Insert empty string rather than newline. Handle full-frame case.
17353 Use catch/throw. Use feedmail-say-chatter.
17354 (feedmail-fiddle-from): Try mail-host-address.
17355 (feedmail-default-message-id-generator): Doc fix.
17356 Bind system-time-locale. Handle missing end.
17357 (feedmail-fiddle-x-mailer): Add debug call.
17358 Handle feedmail-x-mailer-line being nil.
17359 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17360 Add debug call. Use buffer-substring-no-properties.
17361 (feedmail-say-debug, feedmail-say-chatter): New functions.
17362 (feedmail-find-eoh): Give an explicit error.
17363
17364 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17365
17366 * net/newst-treeview.el (newsticker-treeview-face): Change default
17367 family from helvetica to sans.
17368 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17369 etc/images/newsticker.
17370
17371 * net/newst-reader.el (newsticker-feed-face): Change default
17372 family from helvetica to sans.
17373
17374 * net/newst-plainview.el (newsticker-new-item-face)
17375 (newsticker-old-item-face, newsticker-immortal-item-face)
17376 (newsticker-obsolete-item-face, newsticker-date-face)
17377 (newsticker-statistics-face): Change default family from
17378 helvetica to sans.
17379 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17380 etc/images/newsticker.
17381
17382 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17383 (newsticker--process-auto-mark-filter-match): Tell user about
17384 auto-marking.
17385
17386 2011-05-13 Didier Verna <didier@xemacs.org>
17387
17388 Common Lisp indentation improvements on defmethod and lambda-lists.
17389 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17390 TODO entries.
17391 (lisp-lambda-list-keyword-parameter-indentation)
17392 (lisp-lambda-list-keyword-parameter-alignment)
17393 (lisp-lambda-list-keyword-alignment): New customizable user options.
17394 (lisp-indent-defun-method): Improve docstring.
17395 (extended-loop-p): Fix comment.
17396 (lisp-indent-lambda-list-keywords-regexp): New variable.
17397 (lisp-indent-lambda-list): New function.
17398 (lisp-indent-259): Use it.
17399 (lisp-indent-defmethod): Support for more than one
17400 method qualifier and properly indent methods lambda-lists.
17401 (defgeneric): Provide a missing common-lisp-indent-function property.
17402
17403 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17404
17405 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17406 bounds for the empty string (bug#8667).
17407
17408 2011-05-13 Glenn Morris <rgm@gnu.org>
17409
17410 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17411
17412 * mail/sendmail.el (sendmail-program): Try executable-find first.
17413 (sendmail-send-it): `sendmail-program' cannot be unbound.
17414
17415 * calendar/appt.el (appt-make-list): Simplify.
17416 (appt-time-msg-list): Doc fix.
17417 (appt-check): Change mode-line message at the time of the appointment.
17418
17419 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17420
17421 * progmodes/ld-script.el (ld-script-keywords)
17422 (ld-script-builtins): Update keywords list.
17423
17424 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17425
17426 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17427
17428 * shell.el (shell-completion-vars): New function.
17429 (shell-mode):
17430 * simple.el (read-shell-command): Use it.
17431 (blink-matching-open): No need for " [...]" in minibuffer-message.
17432
17433 2011-05-12 Glenn Morris <rgm@gnu.org>
17434
17435 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17436 (appt-check): Simplify.
17437
17438 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17439
17440 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17441 literal "/dev/null".
17442
17443 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17446 Fix typo.
17447
17448 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17449
17450 * progmodes/which-func.el (which-function):
17451 Use add-log-current-defun instead of add-log-current-defun-function,
17452 which might not be defined (Bug#8260).
17453
17454 2011-05-12 Glenn Morris <rgm@gnu.org>
17455
17456 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17457 Let byte-compile-initial-macro-environment always take precedence.
17458
17459 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17460
17461 * net/rcirc.el: Add support for SSL/TLS connections.
17462 (rcirc-server-alist): New field `encryption'.
17463 (rcirc): Check `encryption' settings.
17464 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17465 Merge make-local-variable into `set'.
17466 (rcirc--connection-open-p): New function.
17467 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17468 the process is not a network process (e.g. running gnutls-cli).
17469 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17470 Make rcirc-(en|de)code-coding-system local here.
17471 (rcirc-mode): Merge make-local-variable into `set'.
17472 (rcirc-parent-buffer): Make permanent buffer-local.
17473 (rcirc-multiline-minor-mode): Don't do it here.
17474 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17475 there's no server buffer.
17476
17477 2011-05-11 Glenn Morris <rgm@gnu.org>
17478
17479 * newcomment.el (comment-kill): Prefix "unused" local.
17480
17481 * term/w32console.el (get-screen-color): Declare.
17482
17483 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17484 Handle symbol elements of byte-compile-initial-macro-environment.
17485
17486 2011-05-10 Leo Liu <sdl.web@gmail.com>
17487
17488 * bookmark.el (bookmark-bmenu-mode-map):
17489 Bind bookmark-bmenu-search to `/'.
17490
17491 * mail/footnote.el: Convert to utf-8 encoding.
17492 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17493 (Footnote-unicode): New function.
17494 (footnote-style-alist): Add unicode style to the list.
17495 (footnote-style): Doc fix.
17496
17497 2011-05-10 Jim Meyering <meyering@redhat.com>
17498
17499 Fix doubled-word typos.
17500 * international/quail.el (quail-insert-kbd-layout): and and -> and
17501 * kermit.el: and and -> and
17502 * net/ldap.el (ldap-search-internal): to to -> to
17503 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17504 * progmodes/js.el (js-mode): and and -> and
17505 * textmodes/artist.el (artist-move-to-xy): at at -> at
17506 (artist-draw-region-trim-line-endings): if if -> if
17507 And Safetyc -> Safety.
17508 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17509
17510 2011-05-10 Glenn Morris <rgm@gnu.org>
17511 Stefan Monnier <monnier@iro.umontreal.ca>
17512
17513 * files.el (hack-one-local-variable-eval-safep):
17514 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17515
17516 2011-05-10 Glenn Morris <rgm@gnu.org>
17517
17518 * calendar/diary-lib.el (diary-list-entries-hook)
17519 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17520 (diary-nongregorian-marking-hook, diary-list-entries)
17521 (diary-include-other-diary-files, diary-mark-entries)
17522 (diary-mark-included-diary-files): Doc fixes.
17523
17524 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17525
17526 * misc.el: Require tabulated-list.el during compilation.
17527
17528 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17529
17530 * progmodes/compile.el (compilation-start):
17531 Run compilation-filter-hook for the async case too.
17532 (compilation-filter-hook): Doc fix.
17533
17534 2011-05-09 Deniz Dogan <deniz@dogan.se>
17535
17536 * wdired.el: Remove outdated installation comment. Fix usage
17537 comment.
17538
17539 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17540
17541 * misc.el: Implement new command `list-dynamic-libraries'.
17542 (list-dynamic-libraries--loaded-only-p): New variable.
17543 (list-dynamic-libraries--refresh): New function.
17544 (list-dynamic-libraries): New command.
17545
17546 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17547
17548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17549 Fix the ant regexp to handle end-line and end-column info from jikes.
17550 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17551 higher priority to avoid clobbering by gnu.
17552
17553 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17554
17555 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17556 if the face has existing theme settings (Bug#8454).
17557
17558 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17559
17560 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17561 Only match variables declared via `my' or `our' (Bug#8261).
17562
17563 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17564 special file names `.' and `..' (Bug#8259).
17565
17566 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17567
17568 * progmodes/grep.el (grep-mode-font-lock-keywords):
17569 Remove buffer-changing entries.
17570 (grep-filter): New function.
17571 (grep-mode): Add it to compilation-filter-hook.
17572
17573 * progmodes/compile.el (compilation-filter-hook)
17574 (compilation-filter-start): New defvars.
17575 (compilation-filter): Call compilation-filter-hook prior to
17576 updating the process mark.
17577
17578 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17579
17580 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17581
17582 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17583
17584 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17585 mailclient-send-it even if window-system is nil. (Bug#8595)
17586
17587 * term/w32console.el (terminal-init-w32console):
17588 Call get-screen-color and use its output to set the frame
17589 background-mode. (Bug#8597)
17590
17591 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17592
17593 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17594 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17595 New functions.
17596 (defgeneric, eieio--defmethod): Use them.
17597 (eieio-defgeneric): Remove.
17598 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17599
17600 2011-05-07 Glenn Morris <rgm@gnu.org>
17601
17602 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17603 Use let rather than let*.
17604 (timeclock-find-discrep): Remove unused local.
17605
17606 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17607
17608 * calendar/appt.el (appt-time-msg-list): Doc fix.
17609
17610 2011-05-06 Noah Friedman <friedman@splode.com>
17611
17612 * apropos.el (apropos-print-doc): Only use
17613 emacs-lisp-docstring-fill-column when it is bound to an integer,
17614 per that variable's documentation.
17615
17616 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17619 and warnings are not silently discarded (e.g. use -d instead of -P).
17620
17621 2011-05-06 Glenn Morris <rgm@gnu.org>
17622
17623 * calendar/appt.el (appt-message-warning-time): Doc fix.
17624 (appt-warning-time-regexp): New option.
17625 (appt-make-list): Respect appt-message-warning-time.
17626
17627 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17628 New options.
17629 (diary-add-to-list): Strip comments from the displayed string.
17630 (diary-mode): Set comment-start and comment-end.
17631
17632 * vc/diff-mode.el (smerge-refine-subst): Declare.
17633 (diff-refine-hunk): Don't require smerge-mode when compiling.
17634
17635 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17636
17637 * simple.el (list-processes): Return nil as the docstring says.
17638
17639 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17640
17641 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17642 to "".
17643 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17644 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17645 determining of binary transfer. (Bug#7383)
17646
17647 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17648
17649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17650 Fix port computation bug. (Bug#8618)
17651
17652 2011-05-05 Glenn Morris <rgm@gnu.org>
17653
17654 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17655
17656 * simple.el (shell-dynamic-complete-functions)
17657 (comint-dynamic-complete-functions): Declare.
17658
17659 * net/network-stream.el (gnutls-negotiate):
17660 * simple.el (tabulated-list-print): Fix declarations.
17661
17662 * progmodes/gud.el (syntax-symbol, syntax-point):
17663 Remove unnecessary and incorrect declarations.
17664
17665 * emacs-lisp/check-declare.el (check-declare-scan):
17666 Handle byte-compile-initial-macro-environment in bytecomp.el
17667
17668 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17669
17670 Fix earlier half-done eieio-defmethod change (bug#8338).
17671 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17672 Streamline and change calling convention.
17673 (defmethod): Adjust accordingly and simplify.
17674 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17675 new eieio--defmethod.
17676 (slot-boundp): Minor CSE simplification.
17677
17678 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17679
17680 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17681 (glasses-make-readable): Use glasses-separate-capital-groups.
17682
17683 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17684
17685 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17686 (warning-series): Doc fix.
17687 (display-warning): Don't try to create the buffer if we just found it.
17688
17689 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17690
17691 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17692 (autoload-find-generated-file): New function.
17693 (generate-file-autoloads): Bind generated-autoload-file to
17694 buffer-file-name.
17695 (update-file-autoloads, update-directory-autoloads):
17696 Use autoload-find-generated-file. If called interactively, prompt for
17697 output file (Bug#7989).
17698 (batch-update-autoloads): Doc fix.
17699
17700 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17701
17702 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17703
17704 2011-05-04 Glenn Morris <rgm@gnu.org>
17705
17706 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17707 function, so it follows changes in calendar-date-style.
17708 (diary-fancy-date-matcher): New function.
17709 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17710 (diary-fancy-font-lock-fontify-region-function):
17711 Use diary-fancy-date-pattern as a function.
17712
17713 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17714 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17715
17716 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17717
17718 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17719 instead of positional arguments. Allow :keylist and :crlfiles
17720 arguments.
17721 (open-gnutls-stream): Call it.
17722
17723 * net/network-stream.el (network-stream-open-starttls): Adjust to
17724 call `gnutls-negotiate' with :process and :hostname arguments.
17725
17726 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17727
17728 * minibuffer.el (completion--message): New function.
17729 (completion--do-completion, minibuffer-complete)
17730 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17731 (completion--do-completion): Don't ignore completion-auto-help when in
17732 icomplete-mode.
17733
17734 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17735 internal encoding (e.g. tibetan zero is not whitespace).
17736 (global-whitespace-mode): Prefer save-current-buffer.
17737 (whitespace-trailing-regexp): Remove useless save-match-data.
17738 (whitespace-empty-at-bob-regexp): Minor simplification.
17739
17740 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17741
17742 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17743
17744 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17745
17746 * textmodes/ispell.el (ispell-add-per-file-word-list):
17747 Use `concat' to create string for insertion.
17748
17749 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17750
17751 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17752 Avoid open-line which runs post-self-insert-hook.
17753 (bibtex-fill-entry): Remove unused `end' var.
17754
17755 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17756
17757 * textmodes/ispell.el (ispell-add-per-file-word-list):
17758 Protect against `nil' value of `comment-start' (Bug#8579).
17759
17760 2011-05-03 Leo Liu <sdl.web@gmail.com>
17761
17762 * isearch.el (isearch-yank-pop): New command.
17763 (isearch-mode-map): Bind it to `M-y'.
17764 (isearch-forward): Mention it.
17765
17766 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17767
17768 * simple.el (minibuffer-complete-shell-command): Remove.
17769 (minibuffer-local-shell-command-map): Use completion-at-point.
17770 (read-shell-command): Setup completion vars here instead.
17771 (read-expression-map): Bind TAB to symbol completion.
17772
17773 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17774 error directly rather via storing it into `results'.
17775
17776 2011-05-02 Leo Liu <sdl.web@gmail.com>
17777
17778 * vc/diff.el: Fix description.
17779
17780 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17781
17782 * server.el (server-eval-at): New function.
17783
17784 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17785
17786 * net/network-stream.el (open-network-stream): Take a :nowait
17787 parameter and pass it on to `make-network-process'.
17788 (network-stream-open-plain): Ditto.
17789
17790 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17791
17792 * faces.el (face-spec-set-match-display): Don't match toolkit
17793 options on terminal frames.
17794
17795 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17796
17797 * progmodes/pascal.el: Use lexical binding.
17798 (pascal-mode-map): Remove author preferences.
17799
17800 * pcomplete.el (pcomplete-std-complete): Don't abuse
17801 completion-at-point.
17802
17803 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17804
17805 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17806 removing code that has been dead since 1991 or so.
17807
17808 * startup.el (command-line): When warning about "_emacs", use a
17809 delayed warning to allow the user to filter it out.
17810
17811 2011-04-28 Deniz Dogan <deniz@dogan.se>
17812
17813 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17814 user has not joined.
17815
17816 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17817
17818 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17819 aren't any completions at point.
17820
17821 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17822
17823 * subr.el (display-delayed-warnings): New function.
17824 (delayed-warnings-hook): New variable.
17825
17826 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * minibuffer.el (completion-at-point, completion-help-at-point):
17829 Don't presume that a given completion-at-point-function will always
17830 use the same calling convention.
17831
17832 * pcomplete.el (pcomplete-completions-at-point):
17833 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17834 pcomplete-seen is non-nil.
17835 (pcomplete-comint-setup): Also recognize the new comint/shell
17836 completion functions.
17837 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17838 pcomplete-seen is non-nil.
17839
17840 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17841
17842 * calendar/icalendar.el (diary-lib): Add require statement.
17843 (icalendar--create-uid): Read out a uid from a text-property on
17844 the first character in the entry. This allows for code to add its
17845 own uid to the entry.
17846 (icalendar--convert-float-to-ical): Add export of
17847 `diary-float'-entries save for those with the optional DAY
17848 argument.
17849
17850 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17851
17852 * subr.el (shell-quote-argument): Use alternate escaping strategy
17853 when we spot a variable reference in a string.
17854
17855 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17856
17857 * cus-start.el (all): Define customization for debug-on-event.
17858
17859 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17860
17861 * subr.el (shell-quote-argument): Escape correctly under Windows.
17862
17863 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17864
17865 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17866
17867 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17868
17869 * net/tramp.el (tramp-process-actions): Add POS argument.
17870 Delete region between POS and (pos).
17871
17872 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17873 Use `nil' position in `tramp-process-actions' call.
17874 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17875
17876 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17877 position in `tramp-process-actions' call.
17878
17879 * net/trampver.el: Update release number.
17880
17881 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * custom.el (defcustom): Obey lexical-binding.
17884
17885 Fix octave-inf completion problems reported by Alexander Klimov.
17886 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17887 Inherit from octave-mode-syntax-table.
17888 (inferior-octave-mode): Set info-lookup-mode.
17889 (inferior-octave-completion-at-point): New function.
17890 (inferior-octave-complete): Use it and completion-in-region.
17891 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17892 comint-filename-completion.
17893 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17894 symbol elements which shouldn't be word elements.
17895 (octave-font-lock-keywords, octave-beginning-of-defun)
17896 (octave-function-header-regexp): Adjust regexps accordingly.
17897 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17898
17899 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17900
17901 * net/gnutls.el (gnutls-errorp): Declare before first use.
17902
17903 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17904
17905 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17906 verify-error, and verify-hostname-error parameters. Check whether
17907 default trustfile exists before going to use it. Add missing
17908 argument to gnutls-message-maybe call. Return value.
17909 Reported by Claudio Bley <claudio.bley@gmail.com>.
17910 (open-gnutls-stream): Add usage example.
17911
17912 * net/network-stream.el (network-stream-open-starttls): Give host
17913 parameter to `gnutls-negotiate'.
17914 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17915 * subr.el (shell-quote-argument): Escape correctly under Windows.
17916
17917 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17918
17919 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17920 Use correct match group (bug#8438).
17921
17922 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17923
17924 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17925 (package-menu--generate): New arg specifying packages to show.
17926 (package-menu-refresh, package-menu-execute, list-packages):
17927 Callers changed.
17928 (package-show-package-list): New function, replacing deleted
17929 package--list-packages (renamed because it is non-internal).
17930
17931 * finder.el (finder-list-matches): Use package-show-package-list
17932 instead of deleted package--list-packages.
17933
17934 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17935 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17936 (vc-annotate-mode-map): Bind it to RET.
17937
17938 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17939
17940 * progmodes/etags.el (next-file): Don't use set-buffer to change
17941 buffers (Bug#8478).
17942
17943 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17944
17945 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17946
17947 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17948 (apropos-accumulator): Doc fix.
17949 (apropos-function, apropos-macro, apropos-command)
17950 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17951 (apropos-plist): Add face property.
17952 (apropos-symbols-internal): Fix indentation.
17953 (apropos-print): Simplify help, and recognize apropos-multi-type.
17954 (apropos-print-doc): Use button-type-get to extract the button's
17955 face property. Fill docstring (Bug#8352).
17956
17957 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17958
17959 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17960
17961 * play/mpuz.el (mpuz-silent): Doc fix.
17962 (mpuz-mode-map): Use mapc.
17963 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17964 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17965 Fix typos in docstrings.
17966
17967 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17968 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17969
17970 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17971
17972 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17973
17974 * minibuffer.el (completion--do-completion): Avoid the "Next char
17975 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17976
17977 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17978 mouse-2 into unread-command-events, it is interpreted correctly.
17979
17980 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17981 (image-toggle-display): Doc fix.
17982
17983 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17984
17985 * textmodes/page.el (what-page): Use line-number-at-pos to
17986 calculate line number (Bug#6825).
17987
17988 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17989
17990 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17991 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17992 Pass argument NO-DEFAULT to `find-tag-interactive'.
17993
17994 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17995
17996 Lexical-binding cleanup.
17997
17998 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17999 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18000 * progmodes/ada-prj.el (ada-prj-initialize-values)
18001 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18002 (ada-prj-show-value):
18003 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18004 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18005 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18006 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18007 * progmodes/bug-reference.el (bug-reference-push-button):
18008 * progmodes/fortran.el (fortran-line-length):
18009 * progmodes/glasses.el (glasses-change):
18010 * progmodes/octave-mod.el (octave-fill-paragraph):
18011 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18012 (python-pdbtrack-grub-for-buffer, python-sentinel):
18013 * progmodes/sql.el (sql-save-connection):
18014 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18015 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18016 Mark unused parameters.
18017
18018 * progmodes/compile.el (compilation--flush-directory-cache)
18019 (compilation--flush-parse, compile-internal): Mark unused parameters.
18020 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18021 (compilation-next-error-function): Remove unused variable `timestamp'.
18022
18023 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18024 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18025
18026 * progmodes/dcl-mode.el (dcl-end-of-command):
18027 Remove unused variable `start'.
18028 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18029 (dcl-option-value-basic, dcl-option-value-offset)
18030 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18031 Mark unused parameters.
18032 (dcl-save-local-variable): Remove unused variable `val'.
18033 (mode): Declare.
18034
18035 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18036 Mark unused parameters.
18037 (delphi-ignore-changes): Move before first use.
18038 (delphi-charset-token-at): Remove unused variable `start'.
18039 (delphi-else-start): Remove unused variable `if-count'.
18040 (delphi-comment-block-start, delphi-comment-block-end):
18041 Remove unused variable `kind'.
18042 (delphi-indent-line): Remove unused variable `new-point'.
18043
18044 * progmodes/ebrowse.el (ebrowse-files-list)
18045 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18046 Mark unused parameters. Don't quote `lambda'.
18047 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18048 Don't quote `lambda'.
18049 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18050 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18051 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18052 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18053 Use `ignore-errors'.
18054 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18055 (ebrowse-view/find-file-and-search-pattern)
18056 (ebrowse-view/find-member-declaration/definition):
18057 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18058 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18059 Rename parameter PREFIX-ARG to PREFIX.
18060 (ebrowse-tags-read-name): Remove unused variables `start' and
18061 `member-info'.
18062 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18063 to `tags-file'.
18064
18065 * progmodes/etags.el (local-find-tag-hook): Declare.
18066 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18067 Mark unused parameters.
18068
18069 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18070 (executable-interpret): Mark unused parameter.
18071
18072 * progmodes/flymake.el (flymake-process-sentinel)
18073 (flymake-after-change-function)
18074 (flymake-create-temp-with-folder-structure)
18075 (flymake-get-include-dirs-dot): Mark unused parameters.
18076 (flymake-safe-delete-directory): Remove unused variable `err'.
18077
18078 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18079 (speedbar-timer-fn, speedbar-line-text)
18080 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18081 (speedbar-center-buffer-smartly): Declare functions.
18082 (gdb-find-watch-expression): Remove unused variable `array'.
18083 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18084 (gdb-starting): Mark unused parameters.
18085 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18086 (gdb-table-string): Remove unused variable `res'.
18087 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18088 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18089 (gdb-display-buffer): Remove unused variable `cur-size'.
18090
18091 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18092 allow lexical-binding compilation.
18093 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18094 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18095 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18096 Mark unused parameters.
18097 (gud-gdb-marker-filter): Remove unused variable `match'.
18098 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18099 lambda expressions and funcall them, instead of using `fset'.
18100
18101 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18102 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18103
18104 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18105 variable `header-beg'; use `let'.
18106
18107 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18108 `restart', `last-sexp' and `at-do'.
18109
18110 * progmodes/js.el (js--debug): Mark unused parameter.
18111 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18112 (js--splice-into-items): Remove unused variable `item'.
18113 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18114
18115 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18116 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18117 (makefile-complete): Remove unused variable `try'.
18118 (makefile-fill-paragraph, makefile-match-function-end):
18119 Mark unused parameters.
18120
18121 * progmodes/octave-inf.el (inferior-octave-complete):
18122 Remove unused variable `proc'.
18123 (inferior-octave-output-digest): Mark unused parameter.
18124
18125 * progmodes/perl-mode.el (perl-calculate-indent):
18126 Remove unused variable `err'.
18127
18128 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18129 (prolog-indent-line): Mark unused parameters.
18130 (prolog-indent-line): Remove unused variable `beg'.
18131
18132 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18133 (reporter-dont-compact-list): Declare.
18134
18135 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18136 Remove unused variable `char'.
18137 (sh-debug): Mark unused parameter.
18138 (sh-get-indent-info): Remove unused variable `start'.
18139 (sh-calculate-indent): Remove unused variable `var'.
18140
18141 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18142 (simula-electric-keyword): Remove unused variable `null'.
18143 (simula-search-backward, simula-search-forward): Remove unused
18144 variables `begin' and `end'.
18145
18146 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18147 Remove unused variable `pos'.
18148 (vera-electric-tab, vera-comment-uncomment-region):
18149 Mark unused parameters.
18150 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18151
18152 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18153
18154 * emacs-lisp/package.el (package--builtins, package-alist)
18155 (package-load-descriptor, package-built-in-p, package-activate)
18156 (define-package, package-installed-p)
18157 (package-compute-transaction, package-buffer-info)
18158 (package--push): Doc fix. Distinguish more clearly between
18159 version strings and version lists.
18160
18161 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18162
18163 Lexical-binding cleanup.
18164
18165 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18166 (5x5-make-mutate-best):
18167 * play/fortune.el (fortune-in-buffer):
18168 * play/gomoku.el (gomoku-init-display):
18169 * play/solitaire.el (solitaire, solitaire-do-check):
18170 * play/tetris.el (tetris-default-update-speed-function):
18171 Mark unused parameters.
18172
18173 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18174 (bubbles--shift): Remove unused variable `char-org'.
18175 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18176 (bubbles--show-images): Remove unused variable `char'.
18177
18178 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18179 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18180 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18181 (decipher-analyze-buffer): Use ?\s.
18182 (decipher-make-checkpoint): Remove unused variable `mapping'.
18183
18184 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18185
18186 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18187 Remove unused variable `result'; use `let'.
18188
18189 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18190 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18191 (gametree-children-shown-p, gametree-compute-reduced-score):
18192 Use `ignore-errors'.
18193
18194 * play/handwrite.el (ps-lpr-switches): Declare.
18195 (handwrite): Remove unused variables `pmin' and `lastp'.
18196
18197 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18198
18199 * play/landmark.el (landmark-init-display)
18200 (landmark-update-naught-weights): Mark unused parameters.
18201 (landmark-y): Remove unused variable `noise'. Simplify.
18202 (landmark-human-plays): Remove unused variable `score'.
18203
18204 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18205 (mpuz-try-proposal): Remove unused variable `game'.
18206
18207 * play/zone.el (life-patterns): Declare.
18208
18209 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18210
18211 * vc/vc.el (ediff-vc-internal): Declare function.
18212
18213 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 * shell.el: Use lexical-binding and std completion UI.
18216 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18217 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18218 comint-preoutput-filter-functions rather than on
18219 comint-output-filter-functions.
18220 (shell-command-completion, shell--command-completion-data)
18221 (shell-filename-completion, shell-environment-variable-completion)
18222 (shell-c-a-p-replace-by-expanded-directory): New functions.
18223 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18224 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18225 (shell-dynamic-complete-environment-variable): Use them.
18226 (shell-dynamic-complete-as-environment-variable)
18227 (shell-dynamic-complete-as-command): Remove.
18228 (shell-match-partial-variable): Match past point.
18229 * comint.el: Clean up use of completion-at-point-functions.
18230 (comint-completion-at-point): New function.
18231 (comint-mode): Use it completion-at-point-functions.
18232 (comint-dynamic-complete): Make it obsolete.
18233 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18234 (comint-c-a-p-replace-by-expanded-history): New function.
18235 (comint-dynamic-complete-functions)
18236 (comint-replace-by-expanded-history): Use it.
18237 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18238 termination strings. Try harder to avoid second try-completion.
18239 (completion-in-region-mode-map): Disable bindings that don't work yet.
18240
18241 * comint.el: Use lexical-binding. Require CL.
18242 (comint-dynamic-complete-functions): Use comint-filename-completion.
18243 (comint-completion-addsuffix): Tweak custom type.
18244 (comint-filename-completion, comint--common-suffix)
18245 (comint--common-quoted-suffix, comint--table-subvert)
18246 (comint--complete-file-name-data): New functions.
18247 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18248 (comint-dynamic-list-filename-completions): Use them.
18249 (comint-dynamic-simple-complete): Make obsolete.
18250
18251 * minibuffer.el (completion-in-region-mode):
18252 Keep completion-in-region-mode--predicate global.
18253 (completion-in-region--postch):
18254 Assume completion-in-region-mode--predicate is not null.
18255
18256 * progmodes/flymake.el (flymake-start-syntax-check-process):
18257 Obey `dir'. Simplify.
18258
18259 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18260 we're in VC after all.
18261
18262 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18263
18264 * vc/vc.el (vc-diff-build-argument-list-internal)
18265 (vc-version-ediff, vc-ediff): New commands.
18266 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18267
18268 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18271 add sanity check.
18272
18273 * obsolete/erc-hecomplete.el: Make obsolete.
18274 * obsolete/: Standardize obsolescence info in the header.
18275
18276 2011-04-20 Glenn Morris <rgm@gnu.org>
18277
18278 * calendar/solar.el (solar-horizontal-coordinates):
18279 Use the longitude argument rather than `calendar-longitude'.
18280 (solar-date-next-longitude): Remove unused locals.
18281
18282 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18283
18284 * whitespace.el: New version 13.2.1.
18285
18286 2011-04-20 felix <EmacsWiki> (tiny change)
18287
18288 * whitespace.el (global-whitespace-mode): Keep highlight when
18289 switching between major modes on a file.
18290
18291 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18292
18293 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18294 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18295 multi-line comments as well.
18296
18297 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18298
18299 Lexical-binding cleanup.
18300
18301 * arc-mode.el (archive-mode-revert):
18302 * cmuscheme.el (scheme-interactively-start-process):
18303 * custom.el (custom-initialize-delay):
18304 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18305 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18306 * emacs-lock.el (emacs-lock-clear-sentinel):
18307 * ezimage.el (defezimage):
18308 * follow.el (follow-avoid-tail-recenter):
18309 * fringe.el (set-fringe-mode-1):
18310 * generic-x.el (bat-generic-mode-compile):
18311 * help-mode.el (help-info-variable, help-do-xref)
18312 (help-mode-revert-buffer):
18313 * help.el (view-emacs-todo):
18314 * iswitchb.el (iswitchb-completion-help):
18315 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18316 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18317 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18318 * locate.el (locate-update):
18319 * longlines.el (longlines-encode-region)
18320 (longlines-after-change-function):
18321 * outline.el (outline-isearch-open-invisible):
18322 * ps-def.el (declare-function, charset-dimension, char-width)
18323 (encode-char):
18324 * ps-mule.el (ps-mule-plot-string):
18325 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18326 (recentf-edit-list-select, recentf-edit-list-validate)
18327 (recentf-open-files-action):
18328 * rect.el (delete-whitespace-rectangle-line)
18329 (rectangle-number-line-callback):
18330 * register.el (window-configuration-to-register)
18331 (frame-configuration-to-register):
18332 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18333 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18334 (xselect-convert-to-targets, xselect-convert-to-delete)
18335 (xselect-convert-to-filename, xselect-convert-to-charpos)
18336 (xselect-convert-to-lineno, xselect-convert-to-colno)
18337 (xselect-convert-to-os, xselect-convert-to-host)
18338 (xselect-convert-to-user, xselect-convert-to-class)
18339 (xselect-convert-to-name, xselect-convert-to-integer)
18340 (xselect-convert-to-atom, xselect-convert-to-identity):
18341 * subr.el (declare, ignore, process-kill-without-query)
18342 (text-clone-maintain):
18343 * terminal.el (te-get-char, te-tic-sentinel):
18344 * tool-bar.el (tool-bar-make-keymap):
18345 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18346 * type-break.el (type-break-mode, type-break-noninteractive-query):
18347 * view.el (View-back-to-mark):
18348 * wid-browse.el (widget-browse-action, widget-browse-widget)
18349 (widget-browse-widgets, widget-browse-sexp):
18350 * widget.el (define-widget-keywords):
18351 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18352 Mark unused parameters.
18353
18354 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18355 (align-areas): Remove unused variable `look'.
18356 (align-region): Remove unused variables `real-end' and `pos-list'.
18357
18358 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18359
18360 * bindings.el (mode-line-modified, mode-line-remote):
18361 Mark unused parameters.
18362 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18363
18364 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18365 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18366
18367 * comint.el (comint-history-isearch-pop-state)
18368 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18369 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18370 (comint-substitute-in-file-name): Doc fix.
18371
18372 * completion.el (cmpl-statistics-block): Mark unused parameter.
18373 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18374 (save-completions-to-file, load-completions-from-file):
18375 Remove unused local variable `e'.
18376
18377 * composite.el (compose-chars): Remove unused variable `len'.
18378 (lgstring-insert-glyph): Remove unused variable `g'.
18379 (compose-glyph-string): Remove unused variables `ascent',
18380 `descent', `lbearing' and `rbearing'.
18381 (compose-glyph-string-relative): Remove unused variables
18382 `lbearing', `rbearing' and `wadjust'.
18383 (compose-gstring-for-graphic): Remove unused variables `header',
18384 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18385 (compose-gstring-for-terminal): Remove unused variables `header'
18386 and `nchars'. Use `let', not `let*'.
18387
18388 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18389 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18390 (Custom-buffer-done, custom-buffer-create-internal)
18391 (custom-browse-visibility-action, custom-browse-group-tag-action)
18392 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18393 (widget-magic-mouse-down-action, custom-toggle-parent)
18394 (custom-add-parent-links, custom-toggle-hide-variable)
18395 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18396 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18397 (custom-face-menu-create, custom-variable-menu-create, get)
18398 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18399 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18400 (customize-apropos): Remove unused variable `tests'.
18401 (custom-group-value-create): Remove unused variable `hidden-p'.
18402 (sort-fold-case): Declare.
18403
18404 * cus-theme.el (custom-reset-standard-faces-list)
18405 (custom-reset-standard-variables-list): Declare.
18406 (customize-create-theme, custom-theme-revert, custom-theme-write)
18407 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18408 Mark unused parameters.
18409
18410 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18411
18412 * delim-col.el (delimit-columns-max): Move defvar before first use.
18413
18414 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18415 (describe-char): Don't quote `lambda'. Mark unused parameter.
18416
18417 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18418 (auto-insert): Declare.
18419 (desktop-restore-file-buffer): Rename desktop-* parameters;
18420 mark unused ones.
18421 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18422 (desktop-buffer): Rename desktop-* parameters.
18423
18424 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18425 (dframe-reposition-frame-xemacs, dframe-help-echo)
18426 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18427 Mark unused parameters.
18428
18429 * dired-aux.el (backup-extract-version-start, overwrite-query)
18430 (overwrite-backup-query, rename-regexp-query)
18431 (rename-non-directory-query): Declare.
18432 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18433 (dired-add-entry): Remove unused variable `orig-file-name'.
18434 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18435 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18436 `dired-copy-preserve-time' directly.
18437 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18438 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18439
18440 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18441 (dired-virtual-revert, dired-make-relative-symlink):
18442 Mark unused parameters.
18443 (manual-program): Declare.
18444 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18445 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18446 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18447
18448 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18449
18450 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18451
18452 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18453 Declare.
18454
18455 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18456
18457 * electric.el (Electric-command-loop): Rename parameter
18458 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18459
18460 * expand.el (expand-in-literal): Remove unused variable `here'.
18461
18462 * facemenu.el (facemenu-add-new-color):
18463 Remove unused variable `docstring'.
18464
18465 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18466 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18467 (face-attr-construct): Mark unused parameter. Doc fix.
18468 (read-color): Remove unused variable `hex-string'.
18469
18470 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18471 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18472 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18473 (display-buffer-other-frame): Remove unused variable `old-window'.
18474 (kill-buffer-hook): Declare.
18475 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18476 Mark unused parameters.
18477 (after-find-file): Pass 1 to `auto-save-mode', not t.
18478
18479 * files-x.el (auto-insert): Declare.
18480 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18481
18482 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18483 variable `buf'. Mark unused parameter.
18484 (find-lisp-insert-directory): Mark unused parameter.
18485
18486 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18487 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18488 (format-common-tail): Remove, unused.
18489 (format-deannotate-region): Remove unused variable `loc'.
18490 (format-annotate-region): Remove unused variable `p'.
18491 (format-annotate-single-property-change): Remove unused variables
18492 `default' and `tail'.
18493
18494 * forms.el (read-file-filter): Declare.
18495 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18496
18497 * frame.el (frame-creation-function-alist): Mark unused parameter.
18498 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18499
18500 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18501 Remove unused parameters.
18502 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18503 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18504
18505 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18506 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18507 (hfy-prepare-tag-map): Mark unused parameters.
18508 (htmlfontify-buffer): Use `called-interactively-p'.
18509
18510 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18511 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18512 (ibuffer-do-occur): Mark unused parameters.
18513 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18514 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18515
18516 * ibuffer.el: Don't quote `lambda'.
18517 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18518 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18519 Mark unused parameters.
18520
18521 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18522 (ido-completing-read): Mark unused parameters.
18523 (ido-copy-current-word): Mark unused parameters;
18524 remove unused variable `name'.
18525 (ido-sort-merged-list): Remove unused parameter `dirs'.
18526
18527 * ielm.el (ielm-input-sender): Mark unused parameter.
18528 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18529 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18530 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18531 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18532 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18533
18534 * image-dired.el (image-dired-display-thumbs): Remove unused
18535 variables `curr-file' and `count'.
18536 (image-dired-remove-tag): Remove unused variable `start'.
18537 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18538 variable `curr-file'
18539 (image-dired-rotate-original): Remove unused variable `temp-file'.
18540 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18541 Remove unused variable `file'.
18542 (image-dired-gallery-generate): Remove unused variable `curr'.
18543 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18544
18545 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18546
18547 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18548
18549 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18550
18551 * isearch.el (minibuffer-history-symbol): Declare.
18552 (isearch-edit-string): Remove unused variable `err'.
18553 (isearch-message-prefix, isearch-message-suffix):
18554 Mark unused parameters.
18555
18556 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18557
18558 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18559
18560 * makesum.el (double-column): Remove unused variable `cnt'.
18561
18562 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18563 (ido-ignore-item-temp-list): Declare.
18564
18565 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18566 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18567 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18568 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18569 `mouse-col-delta'.
18570
18571 * mouse-sel.el (mouse-extend-internal):
18572 Remove unused variable `orig-window-frame'.
18573
18574 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18575 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18576 Move declarations before first use.
18577 (pcomplete-opt): Mark unused parameters; doc fix.
18578
18579 * proced.el (proced-revert): Mark unused parameter.
18580 (proced-send-signal): Remove unused variable `err'.
18581
18582 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18583 Rename parameter PREFIX-ARG to ARG.
18584 (ps-basic-plot-string, ps-basic-plot-whitespace):
18585 Mark unused parameters.
18586
18587 * replace.el (replace-count): Define.
18588 (occur-revert-function): Mark unused parameters.
18589 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18590 (isearch-case-fold-search, isearch-string): Declare.
18591 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18592 bind `case-fold-search'. Remove unused variables `beg' and `end',
18593 and simplify.
18594 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18595 COUNT and bind `replace-count'.
18596 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18597 to COUNT.
18598
18599 * savehist.el (print-readably, print-string-length): Declare.
18600
18601 * shadowfile.el (shadow-expand-cluster-in-file-name):
18602 Remove unused variable `cluster'.
18603 (shadow-copy-file): Remove unused variable `i'.
18604 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18605 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18606 (shadow-define-literal-group, shadow-define-regexp-group)
18607 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18608
18609 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18610 (shell): Use `called-interactively-p'.
18611 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18612
18613 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18614 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18615 (delete-backward-char): Remove unused variable `ocol'.
18616 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18617 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18618 (event-apply-hyper-modifier, event-apply-shift-modifier)
18619 (event-apply-control-modifier, event-apply-meta-modifier):
18620 Mark unused parameters.
18621 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18622 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18623
18624 * speedbar.el (speedbar-ignored-directory-expressions)
18625 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18626 (speedbar-find-file, speedbar-dir-follow)
18627 (speedbar-directory-buttons-follow, speedbar-tag-find)
18628 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18629 (speedbar-buffers-line-directory, speedbar-buffer-click):
18630 Mark unused parameters.
18631 (speedbar-tag-file): Remove unused variable `mode'.
18632 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18633
18634 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18635
18636 * talk.el (talk): Remove unused variable `display'.
18637
18638 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18639 (tar-write-region-annotate): Mark unused parameter.
18640
18641 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18642 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18643 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18644 warning by another.
18645
18646 * time-stamp.el (time-stamp-string-preprocess):
18647 Remove unused variable `require-padding'.
18648
18649 * tree-widget.el (widget-glyph-enable): Declare.
18650 (tree-widget-action): Mark unused parameter.
18651
18652 * w32-fns.el (x-get-selection): Mark unused parameter.
18653 (autoload-make-program, generated-autoload-file): Declare.
18654
18655 * wdired.el (wdired-revert): Mark unused parameters.
18656 (wdired-xcase-word): Remove unused variable `err'.
18657
18658 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18659 (whitespace-help-scroll): Remove unused variable `data-help'.
18660
18661 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18662 (widget-image-insert, widget-after-change, default)
18663 (widget-default-format-handler, widget-default-notify)
18664 (widget-default-prompt-value, widget-info-link-action)
18665 (widget-url-link-action, widget-function-link-action)
18666 (widget-variable-link-action, widget-file-link-action)
18667 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18668 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18669 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18670 (widget-insert-button-action, widget-delete-button-action, visibility)
18671 (widget-documentation-link-action, widget-documentation-string-action)
18672 (widget-const-prompt-value, widget-regexp-match, symbol)
18673 (widget-coding-system-prompt-value)
18674 (widget-key-sequence-value-to-external, sexp)
18675 (widget-sexp-value-to-internal, character, vector, cons)
18676 (widget-choice-prompt-value, widget-boolean-prompt-value)
18677 (widget-color--choose-action): Mark unused parameters.
18678 (widget-item-match-inline, widget-choice-match-inline)
18679 (widget-checklist-match, widget-checklist-match-inline)
18680 (widget-group-match): Rename parameter VALUES to VALS.
18681 (widget-field-value-set): Remove unused variable `size'.
18682 (widget-color-action): Remove unused variables `value' and `start'.
18683
18684 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18685 variable `dir'. Doc fix.
18686 (windmove-find-other-window): Don't pass it.
18687
18688 * window.el (count-windows): Mark unused parameter.
18689 (bw-adjust-window): Remove unused variable `err'.
18690
18691 * woman.el (woman-file-name): Remove unused variable `default'.
18692 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18693 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18694 (global-font-lock-mode): Declare.
18695 (woman-decode-region): Mark unused parameter.
18696 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18697
18698 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18699 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18700 (x-dnd-handle-moz-url): Remove unused variable `title'.
18701 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18702
18703 * xml.el (xml-parse-tag, xml-parse-attlist):
18704 Remove unused variable `pos'.
18705
18706 2011-04-19 Glenn Morris <rgm@gnu.org>
18707
18708 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18709 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18710 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18711 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18712 * calendar/cal-html.el (cal-html-insert-minical):
18713 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18714 (calendar-mark-date-pattern):
18715 Prefix "unused" locals.
18716
18717 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18718 optional argument `style'.
18719
18720 * calendar/appt.el (appt-make-list):
18721 * calendar/cal-china.el (calendar-chinese-date-string):
18722 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18723 (diary-hebrew-yahrzeit):
18724 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18725 * calendar/calendar.el (calendar-generate-window):
18726 * calendar/time-date.el (time-to-days):
18727 Remove unused local variables.
18728
18729 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18730
18731 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18732 glyphless-char-display table.
18733 (tabulated-list-glyphless-char-display): New var.
18734
18735 2011-04-18 Sam Steingold <sds@gnu.org>
18736
18737 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18738 to acknowledgments.
18739
18740 2011-04-17 Glenn Morris <rgm@gnu.org>
18741
18742 * calendar/diary-lib.el (diary-sexp-entry):
18743 * calendar/holidays.el (holiday-sexp):
18744 Set debug-on-error rather than the removed stack-trace-on-error.
18745
18746 2011-04-16 Glenn Morris <rgm@gnu.org>
18747
18748 * progmodes/f90.el: Use lexical-binding.
18749 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18750
18751 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18752
18753 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18754 (mail-mode): Setup mailalias completion here instead.
18755 * mail/mailalias.el: Use lexical-binding.
18756 (pattern, mailalias-done): Declare dynamic.
18757 (mail-completion-at-point-function): New function, from mail-complete.
18758 (mail-complete): Use it.
18759 (mail-completion-expand): New function.
18760 (mail-get-names): Use it.
18761 (mail-directory, mail-directory-process, mail-directory-stream):
18762 Don't use `pattern' for lexically bound arg.
18763
18764 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18765
18766 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18767 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18768 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18769
18770 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18771 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18772 (byte-interactive-p): Define them again, for use when inlining
18773 old code.
18774
18775 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18776
18777 * loadup.el: Use `string-to-number', not `string-to-int'.
18778
18779 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18780
18781 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18782 gud-gdb-complete-command.
18783 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18784 (gud-gdb-completion-at-point): New function.
18785 (gud-gdb-completions): Remove.
18786
18787 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18788
18789 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18790 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18791 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18792 whether `executable-find' is bound.
18793
18794 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18795
18796 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18797
18798 * minibuffer.el (completion-in-region-mode-predicate)
18799 (completion-in-region-mode--predicate): New vars.
18800 (completion-in-region, completion-in-region--postch)
18801 (completion-in-region-mode): Use them.
18802 (completion--capf-wrapper): Also return the hook function.
18803 (completion-at-point, completion-help-at-point):
18804 Adjust and provide a predicate.
18805
18806 Preserve arg names for advice of subr and lexical functions (bug#8457).
18807 * help-fns.el (help-function-arglist): Consolidate the subr and
18808 new-byte-code cases. Add argument `preserve-names' to extract names
18809 from the docstring when needed.
18810 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18811 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18812 (ad-arglist): Use help-function-arglist's new arg.
18813 (ad-definition-type): Use cond.
18814
18815 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18816
18817 * autorevert.el (auto-revert-handler):
18818 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18819 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18820 Don't quote lambda.
18821
18822 * image-mode.el (image-transform-set-scale):
18823 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18824
18825 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18826
18827 * net/network-stream.el (network-stream-open-starttls): Only do
18828 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18829 Upgrades via gnutls-cli are too slow to be done opportunistically.
18830
18831 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18832
18833 * dframe.el (dframe-current-frame): Remove spurious quote.
18834
18835 2011-04-12 Glenn Morris <rgm@gnu.org>
18836
18837 * calendar/cal-tex.el (cal-tex-end-document):
18838 Try to automatically use latin1 input if needed.
18839
18840 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18841 Don't try to cons a mark onto an empty element.
18842
18843 2011-04-11 Leo Liu <sdl.web@gmail.com>
18844
18845 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18846 buffers.
18847 (ido-kill-buffer-at-head): Support killing virtual buffers.
18848
18849 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18850
18851 * minibuffer.el (completion-show-inline-help): New var.
18852 (completion--do-completion, minibuffer-complete)
18853 (minibuffer-force-complete, minibuffer-complete-word):
18854 Inhibit minibuffer messages if completion-show-inline-help is nil.
18855
18856 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18857 to avoid interference from inline help (Bug#5849).
18858
18859 2011-04-10 Leo Liu <sdl.web@gmail.com>
18860
18861 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18862 Fix typo.
18863
18864 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18865
18866 * image-mode.el (image-toggle-display-image): Signal an error if
18867 not in Image mode.
18868 (image-transform-mode, image-transform-resize)
18869 (image-transform-set-rotation): Doc fix.
18870 (image-transform-set-resize): Delete.
18871 (image-transform-set-scale, image-transform-fit-to-height)
18872 (image-transform-fit-to-width): Handle image-toggle-display-image
18873 and image-transform-resize directly.
18874
18875 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18876
18877 * doc-view.el (doc-view-fit-width-to-window)
18878 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18879 New functions for fitting the shown image to the Emacs window size.
18880 (doc-view-mode-map): Add bindings for the new functions.
18881
18882 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18883
18884 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18885 Fix typo in docstring.
18886
18887 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18888
18889 * files.el (file-size-human-readable): Produce one digit after
18890 decimal, like "ls -lh" does.
18891
18892 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18893 the file size representation.
18894
18895 * simple.el (list-processes): If async subprocesses are not
18896 available, error out with a clear error message.
18897
18898 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18899
18900 * help.el (help-form-show): New function, to be called from C.
18901 Put help-form output in a buffer named differently than *Help*.
18902
18903 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18904
18905 * files.el (file-size-human-readable): New function.
18906
18907 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18908 computing the representation inline. Don't require `cl'.
18909
18910 2011-04-08 Glenn Morris <rgm@gnu.org>
18911
18912 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18913
18914 * net/browse-url.el (browse-url-firefox):
18915 Test system-type, not system-configuration.
18916
18917 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18918 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18919 Use log-edit-empty-buffer-p. (Bug#7598)
18920
18921 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18922 (rlogin-mode-map): Initialize in the defvar.
18923 (rlogin): Use ignore-errors.
18924
18925 * replace.el (occur-mode-map): Some fixes for menu items.
18926
18927 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18928
18929 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18930
18931 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18932
18933 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18934 issuing unused warnings.
18935
18936 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18937 macro directly.
18938
18939 * simple.el: Lisp reimplement of list-processes. Based on an
18940 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18941 (process-menu-mode): New major mode.
18942 (list-processes--refresh, list-processes):
18943 (process-menu-visit-buffer): New functions.
18944
18945 * files.el (save-buffers-kill-emacs): Don't assume any return
18946 value of list-processes, which is undocumented anyway.
18947
18948 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18949
18950 * emacs-lisp/tabulated-list.el: New file.
18951
18952 * emacs-lisp/package.el: Use Tabulated List mode.
18953 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18954 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18955 table format using Tabulated List mode variables.
18956 (package--push): New macro, replacing package-list-maybe-add.
18957 (package-menu--generate): Use package--push. Renamed from
18958 package--generate-package-list.
18959 (package-menu-refresh, list-packages): Use it.
18960 (package-menu--print-info): Rename from package-print-package.
18961 Return insertion data instead of inserting it directly.
18962 (package-menu-describe-package, package-menu-execute):
18963 Use tabulated-list-get-id.
18964 (package-menu-mark-delete, package-menu-mark-install)
18965 (package-menu-mark-unmark, package-menu-backup-unmark)
18966 (package-menu-mark-obsolete-for-deletion):
18967 Use tabulated-list-put-tag.
18968 (package--list-packages, package-menu-revert)
18969 (package-menu-get-package, package-menu-get-version)
18970 (package-menu-sort-by-column): Functions deleted.
18971 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18972 (package-menu--status-predicate, package-menu--version-predicate)
18973 (package-menu--name-predicate)
18974 (package-menu--description-predicate): Handle arguments in the
18975 Tabulated List format.
18976 (package-list-packages-no-fetch): Call list-packages.
18977
18978 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18979
18980 * files.el (after-find-file-from-revert-buffer): Remove variable.
18981 (after-find-file): Don't bind it.
18982 (revert-buffer-in-progress-p): New variable.
18983 (revert-buffer): Bind it.
18984 Pass nil for `after-find-file-from-revert-buffer'.
18985
18986 * saveplace.el (save-place-find-file-hook): Use new variable
18987 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18988
18989 2011-04-06 Glenn Morris <rgm@gnu.org>
18990
18991 * Makefile.in (AUTOGEN_VCS): New variable.
18992 (autoloads): Use $AUTOGEN_VCS.
18993
18994 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18995 * calendar/calendar.el (calendar-mode-map):
18996 Check for toolkit scroll bars. (Bug#8305)
18997
18998 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18999
19000 * minibuffer.el (completion-in-region--postch)
19001 (completion-in-region-mode): Remove unnecessary messages.
19002
19003 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19004
19005 * font-lock.el (font-lock-refresh-defaults):
19006 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19007 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19008
19009 * info.el (Info-directory-list, Info-read-node-name-2)
19010 (Info-split-parameter-string): Doc fixes.
19011 (Info-virtual-nodes): Reflow docstring.
19012 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19013 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19014 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19015 Fix typos in docstrings.
19016 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19017 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19018 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19019 (Info-restore-desktop-buffer): Mark unused parameters.
19020 (Info-directory-find-file, Info-directory-find-node)
19021 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19022 (Info-virtual-index-find-node, Info-apropos-find-file)
19023 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19024 Mark unused parameters; fix typos in docstrings.
19025 (Info-virtual-index): Remove unused local variable `nodename'.
19026
19027 2011-04-05 Deniz Dogan <deniz@dogan.se>
19028
19029 * net/rcirc.el: Update my e-mail address.
19030 (rcirc-mode-map): Remove M-o binding.
19031
19032 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19033
19034 * startup.el (command-line): Save the cursor's theme-face
19035 directly, instead of using face-override-spec.
19036
19037 * custom.el (load-theme): Minor optimization in assigning faces.
19038
19039 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19040
19041 * help-fns.el (describe-variable): Complete all variables having
19042 documentation, including keywords.
19043 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19044
19045 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19046
19047 Convert to lexical-binding.
19048
19049 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19050 (bs--get-marked-string, bs--get-modified-string)
19051 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19052 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19053 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19054
19055 * ehelp.el (electric-help-execute-extended)
19056 (electric-help-ctrl-x-prefix):
19057 * hexl.el (hexl-revert-buffer-function):
19058 * linum.el (linum-after-change, linum-after-scroll):
19059 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19060
19061 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19062
19063 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19064
19065 * epa-dired.el:
19066 * epa-mail.el:
19067 * epa-hook.el:
19068 * epa-file.el:
19069 * epa.el:
19070 * epg.el: Use lexical binding.
19071
19072 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19073
19074 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19075
19076 * textmodes/flyspell.el (flyspell-word): Recognize default
19077 dictionary case for flyspell-mark-duplications-exceptions.
19078 Use regexp matching for languages.
19079 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19080 default dictionary (Bug#7926).
19081
19082 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19083
19084 * emacs-lisp/package.el (package--with-work-buffer):
19085 Recognize https URLs.
19086
19087 * net/network-stream.el: Move from gnus/proto-stream.el.
19088 Change prefix to network-stream throughout.
19089 (open-protocol-stream): Merge into open-network-stream, leaving
19090 open-protocol-stream as an alias. Handle nil BUFFER args.
19091
19092 * subr.el (open-network-stream): Move to net/network-stream.el.
19093
19094 2011-04-02 Glenn Morris <rgm@gnu.org>
19095
19096 * find-dired.el (find-exec-terminator): New option.
19097 (find-ls-option): Test for -ls support.
19098 (find-ls-subdir-switches): Test for -b in find-ls-option.
19099 (find-dired, find-grep-dired): Doc fixes.
19100 (find-dired): Use find-exec-terminator.
19101
19102 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19103 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19104 (find-name-arg): Remove purecopy.
19105
19106 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19107 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19108 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19109 accordingly. Don't add the null-device if not needed.
19110
19111 * files.el (save-some-buffers): Doc fix.
19112
19113 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19114
19115 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19116
19117 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19118
19119 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19120 Use `dolist' rather than `mapcar'.
19121
19122 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19123
19124 Add lexical binding.
19125
19126 * subr.el (apply-partially): Use new closures rather than CL.
19127 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19128 (dolist, dotimes): Use slightly different expansion for lexical code.
19129 (functionp): Move to C.
19130 (letrec): New macro.
19131 (with-wrapper-hook): Use it and apply-partially instead of CL.
19132 (eval-after-load): Preserve lexical-binding.
19133 (save-window-excursion, with-output-to-temp-buffer): Turn them
19134 into macros.
19135
19136 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19137
19138 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19139 than the arglist.
19140 (help-add-fundoc-usage): Don't add `Not documented'.
19141 (help-function-arglist): Handle closures, subroutines, and new
19142 byte-code-functions.
19143 (help-make-usage): Remove leading underscores.
19144 (describe-function-1): Handle closures.
19145 (describe-variable): Use special-variable-p for completion.
19146
19147 * files.el (lexical-binding): Declare safe.
19148
19149 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19150 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19151 (pcase): Add `let' pattern.
19152 Change memoization so it actually works.
19153 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19154 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19155 <let>: New case.
19156
19157 * emacs-lisp/macroexp.el: Use lexical binding.
19158 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19159 Don't convert ' to #' without checking that it's indeed quoting
19160 a lambda.
19161
19162 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19163 Use eval-sexp-add-defvars.
19164 (eval-sexp-add-defvars): New fun.
19165
19166 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19167
19168 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19169 Don't autoload.
19170 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19171 than the internal `byte-compile-lambda'.
19172 (defmethod): Don't hide code under quotes.
19173 (eieio-defmethod): New `code' argument.
19174
19175 * emacs-lisp/eieio-comp.el: Remove.
19176
19177 * emacs-lisp/edebug.el (edebug-eval-defun)
19178 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19179 (edebug-toggle): Avoid `eval'.
19180
19181 * emacs-lisp/disass.el (disassemble-internal): Handle new
19182 `closure' objects.
19183 (disassemble-1): Handle new byte codes.
19184
19185 * emacs-lisp/cl.el (pushnew): Silence warning.
19186
19187 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19188 (cl-byte-compile-throw): Remove.
19189 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19190
19191 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19192 closures.
19193
19194 * emacs-lisp/cconv.el: New file.
19195
19196 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19197 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19198 (byte-compile-initial-macro-environment):
19199 Handle declare-function here.
19200 (byte-compile--lexical-environment): New var.
19201 (byte-stack-ref, byte-stack-set, byte-discardN)
19202 (byte-discardN-preserve-tos): New lap codes.
19203 (byte-interactive-p): Don't use any more.
19204 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19205 New macros.
19206 (byte-compile-lapcode): Use them and handle new lap codes.
19207 (byte-compile-obsolete): Remove.
19208 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19209 (byte-compile-arglist-warn): Check late def of inlinable funs.
19210 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19211 since they should have been expanded by now.
19212 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19213 (byte-compile-from-buffer): Remove unused second arg.
19214 (byte-compile-preprocess): New function.
19215 (byte-compile-toplevel-file-form): New function to distinguish
19216 file-form calls from outside from file-form calls from hunk-handlers.
19217 (byte-compile-file-form): Simplify.
19218 (byte-compile-file-form-defsubst): Remove.
19219 (byte-compile-file-form-defmumble): Simplify now that
19220 byte-compile-lambda always returns a byte-code-function.
19221 (byte-compile): Preprocess.
19222 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19223 Remove, not used any more.
19224 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19225 (byte-compile-make-args-desc): New funs.
19226 (byte-compile-lambda): Handle lexical functions. Always return
19227 a byte-code-function.
19228 (byte-compile-reserved-constants): New var, to make up room for
19229 closed-over variables.
19230 (byte-compile-constants-vector): Obey it.
19231 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19232 (byte-compile-macroexpand-declare-function): New function.
19233 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19234 byte-code-functions.
19235 (byte-compile-form): Check obsolescence here.
19236 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19237 (byte-compile-variable-ref): Remove.
19238 (byte-compile-dynamic-variable-op): New fun.
19239 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19240 (byte-compile-variable-set): New funs.
19241 (byte-compile-discard): Add 2 args.
19242 (byte-compile-stack-ref, byte-compile-stack-set)
19243 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19244 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19245 macroexpand-all instead.
19246 (byte-compile-quote-form): Remove.
19247 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19248 (byte-compile-bind, byte-compile-unbind): New funs.
19249 (byte-compile-let): Handle let* and lexical binding.
19250 (byte-compile-let*): Remove.
19251 (byte-compile-catch, byte-compile-unwind-protect)
19252 (byte-compile-track-mouse, byte-compile-condition-case):
19253 Handle a new :fun-body form, used for lexical scoping.
19254 (byte-compile-save-window-excursion)
19255 (byte-compile-with-output-to-temp-buffer): Remove.
19256 (byte-compile-defun): Simplify.
19257 (byte-compile-stack-adjustment): New fun.
19258 (byte-compile-out): Use it.
19259 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19260
19261 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19262 handler any more.
19263
19264 * emacs-lisp/byte-opt.el: Use lexical binding.
19265 (byte-inline-lapcode): Remove (to bytecomp).
19266 (byte-compile-inline-expand): Pay attention to inlining to/from
19267 lexically bound code.
19268 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19269 any more.
19270 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19271 any more and don't call compiler-macros.
19272 (byte-compile-splice-in-already-compiled-code): Remove.
19273 (byte-code): Don't inline any more.
19274 (disassemble-offset): Receive `bytes' as argument rather than via
19275 dynamic scoping.
19276 (byte-compile-tag-number): Declare before first use.
19277 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19278 `return' even if make-spliceable.
19279 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19280 obsolete interactive-p.
19281 (byte-optimize-lapcode): Optimize new lap-codes.
19282 Don't trip up on new form of `byte-constant' lap code.
19283
19284 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19285
19286 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19287
19288 * custom.el (custom-initialize-default, custom-declare-variable):
19289 Use `defvar'.
19290
19291 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19292 New variables.
19293 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19294 (COMPILE_FIRST): Add macroexp and cconv.
19295 * makefile.w32-in: Mirror changes in Makefile.in.
19296
19297 * vc/cvs-status.el:
19298 * vc/diff-mode.el:
19299 * vc/log-edit.el:
19300 * vc/log-view.el:
19301 * vc/smerge-mode.el:
19302 * textmodes/bibtex-style.el:
19303 * textmodes/css-mode.el:
19304 * startup.el:
19305 * uniquify.el:
19306 * minibuffer.el:
19307 * newcomment.el:
19308 * reveal.el:
19309 * server.el:
19310 * mpc.el:
19311 * emacs-lisp/smie.el:
19312 * doc-view.el:
19313 * dired.el:
19314 * abbrev.el: Use lexical binding.
19315
19316 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19317
19318 * info.el (info-display-manual): New function.
19319
19320 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19321
19322 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19323
19324 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19325
19326 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19327 an entry for that server in rcirc-authinfo. (Bug#8385)
19328
19329 2011-03-31 Glenn Morris <rgm@gnu.org>
19330
19331 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19332
19333 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19334
19335 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19336
19337 * progmodes/python.el (python-default-interpreter)
19338 (python-python-command-args, python-jython-command-args)
19339 (python-which-shell, python-which-args, python-which-bufname)
19340 (python-file-queue, python-comint-output-filter-function)
19341 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19342 variables and functions.
19343
19344 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19345
19346 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19347 (completion-in-region-mode): New minor mode.
19348 (completion-in-region): Use it.
19349 (completion-in-region--data, completion-in-region-mode-map): New vars.
19350 (completion-in-region--postch): New function.
19351 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19352 New vars.
19353 (completion--capf-wrapper): New function.
19354 (completion-at-point): Use it to track well-behavedness of
19355 hook functions.
19356 (completion-help-at-point): New command.
19357
19358 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19359
19360 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19361 syntax class to search for whitespace on a single line
19362 (Message-ID: <4D938140.4030905@redhat.com>).
19363
19364 2011-03-30 Leo Liu <sdl.web@gmail.com>
19365
19366 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19367 New commands.
19368 (edit-abbrevs-map): Bind them here.
19369 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19370
19371 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19372
19373 * allout.el (allout-hide-by-annotation, allout-flag-region):
19374 Reduce possibility of overlay leakage by making them volatile.
19375
19376 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19377 hash is not shared between buffers. Mode initialization is
19378 responsible for giving it a useful starting value.
19379 (allout-item-span): Reduce possibility of overlay leakage by
19380 making them volatile.
19381 (allout-widgets-count-buttons-in-region): Add diagnostic function
19382 for tracking down button overlay leaks.
19383
19384 2011-03-29 Leo Liu <sdl.web@gmail.com>
19385
19386 * ido.el (ido-read-internal): Use the default history var
19387 minibuffer-history if no HISTORY is specified.
19388
19389 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19390
19391 * net/imap.el (imap-shell-open, imap-process-connection-type):
19392 Use imap-process-connection-type for 'shell' streams as well as
19393 Kerberos, SSL, other subprocesses.
19394
19395 2011-03-28 Leo Liu <sdl.web@gmail.com>
19396
19397 * abbrev.el (abbrev-table-empty-p): New function.
19398 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19399 nonempty ones. (Bug#5937)
19400
19401 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19402
19403 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19404
19405 2011-03-27 Leo Liu <sdl.web@gmail.com>
19406
19407 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19408 for foreground and background colors.
19409 (ansi-color-make-color-map): Adapt.
19410
19411 2011-03-25 Leo Liu <sdl.web@gmail.com>
19412
19413 * midnight.el (midnight-time-float): Remove. Note it calculates
19414 the microsecond component incorrectly and seconds-to-time does the
19415 same job.
19416 Remove redundant (require 'timer).
19417
19418 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19419 (ido-completions): Remove unused arguments. (Bug#8329)
19420
19421 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19422
19423 * minibuffer.el (completion--flush-all-sorted-completions):
19424 Remove itself from hook.
19425 (completion-at-point): Let the functions perform the completion
19426 immediately and return nil or t.
19427 * comint.el (comint-dynamic-complete-functions): Now identical to
19428 completion-at-point-functions.
19429 (comint-dynamic-list-input-ring): Remove unused var `index'.
19430 (comint--match-partial-filename, comint--unquote&expand-filename):
19431 New funs, split from comint-match-partial-filename.
19432 (comint-dynamic-complete): Use completion-at-point.
19433 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19434
19435 2011-03-24 Drew Adams <drew.adams@oracle.com>
19436
19437 * thingatpt.el: Support `defun'.
19438
19439 2011-03-23 Leo Liu <sdl.web@gmail.com>
19440
19441 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19442
19443 * help-mode.el (help-mode-finish): Tweak regexp.
19444
19445 2011-03-23 Glenn Morris <rgm@gnu.org>
19446
19447 * eshell/esh-opt.el (eshell-eval-using-options):
19448 Do not bind unused local variable `eshell-option-stub'.
19449
19450 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19451
19452 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19453
19454 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19455 keymap variable in `with-no-warnings' to avoid a warning when the
19456 keymap has been already `defconst'ed.
19457
19458 2011-03-22 Leo Liu <sdl.web@gmail.com>
19459
19460 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19461 encode all chars in abbrevs; otherwise use emacs-mule or
19462 utf-8-emacs. (Bug#8308)
19463
19464 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19465
19466 * simple.el (backward-delete-char-untabify):
19467 Avoid warning about using `delete-backward-char'.
19468
19469 * image.el (image-type-file-name-regexps): Make it variable.
19470 `imagemagick-register-types' modifies it, and the user may want
19471 to add new extensions for known image types.
19472 (imagemagick-register-types): Throw error if not using ImageMagick.
19473
19474 2011-03-22 Leo Liu <sdl.web@gmail.com>
19475
19476 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19477 located before rcirc-prompt-end-marker.
19478 (rcirc-complete): Error if point is not after rcirc prompt.
19479 Handle the case when table is nil.
19480 (rcirc-user-authenticated): Define to fix compiler warning.
19481
19482 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19483
19484 * custom.el (custom--inhibit-theme-enable): Make it affect only
19485 custom-theme-set-variables and custom-theme-set-faces.
19486 (provide-theme): Ignore custom--inhibit-theme-enable.
19487 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19488 (custom-enabling-themes): Delete variable.
19489 (enable-theme): Accept only loaded themes as arguments.
19490 Ignore the special custom-enabled-themes variable.
19491 (custom-enabled-themes): Forbid themes from setting this.
19492 Eliminate use of custom-enabling-themes.
19493 (custom-push-theme): Quote "changed" custom var entry.
19494
19495 2011-03-21 Leo Liu <sdl.web@gmail.com>
19496
19497 * ido.el (ido-read-internal): Add ido-selected to history instead
19498 of user input.
19499
19500 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19501
19502 * subr.el (deferred-action-list, deferred-action-function):
19503 Mark obsolete.
19504
19505 2011-03-21 Leo Liu <sdl.web@gmail.com>
19506
19507 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19508 change on 2011-02-13 (bug#8309).
19509
19510 * minibuffer.el (read-file-name-function): Change default value.
19511 (read-file-name--defaults): Rename from read-file-name-defaults.
19512 (read-file-name-default): Rename from read-file-name.
19513 (read-file-name): Call read-file-name-function.
19514
19515 2011-03-21 Glenn Morris <rgm@gnu.org>
19516
19517 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19518 Doc fixes.
19519
19520 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19521
19522 * cus-theme.el: Add missing provide statement.
19523 (customize-create-theme): Extract theme value correctly.
19524 (custom-theme-visit-theme): Autoload.
19525 (customize-create-theme): Prompt before inserting default faces.
19526
19527 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19528
19529 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19530 units and musical notes.
19531
19532 2011-03-20 Leo Liu <sdl.web@gmail.com>
19533
19534 * ido.el (ido-read-internal): Use completing-read-default.
19535 (ido-completing-read): Fix compatibility with completing-read.
19536
19537 2011-03-20 Christian Ohler <ohler@gnu.org>
19538
19539 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19540 (ert-delete-all-tests): Use `called-interactively-p' rather than
19541 `interactive-p'.
19542 (ert--make-xrefs-region): Respect END.
19543
19544 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19545
19546 * dired-aux.el (dired-create-directory): Signal an error if the
19547 directory already exists (Bug#8246).
19548
19549 * facemenu.el (list-colors-display): Call list-faces-display
19550 inside with-help-window.
19551 (list-colors-print): Use display property to align the final
19552 column, instead of checking window-width.
19553
19554 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19555
19556 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19557 windows-nt systems.
19558 (emerge-protect-metachars): Quote correctly for ms-dos and
19559 windows-nt systems.
19560
19561 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19562
19563 * info.el (info-initialize): Replace all uses of `:' with
19564 path-separator for compatibility with non-Unix systems.
19565 Cache quoting of path-separator. (Bug#8258)
19566
19567 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19568
19569 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19570 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19571 (mouse-avoidance-mode): Fix typos in docstrings.
19572
19573 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19574
19575 * startup.el (package-subdirectory-regexp): Move from package.el.
19576 Omit \\` and \\', and let callers add them.
19577
19578 * emacs-lisp/package.el (package-strip-version)
19579 (package-load-all-descriptors): Add \\` and \\' to
19580 package-subdirectory-regexp before using it.
19581 (package-untar-buffer): New arg DIR; ensure that file untars only
19582 into this expected directory. Remove superfluous delete-region.
19583 (package-unpack): Caller changed.
19584 (package-tar-file-info): Use package-subdirectory-regexp.
19585
19586 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19587
19588 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19589 diff-mode-shared-map (bug#8284).
19590 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19591
19592 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19593
19594 * calendar/time-date.el (format-seconds): Use assoc instead of
19595 assoc-string, since assoc-string doesn't exist in XEmacs.
19596
19597 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19598
19599 * custom.el (custom-known-themes): Reflow docstring.
19600 (custom-theme-load-path): Fix typo in docstring.
19601 (load-theme): Fix typo in error message.
19602 (custom-available-themes, custom-variable-theme-value):
19603 Use `let', not `let*'.
19604
19605 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19606
19607 * calc/README: Mention inclusion of musical notes.
19608
19609 * calc/calc-units.el (calc-lu-quant): Rename from
19610 `calc-logunits-quantity'.
19611 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19612 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19613 (calc-db): Rename from `calc-dblevel'.
19614 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19615 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19616 (calc-np): Rename from `calc-nplevel'.
19617 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19618 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19619 (calc-lu-plus): Rename from `calc-logunits-add'.
19620 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19621 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19622 (calc-lu-minus): Rename from `calc-logunits-sub'.
19623 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19624 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19625 (calc-lu-times): Rename from `calc-logunits-mul'.
19626 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19627 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19628 (calc-lu-divide): Rename from `calc-logunits-div'.
19629 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19630 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19631
19632 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19633 functions being autoloaded.
19634
19635 * calc/calc.el (calc-lu-power-reference): Rename from
19636 `calc-logunits-power-reference'.
19637 (calc-lu-field-reference): Rename from
19638 `calc-logunits-field-reference'.
19639
19640 * calc/calc-help.el (calc-l-prefix-help):
19641 Mention musical note functions.
19642
19643 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19644
19645 * minibuffer.el (completion-all-sorted-completions):
19646 Use :completion-cycle-penalty text property if present.
19647
19648 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19649
19650 * allout.el (allout-yank-processing): Adjust for new rebulleting
19651 regime so bullet being yanked is used without prompting the user
19652 for a choice.
19653
19654 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19655
19656 * startup.el (command-line): Warn the user that _emacs is deprecated.
19657
19658 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19659
19660 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19661 (delphi-verbose, delphi-comment-face, delphi-string-face)
19662 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19663 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19664 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19665 (delphi-new-comment-line, delphi-font-lock-defaults)
19666 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19667 Fix typos in docstrings.
19668
19669 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19670
19671 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19672 Invert the roles of character and string values for INSTEAD, so a
19673 string is used for the more common case of a defaulting prompt.
19674
19675 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19676
19677 * progmodes/ruby-mode.el (ruby-backward-sexp):
19678 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19679 * play/gamegrid.el (gamegrid-make-face):
19680 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19681 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19682 * notifications.el (notifications-notify):
19683 * net/xesam.el (xesam-search-engines):
19684 * net/quickurl.el (quickurl-list-insert):
19685 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19686
19687 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19688
19689 * startup.el (command-line): Update package subdirectory regexp.
19690
19691 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19692
19693 * allout.el (allout-abbreviate-flattened-numbering)
19694 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19695
19696 * subr.el (read-char-choice): Only show the cursor after the prompt,
19697 not after the answer.
19698
19699 2011-03-15 Kevin Ryde <user42@zip.com.au>
19700
19701 * help-fns.el (variable-at-point): Skip leading quotes, if any
19702 (bug#8253).
19703
19704 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19705
19706 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19707 warning message.
19708
19709 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19710
19711 * shell.el (shell): When called interactively, offer to change the
19712 shell file name on remote hosts.
19713
19714 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19715
19716 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19717 integration for LDAP parameters. The host, base, user or binddn,
19718 and secret tokens can be specified in a netrc file, for instance.
19719 This is optional because an `auth-source' parameter must be
19720 specified in the search attributes.
19721
19722 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19723
19724 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19725
19726 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19729 into declaration. Remove redundant and harmful binding.
19730
19731 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19732
19733 * files.el (file-ownership-preserved-p): Pass `integer' as an
19734 explicit 2nd argument to `file-attributes'. If the file's owner
19735 is the Administrators group on Windows, and the current user is
19736 Administrator, consider that a match.
19737
19738 * server.el (server-ensure-safe-dir): Consider server directory
19739 safe on MS-Windows if its owner is the Administrators group while
19740 the current Emacs user is Administrator. Use `=' to compare
19741 numerical UIDs, since they could be integers or floats.
19742
19743 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19744
19745 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19746
19747 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19748
19749 Sync with Tramp 2.2.1.
19750
19751 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19752
19753 * net/trampver.el: Update release number.
19754
19755 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19756
19757 * progmodes/compile.el (compilation--previous-directory): Fix up
19758 various nil/dead-marker mismatches (bug#8014).
19759 (compilation-directory-properties, compilation-error-properties):
19760 Don't call it at a position past the one we're about to change.
19761
19762 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19763 Disable obsolescence warnings in the file that declares it.
19764
19765 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19766
19767 * allout-widgets.el (allout-widgets-tally):
19768 Initialize allout-widgets-tally as a hash table rather than nil to
19769 prevent mode-line redisplay warnings. Also, clarify the module
19770 description and fix a comment typo.
19771
19772 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19773
19774 * help-fns.el (describe-variable): Don't complete keywords.
19775 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19776
19777 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19778
19779 * emacs-lisp/package.el (package-version-join): Impose a standard
19780 string representation for pre/alpha/beta version lists.
19781 (package-unpack-single): Standardize the directory name by passing
19782 it through package-version-join.
19783 (package-strip-rcs-id): Accept any version string that does not
19784 signal an error in version-to-list.
19785
19786 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19787
19788 * simple.el (delete-trailing-whitespace): Return nil for the
19789 benefit of `write-file-functions'.
19790
19791 2011-03-10 Glenn Morris <rgm@gnu.org>
19792
19793 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19794
19795 * vc/vc-git.el (vc-git-program): New option.
19796 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19797 (vc-git--call): Use it.
19798
19799 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19800
19801 * cus-edit.el (Custom-newline): If no button at point, look
19802 for a subgroup button at start-of-line. (Bug#2298)
19803
19804 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19805
19806 2011-03-10 Julien Danjou <julien@danjou.info>
19807
19808 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19809 `cursor-type' is nil.
19810
19811 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19812
19813 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19814
19815 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19816
19817 * allout.el: Change so yank of distinctive-bullet items
19818 preserves the existing header prefix, rebulleting it if necessary,
19819 rather than replacing it. This is necessary for proper operation
19820 of cooperative addons like allout-widgets.
19821 (allout-make-topic-prefix, allout-rebullet-heading):
19822 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19823 value as alternate bullet to be used, instead of prompting the user
19824 for a bullet character.
19825
19826 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19827
19828 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19829 Do not use `tramp-file-name-port', because this returns also
19830 `tramp-default-port'.
19831
19832 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19833
19834 * net/rcirc.el (rcirc-handler-001): Remove useless
19835 with-rcirc-process-buffer.
19836 (rcirc-check-auth-status): Swap arguments to string-match.
19837
19838 2011-03-09 Glenn Morris <rgm@gnu.org>
19839
19840 * shell.el (shell-mode):
19841 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19842
19843 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19844 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19845
19846 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19847
19848 * emacs-lisp/package.el (package-refresh-contents)
19849 (package-menu-execute): Use condition-case-no-debug.
19850
19851 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19852
19853 * simple.el (shell-command-to-string): Use `process-file'.
19854
19855 * emacs-lisp/package.el (package-tar-file-info): Handle also
19856 remote files.
19857
19858 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19859 Use `equal' for upload base check.
19860
19861 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19862
19863 * textmodes/texinfo.el (texinfo-environments):
19864 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19865
19866 2011-03-08 Glenn Morris <rgm@gnu.org>
19867
19868 * cus-start.el (cursor-in-non-selected-windows):
19869 Fix :set quoting oddness. (Bug#8192)
19870
19871 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19872 in some setf expressions. (Bug#2159)
19873
19874 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19875
19876 * custom.el (custom-available-themes): Return themes in
19877 alphabetical order.
19878
19879 See ChangeLog.15 for earlier changes.
19880
19881 ;; Local Variables:
19882 ;; coding: utf-8
19883 ;; End:
19884
19885 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19886
19887 This file is part of GNU Emacs.
19888
19889 GNU Emacs is free software: you can redistribute it and/or modify
19890 it under the terms of the GNU General Public License as published by
19891 the Free Software Foundation, either version 3 of the License, or
19892 (at your option) any later version.
19893
19894 GNU Emacs is distributed in the hope that it will be useful,
19895 but WITHOUT ANY WARRANTY; without even the implied warranty of
19896 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19897 GNU General Public License for more details.
19898
19899 You should have received a copy of the GNU General Public License
19900 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.