* calendar/todos.el (todos-insert-item): Fix last change to make
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
aa91082d
SB
12013-03-14 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el (todos-insert-item): Fix last change to make
4 sure calling insertion "here" from outside goal todo items section
5 gives new item top priority. With priority insertion, if user
6 cancels before setting priority, restore display.
7 (todos-find-item): Restore narrowing after searching.
8 (todos-item-done): Allow adding (same) comment to marked items.
9 Don't add empty comment to done item.
10
426e1d46
SB
112013-03-13 Stephen Berman <stephen.berman@gmx.net>
12
13 * calendar/todos.el (todos-quit): If quitting
14 todos-filtered-items-mode makes todos-mode current, don't call
15 todos-show, which (here wrongly) prompts for a new Todos file.
16 (todos-delete-category): Fix incorrect quotation mark.
17 (todos-set-item-priority): Make prefix argument a no-op with
18 commands for raising or lowering item priority. Move mistakenly
aa91082d 19 placed right paren to end of defun, where it belongs.
426e1d46 20
c898b975
SB
212013-02-25 Stephen Berman <stephen.berman@gmx.net>
22
23 * calendar/todos.el (todos-key-bindings): Add binding for `todos-show'.
24 (todos-show): Prompt for which todo file to visit when invoked
25 from Todos mode.
26
8b38fab9
SB
272013-02-19 Stephen Berman <stephen.berman@gmx.net>
28
29 * calendar/todos.el: Item insertion and done/undo fixes.
30 (todos-insert-item): Maybe set the insertion file to
31 todos-global-current-todos-file. When inserting into a file that
32 was not being visited on invoking this command, ensure chosen
33 category is properly selected. Make item inserted "here" the
34 first todo item if the command was invoked with point in done
35 items section or outside of the current category.
36 (todos-item-done): When done items are shown, put cursor on first
37 just done item.
38 (todos-item-undo): Put cursor on undone item.
39
21d0ff7b
SB
402013-02-16 Stephen Berman <stephen.berman@gmx.net>
41
42 * calendar/todos.el: Improve handling of overlays.
43 (todos-get-overlay): New function.
44 (todos-prefix-overlay): Remove, since subsumed by
45 todos-get-overlay, and replace by the latter in callers.
46 (todos-reset-prefix): Apply only to buffer visiting Todos files.
47 Simplify implementation and use `todos' overlay property.
48 (todos-reset-done-separator): Use todos-get-overlay and `todos'
49 overlay property. Fix logic.
50 (todos-category-select): Use todos-get-overlay and `todos' overlay
51 property.
52 (todos-remove-item): Use todos-get-overlay. Correct obsolete code.
53 (todos-prefix-overlays): Use todos-top-priority face also for
54 non-numerical prefix of top priority items. Add `todos' overlay
55 property.
56 (todos-hide-show-date-time): Simplify, using todos-get-overlay and
57 `todos' overlay property.
58
b117d0fb
SB
592013-02-14 Stephen Berman <stephen.berman@gmx.net>
60
61 * calendar/todos.el (todos-edit-multiline, todos-edit-quit):
62 Revert buffer renaming.
63
cb2077b4
SB
642013-02-11 Stephen Berman <stephen.berman@gmx.net>
65
66 * calendar/todos.el (todos-edit-quit): On quitting file editing,
67 rename buffer back to current Todos file. After selecting
68 category, put point at top instead of recentering.
69
65caf482
SB
702013-02-08 Stephen Berman <stephen.berman@gmx.net>
71
72 * calendar/todos.el (todos-edit-multiline-item): Revert to using
73 indirect buffer, which makes it easier to return to Todos mode.
74 (todos-edit-quit): Don't delete and reinsert items that don't need
75 indenting. Revert to just killing buffer on quitting single item
76 editing. On quitting file editing, select nearest category.
77
0ad8680a
SB
782013-02-07 Stephen Berman <stephen.berman@gmx.net>
79
80 * calendar/todos.el: Bug fixes and improvements to item editing
81 and insertion.
82 (todos-check-format): Compare current value of todos-categories
83 with actual categories sexp.
84 (todos-repair-categories-sexp): Add warning to doc string about
85 category order getting restored to list element order.
86 (todos-mode-external-set): When todos-categories is nil, as in
87 Todos Edit mode, set it by reading actual categories sexp.
88 (todos-edit-mode): Make buffer writeable.
89 (todos-done-item-section-p): New function.
90 (todos-insert-item): Use it as part of preventing insertion here
91 in done items section. Move check for display of done items only
92 to just before setting new item's priority, and if cancelled after
93 toggling to todo items, restore display of done items.
94 (todos-edit-multiline-item): Don't base on todos-edit-multiline
95 but just narrow and change mode.
96 (todos-edit-multiline): Don't make indirect buffer but just widen
97 and change mode; also remove overlays.
98 (todos-edit-quit): Restore Todos mode and category display; when
99 quitting multiline item editing, ensure items above edited item
100 are visible in window if possible.
101 (todos-done-item-add-edit-or-delete-comment): If user moved point
102 during editing, make sure it moves back to edited item before
103 returning.
104
82a9ac45
SB
1052013-02-05 Stephen Berman <stephen.berman@gmx.net>
106
107 * calendar/todos.el (todos-reset-done-separator-string):
108 Complete the implementation.
109 (todos-hide-show-done-items): If start of done items sections is
110 below the bottom of the window, make it visible.
111 (todos-insert-item): Allow inserting item here to work outside of
112 the current category, but then at top of category. After checking
113 whether only done items are shown, restore point to ensure
114 inserting item here works correctly.
115 (todos-set-item-priority): Delete leftover right paren at end.
116
344187df
SB
1172013-02-04 Stephen Berman <stephen.berman@gmx.net>
118
119 * calendar/todos.el: Bug fixes involving or displaying done items.
120 (todos-done-separator): Make length of long separator one less
121 than window-width, in order to avoid following empty line.
122 (todos-forward-item, todos-backward-item): Make empty line below
123 last todo item accessible only by invoking without a numerical
124 prefix argument and make the latter invocations move only to items.
125 (todos-insert-item): Set todos-current-todos-file after selecting
126 buffer, in order not to set global value. If only done items are
127 shown when this command is invoked, toggle to show todo items to
128 avoid insertion into done items section. When done items are
129 shown, protect from cancelling before setting item priority: this
130 also needs recentering to display all items.
131 (todos-set-item-priority): Only call on (not done) todo items.
132 Check that done items are visible not because file is widened.
133 Use only `any' argument of called-interactively-p. Make sure that
134 giving an undone item lowest priority restores it to the todo
135 section.
136 (todos-item-done): If done items are visible on invoking this
137 command, keep them visible afterwards. Stop looking for marked
138 items on reaching the empty line below the last todo item.
139
ab951d1b
SB
1402013-02-02 Stephen Berman <stephen.berman@gmx.net>
141
142 * calendar/todos.el: Several small fixes and improvements.
143 (todos-done-separator-string): Change default value.
144 (todos-update-categories-sexp): Remove unnecessary and misquided
145 setq of todos-default-todos-file. Use delete-region instead of
146 kill-region to avoid polluting kill-ring.
147 (todos-unload-hook): Remove (was not used).
148 (todos-edit-multiline): Don't generate new edit buffer name on
149 each invocation---that can cause confusion due to indirect buffer.
150 (todos-edit-quit): Ensure lines in edit buffer that follow hard
151 newlines are indented in the file to conform to diary format.
152 (todos-set-item-priority): If done items in category are visible,
153 keep them visible.
154
0d6eb162
SB
1552013-01-30 Stephen Berman <stephen.berman@gmx.net>
156
157 * calendar/todos.el: Fix done separator overlay bug. Remove most
158 FIXME comments.
159 (todos-reset-and-enable-done-separator): Remove commented out
160 workaround for done separator overlay bug; fix doc string.
161 (todos-reset-done-separator): Delete old overlay after adding new
162 overlay to fix done separator overlay bug; improve implementation.
163 (todos-prefix-overlays): Improve first line of doc string.
164
1fcf038b
SB
1652013-01-29 Stephen Berman <stephen.berman@gmx.net>
166
167 * calendar/todos.el: Improve item marking and handling of marked items.
168 (todos-prefix): Add validator to ensure value differs from that of
169 todos-item-mark.
170 (todos-item-mark): New defcustom.
171 (todos-prefix-overlay): New function.
172 (todos-marked-item-p): Use it. Adapt implementation to new
173 handling of marked items.
174 (todos-insert-with-overlays): When inserting pushes down a marked
175 item, move its prefix overlay.
176 (todos-prefix-overlays): Add overlay even when prefix is empty string,
177 otherwise item marking fails. Improve handling of marked items.
178 (todos-mark-unmark-item): Adapt to new handling of marked items
179 and simplify by removing marking of all items in category.
180 (todos-mark-category): Adapt to new handling of marked items and
181 don't use todos-mark-unmark-item.
182 (todos-unmark-category): Adapt to new handling of marked items.
183 (todos-delete-item): Remove obsolete handling of marked items and
184 useless restoration of point.
185 (todos-set-item-priority): Use new handling of marked items.
186 (todos-move-item, todos-item-done, todos-item-undo)
187 (todos-archive-done-item): Remove obsolete handling of marked items.
188
e0f6342f
SB
1892013-01-25 Stephen Berman <stephen.berman@gmx.net>
190
191 * calendar/todos.el: Improve definitions and use of some faces.
192 (todos-top-priority): Use current definition of font-lock-constant-face.
193 (todos-diary-expired): Make default value contrast more with
194 default value of todos-date face.
195 (todos-nondiary, todos-category-string): New faces.
196 (todos-nondiary-face, todos-category-string-face): Corresponding
197 new variables.
198 (todos-done, todos-comment): Switch default values to go better
199 with default value of todos-date face.
200 (todos-done-sep): Change default value.
201 (todos-category-string-matcher-1)
202 (todos-category-string-matcher-2): Improve doc string.
203 (todos-font-lock-keywords): Use todos-nondiary-face and
204 todos-category-string-face.
205 (todos-done-separator): Propertize string with todos-done-sep face.
206 (todos-filtered-items-mode): Fix typo.
207
dda6bf79
SB
2082013-01-23 Stephen Berman <stephen.berman@gmx.net>
209
210 * calendar/todos.el: Improve handling of saved top priorities items.
211 (todos-find-item): Find done items and items whose priority has
212 changed or whose text was truncated or augmented; add doc string.
213 (todos-check-top-priorities): Highlight each item that is not up
214 to date.
215 (todos-jump-to-item): Jump to items whose priority has changed or
216 whose text was truncated or augmented.
217
c523b0aa
SB
2182013-01-22 Stephen Berman <stephen.berman@gmx.net>
219
220 * calendar/todos.el: Revise handling of initial display and extend
221 to top priorities file.
222 (todos-display-categories-first): Remove, replacing by this:
223 (todos-show-first): New defcustom.
224 (todos-first-visit): Remove, replacing by this:
225 (todos-visited): New variable.
226 (todos-absolute-file-name): Extend possible values of optional
227 argument to take top priorities files into account.
228 (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
229 (todos-mode-external-set): Call find-file-noselect instead of
230 find-buffer-visiting, since the latter may fail.
231 (todos-show): Revise handling of initial display using
232 todos-show-first and todos-visited and extend to top priorities
233 file.
234 (todos-quit): Adapt to new handling of initial display.
235
20166aea
SB
2362013-01-14 Stephen Berman <stephen.berman@gmx.net>
237
238 * calendar/todos.el: Implement saving top priority items buffers,
239 improve implementation of item filtering commands and
240 infrastucture, and fix two bugs.
241 (todos-prefix-overlays): Use todos-top-priority face only in Todos
242 mode.
243 (todos-multiple-filter-files): Get file-truename of Todos file.
244 (todos-filter-items): Pass a list of files from the caller instead
245 of building it here, and move handling of cancelled file selection
246 dialog to callers. Correct omission of file-wide default number
247 of top priorities.
248 (todos-filtered-buffer-name): Treat file-list argument only as a list.
249 (todos-find-item, todos-check-top-priorities)
250 (todos-top-priorities-filename)
251 (todos-save-top-priorities-buffer): New functions.
252 (todos-save): Use todos-save-top-priorities-buffer.
253 (todos-jump-to-item): Refactor and use todos-find-item.
254 (todos-top-priorities): Simplify semantics of prefix argument.
255 Check if top priorities file exists and if so, visit it, reporting
256 whether it is up to date. Add optional argument and use it to
257 handle multiple files.
258 (todos-diary-items, todos-regexp-items): Add optional argument and
259 use it to handle multiple files.
260 (todos-top-priorities-multifile, todos-diary-items-multifile)
261 (todos-regexp-items-multifile): Refactor, using corresponding
262 non-multifile command.
263 (auto-mode-alist): Add pattern for top priorities files to visit
264 these in Todos Filtered Items mode.
265
b58fa72f
SB
2662013-01-08 Stephen Berman <stephen.berman@gmx.net>
267
268 * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
269 (todos-adjusted-category-label-length): New function.
270 (todos-padded-string): Use it.
271
c4bf3e3d
SB
2722013-01-08 Stephen Berman <stephen.berman@gmx.net>
273
274 * calendar/todos.el (todos-move-item): Allow moving done items to
275 done section of another category.
276
3a898abe
SB
2772013-01-06 Stephen Berman <stephen.berman@gmx.net>
278
279 * calendar/todos.el: Display numerical priority string of top
280 priority items in category in a distinctive face.
281 (todos-prefix-string): Make doc string more precise.
282 (todos-top-priority): New defface.
283 (todos-done, todos-done-sep): Use more compact face definition
284 \(taken from font-lock.el).
285 (todos-comment): Give a complete face definition, instead of
286 inheriting from todos-done.
287 (todos-font-lock-keywords): Use todos-comment-face for
288 todos-comment-string-matcher.
289 (todos-prefix-overlays): Use todos-top-priority as the face
290 property of top priority items; don't condition reapplying item
291 prefix overlay on whether the string changed, since that prevents
292 updating display after changing number of top priorities.
293 (todos-set-top-priorities): Call todos-prefix-overlays to update
294 display.
295
a1a7d89e
SB
2962013-01-04 Stephen Berman <Stephen.Berman@rub.de>
297
298 * calendar/todos.el (todos-reset-global-current-todos-file)
299 (todos-display-categories-1): Use absolute name of
300 todos-default-todos-file.
301
12983a8a
SB
3022013-01-04 Stephen Berman <Stephen.Berman@rub.de>
303
304 * calendar/todos.el (todos-insert-item): Fix copy and paste error
305 from previous change.
306
a2730169
SB
3072013-01-03 Stephen Berman <stephen.berman@gmx.net>
308
309 * calendar/todos.el: Implement extended category completions.
310 (todos-default-todos-file): Change default value to correct custom
311 type.
312 (todos-category-completions-files): New defcustom.
313 (todos-reevaluate-category-completions-files-defcustom)
314 (todos-absolute-file-name, todos-category-completions): New defuns.
315 (todos-reevaluate-filelist-defcustoms):
316 Add todos-category-completions-files and
317 todos-reevaluate-category-completions-files-defcustom.
318 (todos-allcats-file, todos-all-categories-alist)
319 (todos-jump-to-category-other-file, todos-jump-to-any-category)
320 (todos-move-item-to-file): Remove (todos-all-categories-alist both
321 as defvar and as defun).
322 (todos-read-category): Rewrite using extended category completions
323 and better handling of completion against existing or non-existing
324 categories.
325 (todos-validate-name): Correct doc string; use local instead of
326 dynamic variables in function body.
327 (todos-insert-category-line): Adjust use of todos-jump-to-category
328 to new argument list.
329 (todos-key-bindings, todos-menu): Delete entries for removed
330 commands.
331 (todos-show): Get absolute name of todos-default-todos-file;
332 add `nowarn' argument to find-file-noselect; adjust use of
333 todos-add-category to new argument list.
334 (todos-jump-to-category): Rewrite using extended category
335 completions; reverse argument list, adapting FILE argument to new
336 completion mechanism; add autoload cookie; call todos-show if
337 there are no Todos files.
338 (todos-add-category): Rewrite using extended category completions;
339 add FILE argument to accommodate new completion mechanism.
340 (todos-merge-category): Adapt to extended category completions,
341 adding prefix argument.
342 (todos-insert-item): Adapt to extended category completions; use
343 todos-read-category instead of todos-jump-to-category in prefix
344 argument calls; call todos-show if there are no Todos files; if
345 item is inserted at end of category, recenter to ensure the items
346 above it are displayed in the window.
347 (todos-move-item): Adapt to extended category completions, making
348 argument prefix argument; allow moving within category (for the
349 sake of code simplification); add `nowarn' argument to
350 find-file-noselect.
351 (todos-archive-done-item): Prevent error when attempting to
352 archive not-done todo item; adjust use of todos-add-category to
353 new argument list.
354
1754db29
SB
3552012-12-15 Stephen Berman <stephen.berman@gmx.net>
356
357 * calendar/todos.el (todos-archive-done-item): Fix archiving of
358 all done items in a category and resulting display of todo file.
359
86ea3fbd
SB
3602012-12-14 Stephen Berman <stephen.berman@gmx.net>
361
362 * calendar/todos.el (todos-priorities-rules): Fix customization
363 type to prevent mismatch error.
364 (todos-set-top-priorities): Fix rule construction; fix input check;
365 improve prompt.
366
d9f80d44
SB
3672012-12-14 Stephen Berman <stephen.berman@gmx.net>
368
369 * calendar/todos.el (todos-insert-item): If user exits Calendar
370 before choosing a date, cancel item insertion.
371 (todos-set-date-from-calendar): If user exits Calendar before
372 choosing a date, clean up properly.
373
d16da867
SB
3742012-12-12 Stephen Berman <stephen.berman@gmx.net>
375
376 * calendar/todos.el: Extend and improve handling of item editing,
377 especially of date/time header.
378 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
379 (todos-date-pattern): Use explicitly numbered groups.
380 (todos-read-date): Optionally read and return just one of the date
381 string components year, month or monthname, day.
382 (todos-key-bindings): Add bindings for new item header editing
383 commands.
384 (todos-edit-item): Exclude date/time header from minibuffer by
385 default; include it by passing a prefix argument.
386 (todos-edit-item-header-1): New function containing the guts of
387 the commands for editing item date/time headers.
388 (todos-edit-item-header): Use it. Condition editing of time
389 string on value of `todos-always-add-time-string'.
390 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
391 (todos-edit-item-date-to-today): Rename from
392 todos-edit-item-date-is-today and use todos-edit-item-header-1.
393 (todos-edit-item-date): Remove.
394 (todos-edit-item-date-day-name, todos-edit-item-date-year)
395 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
396
bbf95285
SB
3972012-12-02 Stephen Berman <stephen.berman@gmx.net>
398
399 * calendar/todos.el (todos-show): Fix a comment.
400 (todos-add-category): Prompt for a new category if passed category
401 is the empty string, not nil.
402
11aa0eef
SB
4032012-11-26 Stephen Berman <stephen.berman@gmx.net>
404
405 * calendar/todos.el (todos-make-categories-list)
406 (todos-convert-legacy-files, todos-jump-to-item)
407 (todos-move-category, todos-merge-category)
408 (todos-archive-done-item, todos-unarchive-items): Include end of
409 line in regex searches for beginning of category, in order not to
410 get a category whose name contains the searched for category name.
411
45e4a397
SB
4122012-11-15 Stephen Berman <stephen.berman@gmx.net>
413
414 * calendar/todos.el (todos-forward-category): Fix typo.
415
59ad682f
SB
4162012-10-30 Stephen Berman <stephen.berman@gmx.net>
417
418 * calendar/todos.el (todos-define-insertion-command):
419 Let generated insertion commands accept a prefix argument.
420
fec0fdae
SB
4212012-10-08 Stephen Berman <Stephen.Berman@rub.de>
422
423 * calendar/todos.el (todos-move-item): If user quits before
11aa0eef 424 completing movement, restore display of initial category; if item
fec0fdae
SB
425 is moved to end of target category, make sure the items above it
426 are displayed in the window.
427
57da062d
SB
4282012-10-08 Stephen Berman <stephen.berman@gmx.net>
429
430 * calendar/todos.el: Fixes to todos-move-item and some of its
431 subroutines.
432 (todos-move-item): When there are marked items, point need not be
433 on an item; remove obsolete use of todos-add-category, since this
434 is now already done in todos-read-category; fix typo.
435 (todos-diary-item-p): Exclude empty lines.
436 (todos-read-category): Restore point and narrowing after adding
437 new category, to avoid moving to beginning of file when moving
438 marked items to a new category.
439 (todos-set-item-priority): Prompt for priority only when the
440 category has at least one todo item; only use non-nil priority to
441 calculate insertion location.
442 (todos-read-category): Don't reset todos-categories when a new
443 category is added due to todos-move-item or todos-jump-to-item.
444
fd6c6328
SB
4452012-09-24 Stephen Berman <stephen.berman@gmx.net>
446
bbf95285 447 Changes from 2012-07-14 (revision 110020).
fd6c6328
SB
448 * calendar/todos.el (todos-copy-item): New command.
449 (todos-insertion-map): Add key binding for it.
450
1a9cb339
SB
4512012-09-24 Stephen Berman <stephen.berman@gmx.net>
452
bbf95285 453 Changes from 2012-07-13 (revision 110019).
1a9cb339
SB
454 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
455 (todos-item-undo): Use it.
456 (todos-allcats-file, todos-all-categories-alist): New variables.
457 (todos-all-categories-alist): New function.
458 (todos-jump-to-any-category): New command.
459 (todos-move-item): Remove mark overlays from buffer items were
460 moved from; update todos-categories-with-marks,
461
36341a66
SB
4622012-09-24 Stephen Berman <stephen.berman@gmx.net>
463
bbf95285 464 Changes from 2012-06-27 (revision 110018).
36341a66
SB
465 * calendar/todos.el: Further code rearrangement; further new and
466 revised comments.
467 (todos-reevaluate-filelist-defcustoms): Rename from
468 todos-reevaluate-defcustoms and adjust callers.
469 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
470 (todos-date-string-start, todos-done-string-start)
471 (todos-item-start): Change from defvar to defconst.
472 (todos-set-top-priorities): Use read-number and simplify.
473 (todos-insert-item): Check whether date-type argument is a string.
474 (todos-set-date-from-calendar): Check whether
475 todos-date-from-calendar is a string; simplify cond clause.
476 (todos-archive-done-item, todos-unarchive-items):
477 Use buffer-substring-no-properties.
478
3160f2eb
SB
4792012-09-23 Stephen Berman <stephen.berman@gmx.net>
480
bbf95285 481 Changes from 2012-06-25 (revision 110017).
3160f2eb
SB
482 * calendar/todos.el (todos-item-undo): Fix restoration on
483 cancelling; use buffer-substring-no-properties; comment out code
484 removing mark overlay; fix insertion of undone items; display any
485 remaining done items.
486
18aef8a3
SB
4872012-09-23 Stephen Berman <stephen.berman@gmx.net>
488
bbf95285 489 Changes from 2012-06-24 (revision 110016).
18aef8a3
SB
490 * calendar/todos.el: Further significant code rearrangement;
491 further comment revision.
492 (todos-mode-display): New defgroup.
493 (todos-prefix, todos-number-priorities)
494 (todos-done-separator-string, todos-done-string)
495 (todos-comment-string, todos-show-with-done)
496 (todos-mode-line-function, todos-skip-archived-categories)
497 (todos-highlight-item, todos-wrap-lines)
498 (todos-line-wrapping-function): Use it.
499 (todos-item-insertion): New defgroup.
500 (todos-include-in-diary, todos-diary-nonmarking)
501 (todos-nondiary-marker, todos-always-add-time-string)
502 (todos-use-only-highlighted-region): Use it.
503 (todos-forward-button, todos-backward-button): New commands.
504 (todos-categories-mode-map): Use them, replacing forward-button
505 and backward-button.
506 (todos-merge-category): Fix and improve implementation; handle
507 archived items.
508 (todos-insert-item, todos-set-date-from-calendar): Handle setting
509 date by calling todos-insert-item-from-calendar.
510 (todos-delete-item): Fix overlay handling.
511 (todos-move-item): Highlight item to be moved.
512 (todos-item-undo): Handle marked items.
513 (todos-insert-item-from-calendar): Rewrite using
514 todos-date-from-calendar.
515
616ffa8b
SB
5162012-09-23 Stephen Berman <stephen.berman@gmx.net>
517
bbf95285 518 Changes from 2012-06-21 (revision 110015).
616ffa8b
SB
519 * calendar/todos.el: Further comment revision.
520 (todos-sorted-column): Change default value, also taking tty into
521 account.
522 (todos-reset-done-separator): Fix faulty variable binding.
523 (todos-reset-and-enable-done-separator): Save match data; comment
524 out code that causes problems for Edebug.
525 (todos-item-start): Handle empty line between todo and done items
526 when done items are hidden.
527 (todos-read-date): Use a leap year for `*' to allow
528 calendar-last-day-of-month to return Feb. 29.
529 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
530 (todos-filtered-items-mode): Delete faulty parentheses.
531 (todos-quit): Save Todos and archive files unconditionally.
532 (todos-forward-item): Accept only positive prefix argument.
533 (todos-backward-item): Accept only positive prefix argument; don't
534 move point to beginning of buffer if it is on the first item.
535 (todos-hide-show-date-time): Remove obsolete interactive spec.
536 (todos-move-category): Improve prompt string; ensure file moved to
537 is different from file moved from.
538 (todos-merge-categories): Remove.
539 (todos-set-category-priority): New command.
540 (todos-raise-category-priority, todos-lower-category-priority):
541 Use it to define these commands.
542 (todos-set-item-priority): Rewrite and generalize.
543 (todos-raise-item-priority, todos-lower-item-priority): Use it to
544 define these commands.
545
d9be0d35
SB
5462012-09-23 Stephen Berman <stephen.berman@gmx.net>
547
bbf95285 548 Changes from 2012-06-15 (revision 110014).
d9be0d35
SB
549 * calendar/todos.el (todos-reset-done-separator)
550 (todos-reset-and-enable-done-separator): New functions.
551 (todos-reset-done-separator-string): Rewrite using
552 todos-reset-done-separator for string longer than 1 character.
553 (todos-mode): Add todos-reset-and-enable-done-separator to
554 window-configuration-change-hook, replacing previous anonymous
555 function.
556 (todos-unload-hook): And remove it.
557
144faf47
SB
5582012-09-23 Stephen Berman <stephen.berman@gmx.net>
559
bbf95285 560 Changes from 2012-06-14 (revision 110013).
144faf47
SB
561 * calendar/todos.el (todos-done-separator-string): New defcustom.
562 (todos-done-separator): New variable replacing defcustom of the
563 same name.
564 (todos-reset-done-separator-string, todos-done-separator):
565 New functions.
566 (todos-mode): Make function added to
567 window-configuration-change-hook do a better job of updating the
568 done items separator string overlay.
569 (todos-unload-hook): Remove it here.
570 (todos-item-undo): Fix search for item's end.
571
a820dfe8
SB
5722012-09-23 Stephen Berman <stephen.berman@gmx.net>
573
bbf95285 574 Changes from 2012-06-03 (revision 110012).
a820dfe8
SB
575 * calendar/todos.el: Further comment revision.
576 (todos-sorted-column): Change default value.
577 (todos-item-start): Handle empty category (needed in
578 todos-filter-items).
579 (todos-read-date): Don't use calendar-read; make code cleaner.
580 (todos-multiple-filter-files): Rename this variable from
581 todos-multiple-files and adjust users.
582 (todos-multiple-filter-files-widget): Rename from
583 todos-multiple-files-widget and adjust users.
584 (todos-multiple-filter-files): Rename this function from
585 todos-multiple-files and adjust callers.
586 (todos-filter-items): Remove unused code.
587 (todos-insert-category-line): Add space so highlighting of last
588 column is consistent with the others; adjust display of column
589 highlighting.
590 (todos-menu): Remove obsolete entry.
591 (todos-categories-mode-map): Add new bindings.
592 (todos-display-categories-alphabetically-or-by-priority): New command.
593 (todos-display-categories-sorted-by-todo)
594 (todos-display-categories-sorted-by-diary)
595 (todos-display-categories-sorted-by-done)
596 (todos-display-categories-sorted-by-archived): Restore and fix
597 implementation.
598
b28872ce
SB
5992012-09-23 Stephen Berman <stephen.berman@gmx.net>
600
bbf95285 601 Changes from 2012-06-02 (revision 110011).
b28872ce
SB
602 * calendar/todos.el: Significant code rearrangement; further
603 comment revision.
604 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
605 adjust users.
606 (todos-filtered-buffer-name): Rename from
607 todos-special-buffer-name and adjust users.
608 (todos-filtered-items-mode-map): Rename from
609 todos-filter-items-mode-map and adjust users.
610 (todos-mode-external-set): Use todos-categories instead of
611 todos-set-categories (and add comment to check if this DTRT).
612 (todos-filtered-items-mode): Rename from todos-filter-items-mode
613 and adjust users.
614 (todos-add-category): Don't call todos-validate-name, since
615 todos-read-category does.
616 (todos-edit-quit): Use todos-repair-categories-sexp.
617 (todos-done-item-add-edit-or-delete-comment): Rename from
618 todos-done-item-add-or-edit-comment and adjust users; add optional
619 argument to prompt to delete comment.
620 (todos-item-undo): Delete done item comment on undoing if user
621 confirms.
622
abe748f5
SB
6232012-09-22 Stephen Berman <stephen.berman@gmx.net>
624
bbf95285 625 Changes from 2012-06-02 (revision 110010).
abe748f5
SB
626 * calendar/todos.el: Further code rearrangement and comment
627 revision.
628 (todos-item-start): Handle empty line between todo and done items
629 when done items are displayed.
630 (todos-key-bindings): Comment out bindings meant only for
631 todos-archive-mode.
632 (todos-archive-mode-map): Fix typo.
633 (todos-archive-mode): Derive from special-mode instead of
634 todos-mode to prevent its key bindings from being available here.
635 (todos-archive-done-item): Remove obsolete code; fix item count
636 updating.
637 (todos-unarchive-items): Simplify; fix unarchiving of all items in
638 category; fix item count updating; fix typo.
639
6be04162
SB
6402012-09-22 Stephen Berman <stephen.berman@gmx.net>
641
bbf95285 642 Changes from 2012-06-01 (revision 110009).
6be04162
SB
643 * calendar/todos.el: Further code rearrangement and comment
644 revision.
645 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
646 (todos-file-buffers): New variable.
647 (todos-reset-global-current-todos-file): Use it to simplify
648 implementation of this function.
649 (todos-filtered): New defgroup.
650 (todos-filter-buffer, todos-top-priorities-buffer)
651 (todos-diary-items-buffer, todos-regexp-items-buffer)
652 (todos-priorities-rules, todos-show-priorities)
653 (todos-filter-files, todos-filter-done-items): Use it.
654 (todos-skip-archived-categories): Rename from
655 todos-ignore-archived-categories and adjust users.
656 (todos-display-as-todos-file): Rename from todos-after-find-file
657 and adjust callers.
658 (todos-reset-highlight-item, todos-mode-external-set)
659 (todos-jump-to-category, todos-jump-to-item)
660 (todos-raise-category-priority, todos-insert-item)
661 (todos-move-item): Use find-file-visiting.
662 (todos-make-categories-list): Use file-truename.
663 (todos-display-categories-1): Adjust title text for archive files;
664 use done label for item counts in archive files.
665 (todos-modes-set-3): Add todos-display-as-todos-file to
666 find-file-hook.
667 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
668 todos-update-buffer-list post-command-hook.
669 (todos-unload-hook): And remove them.
670 (todos-show): Only when interactively invoked from an archive,
671 switch to corresponding Todos file.
672 (todos-archive-done-item): Remove obsolete code; fix handling of
673 marked items; fix search for existing category; check whether
674 archive exists and write to file if not; improve display handling.
675
0833689a
SB
6762012-09-21 Stephen Berman <stephen.berman@gmx.net>
677
bbf95285 678 Changes from 2012-05-29 (revision 110008).
0833689a
SB
679 * calendar/todos.el: Further comment revision.
680 (todos-item-end): Replace use of command todos-forward-item by
681 regexp searches using internal variables.
682 (todos-raise-category-priority): Improve and comment.
683 (todos-insert-item): Fix insertion of empty time string.
684
7464f422
SB
6852012-09-21 Stephen Berman <stephen.berman@gmx.net>
686
bbf95285 687 Changes from 2012-05-29 (revision 110007).
7464f422
SB
688 * calendar/todos.el (todos-ignore-archived-categories):
689 Revert last change; remove :initialize and :set functions; change
690 use and change users accordingly.
691 (todos-reset-categories, todos-categories-full)
692 (todos-truncate-categories-list): Remove.
693 (todos-set-categories, todos-update-categories-sexp):
694 Use todos-categories instead of todos-categories-full; remove use
695 of todos-ignore-archived-categories and
696 todos-truncate-categories-list.
697 (todos-check-format, todos-repair-categories-sexp):
698 Use todos-categories instead of todos-categories-full.
699 (todos-read-category): Improve last change.
700 (todos-validate-name): Use completing-read.
701 (todos-categories-category-number): Rename from
702 todos-category-number and adjust users.
703 (todos-update-categories-display, todos-mode-external-set)
704 (todos-delete-category, todos-move-category, todos-merge-category)
705 (todos-unarchive-items): Remove use of todos-categories-full and
706 todos-ignore-archived-categories.
707 (todos-modes-set-3, todos-add-category): Remove use of
708 todos-categories-full.
709 (todos-edit-mode): Fix typo.
710 (todos-forward-category): Use todos-ignore-archived-categories.
711
4de20201
SB
7122012-09-21 Stephen Berman <stephen.berman@gmx.net>
713
bbf95285 714 Changes from 2012-05-28 (revision 110006).
4de20201
SB
715 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
716 (todos-ignore-archived-categories): Change default value.
717
459c6e93
SB
7182012-09-21 Stephen Berman <stephen.berman@gmx.net>
719
bbf95285 720 Changes from 2012-05-27 (revision 110005).
459c6e93
SB
721 * calendar/todos.el: Further comment revision.
722 (todos-reset-global-current-todos-file):
723 Try to make this not slow down kill-buffer.
724 (todos-update-categories-sexp): Handle the case where there is no
725 categories sexp yet, i.e. after inserting the first item in the
726 file, so todos-display-categories works.
727 (todos-read-file-name): Improve implementation.
728 (todos-validate-name): Use variable todos-files.
729 (todos-category-number): New variable.
730 (todos-insert-category-line, todos-update-categories-display)
731 (todos-raise-category-priority): Use it.
732 (todos-add-file): Remove unused remnant code.
733
2a9e69d6
SB
7342012-09-21 Stephen Berman <stephen.berman@gmx.net>
735
bbf95285 736 Changes from 2012-05-25 (revision 110004).
2a9e69d6
SB
737 * calendar/todos.el: Further comment revision.
738 (todos-set-item-top-priority): New command.
739 (todos-reset-global-current-todos-file):
740 Use todos-files-function instead of todos-files.
741 (todos-read-category): Add optional argument to test whether
742 caller adds new category; if so, don't prompt for new category and
743 don't restore original todos-categories list.
744 (todos-categories-mode-map): Update to renamed commands.
745 (todos-filter-items-mode-map): Add binding for new command.
746 (todos-mode): Fix typo.
747 (todos-show): If called from archive file, show corresponding
748 category in Todos file, if it exists.
749 (todos-jump-to-category): Remove code to add new category, since
750 todos-read-category can do that.
751 (todos-add-file): Remove obsolete code; visit new file in selected
752 window.
753 (todos-add-category): Simplify.
754 (todos-rename-category): Use force-mode-line-update instead of
755 setting mode-line-buffer-identification.
756 (todos-delete-category): Improve logic of prompts; use
757 todos-categories-full and check todos-ignore-archived-categories.
758 (todos-raise-category-priority, todos-lower-category-priority):
759 Rename from todos-{raise,lower}-category and adjust callers.
760 (todos-move-category, todos-merge-category):
761 Set todos-categories-full; on setting todos-categories check
762 todos-ignore-archived-categories.
763 (todos-insert-item): Let-bind use-empty-active-region and use
764 use-region-p instead of transient-mark-mode.
765 (todos-raise-item-priority): Improve implementation.
766 (todos-archive-done-item): Rename from
767 todos-archive-done-item-or-items and adjust callers; confine to
768 Todos mode.
769 (todos-unarchive-items): On setting todos-categories check
770 todos-ignore-archived-categories.
771
47011bed
SB
7722012-09-21 Stephen Berman <stephen.berman@gmx.net>
773
bbf95285 774 Changes from 2012-05-23 (revision 110003).
47011bed
SB
775 * calendar/todos.el (todos-key-bindings): Remove binding of
776 deleted command.
777 (todos-menu): Remove entry of deleted command.
778 (todos-show-archive): Fix last change.
779 (todos-done-item-add-or-edit-comment): Rename from
780 todos-comment-done-item and adjust callers; prompt to edit an
781 existing comment.
782
3af3cd0b
SB
7832012-09-21 Stephen Berman <stephen.berman@gmx.net>
784
bbf95285 785 Changes from 2012-05-22 (revision 110002).
2a9e69d6 786 * calendar/todos.el (todos-set-show-current-file): Rename from
3af3cd0b
SB
787 todos-toggle-show-current-file and adjust callers.
788 (todos-number-priorities): Rename from todos-number-prefix and
789 adjust users.
790 (todos-update-count): Rename from todos-set-count and adjust
791 callers.
792 (todos-hide-show-item-numbering): Rename from
793 todos-toggle-item-numbering and adjust callers.
794 (todos-hide-show-done-items): Rename from
795 todos-toggle-view-done-items and adjust callers.
796 (todos-show-done-only): Rename from todos-toggle-show-done-only.
797 (todos-view-archived-items): Comment out.
798 (todos-show-archive): Prompt to choose another archive file if
799 current Todos file lacks an archive; prompt to visit archive
800 anyway when current category has no archived items.
801
78fe7289
SB
8022012-09-21 Stephen Berman <stephen.berman@gmx.net>
803
bbf95285 804 Changes from 2012-05-21 (revision 110001).
78fe7289
SB
805 * calendar/todos.el: Further comment revision and code
806 rearrangement.
807 (todos-item-end): Revert last change.
808 (todos-key-bindings, todos-menu, todos-archive-mode-map)
809 (todos-filter-items-mode-map): Use renamed commands.
810 (todos-hide-show-date-time): Rename from
811 todos-toggle-display-date-time.
812 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
813 adjust caller.
814 (todos-backward-item): Exempt special handling only from
815 todos-regexp-items-buffer instead of todos-filter-items-mode.
816 (todos-raise-item-priority): Don't allow item reprioritizing in
817 Todos filter items mode except for top priority items.
818
520d912e
SB
8192012-09-21 Stephen Berman <stephen.berman@gmx.net>
820
bbf95285 821 Changes from 2012-05-19 (revision 110000).
520d912e
SB
822 * calendar/todos.el: Add and revise further doc strings and
823 comments.
824 (todos-filter-function, todos-custom-items)
825 (todos-custom-items-multifile): Remove.
826 (todos-filter-done-items): New defcustom.
827 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
828 (todos-filter-items): Check return value of caller first; tag
829 archived items for todos-jump-to-item; delete categories sexp
830 before processing filter; check todos-filter-done-items for
831 whether to leave done items; remove custom filter; fix regexp for
832 file and category tags; don't invoke buffer fontification.
833 (powerset-recursive): Fix typo.
834 (todos-key-bindings): Remove unused bindings.
835 (todos-top-priorities-multifile, todos-diary-items-multifile)
836 (todos-regexp-items-multifile): Use variable todos-multiple-files.
837 (todos-jump-to-item): Fix regexp; handle archive tags; take
838 todos-filter-done-items into account.
839 (todos-insert-item-from-calendar): Relocate to end of file
840 together with key-binding as addition to calendar.el.
841
0e89c3fc
SB
8422012-09-20 Stephen Berman <stephen.berman@gmx.net>
843
bbf95285 844 Changes from 2012-05-17 (revision 109999).
520d912e 845 * calendar/todos.el: Add and revise further doc strings and
0e89c3fc
SB
846 comments; major code rearrangement.
847 (todos-merged-files, todos-prompt-merged-files)
848 (todos-print-priorities, todos-tmp-buffer-name)
849 (todos-top-priorities-widgets, todos-update-merged-files)
850 (todos-merged-top-priorities, todos-merged-diary-items)
851 (todos-merged-regexp-items, todos-merged-custom-items)
852 (todos-raw-mode, todos-change-default-file)
853 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
854 (todos-toggle-diary-nonmarking, todos-validate-category-name):
855 Remove.
856 (todos-category-string-matcher): Comment out.
857 (todos-categories): New defgroup.
858 (todos-initial-file, todos-filter-buffer)
859 (todos-top-priorities-buffer, todos-categories-category-label)
860 (todos-diary-items-buffer, todos-regexp-items-buffer)
861 (todos-custom-items-buffer, todos-filter-files)
862 (todos-highlight-item, todos-todo-mode-date-time-regexp):
863 New defcustoms.
864 (todos-diary-expired): New face.
865 (todos-print-buffer, todos-multiple-files)
866 (todos-multiple-files-widget, todos-key-bindings): New variables.
867 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
868 (todos-special-buffer-name)
869 (todos-reevaluate-filter-files-defcustom)
870 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
871 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
872 (todos-diary-expired-matcher, todos-category-string-matcher-1)
873 (todos-category-string-matcher-2, todos-repair-categories-sexp)
874 (todos-validate-name, todos-multiple-files)
875 (todos-display-categories-1, todos-update-categories-display)
876 (todos-modes-set-3, todos-mode-external-set): New functions.
877 (todos-set-top-priorities-in-file)
878 (todos-set-top-priorities-in-category)
879 (todos-top-priorities-multifile, todos-diary-items-multifile)
880 (todos-regexp-items-multifile, todos-custom-items-multifile)
881 (todos-convert-legacy-files, todos-jump-to-item)
882 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
883 (todos-edit-item-diary-inclusion)
884 (todos-edit-category-diary-inclusion)
885 (todos-edit-item-diary-nonmarking)
886 (todos-edit-category-diary-nonmarking): New commands.
887 (todos, todos-faces): Update :version.
888 (todos-done-separator, todos-completion-ignore-case):
889 Change default value.
890 (todos-done-separator): Change :set function.
891 (todos-indent-to-here): Add :validate function to :type.
892 (todos-prefix-string, todos-mark, todos-button)
893 (todos-sorted-column, todos-archived-only, todos-search)
894 (todos-done, todos-done-sep): Provide full face definitions
895 instead of inheriting.
896 (todos-edit-buffer, todos-categories-buffer): Change from
897 defcustom to defvar.
898 (todos-category-beg, todos-category-done): Change from defvar to
899 defconst.
900 (todos-files): Check if todos-files-directory exists.
901 (todos-default-todos-file, todos-mode-line-control, todos-print):
902 Use todos-short-file-name.
903 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
904 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
905 todos-category-string-matcher-2, todos-diary-expired-matcher.
906 (todos-category-select): Use todos-done-string-start, and
907 condition search on todos-show-with-done; don't make display
908 overlay for done items separator string if there already is one;
909 use todos-highlight-item, require hl-line and activate
910 hl-line-mode here in order to avoid a hang if done in todos-mode
911 or the mode hook.
912 (todos-update-categories-sexp): Use todos-categories-full if set,
913 otherwise todos-categories.
914 (todos-make-categories-list): Don't test for archive file when
915 processing a legacy todo-mode file.
916 (todos-check-format): Add check for todos-categories sexp.
917 (todos-diary-item-p): Use todos-nondiary-start instead of
918 todos-date-pattern.
919 (todos-marked-item-p): Rename from todos-item-marked-p.
920 (todos-read-file-name): Don't accept empty name; validate.
921 (todos-read-category): Validate new name before prompting whether
922 to add new category; force quit if user answers no.
923 (todos-filter-items): Improve implementation.
924 (todos-set-top-priorities): Rewrite as a noninteractive function
925 using minibuffer input instead of widgets.
926 (todos-insert-sort-button): Call todos-display-sorted with
927 argument nil to display categories in numerical order, instead of
928 calling todos-display-categories.
929 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
930 Common Lisp powerset function at
931 http://rosettacode.org/wiki/Power_set#Common_Lisp.
932 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
933 powerset function at http://rosettacode.org/wiki/Power_set#C.
934 (todos-powerset): Defalias to powerset-bitwise.
935 (todos-mode-map): Generate from todos-key-bindings instead of
936 listing each key definition.
937 (todos-categories-mode-map): Add two bindings.
938 (todos-filter-items-mode-map): Add some bindings, remove others.
939 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
940 function setting todos-done-separator to
941 window-configuration-change-hook.
942 (todos-unload-hook): Remove function setting todos-done-separator
943 from window-configuration-change-hook.
944 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
945 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
946 (todos-categories-mode): Derive from special-mode; use
947 todos-mode-external-set.
948 (todos-filter-items-mode): Derive from special-mode.
949 (todos-quit): Save archive file if it hasn't yet been saved.
950 (todos-display-categories): Delegate all functionality to
951 todos-display-categories-1 and todos-update-categories-display.
952 (todos-toggle-view-done-items): Improve implementation.
953 (todos-highlight-item): Require hl-line.
954 (todos-toggle-display-date-time): Remove argument and make it
955 apply only to whole file.
956 (todos-top-priorities, todos-diary-items, todos-regexp-items)
957 (todos-custom-items): Use todos-special-buffer-name.
958 (todos-add-file): Use todos-short-file-name and
959 todos-reevaluate-defcustoms; remove validation, since it's now
960 done in todos-read-file-name.
961 (todos-add-category): Also update todos-categories-full if non-nil.
962 (todos-delete-category): Delete file after confirmation if only
963 category is deleted.
964 (todos-move-category): Use todos-short-file-name and
965 todos-reevaluate-defcustoms.
966 (todos-insert-item): Fix getting date from the calendar and
967 insertion of time string.
968 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
969 display of diary entries.
970 (todos-edit-multiline): Add optional argument to restrict editing
971 buffer to current item, otherwise make entire buffer (i.e. whole
972 file) editable.
973 (todos-edit-quit): When whole file is editable, check file format
974 validity before killing buffer, and if valid, recalculate
975 categories sexp to be safe.
976 (todos-edit-item-header): Allow choosing date from calendar.
977 (todos-item-done): Handle marked items.
978
697bd4a3
SB
9792012-09-19 Stephen Berman <stephen.berman@gmx.net>
980
bbf95285 981 Changes from 2011-12-03 (revision 109998).
697bd4a3
SB
982 * calendar/todos.el (todos-item-start): Restore commented out code
983 to prevent wrongly moving point in widened buffer.
984
58c7641d
SB
9852012-09-19 Stephen Berman <stephen.berman@gmx.net>
986
bbf95285 987 Changes from 2011-12-02 (revision 109997).
58c7641d
SB
988 * calendar/todos.el: Remove old commentary from todo-mode.el; add
989 and revise further doc strings and comments; require cl.el at
990 compile time for remove-duplicates; use function powerset from
991 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
992 code rearrangement. Add adapted version of diary-goto-entry as comment.
993 (todos-file-top, todos-archived-categories-buffer)
994 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
995 (todos-save-top-priorities, todos-reset-separator)
996 (todos-switch-todos-file, todos-item-string-start, todos-counts)
997 (todos-string-count-lines, todos-string-multiline-p)
998 (todos-display-categories-alphabetically): Remove.
999 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1000 (todos-insert-item-ask-date-time-for-diary)
1001 (todos-insert-item-ask-date-time-for-diary-here)
1002 (todos-insert-item-ask-date-time-here)
1003 (todos-insert-item-ask-date-maybe-notime)
1004 (todos-insert-item-ask-date-maybe-notime-for-diary)
1005 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1006 (todos-insert-item-ask-date-maybe-notime-here)
1007 (todos-insert-item-ask-date-for-diary)
1008 (todos-insert-item-ask-date-for-diary-here)
1009 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1010 (todos-insert-item-ask-dayname-time)
1011 (todos-insert-item-ask-dayname-time-for-diary)
1012 (todos-insert-item-ask-dayname-time-for-diary-here)
1013 (todos-insert-item-ask-dayname-time-here)
1014 (todos-insert-item-ask-dayname-maybe-notime)
1015 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1016 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1017 (todos-insert-item-ask-dayname-maybe-notime-here)
1018 (todos-insert-item-ask-dayname-for-diary)
1019 (todos-insert-item-ask-dayname-for-diary-here)
1020 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1021 (todos-insert-item-ask-time-for-diary)
1022 (todos-insert-item-ask-time-for-diary-here)
1023 (todos-insert-item-ask-time-here)
1024 (todos-insert-item-maybe-notime)
1025 (todos-insert-item-maybe-notime-for-diary)
1026 (todos-insert-item-maybe-notime-for-diary-here)
1027 (todos-insert-item-maybe-notime-here)
1028 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
1029 (todos-insert-item-here): Remove; all of these are now generated
1030 on loading (some with the same name, most with other names.)
1031 (todos-item-counts, todos-display-categories-alphabetically)
1032 (todos-display-categories-sorted-by-todo)
1033 (todos-display-categories-sorted-by-diary)
1034 (todos-display-categories-sorted-by-done)
1035 (todos-display-categories-sorted-by-archived): Comment out.
1036 (todos-comment-string, todos-mode-line-function)
1037 (todos-filter-function, todos-priorities-rules)
1038 (todos-visit-files-commands, todos-categories-totals-label)
1039 (todos-use-only-highlighted-region, todos-diary-nonmarking):
1040 New defcustoms.
1041 (todos-mark, todos-comment): New faces.
1042 (todos-comment-face): Corresponding new variable.
1043 (todos-categories-full, todos-global-current-todos-file)
1044 (todos-first-visit, todos-insertion-commands-args-genlist)
1045 (todos-insertion-commands-args, todos-insertion-commands-names)
1046 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
1047 (todos-top-priorities-widgets, todos-date-from-calendar)
1048 (todos-item-mark, todos-categories-with-marks): New variables.
1049 (todos-mode-line-control, todos-reset-global-current-todos-file)
1050 (todos-gen-arglists, todos-insertion-command-name)
1051 (todos-insertion-key-bindings, todos-unload-hook)
1052 (todos-filter-items, todos-set-date-from-calendar)
1053 (todos-comment-string-matcher, todos-after-find-file)
1054 (todos-reset-nondiary-marker, todos-reset-done-string)
1055 (todos-reset-comment-string, todos-show-current-file)
1056 (todos-item-marked-p, todos-total-item-counts): New functions.
1057 (todos-define-insertion-command): New macro.
1058 (todos-toggle-mark-item, todos-mark-category)
1059 (todos-unmark-category, todos-set-top-priorities)
1060 (todos-merged-diary-items, todos-regexp-items)
1061 (todos-merged-regexp-items, todos-custom-items)
1062 (todos-merged-custom-items, todos-comment-done-item)
1063 (todos-archive-category-done-items, todos-unarchive-items)
1064 (todos-print-to-file): New commands.
1065 (todos-done-separator): Change :set function.
1066 (todos-done-string): Uncomment :initialize and :set functions.
1067 (todos-files): Use file-truename.
1068 (todos-show-current-file): Rename from
1069 todos-auto-switch-todos-file and change :set function accordingly.
1070 (todos-font-lock-keywords): Use todos-comment-string-matcher;
1071 change names of other matcher functions to new *-matcher.
1072 (todos-category-number): Change initial value.
1073 (todos-insertion-map): Use todos-insertion-key-bindings to
1074 generate key definitions.
1075 (todos-mode-map): Don't suppress digit keys, so they can supply
1076 prefix arguments; add new and change some existing bindings.
1077 (todos-archive-mode-map): Change a key binding.
1078 (todos-categories-mode-map): Comment out a key binding.
1079 (todos-filter-items-mode-map): Rename from
1080 todos-top-priorities-mode-map.
1081 (todos-mode): Make todos-current-todos-file,
1082 todos-categories-full, todos-categories, todos-first-visit,
1083 todos-category-number, todos-show-done-only,
1084 todos-categories-with-marks local variables and set them; add
1085 todos-show-current-file to pre-command-hook, todos-after-find-file
1086 to post-command-hook and todos-reset-global-current-todos-file to
1087 kill-buffer-hook.
1088 (todos-archive-mode): Make todos-current-todos-file,
1089 todos-categories and todos-category-number local variables and set
1090 them; add todos-after-find-file to post-command-hook.
1091 (todos-raw-mode): New derived major mode.
1092 (todos-categories-mode): Don't set font-lock-defaults and
1093 buffer-read-only; make todos-current-todos-file and
1094 todos-categories local variables and set them.
1095 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
1096 (todos-quit): Don't reset todos-categories on quitting
1097 todos-categories-mode; handle quitting todos-filter-items-mode.
1098 (todos-show): Simplify; when visiting an archive file switch to
1099 corresponding Todos file; use todos-first-visit.
1100 (todos-view-archived-items): Simplify; call todos-category-number.
1101 (todos-show-archive): Rename from todos-switch-to-archive and
1102 adjust callers; simplify.
1103 (todos-toggle-display-date-time): Add optional argument to toggle
1104 display in entire file.
1105 (todos-top-priorities): Use todos-filter-items, which now contains
1106 the previous core of this command.
1107 (todos-merged-top-priorities, todos-diary-items):
1108 Use todos-filter-items.
1109 (todos-forward-category): Add optional argument to go to the
1110 previous category.
1111 (todos-backward-category): Use todos-forward-category.
1112 (todos-jump-to-category): Refine implementation.
1113 (todos-forward-item, todos-backward-item): Fix movement from todo
1114 to done item and vice versa.
1115 (todos-add-file): Remove argument and simplify.
1116 (todos-rename-category): Use todos-current-todos-file and
1117 todos-mode-line-function; set todos-categories with
1118 todos-set-categories.
1119 (todos-delete-category): Ask what to do if category has archived items.
1120 (todos-raise-category): Ensure modified todos-categories is added
1121 to file's categories sexp.
1122 (todos-move-category): Improve implementation, especially handling
1123 of archived categories.
1124 (todos-merge-category): Tweak; set item counts.
1125 (todos-insert-item): Improve handling of various argument values;
1126 add new argument values to control marking of diary items and to
1127 use region for item body.
1128 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1129 (todos-delete-item, todos-edit-item-header): Handle marked items.
1130 (todos-edit-item): Incorporate functionality of removed
1131 todos-string-multiline-p.
1132 (todos-edit-multiline): Use set-window-buffer instead of
1133 switch-to-buffer.
1134 (todos-edit-quit): Don't save on quitting; use todos-show instead
1135 of todos-category-select.
1136 (todos-raise-item-priority): Add argument to lower priority;
1137 improve handling of top priority items in todos-filter-items-mode;
1138 restore marks.
1139 (todos-lower-item-priority): Use todos-raise-item-priority.
1140 (todos-set-item-priority): Increment maximum number if item is new.
1141 (todos-move-item): Handle marked items; delay changing category
1142 moved from till after movement to avoid restoring if user cancels
1143 before insertion.
1144 (todos-item-done): Add optional argument to insert comment; fix
1145 item counts and update sexp.
1146 (todos-item-undo): Fix item counts and update.
1147 (todos-archive-done-item-or-items): Rename from
1148 todos-archive-done-items; add optional argument to archive all
1149 items in category; handle marked items.
1150 (todos-unarchive-category): Use todos-unarchive-items.
1151 (todos-toggle-diary-inclusion): Incorporate functionality of
1152 removed todos-toggle-item-diary-inclusion; handle marked items.
1153 (todos-print): Add optional argument to print to file.
1154 (todos-done-string-start): Don't use todos-nondiary-start.
1155 (todos-date-string-matcher, todos-time-string-matcher)
1156 (todos-done-string-matcher, todos-category-string-matcher): Rename
1157 from *-match and adjust callers.
1158 (todos-wrap-and-indent): Use set instead of setq for local variables.
1159 (todos-prefix-overlays): Improve overlay handling.
1160 (todos-reset-categories): Fix and complete implementation.
1161 (todos-toggle-show-current-file): Rename from
1162 todos-toggle-switch-todos-file-noninteractively.
1163 (todos-category-select): Use todos-mode-line-function.
1164 (todos-item-start): Comment out code used by removed function.
1165 (todos-remove-item): Handle presence of both prefix/number and
1166 mark overlays.
1167 (todos-get-count): Simplify.
1168 (todos-set-count): Change argument list and adjust callers; simplify.
1169 (todos-set-categories): Handle new archive files; use
1170 todos-categories-full and todos-ignore-archived-categories.
1171 (todos-truncate-categories-list): Use todos-categories-full.
1172 (todos-update-categories-sexp): Use kill-region instead of
1173 kill-line; use todos-categories-full.
1174 (todos-read-file-name): Add argument to require existing file and
1175 adjust callers; use file-truename.
1176 (todos-read-category): Remove argument to require existing
1177 category and delegate it to completing-read in function body.
1178 (todos-validate-category-name): Make empty string prompt only for
1179 initial category name.
1180 (todos-read-date): Use = instead of eq for testing if month = 13,
1181 and if it is, set monthname to *.
1182 (todos-display-categories): Use todos-global-current-todos-file;
1183 use set-window-buffer instead of switch-to-buffer; add a line
1184 showing item count totals.
1185 (todos-padded-string): Use the longest of category name or label.
1186 (todos-descending-counts): Rename from
1187 todos-descending-counts-store and adjust users.
1188 (todos-insert-category-line): Adjust format; use mapconcat; kill
1189 buffer after jumping to category.
1190
d04d6b95
SB
11912012-09-18 Stephen Berman <stephen.berman@gmx.net>
1192
bbf95285 1193 Changes from 2011-05-16 (revision 109996).
d04d6b95
SB
1194 * calendar/todos.el Add and revise various doc strings, remove
1195 further commented out code; add further comments; further code
1196 rearrangement.
1197 (todos-file-do, todos-archive-file, todos-mode-hook)
1198 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1199 (todos-view-archive, todos-search-string)
1200 (todos-jump-to-category-noninteractively, todos-initial-setup):
1201 Remove.
1202 (todos-files): Remove this defcustom.
1203 (todos-initial-category, todos-display-categories-first)
1204 (todos-auto-switch-todos-file, todos-default-todos-file)
1205 (todos-categories-category-label, todos-categories-todo-label)
1206 (todos-categories-diary-label, todos-categories-done-label)
1207 (todos-categories-archived-label)
1208 (todos-categories-number-separator, todos-categories-align)
1209 (todos-ignore-archived-categories, todos-nondiary-marker):
1210 New defcustoms.
1211 (todos-prefix, todos-done-separator, todos-file-top)
1212 (todos-categories-buffer, todos-archived-categories-buffer)
1213 (todos-edit-buffer, todos-always-add-time-string, todos-button):
1214 Change default value.
1215 (todos-done-string): Add todos-reset-done-string as :set function,
1216 but keep this commented out.
1217 (todos-files, todos-archives, todos-insertion-map)
1218 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1219 (todos-show-done-only, todos-date-string-start)
1220 (todos-done-string-start): New variables.
1221 (todos-files-directory, todos-files-function, todos-merged-files)
1222 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1223 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1224 (todos-toggle-switch-todos-file-noninteractively)
1225 (todos-switch-todos-file, todos-counts, todos-get-count)
1226 (todos-set-count, todos-set-categories)
1227 (todos-truncate-categories-list, todos-update-categories-sexp)
1228 (todos-read-file-name, todos-sort, todos-display-sorted)
1229 (todos-label-to-key, todos-insert-sort-button): New functions.
1230 (todos-display-categories-sorted-by-todo)
1231 (todos-display-categories-sorted-by-diary)
1232 (todos-display-categories-sorted-by-done)
1233 (todos-display-categories-sorted-by-archived)
1234 (todos-update-merged-files, todos-switch-to-archive)
1235 (todos-choose-archive, todos-merged-top-priorities)
1236 (todos-jump-to-category-other-file, todos-clear-matches)
1237 (todos-add-file, todos-change-default-file, todos-move-category)
1238 (todos-merge-category, todos-merge-categories)
1239 (todos-edit-item-time, todos-move-item-to-file)
1240 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1241 (todos-toggle-diary-nonmarking): New commands.
1242 (todos-toggle-show-done-only): New command replacing todos-view-archive.
1243 (todos-faces): New defgroup; use in all face definitions.
1244 (todos-sorted-column, todos-archived-only, todos-search): New faces.
1245 (todos-font-lock-keywords): Use subexpression 1 with matcher
1246 todos-category-string-match.
1247 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1248 (todos-categories-mode-map): Add new key bindings; change some
1249 existing bindings.
1250 (todos-top-priorities-mode-map): New keymap.
1251 (todos-menu): Add submenues and new entries.
1252 (auto-mode-alist): Add extension of Todos and Todos archive files.
1253 (todos-mode, todos-archive-mode): Make derived mode; use
1254 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1255 and todos-switch-todos-file; make todos-show-done-only local
1256 variable.
1257 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1258 (todos-categories-mode): Make derived mode.
1259 (todos-top-priorities-mode): New derived major mode.
1260 (todos-save): Remove unused code.
1261 (todos-quit): Handle todos-categories-mode; save archive buffer.
1262 (todos-show): Add optional argument to prompt for a Todos file; if
1263 called interactively or with prefix arg or from an archive, don't
1264 make a no-op but reset todos-current-todos-file, todos-categories
1265 and todos-category-number; use todos-read-file-name,
1266 todos-display-categories-first, todos-ignore-archived-categories.
1267 (todos-display-categories): Change argument name; refactor code
1268 for inserting table labels and lines, using
1269 todos-ignore-archived-categories, todos-sort,
1270 todos-categories-number-separator, todos-insert-sort-button,
1271 todos-categories-*-labels, and todos-insert-category-line.
1272 (todos-display-categories-alphabetically): Use todos-display-sorted.
1273 (todos-toggle-view-done-items): Use todos-done-string-start and
1274 todos-get-count.
1275 (todos-toggle-display-date-time): Use todos-done-string-start.
1276 (todos-top-priorities): Remove autoload cookie; partially rewrite:
1277 new argument list; allow combining top priorities of multiple
1278 Todos files; change display to include category (and file) name as
1279 part of item header; use todos-top-priorities-mode.
1280 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 1281 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
1282 1-based numbering of categories; move point to top of category.
1283 (todos-jump-to-category): Rewrite, adding optional arguments to
1284 provide a category in non-interactive uses and to prompt for which
1285 Todos file to jump to.
1286 (todos-search): Reimplement; highlight each match as found, say
1287 how many matches remain and prompt whether to go to next one; at
1288 end of search prompt whether to remove highlighting.
1289 (todos-add-category): Remove autoload cookie; assign new category
1290 the highest category number; associate zero-initialized vector of
1291 item counts, instead of property list, with new category; use
1292 todos-validate-category-name and todos-update-categories-sexp.
1293 (todos-rename-category): Use todos-validate-category-name and
1294 todos-update-categories-sexp; take archive files into account.
1295 (todos-delete-category): Use todos-get-count and
1296 todos-update-categories-sexp, let-bind variable that were
1297 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
1298 adjust to 1-based numbering of categories; move point to top of
1299 category.
d04d6b95
SB
1300 (todos-raise-category): Handle item count vectors; use
1301 todos-insert-category-line and todos-update-categories-sexp.
1302 (todos-insert-item): Use nil time-string argument to omit time
1303 string; use todos-nondiary-start and todos-nondiary-end and
1304 todos-update-categories-sexp; if category named to insert into
1305 does not exist, add it; take new diary items into account.
1306 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1307 (todos-insert-item-ask-date-time-for-diary)
1308 (todos-insert-item-ask-date-time-for-diary-here)
1309 (todos-insert-item-ask-date-time-here)
1310 (todos-insert-item-ask-date-maybe-notime)
1311 (todos-insert-item-ask-date-maybe-notime-for-diary)
1312 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1313 (todos-insert-item-ask-date-maybe-notime-here)
1314 (todos-insert-item-ask-date-for-diary)
1315 (todos-insert-item-ask-date-for-diary-here)
1316 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1317 (todos-insert-item-ask-dayname-time)
1318 (todos-insert-item-ask-dayname-time-for-diary)
1319 (todos-insert-item-ask-dayname-time-for-diary-here)
1320 (todos-insert-item-ask-dayname-time-here)
1321 (todos-insert-item-ask-dayname-maybe-notime)
1322 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1323 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1324 (todos-insert-item-ask-dayname-maybe-notime-here)
1325 (todos-insert-item-ask-dayname-for-diary)
1326 (todos-insert-item-ask-dayname-for-diary-here)
1327 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1328 (todos-insert-item-ask-time-for-diary)
1329 (todos-insert-item-ask-time-for-diary-here)
1330 (todos-insert-item-ask-time-here)
1331 (todos-insert-item-maybe-notime)
1332 (todos-insert-item-maybe-notime-for-diary)
1333 (todos-insert-item-maybe-notime-for-diary-here)
1334 (todos-insert-item-maybe-notime-here)
1335 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1336 New insertion commands.
1337 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1338 (todos-delete-item): Handle diary items;
1339 use todos-update-categories-sexp.
1340 (todos-edit-item): Check if point is with item string;
1341 use read-string instead of read-from-minibuffer;
1342 use todos-date-string-start; after editing put point at start of
1343 item text.
1344 (todos-edit-multiline): Narrow to item before invoking
1345 todos-edit-mode; show key binding of todos-edit-quit in a message.
1346 (todos-edit-quit): Use todos-save; kill buffer.
1347 (todos-edit-item-header): Add optional argument to prompt for
1348 editing only date string or only time string;
1349 use todos-date-string-start.
1350 (todos-edit-item-date, todos-edit-item-date-is-today)
1351 (todos-raise-item-priority, todos-lower-item-priority): Rename
1352 from todos-{raise, lower}-item and make them DTRT in
1353 todos-top-priorities-mode.
1354 (todos-set-item-priority): Make interactive; use todos-get-count
1355 and todos-insert-with-overlays; interactively, just relocate the
1356 item within its category.
1357 (todos-move-item): Add optional argument to prompt for a category
1358 in another Todos file; handle diary items; fix restoration after
1359 cancelling before inserting.
1360 (todos-item-done): Handle diary items; simplify handling of
1361 insertion in done items section.
1362 (todos-item-undo): Handle diary items.
58c7641d 1363 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
1364 files (in parallel with Todos files); handle diary items; use
1365 todos-done-string-start.
1366 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1367 todos-nondiary-end and todos-item-counts.
1368 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1369 todos-category-end.
1370 (todos-print): Remove autoload cookie; rewrite to make overlays,
1371 line wrapping and wrap prefixes printable.
1372 (todos-date-pattern): Make parenthesized groups shy.
1373 (todos-date-string-match): Use todos-date-string-start; make
1374 todos-date-pattern an explicitly numbered group.
1375 (todos-time-string-match): Use todos-date-string-start.
1376 (todos-done-string-match): Use todos-done-string-start.
1377 (todos-category-string-match): Rewrite to match new category and
1378 category+filename patterns in todos-top-priorities-mode.
1379 (todos-prefix-overlays): Use todos-done-string-start and
1380 todos-category-done.
1381 (todos-reset-prefix): Handle archive files; restore point after
1382 changing prefix.
1383 (todos-reset-separator): Handle archive files.
1384 (todos-category-number): Make category number one more than its
1385 list index.
58c7641d 1386 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
1387 (todos-category-select): Simplify handling of done items and done
1388 separator string overlay.
1389 (todos-item-start): Use todos-date-string-start and
1390 todos-done-string-start.
1391 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1392 (todos-item-string): Restore point after getting item bounds; use
1393 buffer-substring-no-properties.
1394 (todos-done-item-p): Use todos-done-string-start.
1395 (todos-make-categories-list): Add optional argument to force
1396 looping through file to get categories and their item counts,
1397 otherwise set todos-categories from sexp in first line; use
1398 vectors of item counts instead of plists; count diary items.
1399 (todos-item-counts): Use todos-counts, todos-set-counts,
1400 todos-get-counts, and todos-update-categories-sexp instead of
1401 getting and setting properties; handle diary items.
1402 (todos-read-category): Add argument to set prompt; don't offer
1403 default category.
1404 (todos-validate-category-name): Rename from
1405 todos-check-category-name; take into account whether there are
1406 already categories or not.
1407 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1408 (todos-padded-string): Accommodate new structure of
1409 todos-categories as alists; use todos-categories-align.
1410 (todos-descending-counts-store): New variable.
1411 (todos-insert-category-line): Rename from
1412 todos-insert-category-name and reimplement using labels and
1413 todos-get-counts instead of properties; use
1414 todos-ignore-archived-categories; highlight sorted column.
1415
f730d273
SB
14162012-09-14 Stephen Berman <stephen.berman@gmx.net>
1417
bbf95285 1418 Changes from 2010-07-09 (revision 109995).
f730d273
SB
1419 * calendar/todos.el Remove lots of commented out code; add various
1420 comments; further code rearrangement.
1421 (todos-insert-item-here-ask-date-time)
1422 (todos-insert-item-ask-date-time)
1423 (todos-insert-item-ask-dayname-time)
1424 (todos-insert-item-for-diary)
1425 (todos-insert-item-for-diary-ask-date-time)
1426 (todos-make-categories-alist, todos-categories-alist): Remove.
1427 (todos-categories-list): Comment out.
1428 (todos-make-categories-list): New function replacing
1429 todos-make-categories-alist, using category plists to get item
1430 counts and taking archive into account.
1431 (todos-current-todos-file): New variable.
1432 (todos-mode-map): Update key bindings.
1433 (todos-save): Add as comment code to make sure todos-categories
1434 sexp is current on saving.
1435 (todos-quit): Call todos-show on quitting Todos archive buffer.
1436 (todos-show): If todos-current-todos-file is not set to Todos
1437 file, set it as a new file; set todos-categories from
1438 todos-make-categories-alist.
1439 (todos-display-categories): Use a different display format for
1440 archive file; put point initially on the first button.
1441 (todos-toggle-view-done-items): Check the category's `done'
1442 property to determine if there are done items.
1443 (todos-view-archive): Set todos-current-todos-file to the archive
1444 file; jump from the Todos file to the same category in the
1445 archive, if it exists, else jump to the first category; use
1446 message instead of error.
1447 (todos-add-category): Intern a special symbol for the new category
1448 and set its property list to holds counts of the numbers of todo,
1449 done and archived items in the category; assign the new category
1450 the current highest category number.
1451 (todos-rename-category): Don't use todos-categories-alist.
1452 (todos-delete-category): Check the category's `todo' and `done'
1453 properties to determine if it is empty; ensure that the end of the
1454 last category is found; after deleting the category, empty its
1455 plist and unintern its special symbol.
1456 (todos-insert-item-here): Fix argument list of todos-insert-item.
1457 (todos-delete-item, todos-raise-item, todos-lower-item):
1458 Use message instead of error.
1459 (todos-move-item): If the category to be moved to does not exist,
1460 add it as a new category.
1461 (todos-item-done, todos-reset-separator):
1462 Use todos-category-select instead of todos-show.
1463 (todos-archive-done-items): Make buffer writeable; conditionalize
1464 search for end of category; save after adding to archive in case
1465 the file is new, so it can be found.
1466 (todos-category-select): Wrap search in if instead of or+and;
1467 don't hide done items in an archive.
1468 (todos-set-item-priority): Check the category's `todo'
1469 property to determine if there are not done todo items.
1470 (todos-jump-to-category-noninteractively): Just switch to buffer
1471 visiting todos-current-todos-file, since this can be either a
1472 Todos file or an archive.
1473 (todos-item-counts): Use category's plist instead of an alist.
1474 (todos-longest-category-name-length): Argument is now a list of
1475 category names, not an alist, so just test each element, not each
1476 element's the car.
1477 (todos-padded-string): Use todos-categories instead of
1478 todos-categories-alist.
1479 (todos-insert-category-name): Use category plist to get item
1480 counts; take archived items into account.
1481
ee7412e4
SB
14822012-09-13 Stephen Berman <stephen.berman@gmx.net>
1483
bbf95285 1484 Changes from 2010-06-18 (revision 109994).
ee7412e4
SB
1485 * calendar/todos.el: Numerous spelling and comment fixes, doc
1486 string fixes to conform with checkdoc, further rearrangement of
1487 definitions, etc.
1488 (todos-previous-line, todos-previous-answer)
1489 (todos-insert-item-ask-date, todos-change-date)
1490 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1491 (todos-count-items-in-category, todos-count-all-items): Remove.
1492 (todos-update-numbered-prefix, todos-item-start-overlays)
1493 (todos-add-item-non-interactively): Comment out, also in uses.
1494 (todos-done-separator): Change default value.
1495 (todos-always-add-time-string): Rename from todos-add-time-string
1496 and adjust uses.
1497 (todos-read-category): Rename from todos-completing-read and
1498 adjust callers; use todos-current-category.
1499 (todos-make-categories-alist): Rename from function
1500 todos-categories-alist.
1501 (todos-categories-alist): New variable.
1502 (todos-indent-to-here): New defcustom.
1503 (todos-button): New face.
1504 (todos-display-categories-alphabetically, todos-raise-category)
1505 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1506 (todos-insert-item-here-ask-date-time)
1507 (todos-insert-item-ask-date-time)
1508 (todos-insert-item-ask-dayname-time): New commands.
1509 (todos-edit-item-header): New command replacing todos-change-date.
1510 (todos-category-number, todos-indent, todos-item-counts)
1511 (todos-check-category-name, todos-read-date, todos-read-dayname)
1512 (todos-read-time, todos-padded-string)
1513 (todos-insert-category-name): New functions.
1514 (todos-set-item-priority): New function replacing
1515 todos-add-item-non-interactively.
1516 (todos-mode-map): Remap newline to newline-and-indent.
1517 (todos-edit-mode-map): Make sparse keymap; remap newline to
1518 newline-and-indent.
1519 (todos-categories-mode-map): New keymap.
1520 (todos-mode, todos-edit-mode): Make indent-line-function local
1521 variable and set to todos-indent.
1522 (todos-categories-mode): New major mode.
1523 (todos-display-categories): List categories initially in their
1524 numerical order; add optional argument to switch to alphabetical
1525 listing.
1526 (todos-toggle-view-done-items): Simplify implementation.
1527 (todos-toggle-display-date-time): Fix regexp search string.
1528 (todos-backward-item, todos-forward-item): Use variable
1529 todos-item-start.
1530 (todos-add-category): Use todos-check-category-name and
1531 todos-categories-alist.
1532 (todos-rename-category): Use todos-current-category,
1533 todos-check-category-name and todos-categories-alist.
1534 (todos-delete-category): Use todos-check-category-name and
1535 todos-categories-alist and take done items into account.
1536 (todos-insert-item): Use separate arguments to handle insertion of
1537 date/dayname and time strings, add new argument to mark item for
1538 diary inclusion, use new todos-read-* functions,
1539 todos-set-item-priority and todos-item-counts.
1540 (todos-insert-item-here, todos-insert-item-for-diary)
1541 (todos-insert-item-from-calendar): Adapt to new version of
1542 todos-insert-item.
1543 (todos-delete-item, todos-item-done): Use todos-item-counts.
1544 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1545 char follows.
1546 (todos-lower-item): Ensure only not-done items can be lowered.
1547 (todos-move-item): Use todos-current-category, todos-read-category
1548 and todos-item-counts.
1549 (todos-archive-done-items): Use todos-current-category and
1550 todos-item-counts; fix regexp search string.
1551 (todos-item-undo): Use todos-current-category,
1552 todos-set-item-priority, todos-insert-with-overlays and
1553 todos-item-counts; restore if user quits before inserting undone
1554 item.
1555 (todos-date-pattern): Rewrite without using
1556 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1557 (todos-date-string-match): Do not make todos-date-pattern an
1558 unnumbered group.
1559 (todos-time-string-match): Make todos-date-pattern a shy group.
1560 (todos-wrap-and-indent): Use todos-indent-to-here.
1561 (todos-reset-prefix): Revert to using todos-show instead of
1562 todos-category-select.
1563 (todos-prefix-overlays): Fix numbering of done items and updating
1564 of prefix.
1565 (todos-category-select): Use todos-current-category; fix display
1566 of separator string; don't move point to top of category.
1567 (todos-jump-to-category-noninteractively): Use todos-category-number.
1568 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1569 (todos-item-start): New variable.
1570 (todos-item-start): Use it to define this function.
1571 (todos-item-end): Adjust if item is last unfinished one before
1572 displayed done items.
1573 (todos-remove-item): Use todos-item-start and todos-item-end
1574 instead of todos-forward-item and todos-backward-item.
1575 (todos-longest-category-name-length): Add argument for list of
1576 categories.
1577
2c173503
SB
15782012-09-13 Stephen Berman <stephen.berman@gmx.net>
1579
bbf95285 1580 Changes from 2010-05-25 (revision 109993).
2c173503
SB
1581 * calendar/todos.el: Comment out calendar require, since diary-lib
1582 requires calendar. Rearrange file to group definitions according
1583 to their use (types of commands, internal functions, etc.)
1584 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1585 (todos-date-string, todos-time-string, todos-check-overlay)
1586 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1587 Comment out.
1588 (todos-current-date, todos-item-end-overlays)
1589 (todos-list-categories): Remove.
1590 (todos-item-end): Remove (the variable, not the function).
ee7412e4 1591 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 1592 callers.
2c173503
SB
1593 (todos-done-separator, todos-done-string, todos-show-with-done)
1594 (todos-files, todos-archive-file, todos-categories-buffer)
1595 (todos-archived-categories-buffer, todos-wrap-lines)
1596 (todos-line-wrapping-function): New defcustoms.
1597 (todos-done, todos-done-sep): New faces.
1598 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1599 (todos-search-string, todos-date-nodayname-pattern)
1600 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1601 (todos-done-string-match, todos-category-string-match)
1602 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1603 (todos-current-category, todos-count-items-in-category)
1604 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1605 (todos-longest-category-name-length): New functions.
1606 (todos-categories-list): New buffer-specific function replacing
1607 todos-list-categories.
1608 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1609 (todos-search, todos-view-archive, todos-diary-items)
1610 (todos-toggle-display-date-time, todos-insert-item-no-time)
1611 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1612 (todos-insert-item-from-calendar, todos-edit-quit)
1613 (todos-change-date, todos-item-done, todos-archive-done-items)
1614 (todos-item-undo): New commands.
ee7412e4 1615 (todos-archive-mode): New major mode.
2c173503
SB
1616 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1617 (todos-category-beg): Change value.
1618 (todos-number-prefix): Change default value.
1619 (todos-edit-buffer): Change from defvar to defcustom.
1620 (todos-font-lock-keywords): Use todos-done-string-match and
1621 todos-category-string-match.
1622 (todos-backward-item, todos-forward-item): Use todos-done-string
1623 and todos-date-pattern.
1624 (todos-display-categories): Reimplement using buttons from
1625 button.el instead of widgets.
1626 (todos-top-priorities): Use with-current-buffer; take done items
1627 into account; ensure buffers gets fontified.
1628 (todos-add-category): Ensure new category does not begin with
1629 empty lines.
1630 (todos-jump-to-category): Use todos-category-select instead of
1631 todos-show.
1632 (todos-rename-category): Prompt for new name in body instead of in
1633 interactive spec.
1634 (todos-insert-item): Don't insert in done items section of
1635 category. Add two optional arguments to control insertion: (i) to
1636 insert near point without prompting for priority; (ii) to use
1637 defaults for date and time strings, to prompt for these, or to
1638 choose date from the Calendar.
1639 (todos-insert-item-here): Reimplement using todos-insert-item.
1640 (todos-delete-item): Don't move point after deleting last item.
1641 (todos-raise-item, todos-lower-item): Take done items into account.
1642 (todos-move-item): Don't move done items; update item numbering;
1643 restore if user quits before inserting moved item.
1644 (todos-print): Prompt for confirmation to print.
1645 (todos-reset-prefix): Search backward from end of file instead of
1646 forward from top.
1647 (todos-jump-to-category-noninteractively): Take Todos archive into
1648 account.
1649 (todos-category-select): Show or hide done items according to
1650 todos-show-with-done; if shown, coordinate separator and prefix
1651 overlays.
1652 (todos-add-item-non-interactively): Replace binary insertion
1653 algorithm with prompting for numerical priority.
1654 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1655 (todos-item-start): Take done items into account; use
1656 todos-date-pattern.
1657 (todos-item-end): Reimplement using todos-forward-item.
1658 (todos-remove-item): Reimplement using todos-forward-item and
1659 todos-backward-item; redo overlay handling.
1660 (todos-mode-map): Add some new key bindings and change numerous
1661 existing bindings; use "i" as prefix key for item insertion
1662 commands.
1663 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1664 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1665 spec; set buffer-read-only to t and consequently let-bind this
1666 variable in all Todos commands that change buffer content.
1667 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1668 (todos-save): Don't save top priorities buffer.
1669 (todos-show): Make a no-op if called interactively in narrowed
1670 Todos mode, since, also to work around item prefix reduplication
1671 bug with show-paren-mode enabled; use todos-categories-list.
1672
b28025ed
SB
16732012-09-12 Stephen Berman <stephen.berman@gmx.net>
1674
bbf95285 1675 Changes from 2009-11-07 (revision 109992).
b28025ed
SB
1676 * calendar/todos.el: Comment out time-stamp require; require
1677 calendar and diary-lib.
1678 (todos-prefix): Change default value and doc string to reflect new
1679 meaning; add :initialize and :set functions.
1680 (todos-time-string-format, todos-entry-prefix-function)
1681 (todos-initials, todos-entry-timestamp-initials)
1682 (todos-prefix-face, todos-category-sep, todos-category-end)
1683 (todos-cp): Comment out.
1684 (todos-prefix-string): Inherit from font-lock-comment-face.
1685 (todos-item-header, todos-item-header-face): Remove.
1686 (todos-date, todos-time): New faces.
1687 (todos-date-face, todos-time-face): Corresponding new variables.
1688 (todos-add-time-string, todos-include-in-diary)
1689 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1690 New defcustoms.
1691 (todos-item-end, todos-item-start-overlays)
1692 (todos-item-end-overlays): New variables.
1693 (todos-date-string-match, todos-time-string-match): New functions.
1694 (todos-font-lock-keywords): Use them.
1695 (todos-current-date, todos-date-string, todos-time-string)
1696 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1697 (todos-reset-prefix, todos-update-numbered-prefix)
1698 (todos-check-overlay, todos-item-overlays)
1699 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1700 (todos-highlight-item): New command.
1701 (todos-category-beg): Change value.
1702 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1703 (todos-backward-item): Add optional count argument; use it and
1704 todos-item-start.
1705 (todos-forward-item): Use todos-check-overlay, todos-item-start
1706 and variable todos-item-end.
1707 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1708 todos-update-numbered-prefix, todos-item-overlays.
1709 (todos-add-category, todos-rename-category)
1710 (todos-list-categories): Use new category format.
1711 (todos-delete-category): Allow deleting non-empty category;
1712 use new category format.
1713 (todos-add-item-non-interactively): Comment out unnecessary
1714 save-excursion; use todos-insert-with-overlays.
1715 (todos-insert-item): Comment out unnecessary save-excursion; use
1716 new item format for date/time header and diary inclusion marking.
1717 (todos-insert-item-here): Use new item format for date/time header
1718 and diary inclusion marking; use todos-insert-with-overlays.
1719 (todos-raise-item): Make a no-op if point is on an empty line; use
1720 todos-insert-with-overlays.
1721 (todos-lower-item): Use todos-insert-with-overlays.
1722 (todos-top-priorities): Move call to todos-show inside
1723 save-excursion; add save-current-buffer after save-restriction.
1724 (todos-item-start): Use variable todos-item-end.
1725 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1726 (todos-remove-item): Take item overlays into account.
1727 (todos-mode): Change calculation of wrap-prefix; make
1728 hl-line-range-function a local variable and set it to highlight
1729 todo item.
1730 (todos-show): Ensure point stays at top of category.
1731
98c97dee
SB
17322012-09-12 Stephen Berman <stephen.berman@gmx.net>
1733
bbf95285 1734 Changes from 2009-07-04 (revision 109991).
98c97dee
SB
1735 * calendar/todos.el (todos-window-configuration): Comment out.
1736 (todos-display-categories): Comment out use of
1737 todos-window-configuration; use switch-to-buffer instead of
1738 pop-to-buffer.
1739 (todos-jump-to-category-noninteractively): Comment out use of
1740 todos-window-configuration.
1741 (todos-edit-item): Don't allow editing of date/time item header.
1742 (todos-insert-item, todos-insert-item-here): Insert date/time
1743 header in front of new item string.
1744 (todos-mode): Tweak wrap-prefix.
1745
1f678911
SB
17462012-09-12 Stephen Berman <stephen.berman@gmx.net>
1747
bbf95285 1748 Changes from 2009-06-26 (revision 109989).
1f678911
SB
1749 * calendar/todos.el (todos-file-do, todos-file-done):
1750 Change default location to directory "~/.emacs.d/".
1751 (todos-completion-ignore-case, todos-categories-buffer):
1752 New defcustoms.
1753 (todos-prefix-string, todos-item-header): New faces.
1754 (todos-prefix-face, todos-item-header-face): Corresponding
1755 new variables.
1756 (todos-rename-category, todos-delete-category)
1757 (todos-display-categories, todos-move-item): New commands.
1758 (todos-mode-map): Add key bindings for new commands and for
1759 todos-add-category, which had no key binding.
1760 (todos-jump-to-category-noninteractively): New function.
1761 (todos-top-priorities): Comment out code using a previously
1762 deleted variable.
1763 (todos-completing-read): Allow SPC to insert a space when entering
1764 a new category name; use todos-completion-ignore-case.
1765 (todos-font-lock-keywords, todos-window-configuration):
1766 New variables.
1767 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1768 word-wrap, and wrap-prefix local variables.
1769
fffe5949
SB
17702012-09-12 Stephen Berman <stephen.berman@gmx.net>
1771
bbf95285 1772 Changes from 2009-02-16 (revision 109988).
fffe5949
SB
1773 * calendar/todos.el (todos-list-categories): Fix typos.
1774 (todos-show): Ensure file is in todos-mode.
1775
1e3d87b3
SB
17762012-09-12 Stephen Berman <stephen.berman@gmx.net>
1777
bbf95285 1778 Changes from 2009-02-12 (revision 109987).
1e3d87b3
SB
1779 * calendar/todos.el (todos-header): Remove defvar.
1780 (todos-add-category): Comment out code that inserts and updates
1781 the file local variables first line of the file todos-file-do.
1782 (todos-list-categories): New function.
1783 (todos-show): Use it; remove use of a previously deleted variable.
1784
3f031767
SB
17852012-09-11 Stephen Berman <stephen.berman@gmx.net>
1786
bbf95285 1787 Changes from 2009-02-12 (revision 109986).
3f031767
SB
1788 * calendar/todos.el: New file. This is a copy of todo-mode.el
1789 from revision 94343 except for the following changes: replace all
1790 occurrences of the namespace prefix "todo-" with "todos-", delete
1791 the defvar todo-cats (the old name of todo-categories) and its use
1792 in todos-add-category, delete all defaliases of old command names.
1793
baa26ea0
BG
17942012-09-11 Bastien Guerry <bzg@gnu.org>
1795
1796 * subr.el (set-temporary-overlay-map): Add a docstring.
1797 (bug#12346)
1798
04e8abfa
BG
17992012-09-11 Bastien Guerry <bzg@gnu.org>
1800
96d03571
BG
1801 * minibuffer.el (completion-table-subvert): Fix docstring.
1802 (bug#12347)
1803
18042012-09-11 Bastien Guerry <bzg@gnu.org>
1805
1806 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 1807
04e082b0
MM
18082012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1809
1810 * progmodes/sql.el: Version 3.1
1811 (sql-db2-escape-newlines): New variable.
1812 (sql-escape-newlines-filter): Use it.
1813
399a361b
JB
18142012-09-10 Juanma Barranquero <lekktu@gmail.com>
1815
1816 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1817
0780c517
DN
18182012-09-10 Dan Nicolaescu <dann@gnu.org>
1819
1820 * vc/diff-mode.el (diff-mode-menu): Bind
1821 diff-remove-trailing-whitespace.
1822
9b851e25
SM
18232012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1826 (emacs-lisp-byte-code-comment)
1827 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1828 New functions.
1829 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1830 (eval-defun-2): Remove bogus interactive spec.
1831 (lisp-indent-line): Remove redundant whole-exp code, now done in
1832 indent-according-to-mode.
1833 (save-match-data): Remove redundant indent data.
1834
1835 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1836 Use `declare'.
1837
3231d532
JL
18382012-09-09 Juri Linkov <juri@jurta.org>
1839
1840 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1841 (replace-lax-whitespace, query-replace-regexp)
1842 (query-replace-regexp-eval, replace-regexp): Doc fix.
1843 (perform-replace, replace-highlight): Let-bind
1844 isearch-lax-whitespace to replace-lax-whitespace and
1845 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1846
1847 * isearch.el (isearch-query-replace): Let-bind
1848 replace-lax-whitespace to isearch-lax-whitespace and
1849 replace-regexp-lax-whitespace to
1850 isearch-regexp-lax-whitespace. (Bug#10885)
1851
70fe8236
SM
18522012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1853
1854 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1855
8ed43f15
AM
18562012-09-09 Alan Mackenzie <acm@muc.de>
1857
70fe8236
SM
1858 * progmodes/cc-engine.el (c-state-cache-init):
1859 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1860 (c-record-parse-state-state):
1861 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1862
bfabf70a
AS
18632012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1864
1865 * register.el (register-separator): Rename from
1866 separator-register. All uses changed. Doc fix.
1867 (register): Fix version.
1868
011474aa
CY
18692012-09-09 Chong Yidong <cyd@gnu.org>
1870
1871 * replace.el (query-replace-map): Bind four new symbols for
1872 requesting window scrolling.
1873
1874 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1875 query-replace-map (Bug#8948).
1876
1877 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1878
1879 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1880 since they are now in query-replace-map.
1881
1882 * window.el (scroll-other-window-down): Make the arg optional.
1883
a8b7cd8d
CY
18842012-09-09 Chong Yidong <cyd@gnu.org>
1885
1886 * files.el (hack-local-variables-confirm): Use quit-window to kill
1887 the *Local Variables* buffer.
1888
c3268831
DG
18892012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1890
1891 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1892 not just expect to be at its beginning. Adjust callees.
1893 Succeed when do-end block has no space before the pipe character.
1894 (ruby-brace-to-do-end): When the original block is one-liner,
1895 convert to multiline. Reindent the result.
1896
0979429b
J
18972012-09-08 Jambunathan K <kjambunathan@gmail.com>
1898
1899 * register.el (register): New group.
1900 (register-separator): New user option.
1901 (increment-register): Route it to `append-to-register', if
1902 register contains text. Implication is that `C-x r +' can now be
1903 used for appending to a text register (bug#12217).
1904 (append-to-register, prepend-to-register): Add separator based on
1905 `register-separator.
1906
ace2989a
AM
19072012-09-08 Alan Mackenzie <acm@muc.de>
1908
1909 AWK Mode: make auto-newline work when there's "==" in the pattern.
1910 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1911 correctly.
0979429b
J
1912 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1913 Test more rigorously for "=" token.
ace2989a 1914
616c6c36
DG
19152012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1916
0979429b
J
1917 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1918 Only fail when reached LIMIT.
616c6c36 1919
35d98877
CY
19202012-09-08 Chong Yidong <cyd@gnu.org>
1921
1922 * dired.el (dired-mode-map): Don't bind M-=.
1923
1924 * dired-aux.el (dired-diff): Use backup file as default.
1925
1715f2db
DA
19262012-09-08 Drew Adams <drew.adams@oracle.com>
1927
1928 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1929
6dcef6ec
CY
19302012-09-08 Chong Yidong <cyd@gnu.org>
1931
1932 * subr.el (syntax-after, syntax-class): Doc fix.
1933
fa2bcf43
MR
19342012-09-08 Martin Rudalics <rudalics@gmx.at>
1935
1936 * window.el (display-buffer-in-previous-window): New buffer
1937 display action function.
1938
1939 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1940 (debugger-previous-window): New variable.
1941 (debug): Rewrite using display-buffer-in-previous-window,
1942 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1943
daac280a
SM
19442012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1947
9dd40b00
MM
19482012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1949
daac280a
SM
1950 * progmodes/python.el (python-shell-send-string):
1951 When default-directory is remote, create temp file on remote
9dd40b00
MM
1952 filesystem.
1953 (python-shell-send-file): When file is remote, pass local view of
1954 file paths to remote Python interpreter. (Bug#12340)
1955
145823ec
CY
19562012-09-07 Chong Yidong <cyd@gnu.org>
1957
cee2e90d
CY
1958 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1959
0d7eb2ea
CY
1960 * files.el (after-find-file): Don't fail on a read-only buffer if
1961 require-final-newline is `visit' or `visit-save' (Bug#11156).
1962
145823ec
CY
1963 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1964
daac280a
SM
1965 * userlock.el (ask-user-about-supersession-threat):
1966 Use read-char-choice (Bug#12093).
145823ec 1967
74c582e6
CY
19682012-09-07 Chong Yidong <cyd@gnu.org>
1969
e5c2edf7
CY
1970 * subr.el (buffer-narrowed-p): New function.
1971
1972 * ses.el (ses-widen):
1973 * simple.el (count-words--buffer-message):
1974 * net/browse-url.el (browse-url-of-buffer): Use it
1975
1976 * simple.el (count-words-region): Don't signal an error if there
1977 is a non-nil prefix arg and the mark is not set.
c640e87d 1978
74c582e6
CY
1979 * help.el (describe-key-briefly): Allow the message to be seen
1980 when invoked from the minibuffer (Bug#7014).
1981
d81ceaaf
DG
19822012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1983
1984 * progmodes/ruby-mode.el (ruby-end-of-defun)
1985 (ruby-beginning-of-defun): Simplify, allow indentation before
1986 block beginning and end keywords.
8f06acce
DG
1987 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1988 (ruby-end-of-defun): Expect that the point is at the beginning of
1989 the defun.
d81ceaaf 1990
d458ef98
SM
19912012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1994 (bug#12367).
1995 (cl--make-usage-args): Strip _ from argument names.
1996
20367d28
RS
19972012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1998
1999 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2000 obsolete alias speedbar-key-map.
2001 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2002 (vhdl-index-menu-init): Don't use obsolete variable
2003 font-lock-maximum-size.
2004
3424a4f6
CY
20052012-09-06 Chong Yidong <cyd@gnu.org>
2006
2007 * frame.el (window-system-version): Mark as obsolete.
2008
fcbfbdea
CY
2009 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2010 of obsolete variable speedbar-key-map.
2011
826b3235
JL
20122012-09-06 Juri Linkov <juri@jurta.org>
2013
2014 * replace.el (replace-lax-whitespace): New defcustom.
2015 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2016 (replace-string, replace-regexp): Mention it in docstrings.
2017 (perform-replace, replace-highlight): Let-bind
2018 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2019 to the values of replace-lax-whitespace and regexp-flag.
2020 Don't let-bind search-whitespace-regexp. (Bug#10885)
2021
2022 * isearch.el (isearch-query-replace): Let-bind
2023 replace-lax-whitespace instead of let-binding
2024 replace-search-function and replace-re-search-function.
2025 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2026 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2027 (isearch-toggle-symbol): Set isearch-regexp to nil
2028 in isearch-word mode (like in isearch-toggle-word).
2029
1ec5e41d
JL
20302012-09-06 Juri Linkov <juri@jurta.org>
2031
2032 * replace.el (replace-search-function)
2033 (replace-re-search-function): Set default values to nil.
2034 (perform-replace): Let-bind isearch-related variables based on
2035 replace-related values, call `isearch-search-fun' and let-bind
2036 the result to `search-function'. Remove code that sets
2037 `search-function' and `search-string' separately for
2038 `delimited-flag'.
2039 (replace-highlight): Add new argument `delimited-flag' and
2040 rename other arguments to the names used in `perform-replace'.
2041 Let-bind `isearch-word' to the argument `delimited-flag'.
2042 (Bug#10885, bug#10887)
2043
0ba2d4b6
DG
20442012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2047 ruby-beginning-of-indent, simplify, allow all keywords to have
2048 indentation before them.
2049 (ruby-beginning-of-indent): Adjust for above. Search until the
2050 found point is not inside a string or comment.
2051 (ruby-font-lock-keywords): Allow symbols to start with "@"
2052 character, give them higher priority than variables.
2053 (ruby-syntax-propertize-function)
2054 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2055 matchers. Expression expansions are not comments when inside a
2056 string, and there comment syntax status is irrelevant.
2057 (ruby-match-expression-expansion): New function. Check that
2058 expression expansion is inside a string, and it's not escaped.
2059 (ruby-font-lock-keywords): Use it.
2060
ef654460
MR
20612012-09-05 Martin Rudalics <rudalics@gmx.at>
2062
2063 * help.el (temp-buffer-max-height): New default value.
2064 (temp-buffer-resize-frames): New option.
2065 (resize-temp-buffer-window): Optionally resize frame.
2066
2067 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2068 (fit-frame-to-buffer): New function.
2069
7e570fbf 20702012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2071
2072 * emulation/cua-rect.el (cua--init-rectangles):
2073 * textmodes/picture.el (picture-mode-map):
2074 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2075 like forward-char and backward-char. (Bug#12317)
2076
7e570fbf 20772012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2078
2079 * progmodes/flymake.el (flymake-warning-re): New variable.
2080 (flymake-parse-line): Use it.
2081
7e570fbf 20822012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2083
2084 * calendar/holidays.el (holiday-christian-holidays):
2085 Rename an entry. (Bug#12289)
2086
7e570fbf 20872012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2088
2089 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2090 (bug#12222).
2091
972debf2
SM
20922012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * loadup.el: Load macroexp. Remove hack.
2095 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2096 (macroexp--expand-all): Use it to get better warnings.
2097 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2098 (internal-macroexpand-for-load): New functions.
2099 (macroexp--pending-eager-loads): New var.
2100 (emacs-startup-hook): New hack to replace one in loadup.el.
2101 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2102 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2103 (cl-psetf): Simplify.
2104 (cl-defstruct): Add indent rule.
2105
8ce192e3
LI
21062012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2107
2108 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2109 over `user-mail-address' for the SMTP MAIL FROM envelope.
2110 (smtpmail-via-smtp): Ditto.
2111
6578b4d8
DG
21122012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2113
2114 * progmodes/ruby-mode.el: Clean up keybindings.
2115 (ruby-mode-map): Don't bind ruby-electric-brace,
2116 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2117 backward-kill-word, reindent-then-newline-and-indent.
2118 (ruby-mark-defun): Remove.
2119 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2120 (ruby-mode): Set local beginning-of-defun-function and
2121 end-of-defun-function values.
2122
c5e28e39
MR
21232012-09-03 Martin Rudalics <rudalics@gmx.at>
2124
2125 * window.el (temp-buffer-window-setup-hook)
2126 (temp-buffer-window-show-hook): New hooks.
2127 (temp-buffer-window-setup, temp-buffer-window-show)
2128 (with-temp-buffer-window): New functions.
972debf2
SM
2129 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2130 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2131
2132 * help.el (temp-buffer-resize-mode): Fix doc-string.
2133 (resize-temp-buffer-window): New optional argument WINDOW.
2134
2135 * files.el (recover-file, save-buffers-kill-emacs):
2136 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2137
73406194
MA
21382012-09-02 Michael Albinus <michael.albinus@gmx.de>
2139
2140 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2141 remote definition of `default-directory', ensure we can connect.
2142
63dd1c6f
JL
21432012-09-02 Juri Linkov <juri@jurta.org>
2144
2145 Toggle whitespace matching mode with M-s SPC.
2146 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2147
2148 * isearch.el (search-whitespace-regexp): Doc fix.
2149 Remove cons cell customization.
2150 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2151 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2152 New variables.
2153 (isearch-forward, isearch-forward-regexp): Doc fix.
2154 (isearch-toggle-lax-whitespace): New command.
2155 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2156 (re-search-forward-lax-whitespace)
2157 (re-search-backward-lax-whitespace): New functions.
2158 (isearch-whitespace-regexp): Remove function.
2159 (isearch-query-replace): Let-bind replace-search-function and
2160 replace-re-search-function.
2161 (isearch-occur): Let-bind search-spaces-regexp according to the
2162 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2163 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2164 condition for C-q SPC.
2165 (isearch-search-fun-default): Use new functions mentioned above.
2166 (isearch-search-forward, isearch-search-backward): Remove functions.
2167 (isearch-search): Don't let-bind search-spaces-regexp.
2168 (isearch-lazy-highlight-space-regexp): Remove variable.
2169 (isearch-lazy-highlight-lax-whitespace)
2170 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2171 (isearch-lazy-highlight-new-loop): Use them.
2172 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2173
af7dda05
CY
21742012-09-02 Chong Yidong <cyd@gnu.org>
2175
2176 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2177
d67d3afd
GM
21782012-09-02 Glenn Morris <rgm@gnu.org>
2179
2180 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2181
69678719
GM
21822012-09-01 Glenn Morris <rgm@gnu.org>
2183
2184 * term.el: Tidy up menu definitions.
2185 (term-mode-map): Use easymenu for In/Out, Complete menus.
2186 (term-pager-break-map): Initialize in the defvar.
2187 (term-terminal-menu, term-signals-menu): Define with easymenu.
2188 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2189 (term-pager-menu): New, extracted from term-process-pager.
2190 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2191 (term-update-mode-line): Propertize line/char and page items.
2192 (term-process-pager): Move keymap initialization elsewhere.
2193
78dd6ab1
MR
21942012-09-01 Martin Rudalics <rudalics@gmx.at>
2195
2196 * window.el (switch-to-prev-buffer): Handle additional values of
2197 BURY-OR-KILL argument. Don't switch in minibuffer window.
2198 (switch-to-next-buffer): Don't switch in minibuffer window.
2199 (quit-restore-window): New function based on quit-window.
2200 Handle additional values of former KILL argument.
2201 (quit-window): Call quit-restore-window with appropriate
2202 interpretation of KILL argument.
2203 (display-buffer-below-selected): New buffer display action
2204 function.
2205
3d10e134
SM
22062012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * minibuffer.el (completion-at-point-functions): Complete docstring
2209 (bug#12254).
2210
0e23ef9d
PE
22112012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2212
2213 Better seed support for (random).
2214 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2215 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2216 * play/mpuz.el, play/tetris.el, play/zone.el:
2217 * calc/calc-comb.el (math-init-random-base):
2218 * play/blackbox.el (bb-init-board):
2219 * play/life.el (life):
2220 * server.el (server-use-tcp):
2221 * type-break.el (type-break):
2222 Remove unnecessary call to (random t).
2223 * net/sasl.el (sasl-unique-id-function):
2224 Change (random t) to (random), now that the latter is more random.
2225 * play/life.el (life-initialized): Remove no-longer-needed var.
2226
862382df
MR
22272012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2228
2229 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2230 Consider frame's buffer predicate when choosing the buffer.
2231 (Bug#12081)
2232
262a66e1
RS
22332012-08-30 Richard Stallman <rms@gnu.org>
2234
2235 * simple.el (special-mode-map): Delete binding for `z'.
2236
f17e1d00
AS
22372012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2238
2239 * progmodes/compile.el (compilation-always-kill): Doc fix.
2240
24777832
CY
22412012-08-30 Chong Yidong <cyd@gnu.org>
2242
2243 * window.el (display-buffer-reuse-frames): Make the obsolescence
2244 message more informative.
2245
69ba1f04
GM
22462012-08-30 Glenn Morris <rgm@gnu.org>
2247
2248 * paren.el (show-paren-delay):
2249 Add a :set function. Doc fix. (Bug#12297)
2250
f0019ede
MB
22512012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2252
2253 * progmodes/compile.el (compilation-always-kill): New var.
2254 (compilation-start): Use it.
2255
35e62fc9
SM
22562012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2257
af070a1c
SM
2258 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2259 * files.el (read-only-mode): Move to simple.el.
2260
35e62fc9
SM
2261 * files.el (read-only-mode): New minor mode.
2262 (toggle-read-only): Use it and mark obsolete.
2263 (find-file--read-only):
2264 * vc/vc.el (vc-next-action, vc-checkout):
2265 * vc/vc-cvs.el (vc-cvs-checkout):
2266 * obsolete/vc-mcvs.el (vc-mcvs-update):
2267 * ffap.el (ffap--toggle-read-only): Update callers.
2268
c2c43c23
MA
22692012-08-29 Michael Albinus <michael.albinus@gmx.de>
2270
2271 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2272 remote shell scripts.
2273 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2274
2275 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2276 "/usr/local/sbin".
2277
9fba804b
SM
22782012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2281
eada0861 22822012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2283
806f0cc7
LL
2284 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2285 completion-at-point. (Bug#12220)
2286
3bb213b9
LL
2287 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2288
22ab32ef
LL
2289 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2290
eada0861 22912012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2292
19c17fc1
CY
2293 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2294 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2295
eada0861 22962012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2297
2298 * progmodes/hideif.el (hif-compress-define-list):
2299 Fix typo. (Bug#11951)
2300
eada0861 23012012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2302
2303 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2304 buffer local setting.
2305
27d6c5a8
LL
2306 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2307 rcirc-encode-coding-system.
2308
eada0861 23092012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2310
2311 * net/rcirc.el (rcirc-split-message): New function.
2312 (rcirc-send-message): Use it. (Bug#12051)
2313
d44688e4
JL
23142012-08-28 Juri Linkov <juri@jurta.org>
2315
2316 * info.el (Info-fontify-node): Hide empty lines at the end of
2317 the node. (Bug#12272)
2318
34f10d41
MR
23192012-08-27 Drew Adams <drew.adams@oracle.com>
2320
2321 * dired.el (dired-pop-to-buffer): Make window start at beginning
2322 of buffer (Bug#12281).
2323
77f1f99c
CY
23242012-08-26 Chong Yidong <cyd@gnu.org>
2325
2326 * window.el (special-display-regexps, special-display-frame-alist)
2327 (special-display-buffer-names, special-display-function)
2328 (display-buffer-reuse-frames): Mark as obsolete.
2329
2330 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2331
2332 * help.el (help-print-return-message): Don't treat
2333 display-buffer-reuse-frames specially.
2334
d97af5a0
CY
23352012-08-26 Chong Yidong <cyd@gnu.org>
2336
9fba804b
SM
2337 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2338 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2339 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2340 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2341 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2342 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2343 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2344 the functions directly with gdb-display-buffer-other-frame-action.
2345 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2346 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2347 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2348 (gdb-display-registers-buffer): Define directly.
2349 (def-gdb-display-buffer): Macro deleted.
2350 (gdb-display-buffer): Remove second and third args, callers don't
2351 use them. Defer to the default display-buffer behavior, apart
2352 from making windows dedicated.
2353 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2354
2355 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2356
2357 * window.el (display-buffer-pop-up-frame): Handle a
2358 pop-up-frame-parameters alist entry.
2359 (display-buffer): Document it.
2360
dd7ffad6
CY
23612012-08-26 Chong Yidong <cyd@gnu.org>
2362
2363 * isearch.el (search-whitespace-regexp): Make string and nil
2364 values apply to both ordinary and regexp search. Allow a cons
2365 cell value to distinguish between the two.
2366 (isearch-whitespace-regexp, isearch-search-forward)
2367 (isearch-search-backward): New functions.
2368 (isearch-occur, isearch-search-fun-default, isearch-search)
2369 (isearch-lazy-highlight-new-loop): Use them.
2370 (isearch-forward, isearch-forward-regexp): Doc fix.
2371
4c47bd1e
CY
23722012-08-26 Chong Yidong <cyd@gnu.org>
2373
2374 * faces.el (help-argument-name): Always inherit from italic
2375 (Bug#12213).
2376
9aba119d
MR
23772012-08-25 Martin Rudalics <rudalics@gmx.at>
2378
2379 * window.el (window--even-window-heights): Even heights when
2380 WINDOW and the selected window form a vertical combination.
2381 (display-buffer-use-some-window): Provide that window used gets
2382 sized back by quit-window. (Bug#11880) and (Bug#12091)
2383
ca5256ad
PE
23842012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2385
2386 Fix file time stamp problem with bzr and CVS (Bug#12001).
2387 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2388 in the file's time stamp, since the version control system loses
2389 that information.
2390
d1c0d176
JL
23912012-08-22 Juri Linkov <juri@jurta.org>
2392
2393 * info.el (Info-fontify-node): Hide the suffix of the
2394 Info file name in the header line. (Bug#12187)
2395
141562ff
GM
23962012-08-22 Glenn Morris <rgm@gnu.org>
2397
2398 * calendar/cal-tex.el (cal-tex-weekly-common):
2399 Restore leading blank page.
2400
61a48e19 24012012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2402
2403 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2404 the region under `shift-select-mode'. (Bug#12231)
2405
24062012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2407
2408 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2409 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2410 gives details on why the space is never needed.
2411
ea95074e
MR
24122012-08-22 Martin Rudalics <rudalics@gmx.at>
2413
9fba804b
SM
2414 * window.el (walk-window-tree, window-with-parameter):
2415 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2416 should run on the minibuffer window.
2417 (window-at-side-list): Don't operate on minibuffer window.
2418 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2419 (window--size-ignore): Rename to window--size-ignore-p.
2420 Update callers.
caceae25
MR
2421 (display-buffer-in-atom-window, window--major-non-side-window)
2422 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2423 (delete-side-window, display-buffer-in-side-window):
2424 New functions.
caceae25
MR
2425 (window--side-check, window-deletable-p, delete-window)
2426 (delete-other-windows, split-window): Handle side windows and
2427 atomic windows appropriately.
2428 (window--display-buffer): Call display-buffer-record-window also
2429 when the window buffer did not change.
ea95074e 2430
80a51fa0
CS
24312012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2432
2433 * help-fns.el (help-fns--key-bindings):
2434 Abbreviate non-symbol remap targets. (Bug#12174)
2435
fbb6300b
MR
24362012-08-22 Martin Rudalics <rudalics@gmx.at>
2437
2438 * dired.el (dired-mark-remembered): Don't clobber point.
2439 (Bug#11795)
2440
2b2c0794
GM
24412012-08-22 Glenn Morris <rgm@gnu.org>
2442
2443 * progmodes/bug-reference.el (bug-reference): New custom group.
2444 (bug-reference-bug-regexp): Make it a defcustom.
2445
37219830
DU
24462012-08-22 Daiki Ueno <ueno@unixuser.org>
2447
2448 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2449 (js-paren-indent-offset, js-square-indent-offset)
2450 (js-curly-indent-offset): Add :safe (Bug#12257).
2451
94e0e559
EC
24522012-08-22 Edward O'Connor <hober0@gmail.com>
2453
2454 * json.el (json-key-format): Add error properties.
2455 (json-encode-key): New function.
2456 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2457 Use json-encode-key.
2458
da485f5e
GM
24592012-08-22 Glenn Morris <rgm@gnu.org>
2460
2461 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2462 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2463 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2464 Update for above change.
2465
c6cc78b8
AS
24662012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2467
2468 * cus-face.el (custom-face-attributes): Fix customize type for the
2469 :underline attribute. (Bug#11805)
2470
5481664a
MR
24712012-08-21 Martin Rudalics <rudalics@gmx.at>
2472
2473 * window.el (window-point-1, set-window-point-1): Remove.
2474 (window-in-direction, record-window-buffer)
2475 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2476 (window--state-get-1, display-buffer-record-window):
2477 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2478 window-point and set-window-point respectively.
2479
6d74698e
GM
24802012-08-21 Glenn Morris <rgm@gnu.org>
2481
b7fa2691
GM
2482 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2483 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2484 Use it.
2485
52f56d5a
GM
2486 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2487 (cal-tex-shortday): New function.
2488 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2489 (cal-tex-cursor-filofax-daily): Use the above.
2490
9f1ee09e
GM
2491 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2492 New functions.
2493 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2494 (cal-tex-cursor-filofax-week): Use them.
2495
79858159
GM
2496 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2497 New constants.
2498 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2499 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2500
d346b2b4
GM
2501 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2502 (cal-tex-end-document): Don't rely on buffer name.
2503
b2403709
GM
2504 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2505 Use cal-tex-vspace.
2506 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2507 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2508 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2509 Use cal-tex-arg.
b2403709 2510
1cebb5c0
GM
2511 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2512 (cal-tex-cursor-week, cal-tex-cursor-week2)
2513 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2514 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2515 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2516 (cal-tex-insert-preamble, cal-tex-b-document)
2517 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2518 Improve cal-tex-cmd usage.
2519
c68cd5d4
GM
2520 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2521 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2522 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2523 (cal-tex-weekly-paper): New function.
2524 (cal-tex-cursor-week, cal-tex-cursor-week2)
2525 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2526 (cal-tex-cursor-day): Use it.
2527
9dca4801
GM
2528 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2529 (cal-tex-cursor-filofax-week): Remove leading blank page.
2530
1941e134
GM
2531 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2532 Add autoload cookie. For now at least, don't use color, since
2533 no other cal-tex function does.
2534
6d74698e
GM
2535 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2536 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2537 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2538
64cde199
JL
25392012-08-21 Juri Linkov <juri@jurta.org>
2540
2541 * info.el (Info-file-attributes): New variable.
2542 (info-insert-file-contents): Add file attributes to
2543 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2544 `Info-toc-nodes' when previous modtime of the Info file is less
2545 than new modtime.
2546 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2547 of info.el. (Bug#12230)
2548
32757648
GM
25492012-08-20 Glenn Morris <rgm@gnu.org>
2550
2551 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2552 * calendar/holidays.el (calendar-holiday-list):
2553 Report errors with display-warning rather than beep'n'sleep.
2554
a32fbbcf
MA
25552012-08-20 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * net/tramp.el (tramp-accept-process-output): Accept only output
2558 from PROC. Otherwise, process filters and sentinels might be
2559 confused. (Bug#12145)
2560
a05731a0
CY
25612012-08-20 Chong Yidong <cyd@gnu.org>
2562
2563 * descr-text.el (describe-text-properties-1): Use overlays-in to
2564 report on empty overlays (Bug#3322).
2565
36e8d1eb
GM
25662012-08-20 Glenn Morris <rgm@gnu.org>
2567
3d300447
GM
2568 * mail/rmailout.el (rmail-output-read-file-name):
2569 Trap and report errors in rmail-output-file-alist elements.
2570
36e8d1eb
GM
2571 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2572 since most non-font-lock faces are not also variables).
2573
b96e5814
ER
25742012-08-20 Edward Reingold <reingold@iit.edu>
2575
2576 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2577 New function. (Bug12160)
2578
7cef3569
GM
25792012-08-19 Glenn Morris <rgm@gnu.org>
2580
2581 * mail/rmailout.el (rmail-output-read-file-name):
2582 Fix previous change (when the alist is nil or does not match).
2583
17975d7f
CY
25842012-08-19 Chong Yidong <cyd@gnu.org>
2585
2586 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2587 (Bug#12228).
2588
2170b1bd
CY
25892012-08-18 Chong Yidong <cyd@gnu.org>
2590
2591 * simple.el (yank-handled-properties): New defcustom.
2592 (yank-excluded-properties): Add font-lock-face and category.
2593 (yank): Doc fix.
2594
9fba804b
SM
2595 * subr.el (remove-yank-excluded-properties):
2596 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2597 and category is now done this way, instead of being hard-coded.
2598 (insert-for-yank-1): Remove font-lock-face handling.
2599 (yank-handle-font-lock-face-property)
2600 (yank-handle-category-property): New function.
2601
ee218151
GM
26022012-08-17 Glenn Morris <rgm@gnu.org>
2603
2604 * mail/rmailout.el (rmail-output-read-file-name):
2605 Check rmail-output-file-alist against the full message body
2606 in the correct rmail buffer. (Bug#12214)
2607
4a6bc3fd
MA
26082012-08-17 Michael Albinus <michael.albinus@gmx.de>
2609
9fba804b
SM
2610 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2611 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2612
383dcbf9
CY
26132012-08-17 Chong Yidong <cyd@gnu.org>
2614
2615 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2616 font spec, set the font directly (Bug#3228).
2617
998c4a6a
MR
26182012-08-17 Martin Rudalics <rudalics@gmx.at>
2619
2620 * window.el (delete-window): Fix last fix.
2621
52162052
MR
26222012-08-16 Martin Rudalics <rudalics@gmx.at>
2623
2624 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2625 (window-child, window-child-count, window-last-child)
2626 (window-normalize-window, window-combined-p)
2627 (window-combinations, window-atom-root, window-min-size)
2628 (window-sizable, window-sizable-p, window-size-fixed-p)
2629 (window-min-delta, window-max-delta, window--resizable)
2630 (window--resizable-p, window-resizable, window-total-size)
2631 (window-full-height-p, window-full-width-p, window-body-size)
2632 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2633 (minimize-window, window-deletable-p, delete-window)
2634 (delete-other-windows, set-window-buffer-start-and-point)
2635 (next-buffer, previous-buffer, split-window, balance-windows-2)
2636 (set-window-text-height, window-buffer-height)
2637 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2638 (truncated-partial-width-window-p): Minor code adjustments.
2639 In doc-strings state whether the argument window has to denote a
85c2386b 2640 live, valid or any window.
52162052 2641
1c308380
PS
26422012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2643
2644 * progmodes/subword.el (subword-forward-function)
2645 (subword-backward-function, subword-forward-regexp)
2646 (subword-backward-regexp): New variables.
2647 (subword-forward, subword-forward-internal, subword-backward-internal):
2648 Use new variables, eg so that different "word" definitions
2649 can be easily used. (Bug#11411)
2650
94c9ece1
SM
26512012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2654 for composite selectors.
2655 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2656 operation just because we can't find a previous revision.
2657
f2045622
CY
26582012-08-15 Chong Yidong <cyd@gnu.org>
2659
2660 * frame.el (set-frame-font): Accept font objects.
2661
582db660
SM
26622012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2665
2f29c200
WJ
26662012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2667
456e62c2
WJ
2668 * man.el (Man-overstrike-face, Man-underline-face)
2669 (Man-reverse-face): Remove variables.
2670 (Man-overstrike, Man-underline, Man-reverse): New faces.
2671 (Man-fontify-manpage): Use them instead of the variables.
2672 (Man-cleanup-manpage): Comment change.
2673 (Man-ansi-color-map): New variable.
2674 (Man-fontify-manpage): Use it.
2675 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2676
2f29c200
WJ
2677 Implement ANSI SGR parameters 22-27 (bug#12146).
2678 * ansi-color.el (ansi-colors): Doc fix.
2679 (ansi-color-context, ansi-color-context-region): Doc fix.
2680 (ansi-color--find-face): New function.
2681 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2682 Rename the local variable `face' to `codes' since it is now a list of
2683 ansi codes. Doc fix.
2684 (ansi-color-get-face): Remove.
2685 (ansi-color-parse-sequence): New function, derived from
2686 ansi-color-get-face.
2687 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2688 codes 22-27.
2689
b4f5e9df
SM
26902012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * subr.el (read-passwd): Allow use from a minibuffer.
2693
ba025fbd
EZ
26942012-08-14 Eli Zaretskii <eliz@gnu.org>
2695
2696 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2697 inside comments and strings as identifiers.
2698
2699 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2700 expression to evaluate. This allows to evaluate expressions with
2701 embedded whitespace.
2702 (gud-tooltip-tips): Add a blank before the newline in the
2703 message-box text, for the benefit of message-box emulation on
2704 MS-Windows.
2705
2706 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2707 messages from GDB, pop them up in a tooltip to give feedback to
2708 user.
b4f5e9df
SM
2709 (gdb-tooltip-print-1): Quote the expression to evaluate.
2710 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2711 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2712 if the TTY name is nil or empty (which happens when communicating
2713 with the inferior via pipes, e.g. on MS-Windows).
2714 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2715 don't send that to the GUD buffer.
2716
c548f821
GM
27172012-08-14 Glenn Morris <rgm@gnu.org>
2718
2719 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2720 Optimize away setq-default with no args, as for setq. (Bug#12195)
2721
55802e4a
CY
27222012-08-14 Chong Yidong <cyd@gnu.org>
2723
4abcdac8
CY
2724 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2725
55802e4a
CY
2726 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2727 (Bug#12085).
2728
3c3cda1a
GM
27292012-08-14 Glenn Morris <rgm@gnu.org>
2730
2731 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2732
e1873bd0
MA
27332012-08-14 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2736 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2737 Use cached shell name.
2738
925411b4
FEG
27392012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2740
2741 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2742 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2743
e636fafe
DG
27442012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2745
2746 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2747 (ruby-percent-literal-beg-re): New constant.
2748 (ruby-syntax-general-delimiters-goto-beg): Rename to
2749 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2750 (ruby-syntax-propertize-general-delimiters): Rename to
2751 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2752 popular term. Adjust comments everywhere.
2753 (ruby-syntax-propertize-percent-literal): Only propertize when not
2754 inside a simple string or comment. When the literal is unclosed,
2755 leave the text after it unpropertized.
f063063a
DG
2756 (ruby-syntax-methods-before-regexp): New constant.
2757 (ruby-syntax-propertize-function): Use it to recognize regexps.
2758 Don't look at the text after regexp, just use the whitelist.
e636fafe 2759
e5b19827
AS
27602012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2761
2762 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2763 non-nil always load the compiled file if it exists. (Bug#12197)
2764
a9f6f311
CY
27652012-08-14 Chong Yidong <cyd@gnu.org>
2766
2767 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2768 (hi-lock-set-pattern): When deciding whether to use font lock or
2769 overlays, look at font-lock-mode instead of font-lock-fontified
2770 (Bug#12168).
2771 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2772 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2773
7d806b1e
DU
27742012-08-14 Daiki Ueno <ueno@unixuser.org>
2775
2776 * subr.el (internal--after-with-selected-window): Fix typo
2777 (Bug#12193).
2778
5beed586
FEG
27792012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2780
2781 Use `completion-table-dynamic' for completion functions.
2782 * progmodes/python.el
2783 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2784 (python-shell-completion--get-completions):
2785 Remove functions.
5beed586
FEG
2786 (python-shell-completion-complete-at-point): New function.
2787 (python-completion-complete-at-point): Use it.
2788
92cb3b04
J
27892012-08-13 Jambunathan K <kjambunathan@gmail.com>
2790
2791 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2792 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2793
89660017
SM
27942012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2795
3c98c962
SM
2796 * subr.el (function-get): Refine `autoload' arg so it can also
2797 autoload functions for gv.el (bug#12191).
2798 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2799 autoloads macros.
2800
aa7c6dbe
SM
2801 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2802 Prefer pcase-let over destructuring-bind.
2803 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2804 Also, remove whitespace as we go, rather than after accumulating the
2805 various places.
2806
89660017
SM
2807 * subr.el (internal--before-with-selected-window)
2808 (internal--after-with-selected-window): Fix typo seleted->selected.
2809 (with-selected-window): Adjust callers.
2810 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2811
31cd32c9
BG
28122012-08-13 Bastien Guerry <bzg@gnu.org>
2813
0fcd3d9f 2814 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2815 enhancement. (Bug#12172)
2816
1b15d8ad
AS
28172012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2818
31e54db0
AS
2819 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2820 type 1-6.
2821 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2822 extended headers.
2823
1b15d8ad
AS
2824 * files.el (hack-local-variables-filter): Remove useless eval.
2825
35cb9c06
MR
28262012-08-13 Martin Rudalics <rudalics@gmx.at>
2827
2828 * subr.el (with-selected-window): Fix last change.
2829
1439443b
SM
28302012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * subr.el (internal--before-with-seleted-window)
2833 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2834 (with-selected-window): Use them, to replace dependency on
2835 tty-top-frame.
1439443b 2836
0d9e2599
NN
28372012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2838
2839 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2840 binding for `newline'.
2841 (ruby-move-to-block): When moving backward, stop at block opening,
2842 not indentation.
2843 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2844 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2845 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2846 `ruby-toggle-block'.
2847
ba10c48c
SM
28482012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * ibuffer.el (ibuffer-do-toggle-read-only):
2851 * dired.el (dired-toggle-read-only):
2852 * buff-menu.el (Buffer-menu-toggle-read-only):
2853 * bindings.el (mode-line-toggle-read-only):
2854 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2855
9229c658
AS
28562012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2857
2858 * descr-text.el (describe-char): Put the overlays over the
2859 "displayed as" character.
2860
0fd09128
JB
28612012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2862
2863 * calc/calc-units.el (math-default-units-table): Give an
2864 initial value.
2865 (math-put-default-units): Add options to put composite units and
2866 unit systems in the default units table.
2867 (calc-convert-units): Send composite units to
2868 `math-put-default-units' when appropriate.
2869
9ff9402d 28702012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2871
fbb5e336
GM
2872 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2873
7aacaf15
GM
2874 * tutorial.el (help-with-tutorial):
2875 * emacs-lisp/copyright.el (copyright-update-directory):
2876 * emacs-lisp/autoload.el (autoload-find-generated-file)
2877 (autoload-find-file): Disable local eval: (for insurance).
2878
f40b9f10
GM
2879 * files.el (hack-local-variables-filter): If an eval: form is not
2880 known to be safe, and enable-local-variables is :safe, then ignore
2881 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2882 This is CVE-2012-3479.
f40b9f10 2883
daa9f1a6
SM
28842012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2887 (rx-form): Simplify.
2888
9cd80478
DG
28892012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2890
0d9e2599
NN
2891 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2892 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2893 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2894 (ruby-syntax-propertize-function): Adjust for changes in
2895 `ruby-syntax-propertize-heredoc'.
2896
28972012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2898
9cd80478
DG
2899 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2900 binding (use `M-;' instead).
9cd80478 2901 (ruby-singleton-class-p): New function.
0d9e2599 2902 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2903
d301b413
SM
29042012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2907
1530c98e
CY
29082012-08-10 Chong Yidong <cyd@gnu.org>
2909
2910 * progmodes/python.el (python-shell-get-process-name): Don't mess
2911 with same-window-buffer-names.
2912
2913 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2914 (eshell-remove-from-window-buffer-names): Make obsolete.
2915 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2916 (eshell): Just use pop-to-buffer-same-window instead.
2917
e1293765
CY
29182012-08-10 Chong Yidong <cyd@gnu.org>
2919
2920 * bindings.el: Bind M-= back to count-words-region.
2921
2922 * simple.el (count-words-region): Accept a prefix arg for acting
2923 on the entire buffer.
2924 (count-words--buffer-message): New helper function.
2925
e1894109
SM
29262012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2929 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2930 (event-start, event-end): Use posn-at-point to return a more
2931 informative posn.
2932 (posnp): New function.
2933 * mouse.el (popup-menu-normalize-position): Use it.
2934
c69f56a2
MY
29352012-08-10 Masatake YAMATO <yamato@redhat.com>
2936
2937 * mouse.el (popup-menu-normalize-position): New function.
2938 (popup-menu): Use `popup-menu-normalize-position' to normalize
2939 the form for POSITION argument.
2940
2941 * term/x-win.el (x-menu-bar-open):
2942 Use the value returend from (posn-at-point) as position
2943 passed to `popup-menu'.
2944
31673780
JB
29452012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2946
2947 * calc/calccomp.el (math-compose-expr): Add extra argument
2948 indicating that parentheses should be put around products in
2949 denominators. Give multiplication precedence over division during
2950 composition.
2951
dab7711b
CY
29522012-08-09 Chong Yidong <cyd@gnu.org>
2953
dee4ef93
CY
2954 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2955 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2956 (Man-untabify-command, manual-program): Convert to defcustom
2957 (Bug#10429).
2958
73e2bbc5
CY
2959 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2960
3e861c8a
CY
2961 * descr-text.el (describe-char): Don't insert extra newlines
2962 (Bug#10127).
2963
a9f5a649
CY
2964 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2965 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2966
dab7711b
CY
2967 * align.el (align-region): Delete temporary markers (Bug#10047).
2968 Plus some code cleanups.
2969
e0cc4efa
FEG
29702012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2971
2972 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2973 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2974 (python-shell-internal-last-output): Use make-local-variable
2975 instead of make-variable-buffer-local.
2976
489af14f
FEG
29772012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2978
2979 * progmodes/python.el: Enhancements to forward-sexp.
2980 (python-nav-forward-sexp): Rename from
2981 python-nav-forward-sexp-function.
c69f56a2
MY
2982 (python-nav--forward-sexp, python-nav--backward-sexp):
2983 New functions.
489af14f 2984
0fc50303
JB
29852012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2986
2987 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2988 modes and simplification modes.
2989
5d65606a
SM
29902012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * delsel.el (delete-selection-pre-hook): Don't propagate the
2993 file-supersession signals (bug#12161).
2994
4250fdf5
SM
29952012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2998 (cl-map-extents): Add compatibility aliases (bug#12135).
2999
d9f9b465
MA
30002012-08-08 Michael Albinus <michael.albinus@gmx.de>
3001
3002 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3003 tests by `ignore-error'.
3004 (tramp-find-shell): Open also a new shell, when cache is already
3005 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3006
ce0fcefa
JL
30072012-08-08 Juri Linkov <juri@jurta.org>
3008
3009 * bookmark.el: Add `defaults' property to the bookmark record.
3010 (bookmark-current-buffer): Doc fix.
3011 (bookmark-make-record): Add `defaults' property with default values
3012 to the bookmark record.
3013 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3014 with `bookmark-insert-current-bookmark'.
3015 (bookmark-set): Get `defaults' property from the bookmark record
3016 and use it in `read-from-minibuffer'.
3017 (bookmark-insert-current-bookmark): Remove function.
3018
3019 * info.el (Info-bookmark-make-record): Add `defaults' property
3020 with values of canonical Info node name, the current Info file
3021 name and the current Info node name. (Bug#12107)
3022
53fa8652
JL
30232012-08-08 Juri Linkov <juri@jurta.org>
3024
3025 * files.el (basic-save-buffer): Use `buffer-name' as the default
3026 of `read-file-name' when buffer is not visiting a file (bug#12128).
3027
242c0a95
JL
30282012-08-08 Juri Linkov <juri@jurta.org>
3029
3030 * info.el (Info-isearch-search): Doc fix.
3031 (Info-search): Change search-failed message from "initial node" to
3032 "end of node" (bug#12078).
3033 (Info-isearch-search): Change `isearch-string-state' to
3034 `isearch--state-string'.
3035
32ac3a6b
GM
30362012-08-08 Glenn Morris <rgm@gnu.org>
3037
3038 * language/persian.el: Remove file.
f8c1afd5 3039 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3040 * loadup.el: Remove language/persian.
3041
2c2d9c9c
OF
30422012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3043
3044 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3045
2d79ec42
FEG
30462012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3047
3048 * progmodes/python.el Fixed defsubst warning.
3049 (python-syntax-context) Rename from python-info-ppss-context.
3050 (python-syntax-context-type): Rename from
3051 python-info-ppss-context-type.
3052 (python-syntax-comment-or-string-p): Rename from
3053 python-info-ppss-comment-or-string-p.
3054
2bd255dd
JB
30552012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3056
3057 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3058
c395097f
AS
30592012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3060
6125983e
AS
3061 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3062 a defcustom that is quoted with backquote.
3063
4250fdf5
SM
3064 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3065 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3066 (math-do-arg-check, math-define-function-body): Use backquote forms.
3067 * calc/calc-ext.el (math-defcache): Likewise.
3068 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3069 * allout.el (allout-new-exposure): Likewise.
3070 * calc/calcalg2.el (math-tracing-integral): Likewise.
3071 * info.el (Info-last-menu-item): Likewise.
3072 * emulation/vip.el (vip-loop): Likewise.
3073 * textmodes/artist.el (artist-funcall): Likewise.
3074 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3075 Construct menu-item directly.
3076
4250fdf5
SM
3077 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3078 Don't declare.
c395097f 3079
5fb50dd3
CY
30802012-08-07 Chong Yidong <cyd@gnu.org>
3081
3082 * simple.el (deactivate-mark): Preserve text properties when
3083 saving the primary selection (Bug#8384).
3084
54eea618
KR
30852012-08-07 Kevin Ryde <user42@zip.com.au>
3086
3087 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3088 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3089 and continue processing (Bug#12110).
3090
638eaeb9
SM
30912012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3094 syntax-propertize-function (bug#10095).
3095
ea376861
SM
30962012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3097
f91b35be
SM
3098 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3099 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3100 describe-function-1.
3101 (describe-function-1): Use them. Move compiler macro after sig.
3102 (help-fns--compiler-macro): Use function-get. Assume we're already in
3103 standard-output. Adjust layout to new call order.
3104
ea376861
SM
3105 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3106 re-binding a symbol that has a symbol-macro (bug#12119).
3107
d5be7bd0
MB
31082012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3109
3110 * language/persian.el: New file. (Bug#11812)
3111 * loadup.el: Add language/persian.el.
3112
90749b53
CY
31132012-08-06 Chong Yidong <cyd@gnu.org>
3114
3115 * window.el (window--maybe-raise-frame): New function.
3116 (window--display-buffer): Split off from here.
3117 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3118 (display-buffer-pop-up-window, display-buffer-use-some-window):
3119 Obey an inhibit-switch-frame action alist entry.
3120 (display-buffer): Update doc.
3121
3122 * replace.el (occur-after-change-function): Avoid losing focus by
3123 using the inhibit-switch-frame display parameter (Bug#12139).
3124
ba7b0154
FEG
31252012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3126
3127 Make internal shell process buffer names start with space.
3128 * progmodes/python.el (python-shell-make-comint): Add optional
3129 argument INTERNAL.
3130 (run-python-internal): Use it.
3131 (python-shell-internal-get-or-create-process): Check for new
3132 internal buffer names.
3133
5eaeacb5
GM
31342012-08-06 Glenn Morris <rgm@gnu.org>
3135
e296d94b 3136 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3137 Do less getting and setting of environment variables.
3138
b7ccbdc2
CY
31392012-08-05 Chong Yidong <cyd@gnu.org>
3140
777fe95e
CY
3141 * proced.el (proced): Add substitution string to docstring to
3142 trigger autoloading of the proced library on C-h f (Bug#1768).
3143
4250fdf5
SM
3144 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3145 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3146
3147 * imenu.el (imenu-generic-expression): Move documentation here
3148 from imenu--generic-function.
3149 (imenu--generic-function): Refer to imenu-generic-expression.
3150
9e3b7800 31512012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
3152
3153 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3154 indentation declaration.
3155 (viper-loop): Add indentation declaration (Bug#7025).
3156
e5d9c0d1
CY
31572012-08-05 Chong Yidong <cyd@gnu.org>
3158
f0422feb
CY
3159 * help-fns.el (describe-variable): Add hyperlink for
3160 directory-local variables files. Improve buffer-local and
3161 permanent-local reporting; suggested by MON KEY (Bug#6644).
3162
3163 * help-mode.el (help-dir-local-var-def): New button type.
3164
e5d9c0d1
CY
3165 * files.el (kill-buffer-hook): Provide a defvar.
3166
a4f2deaa
GM
31672012-08-05 Glenn Morris <rgm@gnu.org>
3168
3169 * eshell/esh-ext.el (eshell/addpath):
3170 Also update eshell-path-env. (Bug#12013)
3171
a9dd5754
CY
31722012-08-05 Chong Yidong <cyd@gnu.org>
3173
a4f2deaa 3174 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3175
d014c740
CY
3176 * fringe.el (fringe-styles): Add docstring.
3177 (fringe--check-mode): New function.
3178 (set-fringe-mode, set-fringe-style): Use it.
3179 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3180
a9dd5754
CY
3181 * files.el (set-auto-mode): Fix invalid setq call.
3182
7c2dc8bd
SM
31832012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * isearch.el: Misc simplification; use defstruct.
3186 (isearch-mode-map): Dense maps now work like sparse ones.
3187 (isearch--state): New defstruct.
3188 (isearch-string-state, isearch-message-state, isearch-point-state)
3189 (isearch-success-state, isearch-forward-state)
3190 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3191 (isearch-wrapped-state, isearch-barrier-state)
3192 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3193 replaced by defstruct's accessors.
3194 (isearch--set-state): Rename from isearch-top-state and change
3195 calling convention.
3196 (isearch-push-state): Use new isearch--get-state.
3197 (isearch-toggle-word): Disable regexp when enabling word.
3198 (isearch-message-prefix): Remove unused arg _c-q-hack.
3199 (isearch-message-suffix): Remove unused arg _ellipsis.
3200
7fcc0070
AS
32012012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3202
3203 * simple.el (list-processes--refresh): For a server use :host or
3204 :local as the address.
97ad0769 3205 (list-processes): Doc fix.
7fcc0070 3206
00340faf
MN
32072012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
3208
3209 * lisp/mpc.el: Support password in host argument.
3210 (mpc--proc-connect): Parse and use new password element.
3211 Set mpc-proc variable instead of returning process.
3212 (mpc-proc): Adjust accordingly.
3213
6dad7178
EZ
32142012-08-03 Eli Zaretskii <eliz@gnu.org>
3215
18949c2f
EZ
3216 * whitespace.el (whitespace-display-mappings): Use Unicode
3217 codepoints, instead of emacs-mule codepoints. See
3218 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3219 for the details.
3220
6dad7178
EZ
3221 * files.el (file-truename): Don't skip symlink-chasing part on
3222 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3223 Windows into the loop that recursively chases symlinks.
3224 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3225 MS-DOS.
3226
385b0198
CY
32272012-08-03 Chong Yidong <cyd@gnu.org>
3228
6200f3c4
CY
3229 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3230
385b0198
CY
3231 * sort.el (sort-regexp-fields): Doc fix.
3232
b9e74744
TH
32332012-08-03 Tassilo Horn <tsdh@gnu.org>
3234
3235 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3236 labels regex position point at the expected place.
3237
41013cb4
MK
32382012-08-03 MON KEY <monkey@sandpframing.com>
3239
3240 * net/imap.el (imap-interactive-login, imap-authenticate)
3241 (imap-mailbox-lsub, imap-mailbox-list)
3242 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3243 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3244 (imap-parse-response): Doc fix.
3245
0ffee616
JT
32462012-08-03 João Távora <joaotavora@gmail.com>
3247
3248 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3249 if sexp scanning does not move point (Bug#5734).
3250
cfcc9cc8
TH
32512012-08-02 Tassilo Horn <tsdh@gnu.org>
3252
3253 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3254 Add listings, minted, and ctable packages.
3255 (reftex-label-alist-builtin): Move listings, minted, and ctable
3256 entries before LaTeX.
a01bbb84 3257 (reftex-label-alist): Docfix.
cfcc9cc8 3258
66ec2442
BG
32592012-08-02 Bastien Guerry <bzg@gnu.org>
3260
3261 * replace.el (occur): Fix docstring (bug#12122).
3262
837b365b
GM
32632012-08-02 Glenn Morris <rgm@gnu.org>
3264
3265 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3266
e098de97
PE
32672012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3268
3269 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3270 * international/mule-cmds.el: Create
3271 inactivate-current-input-method-function as an obsolete alias for
3272 deactivate-current-input-method-function. See Katsumi Yamaoka in
3273 <http://bugs.gnu.org/10150#46>.
3274
a0f95636
JB
32752012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3276
3277 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3278 of nested `if's.
3279
0d26d7c4
GM
32802012-08-01 Glenn Morris <rgm@gnu.org>
3281
3282 * progmodes/autoconf.el (autoconf-definition-regexp):
3283 Add AH_TEMPLATE, adjust submatch numbering.
3284 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3285 (autoconf-current-defun-function): Update for above change.
3286 (autoconf-current-defun-function): First skip to end of current word.
3287
b686ba06
RS
32882012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3289
3290 * calendar/cal-html.el (cal-html-insert-agenda-days):
3291 Fix typo. (Bug#12018)
3292
0d49da68
FEG
32932012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3294
3295 Shell processes: enhancements to startup and CEDET compatibility.
3296 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3297 (python-shell-make-comint): accept-process-output at startup.
3298 (run-python-internal): Set inferior-python-mode-hook to nil.
3299 (python-shell-internal-get-or-create-process): call sit-for.
3300 (python-preoutput-result): Add obsolete alias.
3301 (python-shell-internal-send-string): Use it.
3302 (python-shell-send-setup-code): Remove call to
3303 accept-process-output.
3304
f1a71c6e
AS
33052012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3306
3307 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3308 (Bug#12108)
3309
d2605269
JB
33102012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3311
3312 * calc-mode.el (calc-basic-simplification-mode): Rename from
3313 `calc-limited-simplification-mode'.
3314 (calc-alg-simplification-mode): New function.
d66060f8 3315 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3316
d2605269
JB
3317 * calc.el (calc-set-mode-line): Adjust mode line display for
3318 basic simplification mode.
3319
3320 * calc-help.el (calc-m-prefix-help): Update help message.
3321
3322 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3323 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3324
a3827a43
BG
33252012-07-31 Bastien Guerry <bzg@gnu.org>
3326
3327 * man.el (man): Fix comment. (bug#12101)
3328
502e3f89
MR
33292012-07-31 Martin Rudalics <rudalics@gmx.at>
3330
3331 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3332 Don't return a non-nil value when no suitable buffer was found.
3333
d7714961
FEG
33342012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3335
3336 * progmodes/python.el (run-python-internal): Disable font lock for
3337 internal shells.
3338
1f45e27e
SM
33392012-07-30 Stefan Merten <smerten@oekonux.de>
3340
3341 * rst.el: Silence `checkdoc-ispell'.
3342 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3343 (rst-official-version, rst-official-cvs-rev)
3344 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3345 (rst-mode-map): New key binding.
3346
0aee6912
PE
33472012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3348
3349 Update .PHONY listings in makefiles.
3350 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3351 autoloads, update-subdirs, updates, bzr-update, update-authors,
3352 compile-onefile, compile-calc, backup-compiled-files,
3353 compile-after-backup, compile-one-process, mh-autoloads,
3354 bootstrap-clean, distclean, maintainer-clean.
3355
9052f9f0
JB
33562012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3357
1823ac5a
JB
3358 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3359 (calc-set-mode-line): Don't display "AlgSimp ".
3360
3361 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3362 (calc-lim-simplify-mode): New function.
3363 (calc-set-simplify-mode): Default to 'alg.
3364 (calc-default-simplify-mode): Make algebraic simplifications
3365 the default.
3366
3367 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3368 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3369
8d7c7eed 3370 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3371 indicate new simplification modes.
3372
1823ac5a
JB
3373 * calc/README: Mention new default simplification mode.
3374
9052f9f0
JB
3375 * calc/calc.el (math-normalize-error): New variable.
3376 (math-normalize): Set `math-normalize-error' to t
3377 when there's an error.
3378
3379 * calc/calc-alg.el (math-simplify): Don't simplify when
3380 `math-normalize' returns an error.
3381
20ba0cb4
EZ
33822012-07-29 Eli Zaretskii <eliz@gnu.org>
3383
3384 * international/mule-cmds.el (set-locale-environment): Revert last
3385 change, since display-graphic-p returns nil when this function is
3386 called during startup. Instead...
3387
3388 * term/w32console.el (terminal-init-w32console): ...setup the
3389 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3390
a5dcc929
JL
33912012-07-29 Juri Linkov <juri@jurta.org>
3392
3393 * simple.el (goto-line): Don't display default line number in the
3394 prompt because it should be displayed by `read-number' (bug#9952).
3395 Add the current line number to the defaults of `goto-line' to
3396 allow its easier modification by users with `M-n' (bug#9201).
3397
3398 * subr.el (read-number): Support multiple default values like in
3399 other minibuffer reading functions. Replace `read' with
3400 `string-to-number' for consistency with `number-to-string'.
3401
72b255c7
PE
34022012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3403
3404 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3405 * emulation/viper-init.el (viper-deactivate-input-method-action):
3406 Rename from viper-inactivate-input-method-action.
3407 (viper-deactivate-input-method):
3408 Rename from viper-inactivate-input-method.
3409 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3410 * international/mule-cmds.el (deactivate-input-method):
3411 Rename from inactivate-input-method.
3412 Also run input-method-deactivate-hook.
3413 (deactivate-current-input-method-function):
3414 Rename from inactivate-current-input-method-function.
3415 (input-method-deactivate-hook): New hook.
3416 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3417 (inactivate-input-method): Mark obsolete.
3418
72b255c7
PE
3419 * international/quail.el (quail-activate):
3420 Also run quail-deactivate-hook.
3421 (quail-deactivate): Rename from quail-inactivate.
3422 * international/robin.el (robin-activate):
3423 Also run robin-deactivate-hook.
3424 (robin-deactivate): Rename from robin-inactivate.
3425
2549c068
CY
34262012-07-29 Chong Yidong <cyd@gnu.org>
3427
3428 * simple.el (indicate-copied-region): New function.
3429 (kill-ring-save): Split off from here.
3430
3431 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3432 (kill-rectangle): Set deactivate-mark to t on read-only error.
3433
3434 * register.el (copy-to-register, copy-rectangle-to-register):
3435 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
3436 (append-to-register, prepend-to-register):
3437 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3438
3439 * simple.el (async-shell-command-buffer): New defcustom.
3440 (shell-command): Use it. (Bug#4719)
3441
01bd1b0d
EZ
34422012-07-28 Eli Zaretskii <eliz@gnu.org>
3443
3444 * international/mule-cmds.el (set-locale-environment): In a
3445 console session on MS-Windows, set up keyboard and terminal
3446 encoding from the OEM codepage, not the ANSI codepage.
3447 (Bug#12055)
3448
a55739d3
CY
34492012-07-28 Chong Yidong <cyd@gnu.org>
3450
3451 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3452 gdb-get-location.
3453
0e1a094f 34542012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3455
3456 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3457 the alist (bug#12029).
3458
20329d73
EZ
34592012-07-28 Eli Zaretskii <eliz@gnu.org>
3460
3461 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3462 (compile-always, compile-first)
3463 ($(lisp)/calendar/cal-loaddefs.el)
3464 ($(lisp)/calendar/diary-loaddefs.el)
3465 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3466 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3467 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3468 instead of on update-subdirs.
3469 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3470
345a2258
CY
34712012-07-28 Chong Yidong <cyd@gnu.org>
3472
1eee6341
CY
3473 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3474 directory if vc-deduce-backend returns nil (Bug#7350).
3475
345a2258
CY
3476 * simple.el (delete-trailing-lines): New option.
3477 (delete-trailing-whitespace): Obey it (Bug#11879).
3478
049a0936
DE
34792012-07-28 David Engster <deng@randomsample.de>
3480
3481 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3482 Explanation of new 'symbol-qnames feature in doc-strings.
3483 (xml-maybe-do-ns): Return expanded names as plain symbols if
3484 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3485 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3486
aa81af71
FEG
34872012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3488
3489 Consistent completion in inferior python with emacs -nw.
3490 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3491 binding in inferior-python-mode-map with "\t".
3492 (python-shell-completion-complete-at-point)
3493 (python-completion-complete-at-point): Remove interactive spec.
3494
e827b1eb
JB
34952012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3496
3497 * calc/calccomp.el (math-compose-expr): Undo previous change.
3498
a90dfb95
FEG
34992012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3500
4250fdf5 3501 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3502 run-python.
3503 (python-shell-make-comint): Fix pop-to-buffer call.
3504 (run-python): Autoload. New arg SHOW.
3505 (python-shell-get-or-create-process): Do not pop python process
3506 buffer.
3507
32770973 35082012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3509
3510 * notifications.el (notifications-on-action-signal)
3511 (notifications-on-closed-signal): Use also the bus address for the map.
3512 (notifications-notify, notifications-close-notification)
3513 (notifications-get-capabilities): Add optional argument BUS.
3514
86332df2
TH
35152012-07-27 Tassilo Horn <tsdh@gnu.org>
3516
4250fdf5
SM
3517 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3518 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3519 ctable macro.
3520 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3521 labels written in keyvals syntax.
3522
ca1302a4
JB
35232012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3524
3525 * calc/calccomp.el (math-compose-expr): Use parentheses when
3526 there is a product in the denominator of a fraction.
3527
f8b91036
EZ
35282012-07-26 Eli Zaretskii <eliz@gnu.org>
3529
3530 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3531 ($(lisp)/calendar/diary-loaddefs.el)
3532 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3533 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3534 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3535 rewritten while the autoload files are built at the same time,
3536 which needs to load subdirs.el.
3537
c8e5a42c
MR
35382012-07-26 Martin Rudalics <rudalics@gmx.at>
3539
3540 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3541 (mouse-drag-line): Don't exit tracking when a switch-frame or
3542 switch-window event occurs (Bug#12006).
3543
670d85ea
SM
35442012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * mouse.el (popup-menu): Fix last change.
3547
7abaf5cc
SM
35482012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 Autoload from Lisp with more care. Follow aliases when looking for
3551 function properties.
3552 * subr.el (autoloadp): New function.
3553 (symbol-file): Use it.
3554 (function-get): New function.
3555 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3556 autoload-do-load.
3557 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3558 (lisp-indent-function):
3559 * emacs-lisp/gv.el (gv-get):
3560 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3561 * emacs-lisp/byte-opt.el (byte-optimize-form):
3562 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3563 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3564 Use function-get.
3565 * emacs-lisp/cl.el: Don't propagate function properties any more.
3566
3567 * speedbar.el (speedbar-add-localized-speedbar-support):
3568 * emacs-lisp/disass.el (disassemble-internal):
3569 * desktop.el (desktop-load-file):
3570 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3571 (describe-function-1):
3572 * emacs-lisp/find-func.el (find-function-noselect):
3573 * emacs-lisp/elp.el (elp-instrument-function):
3574 * emacs-lisp/advice.el (ad-has-proper-definition):
3575 * apropos.el (apropos-safe-documentation, apropos-macrop):
3576 * emacs-lisp/debug.el (debug-on-entry):
3577 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3578 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3579 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3580
b1364986
AA
35812012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3582
3583 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3584 function, not an obsolete variable (Bug#12046).
3585
67ada220
AS
35862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3587
3588 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3589
f08088e3
CS
35902012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3591
3592 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3593 window only if it is still live (Bug#12034).
3594
8137e7b3
MR
35952012-07-25 Martin Rudalics <rudalics@gmx.at>
3596
3597 * subr.el (redirect-frame-focus): Add advertised calling
3598 convention (Bug#12030).
3599
09ae5da1
PE
36002012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3601
3602 Prefer typical American spelling for "acknowledgment".
3603 * vc/add-log.el (change-log-acknowledgment): Rename from
3604 change-log-acknowledgement, with an alias for the old name.
3605
3cc5a3a8
JB
36062012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3607
3608 * calc-alg.el (math-simplify-divide): Don't cross multiply
3609 in an equation when the lhs is a variable.
3610
b7af7f62
JD
36112012-07-24 Julien Danjou <julien@danjou.info>
3612
3613 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3614 Remove, unused.
3615
ec1b09b1
EZ
36162012-07-23 Eli Zaretskii <eliz@gnu.org>
3617
3618 * startup.el (command-line): Don't display an empty user name in
3619 the error message about non-existent home directory, when
3620 init-file-user was set to an empty string. See
3621 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3622 for the details and context.
3623
b525fd8a
VB
36242012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3625
3626 * ses.el (ses-cell-formula-aset): New macro.
3627 (ses-cell-references-aset): New macro.
3628 (ses-cell-p): New function.
3629 (ses-rename-cell): Do no longer rely on complex operations like
3630 ses-cell-set-formula or ses-set-cell to change the cell and handle
3631 the undo at the same time, but rather use lower level new macros
3632 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3633 the undo directly. Refresh the mode line.
3634
2c73e345
LL
36352012-07-21 Leo Liu <sdl.web@gmail.com>
3636
670d85ea
SM
3637 * progmodes/cc-cmds.el (c-defun-name):
3638 Use match-string-no-properties instead for consistency.
2c73e345 3639
542dfbde
LL
36402012-07-20 Leo Liu <sdl.web@gmail.com>
3641
3646bcd6
LL
3642 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3643 (Bug#7879)
3644
542dfbde
LL
3645 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3646
25721031
CY
36472012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3650 * progmodes/bug-reference.el, misearch.el: Provide themselves
3651 (bug#11915).
3652
3653 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3654 of narrowed buffer (bug#11966).
3655
316e68a7
VB
36562012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3657
3658 * ses.el (ses-rename-cell): Set new name also in reference list of
3659 cells of which the renamed cell depends.
3660
bbf0e7d9
MY
36612012-07-20 Masatake YAMATO <yamato@redhat.com>
3662
3663 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3664 to check whether menu-bar is shown or not. If not shown,
3665 show the menu-bar as a popup menu instead of using tmm.
3666 * mouse.el (popup-menu): Accept `point' as `position' argument.
3667
c28662a8
DG
36682012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3669
3670 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3671 up inside string symbol literal (bug#11923).
3672
87ab808f
EZ
36732012-07-20 Eli Zaretskii <eliz@gnu.org>
3674
3675 * startup.el (fancy-startup-text): Read the whole tutorial, not
3676 just its first 256 bytes. Prevents gibberish in display of the
3677 tutorial title.
3678
89dea803
DA
36792012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3680
3681 Drop idle buffer compaction due to an absence of the
3682 proved efficiency.
3683 * compact.el: Remove.
3684
8a4e6db8
SS
36852012-07-19 Sam Steingold <sds@gnu.org>
3686
3687 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3688 vc-bzr-pull & vc-bzr-merge-branch.
3689 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3690 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3691 for consistency with compilation-error-regexp-alist.
3692 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3693 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3694 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3695 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3696
5db81e33
SM
36972012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * emacs-lisp/chart.el: Use lexical-binding.
3700 (chart-emacs-storage): Don't hardcode the list of entries.
3701
5b835e1d
DA
37022012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3703
3704 Next round of tweaks caused by Fgarbage_collect changes.
3705 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3706
9cd47b72
DA
37072012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3708
3709 Compact buffers when idle.
3710 * compact.el: New file.
3711
1d6fc0df
SM
37122012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * subr.el (eventp): Presume that if it looks vaguely like an event,
3715 it's an event (bug#10190).
3716
1d29cc7d
FEG
37172012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3718
3719 Enhancements to ppss related code (thanks Stefan).
3720 * progmodes/python.el (python-indent-context)
3721 (python-indent-calculate-indentation, python-indent-dedent-line)
3722 (python-indent-electric-colon, python-nav-forward-block)
3723 (python-mode-abbrev-table)
1d6fc0df 3724 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3725 for ppss context.
3726 (python-info-continuation-line-p): Cleanup.
3727 (python-info-ppss-context): Do not catch 'quote.
3728 (python-info-ppss-context-type)
3729 (python-info-ppss-comment-or-string-p): Simplify.
3730
d583cbe6
FEG
37312012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3732
3733 * progmodes/python.el: Enhancements to eldoc support.
3734 (python-info-current-symbol): New function.
3735 (python-eldoc-at-point): Use python-info-current-symbol.
3736 (python-info-current-defun): Fix cornercase on first defun scan.
3737 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3738 and signal error when no inferior python process is available.
3739
eceb6feb
DG
37402012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3741
3742 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3743 assume it's always t.
3744 (vc-git-registered): Remove caching, the function is only called
3745 once.
3746 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3747
4c8ff0fe
CY
37482012-07-18 Chong Yidong <cyd@gnu.org>
3749
19fb7186
CY
3750 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3751
9587c688
CY
3752 * simple.el (count-words): Report on narrowing (Bug#9959).
3753
0fe776a1
CY
3754 * bindings.el: Bind M-= to count-words.
3755
4c8ff0fe
CY
3756 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3757
7f5331cc
MY
37582012-07-18 Masatake YAMATO <yamato@redhat.com>
3759
3760 * progmodes/sh-script.el (sh-imenu-generic-expression):
3761 Capture a function with `function' keyword and without parentheses
3762 like "function FOO" (bug#11856).
3763
2dc2a609
TH
37642012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3765
3766 * window.el (split-window-sensibly): Make WINDOW argument
3767 optional.
3768
439f7677
CY
37692012-07-18 Chong Yidong <cyd@gnu.org>
3770
9aeb25a6
CY
3771 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3772
439f7677
CY
3773 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3774 and make C-x 8 RET exit isearch (Bug#11439).
3775
3776 * international/iso-transl.el: Move isearch-mode-map key
3777 definitions to isearch.el.
3778
12999ea8
SM
37792012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3782 (eieio-defclass): Use gv-define-setter when possible.
3783
3ab6e069
DA
37842012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3785
3786 Reflect recent changes in Fgarbage_collect.
3787 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3788 reflect new format of data returned by Fgarbage_collect.
3789
0a60bc10
FEG
37902012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3791
3792 New utility functions + python-info-ppss-context fix (Bug#11910).
3793 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3794 (python-info-ppss-comment-or-string-p): New functions.
3795 (python-info-ppss-context): Small fix for string check.
3796
6dafa0d5
JL
37972012-07-17 Juri Linkov <juri@jurta.org>
3798
3799 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3800 (dired-do-async-shell-command): Don't add `*' at the end of the
3801 command (Bug#11815).
3802 (dired-do-shell-command): Doc fix.
3803 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3804 Join the individual commands using either "&" or ";" as the
3805 separator depending on the values of these trailing characters.
3806 At the end re-add the trailing "&". (Bug#10598)
3807
3808 * simple.el (async-shell-command): Sync the interactive spec with
3809 `shell-command'. Doc fix.
3810 (shell-command): Doc fix.
3811
b19dd9d1
JL
38122012-07-17 Juri Linkov <juri@jurta.org>
3813
3814 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3815
bcdc27d7 38162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3817
bcdc27d7 3818 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3819 * progmodes/python.el (python-nav-beginning-of-statement):
3820 Rename from python-nav-statement-start.
bcdc27d7
FEG
3821 (python-nav-end-of-statement): Rename from
3822 python-nav-statement-end.
3823 (python-nav-beginning-of-block): Rename from
3824 python-nav-block-start.
3825 (python-nav-end-of-block): Rename from python-nav-block-end.
3826
191da00e
FEG
38272012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3828
7f5331cc
MY
3829 * progmodes/python.el (python-shell-send-string-no-output):
3830 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3831 future interactions (Bug#11868).
3832
4dc7c8d5 38332012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3834
88ecaf8f
SM
3835 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3836
ef501ef0
SM
3837 * emacs-lisp/elint.el (elint-find-args-in-code):
3838 Use help-function-arglist, so as to handle lexical byte-code.
3839
aa7aaf8f
SM
3840 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3841 change (bug#11826).
3842
45fd731c
SM
38432012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3844
2143fa32
SM
3845 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3846 Avoid spuriously marking the buffer as modified because of c-is-sws.
3847
efc26dbe
SM
3848 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3849 as not-a-comment (bug#11946).
3850
f5695c9a
SM
3851 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3852 for uninterned vars.
3853
3854 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3855 Use read-event since we don't really want to read chars but bytes.
3856
45fd731c
SM
3857 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3858 $$..$$ but also $..$ using regexps (bug#11953).
3859 Use tex-verbatim for \url and \path.
3860 (tex-font-lock-keywords): Define as defconst like the others.
3861 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3862
ddfc8813
RK
38632012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3864
3865 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3866 alias for insert-char.
3867
758e556a
FEG
38682012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3869
3870 * progmodes/python.el: Simplified imenu implementation.
3871 (python-nav-jump-to-defun): Remove command.
3872 (python-mode-map): Use `imenu' instead.
3873 (python-nav-list-defun-positions-cache)
3874 (python-imenu-include-defun-type, python-imenu-make-tree)
3875 (python-imenu-subtree-root-label, python-imenu-index-alist):
3876 Remove vars.
3877 (python-nav-list-defun-positions, python-nav-read-defun)
3878 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3879 (python-imenu-make-tree, python-imenu-create-index):
3880 Remove functions.
758e556a
FEG
3881 (python-mode): Update to interact with imenu by setting
3882 `imenu-extract-index-name-function' only.
3883
032d23ab
FEG
38842012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3885
3886 * progmodes/python.el: Enhancements to navigation commands.
3887 (python-nav-backward-sentence)
3888 (python-nav-forward-sentence): Remove.
3889 (python-nav-backward-statement, python-nav-forward-statement)
3890 (python-nav-statement-start, python-nav-statement-end)
3891 (python-nav-backward-block, python-nav-forward-block)
3892 (python-nav-block-start, python-nav-block-end)
3893 (python-nav-forward-sexp-function)
3894 (python-info-current-line-comment-p)
3895 (python-info-current-line-empty-p): New functions.
3896 (python-indent-context): Use `python-nav-statement-start'.
3897
01795a1b
MA
38982012-07-16 Michael Albinus <michael.albinus@gmx.de>
3899
9328d9aa
MA
3900 * eshell/em-ls.el (eshell/ls): Use `apply'.
3901
3902 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3903 multi-hops, instead of Tramp internals.
3904
01795a1b
MA
3905 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3906
3907 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3908 when F1 and F2 are located on different hosts.
3909
63408057
CY
39102012-07-14 Chong Yidong <cyd@gnu.org>
3911
3912 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3913 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3914 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3915 (xterm-mouse--read-event-sequence-1000)
3916 (xterm-mouse--read-event-sequence-1006): New functions. For old
3917 mouse protocol, handle M-mouse-X events correctly.
3918 (xterm-mouse-event): New arg specifying mouse protocol.
3919 (turn-on-xterm-mouse-tracking-on-terminal)
3920 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3921 sequence to toggle extended coordinates on newer XTerms.
3922 This appears to be harmless on terminals which do not support this.
63408057 3923
cd276f6e
LL
39242012-07-14 Leo Liu <sdl.web@gmail.com>
3925
28ca98ac
LL
3926 Add fringe bitmap indicators for flymake. (Bug#11253)
3927 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3928 (flymake-make-overlay): New arg BITMAP.
3929 (flymake-error-bitmap, flymake-warning-bitmap)
3930 (flymake-fringe-indicator-position): New user variables.
3931
cd276f6e
LL
3932 * fringe.el: New bitmap exclamation-mark.
3933
04408072
JD
39342012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3935
3936 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3937 also (Bug#7879).
3938
b5cf7fc4
CY
39392012-07-14 Chong Yidong <cyd@gnu.org>
3940
3941 * electric.el (electric-pair-post-self-insert-function): Fix pair
3942 insertion in empty-region case (Bug#11520).
3943
be755c79
RT
39442012-07-14 Chong Yidong <cyd@gnu.org>
3945
45fd731c
SM
3946 * bindings.el: Consolidate ctl-x-r-map bindings.
3947 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3948
3949 * rect.el, register.el: Move bindings to bindings.el.
3950
39512012-07-14 Reuben Thomas <rrt@sc3d.org>
3952
3953 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3954
7f5b3198
AS
39552012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3956
3957 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3958
97662200
JB
39592012-07-13 Juanma Barranquero <lekktu@gmail.com>
3960
80185fed
JB
3961 * bindings.el (top): Use `mapc' instead of `mapcar'.
3962
97662200
JB
3963 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3964
2bb1ae55
MA
39652012-07-13 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * progmodes/sql.el (sql-comint): Suppress the check for program on
3968 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3969 (Bug#11908)
3970
dea31bd3
CY
39712012-07-13 Chong Yidong <cyd@gnu.org>
3972
3973 * bindings.el: Assign a non-nil permanent-local property to
3974 per-buffer variables which lack a default value (Bug#11930).
3975
3976 * help-fns.el (describe-variable): In the "automatically becomes
3977 local" notice, take note of permanent-local variables.
3978
b68b3337
CY
39792012-07-13 Chong Yidong <cyd@gnu.org>
3980
3981 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3982 to allow printing the message when called from Lisp.
3983
3984 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3985 Remove toggle-read-only.
3986
3987 * bs.el (bs-toggle-readonly):
45fd731c
SM
3988 * buff-menu.el (Buffer-menu-toggle-read-only):
3989 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3990
3991 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3992 Remove with-no-warnings around toggle-read-only.
3993 (ffap-read-only, ffap-read-only-other-window)
3994 (ffap-read-only-other-frame): Callers changed.
3995
3996 * help-mode.el: Don't require view package.
3997 (help-mode-finish): Set buffer-read-only instead of calling
3998 toggle-read-only.
3999
4000 * bindings.el (mode-line-toggle-read-only):
4001 * dired.el (dired-toggle-read-only):
4002 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4003 with non-nil second arg.
4004
4005 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4006 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4007 directly.
4008
56bc1586
EZ
40092012-07-12 Eli Zaretskii <eliz@gnu.org>
4010
4011 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4012 not incf.
4013
a464a6c7
SM
40142012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 More CL cleanups and reduction of use of cl.el.
4017 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4018 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4019 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4020 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4021 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4022 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4023 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4024 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4025 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4026 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4027 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4028 * eshell/em-cmpl.el, eshell/em-banner.el:
4029 * calendar/parse-time.el: Use cl-lib.
4030 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4031 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4032 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4033 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4034 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4035 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4036 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4037 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4038 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4039 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4040 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4041 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4042 `lambda' rather than with `quote'.
4043 (eshell-do-opt): Adjust accordingly.
4044 (eshell-process-option): Simplify.
4045 * eshell/esh-var.el:
4046 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4047 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4048 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4049 to `pcase--dontcare'.
4050 * emacs-lisp/cl.el (labels): Mark obsolete.
4051 (cl--letf, letf): Move to cl-lib.
4052 (cl--letf*, letf*): Remove.
4053 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4054 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4055 (cl-progv): Rewrite.
4056 (cl--letf, cl-letf): Move from cl.el.
4057 (cl-letf*): New macro.
4058 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4059
7ad4afe1
MA
40602012-07-11 Michael Albinus <michael.albinus@gmx.de>
4061
4062 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4063
9af57756
CY
40642012-07-11 Chong Yidong <cyd@gnu.org>
4065
4066 * vc/log-edit.el (log-edit-vc-backend): New variable.
4067 (log-edit): Doc fix.
4068
4069 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4070 argument of log-edit to set up all local variables.
4071 (vc-start-logentry): New optional arg specifying VC backend.
4072
4073 * vc/vc.el (vc-checkin): Use it.
4074 (vc-deduce-fileset): Handle Log Edit buffers.
4075 (vc-diff): Make first argument optional too.
4076
4077 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4078
8477cc7a
MA
40792012-07-10 Michael Albinus <michael.albinus@gmx.de>
4080
4081 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4082 command, just in case. The function is not needed anymore.
4083 (eshell-external-command): Do not call `eshell-remote-command'.
4084
19faa8e8
SM
40852012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4086
f58e0fd5
SM
4087 Reduce use of (require 'cl).
4088 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4089 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4090 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4091 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4092 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4093 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4094 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4095 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4096 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4097 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4098 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4099 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4100 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4101 (byte-compile-unfold-bcf, byte-compile-check-variable):
4102 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4103 (byte-compile-nilconstp):
4104 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4105 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4106
2519d43a
SM
4107 * emacs-lisp/gv.el (cond): Make it a valid place.
4108 (if): Simplify slightly.
4109
19faa8e8
SM
4110 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4111 (pcase--self-quoting-p): New function.
4112 (pcase--u1): Use it.
4113
c4907a5e
GM
41142012-07-10 Glenn Morris <rgm@gnu.org>
4115
4116 * emacs-lisp/authors.el (authors-fixed-entries):
4117 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4118
c4444d16
PE
41192012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4120
4121 Rename configure.in to configure.ac (Bug#11603).
4122 * emacs-lisp/authors.el (authors-canonical-file-name):
4123 * progmodes/autoconf.el (autoconf-mode):
4124 Prefer configure.ac to configure.in.
4125
d75be97d
CY
41262012-07-08 Chong Yidong <cyd@gnu.org>
4127
01ac65bd
CY
4128 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4129 Implement the mouse-1-click-follows-link handling properly.
4130
4131 * info.el (Info-link-keymap): Use follow-link mechanism for
4132 header-line links (Bug#374).
4133
d75be97d
CY
4134 * simple.el (deactivate-mark): Do not set the primary selection
4135 if another program has acquired it (Bug#11772).
4136
87a92845 41372012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4138
4139 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4140 (woman-decode-region): Replace escaped-escapes without destroying
4141 bold or underline (Bug#11552).
87a92845 4142 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4143
621b9d6c
CY
41442012-07-07 Chong Yidong <cyd@gnu.org>
4145
4146 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4147 (interprogram-cut-function, interprogram-paste-function):
4148 Mention that we typically mean the clipboard.
621b9d6c 4149
133a11fc
GM
41502012-07-06 Glenn Morris <rgm@gnu.org>
4151
0d27a45e
GM
4152 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4153
133a11fc
GM
4154 * files.el (toggle-read-only): Restrict message to interactive use.
4155
07b151f1
MA
41562012-07-06 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4159
4160 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4161
211b896b
GM
41622012-07-06 Glenn Morris <rgm@gnu.org>
4163
50394322
GM
4164 * Makefile.in (compile-one-process): Rename from "recompile".
4165
211b896b
GM
4166 * Makefile.in (bzr-update): "compile" is the same as "recompile
4167 autoloads", but parallelizable, so use that instead.
4168
4737eec9
DG
41692012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4170
4171 * window.el (quit-window): Always restore window height when
8137e7b3 4172 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4173
226c3633 41742012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4175
4176 * simple.el (kill-whole-line): Doc tweak.
4177
226c3633 41782012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4179
4180 * files.el (file-relative-name): Compare file names
4181 case-insensitively if on MS-Windows or MS-DOS, or if
4182 read-file-name-completion-ignore-case is non-nil. Don't use
4183 case-fold-search for this purpose. (Bug#11827)
4184
4dc7c8d5
SM
41852012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4186
4187 * calendar/cal-dst.el (calendar-current-time-zone):
4188 Return calendar-current-time-zone-cache if non-nil.
4189
41902012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 41912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4192
19faa8e8
SM
4193 * calendar/cal-dst.el (calendar-current-time-zone):
4194 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4195
60198fc9
GM
41962012-07-06 Glenn Morris <rgm@gnu.org>
4197
4198 * Makefile.in (cvs-update): Remove old alias.
4199
957b3189
MA
42002012-07-05 Michael Albinus <michael.albinus@gmx.de>
4201
4202 Sync with Tramp 2.2.6-pre.
4203
4204 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4205 compatible declaration.
4206
19faa8e8
SM
4207 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4208 Protect `list-load-path-shadows' call.
957b3189
MA
4209
4210 * net/tramp-compat.el (top): Require packages, which aren't
4211 autoloaded anymore for XEmacs. Protect call of
4212 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4213 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4214 it hurts at least for SXEmacs.
4215 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4216 standard-value for `temporary-file-directory'.
4217
4218 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4219 Redirect stderr to /dev/null.
4220 (tramp-sh-handle-write-region): uid and gid can be floats.
4221 Reported by Russell Sim <russell.sim@gmail.com>.
4222 (tramp-sh-handle-vc-registered): Hide errors.
4223 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4224 and `start-file-process'.
4225 (tramp-maybe-open-connection): Check also whether `non-essential'
4226 is bound.
4227
566df3fc
CY
42282012-07-04 Chong Yidong <cyd@gnu.org>
4229
4230 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4231 (xml-parse-tag): Likewise, and avoid changing entity tables.
4232 (xml-syntax-table): Define from scratch, making sure not to give
4233 x2000 and other Unicode spaces whitespace syntax, since those are
4234 not spaces in XML.
4235 (xml-parse-fragment): Delete unused function.
4236 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4237 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4238 (xml-entity-ref, xml-pe-reference-re)
4239 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4240 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4241 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4242 (xml-entity-value-re): Use syntax references in regexps where
4243 possible; no need to define inside a let-binding.
4244 (xml-parse-dtd): Use xml-pe-reference-re.
4245 (xml-entity-or-char-ref-re): New defconst.
4246 (xml-parse-string, xml-substitute-special): Use it.
4247
30eabd7a
SM
42482012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4249
0781098a
SM
4250 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4251 (find-file--read-only): New function.
4252 (find-file-read-only, find-file-read-only-other-window)
4253 (find-file-read-only-other-frame): Use it.
4254 (insert-file-contents-literally): Don't `fset'.
4255 (get-free-disk-space): Use locate-dominating-file.
4256
b5771c0d
SM
4257 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4258 function is already compiled.
4259
30eabd7a
SM
4260 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4261
b4886f6e
MA
42622012-07-03 Michael Albinus <michael.albinus@gmx.de>
4263
4264 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4265 files on the same host.
4266
b9d82339
AS
42672012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4268
4269 * help-fns.el (describe-function-1): Only call
4270 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4271
a76e6535
CY
42722012-07-03 Chong Yidong <cyd@gnu.org>
4273
4274 * xml.el: Protect parser against XML bombs.
4275 (xml-entity-expansion-limit): New variable.
4276 (xml-parse-string, xml-substitute-special): Use it.
4277 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4278
b544fef2
GM
42792012-07-03 Glenn Morris <rgm@gnu.org>
4280
4281 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4282 Allow linking to specific messages in debbugs reports (eg 123#5).
4283
a7aef6f5
CY
42842012-07-02 Chong Yidong <cyd@gnu.org>
4285
4286 * xml.el: Fix entity and character reference expansion, allowing
4287 them to expand into markup as per XML spec.
4288 (xml-default-ns): New variable.
4289 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4290 (xml-parse-region): Make first two arguments optional.
4291 Discard text properties.
4292 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4293 All callers changed.
a7aef6f5
CY
4294 (xml-parse-tag): Call xml-parse-tag-1. For backward
4295 compatibility, this function should not modify buffer contents.
4296 (xml-parse-tag-1): Fix opening-tag regexp.
4297 (xml-parse-string): Rewrite, handling entity and character
4298 references properly.
4299 (xml--entity-replacement-text): Signal an error if a parameter
4300 entity is undefined.
4301
3df31c9f
SM
43022012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4303
2b5208f1
SM
4304 * comint.el (comint-output-filter): Filter out repeated prompts.
4305
3df31c9f
SM
4306 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4307 and file-name-absolute-p.
4308 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4309 internal calls.
4310
e3ac1281
PE
43112012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4312
4313 Spelling fixes.
4314 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4315 Rename from byte-compile--refiy-function. All uses changed.
4316
fbf2e7ad
CY
43172012-07-01 Chong Yidong <cyd@gnu.org>
4318
4319 * xml.el (xml--parse-buffer): New function. Move most of
4320 xml-parse-region here.
4321 (xml-parse-region): Copy region into a temporary buffer, since
4322 parameter entity substitution requires changing buffer contents.
4323 Use xml--parse-buffer.
4324 (xml-parse-file): Use xml--parse-buffer.
4325 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4326 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4327
9bf0aa15
GM
43282012-06-30 Glenn Morris <rgm@gnu.org>
4329
bbce2853
GM
4330 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4331
9bf0aa15
GM
4332 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4333 Remove outdated and unnecessary dbus declarations.
4334
0d23c240
EZ
43352012-06-30 Eli Zaretskii <eliz@gnu.org>
4336
4337 * emacs-lisp/timer.el (timer-until): Subtract results of
4338 float-time, instead of taking float-time of the result of
4339 time-subtract, since float-time signals an error for negative time
4340 arguments.
4341
b3218de1
CY
43422012-06-30 Chong Yidong <cyd@gnu.org>
4343
4344 * xml.el (xml-*-re): Convert defvars into defconsts, and
4345 eval-and-compile them so eval-and-compile works on derivatives.
4346 (xml--entity-replacement-text): Use eval-and-comple.
4347
a40c87a0
MA
43482012-06-30 Michael Albinus <michael.albinus@gmx.de>
4349
4350 * vc/vc-git.el (vc-git-registered): Use cache property
4351 `git-registered'.
4352 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4353 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4354 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4355
ac87de97
DG
43562012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4357
4358 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4359 removed (likely outside Emacs). (Bug#11757)
ac87de97 4360
ac10fe06
SM
43612012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4362
3df31c9f 4363 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4364
7f3fbd5d
CY
43652012-06-30 Chong Yidong <cyd@gnu.org>
4366
4367 * xml.el: Implement XML parameter entities.
4368 (xml-parameter-entity-alist): New variable.
4369 (xml-parse-region, xml-parse-fragment): Preserve previous values
4370 of xml-entity-alist and xml-parameter-entity-alist, so that
4371 repeated calls on different documents do not change them.
4372 (xml-parse-tag): Fix doctype regexp.
4373 (xml--entity-replacement-text): New function.
4374 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4375 properly requires url retrieval which is unimplemented.
4376 (xml-escape-string): Doc fix.
4377
3cfbebba
SM
43782012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4381
2af3565e
DA
43822012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4383
4384 * fringe.el (fringe-mode): Doc fix.
4385
929df0e7
MA
43862012-06-29 Michael Albinus <michael.albinus@gmx.de>
4387
4388 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4389 is non-nil.
4390 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4391 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4392
c8d3a25c 43932012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4394
c8d3a25c
GM
4395 * calendar/cal-dst.el (calendar-current-time-zone):
4396 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4397
c8d3a25c 43982012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4399
4400 * progmodes/which-func.el (which-func-format):
4401 Add mouse-face. (Bug#11698)
4402
c8d3a25c
GM
44032012-06-29 Leo Liu <sdl.web@gmail.com>
4404
4405 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4406
44072012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * minibuffer.el (minibuffer-confirm-exit-commands):
4410 Add completion-at-point (bug#11725).
4411
44122012-06-29 Glenn Morris <rgm@gnu.org>
4413
4414 * progmodes/f90.el (f90-font-lock-keywords-2):
4415 Add some preprocessor elements. (Bug#10499)
4416
44172012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4420 Use syntax-propertize (bug#11739).
4421
2badeec4
JB
44222012-06-28 Juanma Barranquero <lekktu@gmail.com>
4423
4424 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4425
ae4969c2
JD
44262012-06-28 Julien Danjou <julien@danjou.info>
4427
4428 * term.el (term-handle-colors-array): Use a set of new faces to
4429 color the terminal. Also uses :inverse-video property.
4430 (term-default-fg-color): Set to nil by default, deprecate in favor
4431 of `term-face'.
4432 (term-default-bg-color): Set to nil by default, deprecate in favor
4433 of `term-face'.
4434 (term-current-face): Use `term-face' by default.
4435 (term-bold-attribute): Variable deleted.
4436
1c9bd870
GM
44372012-06-28 Glenn Morris <rgm@gnu.org>
4438
4439 * simple.el (completion-list-mode-finish):
4440 Don't use toggle-read-only. (Since completion-list-mode has
4441 a special mode-class, it wasn't doing anything extra anyway.)
4442
c207708c
SM
44432012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 Make inlining of other-mode interpreted functions work (bug#11799).
4446 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4447 (byte-compile): Use it to fix compilation of lexical-binding closures.
4448 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4449 function, if needed.
4450
3fd56834
SM
44512012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4452
04901786
SM
4453 * help-mode.el (help-make-xrefs): Don't just withstand
4454 cyclic-variable-indirection but any error in documentation-property.
4455
1ec4b7b2
SM
4456 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4457 memory use.
4458 * bindings.el (bindings--define-key): New function.
4459 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4460 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4461 * bindings.el: Use it to purecopy define-key bindings.
4462
e309e2a5
SM
4463 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4464
d5c6faf9
SM
4465 * emacs-lisp/cl.el (flet): Mark obsolete.
4466 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4467 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4468 * progmodes/js.el (js-c-fill-paragraph):
4469 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4470 (ebrowse-switch-member-buffer-to-derived-class):
4471 * play/5x5.el (5x5-solver): Use cl-flet.
4472
6e9590e2
SM
4473 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4474 (cl--symbol-function): New macro.
4475 (cl--letf, cl--letf*): Use it.
4476
3fd56834
SM
4477 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4478 Strip "toggle-" if any.
4479
35ff222c
GM
44802012-06-27 Glenn Morris <rgm@gnu.org>
4481
1ba6038a
GM
4482 * info.el (Info-default-directory-list): Move here from paths.el.
4483 * paths.el: Remove file, which is now empty.
4484 * loadup.el: No longer load "paths".
4485
0ea0e51b
GM
4486 * custom.el (custom-initialize-delay): Doc fix.
4487
35ff222c
GM
4488 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4489 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4490 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4491 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4492 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4493 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4494 * eshell/eshell.el (eshell-defgroup): Remove alias.
4495
c89926a5
CY
44962012-06-27 Chong Yidong <cyd@gnu.org>
4497
4498 * help.el (help-enable-auto-load): New variable.
4499
4500 * help-fns.el (help-fns--autoloaded-p): New function.
4501 (describe-function-1): Refer to a function as "autoloaded" if it
4502 was autoloaded at any time in the past. Perform autoloading if
4503 help-enable-auto-load is non-nil.
4504
cc06e7e7
EZ
45052012-06-26 Eli Zaretskii <eliz@gnu.org>
4506
4507 * makefile.w32-in (compile, compile-always): Depend on
4508 update-subdirs, not on subdirs.el. Otherwise, several different
4509 sub-targets of 'bootstrap' running in parallel could
4510 simultaneously write to subdirs.el, producing a garbled file.
4511
d2c32364
SS
45122012-06-26 Sam Steingold <sds@gnu.org>
4513
4514 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4515 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4516 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4517 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4518 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4519 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4520 * textmodes/tex-mode.el: Use it.
4521 Did not touch cedet and org because they are maintained elsewhere.
4522
5cf983b2
MR
45232012-06-26 Martin Rudalics <rudalics@gmx.at>
4524
4525 * calendar/calendar.el (calendar-exit): Don't try to delete or
4526 iconify last frame. See:
4527 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4528
8c4f2952
JD
45292012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4530
4531 * server.el (server-process-filter): Remember dir in the
4532 process's `server-client-directory' properties.
4533
772b2e2c
CY
45342012-06-24 Chong Yidong <cyd@gnu.org>
4535
4536 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4537 non-tag text.
4538
711b11e1
JB
45392012-06-23 Juanma Barranquero <lekktu@gmail.com>
4540
4541 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4542
dc5d230c
SM
45432012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * help-fns.el (describe-variable): Don't croak when doc is not found.
4546 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4547 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4548 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4549 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4550 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4551 ((lambda ..) ..).
4552 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4553
136e1c1d
CY
45542012-06-23 Chong Yidong <cyd@gnu.org>
4555
e8c1cabf
CY
4556 * info.el (Info-mouse-follow-link): Accept symbol values of
4557 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4558 (Info-fontify-node): Use Info-link-keymap for all navigation
4559 buttons, with link-args property to perform the desired action.
4560 (Info-link-keymap): Doc fix.
4561 (Info-next-link-keymap, Info-prev-link-keymap)
4562 (Info-up-link-keymap): Delete now-unused keymaps.
4563
0e9e6c6a
CY
45642012-06-23 Chong Yidong <cyd@gnu.org>
4565
05e89fea
CY
4566 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4567
0e9e6c6a
CY
4568 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4569 system abbrevs.
4570
4571 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4572
e33c6771
SM
45732012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4574
b68581e2
SM
4575 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4576 (bug#11719).
4577
e33c6771
SM
4578 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4579 the requote function doesn't work properly (bug#11714).
4580
7117e105
GM
45812012-06-23 Glenn Morris <rgm@gnu.org>
4582
4583 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4584
36cec983
SM
45852012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 Further GV/CL cleanups.
4588 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4589 gv-expander.
4590 (gv--defun-declaration): New function.
4591 (defun-declarations-alist): Use it.
4592 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4593 (gv-place): Autoload.
4594 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4595 original definition of dotimes and dolist.
4596 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4597 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4598 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4599 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4600 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4601 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4602 to the function's definition.
4603 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4604 * window.el:
4605 * files.el:
4606 * faces.el:
4607 * env.el: Don't use CL.
4608
d35af63c
PE
46092012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4610
4611 Support higher-resolution time stamps (Bug#9000).
4612
4613 * calendar/time-date.el (with-decoded-time-value): New arg
4614 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4615 (encode-time-value): New optional arg PICO. New type 3.
4616 (time-to-seconds) [!float-time]: Support the new picoseconds
4617 component if it's used.
4618 (seconds-to-time, time-subtract, time-add):
4619 Support ps-resolution time stamps as well.
4620
4621 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4622 (timerp): Timer vectors now have length 9, not 8.
4623 (timer--time): Support new-style (4-part) time stamps.
4624 (timer-next-integral-multiple-of-time): Time stamps now have
4625 picosecond resolution, so take a bit more care about rounding.
4626 (timer-relative-time, timer-inc-time): New optional arg psecs.
4627 (timer-set-time-with-usecs): Set psecs to 0.
4628 (timer--activate): Check psecs component, too.
4629
4630 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4631
ac77b21a
SM
46322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4633
f143bfe3
SM
4634 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4635 Move the non-essential binding to the post/pre-command-hook where it is
4636 more obviously correct.
4637
ac77b21a
SM
4638 * subr.el (read-passwd): Don't use a history at all.
4639 * savehist.el (savehist-save): Remove password saved accidentally
4640 because of the above bug.
4641
76386c5a
BG
46422012-06-22 Bastien Guerry <bzg@gnu.org>
4643
4644 * files.el (toggle-read-only): Display a message telling whether
4645 the buffer is read-only or not (bug#11726).
4646
2ee3d7f0
SM
46472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * emacs-lisp/gv.el: New file.
4650 * subr.el (push, pop): Extend to generalized variables.
4651 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4652 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4653 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4654 gv-define-simple-setter, and gv-define-expander.
4655 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4656 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4657 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4658 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4659 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4660 gv-letplace.
4661 (cl-defstruct): Don't define setf-method any more.
4662 * emacs-lisp/cl.el (flet): Don't autoload.
4663 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4664 (define-setf-expander, defsetf, define-modify-macro)
4665 (cl-struct-setf-expander): Move from cl-lib.el.
4666 * emacs-lisp/syntax.el:
4667 * emacs-lisp/ewoc.el:
4668 * emacs-lisp/smie.el:
4669 * emacs-lisp/cconv.el:
4670 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4671 (timer--time): Use gv-define-simple-setter.
4672 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4673 to avoid coding-system problems in subr.el. Adjust all users.
4674 (macroexp--maxsize, macroexp-small-p): New functions.
4675 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4676 * scroll-bar.el (scroll-bar-mode):
4677 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4678 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4679 * winner.el (winner-configuration, winner-make-point-alist)
4680 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4681 * files.el (locate-file-completion-table): Avoid list*.
4682
c5695d1d
CY
46832012-06-22 Chong Yidong <cyd@gnu.org>
4684
4685 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4686 (dired-create-files): Doc fix (Bug#11329).
4687 (dired-do-copy): Doc fix (Bug#11334).
4688 (dired-mark-read-string): Doc fix (Bug#11553).
4689
2ee3d7f0
SM
4690 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4691 Doc fix (Bug#11326).
c5695d1d
CY
4692 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4693 (dired-dwim-target): Doc fix.
4694
4695 * wdired.el (wdired-mode): Doc fix.
4696
89b5595a
GM
46972012-06-22 Glenn Morris <rgm@gnu.org>
4698
575db3f1
GM
4699 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4700 (pcmpl-rpm-cache-stamp-file): New constant.
4701 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4702 (pcmpl-rpm-packages): Optionally cache list of packages.
4703
a4c8dd51
GM
4704 * pcmpl-rpm.el (pcmpl-rpm): New group.
4705 (pcmpl-rpm-query-options): New option.
4706 (pcmpl-rpm-packages): No need to inline it.
4707 Use pcmpl-rpm-query-options.
4708
89b5595a
GM
4709 * calendar/calendar.el (calendar-in-read-only-buffer):
4710 Avoid some needless mode changes.
4711
e76f0800
CY
47122012-06-21 Chong Yidong <cyd@gnu.org>
4713
4714 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4715 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4716 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4717
297a8f1d
CY
47182012-06-20 Chong Yidong <cyd@gnu.org>
4719
4720 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4721
d34c18b1
DR
47222012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4723
4724 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4725 (bug#11201).
4726
32f7f28e
CY
47272012-06-20 Chong Yidong <cyd@gnu.org>
4728
4729 * term.el (term-window-width): Handle the case of a missing right
4730 fringe (Bug#8837).
4731 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4732 (term-mode): Use define-derived-mode. Minor cleanups.
4733 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4734 (term-move-columns, term-insert-char, term-emulate-terminal)
4735 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4736
493c6688
MA
47372012-06-20 Michael Albinus <michael.albinus@gmx.de>
4738
d34c18b1
DR
4739 * net/ange-ftp.el (ange-ftp-get-passwd):
4740 Bind `enable-recursive-minibuffers'.
493c6688
MA
4741 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4742
3f06ecf4
DR
47432012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4744
4745 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4746
68f12411
GM
47472012-06-19 Glenn Morris <rgm@gnu.org>
4748
4749 * progmodes/python.el (python-mode): Derive from prog-mode.
4750
b3820318
KG
47512012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4752
4753 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4754 (edt-user-menu-bar-update-buffers): New functions.
4755 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4756
c6bf3022
CY
47572012-06-19 Chong Yidong <cyd@gnu.org>
4758
4759 * subr.el (with-selected-window): Preserve the selected window's
4760 terminal's top-frame (Bug#4702).
4761
4762 * window.el (save-selected-window): Likewise.
4763
25f09295
SM
47642012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * progmodes/python.el (python-rx-constituents): Move backquote.
4767 (python-skeleton-define, python-define-auxiliary-skeleton):
4768 Use `declare'.
4769
6b11952a
MA
47702012-06-18 Michael Albinus <michael.albinus@gmx.de>
4771
4772 * minibuffer.el (read-file-name-default): Revert the patch from
4773 2012-06-17.
4774
ee4b1330
SM
47752012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4778 (pcase--u1, pcase--q1): Don't use apply-partially.
4779
35647f79
GM
47802012-06-18 Glenn Morris <rgm@gnu.org>
4781
4782 * progmodes/python.el (python-proc, python-buffer)
4783 (python-send-receive, python-send-string): Fix obsolete versions.
4784
24b0cff0
MR
47852012-06-18 Martin Rudalics <rudalics@gmx.at>
4786
4787 * window.el (special-display-p): Completely remove stringp
4788 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4789
29855149
MA
47902012-06-17 Michael Albinus <michael.albinus@gmx.de>
4791
4792 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4793
4794 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4795
4796 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4797 * net/tramp-sh.el (tramp-maybe-open-connection):
4798 Throw if `non-essential' is non-nil.
4799
07463363
MR
48002012-06-17 Martin Rudalics <rudalics@gmx.at>
4801
4802 * window.el (special-display-p): Signal an error if BUFFER-NAME
4803 is not a string (Bug#11713).
4804
48d1354e
PE
48052012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4806
4807 * progmodes/python.el (python-info-beginning-of-backslash):
4808 Rename from python-info-beginning-of-backlash, as a spelling fix.
4809
eb4a8a9a
CY
48102012-06-17 Chong Yidong <cyd@gnu.org>
4811
4812 * term.el (term-emulate-terminal): If term-check-size is called,
4813 move point to the process mark without resetting point (Bug#4635).
4814
ddfbf826 48152012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4816
4817 * international/mule-cmds.el (mule-menu-keymap)
4818 (set-language-environment, set-locale-environment): Doc tweaks.
4819
9b0e3eba
AA
48202012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4821
4822 * cus-face.el (custom-face-attributes): Add wave-style underline
4823 attribute.
4824 * faces.el (set-face-attribute): Update docstring to describe
4825 wave-style underline attribute.
4826
771e3eae
CY
48272012-06-16 Chong Yidong <cyd@gnu.org>
4828
4829 * term/xterm.el (terminal-init-xterm): Discard input before
4830 querying background mode (Bug#10959).
4831
7ae2ea10
SM
48322012-06-16 Stefan Merten <smerten@oekonux.de>
4833
4834 * textmodes/rst.el: Added and corrected some comments.
4835 (rst-re-alist-def): Improve symbol syntax.
4836 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4837 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4838 (rst-official-version, rst-official-cvs-rev): Update version
4839 information.
7ae2ea10 4840
b6974efa
JB
48412012-06-15 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4844 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4845
8826d473
GM
48462012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4847
4848 * progmodes/python.el: New python.el merge.
4849 (python-guess-indent): Obsolete var.
4850 (python-indent-guess-indent-offset): New defcustom.
4851 (python-indent): Obsolete var.
4852 (python-indent-offset): New defcustom.
4853 (python-python-command, python-jython-command): Delete var.
4854 (python-shell-interpreter): New defcustom.
4855 (python-pdbtrack-do-tracking-p): Delete var.
4856 (python-pdbtrack-activate): New defcustom.
4857 (python-use-skeletons): Obsolete var.
4858 (python-skeleton-autoinsert): New defcustom.
4859 (inferior-python-filter-regexp, python-continuation-offset)
4860 (python-honour-comment-indentation, python-indent-string-contents)
4861 (python-jython-packages, python-mode-hook)
4862 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4863 (python-shell-prompt-alist)
4864 (python-source-modes): Delete defcustoms.
4865 (python-check-buffer-name, python-eldoc-setup-code)
4866 (python-eldoc-string-code, python-ffap-setup-code)
4867 (python-ffap-string-code, python-fill-comment-function)
4868 (python-fill-decorator-function, python-fill-paren-function)
4869 (python-fill-string-function, python-imenu-include-defun-type)
4870 (python-imenu-make-tree, python-imenu-subtree-root-label)
4871 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4872 (python-shell-compilation-regexp-alist)
4873 (python-shell-completion-module-string-code)
4874 (python-shell-completion-pdb-string-code)
4875 (python-shell-completion-setup-code)
4876 (python-shell-completion-string-code)
4877 (python-shell-enable-font-lock, python-shell-exec-path)
4878 (python-shell-extra-pythonpaths)
4879 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4880 (python-shell-process-environment)
4881 (python-shell-prompt-block-regexp)
4882 (python-shell-prompt-output-regexp)
4883 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4884 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4885 (python-shell-virtualenv-path): New defcustoms.
4886 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4887 (inferior-python-mode-syntax-table, python--prompt-regexp)
4888 (python-buffer, python-command python-python-command)
4889 (python-default-template, python-imports, python-indent-index)
4890 (python-indent-list, python-indent-list-length)
4891 (python-mode-running, python-pdbtrack-is-tracking-p)
4892 (python-preoutput-continuation, python-preoutput-leftover)
4893 (python-preoutput-result, python-preoutput-skip-next-prompt)
4894 (python-prev-dir/file, python-recursing)
4895 (python-saved-check-command, python-version-checked)
4896 (python-which-func-length-limit)
4897 (view-return-to-alist): Delete vars.
4898 (python-check-custom-command, python-dotty-syntax-table)
4899 (python-imenu-index-alist, python-indent-current-level)
4900 (python-indent-dedenters, python-indent-levels)
4901 (python-nav-beginning-of-defun-regexp)
4902 (python-nav-list-defun-positions-cache)
4903 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4904 (python-shell-internal-buffer)
4905 (python-skeleton-available): New vars.
4906 (def-python-skeleton): Delete macro.
4907 (python-skeleton-define): New macro.
4908 (python-define-auxiliary-skeleton, python-rx): New macros.
4909 (python-insert-class): Delete command.
4910 (python-skeleton-class): New command.
4911 (python-insert-def): Delete command.
4912 (python-skeleton-def): New command.
4913 (python-insert-for): Delete command.
4914 (python-skeleton-for): New command.
4915 (python-insert-if): Delete command.
4916 (python-skeleton-if): New command.
4917 (python-insert-try/except, python-insert-try/finally): Delete commands.
4918 (python-skeleton-try): New command.
4919 (python-insert-while): Delete command.
4920 (python-skeleton-while): New command.
4921 (python-backspace): Delete command.
4922 (python-indent-dedent-line-backspace): New command.
4923 (python-electric-colon): Delete command.
4924 (python-indent-electric-colon): New command.
4925 (python-guess-indent): Delete command.
4926 (python-indent-guess-indent-offset): New command.
4927 (python-shift-left): Delete command.
4928 (python-indent-shift-left): New command.
4929 (python-shift-right): Delete command.
4930 (python-indent-shift-right): New command.
4931 (python-find-function): Delete command.
4932 (python-nav-jump-to-defun): New command.
4933 (python-next-statement): Delete command.
4934 (python-nav-forward-sentence): New command.
4935 (python-previous-statement): Delete command.
4936 (python-nav-backward-sentence): New command.
4937 (python-fill-paragraph): Delete command.
4938 (python-fill-paragraph-function): New command.
4939 (python-send-buffer): Delete command.
4940 (python-shell-send-buffer): New command.
4941 (python-send-defun): Delete command.
4942 (python-shell-send-defun): New command.
4943 (python-send-region, python-send-region-and-go): Delete commands.
4944 (python-shell-send-region)
4945 (python-shell-switch-to-shell): New commands.
4946 (python-send-string): Delete command.
4947 (python-shell-send-string): New command.
4948 (python-switch-to-python): Delete command.
4949 (python-shell-switch-to-shell): New command.
4950 (python-describe-symbol): Delete command.
4951 (python-eldoc-at-point): New command.
4952 (python--set-prompt-regexp, python-args-to-list)
4953 (python-after-info-look, python-check-version)
4954 (python-check-comint-prompt, python-find-imports)
4955 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4956 (python-unload-function, python-expand-template)
4957 (python-maybe-jython, python-preoutput-filter)
4958 (python-pdbtrack-get-source-buffer)
4959 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4960 (python-pdbtrack-toggle-stack-tracking)
4961 (python-pdbtrack-track-stack-file, python-initial-text)
4962 (python-first-word, python-comment-line-p, python-send-command)
4963 (python-setup-brm, python-sentinel, python-set-proc)
4964 (python-skip-out, python-input-filter, python-outdent-p)
4965 (python-outline-level, python-backslash-continuation-line-p)
4966 (python-end-of-block, python-end-of-statement, python-mark-block)
4967 (python-beginning-of-block, python-beginning-of-statement)
4968 (python-blank-line-p, python-beginning-of-string)
4969 (python-open-block-statement-p): Delete functions.
4970 (python-indent-line, python-indent-line-1): Delete functions.
4971 (python-indent-line): New function.
4972 (python-indentation-levels): Delete function.
4973 (python-indent-calculate-levels): New function.
4974 (python-proc): Delete function.
4975 (python-shell-get-process): New function.
4976 (python-send-receive): Delete function.
4977 (python-shell-send-string-no-output): New function.
4978 (python-module-path): Delete function.
4979 (python-ffap-module-path): New function.
4980 (python-completion-at-point)
4981 (python-symbol-completions): Delete functions.
4982 (python-completion-complete-at-point): New function.
4983 (python-load-file): Delete function.
4984 (python-shell-send-file): New function.
4985 (python-calculate-indentation): Delete function.
4986 (python-indent-calculate-indentation): New function.
4987 (python-skip-comments/blanks): Delete function.
4988 (python-util-forward-comment): New function.
4989 (python-continuation-line-p): Delete function.
4990 (python-info-continuation-line-p): New function.
4991 (python-which-func, python-current-defun): Delete function.
4992 (python-info-current-defun): New function.
4993 (python-beginning-of-defun): Delete function.
4994 (python-nav-beginning-of-defun): New function.
4995 (python-close-block-statement-p)
4996 (python-block-end-p): Delete function.
4997 (python-info-closing-block): New function.
4998 (python-comint-output-filter-function)
4999 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5000 (python-fill-comment, python-fill-decorator, python-fill-paren)
5001 (python-fill-string, python-imenu-make-element-tree)
5002 (python-imenu-make-tree, python-imenu-tree-assoc)
5003 (python-indent-context, python-indent-dedent-line)
5004 (python-indent-line-function)
5005 (python-indent-post-self-insert-function)
5006 (python-indent-toggle-levels)
5007 (python-info-assignment-continuation-line-p)
5008 (python-info-beginning-of-backlash)
5009 (python-info-block-continuation-line-p)
5010 (python-info-closing-block-message)
5011 (python-info-line-ends-backslash-p)
5012 (python-info-looking-at-beginning-of-defun)
5013 (python-info-ppss-context, python-info-ppss-context-type)
5014 (python-nav-list-defun-positions, python-nav-read-defun)
5015 (python-nav-sentence-end, python-nav-sentence-start)
5016 (python-pdbtrack-comint-output-filter-function)
5017 (python-pdbtrack-set-tracked-buffer)
5018 (python-shell-calculate-exec-path)
5019 (python-shell-calculate-process-environment)
5020 (python-shell-completion--do-completion-at-point)
5021 (python-shell-completion--get-completions)
5022 (python-shell-completion-complete-at-point)
5023 (python-shell-completion-complete-or-indent)
5024 (python-shell-get-or-create-process)
5025 (python-shell-get-process-name)
5026 (python-shell-internal-get-or-create-process)
5027 (python-shell-internal-get-process-name)
5028 (python-shell-internal-send-string, python-shell-make-comint)
5029 (python-shell-parse-command, python-shell-send-setup-code)
5030 (python-skeleton-add-menu-items)
5031 (python-util-clone-local-variables, python-util-position)
5032 (run-python-internal, python-indentation-levels)
5033 (python-nav-beginning-of-defun)
5034 (python-completion-complete-at-point): New functions.
5035 (run-python): Change arguments. New API requirements.
5036
4302f5ba
SM
50372012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5038
f38ea36d
SM
5039 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5040 (bug#11649).
5041
5042 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5043 (macroexp--expand-all): Use it.
5044
4302f5ba
SM
5045 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5046 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5047 Use `cl-function' instead.
5048
33377562
JB
50492012-06-14 Juanma Barranquero <lekktu@gmail.com>
5050
5051 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5052 Suggested by Stefan Monnier while discussing bug#11657.
5053
54c5ba1a
SS
50542012-06-14 Sam Steingold <sds@gnu.org>
5055
5056 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5057
f9f1b1fe
AS
50582012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5059
5060 * play/doctor.el (doctor-doc): Remove parameter and use
5061 doctor-sent instead of sent.
5062 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5063
a81068ba
SM
50642012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5a315f9c
SM
5066 * files.el: Require cl-lib.
5067 (file-name-non-special): Replace case -> cl-case.
5068
5069 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5070
a81068ba
SM
5071 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5072 mapping from #' to function*.
5073
8cca9703
CY
50742012-06-13 Chong Yidong <cyd@gnu.org>
5075
5076 * mouse.el (mouse-drag-track): Do not set the mark if the user
5077 releases the mouse without selecting anything (Bug#11588).
5078
a12ac9d7
SM
50792012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5080
ccf1dc18
SM
5081 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5082 as well (bug#11646).
5083
ef62b23d
SM
5084 * loadup.el: Count byte-code functions as well.
5085
c4c8444a
SM
5086 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5087 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5088
a12ac9d7
SM
5089 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5090 (bug#11649). Add cl-defun and cl-defmacro.
5091
87e6e64f
DA
50922012-06-13 Drew Adams <drew.adams@oracle.com>
5093
5094 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5095 Fix last change.
5096
682cefaf
MA
50972012-06-13 Michael Albinus <michael.albinus@gmx.de>
5098
5099 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5100 Otherwise, it blocks in batch mode.
5101
773e1f08
JB
51022012-06-13 Juanma Barranquero <lekktu@gmail.com>
5103
5104 * help-mode.el (bookmark-make-record-default): Declare.
5105
60057926
CY
51062012-06-13 Chong Yidong <cyd@gnu.org>
5107
5108 * emacs-lisp/package.el (list-packages): Compute a list of
5109 packages that are newly-available since the last list-packages
5110 invocation.
5111 (package-menu--new-package-list): New var.
5112 (package-menu--generate, package-menu--print-info)
5113 (package-menu--status-predicate, package-menu-mark-install):
5114 Handle new status label "new".
5115
ad4d226c
SM
51162012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5119 conversion to backquotes.
5120
f1a4e679
CY
51212012-06-12 Chong Yidong <cyd@gnu.org>
5122
5123 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5124 Rename from gud-inhibit-global-bindings.
5125
5126 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5127
5128 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5129 hook from nxml-glyph-set-hook.
5130
5131 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5132 declaration.
5133
5134 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5135
5136 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5137 Convert to defcustom.
5138
0c9e42b5
DA
51392012-06-12 Drew Adams <drew.adams@oracle.com>
5140
5141 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5142 New functions.
5143 (help-mode): Use them.
5144
09e06855
GM
51452012-06-11 Glenn Morris <rgm@gnu.org>
5146
5147 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5148 Use preprocessor face for directives.
5149 (fortran-directive-re): Doc fix.
5150
71adb94b
SM
51512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5152
2eb87922
SM
5153 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5154 conversion to backquotes (bug#11652).
5155
71adb94b
SM
5156 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5157 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5158 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5159 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5160 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5161 (cl-ninth, cl-tenth): Mark them as inlinable.
5162 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5163 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5164 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5165 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5166 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5167 (cl-list*, cl-adjoin): Don't put an autoload manually.
5168 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5169 (cl--compiler-macro-list*): Add autoload cookie.
5170 (cl--compiler-macro-cXXr): New function.
2eb87922 5171
71adb94b
SM
5172 * help-fns.el (help-fns--compiler-macro): New function extracted from
5173 describe-function-1; follow aliases and use `compiler-macro' property.
5174 (describe-function-1): Use it.
5175
a6674402
CY
51762012-06-11 Chong Yidong <cyd@gnu.org>
5177
5178 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5179 is uninstalled, if imagemagick is installed.
5180
bb3faf5b
SM
51812012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * emacs-lisp/cl-lib.el: Use lexical-binding.
5184 (cl-map-extents, cl-maclisp-member): Remove.
5185 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5186 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5187 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5188 * emacs-lisp/cl-extra.el: Use lexical-binding.
5189 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5190 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5191 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5192 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5193 * emacs-lisp/cl-seq.el: Use lexical-binding.
5194 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5195 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5196 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5197 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5198 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5199 CL's internals.
5200
2fe4b125
MA
52012012-06-11 Michael Albinus <michael.albinus@gmx.de>
5202
5203 Sync with Tramp 2.2.6-pre.
5204
5205 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5206 `print-length' and `print-level' to nil, in order to avoid
5207 truncation. Reported by Christopher Schmidt
5208 <christopher@ristopher.com>.
5209
5210 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5211
5212 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5213 New defmacro.
5214 (tramp-compat-copy-directory): Add optional argument
5215 COPY-CONTENTS. It is not handled yet.
5216
5217 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5218 (tramp-ftp-file-name-p): Simplify.
5219
5220 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5221 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5222 connection vector.
5223
5224 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5225 (tramp-methods): Do not use `tramp-password-end-of-line'.
5226 (tramp-completion-function-alist-putty): Handle UNIX case.
5227 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5228 (tramp-do-file-attributes-with-stat)
5229 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5230 gid as real numbers. They could run out of integer range on cygwin.
5231 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5232 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5233 (tramp-open-connection-setup-interactive-shell):
5234 Use `tramp-cleanup'. Move check for busyboxes ...
5235 (tramp-find-shell): ... here. Simplify implementation.
5236 Set "remote-shell" property also for alternative shells.
5237 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5238 If failing, a regular file would be written otherwise.
5239 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5240 (tramp-find-inline-encoding): Cache the coding commands in the
5241 process cache. Apply test command on the remote side, if defined.
5242 (tramp-find-inline-compress): Cache the compress commands in the
5243 process cache.
5244 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5245 when requested. Handle hops.
5246 (tramp-current-connection): New defvar.
87e6e64f
DA
5247 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5248 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5249 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5250 (tramp-get-inline-compress, tramp-get-inline-coding):
5251 Read connection properties from the process cache.
2fe4b125
MA
5252
5253 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5254 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5255 New defconsts.
2fe4b125
MA
5256 (tramp-smb-prompt): Extend for powershell prompt.
5257 (tramp-smb-file-name-handler-alist): Add handlers for
5258 `process-file', `shell-command' and `start-file-process'.
5259 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5260 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5261 (tramp-smb-file-name-p): Simplify.
5262 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5263 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5264 (tramp-smb-shell-quote-argument): New defuns.
5265 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5266 Implement using "tar". By this, time-stamps are preserved.
5267 (tramp-smb-handle-copy-file): Handle also the case of directories.
5268 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5269 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5270 Use `tramp-get-connection-buffer').
2fe4b125
MA
5271 (tramp-smb-handle-rename-file): Use "rename", when source and
5272 target are on the same share.
87e6e64f
DA
5273 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5274 Use `tramp-smb-server-version'.
2fe4b125
MA
5275 (tramp-smb-wait-for-output): Remove prompt.
5276
5277 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5278 (tramp-methods, tramp-rsh-end-of-line):
5279 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5280 (tramp-save-ad-hoc-proxies): New defcustom.
5281 (tramp-completion-function-alist): Adapt docstring.
5282 (tramp-default-password-end-of-line): Remove defcustom.
5283 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5284 (tramp-user-regexp, tramp-file-name-regexp-unified)
5285 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5286 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5287 (tramp-remote-file-name-spec-regexp): New defconst.
5288 (tramp-file-name-structure): Extend structure for hops.
5289 (tramp-get-method-parameter): Move up.
5290 (tramp-file-name-p, tramp-dissect-file-name)
5291 (with-parsed-tramp-file-name): Handle hops.
5292 (tramp-file-name-hop): New defun.
5293 (tramp-make-tramp-file-name): New optional arg HOP.
5294 (tramp-message-show-progress-reporter-message): New defvar.
5295 (tramp-with-progress-reporter): Use it. We cannot use
5296 `tramp-message-show-message' here, because this suppresses also
5297 error buffers.
5298 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5299 `tramp-message-show-message' is nil.
5300 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5301 (tramp-cleanup): New defun.
5302 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5303 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5304 an error unchanged.
5305 (tramp-completion-handle-file-name-all-completions): Handle hops.
5306 Fix an error when called from ido.
5307 (tramp-completion-dissect-file-name): Use better local variable
5308 name. Add hop to the vector.
5309 (tramp-handle-insert-file-contents): Use progress-reporter for the
5310 whole scenario.
5311 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5312 to `t'.
5313 (tramp-check-for-regexp): Simplify search.
5314 (tramp-enter-password): Remove it. Move implementation ...
5315 (tramp-action-password): ... here.
5316 (tramp-mode-string-to-int, tramp-local-host-p)
5317 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5318 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5319 Set tramp-autoload cookie.
2fe4b125
MA
5320
5321 * net/trampver.el: Update release number.
5322
53232012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5324 Michael Albinus <michael.albinus@gmx.de>
5325
5326 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5327 (tramp-parse-group, tramp-parse-file)
5328 (tramp-parse-shostkeys-sknownhosts): New defuns.
5329 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5330 (tramp-parse-shosts-group, tramp-parse-sconfig)
5331 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5332 (tramp-parse-sknownhosts, tramp-parse-hosts)
5333 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5334 Use them.
5335 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5336 (tramp-parse-putty-group): Don't narrow.
5337 (tramp-parse-putty): Make a loop.
5338 (tramp-file-name-handler): Catch the `suppress' signal.
5339
72834e10
CY
53402012-06-11 Chong Yidong <cyd@gnu.org>
5341
5342 * image.el (imagemagick-register-types): Put the ImageMagick entry
5343 at the end of image-type-file-name-regexps.
5344
a4712e11
JB
53452012-06-11 Johan Bockgård <bojohan@gnu.org>
5346
5347 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5348 (pcase, pcase-let*, pcase-dolist): Use them.
5349
82ad98e3
SM
53502012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/pcase.el (pcase--let*): New function.
5353 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5354 (pcase--expand): Use macroexp-let².
5355
f80efb86
SM
53562012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5359 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5360 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5361 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5362 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5363 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5364
31ca4639 53652012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5366
31ca4639
CY
5367 * mail/rmail.el (rmail-yank-current-message): Leave point at
5368 correct position. (Bug#11660)
94f0aa34 5369
31ca4639 53702012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5371
31ca4639 5372 * allout-widgets.el: Fix code header.
9e1b8ec4 5373
31ca4639 53742012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5375
f80efb86
SM
5376 * cus-edit.el (customize-changed-options-previous-release):
5377 Bump to 24.1.
31ca4639 5378
642b6d30
AS
53792012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5380
5381 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5382
4f5d2ba1
CY
53832012-06-09 Chong Yidong <cyd@gnu.org>
5384
5385 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5386
e75852fd
MR
53872012-06-09 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (special-display-popup-frame): Don't use
5390 window--display-buffer (Bug#11651).
5391
1e48e282
EZ
53922012-06-09 Eli Zaretskii <eliz@gnu.org>
5393
8a26b487
EZ
5394 Fix parallel builds: make sure loaddefs.el is not being written
5395 while Lisp files are compiled.
5396 (compile): Don't depend on 'mh-autoloads'.
5397 (compile-CMD, compile-SH): Depend on 'autoloads'.
5398 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5399
1e48e282
EZ
5400 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5401
6175e34b
CY
54022012-06-09 Chong Yidong <cyd@gnu.org>
5403
5404 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5405 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5406 Doc fixes (Bug#11225).
5407
d9857e53
SM
54082012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5411 a function if there's a clear indication that it has a compiler-macro.
5412 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5413 (macro-declarations-alist): Add arglist to declaration functions.
5414 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5415 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5416 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5417 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5418 Also add autoload to find the compiler macro.
5419 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5420 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5421 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5422 (cl--compiler-macro-get): New functions, replacing calls to
5423 cl-define-compiler-macro.
5424 (cl-typep) [compiler-macro]: Use macroexp-let².
5425
f81298f8 54262012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5427
5428 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5429 string properly, fixes Bug#11473.
5430
4b56d0fe
CY
54312012-06-08 Chong Yidong <cyd@gnu.org>
5432
5433 * faces.el (set-face-attribute): Doc fix.
5434 (modify-face): Don't use :bold and :italic.
5435 (error, warning, success): Tweak definitions.
5436
5437 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5438 (custom-modified, custom-set, custom-changed, custom-themed)
5439 (custom-saved, custom-button, custom-button-mouse)
5440 (custom-button-pressed, custom-state, custom-comment-tag)
5441 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5442 (custom-group-subtitle): Use new-style face specs.
5443 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5444 (custom-set-face, custom-changed-face, custom-saved-face)
5445 (custom-button-face, custom-button-pressed-face)
5446 (custom-documentation-face, custom-state-face)
5447 (custom-comment-face, custom-comment-tag-face)
5448 (custom-variable-tag-face, custom-variable-button-face)
5449 (custom-face-tag-face, custom-group-tag-face-1)
5450 (custom-group-tag-face): Remove obsolete face alias.
5451
5452 * epa.el (epa-validity-high, epa-validity-medium)
5453 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5454 (epa-field-name, epa-field-body):
5455 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5456 (font-lock-keyword-face, font-lock-builtin-face)
5457 (font-lock-function-name-face, font-lock-variable-name-face)
5458 (font-lock-type-face, font-lock-constant-face):
5459 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5460 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5461 * speedbar.el (speedbar-button-face, speedbar-file-face)
5462 (speedbar-directory-face, speedbar-tag-face)
5463 (speedbar-selected-face, speedbar-highlight-face)
5464 (speedbar-separator-face):
5465 * whitespace.el (whitespace-newline, whitespace-space)
5466 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5467 (whitespace-line, whitespace-space-before-tab)
5468 (whitespace-space-after-tab, whitespace-indentation)
5469 (whitespace-empty):
5470 * emulation/cua-base.el (cua-global-mark):
5471 * eshell/em-prompt.el (eshell-prompt):
5472 * net/newst-plainview.el (newsticker-new-item-face)
5473 (newsticker-old-item-face, newsticker-immortal-item-face)
5474 (newsticker-obsolete-item-face, newsticker-date-face)
5475 (newsticker-statistics-face, newsticker-default-face):
5476 * net/newst-reader.el (newsticker-feed-face)
5477 (newsticker-extra-face, newsticker-enclosure-face):
5478 * net/newst-treeview.el (newsticker-treeview-face)
5479 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5480 (newsticker-treeview-immortal-face)
5481 (newsticker-treeview-obsolete-face)
5482 (newsticker-treeview-selection-face):
5483 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5484 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5485 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5486 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5487 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5488 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5489 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5490 (mpuz-text):
5491 * progmodes/vera-mode.el (vera-font-lock-number)
5492 (vera-font-lock-function, vera-font-lock-interface):
5493 * textmodes/table.el (table-cell): Use new-style face specs, and
5494 don't use the old :bold and :italic attributes.
5495
5496 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5497 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5498 (ebrowse-member-class, ebrowse-progress): Likewise.
5499 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5500 (ebrowse-file-name-face, ebrowse-default-face)
5501 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5502 (ebrowse-progress-face): Remove obsolete faces.
5503
5504 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5505 Inherit from error and warning faces respectively.
5506
5507 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5508 Likewise.
f80efb86
SM
5509 (flyspell-incorrect-face, flyspell-duplicate-face):
5510 Remove obsolete aliases.
4b56d0fe 5511
03310646
MA
55122012-06-08 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5515 Avoid infloop.
5516
513749ee
SM
55172012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * startup.el (argv, argi): Make lexically scoped.
5520 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5521 * emacs-lisp/cl-macs.el: Use lexical-binding.
5522 Rename cl-bind-* to cl--bind-*.
5523 * files.el: Don't require `cl' since it doesn't use it.
5524 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5525
595ef4ad
JB
55262012-06-08 Juanma Barranquero <lekktu@gmail.com>
5527
5528 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5529 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5530 instead of calling external sort utility.
5531 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5532
e9f66fcb
EZ
55332012-06-08 Eli Zaretskii <eliz@gnu.org>
5534
5535 * descr-text.el (describe-char): Mention how to insert the
5536 character, if the current input method doesn't support it.
5537 See the discussion in this thread for the details:
5538 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5539
3d10db47
SS
55402012-06-08 Sam Steingold <sds@gnu.org>
5541
5542 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5543 XF86Back to previous-buffer.
5544 (minibuffer-local-map): Bind them to next-history-element and
5545 previous-history-element respectively.
5546 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5547 help-go-back respectively.
5548 * info.el (Info-mode-map): Bind them to Info-history-forward and
5549 Info-history-back respectively.
5550 These are the keys next to Up on the ThinkPad keyboard.
5551
de7e2b36
SM
55522012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5555 * emacs-lisp/cl-macs.el: Provide itself.
5556 (cl--labels-convert-cache): New var.
5557 (cl--labels-convert): New function.
5558 (cl-flet, cl-labels): New implementation with new semantics, relying on
5559 lexical-binding.
5560 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5561 (cl-closure-vars, cl--function-convert-cache)
5562 (cl--function-convert): Move from cl-macs.el.
5563 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5564 rename by removing the "cl-" prefix.
5565 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5566
6fa6c4ae
SM
55672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5570 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5571 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5572 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5573 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5574 (cl-hash-table-count): Add old compatibility aliases.
5575
5576 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5577 Use macroexpand-all-environment instead.
5578 (cl--old-macroexpand): New var.
5579 (cl--sm-macroexpand): New function.
5580 (cl-symbol-macrolet): Use it during macro expansion.
5581 (cl--function-convert-cache): New var.
5582 (cl--function-convert): New function, extracted from
5583 cl-macroexpand-all.
5584 (cl-lexical-let): Use it.
5585
5586 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5587 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5588 (cl-member): Remove old alias.
5589
5590 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5591 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5592 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5593 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5594 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5595 (cl-macroexpand-cmacs): Remove var.
5596 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5597 Use macroexpand-all instead.
5598
4dd1c416
SM
55992012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5602 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5603 (macroexp-copyable-p): New functions and macros.
5604 * emacs-lisp/edebug.el (edebug-unwrap):
5605 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5606 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5607 (pcase--let*): Remove.
5608 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5609 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5610 macroexp-const-p instead.
5611 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5612
5613 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5614 instead of "cl-" for internal definitions. Use macroexp-const-p.
5615 (cl-old-bc-file-form): Remove var.
5616 (cl-const-exprs-p): Remove fun.
5617 (cl-labels, cl-macrolet): Use backquote.
5618 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5619 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5620 (cl-define-setf-expander): Rename from cl-define-setf-method.
5621 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5622
5623 * international/mule-cmds.el: Don't require CL.
5624 (view-hello-file): Don't use `letf'.
5625
ed8bd4d7
SM
56262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5627
7287f2f3
SM
5628 * tmm.el (tmm-prompt): Use string-prefix-p.
5629 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5630 (tmm-add-prompt): Use minibuffer-completion-help.
5631 (tmm-delete-map): Remove.
5632
ed8bd4d7
SM
5633 * subr.el (kbd): Make it its own function.
5634
7b4cdbf4
SM
56352012-06-07 Stefan Merten <smerten@oekonux.de>
5636
5637 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5638 Silence compiler warnings. Fix versions.
ed8bd4d7 5639 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5640 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5641 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5642 (rst-package-emacs-version-alist): Correct Emacs version to
5643 represent major merge with upstream.
ed8bd4d7 5644 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5645
2b48d721
GM
56462012-06-06 Glenn Morris <rgm@gnu.org>
5647
5648 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5649 Only print environment variables if set.
5650
fa779ab0
SM
56512012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5654 (macroexp--cons): Rename from maybe-cons.
5655 (macroexp--accumulate): Rename from macroexp-accumulate.
5656 (macroexp--all-forms): Rename from macroexpand-all-forms.
5657 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5658 (macroexp--expand-all): Rename from macroexpand-all-1.
5659
628299e0
SS
56602012-06-06 Sam Steingold <sds@gnu.org>
5661
5662 * calendar/calendar.el (calendar-in-read-only-buffer):
5663 Call `special-mode' to enable the standard read-only keybindings.
5664
b7bb5838
SM
56652012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5668 with "loading" messages (bug#11635).
5669
dfb308ba
MA
56702012-06-06 Michael Albinus <michael.albinus@gmx.de>
5671
5672 * files.el (enable-remote-dir-locals): New option.
5673 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5674
0372ee92
MA
5675 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5676 Ensure, that the temp directory is local.
5677
5678 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5679 `temporary-file-directory'.
5680
eed0bb91
MA
5681 * progmodes/python.el (python-send-region): Ensure, that the
5682 temporary file is created also in the remote case.
5683
7a58f64d
GM
56842012-06-06 Glenn Morris <rgm@gnu.org>
5685
f7dd4e98
GM
5686 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5687 (vc-rcs-update-changelog): Use it.
5688
090bd7cb 5689 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5690
7a58f64d
GM
5691 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5692 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5693 (vc-sccs-diff): Replace use of the external vcdiff script.
5694
daed4003
GM
56952012-06-05 Glenn Morris <rgm@gnu.org>
5696
5697 * ledit.el: Move to obsolete/.
5698
48c455c7
SS
56992012-06-05 Sam Steingold <sds@gnu.org>
5700
ed9265fc 5701 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5702 patch (Bug#11140).
5703
57a7d507
SM
57042012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5705
090bd7cb 5706 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5707
53aacf21
SM
5708 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5709 compiler-macro expansion.
5710
57a7d507
SM
5711 Add native compiler-macro support.
5712 * emacs-lisp/macroexp.el (macroexpand-all-1):
5713 Support compiler-macros directly. Properly follow aliases and apply
5714 the compiler macros more thoroughly.
5715 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5716 macroexpand now properly follows aliases.
5717 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5718 (cl-compiler-macroexpand): Use new prop.
5719 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5720
5721 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5722
51a5f9d8
MR
57232012-06-05 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (get-lru-window, get-mru-window, get-largest-window):
5726 New argument NOT-SELECTED to avoid picking the selected window.
5727 (window--display-buffer-1, window--display-buffer-2): Replace by
5728 new function window--display-buffer
5729 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5730 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5731 Use window--display-buffer.
51a5f9d8
MR
5732 (display-buffer-use-some-window): Remove temporary dedication
5733 hack by calling get-lru-window and get-largest-window with
5734 NOT-SELECTED argument non-nil. Call window--display-buffer.
5735
08f9f738
GM
57362012-06-05 Glenn Morris <rgm@gnu.org>
5737
5738 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5739 Replace external vcdiff script.
5740
e364a2b7
SM
57412012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5744
041df390
CY
57452012-06-04 Chong Yidong <cyd@gnu.org>
5746
e364a2b7
SM
5747 * image.el (imagemagick-types-inhibit): Revert last change.
5748 Add INFO and M.
47b36b94 5749 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5750
7c1898a7
SM
57512012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/cl-lib.el: Rename from cl.el.
5754 * emacs-lisp/cl.el: New compatibility file.
5755 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5756 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5757 to obey the "cl-" prefix.
5758 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5759
0c3461de
GM
57602012-06-03 Glenn Morris <rgm@gnu.org>
5761
1e266c88
GM
5762 * emacs-lisp/authors.el (authors-aliases): Addition.
5763
0c3461de
GM
5764 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5765 Fix :version.
5766
d8a52e15
SM
57672012-06-03 Stefan Merten <smerten@oekonux.de>
5768
5769 * textmodes/rst.el: Add comments.
5770 (rst-transition, rst-adornment): New faces.
5771 (rst-adornment-faces-alist): Make default safe to reevaluate.
5772 Fixes
5773 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5774 Improve customization tags.
5775 (rst-define-level-faces): Clarify meaning.
5776
5205d6f6
CY
57772012-06-03 Chong Yidong <cyd@gnu.org>
5778
5779 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5780 (compilation-mode-line-run, compilation-mode-line-exit):
5781 New faces.
5205d6f6
CY
5782 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5783
757ee657
JD
57842012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5785
7c1898a7
SM
5786 * progmodes/which-func.el (which-func-update-ediff-windows):
5787 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5788
5f2c76c6
CY
57892012-06-03 Chong Yidong <cyd@gnu.org>
5790
5791 * bindings.el: Remove explicit help text from format-mode-line.
5792 It is now supplied by mode-line-default-help-echo.
5793 (mode-line-front-space, mode-line-end-spaces)
5794 (mode-line-misc-info): New variables.
5795 (mode-line-modes, mode-line-position): Move the default value to
5796 the variable definition.
5797 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5798 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5799 (mode-line-modified-help-echo): New functions.
5800 (mode-line-mule-info, mode-line-modified): Use them.
5801 (mode-line-eol-desc, propertized-buffer-identification):
5802 Consistency fixes for help text.
cbe46e5f
CY
5803 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5804 set-buffer-file-coding-system (Bug#289).
5805 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5806
f2d6a3df
SM
58072012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * simple.el (execute-extended-command): Set real-this-command
5810 (bug#11506).
5811
37269466
CY
58122012-06-02 Chong Yidong <cyd@gnu.org>
5813
5814 Remove incorrect uses of "modeline" in comments, docstrings, and
5815 function/variable names (Bug#10329).
5816
5817 * cus-edit.el (mode-line):
5818 * dframe.el (dframe-mouse-hscroll):
5819 * emacs-lisp/re-builder.el:
5820 * emacs-lisp/easy-mmode.el (define-minor-mode):
5821 * frame.el (set-frame-name):
5822 * help.el (lookup-minor-mode-from-indicator):
5823 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5824 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5825 (c-toggle-hungry-state):
5826 * progmodes/antlr-mode.el (antlr-language-alist):
5827 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5828 * progmodes/vhdl-mode.el (vhdl-mode):
5829 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5830 * term/ns-win.el (ns-face-at-pos):
5831 * term/sup-mouse.el (sup-mouse-report):
5832 * textmodes/flyspell.el (flyspell-mode-line-string):
5833 * textmodes/ispell.el (ispell-highlight-face):
5834 * textmodes/reftex-global.el:
5835 * vc/vc-arch.el (vc-arch-mode-line-string):
5836 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5837 * vc/vc-git.el (vc-git-mode-line-string):
5838 * vc/vc-hooks.el (vc-display-status)
5839 (vc-default-mode-line-string):
5840 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5841
5842 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5843
5844 * dired.el (dired-sort-set-mode-line): Rename from
5845 dired-sort-set-modeline. All callers changed.
5846
5847 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5848 eshell-status-in-modeline.
5849
5850 * foldout.el (foldout-mode-line-string): Rename from
5851 foldout-modeline-string. All callers changed.
5852 (foldout-update-mode-line): Rename from foldout-update-modeline.
5853
5854 * subr.el (redraw-modeline): Make into obsolete alias.
5855
5856 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5857 timeclock-modeline-display. Make old name an alias.
5858 (timeclock-update-mode-line): Likewise. All callers changed.
5859 (timeclock-mode-line-display): No need to check before using
5860 add-hook.
5861 (timeclock-relative, timeclock-day-over-hook)
5862 (timeclock-use-elapsed, timeclock-mode-string)
5863 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5864
5865 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5866 crisp-mode-modeline-string.
5867
5868 * play/solitaire.el (solitaire-build-mode-line): Rename from
5869 solitaire-build-modeline. All callers changed.
5870
5871 * play/zone.el (zone-hiding-mode-line): Rename from
5872 zone-hiding-modeline. All callers changed.
5873 (zone): Remove unusued `modeline-hidden-level' property.
5874
5875 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5876 xscheme-modeline-initialize. All callers changed.
5877
5878 * strokes.el (strokes-lighter): Rename from
5879 strokes-modeline-string.
5880
5881 * textmodes/sgml-mode.el (html-face-tag-alist)
5882 (html-tag-face-alist): Use mode-line face instead of obsolete
5883 alias modeline.
5884
42152ee4
SM
58852012-06-02 Stefan Merten <smerten@oekonux.de>
5886
5887 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5888 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5889
95f520b5
CY
58902012-06-02 Chong Yidong <cyd@gnu.org>
5891
5892 * image.el (imagemagick-enabled-types): Rename from
5893 imagemagick-types-enable. Add many more types.
5894 (imagemagick-types-inhibit): Change default to nil.
5895 (imagemagick-filter-types): Caller changed.
5896
4a5f187a
SM
58972012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5898
03fef3e6
SM
5899 * emacs-lisp/cl-macs.el: Use backquotes.
5900 (cl-transform-function-property): Use eval-and-compile rather than
5901 abusing `require'.
5902 (defstruct): Use declare-function instead of with-no-warnings.
5903
4a5f187a
SM
5904 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5905 (byte-compile-output-docform): Re-add the print-circle bindings.
5906 (byte-compile-fix-header): Use #$ just because it's shorter.
5907 (byte-compile-output-file-form): Remove defun/defmacro.
5908
bd56924f
MR
59092012-06-01 Martin Rudalics <rudalics@gmx.at>
5910
5911 * simple.el (choose-completion): Remove now obsolete binding for
5912 owindow.
5913
046e38ce
MA
59142012-06-01 Michael Albinus <michael.albinus@gmx.de>
5915
5916 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5917 in order to avoid "Stack overflow in regexp matcher".
5918
32d72c2f
GM
59192012-05-31 Glenn Morris <rgm@gnu.org>
5920
5921 * image.el: For clarity, call imagemagick-register-types at
5922 top-level, rather than relying on a custom :initialize.
5923 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5924 (imagemagick-filter-types): New function. (Bug#7406)
5925 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5926 If disabling support, remove elements altogether rather
5927 than using an impossible regexp.
5928 (imagemagick-types-inhibit): Give it the default init function.
5929
dd41169b
SM
59302012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5931
4a5f187a
SM
5932 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5933 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5934
efc00ab1 59352012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5936
5937 * desktop.el (desktop-read): Clear previous and next buffers for
5938 all windows and bury *Messages* buffer (bug#11556).
5939
500fcedc
SM
59402012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 Add `declare' for `defun'. Align `defmacro's with it.
5943 * emacs-lisp/easy-mmode.el (define-minor-mode)
5944 (define-globalized-minor-mode): Don't autoload the var definitions.
5945 * emacs-lisp/byte-run.el: Use lexical-binding.
5946 (defun-declarations-alist, macro-declarations-alist): New vars.
5947 (defmacro, defun): Use them.
5948 (make-obsolete, define-obsolete-function-alias)
5949 (make-obsolete-variable, define-obsolete-variable-alias):
5950 Use `declare'.
5951 (macro-declaration-function): Mark obsolete.
5952 * emacs-lisp/autoload.el: Use lexical-binding.
5953 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5954
6e8a1786
AM
59552012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5956
5957 * textmodes/ispell.el (ispell-with-no-warnings):
5958 Define as a macro.
500fcedc
SM
5959 (ispell-kill-ispell, ispell-change-dictionary):
5960 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5961 `interactive-p'.
5962
61b108cc
SM
59632012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5966 (macro-declaration-function): Move var from C code.
5967 (macro-declaration-function): Define function with defalias.
5968 * emacs-lisp/macroexp.el (macroexpand-all-1):
5969 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5970 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5971 defun/defmacro any more.
5972 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5973 Provide fallback for unknown arglist.
5974 (byte-compile-arglist-warn): Change calling convention.
5975 (byte-compile-output-file-form): Move print-vars binding.
5976 (byte-compile-output-docform): Simplify accordingly.
5977 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5978 (byte-compile-defmacro-declaration): Remove.
5979 (byte-compile-file-form-defmumble): Generalize to defalias.
5980 (byte-compile-output-as-comment): Return byte-positions.
5981 Simplify callers accordingly.
5982 (byte-compile-lambda): Use `assert'.
5983 (byte-compile-defun, byte-compile-defmacro): Remove.
5984 (byte-compile-file-form-defalias):
5985 Use byte-compile-file-form-defmumble.
5986 (byte-compile-defalias-warn): Remove.
5987
6d3f7c2f
SM
59882012-05-29 Stefan Merten <smerten@oekonux.de>
5989
5990 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5991 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5992
5993 (rst-mode-abbrev-table): Merge definition.
5994 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5995 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5996
6dbaa1c7
UJ
59972012-05-29 Ulf Jasper <ulf.jasper@web.de>
5998
5999 * calendar/icalendar.el
6000 (icalendar-export-region): Export UID properly.
6001
d209e2fb 60022012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6003 * calendar/icalendar.el (icalendar-import-format):
6004 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6005 (icalendar-import-format-uid): New.
6006 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6007 Export UID.
6008
6876a58d
SM
60092012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6010
6011 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6012 different alternative patterns.
6013 (pcase-codegen): Be more careful to preserve identity.
6014 (pcase--u1): Don't forget to mark vars as used.
6015
6016 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6017 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6018 (byte-compile-from-buffer): ...rather than here.
6019
6020 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6021 functions from byte-compile-function-environment.
6022
46b7967e
TN
60232012-05-29 Troels Nielsen <bn.troels@gmail.com>
6024
6025 * window.el (window-deletable-p): Avoid deleting the root window
6026 of a frame with an active minibuffer.
6027
69d565e2
MR
60282012-05-29 Martin Rudalics <rudalics@gmx.at>
6029
6030 * simple.el (choose-completion): Use quit-window (Bug#11567).
6031
a149fa51
CY
60322012-05-29 Chong Yidong <cyd@gnu.org>
6033
6034 * whitespace.el (whitespace-cleanup): Fix usage of
6035 whitespace-empty-at-bob-regexp (Bug#11492).
6036
2b311310
AH
60372012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6038
6039 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6040 revert (Bug#11488).
6041
b9cb2387
JL
60422012-05-29 Juri Linkov <juri@jurta.org>
6043
6044 * isearch.el (isearch-mode-map): Bind `M-s _' to
6045 `isearch-toggle-symbol'. Bind `M-s c' to
6046 `isearch-toggle-case-fold'.
6047 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6048 (isearch-forward): Add `M-s _' to the docstring.
6049 (isearch-forward-symbol, isearch-toggle-case-fold)
6050 (isearch-symbol-regexp): New functions. (Bug#11381)
6051
d5e61c1c
JL
60522012-05-29 Juri Linkov <juri@jurta.org>
6053
6054 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6055 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6056 a function, call it to get the regexp.
6057 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6058 property `isearch-message-prefix' instead of the string "word ".
6059 (isearch-search-fun-default): For the case of `isearch-word',
6060 return a lambda that calls re-search-forward/re-search-backward
6061 with a regexp returned by `word-search-regexp' or by the function
6062 in `isearch-word'.
6063
8cbd80f7
JL
60642012-05-29 Juri Linkov <juri@jurta.org>
6065
6066 * isearch.el (isearch-search-fun-default): New function.
6067 (isearch-search-fun): Move default part to the new function
6068 `isearch-search-fun-default'.
6069 (isearch-search-fun-function): Set the default value to
6070 `isearch-search-fun-default'. (Bug#11381)
6071
6072 * comint.el (comint-history-isearch-end):
6073 Use `isearch-search-fun-default'.
6074 (comint-history-isearch-search): Use `isearch-search-fun-default'
6075 and remove spacial case for `isearch-word'.
6076 (comint-history-isearch-wrap): Remove spacial case for
6077 `isearch-word'.
6078
6079 * hexl.el (hexl-isearch-search-function):
6080 Use `isearch-search-fun-default'.
6081
6082 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6083 Use `word-search-regexp' for `isearch-word'.
6084
6085 * misearch.el (multi-isearch-search-fun):
6086 Use `isearch-search-fun-default'.
6087
6088 * simple.el (minibuffer-history-isearch-search):
6089 Use `isearch-search-fun-default' and remove spacial case for
6090 `isearch-word'.
6091 (minibuffer-history-isearch-wrap): Remove spacial case for
6092 `isearch-word'.
6093
6094 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6095 Remove spacial case for `isearch-word'.
6096 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6097
85c8c5b6
AM
60982012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6099
6100 Decrease XEmacs incompatibilities.
6101 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6102 Use `string-match'.
6103 (flyspell-delete-region-overlays): Use alternative definition for
6104 XEmacs.
6105 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6106 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6107 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6108 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6109 `define-obsolete-face-alias' under XEmacs, but old method.
6110
6111 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6112 `with-no-warnings' definition or Emacs alias.
6113 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6114 (ispell-word): Do not use `region-p' if XEmacs.
6115
8cab9efc
AM
61162012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6117
6118 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6119 Check for `ispell-dictionary-base-alist' instead of full
6120 `ispell-dictionary-alist'.
6121 (ispell-init-process): Show spellchecker when starting new Ispell
6122 process.
6123
fda91268
RZ
61242012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6127 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6128
694ea8e3
JB
61292012-05-27 Juanma Barranquero <lekktu@gmail.com>
6130
6131 * version.el (motif-version-string, gtk-version-string)
6132 (ns-version-string): Declare.
6133
e4d4f539
JL
61342012-05-27 Juri Linkov <juri@jurta.org>
6135
6136 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6137 after the `eval-defun-1' specialcaseing
6138 like in `edebug-eval-defun' (bug#10181).
6139
6140 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6141 like in `eval-defun-1'.
6142
33017faf 61432012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6144
fda91268
RZ
6145 * mail/sendmail.el (mail-yank-region):
6146 Recognize rmail-yank-current-message in addition to insert-buffer.
6147 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6148 a *mail* buffer created through rmail-start-mail with sendmail as
6149 mail-user-agent.
6150
33017faf
GM
61512012-05-27 Chong Yidong <cyd@gnu.org>
6152
6153 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6154 Default to 256 (Bug#11267).
6155
6156 * help.el (describe-mode): Doc fix.
6157
04188bb9
GM
61582012-05-26 Glenn Morris <rgm@gnu.org>
6159
38264cc9
GM
6160 * w32-fns.el (w32-init-info): Remove.
6161 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6162
eb7afdad
GM
6163 * info.el (info-initialize): For self-contained NS builds, put the
6164 included info/ directory at the front. (Bug#2791)
6165
04188bb9
GM
6166 * paths.el (Info-default-directory-list): Make it a defcustom,
6167 mainly so that we can use custom-initialize-delay.
6168
a179e3f7
SM
61692012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6170
43416392
SM
6171 * subr.el (buffer-has-markers-at): Mark obsolete.
6172
a179e3f7 6173 * subr.el (lambda): Use declare.
43416392 6174
a179e3f7
SM
6175 * emacs-lisp/lisp-mode.el (lambda):
6176 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6177
34a008d9
AH
61782012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6179
6180 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6181
0a3b289f
GM
61822012-05-26 Glenn Morris <rgm@gnu.org>
6183
6184 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6185
758c81e8
GM
61862012-05-25 Glenn Morris <rgm@gnu.org>
6187
f9f334f0
GM
6188 * paths.el: Remove no-byte-compile.
6189 * loadup.el: No need to load paths.el uncompiled.
6190
87eb79c2
GM
6191 * image.el (imagemagick-types-inhibit): Doc fix.
6192
758c81e8
GM
6193 * version.el: Remove no-byte-compile and associated formatting.
6194 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6195 is ancient code from when there was an "inc-vers.el".
6196
e7e85dc0
SM
61972012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * progmodes/gdb-mi.el: Minor style changes.
6200 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6201 Turn into minor modes.
6202 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6203 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6204 (gdb-shell): Remove unneeded let-binding.
6205 (gdb-get-many-fields): Eliminate O(n²) behavior.
6206
f31237a4
EZ
62072012-05-25 Eli Zaretskii <eliz@gnu.org>
6208
6209 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6210 platforms that don't link in fontset.c.
6211
bc1b21bb
JL
62122012-05-25 Juri Linkov <juri@jurta.org>
6213
6214 Use the same diff color scheme as in modern VCSes (bug#10181).
6215
6216 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6217 to avoid confusion with `diff-added' that now uses green colors.
6218 (diff-removed): Use shades of red.
6219 (diff-added): Use shades of green.
6220 (diff-changed): Leave just the yellow color.
6221 (diff-use-changed-face): New variable.
6222 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6223 how to highlight context diff changes.
6224 (diff-refine-change): Use shades of yellow.
6225 (diff-refine-removed): New face that uses shades of red.
6226 (diff-refine-added): New face that uses shades of green.
6227 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6228 `diff-refine-removed' in the call to `smerge-refine-subst'
6229 depending on the value of `diff-use-changed-face'.
6230
6231 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6232 (smerge-other): Use shades of green.
6233 (smerge-base): Use shades of yellow.
6234 (smerge-refined-change): Empty face.
6235 (smerge-refined-removed): New face that uses shades of red.
6236 (smerge-refined-added): New face that uses shades of green.
6237 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6238 args `props-r' and `props-a', and use them. Doc fix.
6239 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6240 on its value use different faces `smerge-refined-change',
6241 `smerge-refined-removed', `smerge-refined-added' in the call to
6242 `smerge-refine-subst'.
6243
6244 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6245 Add face condition `min-colors 88' with shades of red.
6246 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6247 `min-colors 88' with shades of green.
6248 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6249 `min-colors 88' with shades of yellow.
6250
6df9112c
GM
62512012-05-24 Glenn Morris <rgm@gnu.org>
6252
ead5edc0
GM
6253 * paths.el (prune-directory-list, remote-shell-program): Move to...
6254 * files.el (prune-directory-list, remote-shell-program): ...here.
6255 For the latter, delay initialization, prefer ssh, just search PATH.
6256
f18b81e6
GM
6257 * paths.el (term-file-prefix): Move to faces.el (the only user).
6258 * faces.el (term-file-prefix): Move here, make it a defcustom.
6259
ee2f89a6
GM
6260 * paths.el (news-directory, news-path, news-inews-program):
6261 Move to gnus/nnspool.el.
61a583ca 6262
f8815e4c
GM
6263 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6264
c8f3b42c
GM
6265 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6266 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6267 Make the latter a defcustom, with a delayed initialization.
6268
6df9112c
GM
6269 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6270 These were deleted from Gnus itself late 2010.
6271
5dadff36
JB
62722012-05-22 Juanma Barranquero <lekktu@gmail.com>
6273
9e1701c6
JB
6274 * progmodes/which-func.el (which-func-ff-hook):
6275 Check against user-error, not error.
6276
bd7239f5 6277 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6278 cl-specs.el, which no longer exists.
6279
3290526d
GM
62802012-05-22 Glenn Morris <rgm@gnu.org>
6281
6282 * info.el (info-emacs-bug): New command.
6283 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6284 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6285
ff0c3cfb
GM
62862012-05-21 Glenn Morris <rgm@gnu.org>
6287
6288 * makefile.w32-in (update-subdirs-SH):
6289 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6290
5814f126
SM
62912012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6292
a52c0aa0
SM
6293 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6294
5814f126
SM
6295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6296 Simplify Maven regexp, and make sure the file can't start with a space
6297 (bug#11517).
6298
b847032c
GM
62992012-05-21 Glenn Morris <rgm@gnu.org>
6300
6301 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6302 Scrap superfluous subshells.
6303
3858bfe7
SM
63042012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6307 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6308
d14b0029
JB
63092012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6310
6311 * calc/calc.el (calc-ensure-consistent-units): New variable.
6312
a52c0aa0
SM
6313 * calc/calc-units.el (math-consistent-units-p)
6314 (math-check-unit-consistency): New functions.
6315 (calc-quick-units, calc-convert-units):
6316 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6317 is non-nil.
d14b0029
JB
6318 (calc-extract-units): Fix typo.
6319
60c4db3a
SM
63202012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6321
77f3b62e
SM
6322 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6323
60c4db3a
SM
6324 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6325 (flyspell-default-deplacement-commands): Don't spell check after
6326 repeated window/frame switches (e.g. triggered by mouse-movement).
6327 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6328 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6329 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6330 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6331 Remove unused vars.
6332 (flyspell-get-casechars, flyspell-get-not-casechars):
6333 Simplify; Don't bother removing a ] just to add it back.
6334 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6335
d209e2fb 63362012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6337
6338 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6339 New functions.
bd7239f5 6340 (math-function-table): Add support for more C functions.
b1a10716 6341
3f1b25b5
AM
63422012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6343
090bd7cb
JB
6344 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6345 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6346 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6347
b581bb5c
SM
63482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6351 their respective macro declarations.
6352 * skeleton.el (define-skeleton):
6353 * progmodes/compile.el (define-compilation-mode):
6354 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6355 (define-ibuffer-filter):
6356 * emacs-lisp/generic.el (define-generic-mode):
6357 * emacs-lisp/easy-mmode.el (define-minor-mode)
6358 (define-globalized-minor-mode):
6359 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6360 * emacs-lisp/byte-run.el (defsubst):
6361 * custom.el (deftheme): Add doc-string metadata.
6362
70b8ef8f
SM
63632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6366
b1198e17
SM
63672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6368
9abdc45d
SM
6369 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6370
b1198e17
SM
6371 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6372 * emacs-lisp/cl-macs.el: Idem.
6373 * emacs-lisp/cl-specs.el: Remove.
6374
4735906a
SM
63752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 Minor renaming of internal CL functions and variables.
6378 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6379 (cl--position): Rename from cl-position.
6380 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6381 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6382 (cl--random-state): Rename from *random-state*.
6383
ac348012
SM
63842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6387 parens around the arg list (bug#11499).
6388
a0a79cde
JL
63892012-05-17 Juri Linkov <juri@jurta.org>
6390
6391 * isearch.el (word-search-regexp, word-search-backward)
6392 (word-search-forward, word-search-backward-lax)
6393 (word-search-forward-lax): Move functions from search.c
6394 (bug#10145, bug#11381).
6395
65034a51
AM
63962012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6397
090bd7cb
JB
6398 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6399 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6400 Delay for otherchars as for normal word components.
65034a51 6401
1a72a195
SM
64022012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * minibuffer.el (completion--sifn-requote): Fix last change.
6405 (minibuffer-local-must-match-filename-map):
6406 Move define-obsolete-variable-alias before its var.
6407
fdb058c2
SM
64082012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6409
c41045e6
SM
6410 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6411
036dfb8b
SM
6412 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6413 behavior.
6414 (completion--string-equal-p): New function.
6415 (completion--twq-all): Use it to get better assertion failure data.
6416
2473256d
SM
6417 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6418 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6419 (shell--requote-argument): New functions.
6420 (shell-completion-vars): Use them.
6421 (shell--parse-pcomplete-arguments): Rename from
6422 shell-parse-pcomplete-arguments.
6423 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6424 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6425 Obey comint-file-name-quote-list.
6426
fdb058c2
SM
6427 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6428 (smie-indent-keyword): Use it.
6429
51fa99f1
SM
64302012-05-14 Stefan Merten <smerten@oekonux.de>
6431
6432 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6433
e18afed7 64342012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6435
6436 * net/rlogin.el (rlogin-mode-map): Fix last change.
6437
e18afed7 64382012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6439
6440 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6441 the following \r\n using a single `process-send-string', since the
6442 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6443 with two `process-send-string's (Bug#11444).
8633b1f4 6444
e18afed7 64452012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6446
fdb058c2
SM
6447 * shell.el (shell-parse-pcomplete-arguments):
6448 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6449
2d21d7f6
WJ
64502012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6451
e18afed7 6452 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6453 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6454 (image-transform-width, image-transform-fit-width): New functions.
6455 (image-transform-properties): Use them.
6456 (image-transform-check-size): New function.
6457 (image-toggle-display-image): Use it (for testing).
6458 (image-transform-set-rotation): Reduce angle mod 360.
6459 Delete obsolete comment.
6460
7102e6d0
WJ
64612012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6462
6463 * image-mode.el: Fix scaling (bug#11399).
6464 (image-transform-resize): Doc fix.
6465 (image-transform-properties): Default scale is 1 and height should
6466 be an integer.
6467
06bc5e6e
SM
64682012-05-13 Johan Bockgård <bojohan@gnu.org>
6469
6470 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6471 than hard-coding `car', to fix misbehavior when moving forward.
6472
0ae03b6a
CY
64732012-05-13 Chong Yidong <cyd@gnu.org>
6474
6475 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6476 (tabulated-list-entries, tabulated-list-padding)
6477 (tabulated-list-sort-key): Make permanent-local.
6478
6479 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6480 (electric-buffer-list): Put electric buffer menu
6481 command descriptions in this docstring, instead of the docstring
6482 of electric-buffer-menu-mode. Code cleanups.
6483 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6484 Electric-buffer-menu-mode.
6485 (electric-buffer-update-highlight): Minor code cleanup.
6486
205a7391
MA
64872012-05-13 Michael Albinus <michael.albinus@gmx.de>
6488
6489 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6490 (Bug#11447)
6491
e5bd0a28
SM
64922012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 Move define-obsolete-variable-alias before the var's definition.
6495 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6496 * tooltip.el (tooltip-hook):
6497 * textmodes/reftex-toc.el (reftex-toc-map):
6498 * textmodes/reftex-sel.el (reftex-select-label-map)
6499 (reftex-select-bib-map):
6500 * textmodes/reftex-index.el (reftex-index-map)
6501 (reftex-index-phrases-map):
6502 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6503 * progmodes/meta-mode.el (meta-mode-map):
6504 * novice.el (disabled-command-hook):
6505 * loadhist.el (unload-hook-features-list):
6506 * frame.el (blink-cursor):
6507 * files.el (find-file-not-found-hooks, write-file-hooks)
6508 (write-contents-hooks):
6509 * emulation/tpu-edt.el (GOLD-map):
6510 * emacs-lock.el (emacs-lock-from-exiting):
6511 * emacs-lisp/generic.el (generic-font-lock-defaults):
6512 * emacs-lisp/chart.el (chart-map):
6513 * dos-fns.el (register-name-alist):
6514 * dired-x.el (dired-omit-files-p):
6515 * desktop.el (desktop-enable):
6516 * cus-edit.el (custom-mode-hook):
6517 * buff-menu.el (buffer-menu-mode-hook):
6518 * bookmark.el (bookmark-read-annotation-text-func)
6519 (bookmark-exit-hooks):
6520 * allout.el (allout-mode-deactivate-hook)
6521 (allout-exposure-change-hook, allout-structure-added-hook)
6522 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6523 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6524 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6525 comes before the corresponding variable's definition.
6526
ac59c2f6
CY
65272012-05-12 Chong Yidong <cyd@gnu.org>
6528
6529 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6530 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6531 (Buffer-menu-mode-map): Bind it.
6532 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6533
dee6c9a3
SM
65342012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6535
2171cea5
SM
6536 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6537 (prolog-upper-case-string, prolog-lower-case-string)
6538 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6539 (prolog-use-smie, prolog-smie-grammar): New vars.
6540 (prolog-smie-forward-token, prolog-smie-backward-token)
6541 (prolog-smie-rules): New funs.
6542 (prolog-comment-indent): Remove.
6543 (prolog-mode-variables): Use default comment indentation instead.
6544 Setup SMIE.
6545 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6546 (prolog-mode): Don't call them any more.
6547 (prolog-electric-colon, prolog-electric-dash)
6548 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6549
aa0382bd
SM
6550 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6551
dbacb4bd
SM
6552 * minibuffer.el (completion--twq-all): Again, allow case differences.
6553
13bdd94c
SM
6554 * term.el: Move keymap initialization code to be more idiomatic.
6555 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6556 (term-terminal-menu): Move initialization into declaration.
6557 (term-escape-char): Let the user set it in her .emacs.
6558
ff46c759
SM
6559 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6560 Provide SMIE-based indentation (not enabled by default yet).
6561 (sh-mode-map): Don't bind electric keys.
6562 Use electric-pair-mode instead of skeleton-pair.
6563 (sh-assignment-regexp): Fit within 80 columns.
6564 (sh-indent-supported): Specify actual shell name instead of boolean.
6565 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6566 (sh-maybe-here-document): Use it. Make obsolete.
6567 (sh-electric-here-document-mode) New minor mode.
6568 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6569 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6570 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6571 (sh-smie-rc-grammar, sh-use-smie): New vars.
6572 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6573 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6574 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6575 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6576 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6577 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6578 (sh-set-shell): Use smie-setup if requested.
6579
dee6c9a3
SM
6580 * term.el (term-set-escape-char): Properly set term-escape-char.
6581 See http://stackoverflow.com/questions/10524656.
6582
9f9aa044
CY
65832012-05-10 Chong Yidong <cyd@gnu.org>
6584
6585 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6586 Use url-generic-parse-url, and handle host names and Windows
6587 filenames properly.
6588 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6589 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6590 URL schemes to work on.
6591 (ffap--toggle-read-only): New function.
6592 (ffap-read-only, ffap-read-only-other-window)
6593 (ffap-read-only-other-frame): Use it.
6594 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6595 necessary for ffap-url-unwrap-remote.
6596
836d29b3
DA
65972012-05-10 Dave Abrahams <dave@boostpro.com>
6598
6599 * cus-start.el (create-lockfiles): Add it.
6600
00fd78ed
CY
66012012-05-09 Chong Yidong <cyd@gnu.org>
6602
6603 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6604 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6605
666b903b 66062012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6607
6608 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6609
666b903b 66102012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6611
6612 * ansi-color.el (ansi-color-process-output): Check for validity of
6613 comint-last-output-start before using it. This avoids a bad
6614 interaction with gdb-mi's input/output buffer.
6615
666b903b 66162012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6617
6618 * files.el (dir-locals-read-from-file):
6619 Mention dir-locals in any error message.
6620
666b903b 66212012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6622
6623 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6624 package (Bug#11410).
6625
f677562b
CY
6626 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6627 variables into description.
6628
666b903b 66292012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6630
6631 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6632 shell-delimiter-argument-list (bug#11348).
6633 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6634
b499d8d0
JB
66352012-05-09 Juanma Barranquero <lekktu@gmail.com>
6636
8f6b6da8
JB
6637 * textmodes/rst.el: Silence byte-compiler warnings.
6638 (rst-re-alist, rst-reset-section-caches): Move around.
6639 (rst-re): Use `characterp', not `char-valid-p'.
6640 (font-lock-beg, font-lock-end): Declare.
6641
4824146a
JB
6642 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6643 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6644
b499d8d0
JB
6645 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6646
ad89bb83
GM
66472012-05-08 Glenn Morris <rgm@gnu.org>
6648
6649 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6650
8bba5a75
SM
66512012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6652
49ed9c8e
SM
6653 * vc/log-edit.el: Add GNU coding standards highlighting.
6654 (log-edit-font-lock-gnu-style)
6655 (log-edit-font-lock-gnu-keywords): New vars.
6656 (log-edit-font-lock-keywords): New fun.
6657 (log-edit-mode): Don't fold case in font-lock.
6658 (log-edit-font-lock-keywords): Do not assume case-folding.
6659
07d00b56
SM
6660 * imenu.el: Misc cleanup. Make docstrings out of comments.
6661 Use lexical-binding.
6662 (imenu--index-alist, imenu--last-menubar-index-alist)
6663 (imenu-menubar-modified-tick): Use defvar-local.
6664 (imenu--split-menu): Remove unused var.
6665 (imenu--cleanup-seen): Declare as global.
6666 (imenu--cleanup): Use dolist.
6667
8bba5a75
SM
6668 * subr.el (defvar-local): Add debug spec and doc-string position.
6669
5075bdb5
GM
66702012-05-08 Glenn Morris <rgm@gnu.org>
6671
090bd7cb 6672 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6673 * language/english.el, language/georgian.el, language/greek.el:
6674 * language/japanese.el, language/khmer.el, language/korean.el:
6675 * language/lao.el, language/misc-lang.el, language/romanian.el:
6676 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6677 * language/thai.el, language/utf-8-lang.el:
6678 Remove no-byte-compile setting.
6679
5075bdb5
GM
6680 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6681
06f679a7
AH
66822012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6683
6684 * progmodes/make-mode.el (makefile-browse):
6685 Remove unnecessary interactive. (Bug#11324)
6686
03794570
GM
66872012-05-07 Glenn Morris <rgm@gnu.org>
6688
af8630f4
GM
6689 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6690
03794570
GM
6691 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6692
f0809a9d
SM
66932012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6694
28be5ce7
SM
6695 * loadup.el: Preload newcomment.el.
6696 * newcomment.el: Move autoload-only code to toplevel.
6697
f0809a9d
SM
6698 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6699 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6700 Handle new :right-align column property.
6701 (tabulated-list-print-col): Idem, plus use `display' text-property to
6702 try and preserve alignment for variable pitch fonts.
6703
1241b724
CY
67042012-05-07 Chong Yidong <cyd@gnu.org>
6705
6706 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6707 (tabulated-list-use-header-line): New var.
6708 (tabulated-list-init-header): Use it.
6709 (tabulated-list-print-fake-header): New function.
6710 (tabulated-list-print): Use it.
6711 (tabulated-list-sort-button-map): Add non-header-line commands.
6712 (tabulated-list-init-header): Add column name property to basic
6713 labels as well.
6714 (tabulated-list-col-sort): Handle non-header-line button case.
6715 (tabulated-list--sort-by-column-name): Fix a corner case.
6716
f0809a9d
SM
6717 * buff-menu.el (list-buffers--refresh):
6718 Handle Buffer-menu-use-header-line.
1241b724 6719
e5f9458f
CY
67202012-05-06 Chong Yidong <cyd@gnu.org>
6721
6722 * buff-menu.el: Convert to Tabulated List mode.
6723 (Buffer-menu-buffer+size-width): Make obsolete.
6724 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6725 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6726 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6727 documentation into docstring of buffer-menu.
6728 (Buffer-menu-toggle-files-only): Add an informative message.
6729 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6730 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6731 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6732 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6733 (Buffer-menu-execute, Buffer-menu-select)
6734 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6735 (Buffer-menu-bury): Use Tabulated List machinery.
6736 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6737 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6738 Delete.
e5f9458f
CY
6739 (list-buffers--refresh): New function.
6740 (list-buffers-noselect): Use it.
6741 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6742 (Buffer-menu--pretty-file-name): New helper functions.
6743
6744 * loadup.el: Preload tabulated-list.
6745
6746 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6747 tabulated-list-sort-column.
6748 (tabulated-list-init-header): Add the initial aligning space even
6749 if tabulated-list-padding is zero.
6750
e129292c
CS
67512012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6752
6753 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6754 whose cdr is not a cons cell correctly (bug#11038).
6755
6632d361
CY
67562012-05-06 Chong Yidong <cyd@gnu.org>
6757
e129292c
CS
6758 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6759 Accept additional plist in column descriptors.
6632d361
CY
6760 (tabulated-list-init-header): Obey it.
6761 (tabulated-list-get-entry): New function.
6762 (tabulated-list-put-tag): Use it. Use string-width instead of
6763 length.
6764 (tabulated-list--column-number): New function.
6765 (tabulated-list-print): Use it.
e129292c
CS
6766 (tabulated-list-print-col): New function.
6767 Set `tabulated-list-column-name' property on each column's text.
6632d361 6768 (tabulated-list-print-entry): Use it.
e129292c
CS
6769 (tabulated-list-delete-entry, tabulated-list-set-col):
6770 New functions.
6632d361
CY
6771 (tabulated-list-sort-column): New command (Bug#11337).
6772
3cc99f68
CY
6773 * buff-menu.el (list-buffers): Move C-x C-b binding from
6774 buff-menu.el to bindings.el.
6775
6776 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6777 :advertised-binding feature.
6778
52b61776
TN
67792012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6780
6781 * progmodes/compile.el (compilation-internal-error-properties):
6782 Calculate start position correctly when end-col is set but
6783 end-line is not (Bug#11382).
6784
ebfe2597
WJ
67852012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6786
6787 * man.el (Man-unindent): Use text-property-default-nonsticky to
6788 prevent untabify from inheriting face properties (Bug#11408).
6789
6d3f7c2f
SM
67902012-05-05 Stefan Merten <smerten@oekonux.de>
6791
6792 * textmodes/rst.el: Major merge with upstream development up to
6793 Docutils SVN r7399 / rst.el V1.2.1.
6794
6795 Clarify maintainership and authors.
6796
6797 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6798 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6799 (rst-official-version, rst-official-cvs-rev, rst-version)
6800 (rst-package-emacs-version-alist): New functions and variables
6801 for version information.
6802
6803 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6804 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6805 (rst-mode-syntax-table, rst-mode): New and corrected functions
6806 and variables representing reStructuredText features.
6807
6808 (rst-re): New function for reStructuredText regexes. Use in
6809 many places.
6810
6811 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6812 (rst-mode-map): Rebind keys.
6813
6814 (rst-mode-lazy, rst-font-lock-keywords)
6815 (rst-font-lock-extend-region)
6816 (rst-font-lock-extend-region-internal)
6817 (rst-font-lock-extend-region-extend)
6818 (rst-font-lock-find-unindented-line-limit)
6819 (rst-font-lock-find-unindented-line-match)
6820 (rst-adornment-level, rst-font-lock-adornment-level)
6821 (rst-font-lock-adornment-match)
6822 (rst-font-lock-handle-adornment-pre-match-form)
6823 (rst-font-lock-handle-adornment-matcher): Major revision of
6824 font-locking. Integrate with other code. Use `jit-lock-mode'.
6825
6826 (rst-preferred-adornments, rst-adjust-hook)
6827 (rst-new-adornment-down, rst-preferred-bullets)
6828 (rst-preferred-bullets, rst-indent, rst-indent-width)
6829 (rst-indent-field, rst-indent-literal-normal)
6830 (rst-indent-literal-minimized, rst-indent-comment): Change,
6831 extend and improve customization.
6832
6833 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6834 (rst-normalize-cursor-position, rst-get-decoration)
6835 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6836 (rst-rstrip, rst-toc-insert-find-delete-contents)
6837 (rst-shift-fill-region, rst-compute-bullet-tabs)
6838 (rst-debug-print-tabs, rst-debug-mark-found)
6839 (rst-shift-region-guts, rst-shift-region-right)
6840 (rst-shift-region-left, rst-use-char-classes)
6841 (rst-font-lock-keywords-function)
6842 (rst-font-lock-indentation-point)
6843 (rst-font-lock-find-unindented-line-begin)
6844 (rst-font-lock-find-unindented-line-end)
6845 (rst-font-lock-find-unindented-line)
6846 (rst-font-lock-adornment-point, rst-font-lock-level)
6847 (rst-adornment-level-alist): Remove functions and variables.
6848
6849 (rst-compare-adornments, rst-get-adornment-match)
6850 (rst-suggest-new-adornment, rst-get-adornments-around)
6851 (rst-adornment-complete-p, rst-get-next-adornment)
6852 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6853 (rst-straighten-adornments): Standardize function names to
6854 use "adornment" instead of "decoration". Correct callers.
6855 Similar standardizing in many places.
6856
6857 (rst-update-section, rst-adjust, rst-promote-region)
6858 (rst-enumerate-region, rst-bullet-list-region)
6859 (rst-repeat-last-character): Correct use of `interactive'.
6860
6861 (rst-classify-adornment, rst-find-all-adornments)
6862 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6863 (rst-find-leftmost-column, rst-repeat-last-character):
6864 Refactor functions.
6865
6866 (rst-find-title-line, rst-reset-section-caches)
6867 (rst-get-adornments-around, rst-adjust-adornment-work)
6868 (rst-arabic-to-roman, rst-roman-to-arabic)
6869 (rst-insert-list-pos, rst-insert-list-new-item)
6870 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6871 New functions.
6872
6873 (rst-all-sections, rst-section-hierarchy)
6874 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6875 New variables.
6876
6877 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6878 configuration instead of only buffer. Change where necessary.
6879
6880 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6881 (rst-shift-region, rst-adaptive-fill): New functions for
6882 indentation and filling.
6883
6884 (rst-comment-line-break, rst-comment-indent)
6885 (rst-comment-insert-comment, rst-comment-region)
6886 (rst-uncomment-region): New functions for handling comments.
6887
6888 (rst-compile): Quote shell arguments.
6889
6890 (rst-compile-pdf-preview, rst-compile-slides-preview):
6891 Delete temporary files after use.
6892
a43f98b3
GM
68932012-05-05 Glenn Morris <rgm@gnu.org>
6894
48176e8b
GM
6895 * calendar/cal-html.el: Optionally include holidays in the output.
6896 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6897 (cal-html-holidays): New option.
6898 (cal-html-css-default): Add holiday entry.
6899 (holiday-in-range): Autoload it.
6900 (cal-html-htmlify-entry): Add optional class argument.
6901 (cal-html-htmlify-list): Add optional holidays argument.
6902 (cal-html-insert-agenda-days): Include holidays in the output.
6903 (cal-html-one-month): Maybe include holidays.
6904
a43f98b3
GM
6905 * calendar/holidays.el (holiday-in-range):
6906 Move here from cal-tex-list-holidays.
6907 * calendar/cal-tex.el (cal-tex-list-holidays):
6908 Make it an obsolete alias for holiday-in-range. Update all callers.
6909
fef9d149 69102012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6911
6912 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6913 Nextstep.
6914
248da2f4
RW
69152012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6916
6917 * files.el (file-auto-mode-skip): New var.
6918 (set-auto-mode-1): Use it.
6919
f95e9344
SM
69202012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6921
df96ab1e
SM
6922 * repeat.el: Use lexical-binding.
6923 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6924 (repeat-undo-count): Remove.
6925 (repeat):
6926 * progmodes/octave-mod.el (octave-abbrev-start):
6927 * progmodes/f90.el (f90-abbrev-start):
6928 * face-remap.el (text-scale-adjust):
6929 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6930
5342bb06
SM
6931 * emacs-lisp/pcase.el (pcase--let*): New function.
6932 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6933 a bit more.
6934 (pcase--split-pred): Be more clever about ruling out overlap between
6935 a predicate and some constant pattern.
6936 (pcase--q1): Use `null' instead of (eq foo nil).
6937
f95e9344
SM
6938 * subr.el (setq-local, defvar-local): New macros.
6939 (kbd): Redefine as an alias.
6940 (with-selected-window): Leave unrelated frames alone.
6941 (set-temporary-overlay-map): New function.
6942
71873e2b
SM
69432012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * subr.el (user-error): New function.
6946 * window.el (switch-to-buffer):
6947 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6948 (smerge-match-conflict):
6949 * simple.el (previous-matching-history-element)
6950 (next-matching-history-element, goto-history-element, undo-more)
6951 (undo-start):
6952 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6953 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6954 (next-file, tags-loop-scan, list-tags, complete-tag):
6955 * progmodes/compile.el (compilation-loop):
6956 * mouse.el (mouse-minibuffer-check):
6957 * man.el (Man-bgproc-sentinel, Man-goto-page):
6958 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6959 (Info-history-forward, Info-follow-reference, Info-menu)
6960 (Info-extract-menu-item, Info-extract-menu-counting)
6961 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6962 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6963 (Info-next-reference, Info-prev-reference, Info-index)
6964 (Info-index-next, Info-follow-nearest-node)
6965 (Info-copy-current-node-name):
6966 * imenu.el (imenu--make-index-alist)
6967 (imenu-default-create-index-function, imenu-add-to-menubar):
6968 * files.el (basic-save-buffer, recover-file):
6969 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6970 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6971 (checkdoc-message-text, checkdoc-defun):
6972 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6973 * cus-edit.el (customize-changed-options, customize-rogue)
6974 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6975 (custom-variable-mark-to-reset-standard)
6976 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6977 (custom-file):
6978 * completion.el (check-completion-length):
6979 * comint.el (comint-search-arg)
6980 (comint-previous-matching-input-string-position)
6981 (comint-previous-matching-input)
6982 (comint-replace-by-expanded-history-before-point, comint-send-input)
6983 (comint-copy-old-input, comint-backward-matching-input)
6984 (comint-goto-process-mark, comint-set-process-mark):
6985 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6986 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6987
8a61ee22
SM
69882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6989
66408d1e
SM
6990 * dabbrev.el (dabbrev--ignore-case-p): New function.
6991 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6992 Use it.
6993
8a61ee22
SM
6994 * files.el (automount-dir-prefix): Mark as obsolete.
6995
3c74813a
GM
69962012-05-04 Glenn Morris <rgm@gnu.org>
6997
6998 * patcomp.el, play/bruce.el: Move to obsolete/.
6999
0bfcf5c5
PE
70002012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7001
7002 Fix minor Y10k bugs.
7003 * arc-mode.el (archive-unixdate):
7004 * autoinsert.el (auto-insert-alist):
7005 * calc/calc-forms.el (math-this-year):
7006 * emacs-lisp/copyright.el (copyright-current-year)
7007 (copyright-update-year, copyright):
7008 * tar-mode.el (tar-clip-time-string):
7009 * time.el (display-time-update):
7010 Don't assume years have 4 digits.
7011
78f3273a
CY
70122012-05-04 Chong Yidong <cyd@gnu.org>
7013
7014 * dos-w32.el (file-name-buffer-file-type-alist)
7015 (direct-print-region-use-command-dot-com):
7016 * ffap.el (ffap-menu-regexp):
7017 * find-file.el (ff-special-constructs):
7018 * follow.el (follow-debug):
7019 * forms.el (forms--debug):
7020 * iswitchb.el (iswitchb-all-frames):
7021 * ido.el (ido-all-frames):
7022 * emacs-lisp/timer.el (timer-max-repeats):
7023 * mail/feedmail.el (feedmail-mail-send-hook)
7024 (feedmail-mail-send-hook-queued):
7025 * mail/footnote.el (footnote-signature-separator):
7026 * mail/mailabbrev.el (mail-alias-separator-string)
7027 (mail-abbrev-mode-regexp):
7028 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7029 * progmodes/idlwave.el (idlwave-libinfo-file)
7030 (idlwave-default-completion-case-is-down)
7031 (idlwave-library-routines): Convert defvars to defcustoms.
7032
7033 * mail/rmail.el (rmail-decode-mime-charset):
7034 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7035 (idlwave-shell-fix-inserted-breaks)
7036 (idlwave-shell-activate-alt-keybindings)
7037 (idlwave-shell-use-breakpoint-glyph):
7038 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7039
f7ae6719
SM
70402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7043
47086495
WS
70442012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7045
7046 * progmodes/verilog-mode.el (font-lock-keywords):
7047 Fix mis-highligting auto. Reported by Craig Barner.
7048 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7049 defines from global name space. Reported by Dan Dever.
7050 (verilog-auto-reset, verilog-auto-reset-widths)
7051 (verilog-auto-tieoff): Support using unbased numbers for
7052 AUTORESET and AUTOTIEOFF.
7053 (verilog-submit-bug-report): Update variable list.
7054 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7055 parenthesis from not matching. Reported by Michael Rytting.
7056 (verilog-auto-template-lint): Fix hash error when linting modules
7057 with no used templates.
7058 (verilog-warn, verilog-warn-error)
7059 (verilog-warn-fatal): When non-interactive report multiple
7060 warnings before exiting. Suggested by Brad Dobbie.
7061 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7062 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7063 to report unused template errors. Reported by Brad Dobbie.
7064 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7065 nets, bug438. Reported by Vns Blore.
7066 (verilog-auto-inout-module, verilog-auto-reg)
7067 (verilog-read-decls, verilog-read-sub-decls-sig)
7068 (verilog-signals-edit-wire-reg, verilog-signals-with):
7069 Fix passing of Verilog data types in ANSI input/output ports
7070 such as "output logic" into the AUTOs. Special case "wire" and
7071 "reg" for backwards compatibility presuming Verilog 2001.
7072 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7073 (verilog-preprocess): Fix replication of preprocess output.
7074 Reported by Brad Dobbie.
7075 (verilog-auto-inst-interfaced-ports):
7076 Create verilog-auto-inst-interfaced-ports, bug429.
7077 Reported by Julian Gorfajn.
7078 (verilog-after-save-font-hook)
7079 (verilog-before-save-font-hook): New variable.
7080 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7081 (verilog-save-font-mods): Wrap disabling fontification, reported
7082 by David Rogoff.
7083 (verilog-do-indent, verilog-pretty-declarations-auto)
7084 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7085 Reported by Pierre-David Pfister.
7086 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7087 of class declarations, bug292. Reported by Kevin Heilman.
7088 (verilog-read-decls): Fix 'parameter type' not appearing in
7089 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7090 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7091 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7092 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7093 Reported by David Kravitz.
7094
70952012-05-03 Michael McNamara <mac@mail.brushroad.com>
7096
7097 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7098 assignment with tests in ifs and for loops.
7099 (verilog-extended-complete-re, verilog-complete-reg): Change so
7100 that DPI inport functions don't look like fuction declarations.
7101 (verilog-pretty-expr): Don't line up assignment
7102 operations to the test and increment in if and for loops
7103 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7104 that DPI inport functions don't look like fuction declarations.
47086495 7105
2e51d4b5
KH
71062012-05-03 Kenichi Handa <handa@m17n.org>
7107
7108 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7109 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7110 (Bug#11282).
7111
2bd785a2
SM
71122012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 * emacs-lisp/bytecomp.el
7115 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7116 since cconv.el might have introduced :fun-body, internal-make-closure,
7117 and friends for bytecomp to handle (bug#11391).
7118 * custom.el (defcustom): Avoid ((λ ..) ..).
7119
99d27583
SM
71202012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7123
55a71479
JB
71242012-05-02 Juanma Barranquero <lekktu@gmail.com>
7125
7126 * notifications.el (dbus-debug):
7127 * term/linux.el (gpm-mouse-enable):
7128 * term/screen.el (xterm-register-default-colors): Declare.
7129
7b97c764
CY
71302012-05-02 Chong Yidong <cyd@gnu.org>
7131
2bc356d7
CY
7132 * cus-start.el (gc-cons-percentage, exec-suffixes)
7133 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7134 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7135 (make-cursor-line-fully-visible, void-text-area-pointer)
7136 (font-list-limit): Add customization data.
7137
7b97c764
CY
7138 * allout.el (allout-exposure-change-functions)
7139 (allout-structure-added-functions)
7140 (allout-structure-deleted-functions)
7141 (allout-structure-shifted-functions): Rename abnormal hooks from
7142 *-hook, and convert to defcustoms.
5d3385a0
JB
7143 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7144 Convert to defcustoms.
7b97c764
CY
7145 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7146
7147 * allout-widgets.el: Hook callers changed.
7148
90207a15 71492012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7150
7151 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7152 the yanked message in preference to the default value of
7153 buffer-file-coding-system.
7154
90207a15 71552012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7156
5d3385a0
JB
7157 * window.el (display-buffer--action-function-custom-type):
7158 Fix entry.
d9558cad 7159
90207a15 71602012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7161
7162 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7163
d80ac57b
GM
71642012-05-01 Glenn Morris <rgm@gnu.org>
7165
976f7668
GM
7166 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7167
beb83b5a
GM
7168 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7169
d80ac57b
GM
7170 * cus-edit.el (custom-variable-documentation): Simplify with format.
7171
b593d6a9 71722012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7173 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7174
7175 * simple.el (suggest-key-bindings, execute-extended-command):
7176 Move from keyboard.c.
7177
782fbf2a
CY
71782012-05-01 Chong Yidong <cyd@gnu.org>
7179
7180 * follow.el: Eliminate advice.
7181 (set-process-filter, process-filter, sit-for): Advice deleted.
7182 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7183 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7184 Vars deleted.
782fbf2a
CY
7185 (follow-auto): Use a :set function.
7186 (follow-mode): Rewritten. Don't advise process filters.
7187 (follow-switch-to-current-buffer-all, follow-scroll-up)
7188 (follow-scroll-down): Assume follow-mode is bound.
7189 (follow-comint-scroll-to-bottom)
7190 (follow-align-compilation-windows): New functions.
7191 (follow--window-sorter): New function.
7192 (follow-all-followers): Use it to explicitly sort windows by their
7193 positions; don't make assumptions about next-window order.
7194 (follow-windows-start-end, follow-delete-other-windows-and-split)
7195 (follow-calc-win-start): Doc fix.
7196 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7197 vertical-motion unnecessarily.
7198 (follow-adjust-window): New function.
7199 (follow-post-command-hook): Use it.
7200 (follow-call-set-process-filter, follow-call-process-filter)
7201 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7202 (follow-stop-intercept-process-output, follow-generic-filter):
7203 Functions deleted.
7204 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7205 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7206 New functions, replacing advice on scroll-bar-* commands.
87233a14 7207 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7208
7209 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7210 (comint-postoutput-scroll-to-bottom): Use it.
7211 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7212
290af740
GM
72132012-05-01 Glenn Morris <rgm@gnu.org>
7214
7215 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7216 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7217 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7218 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7219 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7220 Remove no-byte-compile setting.
7221
6eac8dc9
SM
72222012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7225 all-completions code to not return a number in the last cdr.
7226
9cc7819c
LL
72272012-04-30 Leo Liu <sdl.web@gmail.com>
7228
7229 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7230 read-only error.
7231
c93b886f
CY
72322012-04-29 Chong Yidong <cyd@gnu.org>
7233
7234 * follow.el (follow-calc-win-end): Rewrite to handle partial
7235 screen lines correctly (Bug#8390).
7236 (follow-avoid-tail-recenter): Minor cleanup.
7237
8b6c19f4
SM
72382012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 Avoid the obsolete `assoc' package.
7241 * speedbar.el (speedbar-refresh): Avoid adelete.
7242 (speedbar-file-lists): Simplify and avoid aput.
7243 * man.el (Man--sections, Man--refpages): New vars, replacing
7244 Man-sections-alist and Man-refpages-alist.
7245 (Man-build-section-alist, Man-build-references-alist):
7246 Use them; avoid aput.
7247 (Man--last-section, Man--last-refpage): New vars.
7248 (Man-follow-manual-reference): Use them.
7249 Use the `default' arg of completing-read.
7250 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7251
c5bb7569
CY
72522012-04-27 Chong Yidong <cyd@gnu.org>
7253
d1d2e2e8
CY
7254 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7255
15cd8efd
CY
7256 * startup.el (x-apply-session-resources): New function.
7257
7258 * term/ns-win.el (ns-initialize-window-system):
7259 * term/w32-win.el (w32-initialize-window-system):
7260 * term/x-win.el (x-initialize-window-system): Use it to properly
7261 set menu-bar-mode and other vars from X resources, even if the
7262 initial frame is not a window-system frame (Bug#2299).
7263
c5bb7569
CY
7264 * subr.el (read-key): Avoid running filter function when setting
7265 up temporary tool bar entries (Bug#9922).
7266
a8e7d6d7 72672012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7268
7269 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7270 (Bug#11344)
7271
a8e7d6d7 72722012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7273
7274 * select.el (xselect--encode-string): New function, split from
7275 xselect-convert-to-string.
7276 (xselect-convert-to-string): Use it.
7277 (xselect-convert-to-filename, xselect-convert-to-os)
7278 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7279 returned strings are properly encoded (Bug#11315).
7280
a8e7d6d7 72812012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7282
7283 * simple.el (delete-active-region): Move to killing custom group.
7284
a8e7d6d7 72852012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7286
7287 * progmodes/which-func.el (which-func-current): Quote %
7288 characters for mode-line processing.
7289
578c1d4b 72902012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7291
7292 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7293 reaching eob (Bug#11286).
7294
a8e7d6d7 72952012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7296
7297 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7298 (gdb): Make it buffer-local and init to zero.
7299 (gdb-control-commands-regexp): New variable.
7300 (gdb-send): Don't wrap in "-interpreter-exec console" if
7301 gdb-control-level is positive. Increment gdb-control-level
7302 whenever the command matches gdb-control-commands-regexp, and
7303 decrement it each time the command is "end". (Bug#11279)
7304
a8e7d6d7 73052012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7306
7307 * window.el (adjust-window-trailing-edge, enlarge-window)
7308 (shrink-window, window-resize):
7309 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7310 windows (Bug#11276).
7311
b3608390
CY
73122012-04-27 Chong Yidong <cyd@gnu.org>
7313
7314 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7315 fix "missing prefix" warning. All callers changed.
b3608390 7316
797e6e88
SM
73172012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * emacs-lisp/assoc.el: Move to obsolete/.
7320
e95a67dc
SM
73212012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7322
657c21e4 7323 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7324
7325 * term/ns-win.el (ns-define-service):
7326 * progmodes/pascal.el (pascal-goto-defun):
7327 * progmodes/js.el (js--read-tab):
7328 * progmodes/etags.el (tags-lazy-completion-table):
7329 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7330 * emacs-lisp/ewoc.el (ewoc--wrap):
7331 * emacs-lisp/assoc.el (aput, adelete, amake):
7332 * doc-view.el (doc-view-convert-current-doc):
7333 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7334
cb3e7ae0
CY
73352012-04-26 Chong Yidong <cyd@gnu.org>
7336
dce04f7f
CY
7337 * image.el (image-type-from-buffer): Only return supported image
7338 type (Bug#9045).
7339
cb3e7ae0
CY
7340 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7341 value, for symmetry with diff-end-of-hunk.
7342 (diff-split-hunk, diff-find-source-location)
7343 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7344 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7345 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7346 compute the relevant hunk or file properly (Bug#6005).
7347 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7348
0d42eb3e
SM
73492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * vc/vc-mtn.el:
7352 * vc/vc-hg.el:
7353 * vc/vc-git.el:
7354 * vc/vc-dir.el:
7355 * vc/vc-cvs.el:
7356 * vc/vc-bzr.el:
7357 * vc/vc-arch.el:
7358 * vc/vc.el: Replace lexical-let by lexical-binding.
7359 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7360 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7361 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7362
f08ae1c9
CY
73632012-04-26 Chong Yidong <cyd@gnu.org>
7364
8b71081d
CY
7365 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7366 (diff-mode-shared-map): Bind it to / and [remap undo].
7367
f08ae1c9
CY
7368 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7369 (ediff-window-setup-function): Use it as the default, to set up
7370 windows based on whether the current frame is graphical (Bug#2138).
7371 (ediff-choose-window-setup-function-automatically): Make obsolete.
7372
7373 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7374
ef24141c
SM
73752012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7376
cc356a5d
SM
7377 * ffap.el: Remove old code for obsolete package.
7378 (ffap-complete-as-file-p): Remove.
7379
b4ff4f1f
SM
7380 Use completion-table-with-quoting for comint and pcomplete.
7381 * comint.el (comint--unquote&requote-argument)
7382 (comint--unquote-argument, comint--requote-argument): New functions.
7383 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7384 (comint-quote-filename): Use regexp-opt-charset.
7385 (comint--common-suffix, comint--common-quoted-suffix)
7386 (comint--table-subvert): Remove.
7387 (comint-unquote-function, comint-requote-function): New vars.
7388 (comint--complete-file-name-data): Use them with
7389 completion-table-with-quoting.
7390 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7391 * pcomplete.el (pcomplete-arg-quote-list)
7392 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7393 (pcomplete-unquote-argument-function): Default to non-nil.
7394 (pcomplete-unquote-argument): Simplify.
7395 (pcomplete--common-quoted-suffix): Remove.
7396 (pcomplete-requote-argument-function): New var.
7397 (pcomplete--common-suffix): New function.
7398 (pcomplete-completions-at-point): Use completion-table-with-quoting
7399 and completion-table-subvert.
7400
79c4eeb4
SM
7401 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7402 (minibuffer--double-dollars): Preserve properties.
7403 (completion--sifn-requote): New function.
7404 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7405
ef24141c
SM
7406 * minibuffer.el: Add support for completion of quoted/escaped data.
7407 (completion-table-with-quoting, completion-table-subvert): New funs.
7408 (completion--twq-try, completion--twq-all): New functions.
7409 (completion--nth-completion): New function.
7410 (completion-try-completion, completion-all-completions): Use it.
7411
784e7d6e
LL
74122012-04-25 Leo Liu <sdl.web@gmail.com>
7413
dd2ac746
SM
7414 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7415 Use compilation-message if available to find real filename.
784e7d6e 7416
07875ee7
CY
74172012-04-25 Chong Yidong <cyd@gnu.org>
7418
7419 * vc/diff-mode.el (diff-setup-whitespace): New function.
7420 (diff-mode): Use it.
7421
7422 * vc/diff.el (diff-sentinel):
7423 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7424 Whitespace mode variables based on diff style (Bug#8612).
7425
5055880d
LL
74262012-04-25 Leo Liu <sdl.web@gmail.com>
7427
daf75653
LL
7428 * progmodes/python.el (python-send-region): Add suffix .py to the
7429 temp file.
7430
5055880d
LL
7431 * files.el (auto-mode-alist): Use javascript-mode instead.
7432
db9b177b
AH
74332012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7434
ef24141c 7435 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7436
090bd7cb 7437 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7438 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7439 references, see Bug#9.
ef24141c 7440 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7441 when receiving a fault reply.
ef24141c 7442 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7443
090bd7cb 7444 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7445 (soap-inspect-simple-type): New function.
db9b177b 7446
090bd7cb 7447 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7448 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7449 (soap-decode-basic-type, soap-encode-basic-type):
7450 support unsignedInt and double basic types.
db9b177b 7451 (soap-resolve-references-for-simple-type)
ef24141c
SM
7452 (soap-parse-simple-type, soap-encode-simple-type): New function.
7453 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7454
090bd7cb 7455 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7456 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7457 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7458 the local name of "soapenc:Array".
7459 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7460 decoding integer, byte and anyURI xsd types.
7461
1fc6097b
CY
74622012-04-25 Chong Yidong <cyd@gnu.org>
7463
7464 * cus-edit.el (custom-buffer-create-internal): Update header text.
7465
afc6df87
EZ
74662012-04-25 Eli Zaretskii <eliz@gnu.org>
7467
7468 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7469 settings on 'system-type', not on 'window-system'. On MS-Windows,
7470 set interactive-mode on in GDB.
7471
dfbd787f
SM
74722012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7475 (ruby-syntax-propertize-regexp): Remove.
7476 (ruby-syntax-propertize-function): Split regexp into chunks.
7477 Match following code directly.
7478
85222d44
DG
74792012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7480
51a8ea2a
DG
7481 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7482 (ruby-syntax-propertize-regexp): New function.
7483 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7484 by a special keyword.
7485
85222d44
DG
7486 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7487 (ruby-syntax-general-delimiters-goto-beg)
7488 (ruby-syntax-propertize-general-delimiters): New functions.
7489 (ruby-syntax-propertize-function): Use them to handle GDL.
7490 (ruby-font-lock-keywords): Move old handling of GDL...
7491 (ruby-font-lock-syntactic-keywords): .. to here.
7492 (ruby-calculate-indent): Adjust indentation for GDL.
7493
b613912b
MA
74942012-04-24 Michael Albinus <michael.albinus@gmx.de>
7495
b5380639
MA
7496 * notifications.el (top): Remove unneeded declarations.
7497 (notifications-specification-version): Change to "1.2".
e43042fe 7498 (notifications-interface, notifications-notify-method)
b613912b
MA
7499 (notifications-close-notification-method): Fix docstring.
7500 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7501 (notifications-notify): Add :action-items, :resident and
7502 :transient hints. Change "image_data" to "image-data" and
7503 "image_path" to "image-path".
b613912b
MA
7504 (notifications-get-capabilities): New defun.
7505
257440aa
LL
75062012-04-24 Leo Liu <sdl.web@gmail.com>
7507
7508 * progmodes/python.el: Move hideshow setup to the end.
7509
b1bac16e
MR
75102012-04-24 Martin Rudalics <rudalics@gmx.at>
7511
7512 * window.el (handle-select-window): Clear echo area since this is
7513 no more done by read_char (Bug#11304).
7514
d81bd059
SM
75152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7518 and `/ M' to filter-derived-mode.
7519 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7520 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7521 (ibuffer-mark-by-mode): Use default rather than initial-input.
7522 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7523
c4cf6d91
IA
75242012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7525
7526 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7527 (ibuffer-filter-by-derived-mode): New filter.
7528 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7529
7511ded8
CY
75302012-04-23 Andreas Politz <politza@fh-trier.de>
7531
7532 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7533
775c916b
CY
75342012-04-23 Chong Yidong <cyd@gnu.org>
7535
7536 * cus-edit.el (customize-apropos, customize-apropos-options):
7537 Disable matching of non-option variables (Bug#11176).
7538 (customize-option, customize-option-other-window)
7539 (customize-changed-options): Doc fix.
7540 (customize-apropos-options, customize-apropos-faces)
7541 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7542
7543 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7544 Fix word list splitting (Bug#11132).
46c71e23
CY
7545 (apropos-symbol, apropos-keybinding, apropos-label)
7546 (apropos-property, apropos-function-button)
7547 (apropos-variable-button, apropos-misc-button): New faces.
7548 (apropos-symbol-face, apropos-keybinding-face)
7549 (apropos-label-face, apropos-property-face, apropos-match-face):
7550 Variables removed (Bug#8396).
7551 (apropos-library-button, apropos-format-plist, apropos-print)
7552 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7553
2df41f9c
MA
75542012-04-23 Michael Albinus <michael.albinus@gmx.de>
7555
7556 * net/xesam.el (xesam-mode-map): Use let-bound map in
7557 initialization. (Bug#11292)
7558
da00640a
AM
75592012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7560
7561 Preserve ispell session localwords when switching back to
7562 original buffer.
7563
090bd7cb
JB
7564 * textmodes/ispell.el (ispell-buffer-session-localwords):
7565 New buffer-local variable to hold buffer session localwords.
ed9265fc 7566 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7567 localwords.
7568 (ispell-command-loop, ispell-change-dictionary)
7569 (ispell-buffer-local-words): Preserve session localwords when
7570 needed.
7571
090bd7cb
JB
7572 * textmodes/flyspell.el (flyspell-process-localwords)
7573 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7574
f621ccf5
AM
75752012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7576
090bd7cb
JB
7577 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7578 using obsolete `translation-table-for-input'.
ef24141c
SM
7579 (ispell-word, ispell-process-line, ispell-complete-word):
7580 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7581
c2d1019e
CY
75822012-04-22 Chong Yidong <cyd@gnu.org>
7583
7584 * cus-edit.el (custom-variable-menu)
7585 (custom-variable-reset-saved, custom-face-menu)
7586 (custom-face-reset-saved): If there is no saved value, make the
7587 "reset-saved" operation bring back the default (Bug#9509).
7588 (custom-face-state): Properly detect themed faces.
7589
eeddc531
CY
7590 * faces.el (face-spec-set): Stop supporting deprecated form of
7591 third arg.
7592
dcbf5805
MA
75932012-04-22 Michael Albinus <michael.albinus@gmx.de>
7594
7595 Move functions from C to Lisp. Make non-blocking method calls
7596 the default. Implement further D-Bus standard interfaces.
7597
ef24141c
SM
7598 * net/dbus.el (dbus-message-internal): Declare function.
7599 Remove unneeded function declarations.
dcbf5805
MA
7600 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7601 (dbus-message-type-method-return, dbus-message-type-error)
7602 (dbus-message-type-signal): Declare variables. Remove local
7603 definitions.
7604 (dbus-interface-dbus, dbus-interface-peer)
7605 (dbus-interface-introspectable, dbus-interface-properties)
7606 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7607 Adapt docstring.
7608 (dbus-interface-objectmanager): New defconst.
7609 (dbus-call-method, dbus-call-method-asynchronously)
7610 (dbus-send-signal, dbus-method-return-internal)
7611 (dbus-method-error-internal, dbus-register-service)
7612 (dbus-register-signal, dbus-register-method): New defuns, moved
7613 from dbusbind.c
7614 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7615 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7616 New defuns.
dcbf5805
MA
7617 (dbus-call-method-non-blocking): Make it an obsolete function.
7618 (dbus-unregister-object, dbus-unregister-service)
7619 (dbus-handle-event, dbus-register-property)
7620 (dbus-property-handler): Obey the new structure of
7621 `bus-registered-objects'.
7622 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7623 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7624 Use `dbus-call-method'.
7625
cf20dee0
CY
76262012-04-22 Chong Yidong <cyd@gnu.org>
7627
7628 * cus-edit.el (custom-commands, custom-reset-menu)
7629 (Custom-reset-standard): Tweak labels.
7630 (custom-reset-button-menu): Change default to t.
7631 (custom-buffer-create-internal): For the custom-reset-button-menu
7632 case, put the revert button first.
7633 (custom-group-subtitle): New face.
7634 (custom-group-value-create): Align docstring to a specific column.
7635
7636 * wid-edit.el (widget-documentation-link-add): Don't handle
7637 indentation in this function.
7638 (widget-documentation-string-indent-to): New function.
7639 (widget-documentation-string-value-create): Use it.
7640
7641 * autorevert.el (auto-revert):
7642 * epg-config.el (epg):
7643 * ibuffer.el (ibuffer):
7644 * mpc.el (mpc):
7645 * ses.el (ses):
7646 * eshell/eshell.el (eshell):
7647 * net/ange-ftp.el (ange-ftp):
7648 * progmodes/ebnf2ps.el (postscript):
7649 * progmodes/flymake.el (flymake):
7650 * progmodes/prolog.el (prolog):
7651 * progmodes/verilog-mode.el (verilog-mode):
7652 * progmodes/which-func.el (which-func):
7653 * term/xterm.el (xterm):
7654 * textmodes/picture.el (picture):
7655 * textmodes/tildify.el (tildify):
7656 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7657 customization buffers.
7658
583e23bd
AM
76592012-04-22 Alan Mackenzie <acm@muc.de>
7660
7661 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7662 Adding a ) can hide the resulting (..) from searches. Fix it.
7663 Bound the backward search to the position of the existing (.
7664
7dd51bf1
JB
76652012-04-21 Juanma Barranquero <lekktu@gmail.com>
7666
7667 * progmodes/verilog-mode.el (verilog-mode): Check whether
7668 which-func-modes is t before adding verilog-mode.
7669 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7670
d64a438f
LL
76712012-04-21 Leo Liu <sdl.web@gmail.com>
7672
7dd51bf1 7673 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7674
081e8d65
MV
76752012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7676
7677 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7678 filling of the last column of a table (Bug#5635).
7679 (woman-find-next-control-line): New arg, specifying an additional
7680 regexp component for the control line.
7681 (woman2-roff-buffer): Use it.
7682 (woman-break-table): New function.
7683 (woman2-TS): Use it.
7684
76852012-04-21 Chong Yidong <cyd@gnu.org>
7686
7687 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7688 (woman-horizontal-escapes, woman-negative-vertical-space)
7689 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7690 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7691
ed571ccb
SM
76922012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7693
7694 * minibuffer.el (completion-file-name-table): Complete user names.
7695
39773899
LL
76962012-04-20 Leo Liu <sdl.web@gmail.com>
7697
7698 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7699 and pcase-let*.
7700
de6ff46d
CY
77012012-04-20 Chong Yidong <cyd@gnu.org>
7702
7703 * server.el (server-execute): Respect initial-buffer-choice if it
7704 is a string and there are no files to open (Bug#2825).
7705 (server-create-window-system-frame, server-create-tty-frame):
7706 Don't switch buffers here.
2d0e8e61
CY
7707 (server-process-filter): Only try to open a window system frame if
7708 compiled with graphical support (Bug#8314).
de6ff46d 7709
54071013
DN
77102012-04-20 Dan Nicolaescu <dann@gnu.org>
7711
7712 * battery.el (battery-echo-area-format): Display remaining time
7713 for sysfs backend too (Bug#11269).
7714 (battery-linux-sysfs): Fix conditional for the charge.
7715
f30d612a
CY
77162012-04-20 Chong Yidong <cyd@gnu.org>
7717
c07a4c0b 7718 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7719 (gdb-inferior-io--init-proc): New function.
7720 (gdb-init-1): Use it.
7721 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7722 responsible for allocating a new pty and hooking it to gdb when
7723 the old pty gets an EIO due to process exit.
7724 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7725 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7726 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7727
2116e93c
EZ
77282012-04-20 Eli Zaretskii <eliz@gnu.org>
7729
7730 * window.el (window-min-size, window-sizable, window-min-delta)
7731 (window-max-delta, window--resizable, window-resizable)
7732 (window-total-size, window-full-height-p, window-full-width-p)
7733 (window-in-direction, window--resize-mini-window, window-resize)
7734 (window--resize-child-windows-normal)
7735 (window--resize-child-windows, window--resize-siblings)
7736 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7737 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7738
c07a4c0b 77392012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7740
ef24141c
SM
7741 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7742 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7743 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7744 pty process (Bug#11273).
7745 (gdb-update): New arg to suppress talking to the gdb process.
7746 (gdb-done-or-error): Use it.
7747 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7748 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7749 sentinel not being called.
7750
7751 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7752
d02766ab
CY
7753 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7754
c07a4c0b 77552012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7756
7757 * net/network-stream.el (open-network-stream): Doc fix.
7758
c07a4c0b 77592012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7760
7761 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7762
c07a4c0b 77632012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7764
7765 Ensure searching for keywords is case sensitive.
7766
7767 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7768 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7769 (c-defun-name, c-mark-function, c-cpp-define-name)
7770 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7771 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7772
ef24141c
SM
7773 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7774 Bind case-fold-search to nil.
f0f6bc35 7775
c07a4c0b 77762012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7777
7778 * mail/sendmail.el (mail-bury): Call return action with the right
7779 Rmail buffer (Bug#11242).
7780
9a864fa2
CY
7781 * server.el (server-process-filter): Handle corner case where both
7782 tty and nowait options are present (Bug#11102).
7783
539aa513
EZ
77842012-04-20 Eli Zaretskii <eliz@gnu.org>
7785
7786 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7787 (top level): Put into the executable the ident-style '$Id:' tag on
7788 windows-nt as well.
539aa513 7789
cfc7d5da
SM
77902012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * electric.el (electric-indent-post-self-insert-function): Check that
7793 electric-indent-mode is enabled in current buffer.
7794
5b01685c
JB
77952012-04-19 Juanma Barranquero <lekktu@gmail.com>
7796
7797 * imenu.el (imenu-progress-message): Restore; it is "used" in
7798 erc/erc-imenu.el and net/snmp-mode.el.
7799
4d6769e1
JB
78002012-04-19 Juanma Barranquero <lekktu@gmail.com>
7801
7802 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7803 (mouse-avoidance-nudge-mouse): Remove unused binding.
7804
7805 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7806
7807 * descr-text.el (describe-char):
7808 * progmodes/python.el (python-describe-symbol):
7809 Don't call `toggle-read-only', set `buffer-read-only'.
7810
7811 * imenu.el (imenu-default-goto-function): Mark unused args.
7812 (imenu-progress-message): Remove obsolete macro; all callers changed.
7813
7814 * subr.el (keymap-canonicalize): Remove unused binding.
7815 (read-passwd): Mark unused arg.
7816
7817 * tutorial.el (tutorial--display-changes): Remove unused binding.
7818 (tutorial--save-tutorial-to): Remove unused variable.
7819
7820 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7821 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7822 (package-generate-autoloads, package-menu--generate)
7823 (package-menu--find-upgrades): Remove unused bindings.
7824
7825 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7826 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7827 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7828 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7829 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7830 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7831 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7832 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7833 (cua-delete-char-rectangle): Mark unused args.
7834 (cua-align-rectangle): Remove unused binding.
7835
7836 * mail/rmail.el (compilation--message->loc)
7837 (epa--find-coding-system-for-mime-charset): Declare.
7838
7839 * net/dbus.el (dbus-register-service): Declare.
7840 (dbus-name-owner-changed-handler): Remove unused binding.
7841
7842 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7843 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7844 (nxml-scan-backward-within): Mark unused arg.
7845 (nxml-dynamic-markup-word): Remove unused binding.
7846
7847 * mouse.el (mouse-menu-major-mode-map):
7848 * emacs-lisp/authors.el (authors-scan-change-log)
7849 (authors-add-to-author-list):
7850 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7851 * emacs-lisp/smie.el (smie-auto-fill):
7852 * mail/sendmail.el (mail-bury):
7853 * mail/unrmail.el (unrmail):
7854 * net/tls.el (open-tls-stream):
7855 * textmodes/picture.el (picture-mouse-set-point):
7856 Remove unused bindings.
7857
8c8fc5df
MA
78582012-04-19 Michael Albinus <michael.albinus@gmx.de>
7859
7860 * net/tramp.el (tramp-action-password): Let-bind
7861 `enable-recursive-minibuffers' to t.
7862
a77b0ac9
SS
78632012-04-18 Sam Steingold <sds@gnu.org>
7864
7865 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7866 instead of 'string to accommodate values like [f11].
7867 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7868 * progmodes/gdb-mi.el: Likewise.
7869
12a106a9
LL
78702012-04-18 Leo Liu <sdl.web@gmail.com>
7871
7872 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7873 current buffer.
7874 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7875 LOCAL is nil.
7876
bc6494ef
CY
78772012-04-18 Chong Yidong <cyd@gnu.org>
7878
7879 * simple.el (line-move): Use forward-line if in batch mode
7880 (Bug#11053).
7881
c09c46b2
CS
78822012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7883
7884 * files.el (after-find-file): Do not try to add a final newline if
7885 the buffer is read-only (Bug#11156).
7886
5f6530ea
RS
78872012-04-17 Richard Stallman <rms@gnu.org>
7888
7889 * mail/rmail.el (rmail-start-mail):
7890 Pass (rmail-mail-return...) for the return-action.
7891 Pass (rmail-yank-current-message...) for the yank-action.
7892 (rmail-yank-current-message): New function.
7893 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7894 (rmail-reply): Likewise.
7895 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7896
7897 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7898 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7899 buffer, not newbuf.
7900
197b6f3c
JB
79012012-04-17 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * server.el (server-ensure-safe-dir): Simplify.
7904
2311d8e5 79052012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7906
2311d8e5
GM
7907 * emacs-lisp/smie.el: Provide smarter auto-filling.
7908 (smie-auto-fill): New function.
7909 (smie-setup): Use it.
98fb480e 7910
2311d8e5
GM
7911 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7912
79132012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7914
7915 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7916 (comment-indent): Use it.
7917
2311d8e5 79182012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7919
7920 * ses.el: The overall change is to add cell renaming, that is
7921 setting fancy names for cell symbols other than name matching
7922 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7923 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7924 (ses-create-cell-variable): New defun.
2311d8e5 7925 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7926 (ses-relocate-formula): Relocate formulas only for cells the
7927 symbols of which are not renamed, i.e. symbols whose names do not
7928 match regexp "\\`[A-Z]+[0-9]+\\'".
7929 (ses-relocate-all): Relocate values only for cells the symbols of
7930 which are not renamed.
7931 (ses-load): Create cells variables as the (ses-cell ...) are read,
7932 in order to check row col consistency with cell symbol name only
7933 for cells that are not renamed.
7934 (ses-replace-name-in-formula): New defun.
7935 (ses-rename-cell): New defun.
4bdf2ad2 7936
fc72b15c
PO
79372012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7938
7939 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7940 New option (bug#11118).
7941 (perl-calculate-indent): Respect it.
7942
12e10e61
GM
79432012-04-17 Glenn Morris <rgm@gnu.org>
7944
7945 * dired-aux.el (dired-mark-read-string): Doc fix.
7946
30009afd
DA
79472012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7948
7949 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7950 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7951
41f03f4d
GM
79522012-04-17 Glenn Morris <rgm@gnu.org>
7953
7954 * mouse.el (mouse-drag-track):
7955 * speedbar.el (speedbar-frame-mode):
7956 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7957
f45f90f3
LL
79582012-04-16 Leo Liu <sdl.web@gmail.com>
7959
7960 * progmodes/python.el: Trivial cleanup.
7961
94ee8db5
GM
79622012-04-16 Glenn Morris <rgm@gnu.org>
7963
121b8917
GM
7964 * vc/vc.el (vc-string-prefix-p):
7965 * vc/pcvs-util.el (cvs-string-prefix-p):
7966 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7967 * mpc.el (mpc-string-prefix-p):
7968 Make all of these into obsolete aliases for string-prefix-p.
7969 Update callers.
7970 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7971
1197ecfa
GM
7972 * textmodes/two-column.el: Move custom options to the start.
7973 (frame-width): Remove compat definition.
7974 (2C-associate-buffer, 2C-dissociate):
7975 Use with-current-buffer rather than save-excursion.
7976 (2C-dissociate): Force a mode-line update.
7977 (2C-autoscroll): Use ignore-errors.
7978
099e7202
GM
7979 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7980 Autoload trivia.
7981
bf350d6a
GM
7982 * emacs-lisp/cl-extra.el (*random-state*):
7983 Remove unnecessary declaration.
7984
0e829eab
GM
7985 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7986
e3ad7552
GM
7987 * play/cookie1.el (cookie-snarf):
7988 Give an explicit error if input file cannot be read.
7989
68892d27
GM
7990 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7991
20f0c46d
GM
7992 * progmodes/perl-mode.el (c-macro-expand):
7993 Remove unnecessary autoload (it is in loaddefs.el).
7994
5a0978ce
GM
7995 * textmodes/picture.el (picture-desired-column)
7996 (picture-update-desired-column): Convert comments to doc-strings.
7997 (picture-substitute): Remove function.
7998 (picture-mode-map): Initialize in the defvar.
7999
6b955486
GM
8000 * woman.el: Remove eval-after-load for tar-mode.
8001 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8002 (woman-tar-extract-file): Autoload it.
8003
94ee8db5
GM
8004 * frame.el (automatic-hscrolling): Make this alias obsolete.
8005
177eca34
AM
80062012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8007
090bd7cb 8008 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8009 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8010 (ispell-dictionary-base-alist): Revert to original XEmacs
8011 friendly version for default. [:alpha:] will be added in
090bd7cb 8012 `ispell-set-spellchecker-params' if needed.
177eca34 8013
c505aaeb
CY
80142012-04-16 Chong Yidong <cyd@gnu.org>
8015
b19dd9d1 8016 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8017 (imagemagick-register-types): Use it.
8018 (imagemagick-types-inhibit): Add :set function. Allow new value
8019 of t to inhibit all types.
8020
8021 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8022 so we can preload it.
8023
8024 * loadup.el (fboundp): Preload regexp-opt, needed by
8025 imagemagick-register-types.
8026
60efac0f
CY
80272012-04-15 Chong Yidong <cyd@gnu.org>
8028
8029 * frame.el (scrolling): Remove nearly unused customization group.
8030
8031 * scroll-all.el (scroll-all-mode): Move to windows group.
8032
5dd1713e
CY
80332012-04-15 Chong Yidong <cyd@gnu.org>
8034
8035 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8036
e6fd457e
CY
80372012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8040 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8041
e153c136
GM
80422012-04-15 Glenn Morris <rgm@gnu.org>
8043
8044 * simple.el (process-file-side-effects): Doc fix.
8045
e6fd457e 80462012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8047
8048 * international/mule-cmds.el (set-language-environment): Doc fix.
8049
3603c3b1
JB
80502012-04-14 Juanma Barranquero <lekktu@gmail.com>
8051
8052 * server.el (server-auth-key, server-generate-key): Doc fixes.
8053 (server-get-auth-key): Doc fix. Use `string-match-p'.
8054 (server-start): Reflow docstring.
8055
e6de100c
LI
80562012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8057
8058 * server.el (server-generate-key): `called-interactively-p'
8059 requires a parameter.
8060
29734c21
MN
80612012-04-14 Michal Nazarewicz <mina86@mina86.com>
8062
8063 * server.el (server-auth-key): New variable.
75f1671a 8064 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8065 (server-start): Use the new variable and functions to allow
8066 setting a permanent server key (bug#9423).
8067
d65c9521
LL
80682012-04-14 Leo Liu <sdl.web@gmail.com>
8069
8070 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8071
5ae255c7
PE
80722012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8073
8074 Spelling fixes.
8075 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8076 Emacs uses American spelling.
8077
d5e6342e
JB
80782012-04-14 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8081 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8082 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8083 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8084
ab036cd7
SM
80852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * progmodes/which-func.el (which-func-modes): Change default.
8088
35dc09a1 80892012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8090
8091 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8092 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8093
35dc09a1 80942012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8095
8096 * custom.el (custom-theme-set-variables): Doc fix.
8097
35dc09a1 80982012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8099
8100 * international/mule.el (set-auto-coding-for-load): Doc fix.
8101
35dc09a1 81022012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8103
35dc09a1
GM
8104 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8105 imenu work again for Objective C Mode. Correct the *-index values,
8106 these having been disturbed by a previous change in 2011-08.
57f845ee 8107
0de3da9f
AM
8108 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8109 Correct two search limits.
8110
35dc09a1 81112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8112
8113 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8114
35dc09a1 81152012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8116
8117 * international/characters.el: Fix sorting.
8118
35dc09a1 81192012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8120
8121 * international/characters.el: Add more missing Latin case pairs.
8122
35dc09a1 81232012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8124
8125 * files.el (dir-locals-set-class-variables): Doc fix.
8126
35dc09a1 81272012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8128
3f1b5bf8
EZ
8129 * international/characters.el: Add set-case-syntax-pair call for
8130 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8131 counterpart. (Bug#11209)
8132
9f847f41
EZ
8133 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8134
35dc09a1 81352012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8136
8137 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8138
35dc09a1 81392012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8140
35dc09a1
GM
8141 * textmodes/ispell.el (ispell-dictionary-base-alist):
8142 Add data for Hebrew.
e2627d21 8143
35dc09a1 81442012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8145
35dc09a1
GM
8146 * net/rcirc.el (rcirc-cmd-quit):
8147 Revert 2012-03-18 change (Bug#11192).
5c14e333 8148
35dc09a1 81492012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8150
8151 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8152
35dc09a1 81532012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8154
4517fe3a
SM
8155 * minibuffer.el (completion-in-region-mode-map):
8156 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8157
b472a594
VD
81582012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8159
8160 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8161
09b95ce3
MY
81622012-04-13 Masatake YAMATO <yamato@redhat.com>
8163
8164 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8165 to allow `C-M-f' and `C-M-b' to move to the nearest path
8166 separator (bug#9511).
8167
4b63a9ca
LI
81682012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8169
8170 * avoid.el: Require cl when compiling. And also move the
8171 `provide' to the end.
8172
7b55b8bf
TV
81732012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8174
8175 * avoid.el (mouse-avoidance-banish-position): New variable.
8176 (mouse-avoidance-banish-destination): Use it (bug#10165).
8177
adedaa1f
LL
81782012-04-13 Leo Liu <sdl.web@gmail.com>
8179
8180 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8181
70e74021
KB
81822012-04-13 Ken Brown <kbrown@cornell.edu>
8183
8184 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8185 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8186 (browse-url-filename-alist): For the same reason, don't modify
8187 file:// URLs on Cygwin.
8188
e75e89ba
SM
81892012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8192 the region on shift if the binding is already shifted (bug#11221).
8193
82f289a4
GM
81942012-04-12 Glenn Morris <rgm@gnu.org>
8195
8196 * mail/mailpost.el: Move to obsolete/.
8197
d333dc4c
DA
81982012-04-12 Drew Adams <drew.adams@oracle.com>
8199
8200 * imenu.el (imenu--generic-function): Ignore invisible definitions
8201 (bug#10123).
8202
0d15b5ba
VD
82032012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8204
8205 * hexl.el (hexl-bits): New variable.
8206 (hexl-options): Mention the variable in the doc string.
75f1671a 8207 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8208 (hexl-mode): Mention the new variable.
75f1671a
JB
8209 (hexl-mode, hexl-current-address, hexl-current-address):
8210 Use the displen.
0d15b5ba
VD
8211 (hexl-ascii-start-column): New function.
8212 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8213 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8214
64a440db
AM
82152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8216
8217 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8218 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8219 the encoding, as expected by hunspell.
8220
6decb6c2
SM
82212012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8222
8223 * battery.el (battery--linux-sysfs-regexp): New const.
8224 (battery-status-function): Use it. Remove yeeloong special case.
8225 (battery-yeeloong-sysfs): Remove.
8226 (battery-echo-area-format): Remove yeeloong special case.
8227
088be6fb
SM
82282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8229
6622e416
SM
8230 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8231 Reported by Noah Friedman.
8232
088be6fb
SM
8233 * subr.el (read-passwd): Use read-string.
8234
b49f886e
LMI
82352012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8236
8237 * vcursor.el (vcursor-move): Increase the priority of the overlay
8238 (bug#9663).
8239
a63067fc
DD
82402012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8241
8242 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8243 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8244
ac3cf14a
WS
82452012-04-11 William Stevenson <yhvh2000@gmail.com>
8246
8247 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8248 define-minor-mode (bug#10760).
8249
c4fc691b 82502012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8251
4d6769e1 8252 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8253 that directories matching `grep-find-ignored-files' won't be
8254 pruned (bug#10351).
8255
af23e2e5
CY
82562012-04-11 Chong Yidong <cyd@gnu.org>
8257
8258 * startup.el (command-line): Remove support for long-obsolete
8259 variable font-lock-face-attributes.
8260
ab7ce8c1
GM
82612012-04-11 Glenn Morris <rgm@gnu.org>
8262
8263 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8264
de8c03dc
SM
82652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * window.el (window--state-get-1): Obey window-point-insertion-type.
8268
050cc68b
LB
82692012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8270
8271 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8272 to previous function when point is on the first character of a
75f1671a 8273 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8274
a38c310c
GM
82752012-04-11 Glenn Morris <rgm@gnu.org>
8276
effed0c2
GM
8277 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8278 not just file-errors.
8279
a38c310c
GM
8280 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8281 (vc-bzr-sha1): Use internal sha1.
8282
0221e323
SM
82832012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8286
43956923
SG
82872012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8288
8289 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8290 that start in the middle of the line (bug#10496).
8291
6a8c9eaf
DN
82922012-04-10 Dan Nicolaescu <dann@gnu.org>
8293
8294 * battery.el (battery-linux-proc-acpi): Only one battery is
8295 discharged at a time, but that seems to confuse battery.el when
8296 computing `rate-type' for the battery not being discharged
8297 (bug#10332).
8298
1930bf5d
SM
82992012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8300
2a718f6f
SM
8301 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8302
599430d0
SM
8303 * international/quail.el: Use dolist and simplify.
8304 (quail-define-package, quail-update-keyboard-layout)
8305 (quail-define-rules): Use dolist.
8306 (quail-insert-kbd-layout, quail-get-translation): CSE.
8307
a2754b6c
SM
8308 * tmm.el: Use dolist, remove left over hook.
8309 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8310 Use dolist.
8311 (calendar-load-hook): Don't mess with it.
8312
1930bf5d
SM
8313 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8314 Use derived-mode-p. Run the diff asynchronously.
8315
9f67961c
LMI
83162012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8317
8318 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8319
2a8ce227
JB
83202012-04-10 Juanma Barranquero <lekktu@gmail.com>
8321
8322 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8323 (list-dynamic-libraries--loaded): New function.
8324 (list-dynamic-libraries--refresh): Use it.
8325
8f33b5f8
NW
83262012-04-10 Nathan Weizenbaum <nweiz@google.com>
8327
1930bf5d
SM
8328 * progmodes/python.el (python-fill-paragraph):
8329 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8330 disabled (bug#7018).
8331
b12f0439
L
83322012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8333
1930bf5d 8334 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8335 DOS/MS Windows for the Baltic languages. There are still plenty
8336 of texts written in this encoding/codepage (bug#6519).
b12f0439 8337
57c3bd01
GM
83382012-04-10 Glenn Morris <rgm@gnu.org>
8339
8340 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8341 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8342
6c3eab30
FA
83432012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8344
1930bf5d 8345 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8346 next-line "n" and previous-line "p" in order to make recentf more
8347 consistent with ibuffer, dired or org-mode (bug#9387).
8348
24d78a88
LMI
83492012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8350
bc72b5d9
LMI
8351 * image.el (put-image): Return the overlay created instead of the
8352 optional input string (bug#7834). Note that this may break code
8353 that is (for some reason or other) depending on `put-image'
8354 returning the string.
8355
bd2dba5a
LMI
8356 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8357
74beb59f
LMI
8358 * simple.el (zap-to-char): Allow zapping using input methods
8359 (bug#1580).
8360
24d78a88
LMI
8361 * textmodes/fill.el (fill-region): Leave point and mark where they
8362 were before filling (bug#5399).
8363
263f20cd
GM
83642012-04-09 Glenn Morris <rgm@gnu.org>
8365
8366 * version.el (emacs-bzr-get-version):
8367 Handle lightweight checkouts of local branches.
8368
58d1f797
AS
83692012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8370
263f20cd 8371 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8372
b4d3bc10
CY
83732012-04-09 Chong Yidong <cyd@gnu.org>
8374
8375 * custom.el (custom-variable-p): Return nil for non-symbol
8376 arguments instead of signaling an error.
8377 (user-variable-p): Obsolete alias for custom-variable-p.
8378
8379 * apropos.el (apropos-variable):
8380 * files-x.el (read-file-local-variable):
8381 * simple.el (set-variable):
8382 * woman.el (woman-mini-help):
8383 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8384
fd06db5d
GM
83852012-04-09 Glenn Morris <rgm@gnu.org>
8386
e5fcdb5e
GM
8387 * startup.el (normal-top-level): Don't look for leim-list.el
8388 in places where it will not be found. (Bug#910)
8389
fd06db5d
GM
8390 * international/mule-cmds.el (set-default-coding-systems):
8391 * files.el (normal-mode):
8392 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8393 This function was removed with ucs-tables.el in 2008.
8394
b39bb7e1
EZ
83952012-04-08 Eli Zaretskii <eliz@gnu.org>
8396
8397 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8398 ispell-encoding8-command to "-i", without a trailing space.
8399 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8400 separate command-line arguments, to specify the encoding, since
8401 that's how hunspell expects it.
8402
5c5b8e23
GM
84032012-04-08 Glenn Morris <rgm@gnu.org>
8404
8405 * loadup.el: Load bindings before cus-start.
8406 This reduces somewhat the number of "rogue" settings in emacs -Q.
8407
a1ed8b05
GM
84082012-04-07 Glenn Morris <rgm@gnu.org>
8409
8410 * version.el (emacs-bzr-get-version): New function.
dfae128a 8411 (emacs-bzr-version): New variable.
a1ed8b05
GM
8412 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8413 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8414
b142f158
EZ
84152012-04-07 Eli Zaretskii <eliz@gnu.org>
8416
dfae128a
GM
8417 * international/uni-bidi.el, international/uni-category.el:
8418 * international/uni-combining.el, international/uni-decimal.el:
8419 * international/uni-decomposition.el, international/uni-digit.el:
8420 * international/uni-lowercase.el, international/uni-mirrored.el:
8421 * international/uni-name.el, international/uni-numeric.el:
8422 * international/uni-titlecase.el, international/uni-uppercase.el:
8423 Update for Unicode 6.1.
b142f158 8424
9078ead6
EZ
84252012-04-07 Eli Zaretskii <eliz@gnu.org>
8426
8427 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8428
f23d2c7d
LMI
84292012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8430
8431 * window.el (shrink-window): Mention the `window-min-height'
8432 variable in the doc string.
8433
0a0a3573
BG
84342012-04-05 Bastien Guerry <bzg@altern.org>
8435
8436 * color.el (color-lighten-name): Fix typo.
8437
e5248ac9
SM
84382012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * server.el (server--on-display-p): New function.
8441 (server--on-display-p): Use it.
8442
b4243e22
GV
84432012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8444
8445 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8446 (bug#11145).
8447
305d9f44
SM
84482012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * comint.el (comint--common-quoted-suffix): Check string boundary
8451 before comparing (bug#11158).
8452 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8453
3d439cd1
CY
84542012-04-04 Chong Yidong <cyd@gnu.org>
8455
321cc491
CY
8456 * minibuffer.el (completion-extra-properties): Doc fix.
8457
3d439cd1
CY
8458 * subr.el (delayed-warnings-hook): Doc fix.
8459
2d562c0f
DU
84602012-04-04 Daiki Ueno <ueno@unixuser.org>
8461
8462 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8463 selection (Bug#11159).
8464 (epa-insert-keys): Inform that the default public key will be
8465 exported if no key is selected.
8466
4443f204
RS
84672012-04-04 Richard Stallman <rms@gnu.org>
8468
8469 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8470
529c06b6
CY
84712012-04-03 Chong Yidong <cyd@gnu.org>
8472
8473 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8474 mail-insert-file, not its obsolete alias mail-attach-file.
8475
66b907dc
MA
84762012-04-03 Michael Albinus <michael.albinus@gmx.de>
8477
8478 * notifications.el (notifications-notify): Fix docstring.
8479
c0ea195d
GM
84802012-04-02 Glenn Morris <rgm@gnu.org>
8481
8482 * emacs-lisp/authors.el (authors-aliases): Another addition.
8483
5ca64e00
MA
84842012-04-02 Michael Albinus <michael.albinus@gmx.de>
8485
8486 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8487 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8488 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8489
42ee526b
CY
84902012-04-01 Chong Yidong <cyd@gnu.org>
8491
8492 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8493 Handle root directory properly.
8494 (copy-directory): Caller changed.
8495
8496 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8497 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8498
0b021094
GM
84992012-03-31 Glenn Morris <rgm@gnu.org>
8500
40f86458
GM
8501 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8502
7019c177
GM
8503 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8504
a1daddd6
GM
8505 * calendar/calendar.el (calendar-window-list)
8506 (calendar-hide-window): Restore. (Bug#11140)
8507 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8508
0b021094
GM
8509 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8510
40311efc
TV
85112012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8512
8513 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8514 Check if file is a symlink (Bug#10489).
8515
8516 * files.el (copy-directory): Likewise.
8517
5319014e
CY
85182012-03-30 Chong Yidong <cyd@gnu.org>
8519
8520 * image.el (imagemagick-types-inhibit)
8521 (imagemagick-register-types): Doc fix.
8522
935d1290
AM
85232012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8524
090bd7cb 8525 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8526 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8527 and treats ~word as ordinary words in pipe mode.
935d1290 8528
61c6e8fd
GM
85292012-03-30 Glenn Morris <rgm@gnu.org>
8530
8531 * tutorial.el (help-with-tutorial): Ensure local variables don't
8532 happen to make the buffer read-only. (Bug#11127)
8533
81fdff00
SM
85342012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8537 (perl-calculate-indent): Return `noindent' in strings.
8538
6e7a6ec0
SS
85392012-03-28 Sam Steingold <sds@gnu.org>
8540
8541 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8542 instead of the broken adhockery which does not prevent calendar
8543 buffers from being displayed at random after exit.
8544 (calendar-window-list, calendar-hide-window): Remove the broken
8545 adhockery.
8546
fee88ca0
GM
85472012-03-28 Glenn Morris <rgm@gnu.org>
8548
8549 * replace.el (query-replace-map): Doc fix.
8550
38de3354
AS
85512012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8552
8553 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8554 contents. (Bug#11109)
8555
b973155e
SM
85562012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8559 (bug#11077).
8560 (avl-tree--check, avl-tree--check-node): New funs.
8561
dcb6e7b3
MR
85622012-03-27 Martin Rudalics <rudalics@gmx.at>
8563
8564 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8565 (switch-to-prev-buffer, switch-to-next-buffer):
8566 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8567 showing a buffer already is done on the same frame.
8568
b4fa35fa
GM
85692012-03-27 Glenn Morris <rgm@gnu.org>
8570
8571 * startup.el (mail-host-address): Doc fix.
8572
f9210e18
SM
85732012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8576 than 197 variables.
8577
c0bf7753
AF
85782012-03-26 Ami Fischman <ami@fischman.org>
8579
8580 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8581
33da7b16
GM
85822012-03-26 Glenn Morris <rgm@gnu.org>
8583
02243d9d
GM
8584 * files.el (save-buffers-kill-emacs): Doc fix.
8585
33da7b16
GM
8586 * startup.el (normal-top-level, command-line, command-line-1):
8587 Give them doc strings.
8588
e5a69fd0
EZ
85892012-03-25 Eli Zaretskii <eliz@gnu.org>
8590
8591 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8592 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8593
9a69676a
CY
85942012-03-25 Chong Yidong <cyd@gnu.org>
8595
4125cb8b
CY
8596 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8597 theme if it was previously enabled before (Bug#11031).
8598
dd470960
CY
8599 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8600 spec with custom-face-get-current-spec if its :shown-value is not
8601 determined yet (Bug#9337).
4125cb8b 8602 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8603
9a69676a
CY
8604 * button.el (button-at): Minor addition to docstring.
8605
6e7e90fa
SL
86062012-03-24 Simon Leinen <simon.leinen@gmail.com>
8607
8608 * vc/vc.el (vc-merge): Fix a prompt.
8609
f06e2758
CY
86102012-03-24 Chong Yidong <cyd@gnu.org>
8611
8612 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8613 point (Bug#9623).
8614
6e7e90fa
SL
8615 * button.el (button-at): Minor addition to docstring.
8616
b9d0879b
SM
86172012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * newcomment.el (comment-choose-indent): No space after BOL.
8620
e71cebb3
SS
86212012-03-22 Sam Steingold <sds@gnu.org>
8622
8623 * window.el (switch-to-prev-buffer): Revert last patch because the
8624 bug turned out to be an advertised feature (Elisp manual 28.14).
8625
335aff35
GM
86262012-03-22 Glenn Morris <rgm@gnu.org>
8627
8628 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8629 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8630
c676576a
LMI
86312012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632
8633 * net/network-stream.el (network-stream-open-starttls): Make error
8634 message under Windows be less misleading.
8635
126f3d39
LW
86362012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8637
8638 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8639 understands (bug#9942).
8640
64fee311
CY
86412012-03-22 Chong Yidong <cyd@gnu.org>
8642
8643 * simple.el (end-of-visible-line): Handle return value of
8644 next-single-property-change properly (Bug#9371).
8645
a640d29a
KH
86462012-03-22 Kenichi Handa <handa@m17n.org>
8647
8648 * international/quail.el (quail-insert-kbd-layout): Fix previous
8649 change. To avoid unwanted bidi reordering, use
8650 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8651
39675016
DG
86522012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8653
8654 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8655 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8656 (ruby-beginning-of-indent): Be more careful with the difference
8657 between word-boundary and symbol boundary.
8658 (ruby-mode-syntax-table): Make : a symbol constituent.
8659
0a6934fc 86602012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8661
3d008e4f
SM
8662 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8663
0a6934fc
SM
86642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8665
af67c9d7
SM
8666 * progmodes/etags.el (tags-completion-at-point-function):
8667 Improve last fix.
8668
1acad97c
SM
8669 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8670
e298b5da
SS
86712012-03-21 Sam Steingold <sds@gnu.org>
8672
8673 * progmodes/etags.el (tags-completion-at-point-function):
8674 Avoid the error when point is inside the pattern.
8675
91d82a70
JY
86762012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8677
8678 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8679 line (Bug#10855).
8680
69188b79
CY
86812012-03-21 Drew Adams <drew.adams@oracle.com>
8682
8683 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8684
99fc91fe
AK
86852012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8686
8687 * ido.el (ido-set-current-directory, ido-read-internal)
8688 (ido-choose-completion-string, ido-completion-help): Handle nil
8689 value of ido-completion-buffer (Bug#11008).
8690
087bbb4c
SS
86912012-03-21 Sam Steingold <sds@gnu.org>
8692
8693 * window.el (switch-to-prev-buffer): Do not switch to a visible
8694 window previous buffer, just like with the frame previous buffers.
8695
fb5b8aca
CY
86962012-03-21 Chong Yidong <cyd@gnu.org>
8697
8698 * faces.el (make-face, make-empty-face, copy-face):
8699 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8700 Doc fixes.
8701
dc9924b8
SM
87022012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8705 (widget-complete): Remove broken use of it.
8706
f0bcceb9
CY
87072012-03-20 Chong Yidong <cyd@gnu.org>
8708
dc9924b8
SM
8709 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8710 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8711 characters.
8712
ee52ebf3
TH
87132012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8714
8715 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8716 to draw rectangles, not squares. (Regression introduced by revno
8717 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8718
4c5779ab
CY
87192012-03-18 Chong Yidong <cyd@gnu.org>
8720
8721 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8722 it is not yet defined (for temacs).
8723
15360934
LL
87242012-03-18 Leo Liu <sdl.web@gmail.com>
8725
dc9924b8 8726 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8727
d9a8eb66
EZ
87282012-03-17 Eli Zaretskii <eliz@gnu.org>
8729
8730 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8731 (ispell-choices-win-default-height, ispell-silently-savep)
8732 (ispell-dictionary-alist, ispell-encoding8-command)
8733 (ispell-check-version, ispell-aspell-find-dictionary)
8734 (ispell-valid-dictionary-list, ispell-words-keyword)
8735 (ispell-get-word, ispell-internal-change-dictionary)
8736 (ispell-region, ispell-skip-region-list)
8737 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8738 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8739 (ispell-message-text-end, ispell-message)
8740 (ispell-buffer-local-parsing): Doc fix.
8741
f02ff80d
J
87422012-03-13 Jambunathan K <kjambunathan@gmail.com>
8743
8744 * htmlfontify.el: Add support for code block fontification for ODT
8745 export (Bug #9914).
8746 (hfy-optimisations): Define new option
8747 `body-text-only'
8748 (hfy-fontify-buffer): Honor above setting.
8749 (hfy-begin-span, hfy-end-span): New routines factored out form
8750 `hfy-fontify-buffer'.
8751 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8752 that permit insertion of custom tags.
8753 (hfy-fontify-buffer): Use above handlers.
8754 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8755 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8756 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8757 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8758 bind a special variable `hfy-user-sheet-assoc'.
8759 (htmlfontify-string): New defun.
8760 (hfy-compile-face-map): Make sure that the last char in the
8761 buffer is correctly fontified.
8762 (hfy-face-resolve-face): Whitespace only change.
8763
9ac7a13f
EZ
87642012-03-17 Eli Zaretskii <eliz@gnu.org>
8765
8766 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8767 message more clear.
8768
e2b5bdd7
LL
87692012-03-16 Leo Liu <sdl.web@gmail.com>
8770
8771 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8772
2e492df3
AM
87732012-03-16 Alan Mackenzie <acm@muc.de>
8774
8775 Further optimise the handling of large macros.
8776
8777 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8778 limit to a call of `c-literal-limits'.
8779 (c-determine-+ve-limit): New function.
dc9924b8
SM
8780 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8781 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8782 In CASE 5B, restrict a search limit to 500.
8783 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8784
8785 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8786 Restrict macro bounds to +-500 from after-change's BEG END.
8787
50e94f0c
LL
87882012-03-16 Leo Liu <sdl.web@gmail.com>
8789
8790 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8791
6f09f6ed
AH
87922012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8793
8794 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8795 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8796
c7e73d51
GM
87972012-03-16 Glenn Morris <rgm@gnu.org>
8798
da986230
GM
8799 * view.el (view-buffer, view-buffer-other-window)
8800 (view-buffer-other-frame): Doc fixes re special mode-class.
8801
0835f01e
GM
8802 * subr.el (eval-after-load): If named feature is provided not from
8803 a file, run after-load forms. (Bug#10946)
8804
c7e73d51
GM
8805 * calendar/calendar.el (calendar-insert-at-column):
8806 Handle non-unit-width characters a bit better. (Bug#10978)
8807
3f2eafd1
CY
88082012-03-15 Chong Yidong <cyd@gnu.org>
8809
8810 * emacs-lisp/ring.el (ring-extend): New function.
8811 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8812
8813 * comint.el (comint-read-input-ring)
8814 (comint-add-to-input-history): Grow comint-input-ring lazily.
8815
103af3fe
SM
88162012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8817
663b1677
SM
8818 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8819 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8820
103af3fe
SM
8821 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8822 (imenu-add-to-menubar): Don't add a redundant index.
8823 (imenu-update-menubar): Handle a dynamically composed keymap.
8824
899cb7cb
KY
88252012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8826
8827 * mail/sendmail.el (mail-encode-header):
8828 Bind rfc2047-encode-encoded-words to nil.
8829
3809f91d
GM
88302012-03-13 Glenn Morris <rgm@gnu.org>
8831
8832 * calendar/calendar.el (calendar-string-spread):
8833 Handle non-unit-width characters a bit better. (Bug#10978)
8834
9e345a01
LL
88352012-03-13 Leo Liu <sdl.web@gmail.com>
8836
8837 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8838 directory and file as argument (Bug#10822).
8839
4a07df36
KS
88402012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8841
8842 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8843 For dynamically generated code, follow $PC.
8844 (gdb-disassembly-handler-custom): Handle no function name case.
8845
4aaa9356
TL
88462012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8847
8848 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8849 * emulation/ws-mode.el (ws-query-replace):
8850 * sort.el (sort-regexp-fields):
8851 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8852
225979da
SM
88532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * dabbrev.el: Fix cycle completion order (bug#10963).
8856 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8857 (dabbrev-completion): Don't use an obarray; provide
8858 a cycle-sort-function.
8859
e2f1fdab
LL
88602012-03-12 Leo Liu <sdl.web@gmail.com>
8861
dc9924b8 8862 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8863 (kill-do-not-save-duplicates): Doc fix.
8864
b19490ed
SM
88652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * dabbrev.el: Fix cycle completion (bug#10963).
8868 Use lexical binding and wrap to 80 columns.
8869 (dabbrev-completion): Delay computing the list of completions.
8870
4b05d722
KH
88712012-03-12 Kenichi Handa <handa@m17n.org>
8872
8873 * international/quail.el (quail-insert-kbd-layout): Surround each
8874 row by LRO and PDF instead of inserting many LRMs. Pad the left
8875 and right of each non-spacing marks. Insert invisible space
8876 between lower and upper characters to prevent composition.
8877
dbbc2e69
SM
88782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * minibuffer.el (minibuffer-complete): Don't get confused when the
8881 function is run twice via different commands (bug#10958).
8882 (complete-with-action): Fix docstring.
8883
292112ed
CY
88842012-03-12 Chong Yidong <cyd@gnu.org>
8885
5d1ac394
CY
8886 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8887 (nxml-completion-at-point-function): New function.
8888 (nxml-mode): Use it.
8889 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8890
292112ed
CY
8891 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8892 Load generated autoloads file before byte compiling (Bug#10970).
8893 (package--make-autoloads-and-compile): New helper fun.
8894
4098f8f7
CS
88952012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8896
8897 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8898
8f754691
MA
88992012-03-11 Michael Albinus <michael.albinus@gmx.de>
8900
8901 * autorevert.el (auto-revert-handler): Ensure, that
8902 file-readable-p is applied only for local files or in
8903 auto-revert-tail-mode.
8904
e29ab36b
AS
89052012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8906
dbbc2e69
SM
8907 * server.el (server-eval-at): Handle non-tcp connections.
8908 Decode result string.
ad0bf5b6 8909
e29ab36b
AS
8910 * server.el (server-msg-size): New constant.
8911 (server-reply-print): New function.
8912 (server-eval-and-print): Use it.
8913 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8914 Handle -print-nonl.
8915
de5939ba
CS
89162012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8917
8918 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8919 (Bug#10987).
8920
0c93eabf
CY
89212012-03-11 Chong Yidong <cyd@gnu.org>
8922
397a688f
CY
8923 * simple.el (goto-line): Doc fix (Bug#9938).
8924
2cc775f9
CY
8925 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8926
0c93eabf
CY
8927 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8928 when finished (Bug#10963).
8929
c491fa41
MR
89302012-03-11 Martin Rudalics <rudalics@gmx.at>
8931
8932 * window.el (split-window-below): Fix bug in case where
8933 split-window-keep-point is nil (Bug#10971).
8934
300e8fa5
JL
89352012-03-11 Juri Linkov <juri@jurta.org>
8936
8937 * replace.el (replace-highlight): Set isearch-word to nil
8938 unconditionally. (Bug#10887)
8939
dbf6c5a1
EZ
89402012-03-10 Eli Zaretskii <eliz@gnu.org>
8941
8942 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8943 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8944 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8945 (mairix-widget-create-query): Add usage information about mairix
8946 search forms: negating words, searching for substrings, etc.
8947
b9e501de
JP
89482012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8949
8950 * international/fontset.el (font-encoding-alist): Add an entry for
8951 ksx1001 (Bug#5667).
8952
92795c91
RS
89532012-03-10 Richard Stallman <rms@gnu.org>
8954
1694e6c1
RS
8955 * mail/sendmail.el (mail-encode-header):
8956 Set rfc2047-encode-encoded-words.
8957
607e8555
RS
8958 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8959
de3bc99a
RS
8960 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8961 view buffer means not swapped.
8962 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8963 (rmail-write-region-annotate): Error if real text has disappeared.
8964
92795c91
RS
8965 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8966
699bd04e
CY
89672012-03-10 Chong Yidong <cyd@gnu.org>
8968
8969 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8970 * emulation/cua-base.el (cua--init-keymaps):
8971 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8972
570a1714
MR
89732012-03-10 Martin Rudalics <rudalics@gmx.at>
8974
dbbc2e69
SM
8975 * speedbar.el (speedbar-unhighlight-one-tag-line):
8976 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8977
82dcf4e4
CY
89782012-03-10 Chong Yidong <cyd@gnu.org>
8979
7a2c7ca7
CY
8980 * minibuffer.el (completion-in-region, completion-help-at-point):
8981 Give the completion field overlay a high priority (Bug#6830).
8982
82dcf4e4
CY
8983 * dired.el (dired-goto-file): Recognize absolute file name
8984 listings (Bug#7126).
8985 (dired-goto-file-1): New helper function.
8986 (dired-toggle-read-only): Inhibit warnings.
8987
052e28ac
MA
89882012-03-09 Michael Albinus <michael.albinus@gmx.de>
8989
75f1671a 8990 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8991 there are no properties.
8992
95d5e396
LL
89932012-03-09 Leo Liu <sdl.web@gmail.com>
8994
8995 * savehist.el (savehist-printable): Stricter check for string
8996 value (Bug#10937).
8997
3f018d6d
EZ
89982012-03-09 Eli Zaretskii <eliz@gnu.org>
8999
dbbc2e69
SM
9000 * mail/smtpmail.el (smtpmail-send-it):
9001 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9002 valid mbox format.
9003
f7fd3d79
GM
90042012-03-09 Glenn Morris <rgm@gnu.org>
9005
9006 * files.el (dir-locals-find-file):
9007 Don't check result is regular, readable.
9008 (dir-locals-read-from-file): Demote errors.
9009
6ff6e72f
EZ
90102012-03-08 Eli Zaretskii <eliz@gnu.org>
9011
dbbc2e69
SM
9012 * international/quail.el (quail-insert-kbd-layout):
9013 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9014 layout cell, to prevent their reordering by bidi display engine.
9015 For details, see the discussion in
9016 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9017
9cec7834
AM
90182012-03-08 Alan Mackenzie <acm@muc.de>
9019
9020 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9021 the starting position; make it extend the marked region when
9022 invoked repeatedly - all under appropriate circumstances.
9023 Fixes bugs #5525, #10906.
9024
9a40b8d4
GM
90252012-03-08 Glenn Morris <rgm@gnu.org>
9026
9027 * files.el (locate-dominating-file, dir-locals-find-file):
9028 Undo 2012-03-06 change.
9029
7a08ed35
EZ
90302012-03-07 Eli Zaretskii <eliz@gnu.org>
9031
dbbc2e69
SM
9032 * international/quail.el (quail-help):
9033 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9034 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9035 for the reason.
9036
5aca4f71 90372012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9038
9039 Avoid superfluous registering of signals. (Bug#10807)
9040
9041 * notifications.el (notifications-on-action-object)
9042 (notifications-on-close-object): New defvars.
9043 (notifications-on-action-signal, notifications-on-closed-signal):
9044 Unregister the signal if not needed any longer.
9045 (notifications-notify): Register `notifications-action-signal' or
9046 `notifications-closed-signal', if :on-action or :on-close has been
9047 passed as argument.
9048
78e8b10a
CY
90492012-03-07 Chong Yidong <cyd@gnu.org>
9050
9051 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9052 non-X platforms.
9053
69481eb8
GM
90542012-03-06 Glenn Morris <rgm@gnu.org>
9055
9056 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9057 (x-disown-selection-internal, x-get-selection-internal):
9058 Doc fix (add arglist signatures). (Bug#10783)
9059
133b8e11
KS
90602012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9061
9062 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9063 Handle breakpoints with no "type".
9064
99a83064
GM
90652012-03-06 Glenn Morris <rgm@gnu.org>
9066
9067 * files.el (locate-dominating-file): Add optional predicate argument.
9068 (dir-locals-find-file): Make use of above change.
9069
17798e78
TTN
90702012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9071
9072 * info.el (Info-insert-dir): Also try "dir.gz".
9073
eb182446
GM
90742012-03-06 Glenn Morris <rgm@gnu.org>
9075
8f2114ee
GM
9076 * files.el (dir-locals-find-file):
9077 Ignore non-readable or non-regular files. (Bug#10928)
9078
eb182446
GM
9079 * files.el (locate-dominating-file): Doc fix.
9080
24679323
AS
90812012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9082
9083 * calendar/calendar.el (calendar-set-mode-line):
9084 `getenv' returns a string. (Bug#10951)
9085
01d972a9
LL
90862012-03-05 Leo Liu <sdl.web@gmail.com>
9087
109aa8a9
LL
9088 * simple.el (backward-delete-char-untabify): Constrain point to
9089 field (Bug#10939).
9090
01d972a9
LL
9091 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9092
10607bea
CY
90932012-03-05 Chong Yidong <cyd@gnu.org>
9094
9095 * simple.el (count-words): If called from Lisp, return the word
9096 count, for symmetry with `count-lines'. Arglist changed.
9097 (count-words--message): Args changed. Consolidate counting code
9098 from count-words and count-words-region.
9099 (count-words-region): Caller changed.
9100 (count-lines-region): Make it an obsolete alias.
9101
5dd11cfe
TH
91022012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9103
9104 * saveplace.el (save-place-to-alist)
9105 (save-place-ignore-files-regexp): Allow value nil to disable this
9106 feature.
9107
c349f4e6
CY
91082012-03-04 Chong Yidong <cyd@gnu.org>
9109
9110 * faces.el (face-spec-reset-face): For the default face, reset the
9111 attributes to default values (Bug#10748).
9112
e627be4c
LMI
91132012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9114
9115 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9116 previous patch: Check `message-send-mail-function', and not the
9117 default function (bug#10897).
9118
ebeabff4
MA
91192012-03-04 Michael Albinus <michael.albinus@gmx.de>
9120
a41a6cf4
MA
9121 * notifications.el (notifications-on-action-signal)
9122 (notifications-on-closed-signal): Check for unique service name of
9123 incoming event. Fix error in removing entry.
ebeabff4 9124 (top): Register for signals with wildcard service name.
a41a6cf4 9125 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9126
c1ca42b4
CY
91272012-03-04 Chong Yidong <cyd@gnu.org>
9128
dc9924b8 9129 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9130
ea16568d
GM
91312012-03-04 Glenn Morris <rgm@gnu.org>
9132
9133 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9134 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9135 (expand-abbrev, define-abbrev-table): Doc fixes.
9136
fbae4637
LMI
91372012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9138
9139 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9140 `message-default-send-mail-function' and not `send-mail-function'
9141 when doing the prompting for `sendmail-query-once' before sending
9142 in Message buffers (bug#10897).
9143
a1e7225c
LMI
9144 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9145 This is inconsistent with all the other stream functions, which leave
9146 the setting up to the higher levels (if so wanted) (bug#10931).
9147
56d093a9
AM
91482012-03-02 Alan Mackenzie <acm@muc.de>
9149
9150 Depessimize the handling of very large macros.
9151
9152 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9153 (c-macro-cache-syntactic): New variables to implement a one
9154 element macro cache.
9155 (c-invalidate-macro-cache): New function.
9156 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9157 Adapt to use the new cache.
9158 (c-state-safe-place): Use better the cache of safe positions.
9159 (c-state-semi-nonlit-pos-cache)
9160 (c-state-semi-nonlit-pos-cache-limit):
9161 New variables for...
9162 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9163 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9164 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9165 Use c-state-semi-safe-place.
56d093a9 9166
dbbc2e69
SM
9167 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9168 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9169
817e5c3d
MA
91702012-03-02 Michael Albinus <michael.albinus@gmx.de>
9171
dbbc2e69
SM
9172 * jka-compr.el (jka-compr-call-process):
9173 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9174 not remote.
9175
a032a702
MA
91762012-03-01 Michael Albinus <michael.albinus@gmx.de>
9177
9178 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9179 access of FILE2, if FILE1 does not exist.
9180
99a54f21
MA
9181 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9182 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9183
9184 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9185 Add "PAGER=" to `process-environment'.
9186
f6561e1f
MM
91872012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9188
9189 * progmodes/sql.el: Bug fix
9190 (sql-get-login-ext): Save login values in globals.
9191 (sql-get-login): Use new version of `sql-get-login-ext'.
9192 (sql-interactive-mode): Set global `sql-connection' to nil.
9193 (sql-connect): Set global values for connection.
9194 (sql-product-interactive): Save global values as buffer local.
9195
2d44d9cc
LL
91962012-02-29 Leo Liu <sdl.web@gmail.com>
9197
9198 * abbrev.el (define-abbrevs): Reset sys to nil.
9199
96b49301 92002012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9201
bf7f9bc5
JB
9202 * files.el (file-equal-p): Rename from `files-equal-p'.
9203 Return nil when one or both files don't exist.
96b49301 9204 (file-subdir-of-p): Now only top directory must exists,
9205 return nil if it doesn't.
bf7f9bc5
JB
9206 (copy-directory): No need to test with `file-subdir-of-p' after
9207 creating dir.
9208 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9209 to `file-equal-p'.
96b49301 9210
44e97401
GM
92112012-02-28 Glenn Morris <rgm@gnu.org>
9212
9213 * shell.el (shell-mode):
9214 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9215 * play/landmark.el (landmark-font-lock-face-O):
9216 * play/handwrite.el (handwrite):
9217 * play/gomoku.el (gomoku-O):
9218 * net/browse-url.el (browse-url-browser-display):
9219 * international/mule.el (define-charset):
9220 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9221 * filesets.el (filesets-find-file-delay):
9222 * eshell/em-xtra.el (eshell-xtra):
9223 * eshell/em-unix.el (eshell-grep):
9224 * emulation/viper.el (viper-mode):
9225 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9226 * emacs-lisp/easymenu.el (easy-menu-define):
9227 * calendar/timeclock.el (timeclock-use-display-time):
9228 * bs.el (bs-mode):
9229 * bookmark.el (bookmark-save-flag):
9230 Doc fix (standardize possessive apostrophe usage).
9231
c98c6276
CY
92322012-02-27 Chong Yidong <cyd@gnu.org>
9233
bf7f9bc5
JB
9234 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9235 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9236
c98c6276
CY
9237 * font-lock.el (font-lock-specified-p): Rename from
9238 font-lock-spec-present. Callers changed.
9239
9c62cd04 92402012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9241
bf7f9bc5
JB
9242 * emacs-lisp/package.el (package-compute-transaction):
9243 Handle holding a package version to t in package-load-list.
8ac9e529 9244
530739c9
MA
92452012-02-26 Michael Albinus <michael.albinus@gmx.de>
9246
9247 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9248 (tramp-get-inode, tramp-get-device): Use cached values.
9249
487915d7
AM
92502012-02-26 Alan Mackenzie <acm@muc.de>
9251
9252 Check there is a font-lock specification before doing initial
9253 fontification.
9254
9255 * font-core.el (font-lock-mode): Move the conditional from
9256 :after-hook to font-lock-initial-fontify.
9257 (font-lock-default-function): Move the check for a specification
9258 to font-lock-spec-present.
9259
dc9924b8 9260 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9261 (font-lock-spec-present): New function.
9262
4fd96557
JB
92632012-02-26 Jim Blandy <jimb@red-bean.com>
9264
9265 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9266 (gdb-send): Apply it to the operand of the '-interpreter-exec
9267 console' command, so that we can pass arguments with (say) quotes
9268 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9269
9a4888c0
CY
92702012-02-26 Chong Yidong <cyd@gnu.org>
9271
07498861
CY
9272 * help-fns.el (describe-function-1): Clarify description of
9273 remapping (Bug#10844).
9274
9a4888c0
CY
9275 * files.el (files-equal-p): Doc fix.
9276 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9277 and quit the loop once a mismatch is found.
9278
ea8fb88d
JB
92792012-02-25 Juanma Barranquero <lekktu@gmail.com>
9280
9281 * bs.el (bs--show-with-configuration): Don't throw an error
9282 if the window cannot be split; otherwise, subsequent calls to
9283 bs-show fail, restoring a stale window config. (Bug#10882)
9284
525795c1
JD
92852012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9286
9287 * term/ns-win.el (global-map): Bind ns-drag-file to
9288 ns-find-file (Bug#5855, Bug#10050).
9289
f008086f
AS
92902012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9291
9292 * calendar/parse-time.el (parse-time-string): Allow extractor to
9293 return nil.
9294
a3fcfa99
MA
92952012-02-25 Michael Albinus <michael.albinus@gmx.de>
9296
91027d08
JB
9297 * net/tramp.el (tramp-file-name-for-operation):
9298 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9299
9300 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9301 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9302 Add COPY-CONTENTS argument.
a3fcfa99 9303
67b0de11
CY
93042012-02-25 Chong Yidong <cyd@gnu.org>
9305
9306 Add custom groups for VC backends, for consistency with vc-bzr.
9307
9308 * vc/vc-arch.el (vc-arch):
9309 * vc/vc-cvs.el (vc-cvs):
9310 * vc/vc-git.el (vc-git):
9311 * vc/vc-hg.el (vc-hg):
9312 * vc/vc-mtn.el (vc-mtn):
9313 * vc/vc-rcs.el (vc-rcs):
9314 * vc/vc-sccs.el (vc-sccs):
9315 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9316 All relevant defcustoms reassigned.
9317
3c9dfce6
CY
93182012-02-25 Chong Yidong <cyd@gnu.org>
9319
1339bf43
CY
9320 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9321
3c9dfce6
CY
9322 * term/x-win.el (x-initialize-window-system): Reduce default for
9323 x-selection-timeout to 5 seconds (Bug#8869).
9324
25b2e303 93252012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9326
ec70a47d
GM
9327 * files.el (files-equal-p, file-subdir-of-p): New functions.
9328 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9329 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9330 * dired-aux.el (dired-copy-file-recursive): Same.
9331 (dired-create-files): Modify destination when source is equal to
9332 dest when copying files.
53a46cd0 9333 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9334
914260cd
MA
93352012-02-24 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9338 (Bug#10874)
9339
2cb228f7
AM
93402012-02-23 Alan Mackenzie <acm@muc.de>
9341
9342 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9343 parameter "after-hook:" to allow the expansion to run code after
9344 the execution of the mode hooks.
9345
9346 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9347 from font-lock-mode-internal.
2cb228f7 9348
91027d08 9349 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9350 :after-hook.
9351
8f0fde21
SM
93522012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9353
3e88618b
SM
9354 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9355 (completion--cache-all-sorted-completions): New function.
9356 (completion-all-sorted-completions): Use it.
9357 (completion--do-completion, minibuffer-force-complete):
9358 Use it to re-instate the flush hook.
9359
8f0fde21
SM
9360 * icomplete.el (icomplete-completions): Replace last fix with a better
9361 one (bug#10850).
9362
8e911f6f
DG
93632012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9364
9365 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9366 when it might call us back infinitely (bug#10797).
9367
49fe4321
GM
93682012-02-23 Glenn Morris <rgm@gnu.org>
9369
9370 * minibuffer.el (completion-category-overrides): Doc fix.
9371
b291b572
SM
93722012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9375 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9376
31a9ef2e
GM
93772012-02-23 Glenn Morris <rgm@gnu.org>
9378
5e6e6794 9379 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9380 (authors-obsolete-files-regexps, authors-ignored-files)
9381 (authors-ambiguous-files, authors-renamed-files-alist):
9382 Add more entries.
9383
0bd1e074
JL
93842012-02-23 Juri Linkov <juri@jurta.org>
9385
9386 * isearch.el (isearch-occur): Sync interactive spec with occur's
9387 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9388
b617673c
JL
9389 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9390
19e9789e
JL
93912012-02-22 Juri Linkov <juri@jurta.org>
9392
9393 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9394 (ucs-insert): Doc fix. Check for hex digits in the string.
9395 Don't display `nil' in the error message. (Bug#10857)
9396
f41ce09d
AM
93972012-02-22 Alan Mackenzie <acm@muc.de>
9398
7a71b18d 9399 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9400
ac2eceee
GM
94012012-02-22 Glenn Morris <rgm@gnu.org>
9402
9403 * ffap.el (ffap-c-path):
9404 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9405
abd1f678
CY
94062012-02-22 Chong Yidong <cyd@gnu.org>
9407
9408 * custom.el (load-theme): Doc fix.
9409
f25aef2e
GM
94102012-02-22 Glenn Morris <rgm@gnu.org>
9411
9412 * dired-x.el (dired-guess-shell-alist-default):
9413 Remove escape sequences from nroff output. (Bug#172)
9414
5f8dc2ca
GM
94152012-02-21 Glenn Morris <rgm@gnu.org>
9416
6ff86ec4
GM
9417 * vc/emerge.el (emerge-defvar-local):
9418 Set `permanent-local' property rather than unused `preserved'.
9419
be3223a3 9420 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9421 (picture-mode-map): Use it. (Bug#10860)
9422 (picture-mode): Doc fix.
9423
3fe58f4f
JB
94242012-02-21 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * newcomment.el (uncomment-region-default): Remove unused binding.
9427
f9a998c3
GM
94282012-02-21 Glenn Morris <rgm@gnu.org>
9429
9430 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9431 (picture-self-insert, picture-tab-chars): Doc fix.
9432 (picture-mode-map): Fix C-a, C-e.
9433
c6029348
GM
94342012-02-20 Glenn Morris <rgm@gnu.org>
9435
9436 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9437
ab1ce9d7
LL
94382012-02-20 Leo Liu <sdl.web@gmail.com>
9439
9440 * icomplete.el (icomplete-completions): Check FROM arg before
9441 passing to substring (Bug#10850).
9442
0fd40f89
CY
94432012-02-19 Chong Yidong <cyd@gnu.org>
9444
9445 * comint.el: Require ansi-color.
9446 (comint-output-filter-functions): Add ansi-color-process-output.
9447
9448 * ansi-color.el: Don't set comint-output-filter-functions; it is
9449 now in the initial value defined in comint.el.
9450 (ansi-color-apply-face-function): New variable.
9451 (ansi-color-apply-on-region): Use it.
9452 (ansi-color-apply-overlay-face): New function.
9453
9454 * shell.el (shell): No need to require ansi-color.
9455 (shell-mode): Use ansi-color-apply-face-function to highlight
9456 color escapes using font-lock-face property (Bug#10835).
9457
20af2394
CY
94582012-02-19 Chong Yidong <cyd@gnu.org>
9459
9460 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9461 mode-line formats (Bug#10839).
9462
e23a3fbe
GM
94632012-02-18 Glenn Morris <rgm@gnu.org>
9464
b474519e
GM
9465 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9466
9467 * mail/undigest.el (unforward-rmail-message): Doc fix.
9468
e23a3fbe
GM
9469 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9470
57939ff4
EZ
94712012-02-18 Eli Zaretskii <eliz@gnu.org>
9472
9473 * international/characters.el (script-list): Sync with the latest
9474 Unicode Character Database.
9475
0c23686e
AS
94762012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9477
9478 * international/titdic-cnv.el: Remove duplicate coding tag.
9479 * language/cham.el: Likewise.
9480 * language/tai-viet.el: Likewise.
9481
6818b449
GM
94822012-02-18 Glenn Morris <rgm@gnu.org>
9483
9484 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9485 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9486 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9487 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9488 * calendar/holidays.el (holiday-bahai-holidays)
9489 (calendar-holidays, list-holidays):
9490 Use utf-8 Bahá'í in doc-strings, menus, etc.
9491
0311a3fc
TH
94922012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9493
9494 * saveplace.el (save-place-ignore-files-regexp): New variable
9495 allowing for excluding files from saving their location of point.
9496 The default value matches the temporary commit message editing
9497 files from Git, SVN, Bazaar, and Mercurial.
9498 (save-place-to-alist): Use it.
9499
d209e2fb 95002012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9501 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9502
9503 * newcomment.el (uncomment-region-default): Don't leave extra space
9504 when an arg is provided (bug#8150).
9505
ee0ce425
TZ
95062012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9507
eb864a71 9508 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9509
95ddf442
GM
95102012-02-17 Glenn Morris <rgm@gnu.org>
9511
9512 * net/socks.el: Require network-stream. (Bug#10599)
9513
48dd1e39 95142012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9515
9516 * international/charprop.el:
9517 * international/uni-name.el:
9518 * international/uni-old-name.el:
9519 * international/uni-comment.el: Regenerate.
9520
d68cd087
GM
95212012-02-16 Glenn Morris <rgm@gnu.org>
9522
9523 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9524 Interactively in calendar buffer, give an error if not on a date.
9525
13932042
GM
95262012-02-15 Glenn Morris <rgm@gnu.org>
9527
9528 * shell.el (shell-delimiter-argument-list):
9529 Revert 2011-02-17 change. (Bug#8027)
9530
c3a70e2b
CY
95312012-02-15 Chong Yidong <cyd@gnu.org>
9532
60236b0d
CY
9533 * minibuffer.el (completion-at-point-functions): Doc fix.
9534
c3a70e2b
CY
9535 * custom.el (defcustom): Doc fix; note use of defvar.
9536
9f26dc24
GM
95372012-02-15 Glenn Morris <rgm@gnu.org>
9538
9539 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9540 Doc fixes.
9541
6546b134
GM
95422012-02-14 Glenn Morris <rgm@gnu.org>
9543
9544 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9545
d29b2b4c
LI
95462012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9547
9548 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9549 way the ports list is computed.
835bdcba
LI
9550 (smtpmail-query-smtp-server): Prompt the user for a port number if
9551 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9552
08dcdbc9
TZ
95532012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9554
9555 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9556
2605051a
GM
95572012-02-13 Glenn Morris <rgm@gnu.org>
9558
9559 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9560
7ee99f32
TZ
95612012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9562
9563 * net/gnutls.el (gnutls-trustfiles): New variable.
9564 (gnutls-negotiate): Use it.
9565
5f0af64f
LI
95662012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9567
9568 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9569 does its stuff if Gnus is running.
9570
c14fcc95
AM
95712012-02-13 Alan Mackenzie <acm@muc.de>
9572
9573 Fix a loop in c-set-fl-decl-start.
9574
7a71b18d 9575 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9576 c-backward-syntactic-ws actually moves backwards.
9577
142b4d90
LL
95782012-02-13 Leo Liu <sdl.web@gmail.com>
9579
9580 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9581 beginning so that all \C-o chars are removed.
9582
fa9958a6
TZ
95832012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9584
dc9924b8 9585 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9586
0bc5886a
AM
95872012-02-12 Alan Mackenzie <acm@muc.de>
9588
9589 Fix infinite loop with long macros.
4d6769e1 9590 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9591
d4bd55e7
CY
95922012-02-12 Chong Yidong <cyd@gnu.org>
9593
9594 * window.el (display-buffer): Doc fix (Bug#10785).
9595
66f3fe22
GM
95962012-02-12 Glenn Morris <rgm@gnu.org>
9597
bd7da63e
GM
9598 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9599 (x-disown-selection-internal, x-get-selection-internal):
9600 Sync docs with the xselect.c versions.
9601
66f3fe22
GM
9602 * allout-widgets.el: Add missing license notice.
9603
3e0d2fa7
GM
96042012-02-11 Glenn Morris <rgm@gnu.org>
9605
cfecdf09
GM
9606 * select.el (x-get-selection-internal, x-own-selection-internal)
9607 (x-disown-selection-internal):
9608 * x-dnd.el (x-get-selection-internal): Update declarations.
9609
6d216d7f
GM
9610 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9611
2bed3f04
GM
9612 * window.el (window-sides-slots):
9613 * tool-bar.el (tool-bar-position):
9614 * term/xterm.el (xterm-extra-capabilities):
9615 * ses.el (ses-self-reference-early-detection):
9616 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9617 (verilog-auto-wire-type)
9618 (verilog-auto-delete-trailing-whitespace)
9619 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9620 (verilog-auto-tieoff-declaration):
9621 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9622 (sql-oracle-statement-starters, sql-oracle-scan-on):
9623 * progmodes/prolog.el (prolog-align-comments-flag)
9624 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9625 (prolog-left-indent-regexp, prolog-paren-indent-p)
9626 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9627 (prolog-types, prolog-mode-specificators)
9628 (prolog-determinism-specificators, prolog-directives)
9629 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9630 (prolog-electric-dot-flag)
9631 (prolog-electric-dot-full-predicate-template)
9632 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9633 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9634 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9635 (prolog-program-switches, prolog-prompt-regexp)
9636 (prolog-debug-on-string, prolog-debug-off-string)
9637 (prolog-trace-on-string, prolog-trace-off-string)
9638 (prolog-zip-on-string, prolog-zip-off-string)
9639 (prolog-use-standard-consult-compile-method-flag)
9640 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9641 (prolog-imenu-max-lines, prolog-info-predicate-index)
9642 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9643 (prolog-char-quote-workaround):
9644 * progmodes/cc-vars.el (c-defun-tactic):
9645 * net/tramp.el (tramp-encoding-command-interactive)
9646 (tramp-local-end-of-line):
9647 * net/soap-client.el (soap-client):
9648 * net/netrc.el (netrc-file):
9649 * net/gnutls.el (gnutls):
9650 * minibuffer.el (completion-category-overrides)
9651 (completion-cycle-threshold)
9652 (completion-pcm-complete-word-inserts-delimiters):
9653 * man.el (Man-name-local-regexp):
9654 * mail/feedmail.el (feedmail-display-full-frame):
9655 * international/characters.el (glyphless-char-display-control):
9656 * eshell/em-ls.el (eshell-ls-date-format):
9657 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9658 (lisp-lambda-list-keyword-parameter-indentation)
9659 (lisp-lambda-list-keyword-parameter-alignment):
9660 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9661 * dired-x.el (dired-omit-verbose):
9662 * cus-theme.el (custom-theme-allow-multiple-selections):
9663 * calc/calc.el (calc-highlight-selections-with-faces)
9664 (calc-lu-field-reference, calc-lu-power-reference)
9665 (calc-note-threshold):
9666 * battery.el (battery-mode-line-limit):
9667 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9668 (archive-7z-update):
9669 * allout.el (allout-prefixed-keybindings)
9670 (allout-unprefixed-keybindings)
9671 (allout-inhibit-auto-fill-on-headline)
9672 (allout-flattened-numbering-abbreviation):
9673 * allout-widgets.el (allout-widgets-auto-activation)
9674 (allout-widgets-icons-dark-subdir)
9675 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9676 (allout-widgets-theme-dark-background)
9677 (allout-widgets-theme-light-background)
9678 (allout-widgets-item-image-properties-emacs)
9679 (allout-widgets-item-image-properties-xemacs)
9680 (allout-widgets-run-unit-tests-on-load)
9681 (allout-widgets-time-decoration-activity)
9682 (allout-widgets-hook-error-post-time)
9683 (allout-widgets-track-decoration):
9684 Add missing :version tags to new defcustoms and defgroups.
9685
5fec1b8e
GM
9686 * progmodes/sql.el (sql-ansi-statement-starters)
9687 (sql-oracle-statement-starters): Add custom type.
9688
3e0d2fa7
GM
9689 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9690 (prolog-system-version): Give it a type.
9691
90b671e2
EZ
96922012-02-11 Eli Zaretskii <eliz@gnu.org>
9693
9694 * term/pc-win.el (x-select-text, x-selection-owner-p)
9695 (x-own-selection-internal, x-disown-selection-internal)
9696 (x-get-selection-internal): Sync doc strings and argument lists
9697 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9698
5eac0c02
LL
96992012-02-11 Leo Liu <sdl.web@gmail.com>
9700
9701 * progmodes/python.el (python-end-of-statement): Fix infinite
9702 loop. (Bug#10788)
9703
f82cb659
GM
97042012-02-10 Glenn Morris <rgm@gnu.org>
9705
9706 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9707 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9708
cc26d239
LI
97092012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9710
9711 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9712 about SMTP before checking the From header.
9713
91027d08 9714 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9715 into own function for reuse by emacsbug.el.
9716
1be3ca5a
LL
97172012-02-10 Leo Liu <sdl.web@gmail.com>
9718
9719 * subr.el (condition-case-unless-debug): Rename from
9720 condition-case-no-debug. All callers changed.
9721 (with-demoted-errors): Fix caller.
9722
9723 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9724 * nxml/rng-valid.el (rng-do-some-validation):
9725 * emacs-lisp/package.el (package-refresh-contents)
9726 (package-menu-execute):
9727 * desktop.el (desktop-create-buffer):
91027d08 9728 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9729
b011fbfe
GM
97302012-02-10 Glenn Morris <rgm@gnu.org>
9731
b2096d72
GM
9732 * textmodes/bibtex.el:
9733 Add missing :version tags for new/changed defcustoms.
9734
b011fbfe
GM
9735 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9736
4c7e65bf
LI
97372012-02-09 Lars Ingebrigtsen <larsi@rusty>
9738
9739 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9740 (smtpmail-via-smtp): Use it, or fall back on the From address.
9741 (smtpmail-send-it): Ditto.
9742
f3934f6f
SM
97432012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9746 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9747 (byte-compile-tmp-var): New const.
9748 (byte-compile-defvar): Use it to minimize .elc size.
9749 Just use `defvar' rather than simulate it (bug#10761).
9750
a075a2c5
GM
97512012-02-09 Glenn Morris <rgm@gnu.org>
9752
cf3aa21b
GM
9753 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9754
354998cd
GM
9755 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9756 Add :version tags.
9757
dc9924b8
SM
9758 * progmodes/compile.el (compilation-error-screen-columns)
9759 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9760
dab3703d
GM
9761 * vc/log-view.el (log-view-toggle-entry-display):
9762 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9763
3f88cd72
GM
9764 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9765 (report-emacs-bug-can-use-xdg-email):
9766 (report-emacs-bug-insert-to-mailer): Doc fixes.
9767 (report-emacs-bug): Message fix.
9768
d95b247d
GM
9769 * net/browse-url.el (browse-url-can-use-xdg-open)
9770 (browse-url-xdg-open): Doc fixes.
9771
a075a2c5
GM
9772 * electric.el (electric-indent-mode, electric-pair-mode)
9773 (electric-layout-rules, electric-layout-mode): Doc fixes.
9774 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9775
ffb6157e
MR
97762012-02-08 Martin Rudalics <rudalics@gmx.at>
9777
9778 * server.el (server-unselect-display): Don't inadvertently kill
9779 the current buffer. (Bug#10729)
9780
e1ac4066
GM
97812012-02-08 Glenn Morris <rgm@gnu.org>
9782
34e8a2da
GM
9783 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9784 (sql-list-table): Doc fixes.
9785
b4ac6e8c
GM
9786 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9787 Comment out (does nothing).
9788
e1ac4066
GM
9789 * completion.el (dynamic-completion-mode):
9790 * dirtrack.el (dirtrack-debug-mode):
9791 * electric.el (electric-layout-mode):
9792 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9793 * face-remap.el (text-scale-mode, buffer-face-mode):
9794 * iimage.el (iimage-mode):
9795 * image-mode.el (image-transform-mode):
9796 * minibuffer.el (completion-in-region-mode):
9797 * scroll-lock.el (scroll-lock-mode):
9798 * simple.el (next-error-follow-minor-mode):
9799 * tar-mode.el (tar-subfile-mode):
9800 * tooltip.el (tooltip-mode):
9801 * vcursor.el (vcursor-use-vcursor-map):
9802 * wid-browse.el (widget-minor-mode):
9803 * emulation/tpu-edt.el (tpu-edt-mode):
9804 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9805 * international/iso-ascii.el (iso-ascii-mode):
9806 * language/thai-util.el (thai-word-mode):
9807 * mail/supercite.el (sc-minor-mode):
9808 * net/goto-addr.el (goto-address-mode):
9809 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9810 * progmodes/cwarn.el (cwarn-mode):
9811 * progmodes/flymake.el (flymake-mode):
9812 * progmodes/glasses.el (glasses-mode):
9813 * progmodes/hideshow.el (hs-minor-mode):
9814 * progmodes/pascal.el (pascal-outline-mode):
9815 * textmodes/enriched.el (enriched-mode):
9816 * vc/smerge-mode.el (smerge-mode):
9817 Doc fixes (minor mode argument).
9818
5e0d957f
EZ
98192012-02-07 Eli Zaretskii <eliz@gnu.org>
9820
9821 * ls-lisp.el (ls-lisp-sanitize): New function.
9822 (ls-lisp-insert-directory): Use it to fix or remove any elements
9823 in file-alist with missing attributes. (Bug#4673)
9824
98d7371e
AM
98252012-02-07 Alan Mackenzie <acm@muc.de>
9826
9827 Fix spurious recognition of c-in-knr-argdecl.
9828
9829 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9830 putative K&R region.
9831
667ced3a
AM
98322012-02-07 Alan Mackenzie <acm@muc.de>
9833
eb864a71
LM
9834 * progmodes/cc-engine.el (c-forward-objc-directive):
9835 Prevent looping in "#pragma mark @implementation".
667ced3a 9836
5b77774d
MA
98372012-02-07 Michael Albinus <michael.albinus@gmx.de>
9838
9839 * notifications.el (notifications-on-closed-signal): Make `reason'
9840 optional. (Bug#10744)
9841
af008560
GM
98422012-02-07 Glenn Morris <rgm@gnu.org>
9843
60d47423
GM
9844 * emacs-lisp/easy-mmode.el (define-minor-mode):
9845 Doc fixes for the macro and the mode it defines.
9846
dd605cc4
GM
9847 * image.el (imagemagick-types-inhibit): Doc fix.
9848
af008560
GM
9849 * cus-start.el (imagemagick-render-type): Add it.
9850
5cc59a37
LI
98512012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9852
4d6769e1
JB
9853 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9854 Set the default at load time, too, so that `font-lock-fontify-buffer'
9855 can be called without setting up the entire mode first. This fixes
9856 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9857
9a6dd747
CY
98582012-02-06 Chong Yidong <cyd@gnu.org>
9859
2d16b285
CY
9860 * simple.el (list-processes--refresh): Delete exited processes
9861 (Bug#8094).
9862
171e9b6e
CY
9863 * comint.el (comint-next-prompt): next-single-char-property-change
9864 and prev-single-char-property-change never return nil (Bug#8657).
9865
9a6dd747
CY
9866 * custom.el (defcustom): Doc fix (Bug#9711).
9867
aa4589a7
CY
98682012-02-05 Chong Yidong <cyd@gnu.org>
9869
5c2a252f
CY
9870 * cus-edit.el (custom-variable-reset-backup): Quote the value
9871 before storing it in the customized-value property (Bug#6712).
4aab9006 9872 (custom-display): Add a customization type tag.
983b9602 9873 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9874
aa4589a7
CY
9875 * wid-edit.el (widget-field-value-get): New optional arg to
9876 suppress trailing whitespace truncation.
9877 (character): Use it (Bug#2689).
9878
1ff980ae
AS
98792012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9880
9881 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9882 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9883
03988c98
CY
98842012-02-05 Chong Yidong <cyd@gnu.org>
9885
eeb6cc88
CY
9886 * cus-edit.el (custom-variable-value-create): For mismatched
9887 types, show the current value (Bug#7600).
9888
03988c98
CY
9889 * custom.el (defcustom): Doc fix.
9890
f8cdeef0
GM
98912012-02-05 Glenn Morris <rgm@gnu.org>
9892
9893 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9894
0696d255
JB
98952012-02-05 Juanma Barranquero <lekktu@gmail.com>
9896
9897 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9898 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9899 (pp-last-sexp): Use `looking-at-p'.
9900
34c99998
GM
99012012-02-04 Glenn Morris <rgm@gnu.org>
9902
8f05da42
GM
9903 * files.el (revert-buffer):
9904 Doc fix (mention revert-buffer-in-progress-p).
9905
f160676e
GM
9906 * emacs-lisp/ert-x.el (ert-simulate-command):
9907 Check deferred-action-list (which is obsolete) is bound.
9908
c7291ad9
GM
9909 * subr.el (with-wrapper-hook): Doc fixes.
9910
34c99998
GM
9911 * simple.el (filter-buffer-substring-functions)
9912 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9913
6283a7d3
LL
99142012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9915
9916 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9917 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9918
e96e3013
LL
99192012-02-04 Leo Liu <sdl.web@gmail.com>
9920
9921 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9922
8ded50f2
GM
99232012-02-04 Glenn Morris <rgm@gnu.org>
9924
82ff1d13
GM
9925 * image.el (image-extension-data): Add obsolete alias.
9926
987a0a16
GM
9927 * isearch.el (isearch-update): Doc fix.
9928
ea32ef46
GM
9929 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9930
8ded50f2
GM
9931 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9932
eea14f31
GM
99332012-02-03 Glenn Morris <rgm@gnu.org>
9934
9935 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9936 (image-animate-timeout): Doc fix.
9937
9938 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9939
12f381b7
GM
99402012-02-02 Glenn Morris <rgm@gnu.org>
9941
953cebf5
GM
9942 * server.el (server-auth-dir): Doc fix.
9943 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9944
12f381b7
GM
9945 * subr.el (run-mode-hooks): Doc fix.
9946
953a8c3b
JL
99472012-02-02 Juri Linkov <juri@jurta.org>
9948
9949 * image-mode.el (image-toggle-display-image): Remove tautological
9950 `major-mode' from the `derived-mode-p' test.
9951
c5d3843c
KH
99522012-02-02 Kenichi Handa <handa@m17n.org>
9953
9f6e692e 9954 * composite.el (compose-region): Cancel previous change.
c5d3843c 9955
159462d4 99562012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9957
9958 * composite.el (compose-region, compose-string): Signal error for
9959 a null string component (Bug#6988).
9960
9f562668
CY
99612012-02-01 Chong Yidong <cyd@gnu.org>
9962
e2cef717
CY
9963 * view.el (view-buffer-other-window, view-buffer-other-frame):
9964 Handle special modes like view-buffer (Bug#10650).
9965 (view-buffer): Simplify.
9966
9f562668
CY
9967 * frame.el (set-frame-font): Tweak meaning of third argument.
9968
9f6e692e
JB
9969 * dynamic-setting.el (font-setting-change-default-font):
9970 Use set-frame-font (Bug#9982).
9f562668 9971
781acb9f
GM
99722012-02-01 Glenn Morris <rgm@gnu.org>
9973
6035be52
GM
9974 * progmodes/compile.el (compilation-internal-error-properties):
9975 Respect compilation-first-column in the "*compilation*" buffer.
9976
781acb9f
GM
9977 * emacs-lisp/easy-mmode.el (define-minor-mode):
9978 Relax :variable's test for a named function.
9979
abbceb00
AM
99802012-01-31 Alan Mackenzie <acm@muc.de>
9981
9982 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9983 off by one error.
9984
fce3fdeb
CY
99852012-01-31 Chong Yidong <cyd@gnu.org>
9986
9987 * frame.el (set-frame-font): New arg ALL-FRAMES.
9988
9989 * menu-bar.el (menu-set-font): Use set-frame-font.
9990
9991 * faces.el (face-spec-reset-face): Don't apply unspecified
9992 attribute values to the default face.
9993
47893581
JB
99942012-01-31 Juanma Barranquero <lekktu@gmail.com>
9995
9996 * progmodes/cwarn.el (cwarn): Remove dead link.
9997 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9998 Remove * from defcustom docstrings.
9999 (turn-on-cwarn-mode): Make obsolete.
10000 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10001 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10002
e58e988a
GM
100032012-01-31 Glenn Morris <rgm@gnu.org>
10004
60dc2671 10005 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10006 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10007 Allow named functions to be used as the cdr of :variable.
e58e988a 10008
7a3f511d
GM
100092012-01-30 Glenn Morris <rgm@gnu.org>
10010
10011 * emacs-lisp/authors.el (authors-fixed-entries):
10012 Remove reference to deleted file rnewspost.el.
10013
cb882333
JB
100142012-01-29 Juanma Barranquero <lekktu@gmail.com>
10015
10016 * window.el (window-with-parameter): Remove unused variable `windows'.
10017 (window--side-check): Remove unused variable `code'.
10018 (window--resize-siblings): Remove unused variable `first'.
10019 (adjust-window-trailing-edge): Remove unused variable `failed'.
10020 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10021 Use `let', not `let*'.
10022 (balance-windows-2): Remove unused variable `found'.
10023 (window--state-put-2): Remove unused variable `splits'.
10024 (window-state-put): Remove unused variable `selected'.
10025 (same-window-p): Use `string-match-p'.
10026 (display-buffer-assq-regexp): Remove unused variable `value'.
10027 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10028 Mark argument ALIST as ignored.
10029 (pop-to-buffer): Remove unused variable `old-window'.
10030
907201af
EZ
100312012-01-29 Eli Zaretskii <eliz@gnu.org>
10032
10033 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10034 and .lzma compressed files.
10035
ea162670
CY
100362012-01-29 Chong Yidong <cyd@gnu.org>
10037
5b95ee8a
CY
10038 * frame.el (window-system-default-frame-alist): Doc fix.
10039
ea162670
CY
10040 * dynamic-setting.el (font-setting-change-default-font): Don't
10041 change the default face if SET-FONT argument is non-nil (Bug#9982).
10042
d6e6f4b1
SB
100432012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10044
10045 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10046
0f29fa41 100472012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10048
10049 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10050 breakpoints in files outside current directory (Bug#6098).
10051
db174434
CY
100522012-01-29 Chong Yidong <cyd@gnu.org>
10053
6b25e4e2
SE
10054 * progmodes/python.el: Require ansi-color at top-level.
10055
6df6ae42
JB
10056 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10057 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10058 (lisp-mode-abbrev-table): Add doc.
10059 (lisp-mode-variables): Don't set local-abbrev-table.
10060 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10061
e70ee681
RW
100622012-01-28 Roland Winkler <winkler@gnu.org>
10063
10064 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10065
ace88aa2
RW
100662012-01-28 Roland Winkler <winkler@gnu.org>
10067
10068 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10069 (bibtex-set-dialect): Use it. Either set global values of
10070 dialect-dependent variables or bind these variables buffer-locally
10071 (Bug#10254).
10072 (bibtex-mode): Call bibtex-set-dialect via
10073 hack-local-variables-hook.
eb864a71
LM
10074 (bibtex-dialect): Update docstring.
10075 Add safe-local-variable predicate.
ace88aa2
RW
10076 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10077 bibtex-set-dialect.
10078 (bibtex-mode-map): Define menu for each dialect.
10079 (bibtex-entry): Fix docstring.
10080
93376c5b
CY
100812012-01-28 Chong Yidong <cyd@gnu.org>
10082
10083 * eshell/esh-arg.el (eshell-quote-argument): New function.
10084
10085 * eshell/esh-ext.el (eshell-invoke-batch-file):
10086 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10087 first arg to eshell-parse-command (Bug#10523).
10088
4372494f
DA
100892012-01-28 Drew Adams <drew.adams@oracle.com>
10090
10091 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10092 `default-directory' is non-nil.
10093
4d4ec1f8
EZ
100942012-01-28 Eli Zaretskii <eliz@gnu.org>
10095
10096 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10097 line that displays system-configuration-options. (Bug#9924)
10098
7c188927
DA
100992012-01-28 Drew Adams <drew.adams@oracle.com>
10100
10101 * descr-text.el (describe-char): Show information about POS, in
10102 addition to information about the character at POS. Improve and
10103 update the doc string. Change "code point" to "code point in
10104 charset", to avoid confusion with the character's Unicode code
10105 point shown above that. (Bug#10129)
10106
e0da685a
EZ
101072012-01-28 Eli Zaretskii <eliz@gnu.org>
10108
10109 * descr-text.el (describe-char): Show the raw character, not only
10110 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10111 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10112 for the reasons.
10113
70550acf
PH
101142012-01-28 Phil Hagelberg <phil@hagelb.org>
10115
eb864a71
LM
10116 * emacs-lisp/package.el (package-install):
10117 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10118
0ce8e868
CY
101192012-01-28 Chong Yidong <cyd@gnu.org>
10120
cb882333
JB
10121 * emacs-lisp/package.el (package-maybe-load-descriptor):
10122 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10123 (package-maybe-load-descriptor): Use it.
10124 (package-download-transaction): Fully load required packages
10125 inside the loop, so that `require' calls work (Bug#10593).
10126 (package-install): No need to call package-initialize now.
10127
2e7f3bea
CY
101282012-01-28 Chong Yidong <cyd@gnu.org>
10129
6e9bad14
CY
10130 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10131
f823b8ca
CY
10132 * tooltip.el (tooltip-mode): Doc fix.
10133 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10134
2680c309
CY
10135 * frame.el (set-cursor-color): Doc fix (Bug#352).
10136
d7a9e63b
CY
10137 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10138 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10139
2e7f3bea
CY
10140 * cus-edit.el (custom-buffer-create-internal): Fix search button
10141 action (Bug#10542).
2ae01800 10142 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10143
fc4f7a23
EW
101442012-01-27 Eduard Wiebe <usenet@pusto.de>
10145
10146 * dired.el (dired-mark-files-regexp):
10147 Include any subdirectory components. (Bug#10445)
10148
7dd37071
ML
101492012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10150
10151 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10152 Handle [host]:port syntax. (Bug#10533)
10153
a268160b
AH
101542012-01-27 Alex Harsanyi <harsanyi@mac.com>
10155
10156 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10157
e43273ef
GM
101582012-01-26 Glenn Morris <rgm@gnu.org>
10159
10160 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10161 * term.el (term-raw-escape-map): Use Control-X-prefix.
10162 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10163
1edf595d
MR
101642012-01-25 Martin Rudalics <rudalics@gmx.at>
10165
10166 * window.el (window-state-get, window--state-get-1): Don't deal
10167 with fixed-sizeness of windows. Simplify code.
10168
fa8eafef
JC
101692012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10170
6df6ae42
JB
10171 * window.el (window--state-get-1, window--state-put-2):
10172 Don't save and restore the mark.
fa8eafef 10173
0b21c100
CY
101742012-01-25 Chong Yidong <cyd@gnu.org>
10175
10176 * custom.el (custom-variable-p): Doc fix.
10177
5ae1a6c8
GM
101782012-01-25 Glenn Morris <rgm@gnu.org>
10179
40047858
GM
10180 * dired.el (dired-goto-file): Handle some of the more common
10181 characters that `ls -b' escapes. (Bug#10596)
10182
5ddce96c
GM
10183 * progmodes/compile.el (compilation-next-error-function):
10184 Respect compilation-first-column in the "*compilation*" buffer.
10185 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10186
5ae1a6c8
GM
10187 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10188
b559f1a9
GM
101892012-01-24 Glenn Morris <rgm@gnu.org>
10190
10191 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10192
6725d21a
JD
101932012-01-24 Julien Danjou <julien@danjou.info>
10194
10195 * color.el (color-rgb-to-hsl): Fix value computing.
10196 (color-hue-to-rgb): New function.
10197 (color-hsl-to-rgb): New function.
10198 (color-clamp, color-saturate-hsl, color-saturate-name)
10199 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10200 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10201
70df4bbe
GM
102022012-01-24 Glenn Morris <rgm@gnu.org>
10203
10204 * vc/vc-rcs.el (vc-rcs-create-tag):
10205 * vc/vc-sccs.el (vc-sccs-create-tag):
10206 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10207
802a2ae2
ML
102082012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10209
10210 * eshell/esh-util.el (eshell-read-hosts-file):
10211 Skip comment lines. (Bug#10549)
10212
d7128bb1
ML
10213 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10214
d1a5c3b4
JB
102152012-01-23 Juanma Barranquero <lekktu@gmail.com>
10216
2724d9c7
JB
10217 * subr.el (display-delayed-warnings): Doc fix.
10218 (collapse-delayed-warnings): New function to collapse identical
10219 adjacent warnings.
10220 (delayed-warnings-hook): Add it.
d1a5c3b4 10221
a5509865
MA
102222012-01-22 Michael Albinus <michael.albinus@gmx.de>
10223
10224 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10225
a5509865
MA
10226 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10227 (tramp-default-user-alist): Don't add "pscp".
10228 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10229 property "login-as", if set. (Bug#10530)
10230
cc6d5805
MA
102312012-01-21 Michael Albinus <michael.albinus@gmx.de>
10232
10233 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10234 "plink1" and "psftp". (Bug#10530)
10235
102362012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10237
10238 * international/mule-cmds.el (prefer-coding-system): Show a
10239 warning message if the default value of file-name-coding-system
10240 was not changed.
10241
f0960428
JC
102422012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10243
cb882333
JB
10244 * windmove.el (windmove-reference-loc):
10245 Fix windmove-reference-loc miscalculation.
f0960428 10246
dd6f2a63
JB
102472012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10248
10249 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10250 default unit.
10251
7b447e9b
GM
102522012-01-21 Glenn Morris <rgm@gnu.org>
10253
117a9ea1
GM
10254 * international/mule.el (auto-coding-alist): Add .tbz.
10255
7b447e9b
GM
10256 * files.el (local-enable-local-variables): Doc fix.
10257 (inhibit-local-variables-regexps): Rename from
10258 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10259 Doc fix. Add some extensions from auto-coding-alist.
10260 (inhibit-local-variables-suffixes):
10261 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10262 (inhibit-local-variables-p):
10263 New function, extracted from set-auto-mode-1.
10264 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10265 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10266 (hack-local-variables): Doc fix. Make the mode-only case
10267 respect enable-local-variables and friends.
10268 Respect inhibit-local-variables-regexps for file-locals, but
10269 not for directory-locals.
10270 (set-visited-file-name):
10271 Take account of inhibit-local-variables-regexps.
10272 Whether it applies may change as the file name is changed.
10273 * jka-cmpr-hook.el (jka-compr-install):
10274 * jka-compr.el (jka-compr-uninstall):
10275 Update for inhibit-first-line-modes-suffixes name change.
10276
dd6e3cdd
MR
102772012-01-20 Martin Rudalics <rudalics@gmx.at>
10278
10279 * help-macro.el (make-help-screen): Temporarily restore original
10280 binding for minor-mode-map-alist (Bug#10454).
10281
0d0deb38
JD
102822012-01-19 Julien Danjou <julien@danjou.info>
10283
10284 * color.el (color-name-to-rgb): Use the white color to find the max
10285 color component value and return correctly computed values.
10286 (color-name-to-rgb): Add missing float conversion for max value.
10287
34a02f46
MR
102882012-01-19 Martin Rudalics <rudalics@gmx.at>
10289
10290 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10291 special state value for window-persistent-parameters.
10292 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10293 (window--state-put-2): Reset all window parameters to nil before
10294 assigning values of persistent parameters.
10295
606c44c4
AM
102962012-01-18 Alan Mackenzie <acm@muc.de>
10297
10298 Eliminate sluggishness and hangs in fontification of "semicolon
10299 deserts".
10300
cb882333
JB
10301 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10302 Change value 10000 -> 3000.
606c44c4
AM
10303 (c-state-safe-place): Reformulate so it doesn't stack up an
10304 infinite number of wrong entries in c-state-nonlit-pos-cache.
10305 (c-determine-limit-get-base, c-determine-limit): New functions to
10306 determine backward search limits disregarding literals.
10307 (c-find-decl-spots): Amend commenting.
10308 (c-cheap-inside-bracelist-p): New function which detects "={".
10309
10310 * progmodes/cc-fonts.el
10311 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10312 backward search.
10313 (c-font-lock-declarations): Fix an occurrence of point being
10314 undefined. Check additionally for point being in a bracelist or
10315 near a macro invocation without a semicolon so as to avoid a
10316 fruitless time consuming search for a declarator. Give a more
10317 precise search limit for declarators using the new
10318 c-determine-limit.
10319
f3860cea
GM
103202012-01-18 Glenn Morris <rgm@gnu.org>
10321
10322 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10323 (set-auto-mode): Doc fixes.
10324
1db03b16
GM
103252012-01-17 Glenn Morris <rgm@gnu.org>
10326
0e6038be
GM
10327 * isearch.el (search-nonincremental-instead): Fix doc typo.
10328
1db03b16
GM
10329 * dired.el (dired-insert-directory): Handle newlines in directory name.
10330 (dired-build-subdir-alist): Unescape newlines in directory name.
10331
4cb0aa75
MA
103322012-01-17 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10335 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10336 (tramp-action-terminal): Use it. (Bug#10530)
10337
1d00653d
SM
103382012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10341
6a6ee00d
MR
103422012-01-16 Martin Rudalics <rudalics@gmx.at>
10343
10344 * window.el (window-state-ignored-parameters): Remove variable.
10345 (window--state-get-1): Rename argument MARKERS to IGNORE.
10346 Handle persistent window parameters. Make copy of clone-of
10347 parameter only if requested. (Bug#10348)
10348 (window--state-put-2): Install a window parameter only if it has
10349 a non-nil value or an existing parameter shall be overwritten.
10350
97912def
MA
103512012-01-15 Michael Albinus <michael.albinus@gmx.de>
10352
10353 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10354
688070a5
EZ
103552012-01-14 Eli Zaretskii <eliz@gnu.org>
10356
10357 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10358 don't pass the (nil) value of `upnode' to string-match.
10359
301afadc
CY
103602012-01-14 Chong Yidong <cyd@gnu.org>
10361
10362 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10363 Fix values recognized by the cursorBlink resource.
301afadc 10364
9e5788aa
PE
103652012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10366
10367 * epg.el (epg--make-temp-file): Avoid permission race condition
10368 when running on old Emacs versions (bug#10403).
10369
3cdb7f5a
GM
103702012-01-14 Glenn Morris <rgm@gnu.org>
10371
10372 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10373
8c82b1b4
AM
103742012-01-13 Alan Mackenzie <acm@muc.de>
10375
10376 Fix filling for when filladapt mode is enabled.
10377
10378 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10379 c-mask-paragraph, pass in `fill-paragraph' rather than
10380 `fill-region-as-paragraph'. (This is a reversion of a previous
10381 change.)
eb864a71
LM
10382 * progmodes/cc-mode.el (c-basic-common-init):
10383 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10384
e517eda4
GM
103852012-01-13 Glenn Morris <rgm@gnu.org>
10386
1498536e
GM
10387 * dired.el (dired-switches-escape-p): New function.
10388 (dired-insert-directory): Use dired-switches-escape-p.
10389 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10390
e517eda4
GM
10391 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10392
328f984d
GM
103932012-01-12 Glenn Morris <rgm@gnu.org>
10394
10395 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10396 changes in adaptive-fill-regexp. (Bug#10276)
10397
2cc769a8
AM
103982012-01-11 Alan Mackenzie <acm@muc.de>
10399
10400 Fix Emacs bug #10463 - put `widen's around the critical spots.
10401
1d00653d 10402 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10403 widen around each invocation of c-state-pp-to-literal. Remove an
10404 unused let variable.
10405
e52c37fa
GM
104062012-01-11 Glenn Morris <rgm@gnu.org>
10407
10408 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10409 Doc fix.
e52c37fa 10410
96f8741e
CY
104112012-01-10 Chong Yidong <cyd@gnu.org>
10412
1d00653d
SM
10413 * net/network-stream.el (network-stream-open-starttls):
10414 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10415 response to the capability command.
10416
b09a806e
GM
104172012-01-10 Glenn Morris <rgm@gnu.org>
10418
10419 * mail/unrmail.el (unrmail): Tweak previous change.
10420
7655cb66
CY
104212012-01-09 Chong Yidong <cyd@gnu.org>
10422
10423 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10424
9d5a8f0b
AM
104252012-01-08 Alan Mackenzie <acm@muc.de>
10426
10427 Optimise font locking in long enum definitions.
10428
10429 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10430 arm to a cond form to handle enums.
10431 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10432 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10433
9a0115ab 104342012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10435
10436 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10437 (Bug#10401)
6bb72cbd 10438
f186bb95
LMI
104392012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10440
29232a68
LMI
10441 * faces.el (set-face-attribute): Clarify the meaning of the nil
10442 frame (bug#10294).
10443
4e5d086d
LMI
10444 * subr.el (with-selected-frame): Mention that the selected frame
10445 is restored (bug#9980).
10446
8e66aebe
LMI
10447 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10448 (bug#9759).
10449
cd394be1 10450 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10451 (password-read): Don't autoload unused function.
10452
adf4e762
JB
104532012-01-07 Juanma Barranquero <lekktu@gmail.com>
10454
10455 * progmodes/which-func.el (which-func-mode): Turn into a
10456 non-interactive function and mark as obsolete (bug#10428).
10457
89bd9ccd
CY
104582012-01-06 Chong Yidong <cyd@gnu.org>
10459
10460 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10461 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10462 functions, along with 1 and -1.
10463
4afee9d5
EZ
104642012-01-06 Eli Zaretskii <eliz@gnu.org>
10465
10466 * time.el (display-time-load-average)
10467 (display-time-default-load-average): Doc fixes. See the thread
10468 starting at
10469 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10470 for the details.
10471
536aea70
GM
104722012-01-06 Glenn Morris <rgm@gnu.org>
10473
665ae865
GM
10474 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10475 has no messages. (Bug#10377)
10476
c869783d
GM
10477 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10478 than Info-edit. (Bug#10385)
10479
2bb4227e
GM
10480 * time.el (display-time-load-average, display-time-next-load-average):
10481 Doc fixes.
10482
7d5944b9
GM
10483 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10484 local setting of buffer-read-only to the input buffer. (Bug#10419)
10485
536aea70
GM
10486 * calendar/calendar.el (calendar-mode):
10487 Locally set scroll-margin to 0. (Bug#10379)
10488
7dccca16
UM
104892012-01-06 Ulrich Mueller <ulm@gentoo.org>
10490
10491 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10492
afbb7930
GM
104932012-01-05 Glenn Morris <rgm@gnu.org>
10494
10495 * eshell/em-unix.el (diff-no-select): Autoload it.
10496 (eshell/diff): Use diff-no-select. (Bug#10420)
10497
04482335
CY
104982012-01-05 Chong Yidong <cyd@gnu.org>
10499
7baca3bc
CY
10500 * shell.el (shell-dynamic-complete-functions): Revert last change.
10501 (shell-command-completion-function): New function.
10502 (shell-completion-vars): Use it to implement
10503 shell-completion-execonly (Bug#10417).
10504
04482335
CY
10505 * custom.el (enable-theme): Don't set custom-safe-themes.
10506
1d00653d
SM
10507 * cus-theme.el (custom-theme-merge-theme):
10508 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10509
bb5aa5d6
MM
105102012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10511
10512 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10513 first prompt in `sql-interacive-mode'.
10514 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10515 keywords.
6df6ae42 10516 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10517 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10518 context of original buffer. Invoke `sql-login-hook'.
10519
a7183d7c
EZ
105202012-01-04 Eli Zaretskii <eliz@gnu.org>
10521
10522 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10523 letters in cite-prefix.
10524
a1eacd1e
LMI
105252012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10526
10527 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10528
787cdb34
CY
105292012-01-03 Chong Yidong <cyd@gnu.org>
10530
1d00653d
SM
10531 * shell.el (shell-dynamic-complete-functions):
10532 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10533 comint-filename-completion first (Bug#10417).
10534
30710442
RS
105352012-01-02 Richard Stallman <rms@gnu.org>
10536
10537 * battery.el (battery-status-function):
10538 Detect when to use battery-yeeloong-sysfs.
10539 (battery-echo-area-format): Add string for Yeeloong.
10540 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10541 (battery-yeeloong-sysfs): New function.
10542
f75bfc33
CY
105432012-01-02 Chong Yidong <cyd@gnu.org>
10544
10545 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10546 (dirtrack): Merge code for handling relative filenames in prompt
10547 from shell-dir-cookie-watcher.
10548 (dirtrack-debug-message): New arg to avoid excess format calls.
10549
10550 * shell.el (shell-dir-cookie-re): Variable deleted.
10551 (shell-dir-cookie-watcher): Function deleted.
10552 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10553 with dirtrack-mode.
10554
651e947e
EZ
105552012-01-01 Eli Zaretskii <eliz@gnu.org>
10556
1d00653d
SM
10557 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10558 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10559 libgnutls-26.dll.
10560
94d4c7dc
AS
105612011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10562
10563 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10564
8d43f3cd
EZ
105652011-12-31 Eli Zaretskii <eliz@gnu.org>
10566
10567 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10568 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10569
98c8795a
MA
105702011-12-29 Michael Albinus <michael.albinus@gmx.de>
10571
10572 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10573 also for alternative shells.
10574 (tramp-open-connection-setup-interactive-shell): Check, whether
10575 the shell is a busybox.
10576 (tramp-send-command): Don't suppress multiple prompts for
10577 busyboxes, it hurts.
10578
51281b32
CY
105792011-12-28 Chong Yidong <cyd@gnu.org>
10580
10581 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10582 (gdb-get-source-file): Move mode line update to
10583 gdb-get-source-file (Bug#10087).
10584
2170cb53
CY
105852011-12-25 Chong Yidong <cyd@gnu.org>
10586
10587 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10588 gud-gdb-marker-filter without taking it as an argument.
10589 (gud-gdb-run-command-fetch-lines): Caller changed.
10590 (gud-gdb-completion-function): New variable.
10591 (gud-gdb-completion-at-point): Use it.
10592 (gud-gdb-completions-1): Split from gud-gdb-completions.
10593
10594 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10595 function as separate arguments.
10596 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10597 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10598 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10599 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10600 (gdb-stopped, def-gdb-auto-update-trigger)
10601 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10602 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10603 Callers changed.
2170cb53
CY
10604 (gud-gdbmi-completions): New function.
10605 (gdb): Use it for generating the completion table.
10606
be8b11bb
AM
106072011-12-24 Alan Mackenzie <acm@muc.de>
10608
10609 Introduce a mechanism to widen the region used in context font
1d00653d 10610 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10611
1d00653d
SM
10612 * progmodes/cc-langs.el (c-before-font-lock-functions):
10613 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10614 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10615 functions to be run just before context (etc.) font locking.
10616
10617 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10618 New, functionality extracted from
be8b11bb 10619 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10620 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10621 (c-after-change): Set c-in-after-change-fontification.
10622 (c-set-fl-decl-start): Rejig its interface, so it can be called
10623 from both after-change and context fontifying.
b81d40f0
JB
10624 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10625 New functions.
10626 (c-standard-font-lock-fontify-region-function): New variable.
10627 (c-font-lock-fontify-region): New function.
be8b11bb 10628
341cf6ac
JL
106292011-12-24 Juri Linkov <juri@jurta.org>
10630
10631 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10632 (Bug#10348)
10633
bffcee0a
MA
106342011-12-23 Michael Albinus <michael.albinus@gmx.de>
10635
10636 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10637 existence of source file. (Bug#10325)
10638
cb5e207c
AM
106392011-12-23 Alan Mackenzie <acm@muc.de>
10640
10641 Fix unstable fontification inside templates.
10642
b81d40f0
JB
10643 * progmodes/cc-langs.el (c-before-font-lock-functions):
10644 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10645 additionally has c-set-fl-decl-start. The other languages (apart
10646 from AWK) have that as a single entry.
10647
b81d40f0
JB
10648 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10649 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10650 c-set-fl-decl-start.
10651
b81d40f0
JB
10652 * progmodes/cc-mode.el (c-common-init, c-after-change):
10653 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10654 (c-set-fl-decl-start): New function, extracted from
10655 c-font-lock-enclosing-decls and enhanced.
10656
60ff536c
JB
106572011-12-23 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10660
1c4757d6
JL
106612011-12-22 Juri Linkov <juri@jurta.org>
10662
10663 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10664
d031f2c7
CY
106652011-12-22 Chong Yidong <cyd@gnu.org>
10666
10667 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10668
bace743a
DA
106692011-12-21 Drew Adams <drew.adams@oracle.com>
10670
10671 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10672
728a1f2b
JC
106732011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10674
10675 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10676
0d373f73
TZ
106772011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10678
fec0aaa4
TZ
10679 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10680 highlighting and support. Fix up comments for capitalization.
10681 (cfengine-mode-debug): New var.
10682 (cfengine3-mode): Change the modeline indicator to "CFE3".
10683 (cfengine3-font-lock-keywords): Improve defun highlighting.
10684 (cfengine2-actions): Rename from `cfengine-actions'.
10685 (cfengine2-font-lock-keywords): Rename from
10686 `cfengine-font-lock-keywords'.
10687 (cfengine2-imenu-expression): Rename from
10688 `cfengine-imenu-expression'.
10689 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10690 (cfengine2-beginning-of-defun): Rename from
10691 `cfengine-beginning-of-defun'.
10692 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10693 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10694 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10695 modeline indicator to "CFE2".
10696 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10697 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10698
bc86f573
CY
106992011-12-21 Chong Yidong <cyd@gnu.org>
10700
10701 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10702 filename argument.
10703
d45ba96b
MR
107042011-12-20 Martin Rudalics <rudalics@gmx.at>
10705
10706 * window.el (window-normalize-buffer-to-display): Remove.
10707 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10708
a6198c90
CY
107092011-12-19 Chong Yidong <cyd@gnu.org>
10710
10711 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10712 Don't signal an error in a predicate function; return non-nil.
10713 (vc-dir-mark-file): Move the error here.
10714 (vc-dir-mark-unmark): If acting on the region, keep going if one
10715 of the entries cannot be marked/unmarked.
10716 (vc-dir-mark-all-files): If current entry is a directory, mark
10717 only child files, as documented.
10718
34c5fb55
VB
107192011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10720
10721 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10722 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10723 addition.
10724
c803b2b7
JD
107252011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10726
10727 * term/ns-win.el (ns-get-selection-internal)
10728 (ns-store-selection-internal): Declare.
1154d12e
JB
10729 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10730 Declare as obsolete.
10731 (ns-get-pasteboard, ns-paste-secondary):
10732 Use ns-get-selection-internal.
10733 (ns-set-pasteboard, ns-copy-including-secondary):
10734 Use ns-store-selection-internal.
c803b2b7 10735
9cff91f8 107362011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10737
10738 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10739 (vc-deduce-fileset): Doc fix.
99a289d9 10740
f16c898a
AS
107412011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10742
10743 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10744
763237c4
SS
107452011-12-13 Sam Steingold <sds@gnu.org>
10746
10747 * man.el (Man-getpage-in-background): When running under a
10748 window-system, ignore $MANWIDTH and $COLUMNS.
10749
5fc1c122
KH
107502011-12-15 Kenichi Handa <handa@m17n.org>
10751
10752 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10753 (setup-ethiopic-environment-internal): Comment out key-binding for
10754 ethio-toggle-punctuation.
10755
13d49cbb
AM
107562011-12-13 Alan Mackenzie <acm@muc.de>
10757
898169a2
AM
10758 Add the switch statement to AWK Mode.
10759
7a71b18d 10760 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10761 "default" to the keywords regexp.
10762
7a71b18d 10763 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10764 expression as the rest.
1d00653d
SM
10765 (c-nonlabel-token-key): Allow string literals for AWK.
10766 Refactor for the other modes.
898169a2 10767
13d49cbb 10768 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10769 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10770 routines. Limit backward searching in c-font-lock-enclosing.decl.
10771
10772 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10773 pp-state and literal type in addition to the limits.
1d00653d 10774 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10775 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10776 (c-slow-in-literal, c-fast-in-literal): Remove.
10777 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10778
10779 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10780 being in a literal. Add a limit for backward searching.
10781
10782 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10783 c-slow-in-literal.
10784
15e0efc7
SM
107852011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10788
454592a6
MR
107892011-12-13 Martin Rudalics <rudalics@gmx.at>
10790
10791 * window.el (delete-other-windows): Use correct frame in call to
10792 window-with-parameter.
10793
87393f26
DP
107942011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10795
10796 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10797 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10798 (makefile-gmake-statements, makefile-makepp-statements):
10799 Use it and add new makepp keywords.
10800 (makefile-makepp-font-lock-keywords): Add new patterns.
10801 (makefile-match-function-end): Match new [...] and [[...]].
10802
11636b22
JB
108032011-12-11 Juanma Barranquero <lekktu@gmail.com>
10804
10805 * ses.el (ses-call-printer-return, ses-cell-property-get)
10806 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10807 (ses-create-cell-variable, ses-reset-header-string)
10808 (ses-cell-set-formula, ses-repair-cell-reference-all)
10809 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10810 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10811 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10812 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10813 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10814 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10815 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10816 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10817 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10818 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10819 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10820 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10821
cf018193
VB
108222011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10823
10824 * ses.el: The overall change is to add cell renaming, that is
10825 setting fancy names for cell symbols other than name matching
10826 "\\`[A-Z]+[0-9]+\\'" regexp .
10827 (ses-create-cell-variable): New defun.
10828 (ses-relocate-formula): Relocate formulas only for cells the
10829 symbols of which are not renamed, i.e. symbols whose names do not
10830 match regexp "\\`[A-Z]+[0-9]+\\'".
10831 (ses-relocate-all): Relocate values only for cells the symbols of
10832 which are not renamed.
10833 (ses-load): Create cells variables as the (ses-cell ...) are read,
10834 in order to check row col consistency with cell symbol name only
10835 for cells that are not renamed.
10836 (ses-replace-name-in-formula): New defun.
10837 (ses-rename-cell): New defun.
10838
ee957461
CY
108392011-12-11 Chong Yidong <cyd@gnu.org>
10840
10841 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10842 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10843
9a9e9ef0
MR
108442011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10845
10846 * window.el (other-window): Fix docstring.
10847
92a8eba5
EZ
108482011-12-10 Eli Zaretskii <eliz@gnu.org>
10849
10850 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10851 `from' or `to' address before taking its substring.
10852 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10853 encoded name is chopped in the middle of the encoded string, and
10854 thus displayed encoded.
10855
e152e577
JB
108562011-12-10 Juanma Barranquero <lekktu@gmail.com>
10857
10858 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10859
e5d84bfe
EZ
108602011-12-10 Eli Zaretskii <eliz@gnu.org>
10861
10862 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10863 to use texinfo-update-node and commands that call it if the
10864 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10865 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10866 (texinfo-all-menus-update, texinfo-master-menu)
10867 (texinfo-update-node, texinfo-every-node-update)
10868 (texinfo-multiple-files-update): Doc fix. Warn against updating
10869 all the @node lines.
10870 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10871 argument is numeric. Explain better in the doc string what the
10872 function really does.
10873 (texinfo-insert-master-menu-list): Improve the error message
10874 displayed if there's no menu in the Top node.
10875 (Bug#2975) See also this thread:
e5d84bfe
EZ
10876 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10877
1d84e9bb
MG
108782011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10879
10880 * speedbar.el (speedbar-supported-extension-expressions):
10881 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10882
382c953b
JB
108832011-12-09 Juanma Barranquero <lekktu@gmail.com>
10884
10885 * printing.el (pr-mode-alist):
10886 * simple.el (filter-buffer-substring-functions)
10887 (completion-list-insert-choice-function):
10888 * window.el (window-with-parameter, window-atom-root)
10889 (window-sides-slots, window-size-fixed, window-min-delta)
10890 (window-max-delta, window--resize-mini-window)
10891 (window--resize-child-windows-normal, window-tree)
10892 (delete-other-windows, quit-window, split-window)
10893 (display-buffer-record-window, special-display-buffer-names)
10894 (special-display-regexps, special-display-popup-frame)
10895 (same-window-p, split-window-sensibly)
10896 (display-buffer-overriding-action, display-buffer-alist)
10897 (display-buffer-base-action, display-buffer, switch-to-buffer)
10898 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10899 (fit-window-to-buffer, recenter-positions)
10900 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10901 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10902 and remove unneeded backslashes in docstrings.
10903
39c9faef
SM
109042011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10905
98449af8
SM
10906 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10907
39c9faef
SM
10908 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10909 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10910 end in ".mk".
10911 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10912 when reading the makefile (bug#10116).
10913
86ed9fdc
SM
109142011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10917 (bug#10116).
10918
5580f89d
GM
109192011-12-06 Glenn Morris <rgm@gnu.org>
10920
10921 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10922
28d3917c
CY
109232011-12-06 Chong Yidong <cyd@gnu.org>
10924
10925 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10926
a98edce9
JB
109272011-12-06 Juanma Barranquero <lekktu@gmail.com>
10928
10929 * textmodes/table.el (table-shorten-cell): Fix typo.
10930
e65adfac
CG
109312011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10932
10933 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10934
71cc0b74
EZ
109352011-12-05 Eli Zaretskii <eliz@gnu.org>
10936
10937 * descr-text.el (describe-char): Fix display of strong
10938 right-to-left characters and directional embeddings and overrides.
10939
10940 * simple.el (what-cursor-position): Fix display of codepoints of
10941 strong right-to-left characters.
10942
315bc30d
CY
109432011-12-05 Chong Yidong <cyd@gnu.org>
10944
10945 * faces.el (read-color): Doc fix.
10946
58a70b94
GM
109472011-12-05 Glenn Morris <rgm@gnu.org>
10948
10949 * align.el (align--set-marker): Add doc-string.
10950 Don't try to move something that is not a marker. (Bug#10216)
10951
5158face
GM
109522011-12-04 Glenn Morris <rgm@gnu.org>
10953
10954 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10955 overly zealous deletion of trailing whitespace.
10956
520fca41
JB
109572011-12-04 Juanma Barranquero <lekktu@gmail.com>
10958
10959 * server.el (server-delete-client): On Windows, do not try to delete
10960 the only terminal.
10961 (server-process-filter): On Windows, treat requests for a tty frame as
10962 if they were for a GUI frame if the running server is in GUI mode.
10963
5e605a2e
GM
109642011-12-03 Glenn Morris <rgm@gnu.org>
10965
10966 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10967
5c3fe83f
SM
109682011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10969
6f5e57e7
SM
10970 * electric.el: Streamline electric-indent's hook.
10971 (electric-indent-chars): Revert to simple list.
10972 (electric-indent-functions): New var.
10973 (electric-indent-post-self-insert-function): Use it.
10974
5c3fe83f
SM
10975 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10976 there's no inferior buffer (bug#10196).
10977 (prolog-consult-compile): Don't use toggle-read-only.
10978
6bdac736
MA
109792011-12-02 Michael Albinus <michael.albinus@gmx.de>
10980
10981 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10982 interrupt. (Bug#10187)
10983
6131ba7f
SM
109842011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10985
99c79fee
SM
10986 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10987 (bug#9160).
10988
6131ba7f
SM
10989 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10990 (bug#10191).
10991
cb0a02ea
JL
109922011-12-02 Juri Linkov <juri@jurta.org>
10993
10994 * info.el (Info-search): Display "end of manual" when Isearch
10995 reaches the end of single-file Info manual. (Bug#9918)
10996
66e0570c
EZ
109972011-12-02 Eli Zaretskii <eliz@gnu.org>
10998
10999 * isearch.el (isearch-message-prefix): Run the input method part
11000 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11001
02b16839
JL
110022011-12-02 Juri Linkov <juri@jurta.org>
11003
11004 * isearch.el (isearch-occur): Use `word-search-regexp' for
11005 `isearch-word'.
11006 (isearch-search-and-update): Add condition for `isearch-word' and
11007 call `word-search-regexp'. (Bug#10145)
11008
0b950688
GM
110092011-12-01 Glenn Morris <rgm@gnu.org>
11010
11011 * eshell/em-hist.el (eshell-hist-initialize):
11012 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11013 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11014
9505c3c7
SM
110152011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11018
1bbe96b2 110192011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11020
a1beca85
SM
11021 * progmodes/verilog-mode.el (verilog-pretty-expr):
11022 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11023 verilog, such as += *= and the like.
11024 (verilog-assignment-operator-re): Regular expression to find the
11025 assigment operator in a verilog assignment.
11026 (verilog-assignment-operation-re): Regular expression to find an
11027 assignment statement for pretty-expr.
11028 (verilog-in-attribute-p): Query returns true if point is in an
11029 attribute context; used to skip these for expression line up from
11030 pretty-expr.
11031 (verilog-in-parameter-p): Query returns true if point is in an
11032 parameter definition context; used to skip these for expression
11033 line up from pretty-expr.
11034 (verilog-in-parenthesis-p): Query returns true if point is in a
11035 parenthetical expression, specifically ( ) but not [ ] or { };
11036 used by pretty-expr.
11037 (verilog-just-one-space): If there is no space, don't add one.
11038 (verilog-get-lineup-indent-2): Specifically skip just attribute
11039 contexts for expression lineup, rather than skipping all
11040 parenthetical expressions.
11041 (verilog-calculate-indent): Fix comment, and fix indent.
11042 (verilog-do-indent): Indent declarations in lists (suggested by
11043 Joachim Lechner).
11044 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11045 skeleton items.
11046 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11047 by Alain Mellan).
11048
1bbe96b2 110492011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11050
11051 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11052 parameters with embedded comments. Reported by Ray Stevens.
11053 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11054 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11055 Reported by Tim Holt.
11056 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11057 instantiated by upper module causing wrong expansion until AUTOed a
11058 second time. Reported by K C Buckenmaier.
11059 (verilog-diff-auto): Fix showing .* as a difference when
11060 `verilog-auto-star-save' off. Reported by Dan Dever.
11061 (verilog-auto-reset, verilog-read-always-signals)
11062 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11063 temporary signals in reset list if
11064 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11065 style to each signal's assignment type, bug381.
11066 Reported by Thomas Esposito.
6288f0ca
WS
11067 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11068 (verilog-uvm-statement-re): Support UVM indentation and
11069 highlighting, with old OVM keywords only.
a1beca85 11070 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11071 Support AUTOTIEOFF creating non-wire data types.
11072 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11073 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11074 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11075 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11076 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11077 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11078 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11079 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11080 non-numeric vector width. Reported by Alex Reed.
11081 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11082 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11083 (verilog-auto-delete-trailing-whitespace):
11084 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11085 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11086 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11087 Fix verilog-scan-cache corruption when running user AUTO expansion
11088 hooks that call indentation routines.
11089 (verilog-simplify-range-expression): Fix typo ignoring lower case
11090 identifiers.
11091 (verilog-delete-auto): Fix delete-autos to also remove user created
11092 automatics, as long as they start with AUTO.
11093 (verilog-batch-diff-auto, verilog-diff-auto)
11094 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11095 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11096 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11097 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11098 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11099 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11100 is disabled and its cache will get corrupt, causing AUTOS not to
11101 expand. Instead use only -quick functions.
11102 (verilog-scan-region): Fix scanning over escaped quotes.
11103 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11104 (verilog-re-search-backward-quick)
11105 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11106 related functions now ignore strings, to fix misparsing of strings
11107 with magic comments embedded in them.
a1beca85
SM
11108 (verilog-read-auto-template):
11109 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11110 Reported by Brad Dobbie.
11111 (verilog-read-auto-template):
11112 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11113 Reported by Brad Dobbie.
6288f0ca
WS
11114 (verilog-auto-inst, verilog-auto-inst-param)
11115 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11116 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11117 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11118 debugging templates without merge conflicts, bug357.
11119 Reported by Brad Dobbie.
11120 (verilog-read-auto-template):
11121 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11122 Reported by Brad Dobbie.
11123 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11124 abbrevs so user won't be asked to save.
11125 (verilog-read-auto-lisp-present): Fix to start at beginning of
11126 buffer in case called outside of verilog-auto.
11127 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11128 to "X-2". Reported by Matthew Myers.
11129 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11130 all inputs from module templates. Reported by Leith Johnson.
11131 (verilog-module-inside-filename-p): Fix locating programs as with
11132 modules.
11133 (verilog-auto-inst-port): Fix vl-width expressions when using
11134 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11135 (verilog-decls-get-regs, verilog-decls-get-signals,
11136 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11137 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11138 verilog-read-decls): Combine reg and wire structures into one var
11139 structure to represent SystemVerilog concepts.
11140 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11141 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11142 (verilog-auto-wire-type, verilog-insert-definition):
11143 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11144 SystemVerilog "logic" keyword instead of "wire"/"reg".
11145 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11146 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11147 ifdef or generate if so there's not a driver conflict).
11148 Reported by Matthew Myers.
11149 (verilog-auto-declare-nettype, verilog-insert-definition):
11150 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11151 `default_nettype none. Reported by Julian Gorfajn.
11152 (verilog-read-always-signals-recurse, verilog-read-decls)
11153 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11154 malformed end statement, bug325. Reported by Joshua Wise and
11155 Andrew Drake.
11156 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11157 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11158 when expanding .* in interfaces, bug320.
11159 Reported by Pierre-David Pfister.
6288f0ca 11160 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11161 name and open parenthesis, bug317.
11162 Reported by Pierre-David Pfister.
6288f0ca
WS
11163 (verilog-simplify-range-expression): Fix simplification of
11164 multiplications inside AUTOWIRE connections, bug303.
11165 (verilog-auto-inst-port): Support parameter expansion in
11166 multidimensional arrays.
11167 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11168 after "assert property". Reported by Julian Gorfajn.
11169 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11170 with multiplication, bug303.
11171 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11172 Reported by Jan Frode Lonnum.
11173
1bbe96b2
GM
111742011-11-30 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11177 (hfy-shell-file-name, hfy-shell):
11178 * international/fontset.el (x-decompose-font-name): Fix typos.
11179
111802011-11-29 Ken Brown <kbrown@cornell.edu>
11181
11182 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11183 (gdb-version): Remove defvar.
11184 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11185 (gdb-gud-context-command, gdb-non-stop-handler)
11186 (gdb-current-context-command, gdb-stopped): Use it.
11187 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11188 (gdb-non-stop-handler): Don't enable pretty-printing here.
11189 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11190 non-stop mode. Use the following.
11191 (gdb-check-target-async): New defun.
11192 (gud-watch, gdb-stopped): Fix whitespace.
11193 (gdb-get-source-file): Don't try to display the source file if
11194 `gdb-main-file' is nil.
11195
111962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11197
11198 * align.el: Try to generate fewer markers (bug#10047).
11199 (align--set-marker): New macro.
11200 (align-region): Use it.
11201
c935221f
SM
112022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11205
e70b5064
CY
112062011-11-29 Chong Yidong <cyd@gnu.org>
11207
11208 * indent.el (indent-for-tab-command, indent-according-to-mode):
11209 Doc fix.
11210 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11211
f3af92b7
MA
112122011-11-29 Michael Albinus <michael.albinus@gmx.de>
11213
11214 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11215 aware of remote file names. (Bug#10124)
11216
ed472be9
CY
112172011-11-29 Chong Yidong <cyd@gnu.org>
11218
11219 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11220
24510c22
SM
112212011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * files.el (find-file): Don't use force-same-window (bug#10144).
11224 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11225 use pop-to-buffer if the selected window can't be used.
11226 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11227
c60c3703
EZ
112282011-11-28 Eli Zaretskii <eliz@gnu.org>
11229
11230 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11231 special-mode-map.
11232
e95def75
CY
112332011-11-28 Chong Yidong <cyd@gnu.org>
11234
11235 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11236
c3f1c606
NR
112372011-11-27 Nick Roberts <nickrob@snap.net.nz>
11238
11239 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11240 gdb-get-source-file-list on gdb-create-source-file-list.
11241
00db469c
EZ
112422011-11-26 Eli Zaretskii <eliz@gnu.org>
11243
11244 * whitespace.el (whitespace-newline): Use a different foreground
11245 color for 16-color light-background displays.
11246
4ad3bc2a
CY
112472011-11-24 Chong Yidong <cyd@gnu.org>
11248
11249 * window.el (display-buffer--special-action): Doc fix.
11250
e9fce1ac
JB
112512011-11-25 Juanma Barranquero <lekktu@gmail.com>
11252
11253 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11254 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11255 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11256 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11257 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11258 (avl-tree-stack-first):
11259 * emacs-lisp/cconv.el (cconv--analyse-use):
11260 * net/gnutls.el (gnutls-negotiate): Fix typos.
11261
cb825e5d
GM
112622011-11-24 Glenn Morris <rgm@gnu.org>
11263
3adbe224
GM
11264 * lpr.el (lpr-windows-system, lpr-lp-system):
11265 * mail/binhex.el (binhex-begin-line):
11266 * progmodes/grep.el (grep-history, grep-find-history):
11267 * textmodes/flyspell.el:
11268 * vc/pcvs-defs.el (cvs-global-menu):
11269 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11270 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11271 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11272
321decc8
GM
11273 * net/tls.el: Fix case of "GnuTLS".
11274
420b63ad
GM
11275 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11276
cb825e5d
GM
11277 * version.el (emacs-build-system): Give it a doc-string.
11278
a0649f08
JL
112792011-11-24 Juri Linkov <juri@jurta.org>
11280
11281 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11282
c0bc0fd4
GM
112832011-11-24 Glenn Morris <rgm@gnu.org>
11284
11285 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11286 if called on a non-mime message just toggle the headers. (Bug#8006)
11287
20db1522
JB
112882011-11-24 Juanma Barranquero <lekktu@gmail.com>
11289
11290 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11291 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11292 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11293 (allout-rebullet-heading, allout-open-sibtopic)
11294 (allout-toggle-current-subtree-encryption)
11295 (allout-toggle-subtree-encryption, allout-encrypt-string)
11296 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11297 (allout-distinctive-bullets-string, allout-auto-activation):
11298 * window.el (window-normalize-buffer-to-display):
11299 * progmodes/verilog-mode.el (verilog-batch-indent):
11300 * textmodes/bibtex.el (bibtex-field-braces-opt)
11301 (bibtex-field-strings-opt):
11302 * vc/cvs-status.el (cvs-tree-merge):
11303 Fix typos.
11304
7262a87c
MA
113052011-11-23 Michael Albinus <michael.albinus@gmx.de>
11306
11307 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11308 `non-essential' to t, in order to avoid remote connections.
11309
283430a1
EZ
113102011-11-23 Eli Zaretskii <eliz@gnu.org>
11311
a1beca85
SM
11312 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11313 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11314 case-insensitively.
11315
d2992a38
ML
113162011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11317
11318 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11319
50419064
GM
113202011-11-23 Glenn Morris <rgm@gnu.org>
11321
da94eca1
GM
11322 * paths.el (rmail-file-name): Reformat the doc-string so that it
11323 is picked up.
11324
9aac4de2
GM
11325 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11326 (rmail-auto-file): Ignore case in the "special" field names,
11327 as mail-fetch-field does for all others.
11328
8038d2d2
GM
11329 * mail/rmail.el (rmail-forward):
11330 * mail/rmailkwd.el (rmail-set-label):
11331 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11332 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11333
f3fe222a
GM
11334 * mail/rmail.el (rmail-current-message): Doc fix.
11335
50419064
GM
11336 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11337
28109f49
SM
113382011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11339
11340 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11341
394c65f1
GM
113422011-11-22 Glenn Morris <rgm@gnu.org>
11343
11344 * mail/rmailmm.el (test-rmail-mime-handler)
11345 (test-rmail-mime-bulk-handler)
11346 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11347
f2a0aa3a
JL
113482011-11-21 Juri Linkov <juri@jurta.org>
11349
1154d12e
JB
11350 * calc/calc.el (calc-read-key-sequence):
11351 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11352
9c34a344
LMI
113532011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11354
11355 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11356 Tell the caller that the next line needs recomputation, even
11357 though it doesn't start a sexp (bug#10094).
11358
f04a3be9
SM
113592011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11362
7978747f
SM
113632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11364
f04a3be9
SM
11365 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11366 Use force-same-window.
7978747f 11367
fe7a3057
JB
113682011-11-20 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * descr-text.el (describe-char-unicode-data):
11371 * json.el (json-string-escape):
11372 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11373 (Footnote-unicode, Footnote-style-p):
11374 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11375
24901d61
CY
113762011-11-20 Chong Yidong <cyd@gnu.org>
11377
11378 * window.el (replace-buffer-in-windows): Restore interactive spec.
11379
bac7ff22
SM
113802011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11381
24f3d7b9
SM
11382 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11383
bac7ff22
SM
11384 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11385 (byte-compile-global-not-obsolete-vars): New var.
11386 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11387 Use it.
11388 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11389
cd1181db
JB
113902011-11-20 Juanma Barranquero <lekktu@gmail.com>
11391
11392 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11393 * progmodes/pascal.el (electric-pascal-equal):
11394 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11395 * xml.el (xml-substitute-special): Fix typos.
11396
7fb18e9e
GM
113972011-11-20 Glenn Morris <rgm@gnu.org>
11398
11399 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11400 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11401 Doc fixes.
11402 (rmail-decode-mime-charset): Mark as obsolete.
11403
11404 * mail/rmailsum.el (rmail-message-regexp-p-1):
11405 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11406 Before using mime functions, check they are set. (Bug#10077)
11407
d5a6b3ba
JL
114082011-11-19 Juri Linkov <juri@jurta.org>
11409
11410 * info.el (Info-finder-find-node): Use `package--builtins' instead
11411 of `package-alist'. Use node names formed by the pattern "Keyword "
11412 and the keyword name.
11413
e981b61f
AS
114142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11415
1d00653d 11416 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11417
3ffbc301
JL
114182011-11-19 Juri Linkov <juri@jurta.org>
11419
11420 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11421 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11422 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11423 `old-history', `old-history-forward'. Add let-binding
11424 `window-selected'. Remove calls to `kill-buffer',
11425 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11426 before calling `Info-find-node', so `Info-find-node-2' will reread
11427 the Info file. Restore window positions only when `window-selected'
11428 is non-nil.
11429
30c62133
JL
114302011-11-19 Juri Linkov <juri@jurta.org>
11431
11432 * isearch.el (isearch-lazy-highlight-new-loop):
11433 Remove condition `(not isearch-error)'. (Bug#9918)
11434
11435 * misearch.el (multi-isearch-search-fun): Add condition
11436 `(not bound)' to ignore lazy-highlighting search.
11437 Add the search-failed message "end of multi" when the end of
11438 multi-sequence is reached. Uncapitalize the search-failed
11439 message "Repeat for next buffer".
11440
11441 * info.el (Info-search): Add the search-failed message
11442 "end of the manual" when the end of the manual is reached
11443 in Isearch mode.
11444
645ca9cf
JL
114452011-11-19 Juri Linkov <juri@jurta.org>
11446
11447 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11448 Use non-destructive `remove' instead of `delete' because
11449 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11450 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11451
df754f66
JL
114522011-11-19 Juri Linkov <juri@jurta.org>
11453
11454 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11455 to nil instead of binding `search-ring' and `regexp-search-ring'.
11456 (Bug#9185)
11457
0e23d96a
EZ
114582011-11-19 Eli Zaretskii <eliz@gnu.org>
11459
11460 * simple.el (line-move): Force movement by logical lines for any
11461 hscrolled window, not only when auto-hscroll-mode is on.
11462 (line-move-visual): Update doc string to that effect. (Bug#10076)
11463
8a6ccb66
AS
114642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11465
11466 * language/european.el (macintosh): Define as alias for mac-roman.
11467
49ae5b39
EZ
114682011-11-19 Eli Zaretskii <eliz@gnu.org>
11469
11470 * mail/rmailmm.el (rmail-mime-display-header)
11471 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11472 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11473 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11474 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11475 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11476 of a raw aref.
11477 (rmail-mime-entity-segment): To get past the tagline, move forward
11478 2 more lines, to account for the 2 empty lines that precede and
11479 follow the line with the buttons.
11480 (rmail-mime-update-tagline): Move one more line, to get past the
11481 empty line that follows the buttons in the tagline. (Bug#9520)
11482
c56cad4a
MR
114832011-11-19 Martin Rudalics <rudalics@gmx.at>
11484
11485 * window.el (window-max-delta-1, window-min-delta-1)
11486 (window-min-size-1, window-state-get-1, window-state-put-1)
11487 (window-state-put-2): Use "window--" prefix.
11488
cbe71af3
SM
114892011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11490
2ad52c60
SM
11491 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11492 (smie-warning-count): New var.
11493 (smie-set-prec2tab): Use it.
11494 (smie-bnf->prec2): Improve warnings. Add docstring.
11495 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11496 (smie-bnf--set-class): New function.
11497 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11498 corner case.
11499
6944dbc1
SM
11500 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11501 (compilation-error-properties, compilation-move-to-column):
11502 Handle compilation-first-column while in the target buffer.
11503
c400c4d7
SM
11504 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11505 Don't hardcode point-min==1.
11506
6dbe3e96
SM
11507 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11508 (eshell-rewrite-for-command): Remove workaround.
11509 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11510 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11511 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11512
cbe71af3
SM
11513 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11514
a8e1496d
GM
115152011-11-17 Glenn Morris <rgm@gnu.org>
11516
11517 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11518 Ignore buffer-local generated-autoload-file if it is the same
11519 as the global value. (Bug#10049)
11520
df85d315
JB
115212011-11-17 Juanma Barranquero <lekktu@gmail.com>
11522
11523 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11524 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11525 (reftex-toc-previous-heading, reftex-toc-max-level)
11526 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11527 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11528 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11529 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11530 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11531 (reftex-toc-rename-label, reftex-toc-visit-location)
11532 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11533 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11534 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11535 leaving "*toc*" only for references to the buffer.
11536
a0c2d0ae
MR
115372011-11-17 Martin Rudalics <rudalics@gmx.at>
11538
11539 * window.el (window-resize, delete-window, split-window):
11540 Replace window-splits by window-combination-resize.
1d00653d 11541 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11542
35c0bac8
GM
115432011-11-17 Glenn Morris <rgm@gnu.org>
11544
11545 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11546 Make bash entry derive from sh entry, not shell entry.
11547
d0c8fc8a
MA
115482011-11-16 Michael Albinus <michael.albinus@gmx.de>
11549
7262a87c
MA
11550 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11551 local file name.
11552
7877f373
JB
115532011-11-16 Juanma Barranquero <lekktu@gmail.com>
11554
11555 * menu-bar.el (menu-bar-file-menu):
11556 * printing.el (pr-ps-utility):
11557 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11558 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11559 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11560 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11561 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11562 (icalendar--convert-cyclic-to-ical)
11563 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11564 (icalendar--convert-ical-to-diary)
11565 (icalendar--convert-recurring-to-diary)
11566 (icalendar--convert-non-recurring-all-day-to-diary)
11567 (icalendar-import-format-sample):
11568 * progmodes/idlw-shell.el (idlwave-shell-mode):
11569 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11570 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11571 (vhdl-ps-print-init): Fix typos.
11572
10649b82
KM
115732011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11574
9d0cfcd6
GM
11575 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11576 FSF and collapse date sequence, obscure author/maintainer email address
11577 better, remove extra version line, track relocation of author's webpage.
10649b82 11578
9d0cfcd6
GM
11579 * progmodes/python.el (python-pdbtrack-input-prompt)
11580 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11581 regular python pdb prompts. Adjustments shamelessly taken exactly as
11582 suggested in EmacsWiki page (tiny change):
11583 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11584
58179cce
JB
115852011-11-16 Juanma Barranquero <lekktu@gmail.com>
11586
11587 * expand.el (expand-pos, expand-index, expand-point):
11588 Remove redundant info from docstring.
11589 (expand-add-abbrevs): Doc fix.
11590 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11591 (expand-sample-perl-mode-expand-list): Fix typos.
11592
11593 * net/dbus.el (dbus-event-member-name):
11594 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11595 * term/pc-win.el (msdos-create-frame-with-faces):
11596 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11597
b6f67890
MR
115982011-11-16 Martin Rudalics <rudalics@gmx.at>
11599
11600 * window.el (split-window, window-state-get-1)
11601 (window-state-put-1, window-state-put-2): Rename occurrences of
11602 window-nest to window-combination-limit.
1d00653d 11603 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11604
ce7ddba0
CY
116052011-11-16 Chong Yidong <cyd@gnu.org>
11606
11607 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11608 regexp (Bug#10033).
11609
3ae704f4
SM
116102011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11611
11612 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11613 `completing-read' will remove *Completions* and will preserve
11614 current-buffer for us.
11615 (tmm-add-prompt): Users of *Completions* will always (re)set its
11616 major mode.
11617 (tmm-old-comp-map): Remove.
11618
6ad1cdde
GM
116192011-11-16 Glenn Morris <rgm@gnu.org>
11620
11621 * mail/rmailedit.el: Require rmailmm when compiling.
11622 (rmail-old-mime-state): New declaration.
11623 (rmail-edit-current-message): If editing a mime message,
11624 edit the "raw" message from the mbox buffer.
11625 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11626
d20faa20
GM
116272011-11-15 Glenn Morris <rgm@gnu.org>
11628
11629 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11630 which wasn't being used. Add optional arg to force given state.
11631 (rmail-mime): Add optional arg to force given state.
11632
c7015153
JB
116332011-11-15 Juanma Barranquero <lekktu@gmail.com>
11634
11635 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11636 * frame.el (display-mm-dimensions-alist):
11637 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11638 (outline-move-subtree-down):
11639 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11640 (newsticker--treeview-do-get-node):
11641 * net/quickurl.el (quickurl-list-buffer-name):
11642 * progmodes/dcl-mode.el (dcl-mode):
11643 * progmodes/gdb-mi.el (gdb-mapcar*):
11644 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11645
45261b50
GM
116462011-11-15 Glenn Morris <rgm@gnu.org>
11647
11648 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11649 in a boolean sense, so just make it a boolean, and fix the doc.
11650 (rmail-show-mime-function, rmail-mime-feature)
11651 (rmail-require-mime-maybe): Doc fixes.
11652 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11653
11654 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11655
0d26e0b6
JB
116562011-11-15 Juanma Barranquero <lekktu@gmail.com>
11657
11658 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11659 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11660 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11661 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11662
447f30f6
GM
116632011-11-15 Glenn Morris <rgm@gnu.org>
11664
672b871d
GM
11665 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11666 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11667 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11668 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11669 (rmail-mime, rmail-show-mime): Doc fixes.
11670
f6aa5bb1
GM
11671 * term/ns-win.el (mode-line-frame-identification):
11672 Leave it alone. (Bug#10051)
11673
947cd66b
GM
11674 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11675
447f30f6
GM
11676 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11677 Handle empty buffers. (Bug#9978)
11678
0b381c7e
JB
116792011-11-14 Juanma Barranquero <lekktu@gmail.com>
11680
11681 * international/mule.el (define-charset):
11682 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11683 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11684 * progmodes/verilog-mode.el (verilog-backward-token):
11685 * textmodes/ispell.el (lookup-words):
11686 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11687
71e027ac
GM
116882011-11-14 Glenn Morris <rgm@gnu.org>
11689
56632ce4
GM
11690 * progmodes/executable.el
11691 (executable-make-buffer-file-executable-if-script-p):
11692 Handle file-modes returning nil.
11693
40500957
GM
11694 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11695 message - not necessary, and causes problems. (Bug#9831)
11696
071c2340
GM
11697 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11698
d3cfca60
GM
11699 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11700
71e027ac
GM
11701 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11702 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11703 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11704
89d61221
MR
117052011-11-12 Martin Rudalics <rudalics@gmx.at>
11706
11707 * window.el (window-resize, delete-window): Use window-splits
11708 variable instead of function.
11709 (window-state-get-1, window-state-put-2, window-state-put):
11710 Don't deal with windows' splits status.
11711
98282f6f
GM
117122011-11-12 Glenn Morris <rgm@gnu.org>
11713
11714 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11715 (apropos-documentation): Doc fixes.
11716
40a8bdf6
JB
117172011-11-11 Juanma Barranquero <lekktu@gmail.com>
11718
11719 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11720 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11721
65bd19ff
SM
117222011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * electric.el (electric-indent-post-self-insert-function): Make it
11725 possible for a char to only indent in some circumstances.
11726 (electric-indent-mode): Simplify.
11727
54f9154c
MR
117282011-11-11 Martin Rudalics <rudalics@gmx.at>
11729
11730 * window.el (windows-with-parameter): Remove unused function.
11731 (windows-at-side): Rename to window-at-side-list.
11732 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11733 (window-side-check, window-size-ignore, window-size-fixed-1)
11734 (window-in-direction-2): Prefix with "window--".
11735 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11736
68cbc58b
GM
117372011-11-11 Glenn Morris <rgm@gnu.org>
11738
11739 * subr.el (eval-after-load): If FILE is already loaded,
11740 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11741
b2621720
GM
117422011-11-10 Glenn Morris <rgm@gnu.org>
11743
9a4de110
GM
11744 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11745 Call svn via vc-svn-command rather than vc-do-command.
11746 (vc-svn-command): Add --non-interactive. (Bug#9993)
11747 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11748
b2621720
GM
11749 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11750 Add toggle-read-only. (Bug#7292)
11751 * files.el (toggle-read-only): Mention that it should only
11752 be used interactively. (Bug#10006)
11753
1dce7193
SM
117542011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11755
d9ac1a1e
SM
11756 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11757 Adjust regexp for OCaml warnings.
11758
0c325082
SM
11759 * electric.el (electric-pair-post-self-insert-function): Let user
11760 turn it off buffer-locally (bug#9932).
11761
90132c14
SM
11762 * progmodes/python.el (python-beginning-of-statement):
11763 Rewrite (bug#2703).
11764
1dce7193
SM
11765 * progmodes/compile.el: Better handle TABs (bug#9749).
11766 (compilation-internal-error-properties)
11767 (compilation-next-error-function): Obey the target buffer's
11768 compilation-error-screen-columns.
11769
c4e7c63a
JB
117702011-11-09 Juanma Barranquero <lekktu@gmail.com>
11771
11772 * progmodes/meta-mode.el: Remove obsolete comments.
11773 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11774 Fix typos in docstrings.
11775
2cffd681
MR
117762011-11-09 Martin Rudalics <rudalics@gmx.at>
11777
11778 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11779 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11780 (window--resizable): New function. Make all callers of
11781 window-resizable call window--resizable instead.
11782 (window-resizable): Rewrite in terms of window--resizable.
11783
0edcba87
GM
117842011-11-08 Glenn Morris <rgm@gnu.org>
11785
11786 * progmodes/delphi.el (delphi-mode-syntax-table):
11787 Let define-derived-mode define a proper syntax table. (Bug#9994)
11788
4b0d61e3
SM
117892011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * window.el: Stay away from defsubst.
11792 (window-list-no-nils): Remove.
11793 (window-state-get-1, window-state-get): Use backquote instead.
11794
cd394be1 117952011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11796
4b0d61e3 11797 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11798 Fix incorrect use of default argument in `completing-read'.
11799
e1c2c6f2
MR
118002011-11-08 Martin Rudalics <rudalics@gmx.at>
11801
11802 * window.el (display-buffer-function, special-display-function):
11803 Mention display-buffer-record-window but do not mention
11804 help-setup parameter in doc-strings.
b3f4a882 11805 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11806
105216ed
CY
118072011-11-08 Chong Yidong <cyd@gnu.org>
11808
11809 * window.el (window-total-height, window-total-width): Doc fix.
11810 (window-body-size): Move from C.
11811 (window-body-height, window-body-width): Move to C.
11812
0a9f9ab5
SM
118132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * window.el: Make special-display like display-buffer-alist (bug#9532).
11816 (display-buffer--special-action): New function, morphed
11817 from display-buffer--special.
11818 (display-buffer): Use it to handle special-display-buffers at higher
11819 priority (just after display-buffer-alist).
11820 (display-buffer-fallback-action, display-buffer--other-frame-action)
11821 (pop-to-buffer-same-window): Remove display-buffer--special.
11822
a769dd15
GM
118232011-11-07 Glenn Morris <rgm@gnu.org>
11824
11825 * calendar/cal-menu.el (cal-menu-set-date-title):
11826 Do nothing if not in a calendar. (Bug#9976)
11827
05a61ee3
SM
118282011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * files.el (find-file): Always use selected-window.
11831
be7f5545
MR
118322011-11-07 Martin Rudalics <rudalics@gmx.at>
11833
11834 * window.el (window-combinations): Make WINDOW argument
11835 mandatory. Rewrite doc-string.
11836 (walk-window-subtree, window-atom-check, window-min-delta)
11837 (window-max-delta, window--resize-this-window)
11838 (window--resize-root-window-vertically, window-tree)
11839 (balance-windows, window-state-put): Rewrite doc-strings as to
11840 not mention the term "subwindow".
11841 (window--resize-subwindows-skip-p): Rename to
11842 window--resize-child-windows-skip-p.
11843 (window--resize-subwindows-normal): Rename to
11844 window--resize-child-windows-normal.
11845 (window--resize-subwindows): Rename to
11846 window--resize-child-windows.
11847 (window-or-subwindow-p): Rename to window--in-subtree-p.
11848
3c6702ef
ML
118492011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11850
11851 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11852 Ensure that mbox format messages end in two newlines (Bug#9974).
11853
49745b39
CY
118542011-11-06 Chong Yidong <cyd@gnu.org>
11855
11856 * window.el (window-combination-p): Function deleted; its
11857 side-effect is not used in any existing code.
11858 (window-combinations, window-combined-p): Call window-*-child
11859 directly.
11860
24300f5f
CY
118612011-11-05 Chong Yidong <cyd@gnu.org>
11862
11863 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11864 (window-size-ignore, window-state-get): Callers changed.
11865 (window-normalize-window): Rename from window-normalize-any-window.
11866 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11867 (window-normalize-live-window): Delete.
447f16b8
CY
11868 (window-combination-p, window-combined-p, window-combinations)
11869 (walk-window-subtree, window-atom-root, window-min-size)
11870 (window-sizable, window-sizable-p, window-size-fixed-p)
11871 (window-min-delta, window-max-delta, window-resizable)
11872 (window-resizable-p, window-full-height-p, window-full-width-p)
11873 (window-current-scroll-bars, window-point-1, set-window-point-1)
11874 (window-at-side-p, window-in-direction, window-resize)
11875 (adjust-window-trailing-edge, maximize-window, minimize-window)
11876 (window-deletable-p, delete-window, delete-other-windows)
11877 (record-window-buffer, unrecord-window-buffer)
11878 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11879 (quit-window, split-window, window-state-put)
11880 (set-window-text-height, fit-window-to-buffer)
11881 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11882
89bd5ee1
EZ
118832011-11-04 Eli Zaretskii <eliz@gnu.org>
11884
53479029
EZ
11885 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11886 rfc2047-decode-string.
11887 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11888 warnings.
11889
89bd5ee1
EZ
11890 * window.el (window-body-height, window-body-width): Mention in
11891 the doc string that the return values are in frame's canonical
11892 units. (Bug#9949)
11893
bd17fdee
AM
118942011-11-03 Alan Mackenzie <acm@muc.de>
11895
11896 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11897 change in cc-engine.el.
11898
acc825c5
SM
118992011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11902
1885e5b8
MR
119032011-11-02 Martin Rudalics <rudalics@gmx.at>
11904
11905 * window.el (quit-window): Call unrecord-window-buffer after
11906 showing another buffer in the window. (Bug#9937)
acc825c5 11907 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11908
ebe06da9
JB
119092011-11-02 Juanma Barranquero <lekktu@gmail.com>
11910
11911 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11912 Accept status with more than 9 shelves. (Bug#9935)
11913 Reported by Colin D Bennett <colin@gibibit.com>.
11914
4ee88440
MR
119152011-11-01 Martin Rudalics <rudalics@gmx.at>
11916
11917 * help.el (with-help-window): Don't reference
11918 temp-buffer-show-specifiers in doc-string.
11919
08e1d82c
AS
119202011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11921
11922 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11923 menu-item.
11924
84bd6e9e
VJL
119252011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11926
11927 * whitespace.el: New version 13.2.2.
11928 (whitespace-newline-mode): Disable properly. Reported by Sarah
11929 <EmacsWiki>.
11930
dba0634a
UJ
119312011-10-30 Ulf Jasper <ulf.jasper@web.de>
11932
11933 * net/newst-treeview.el: Remove "Time-stamp".
11934 (newsticker--group-manage-orphan-feeds): Do not call
11935 newsticker--treeview-tree-update.
db22a3c2
JB
11936 (newsticker-treeview-update, newsticker-treeview):
11937 Call newsticker--treeview-tree-update if necessary.
dba0634a 11938
3d8daefe
MR
119392011-10-30 Martin Rudalics <rudalics@gmx.at>
11940
11941 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11942 (window-iso-combinations): Remove "iso-" infix.
11943 Suggested by Chong Yidong.
3d8daefe
MR
11944 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11945 (window-max-delta-1, window-resize, window--resize-siblings)
11946 (window--resize-this-window, adjust-window-trailing-edge)
11947 (split-window, balance-windows-1)
11948 (shrink-window-if-larger-than-buffer):
11949 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11950 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11951
1bc4c3ae
SM
119522011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11955 in place (bug#9907).
11956 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11957 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11958 (eshell-structure-basic-command, eshell-rewrite-while-command)
11959 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11960 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11961 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11962 (eshell-do-pipelines-synchronously, eshell-eval-command):
11963 Use backquotes and prefer setq to set.
11964 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11965 (eshell-macrop): Use functionp.
c1e2f5fa 11966 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11967
30b65d9c
CY
119682011-10-30 Chong Yidong <cyd@gnu.org>
11969
11970 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11971 instead of set-mark (Bug#9810).
11972
2d197ffb
CY
119732011-10-30 Chong Yidong <cyd@gnu.org>
11974
11975 * window.el (split-window-below, split-window-right): Rename from
11976 split-window-above-each-other and split-window-side-by-side
11977 respectively. All callers changed.
11978 (split-window-sensibly, split-window-sensibly): Use them.
11979 (split-window-keep-point): Doc fix.
11980
11981 * isearch.el: Add isearch-scroll property to split-window-below
11982 and split-window-right.
11983
11984 * follow.el (follow-mode):
11985 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11986 * progmodes/ada-xref.el (ada-gdb-application):
11987 * emulation/vip.el (vip-buffer-in-two-windows):
11988 * image-dired.el (image-dired-dired-with-window-configuration):
11989 * dired-x.el (dired-do-find-marked-files):
11990 * dired.el (dired-pop-to-buffer):
11991 * bs.el (bs--show-with-configuration):
11992 * vc/emerge.el (emerge-setup-windows):
11993 * textmodes/two-column.el (2C-two-columns):
11994 * textmodes/reftex-toc.el (reftex-toc):
11995 * progmodes/gdb-mi.el (gdb-setup-windows):
11996 * progmodes/fortran.el (fortran-window-create):
11997 * net/newst-treeview.el (newsticker--treeview-window-init):
11998 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11999 * emulation/tpu-edt.el (tpu-gold-map):
12000 * emulation/crisp.el (crisp-mode-map):
12001 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12002
38bb2ca8
CY
120032011-10-29 Chong Yidong <cyd@gnu.org>
12004
aa4de341
CY
12005 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12006
e1eb5385
CY
12007 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12008
5d2ece3c
CY
12009 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12010 forged Ispell output (Bug#7904).
12011
38bb2ca8
CY
12012 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12013
d0af9f77
SM
120142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * doc-view.el: Avoid ugly errors about not finding nil.
12017 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12018 (doc-view-dvipdf-program, doc-view-unoconv-program)
12019 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12020 Avoid nil or absolute file name as default value.
12021 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12022
52bedd34
AM
120232011-10-28 Alan Mackenzie <acm@muc.de>
12024
db22a3c2 12025 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12026
7e43cfa5
AM
120272011-10-28 Alan Mackenzie <acm@muc.de>
12028
12029 Amend the handling of c-beginning/end-of-defun in nested declaration
12030 scopes.
12031
52bedd34
AM
12032 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12033 cc-langs.el. Change it to a defcustom.
7e43cfa5 12034
52bedd34
AM
12035 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12036 cc-vars.el.
7e43cfa5 12037
d0af9f77
SM
12038 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12039 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12040
52bedd34 12041 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12042 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12043 (c-widen-to-enclosing-decl-scope): New function.
12044 (c-while-widening-to-decl-block): New macro.
12045 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12046 outward for defun boundaries, and correspondingly change symbol
12047 `respect-enclosure' to `go-outward'.
12048 (c-declaration-limits): Change algorithm to report only the "innermost"
12049 defun's boundaries.
12050
1a2ce9ee
DD
120512011-10-28 Deniz Dogan <deniz@dogan.se>
12052
12053 * net/rcirc.el (rcirc-mode): Use hard newlines.
12054
bc97a826
AM
120552011-10-28 Alan Mackenzie <acm@muc.de>
12056
12057 Amend to indent and fontify macros "which include their own semicolon"
12058 correctly, using the "virtual semicolon" mechanism.
12059
52bedd34 12060 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12061
d0af9f77 12062 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12063 Recode to scan one line at a time rather than having \n and \r
58179cce 12064 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12065 (c-forward-label): Amend for virtual semicolons.
58179cce 12066 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12067
52bedd34
AM
12068 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12069 of the new C macros.
bc97a826 12070
52bedd34 12071 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12072 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12073 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12074 (c-opt-cpp-macro-define): Make into a full language variable.
12075 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12076 AWK Mode (including \n, \r) removed, no longer needed.
12077
d0af9f77
SM
12078 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12079 Invoke c-make-macro-with-semi-re.
bc97a826 12080
52bedd34
AM
12081 * progmodes/cc-vars.el (c-macro-with-semi-re):
12082 (c-macro-names-with-semicolon): New variables.
58179cce 12083 (c-make-macro-with-semi-re): New function.
bc97a826 12084
7a6c0941
SM
120852011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * vc/log-edit.el: Fill empty field rather than adding new one.
12088 (log-edit-add-field): New function.
12089 (log-edit-insert-changelog): Use it.
12090
b0c4cdcf
ML
120912011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12092
12093 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12094
ee1f1da9
SM
120952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12098 (gdb--check-interpreter): New function.
12099 (gdb): Use it.
12100
51bc5f8b
GM
121012011-10-27 Glenn Morris <rgm@gnu.org>
12102
416a2c45
GM
12103 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12104 (least-positive-float, least-negative-float)
12105 (least-positive-normalized-float, least-negative-normalized-float)
12106 (float-epsilon, float-negative-epsilon):
12107 Remove unnecessary declarations.
12108
12109 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12110 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12111 (least-positive-float, least-negative-float)
12112 (least-positive-normalized-float, least-negative-normalized-float)
12113 (float-epsilon, float-negative-epsilon): Add doc-strings,
12114 based on those in cl.texi.
12115
51bc5f8b
GM
12116 * files.el (set-visited-file-name): If the major-mode changed,
12117 reload the local variables. (Bug#9796)
12118
15de15c6
CY
121192011-10-27 Chong Yidong <cyd@gnu.org>
12120
12121 * subr.el (change-major-mode-after-body-hook): New hook.
12122 (run-mode-hooks): Run it.
12123
ee1f1da9
SM
12124 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12125 Use change-major-mode-before-body-hook.
15de15c6
CY
12126
12127 * simple.el (fundamental-mode):
12128 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12129 change introducing fundamental-mode-hook.
12130
5430d399
JB
121312011-10-26 Juanma Barranquero <lekktu@gmail.com>
12132
acc825c5 12133 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12134
ad74a69e
MA
121352011-10-26 Michael Albinus <michael.albinus@gmx.de>
12136
12137 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12138 tramp.el explicitly. (Bug#7583)
ad74a69e 12139
71d4c2a5
SM
121402011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * progmodes/octave-mod.el:
12143 * progmodes/octave-inf.el: Update maintainer.
12144
b1f6fa26
CY
121452011-10-26 Chong Yidong <cyd@gnu.org>
12146
12147 * subr.el (with-wrapper-hook): Rewrite doc.
12148
3f04efd6
MA
121492011-10-25 Michael Albinus <michael.albinus@gmx.de>
12150
12151 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12152 filenames "/method:foo:". (Bug#9793)
3f04efd6 12153
410488d3
SM
121542011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12157 (bug#9865).
12158
c1ebb47e
GM
121592011-10-24 Glenn Morris <rgm@gnu.org>
12160
12161 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12162
7f5c46c7
MA
121632011-10-24 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * notifications.el: Add the requirement of a running D-Bus session
12166 bus to the Commentary.
12167
db2440b6
JL
121682011-10-24 Juri Linkov <juri@jurta.org>
12169
12170 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12171 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12172 (Bug#9364)
12173
feecf435
JL
121742011-10-24 Juri Linkov <juri@jurta.org>
12175
12176 * info.el (Info-following-node-name-re): Add newline to the list
12177 of allowed characters for leading space. (Bug#9824)
12178
a3839de2
SM
121792011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12180
acc825c5
SM
12181 * progmodes/octave-inf.el (inferior-octave-mode-map):
12182 Fix C-c C-h binding.
a3839de2
SM
12183 * progmodes/octave-mod.el (octave-help): Remove.
12184
09388e76
MA
121852011-10-23 Michael Albinus <michael.albinus@gmx.de>
12186
12187 Sync with Tramp 2.2.3.
12188
12189 * net/tramp-cache.el (top): Pacify byte-compiler using
12190 `init-file-user' and `site-run-file'.
12191
12192 * net/trampver.el: Update release number.
12193
86c60681
CY
121942011-10-23 Chong Yidong <cyd@gnu.org>
12195
12196 * files.el (toggle-read-only): Remove obsolete comment about
12197 version control.
12198
12199 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12200 for toggle-read-only. Note that this hasn't called vc-next-action
12201 since 2008-05-02, though it wasn't documented at the time.
12202
a3839de2
SM
12203 * vc/ediff-init.el (ediff-toggle-read-only-function):
12204 Use toggle-read-only.
86c60681 12205
cd5495ff
AM
122062011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12207
12208 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12209 of c-parse-state.
12210
00b77525 12211 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12212 correct faulty logical expression.
cd5495ff
AM
12213 (c-parse-state-state, c-record-parse-state-state):
12214 (c-replay-parse-state-state): New defvar/defuns.
12215 (c-debug-parse-state): Use new functions.
12216
42ee24ed
MR
122172011-10-22 Martin Rudalics <rudalics@gmx.at>
12218
12219 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12220 last fix. Use window-in-direction correctly.
42ee24ed 12221
a7dee7e7
CY
122222011-10-21 Chong Yidong <cyd@gnu.org>
12223
12224 * progmodes/idlwave.el (idlwave-mode):
12225 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12226 require-final-newline; that's done in prog-mode.
12227 Suggested by Stefan Monnier.
a7dee7e7 12228
e07b9a6d
MR
122292011-10-21 Martin Rudalics <rudalics@gmx.at>
12230
12231 * mouse.el (mouse-drag-window-above)
12232 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12233 (mouse-drag-mode-line-1, mouse-drag-header-line)
12234 (mouse-drag-vertical-line-rightward-window): Remove.
12235 (mouse-drag-line): New function.
12236 (mouse-drag-mode-line, mouse-drag-header-line)
12237 (mouse-drag-vertical-line): Call mouse-drag-line.
12238 * window.el (window-at-side-p, windows-at-side): New functions.
12239
7e1361d9
UM
122402011-10-21 Ulrich Mueller <ulm@gentoo.org>
12241
12242 * tar-mode.el (tar-grind-file-mode):
12243 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12244
30fcaf3a
CY
122452011-10-21 Chong Yidong <cyd@gnu.org>
12246
12247 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12248 * progmodes/vera-mode.el (vera-mode):
12249 Use mode-require-final-newline.
30fcaf3a 12250
516eddb0
GM
122512011-10-20 Glenn Morris <rgm@gnu.org>
12252
db22a3c2 12253 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12254
10d5f513
CS
122552011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12256
12257 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12258
ac6c8639
CY
122592011-10-20 Chong Yidong <cyd@gnu.org>
12260
12261 * emulation/cua-base.el (cua-mode):
12262 * mail/footnote.el (footnote-mode):
12263 * mail/mailabbrev.el (mail-abbrevs-mode):
12264 * net/xesam.el (xesam-minor-mode):
12265 * progmodes/bug-reference.el (bug-reference-mode):
12266 * progmodes/cap-words.el (capitalized-words-mode):
12267 * progmodes/compile.el (compilation-minor-mode)
12268 (compilation-shell-minor-mode):
12269 * progmodes/gud.el (gud-tooltip-mode):
12270 * progmodes/hideif.el (hide-ifdef-mode):
12271 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12272 * progmodes/subword.el (subword-mode):
12273 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12274 * progmodes/which-func.el (which-function-mode):
12275 * term/tvi970.el (tvi970-set-keypad-mode):
12276 * term/vt100.el (vt100-wide-mode):
12277 * textmodes/flyspell.el (flyspell-mode):
12278 * textmodes/ispell.el (ispell-minor-mode):
12279 * textmodes/nroff-mode.el (nroff-electric-mode):
12280 * textmodes/paragraphs.el (use-hard-newlines):
12281 * textmodes/refill.el (refill-mode):
12282 * textmodes/reftex.el (reftex-mode):
12283 * textmodes/rst.el (rst-minor-mode):
12284 * textmodes/sgml-mode.el (html-autoview-mode)
12285 (sgml-electric-tag-pair-mode):
12286 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12287 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12288 * emulation/crisp.el (crisp-mode):
12289 * emacs-lisp/eldoc.el (eldoc-mode):
12290 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12291 minor mode behavior.
12292
aa42ab43
JL
122932011-10-19 Juri Linkov <juri@jurta.org>
12294
12295 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12296 the list of hard-coded chars with escape-glyph face.
12297
89400f1d
SM
122982011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12299
12300 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12301
305c07f6
MA
123022011-10-19 Michael Albinus <michael.albinus@gmx.de>
12303
12304 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12305 running process.
12306
13754b54
GM
123072011-10-19 Glenn Morris <rgm@gnu.org>
12308
12309 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12310 Ignore ignored files. (Bug#9726)
12311
06e21633
CY
123122011-10-19 Chong Yidong <cyd@gnu.org>
12313
12314 Doc fix for minor modes, stating that an omitted argument enables
12315 the mode unconditionally when called from Lisp.
12316
12317 * abbrev.el (abbrev-mode):
12318 * allout.el (allout-mode):
12319 * autoinsert.el (auto-insert-mode):
12320 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12321 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12322 (global-auto-revert-mode):
12323 * battery.el (display-battery-mode):
12324 * composite.el (global-auto-composition-mode)
12325 (auto-composition-mode):
12326 * delsel.el (delete-selection-mode):
12327 * desktop.el (desktop-save-mode):
12328 * dired-x.el (dired-omit-mode):
12329 * dirtrack.el (dirtrack-mode):
12330 * doc-view.el (doc-view-minor-mode):
12331 * double.el (double-mode):
12332 * electric.el (electric-indent-mode, electric-pair-mode):
12333 * emacs-lock.el (emacs-lock-mode):
12334 * epa-hook.el (auto-encryption-mode):
12335 * follow.el (follow-mode):
12336 * font-core.el (font-lock-mode):
12337 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12338 * help.el (temp-buffer-resize-mode):
12339 * hilit-chg.el (highlight-changes-mode)
12340 (highlight-changes-visible-mode):
12341 * hi-lock.el (hi-lock-mode):
12342 * hl-line.el (hl-line-mode, global-hl-line-mode):
12343 * icomplete.el (icomplete-mode):
12344 * ido.el (ido-everywhere):
12345 * image-file.el (auto-image-file-mode):
12346 * image-mode.el (image-minor-mode):
12347 * iswitchb.el (iswitchb-mode):
12348 * jka-cmpr-hook.el (auto-compression-mode):
12349 * linum.el (linum-mode):
12350 * longlines.el (longlines-mode):
12351 * master.el (master-mode):
12352 * mb-depth.el (minibuffer-depth-indicate-mode):
12353 * menu-bar.el (menu-bar-mode):
12354 * minibuf-eldef.el (minibuffer-electric-default-mode):
12355 * mouse-sel.el (mouse-sel-mode):
12356 * msb.el (msb-mode):
12357 * mwheel.el (mouse-wheel-mode):
12358 * outline.el (outline-minor-mode):
12359 * paren.el (show-paren-mode):
12360 * recentf.el (recentf-mode):
12361 * reveal.el (reveal-mode, global-reveal-mode):
12362 * rfn-eshadow.el (file-name-shadow-mode):
12363 * ruler-mode.el (ruler-mode):
12364 * savehist.el (savehist-mode):
12365 * scroll-all.el (scroll-all-mode):
12366 * scroll-bar.el (scroll-bar-mode):
12367 * server.el (server-mode):
12368 * shell.el (shell-dirtrack-mode):
12369 * simple.el (auto-fill-mode, transient-mark-mode)
12370 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12371 (line-number-mode, column-number-mode, size-indication-mode)
12372 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12373 * strokes.el (strokes-mode):
12374 * time.el (display-time-mode):
12375 * t-mouse.el (gpm-mouse-mode):
12376 * tool-bar.el (tool-bar-mode):
12377 * tooltip.el (tooltip-mode):
12378 * type-break.el (type-break-mode-line-message-mode)
12379 (type-break-query-mode):
12380 * view.el (view-mode):
12381 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12382 (global-whitespace-mode, global-whitespace-newline-mode):
12383 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12384
a3839de2
SM
12385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12386 Fix autogenerated docstring.
06e21633 12387
5214e501
JL
123882011-10-19 Juri Linkov <juri@jurta.org>
12389
12390 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12391 by checking environment variables "DESKTOP_SESSION" and
12392 "XDG_CURRENT_DESKTOP". (Bug#9779)
12393
195f8db9
JL
123942011-10-19 Juri Linkov <juri@jurta.org>
12395
12396 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12397 (browse-url-chromium-program, browse-url-chromium-arguments):
12398 New defcustoms.
12399 (browse-url-default-browser): Check for `browse-url-chromium' and
12400 call `browse-url-chromium-program'.
12401 (browse-url-chromium): New command. (Bug#9779)
12402
343a34ff
JB
124032011-10-18 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * facemenu.el (list-colors-duplicates): On Windows, detect more
12406 duplicates by assuming that only colors matching "^System" are
12407 special "system colors". (Bug#9722)
12408
6978a151
SM
124092011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12412 to distinguish the author from the committer.
12413
6a80b297
MA
124142011-10-18 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12417
b31a5677
JK
124182011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12419
12420 * international/mule.el (sgml-html-meta-auto-coding-function):
12421 Add support for detecting encoding in HTML5 specified only as
12422 <meta charset="UTF-8">. Implementation just makes http-equiv and
12423 content-type parts from HTML4 encoding string optional. (Bug#9716)
12424
80c6d77f
GM
124252011-10-18 Glenn Morris <rgm@gnu.org>
12426
12427 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12428
08b0fee8
CY
124292011-10-18 Chong Yidong <cyd@gnu.org>
12430
12431 * faces.el (cursor): Doc fix.
12432
67e729a5
CY
124332011-10-17 Chong Yidong <cyd@gnu.org>
12434
12435 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12436
343a34ff 124372011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12438
12439 * dirtrack.el (dirtrack): Support shell buffers with path
12440 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12441
0bc06380
TZ
124422011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12443
12444 * json.el: Bump version to 1.3 and note change in History.
12445 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12446
8b79f3e0
SM
124472011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12448
5a7c536b
SM
12449 * comint.el (comint-insert-input, comint-send-input)
12450 (comint-get-old-input-default, comint-backward-matching-input)
12451 (comint-next-prompt): Use nil instead of `input' for field property of
12452 past user input (bug#114).
12453
96a8a0df
SM
12454 * minibuffer.el (completion--replace): Inherit surrounding properties
12455 (bug#114).
12456 (minibuffer-complete-and-exit): Use it.
12457
8b79f3e0
SM
12458 * comint.el (comint--table-subvert): Quote the all-completions output
12459 (bug#9160).
12460
b8f7ff0d
MR
124612011-10-17 Martin Rudalics <rudalics@gmx.at>
12462
8b79f3e0 12463 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12464
b8f7ff0d 12465 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12466 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12467 entries and separate them from frame entries.
12468
c235b555
GM
124692011-10-15 Glenn Morris <rgm@gnu.org>
12470
12471 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12472 Doc fixes.
12473
6bbfa6e1
CY
124742011-10-15 Chong Yidong <cyd@stupidchicken.com>
12475
8b79f3e0
SM
12476 * net/network-stream.el (network-stream-open-starttls):
12477 Improve detection of failure due to lack of TLS support.
ec5c990d 12478
6bbfa6e1
CY
12479 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12480 putting the input text in front and in bold.
12481
98488977
SM
124822011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12483
3d1337be
SM
12484 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12485
ee0b45e4
SM
12486 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12487 empty buffer.
12488
98488977
SM
12489 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12490 unread-command-events rather than pushing yet-another event.
12491
186f4720
EZ
124922011-10-14 Eli Zaretskii <eliz@gnu.org>
12493
12494 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12495 the explanation of the possible choices. Make the options passed
12496 to completing-read shorter.
12497
8b7a997c
AM
124982011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12499
12500 * textmodes/flyspell.el (flyspell-large-region): Make sure
12501 extended character mode is used if defined (Bug#1339).
12502
12587bbb
EZ
125032011-10-13 Eli Zaretskii <eliz@gnu.org>
12504
12505 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12506 character info for LRE, LRO, RLE, and RLO characters by appending
12507 an invisible PDF.
12587bbb 12508
bad41229
SM
125092011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12512 even in case of error; add debug spec; simplify data flow.
12513 (with-timeout-handler): Remove.
12514
28dbc92f
MA
125152011-10-12 Michael Albinus <michael.albinus@gmx.de>
12516
12517 Fix Bug#6019, Bug#9315.
12518
12519 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12520 complete `buffer-file-name', the local file name part could look
12521 remotely (for example on VMS).
12522
12523 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12524 `tramp-run-real-handler'.
12525 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12526 already quoted by '"'.
12527
12528 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12529 Let `file-name-handler-alist' be nil, the local file name part
12530 could look remotely (for example on VMS).
12531
e1b0b23a
SM
125322011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12535 from here...
12536 (flyspell-post-command-hook): ...to here.
12537
a120bde9
SM
125382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12541 if not needed.
12542 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12543 using completion. Protect against "slow" callers.
12544 Remove the "message hack".
12545
7ce7717b
JL
125462011-10-11 Juri Linkov <juri@jurta.org>
12547
12548 * isearch.el (isearch-lazy-highlight-word): New variable.
12549 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12550 Use it. (Bug#9727)
12551
c02ee9d6
GM
125522011-10-11 Glenn Morris <rgm@gnu.org>
12553
12554 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12555 like f90-previous-statement does.
12556
93e616fd 125572011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12558
1f190e73 12559 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12560 only in interactive use, to avoid error.
12561
af7b6078
SM
125622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * minibuffer.el (completion-file-name-table): Fix last change,
12565 i.e. ignore normal errors but not the other ones.
12566
0563dae9
MR
125672011-10-10 Martin Rudalics <rudalics@gmx.at>
12568
12569 * window.el (special-display-buffer-names)
12570 (special-display-regexps): Remove some remnants of earlier
12571 changes from doc-strings.
366ca7f3
MR
12572 (quit-windows-on): New function.
12573
12574 * vc/vc.el (vc-revert, vc-rollback):
12575 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12576 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12577 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12578
49677495
MR
125792011-10-09 Martin Rudalics <rudalics@gmx.at>
12580
12581 * window.el (frame-auto-hide-function): Add version tag.
12582 (Bug#9699)
12583
56f2d1e1
MA
125842011-10-09 Michael Albinus <michael.albinus@gmx.de>
12585
12586 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12587 condition.
12588
112a6592
LL
125892011-10-09 Leo Liu <sdl.web@gmail.com>
12590
12591 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12592 (Bug#9701)
12593
0812589b
GM
125942011-10-08 Glenn Morris <rgm@gnu.org>
12595
12596 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12597 before the first code statement zero indent. (Bug#9690)
12598
b2b0776e
CY
125992011-10-08 Chong Yidong <cyd@stupidchicken.com>
12600
12601 * simple.el (count-words-region): Always count in the region.
12602 Report the number of lines and characters too.
12603 (count-words): New command, which counts in the buffer if the
12604 region is inactive, as count-words-region used to.
12605 (count-words--message): New function. Handle plurals.
12606 (count-lines-region): Make it an alias for count-words-region.
12607
12608 * bindings.el (esc-map): Replace count-lines-region with
12609 count-words-region.
12610
c557cd6b
MR
126112011-10-08 Martin Rudalics <rudalics@gmx.at>
12612
12613 * window.el (window--delete): Delete dedicated frame
12614 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12615 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12616
61a57ef4 126172011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12618
3a7d293b 12619 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12620
c3833279
CY
126212011-10-07 Chong Yidong <cyd@stupidchicken.com>
12622
12623 * bindings.el ([M-left],[M-right]): Bind to left-word and
12624 right-word respectively.
12625
21ce8245
GM
126262011-10-07 Glenn Morris <rgm@gnu.org>
12627
12628 * cus-start.el (debug-on-quit): Fix custom type.
12629
6d823bb2
LMI
126302011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12631
0181e193
LMI
12632 * subr.el (define-key-after): Clarify that the function is not
12633 useful for non-menu keymaps.
12634
6d823bb2
LMI
12635 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12636
8e3459ce 126372011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12638
21ce8245 12639 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12640 in current minibuffer (Fix bug with recursive minibuffers).
12641
a1c2d21e
CY
126422011-10-06 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * progmodes/gdb-mi.el (gdb): Doc fix.
12645
5a4cf282
MR
126462011-10-05 Martin Rudalics <rudalics@gmx.at>
12647
12648 * window.el (frame-auto-hide-function): New option replacing
12649 frame-auto-delete. Suggested by Stefan Monnier.
12650 (window--delete): Call frame-auto-hide-function instead of
12651 investigating frame-auto-delete.
c96111ea
MR
12652 (window-point-1, set-window-point-1): New functions.
12653 (window-in-direction, record-window-buffer, window-state-get-1)
12654 (display-buffer-record-window): Use window-point-1 instead of
12655 window-point.
12656 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12657
9854542e
SM
126582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12661
8943cfb0
GM
126622011-10-05 Glenn Morris <rgm@gnu.org>
12663
12664 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12665 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12666
647ab967
LL
126672011-10-05 Leo Liu <sdl.web@gmail.com>
12668
12669 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12670 works with buffer object.
12671
3ddfbced
SM
126722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * mpc.el (mpc-tool-bar-map): Add labels.
12675
bdfa5dd2
GM
126762011-10-04 Glenn Morris <rgm@gnu.org>
12677
12678 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12679
0e2070b5
MR
126802011-10-04 Martin Rudalics <rudalics@gmx.at>
12681
12682 * window.el (window--delete): New function.
12683 (frame-auto-delete): Resuscitate option.
12684 (bury-buffer, replace-buffer-in-windows)
12685 (quit-window): Rewrite using window--delete.
12686 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12687 Pass display-buffer-mark-dedicated to window--display-buffer-2
12688 (Bug#9639).
12689
3dc61a09
SM
126902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12691
915a9b64
SM
12692 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12693 returns a list (bug#9554). Add remote file name completion.
12694 * comint.el (comint--table-subvert): Curry and get quote&unquote
12695 functions as arguments.
12696 (comint--complete-file-name-data): Adjust call accordingly.
12697 * pcomplete.el (pcomplete--table-subvert): Remove.
12698 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12699
3dc61a09
SM
12700 * minibuffer.el (completion-table-case-fold): Use currying.
12701 (completion--styles-type, completion--cycling-threshold-type):
12702 New constants.
12703 (completion-styles, completion-category-overrides)
12704 (completion-cycle-threshold): Use them.
12705 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12706 completion-table-case-fold.
12707
8ea0a993
SB
127082011-10-03 Stephen Berman <stephen.berman@gmx.net>
12709
12710 * minibuffer.el (completion-category-overrides): Fix type of styles
12711 and add more user friendly tags (bug#9660).
12712
8c24b7f6
SM
127132011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12716 (mule-input-method-string): New widget.
12717 (default-input-method, language-info-custom-alist): Use it.
12718
428fe61a
SM
127192011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12720
32c1fffd
SM
12721 * pcomplete.el: Require comint.
12722 (pcomplete--common-suffix): Remove.
12723 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12724 (pcomplete--table-subvert): Sync with comint--table-subvert.
12725 (pcomplete--entries): Use comint-completion-file-name-table.
12726 * comint.el (comint-unquote-filename): Simplify.
12727 (comint-completion-file-name-table): New function (bug#9616).
12728 (comint--complete-file-name-data): Use it.
12729
428fe61a
SM
12730 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12731 (pcmpl-gnu-tar-buffer): Remove.
12732 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12733 around. Make sure pcomplete-suffix-list is only changed temporarily.
12734 Don't look inside the tar's file if it's too large.
428fe61a 12735
04c52e2f
CY
127362011-10-01 Chong Yidong <cyd@stupidchicken.com>
12737
ce3cefcc
CY
12738 * cus-edit.el (custom-mode-map):
12739 * epa.el (epa-key-list-mode-map):
12740 * man.el (Man-mode-map):
12741 * startup.el (splash-screen-keymap):
12742 * simple.el (special-mode-map): Use scroll-up-command and
12743 scroll-down-command.
12744
12745 * progmodes/idlw-help.el (idlwave-help-mode-map):
12746 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12747 * net/newst-plainview.el (newsticker-mode-map):
12748 * emulation/ws-mode.el (wordstar-mode-map):
12749 * emulation/vi.el (vi-com-map):
12750 * calc/calc-graph.el (calc-graph-show-dumb):
12751 * term/sun.el (terminal-init-sun):
12752 * term/ns-win.el (global-map):
12753 * progmodes/grep.el (grep-mode-map):
12754 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12755 * mail/rmail.el (rmail-mode-map):
12756 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12757
04c52e2f
CY
12758 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12759 custom-safe-themes as special.
12760
79adf8c8
JD
127612011-10-01 Julien Danjou <julien@danjou.info>
12762
12763 * notifications.el (notifications-notify): Fix docstring.
12764
63bd50d3
PS
127652011-10-01 Per Starbäck <per@starback.se>
12766
12767 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12768
199e4c7e
MR
127692011-09-30 Martin Rudalics <rudalics@gmx.at>
12770
12771 * startup.el (command-line-1): Fix last fix by inserting
12772 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12773 (Bug#9605) and (Bug#9636)
199e4c7e 12774
fe5f08dd
EZ
127752011-09-29 Eli Zaretskii <eliz@gnu.org>
12776
12777 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12778 window is hscrolled, move by logical lines. (Bug#9607)
12779 (line-move-visual): Update the doc string to the above effect.
12780
b5516bbd
MR
127812011-09-29 Martin Rudalics <rudalics@gmx.at>
12782
ccee00c0
MR
12783 * window.el (display-buffer-record-window): When WINDOW is the
12784 selected window use `point' instead of `window-point'. (Bug#9626)
12785
b5516bbd
MR
12786 * startup.el (command-line-1): Use insert-before-markers when
12787 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12788
b5516bbd
MR
12789 * help.el (help-window): Remove variable.
12790
52aa0014
GM
127912011-09-29 Glenn Morris <rgm@gnu.org>
12792
12793 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12794
df9a7357
JB
127952011-09-29 Juanma Barranquero <lekktu@gmail.com>
12796
12797 * descr-text.el (describe-char-categories): Accept category
12798 descriptions more than one line long.
12799
a8406c20
SM
128002011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12801
88d9610c
SM
12802 * simple.el (delete-trailing-whitespace): Fix last change.
12803
a5daf810
SM
12804 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12805 Don't confuse "y => 3" as the beginning of a `y' operation.
12806
a8406c20
SM
12807 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12808 object has more than 4 slots (bug#9613).
12809
a239d4e9
JB
128102011-09-28 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * subr.el (with-output-to-temp-buffer):
12813 * net/quickurl.el (quickurl, quickurl-browse-url):
12814 Fix typos in docstrings.
12815
693fbdb6
EZ
128162011-09-27 Eli Zaretskii <eliz@gnu.org>
12817
12818 * minibuffer.el (completion-styles)
12819 (completion-category-overrides): Cross reference each other in doc
12820 strings.
12821
8b457e28
GM
128222011-09-27 Glenn Morris <rgm@gnu.org>
12823
12824 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12825 to split-string. (Bug#9606)
12826
85a16208
LMI
128272011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12828
12829 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12830 (bug#9615).
12831
502f9ebd
CY
128322011-09-27 Chong Yidong <cyd@stupidchicken.com>
12833
12834 * emacs-lisp/package.el (list-packages): Fix echo area message.
12835
7690bdea
LL
128362011-09-27 Leo Liu <sdl.web@gmail.com>
12837
12838 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12839
e2ee6f30
MA
128402011-09-25 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/dbus.el (dbus-unregister-object): Don't release services for
12843 registered signals. (Bug#9581)
12844
f3f98342
TZ
128452011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12846
12847 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12848 function that picks between cfengine 2 and 3 support
12849 automatically. Update docs accordingly.
12850
dd7aa8dd
KH
128512011-09-22 Kenichi Handa <handa@m17n.org>
12852
12853 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12854 ZERO.
12855 (indian-itrans-v5-table-for-tamil): New variable.
12856 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12857
3f2b07f8
KM
128582011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12859
12860 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12861 that's true if the current command involved collapsing of text.
12862 It's reset to false at the beginning of the next command.
12863 (allout-post-command-business): Move the cursor to the beginning
12864 of entry if the cursor is hidden and collapsing activity just
12865 happened.
12866
371d6a61
CY
128672011-09-24 Chong Yidong <cyd@stupidchicken.com>
12868
12869 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12870 tracking (Bug#9541).
12871
2ac2721a
UJ
128722011-09-24 Ulf Jasper <ulf.jasper@web.de>
12873
12874 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12875 (newsticker-show-news): Automatically load html rendering package
12876 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12877 because w3m-fill-column is let-bound" and the error "Symbol's value
12878 as variable is void: w3m-fill-column".
2ac2721a 12879
fac7ae53
MA
128802011-09-24 Michael Albinus <michael.albinus@gmx.de>
12881
12882 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12883 Release services only if they are defined. (Bug#9581)
12884
e08b633b
RS
128852011-09-23 Richard Stallman <rms@gnu.org>
12886
e488d29c
RS
12887 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12888 distinguish start of paragraph from start of its text.
12889
19c38752
RS
12890 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12891
e08b633b
RS
12892 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12893 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12894 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12895
0a39f27e
AS
128962011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12897
12898 * international/mule-diag.el (mule-diag): Insert a newline after
12899 each fontset description.
12900
db4e950d
SM
129012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * simple.el (delete-trailing-whitespace):
12904 Document last change; simplify.
12905
eca3f3ea
PW
129062011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12907
d68e189a
PW
12908 * simple.el (delete-trailing-whitespace): Also delete
12909 extra newlines at the end of the buffer.
12910
eca3f3ea
PW
12911 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12912 (picture-newline): Use forward-line so as to ignore fields.
12913
01c157cc
SM
129142011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12915
12916 * subr.el (with-wrapper-hook): Fix edebug spec.
12917
022de23e
LMI
129182011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12919
12920 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12921 (bug#4538).
12922
91683089
MA
129232011-09-23 Michael Albinus <michael.albinus@gmx.de>
12924
eca3f3ea
PW
12925 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12926 Fix nasty bug using wrong cached values.
91683089 12927
5bdd6fa4
AM
129282011-09-23 Alan Mackenzie <acm@muc.de>
12929
12930 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12931
97adfb97
CY
129322011-09-23 Chong Yidong <cyd@stupidchicken.com>
12933
12934 * window.el (pop-to-buffer): Ensure right window is selected if we
12935 chose another frame.
12936
d4ef2b50
EZ
129372011-09-22 Eli Zaretskii <eliz@gnu.org>
12938
12939 * simple.el (what-cursor-position): Use get-char-property-change
12940 and next-single-char-property-change, to be able to show display
12941 properties that come from overlays as well as text properties.
12942
72258fe5
CY
129432011-09-22 Chong Yidong <cyd@stupidchicken.com>
12944
12945 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12946
12947 * cmuscheme.el (run-scheme, switch-to-scheme):
12948 * cus-edit.el (customize-group, custom-buffer-create)
12949 (customize-browse):
12950 * info.el (info):
12951 * shell.el (shell):
12952 * mail/sendmail.el (mail):
12953 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12954
8f098516
RS
129552011-09-22 Richard Stallman <rms@gnu.org>
12956
12957 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12958 move back only to line beg, don't move back over blank lines.
12959
e74f1bb6
MA
129602011-09-22 Michael Albinus <michael.albinus@gmx.de>
12961
12962 * files.el (copy-directory): Set directory attributes only in case
12963 they could be retrieved from the source directory. (Bug#9565)
12964
bfeef8b6
DK
129652011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12966
12967 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12968 (hs-find-block-beginning, hs-hide-level-recursive):
12969 Ignore strings as well as comments. (Bug#9502)
12970
7e423bb8
AS
129712011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12972
12973 * progmodes/sql.el (sql-comint-postgres):
12974 Convert port number to a string. (Bug#9566)
12975
b4d72fcf
MR
129762011-09-22 Martin Rudalics <rudalics@gmx.at>
12977
12978 * window.el (quit-window): Undedicate window when switching to
12979 previous buffer. Reported by Thierry Volpiatto
12980 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12981 (special-display-popup-frame): When popping up a new frame reset
12982 its previous buffers to nil. Simplify code.
b4d72fcf 12983
a7b88dc6
MA
129842011-09-21 Michael Albinus <michael.albinus@gmx.de>
12985
12986 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12987 and process filter, as done also in `shell-command'.
12988
cf4eacfd
MR
129892011-09-21 Martin Rudalics <rudalics@gmx.at>
12990
eca3f3ea 12991 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12992 Call set-window-start with NOFORCE argument t.
12993 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12994 (quit-window): Reword doc-string. Handle new format of
12995 quit-restore parameter. Don't delete window if it has a
12996 previous buffer we can show instead of the present one.
12997 (display-buffer-record-window): Rewrite using a new format for
12998 the quit-restore window parameter
12999 (special-display-popup-frame, display-buffer-same-window)
13000 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13001 (display-buffer-pop-up-window, display-buffer-use-some-window):
13002 Adapt symbol passed to display-buffer-record-window.
13003 * help.el (help-window-setup): Handle new format of quit-restore
13004 parameter.
13005
8d28cb95
SM
130062011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13007
94ab793f
SM
13008 * faces.el (face-list): Fix docstring (bug#9564).
13009
8d28cb95
SM
13010 * window.el (display-buffer--action-function-custom-type):
13011 Don't include internal functions in the Custom interface.
13012
3820edeb
JL
130132011-09-20 Juri Linkov <juri@jurta.org>
13014
13015 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13016 (Info-forward-node, Info-backward-node, Info-next-preorder)
13017 (Info-last-preorder): Use it. (Bug#9528)
13018
5147931d
JL
130192011-09-20 Juri Linkov <juri@jurta.org>
13020
13021 * info.el (Info-last-preorder): Visit last menu item only when
13022 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13023
cf499a1a
JD
130242011-09-20 Julien Danjou <julien@danjou.info>
13025
13026 * password-cache.el (password-cache-remove): Remove entries even if the
13027 value is nil, so that password with a nil value (negative caching) is
13028 possible to invalidate.
13029
f84e2fe2
LM
130302011-09-20 Lawrence Mitchell <wence@gmx.li>
13031
13032 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13033 all whitespace around breakpoint. (Bug#9553)
13034 (f90-find-breakpoint): Only break at whitespace inside a comment.
13035
78054a46
SM
130362011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * minibuffer.el (completion-file-name-table): Keep track of errors.
13039 (completion-table-with-predicate): Handle the case where pred1 is nil.
13040 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13041
345083b2
SM
130422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13043
e24e27be
SM
13044 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13045 (debugger-return-value): Signal an error if the debugging context does
13046 not await any return value.
13047
345083b2
SM
13048 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13049 * image-mode.el (image-toggle-display-text)
13050 (image-toggle-display-image): Stay away from evil `intangible'.
13051
08d355e3
LL
130522011-09-19 Leo Liu <sdl.web@gmail.com>
13053
13054 * replace.el (occur-revert-arguments): Make it permanent-local.
13055 (occur-mode): Don't call font-lock-defontify.
13056
f01da43f
CY
130572011-09-19 Chong Yidong <cyd@stupidchicken.com>
13058
13059 * net/ldap.el (ldap-search-internal): Don't push empty search
13060 result (Bug#9508).
13061
b6072fa6
SM
130622011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13065
443d6696
MA
130662011-09-19 Michael Albinus <michael.albinus@gmx.de>
13067
13068 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13069 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13070
7cc6e154
JL
130712011-09-18 Juri Linkov <juri@jurta.org>
13072
13073 * buff-menu.el (Buffer-menu-mode-map):
13074 * dired.el (dired-mode-map):
13075 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13076 (lisp-interaction-mode-map):
13077 * emacs-lisp/package.el (package-menu-mode-map):
13078 * epa.el (epa-key-list-mode-map):
13079 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13080 (menu-bar-options-menu):
13081 * outline.el (outline-mode-menu-bar-map):
13082 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13083 * vc/vc-dir.el (vc-dir-menu-map):
13084 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13085 Capitalize non-function content words in menu item strings.
13086
13087 * dired.el (dired-mode-map): Add menu item for
13088 `image-dired-dired-toggle-marked-thumbs'.
13089
80302a81
JL
130902011-09-18 Juri Linkov <juri@jurta.org>
13091
13092 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13093 to `isearch-case-fold-search' and restore its original value
13094 after the `isearch-mode' call.
13095
46c5cf66
JL
130962011-09-18 Juri Linkov <juri@jurta.org>
13097
13098 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13099 because `zgrep' returns 1 for successful matches (bug#9226).
13100
d18b513b
JL
131012011-09-18 Juri Linkov <juri@jurta.org>
13102
13103 * info.el (Info-extract-menu-node-name): Check the second match
13104 for empty string (second test-case of bug#9528).
13105 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13106 intermediate nodes to the history (first test-case of bug#9528).
13107
72753f87
JL
131082011-09-18 Juri Linkov <juri@jurta.org>
13109
13110 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13111 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13112
c9384295
JL
131132011-09-18 Juri Linkov <juri@jurta.org>
13114
1154d12e
JB
13115 * info.el (Info-file-supports-index-cookies):
13116 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13117 outputs one more line for long file names (bug#4142).
c9384295 13118
d473dce8
CY
131192011-09-18 Chong Yidong <cyd@stupidchicken.com>
13120
13121 * newcomment.el (comment-normalize-vars): If prompting for
13122 comment-start, set comment-start-skip too (Bug#8424).
13123
2176854d
JB
131242011-09-18 Johan Bockgård <bojohan@gnu.org>
13125
13126 * icomplete.el: Fix previous fix of Bug#5849.
13127 (icomplete-mode): Don't set completion-show-inline-help.
13128 (icomplete-minibuffer-setup): Set completion-show-inline-help
13129 locally during icompletion.
13130
3aace4e4
CY
131312011-09-18 Chong Yidong <cyd@stupidchicken.com>
13132
c940224f
CY
13133 * woman.el (woman2-process-escapes): Don't delete unrecognized
13134 escapes (Bug#7843).
13135
3aace4e4
CY
13136 * files.el (inhibit-first-line-modes-regexps): Add image files.
13137 (hack-local-variables-prop-line): Return nil for malformed
13138 prop-lines (Bug#9044).
13139
710dec63
MA
131402011-09-18 Michael Albinus <michael.albinus@gmx.de>
13141
13142 * net/tramp.el (top): Don't require 'shell.
13143 (tramp-methods): Fix docstring.
13144 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13145 Return complete remote file name. Handle "smb" case.
13146 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13147 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13148
13149 * net/tramp-compat.el (top): Require 'shell.
13150
13151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13152 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13153 `tramp-current-host'.
13154 (tramp-get-remote-tmpdir): Remove.
13155
13156 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13157 `tramp-tmpdir' entries.
13158 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13159 (tramp-smb-handle-file-attributes): Ignore errors.
13160 (tramp-smb-wait-for-output): Check also for process end.
13161
5d5ac8ec
LMI
131622011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13163
13164 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13165 when sending QUIT (bug#9312).
13166
8c0f49f0
CY
131672011-09-17 Chong Yidong <cyd@stupidchicken.com>
13168
13169 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13170 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13171 occur-mode-display-occurrence.
13172 (occur-edit-mode): Add usage message.
13173 (occur-cease-edit): New command.
13174 (occur-after-change-function): Use text properties to find the
13175 position of the prefix text.
13176 (occur-engine): Set stickiness of prefix text properties.
13177
8f1383f7
GM
131782011-09-17 Glenn Morris <rgm@gnu.org>
13179
13180 * progmodes/etags.el (complete-tag):
13181 Fix call to completion-in-region. (Bug#9526)
13182
744ba0e3
JL
131832011-09-17 Juri Linkov <juri@jurta.org>
13184
13185 * textmodes/ispell.el (ispell-word): Add to the error message
13186 the word, ispell program name and current dictionary (bug#9121).
13187 (ispell-tex-arg-end): Capitalize "error" in the error message.
13188
d9bbf400
AS
131892011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13190
13191 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13192 check. (Bug#4251)
13193
8da11505
JL
131942011-09-17 Juri Linkov <juri@jurta.org>
13195
13196 * window.el (window-safe-min-height, window-safe-min-width):
13197 Fix typos (followup to bug#9522).
13198
a91adc7e
SJ
131992011-09-17 Sven Joachim <svenjoac@gmx.de>
13200
13201 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13202
064f328a
EZ
132032011-09-16 Eli Zaretskii <eliz@gnu.org>
13204
13205 * simple.el (line-move): If goal-column is set, move by logical
13206 lines, not by display lines. (Bug#971)
13207 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13208 to reflect the above change.
13209
e69df516
SM
132102011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * image.el (imagemagick-register-types): Use regexp-opt.
13213
cbb0f9ab
CY
132142011-09-15 Chong Yidong <cyd@stupidchicken.com>
13215
13216 * window.el (display-buffer-base-action): Rename from
13217 display-buffer-default-action. Make default value empty.
13218 (display-buffer-overriding-action): Convert to defvar.
13219 (display-buffer-fallback-action): New var.
13220
25322144
CY
132212011-09-15 Chong Yidong <cyd@stupidchicken.com>
13222
13223 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13224 declaration.
13225 (package--add-to-archive-contents): If there is a duplicate entry
13226 with an older version, remove it.
13227 (package-menu-mark-delete, package-menu-mark-install)
13228 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13229 (package-menu-mark-obsolete-for-deletion):
13230 Use package-menu-get-status instead of a regexp search.
25322144
CY
13231 (package-menu-get-status): Use tabulated-list-entry.
13232 (package-menu-mark-upgrades): New command.
d770725a 13233 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13234 (package-menu-execute): Do installation before deletion.
13235 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13236 instead of checking major-mode.
13237 (package-menu--find-upgrades): New function.
13238
7520339c
LMI
132392011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13240
13241 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13242 passwords in the log buffer.
65a046c4
LMI
13243 (smtpmail-process-filter): Update the process marker so that the
13244 "broken by peer" status message is inserted in the right place.
7520339c 13245
d3c30954
SM
132462011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13247
3fe48822
SM
13248 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13249 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13250 bibtex-completion-at-point-function.
13251 (bibtex-completion-at-point-function): Use them.
13252
1b8b3954
SM
13253 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13254
d3c30954
SM
13255 * mpc.el (mpc-constraints-tag-lookup): New function.
13256 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13257 also to browser "album|playlist".
13258
72779976
JL
132592011-09-14 Juri Linkov <juri@jurta.org>
13260
13261 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13262 (isearch-edit-string): Use length of `isearch-string' when
13263 `isearch-fail-pos' returns nil.
13264 (isearch-message): Remove duplicate code and call
13265 `isearch-fail-pos' with arg `t'.
13266
a0bf2bcd
CY
132672011-09-14 Chong Yidong <cyd@stupidchicken.com>
13268
17bb0a2d
CY
13269 * replace.el (occur-mode-goto-occurrence): Don't force using other
13270 window (Bug#9499).
13271
a0bf2bcd
CY
13272 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13273
f678e0b6
MR
132742011-09-14 Martin Rudalics <rudalics@gmx.at>
13275
13276 * window.el (display-buffer-window): Remove.
13277 (display-buffer-record-window): Use help-setup window parameter
13278 instead of variable display-buffer-window.
13279 (display-buffer-function, special-display-buffer-names)
13280 (special-display-function): Mention help-setup parameter instead
13281 of display-buffer-window in doc-string.
d3c30954
SM
13282 * help.el (help-window-setup): New argument help-window.
13283 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13284 Reword some messages.
13285 (with-help-window): Pass window used for displaying the buffer
13286 to help-window-setup. Don't set display-buffer-window.
13287
8e39b2e8
GM
132882011-09-13 Glenn Morris <rgm@gnu.org>
13289
13290 * emacs-lisp/debug.el (debugger-make-xrefs):
13291 Preserve point. (Bug#9462)
13292
85e9c04b
CY
132932011-09-13 Chong Yidong <cyd@stupidchicken.com>
13294
13295 * window.el (window-deletable-p): Use next-frame.
13296
1b36ed6a
MR
132972011-09-13 Martin Rudalics <rudalics@gmx.at>
13298
13299 * window.el (window-auto-delete): Remove.
13300 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13301 dedication and previous buffers.
1b36ed6a
MR
13302 (switch-to-prev-buffer): Don't delete window.
13303 (delete-windows-on): Delete a window's frame if and only if the
13304 window is dedicated.
13305 (replace-buffer-in-windows): Delete buffer's window or frame if
13306 and only if window is dedicated.
13307 (quit-window): Handle quit-restore as before last change.
4d61f28d 13308 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13309
ef8ef9fb
CY
133102011-09-13 Chong Yidong <cyd@stupidchicken.com>
13311
13312 * window.el (window-deletable-p): Never delete the last frame on a
13313 given terminal.
13314
b2cba41e
GM
133152011-09-13 Glenn Morris <rgm@gnu.org>
13316
13317 * help.el (describe-key-briefly): Copy previous standard-output change.
13318
51553db6 133192011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13320
13321 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13322
b7556719
GM
133232011-09-13 Glenn Morris <rgm@gnu.org>
13324
13325 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13326 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13327
64b51947
CY
133282011-09-12 Chong Yidong <cyd@stupidchicken.com>
13329
13330 * dired-aux.el (dired-mark-read-string): Don't return default
13331 value on empty input (Bug#9361).
13332 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13333 Omit initial minibuffer contents.
13334 (dired-do-chmod): Signal an error on empty input.
13335 (dired-mark-read-string): Don't return default on empty input.
13336
13337 * files.el (file-modes-symbolic-to-number): Doc fix.
13338
393a301e
SM
133392011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * international/mule-cmds.el (ucs-completions): Remove.
13342 (read-char-by-name): Use complete-with-action instead; add metadata.
13343
fa5660f9
CY
133442011-09-11 Chong Yidong <cyd@stupidchicken.com>
13345
13346 * window.el (display-buffer--action-function-custom-type)
13347 (display-buffer--action-custom-type): New vars.
13348 (display-buffer-alist, display-buffer-default-action)
13349 (display-buffer-overriding-action): Add defcustom types.
13350
4a592f66
CY
13351 * frame.el (delete-other-frames): Doc fix (Bug#276).
13352
73d56dbd
LMI
133532011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13354
13355 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13356
37ac18a3
CY
133572011-09-11 Chong Yidong <cyd@stupidchicken.com>
13358
13359 Change modes that used same-window-* vars to use switch-to-buffer.
13360
13361 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13362 Use switch-to-buffer.
13363
13364 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13365 (customize-browse, custom-buffer-create-other-window):
13366 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13367
13368 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13369 (Info-prev, Info-up, Info-speedbar-goto-node)
13370 (info-display-manual): Use switch-to-buffer.
13371 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13372
13373 * mail/sendmail.el (mail): Use switch-to-buffer.
13374 (mail-recover): Use switch-to-buffer-other-window.
13375
13376 * cmuscheme.el (run-scheme, switch-to-scheme):
13377 * ielm.el (ielm):
13378 * shell.el (shell):
13379 * net/rlogin.el (rlogin):
13380 * net/telnet.el (telnet, rsh):
13381 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13382
10195bd6
AS
133832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13384
13385 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13386
b322f63a
LMI
133872011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13388
39d7fed6
LMI
13389 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13390 so don't mention it (bug#9301).
ba5a81f1 13391 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13392
ee0e9f11
LMI
13393 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13394 match `x', `w32' and `ns', like the manual says (bug#9029).
13395
0b1c89c1 13396 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13397 (process-kill-buffer-query-function): Mention the buffer name in
13398 the query.
0b1c89c1 13399
77549ea8
LMI
13400 * image-mode.el (image-next-line): The line parameter is mandatory
13401 (bug#9258).
13402
803ef892
LMI
13403 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13404 which can be useful (bug#9301).
13405
12980837
LMI
13406 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13407
91054f8f
LMI
13408 * subr.el (match-string): Mention that the current buffer should
13409 be the same as the search was done in (bug#9282).
13410
b322f63a
LMI
13411 * facemenu.el: Disable the remove-* commands if the mark isn't
13412 active (bug#9162).
13413
3199b96f
CY
134142011-09-10 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13417 of display-buffer.
13418 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13419
13420 * replace.el (occur-mode-goto-occurrence)
13421 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13422 and display-buffer.
13423
13424 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13425 display-buffer.
13426
13427 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13428 special-display and same-window variables.
13429 (mail-other-window): Use switch-to-buffer-other-window.
13430 (mail-other-frame): USe switch-to-buffer-other-frame.
13431
393a301e
SM
13432 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13433 Use display-buffer-other-frame.
3199b96f
CY
13434 (gdb-display-gdb-buffer): Use pop-to-buffer.
13435
13436 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13437
13438 * progmodes/python.el: Don't set same-window-buffer-names.
13439
13440 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13441
13442 * window.el (display-buffer-alist): Add *Python*.
13443
8319e0bf
CY
134442011-09-10 Chong Yidong <cyd@stupidchicken.com>
13445
13446 * window.el (display-buffer-alist): Add entry for buffers
13447 previously handled same-window-*.
13448 (display-buffer-alist, display-buffer-default-action)
13449 (display-buffer-overriding-action): Mark as risky.
13450 (display-buffer-alist): Document action function changes.
13451 (display-buffer--same-window-action)
13452 (display-buffer--other-frame-action): New variables.
13453 (switch-to-buffer, display-buffer-other-frame): Use them.
13454 (display-buffer): Rename reuse-frame entry to reusable-frames.
13455 (display-buffer-reuse-selected-window): Function deleted.
13456 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13457 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13458 (display-buffer-special): New function.
13459 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13460 display-buffer-reuse-or-pop-window. Split off special-display
13461 part into display-buffer-special.
13462 (display-buffer-use-some-window): Don't perform any special
13463 pop-up-frames handling.
13464 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13465 (display-buffer--maybe-same-window): Rename from
0d3ff375 13466 display-buffer-maybe-same-window.
8319e0bf 13467
919a69aa
CY
13468 * info.el: Don't set same-window-regexps.
13469 (info-setup): New function.
13470 (info-other-window, info): Call it.
13471
13472 * cus-edit.el: Don't set same-window-regexps.
13473 (customize-group): New argument.
13474 (customize-group-other-window): Use it.
13475 (customize-face, customize-face-other-window): Likewise.
13476 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13477
8319e0bf
CY
13478 * net/rlogin.el:
13479 * net/telnet.el:
13480 * progmodes/gud.el: Don't set same-window-regexps.
13481
13482 * cmuscheme.el:
13483 * ielm.el:
13484 * shell.el:
13485 * mail/sendmail.el:
13486 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13487
25173000
JL
134882011-09-10 Juri Linkov <juri@jurta.org>
13489
13490 * isearch.el (isearch-edit-string): Remove obsolete mention of
13491 `C-w' (`isearch-yank-word-or-char') from docstring.
13492 (isearch-query-replace): Fix typo in docstring (bug#9466).
13493
056e44ef
JL
134942011-09-10 Juri Linkov <juri@jurta.org>
13495
13496 * paren.el (show-paren-function): Don't show escaped parens.
13497 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13498
c3760c17
EZ
134992011-09-10 Eli Zaretskii <eliz@gnu.org>
13500
13501 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13502 (mm-default-file-encoding): Remove autoload forms, they are
13503 replaced with autoload cookies in mml.el and mm-encode.el.
13504 (mail-add-attachment): New command.
13505 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13506 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13507 the doc string.
13508 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13509
fece895e
RT
135102011-09-10 Reuben Thomas <rrt@sc3d.org>
13511
e69df516
SM
13512 * simple.el (count-words-region): Use buffer if there's no region
13513 (bug#9429).
fece895e 13514
5e68ce4a
JL
135152011-09-09 Juri Linkov <juri@jurta.org>
13516
13517 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13518 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13519 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13520
0a6b9622
AM
135212011-09-09 Alan Mackenzie <acm@muc.de>
13522
13523 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13524 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13525
14a29deb
EZ
135262011-09-09 Eli Zaretskii <eliz@gnu.org>
13527
13528 Fix for Savannah bug#9392.
13529 * simple.el (mail-encode-mml): New defvar.
13530
13531 * mail/rmail.el (mail-encode-mml): Add a defvar.
13532 (rmail-enable-mime-composing): Default to t.
13533 (rmail-forward): Use MIME method of forwarding only if both
13534 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13535 Set mail-encode-mml non-nil if the MIME method was used.
13536
13537 * mail/sendmail.el (mml-to-mime): Add autoload form.
13538 (mail-encode-mml): Add a defvar.
13539 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13540 to nil.
13541 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13542 message through mml-to-mime, and reset mail-encode-mml to nil.
13543
28c45130
GM
135442011-09-09 Glenn Morris <rgm@gnu.org>
13545
13546 * woman.el (woman-if-body): When processing an .el block,
13547 do not delete the next .el block as well. (Bug#9447)
69f4b618 13548 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13549
9b1c252e
MR
135502011-09-08 Martin Rudalics <rudalics@gmx.at>
13551
13552 * window.el (window-deletable-p): Make sure window is live before
13553 invoking window-prev-buffers.
13554
567457e3
LL
135552011-09-08 Leo Liu <sdl.web@gmail.com>
13556
13557 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13558
97f05794
JL
135592011-09-08 Juri Linkov <juri@jurta.org>
13560
13561 * progmodes/compile.el (compilation-environment): Make it
13562 a defcustom (bug#8340).
13563
8b0874b5
MR
135642011-09-08 Martin Rudalics <rudalics@gmx.at>
13565
13566 * window.el (frame-auto-delete): Rename to window-auto-delete.
13567 Make it control auto-deletion of windows and/or frames.
13568 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13569 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13570 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13571 Rewrite handling of case when window/frame can be deleted.
13572 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13573 argument t. (Bug#9456)
8b0874b5 13574
4feb6e73
CY
135752011-09-07 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * help-mode.el (help-mode): Restore autoload.
13578
91ab9c13
JL
135792011-09-07 Juri Linkov <juri@jurta.org>
13580
13581 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13582 `compilation-environment'. Set buffer-local
13583 `compilation-environment' to `thisenv' later after (funcall mode).
13584 (Bug#8340)
13585
13586 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13587 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13588 instead of replacing its value. (Bug#8340)
13589
0527e251
JL
135902011-09-07 Juri Linkov <juri@jurta.org>
13591
13592 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13593 based on text properties put by `grep-filter' instead of matching
13594 escape sequences.
13595 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13596 to the value of `grep-error-screen-columns' (bug#9438).
13597
249f792c
JL
135982011-09-07 Juri Linkov <juri@jurta.org>
13599
13600 * simple.el (next-error-highlight, next-error-highlight-no-select):
13601 Doc fix (bug#9432).
13602
ff7271b9
OT
136032011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13604
13605 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13606 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13607
183fc730
LL
136082011-09-07 Leo Liu <sdl.web@gmail.com>
13609
13610 * net/rcirc.el (rcirc-mode): Conditionally initialize
13611 rcirc-input-ring.
13612
77694924
SM
136132011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * emacs-lisp/find-func.el (find-function-C-source): Only set
13616 find-function-C-source-directory after checking that we found a source
13617 file there (bug#9440).
13618
d809b8eb
AM
136192011-09-06 Alan Mackenzie <acm@muc.de>
13620
13621 * isearch.el (isearch-other-meta-char): Wherever a key list is
13622 unread, "unread" the prefix arg, too. This fixes bug #8901.
13623
453de99f
OG
136242011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13625
13626 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13627
90439906
JL
136282011-09-05 Juri Linkov <juri@jurta.org>
13629
13630 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13631
f62bd846
JL
136322011-09-05 Juri Linkov <juri@jurta.org>
13633
13634 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13635 keeping point where processing of grep matches begins, and
13636 continue to delete remaining escape sequences from the same point.
13637 (grep-filter): Make leading zero optional in "0?1;31m" because
13638 git-grep emits "\033[1;31m" escape sequences unlike expected
13639 "\033[01;31m" as GNU Grep does (bug#9408).
13640 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13641
045820ec
JL
136422011-09-05 Juri Linkov <juri@jurta.org>
13643
13644 * subr.el (y-or-n-p): Capitalize "yes".
13645
f5e29b9b
MA
136462011-09-04 Michael Albinus <michael.albinus@gmx.de>
13647
13648 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13649 `tramp-cache-unload-hook' where appropriate.
13650 (tramp-methods): Rename `tramp-remote-sh' to
13651 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13652 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13653
13654 * net/tramp-sh.el (top): Don't require 'shell.
13655 (tramp-methods): Add `tramp-remote-shell' and
13656 `tramp-remote-shell-args' entries.
13657 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13658 (tramp-sh-handle-shell-command): Remove.
13659 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13660 Use `tramp-remote-shell'.
13661
2784c434
CY
136622011-09-03 Chong Yidong <cyd@stupidchicken.com>
13663
393a301e 13664 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13665 (sendmail-query-once): Save directly to send-mail-function.
13666 Update message-send-mail-function too.
13667
13668 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13669
464cdf56
CS
136702011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13671
13672 * progmodes/python.el (python-mode-map): Use correct function to
13673 start python interpreter from menu-bar (as reported by Geert
13674 Kloosterman).
13675 (inferior-python-mode-map): Fix typo.
393a301e 13676 (python-shell-map): Remove.
464cdf56 13677
d37e5c87
DD
136782011-09-03 Deniz Dogan <deniz@dogan.se>
13679
13680 * net/rcirc.el (rcirc-print): Simplify code for
13681 rcirc-scroll-show-maximum-output. There is no need to walk
13682 through all windows to find the right one.
13683
f3ada0ee
CS
136842011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13685
13686 * help.el (help-return-method): Doc fix.
13687
1f3c99ca
MR
136882011-09-03 Martin Rudalics <rudalics@gmx.at>
13689
13690 * window.el (window-deletable-p): Don't return a non-nil value
13691 when there's a buffer that was shown in the window before.
13692 (Bug#9419)
393a301e
SM
13693 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13694 Set window's previous buffers to nil.
1f3c99ca 13695
a3cf097f
EZ
136962011-09-03 Eli Zaretskii <eliz@gnu.org>
13697
13698 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13699 newline before and after the tag line, so it doesn't interfere
13700 with determining the paragraph direction of bidirectional text.
13701
3d03de90
LL
137022011-09-03 Leo Liu <sdl.web@gmail.com>
13703
13704 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13705
c3313451
CY
137062011-09-02 Chong Yidong <cyd@stupidchicken.com>
13707
393a301e 13708 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13709 (pop-to-buffer): Change interactive spec. Pass second argument
13710 directly to display-buffer.
13711 (display-buffer): Fix interactive spec. Use functionp to
13712 distinguish between a function and a list of functions.
13713
13714 * abbrev.el (edit-abbrevs):
13715 * arc-mode.el (archive-extract):
13716 * autoinsert.el (auto-insert):
13717 * bookmark.el (bookmark-bmenu-list):
13718 * files.el (find-file):
13719 * view.el (view-buffer):
13720 * progmodes/compile.el (compilation-goto-locus):
13721 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13722
89894cd8
CY
137232011-09-02 Chong Yidong <cyd@stupidchicken.com>
13724
13725 * window.el (display-buffer-alist): Doc fix.
13726 (display-buffer): Add docstring. Don't treat
13727 display-buffer-default specially.
13728 (display-buffer-reuse-selected-window)
13729 (display-buffer-same-window, display-buffer-maybe-same-window)
13730 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13731 (display-buffer-pop-up-window)
13732 (display-buffer-reuse-or-pop-window)
13733 (display-buffer-use-some-window): New functions.
13734 (display-buffer-default-action): Use them.
393a301e 13735 (display-buffer-default): Delete.
89894cd8
CY
13736 (pop-to-buffer-1): Fix choice of actions.
13737
ae0bc9fb
SM
137382011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * minibuffer.el (completion--insert-strings): Don't get confused by
13741 completion entries that end with an LF char.
13742
e9d90883
EZ
137432011-09-01 Eli Zaretskii <eliz@gnu.org>
13744
13745 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13746
437014c8
CY
137472011-09-01 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13750 (display-buffer-same-window, display-buffer-other-window):
13751 New functions.
437014c8
CY
13752 (pop-to-buffer-1): New function. Use the above.
13753 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13754 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13755
13756 * view.el (view-buffer-other-window, view-buffer-other-frame):
13757 Just use pop-to-buffer.
13758
a5e063d5
TV
137592011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13760
13761 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13762
793d32bb
WH
137632011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13764
13765 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13766
d65e4c15
RS
137672011-08-31 Richard Stallman <rms@gnu.org>
13768
13769 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13770 of the separation of rmail-view-buffer from rmail-buffer.
13771 If you say no to "replace original", the decrypt is in the
13772 view buffer. If you say yes, the decrypt goes into the
13773 rmail buffer also.
13774
f818cd2a
MR
137752011-08-31 Martin Rudalics <rudalics@gmx.at>
13776
13777 * window.el (display-buffer-window): Rewrite doc-string.
13778 (display-buffer-record-window): New function.
13779 (display-buffer-macro-specifiers)
13780 (display-buffer-even-window-sizes, display-buffer-set-height)
13781 (display-buffer-set-width, display-buffer-in-window)
13782 (display-buffer-reuse-window, display-buffer-split-specifiers)
13783 (display-buffer-side-specifiers, display-buffer-split-window-1)
13784 (display-buffer-split-window, display-buffer-split-atom-window)
13785 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13786 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13787 (display-buffer-other-window-means-other-frame)
13788 (display-buffer-normalize-special)
13789 (display-buffer-normalize-default)
13790 (display-buffer-normalize-argument)
13791 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13792 (display-buffer-normalize-specifiers, display-buffer-frame)
13793 (display-buffer-same-window, display-buffer-same-frame)
13794 (display-buffer-other-window)
13795 (display-buffer-same-frame-other-window)
13796 (display-buffer-other-frame, pop-to-buffer-same-window)
13797 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13798 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13799 (switch-to-buffer-same-frame)
13800 (switch-to-buffer-other-window-same-frame)
13801 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13802 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13803 (display-buffer-alist-set): Remove.
13804 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13805 (special-display-regexps, special-display-function):
13806 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13807 parameter.
13808 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13809 (special-display-frame-alist, special-display-popup-frame)
13810 (same-window-buffer-names, same-window-regexps, same-window-p)
13811 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13812 (split-window-preferred-function, split-height-threshold)
13813 (split-width-threshold, window-splittable-p)
13814 (split-window-sensibly, window--try-to-split-window)
13815 (window--frame-usable-p, even-window-heights)
13816 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13817 (window--display-buffer-2, display-buffer-other-frame):
13818 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13819 (display-buffer-default, display-buffer-assq-regexp): New functions.
13820 (display-buffer-alist): Rewrite doc-string.
13821 (display-buffer-default-action)
13822 (display-buffer-overriding-action): New variables.
13823 (display-buffer, switch-to-buffer): Rewrite.
13824 (pop-to-buffer): Restore Emacs 23 behavior but use
13825 window-normalize-buffer-to-display.
13826 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13827 Restore Emacs 23 behavior but use
13828 window-normalize-buffer-to-switch-to.
13829 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13830 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13831 Rewrite using Emacs 23 options.
f818cd2a 13832
5bc3b51d
MA
138332011-08-31 Michael Albinus <michael.albinus@gmx.de>
13834
13835 * net/tramp.el (tramp-root-regexp): Remove.
13836 (tramp-completion-file-name-regexp-unified)
13837 (tramp-completion-file-name-regexp-separate)
13838 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13839 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13840 (tramp-drop-volume-letter): Simplify definition.
13841 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13842
b1a4f8e1
SM
138432011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13844
13845 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13846 (bug#9356).
13847
5664fa7b
RT
138482011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13849
b1a4f8e1 13850 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13851
9a45d6c3
JL
138522011-08-29 Juri Linkov <juri@jurta.org>
13853
13854 * isearch.el (isearch-done): Don't display message "Mark saved"
13855 when arg `edit' is non-nil to prevent its flicker in the echo area.
13856
fb87e0fb
CY
138572011-08-28 Chong Yidong <cyd@stupidchicken.com>
13858
13859 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13860 obsolete packages for deletion.
13861
09ac1c2a
CS
138622011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13863
13864 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13865 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13866 view-mode from help-mode.
13867 (help-xref-override-view-map): Remove.
13868 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13869 view-mode is not used anymore.
13870
7a1ff57f
CY
138712011-08-28 Chong Yidong <cyd@stupidchicken.com>
13872
13873 * server.el (server-port): Doc fix.
13874
b9696605
CY
13875 * cus-theme.el (custom-theme-choose-mode): Inherit from
13876 special-mode (Bug#9124).
13877 (custom-theme-choose-mode-map): Add special-mode to parent.
13878
ef8cdf8c
AM
138792011-08-28 Alan Mackenzie <acm@muc.de>
13880
13881 * progmodes/cc-fonts.el
13882 (c-make-font-lock-BO-decl-search-function): New function.
13883 (c-basic-matchers-after - "Fontify the clauses after various
13884 keywords"): Extract the three keyword lists for the 3 erroneous
13885 constructs from the list of four, and use the new function above
13886 in place of an old one.
13887
27de4e20
DD
138882011-08-28 Deniz Dogan <deniz@dogan.se>
13889
13890 * net/rcirc.el (rcirc-insert-prev-input)
13891 (rcirc-insert-next-input): Remove unused argument.
13892
356a3681
SM
138932011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13896
3fc9b218
AM
138972011-08-27 Alan Mackenzie <acm@muc.de>
13898
13899 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13900 handle function pointer parameters properly.
13901
538a061c
MR
139022011-08-27 Martin Rudalics <rudalics@gmx.at>
13903
13904 * window.el (display-buffer-reuse-window): Fix case where
13905 selected window was reused with non-nil OTHER-WINDOW argument.
13906 (Bug#9381)
13907
35b1c40c
DD
139082011-08-27 Deniz Dogan <deniz@dogan.se>
13909
13910 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13911 oftc's NickServ messages.
13912
2f6a3e79
GM
139132011-08-27 Glenn Morris <rgm@gnu.org>
13914
13915 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13916
7254299e
CY
139172011-08-26 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * emacs-lisp/package.el (package-install): Call package-initialize
13920 if called interactively.
13921
f8ccf167
LL
139222011-08-26 Leo Liu <sdl.web@gmail.com>
13923
13924 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13925
3e8cd5ce
JL
139262011-08-25 Juri Linkov <juri@jurta.org>
13927
13928 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13929 `search-whitespace-regexp' (bug#9364).
13930
93eb7113
JL
139312011-08-25 Juri Linkov <juri@jurta.org>
13932
13933 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13934 `regexp-search-ring' to their global values to protect from
13935 updating by `read-from-minibuffer' (bug#9185).
13936
f65d1611
JL
139372011-08-25 Juri Linkov <juri@jurta.org>
13938
13939 * textmodes/ispell.el (ispell-command-loop): Add newline
13940 at the end of the "Use option `i'..." line.
13941
f1cf7a31
JL
139422011-08-25 Juri Linkov <juri@jurta.org>
13943
13944 * battery.el (display-battery-mode): If `battery-status-function'
13945 or `battery-mode-line-format' is nil, display the message and set
13946 `display-battery-mode' to nil (bug#9363).
13947
0c95fcf7
EZ
139482011-08-25 Eli Zaretskii <eliz@gnu.org>
13949
13950 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13951 bidi-string-mark-left-to-right; they are unnecessary now.
13952
a2ebe600
DD
139532011-08-25 Deniz Dogan <deniz@dogan.se>
13954
13955 * net/quickurl.el: Documentation typo fixes.
13956
e4ed06f1
CY
139572011-08-25 Chong Yidong <cyd@stupidchicken.com>
13958
13959 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13960
e5f1c99e
GM
139612011-08-25 Glenn Morris <rgm@gnu.org>
13962
b2948976
GM
13963 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13964
e5f1c99e
GM
13965 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13966 (smtpmail-via-smtp): Handle nil response from smtp.
13967
f22f4808
JL
139682011-08-24 Juri Linkov <juri@jurta.org>
13969
13970 * proced.el (proced-marked): Inherit from `error' instead of
13971 `font-lock-warning-face'.
13972
13973 * ibuffer.el (ibuffer-marked-face): Change default face from
13974 `font-lock-warning-face' to `warning'.
13975 (ibuffer-deletion-face): Change default face from
13976 `font-lock-type-face' to `error'.
13977
13978 * battery.el (battery-update): Use the face `error' instead of
13979 `font-lock-warning-face' (bug#6117).
13980
6a93965e
JL
139812011-08-24 Juri Linkov <juri@jurta.org>
13982
13983 * faces.el (success): Change face color from "Green3" to
13984 "ForestGreen" on light background (bug#9353).
13985
1ed43b09
CY
139862011-08-24 Chong Yidong <cyd@stupidchicken.com>
13987
5664fa7b
RT
13988 * window.el (quit-window): Rename from quit-restore-window.
13989 Use same arglist as old quit-window.
1ed43b09
CY
13990 (frame-auto-delete): Doc fix.
13991
13992 * view.el (view-mode-exit): Use quit-window.
13993
11dcdbb2
JL
139942011-08-24 Juri Linkov <juri@jurta.org>
13995
13996 * isearch.el (isearch-ring-adjust1): Start visiting previous
13997 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13998 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13999 for empty search string (when the last search string is reused
14000 automatically) to adjust the isearch ring to the last element and
14001 prepare the correct index for further M-p commands (bug#9185).
14002
de62b4df
KH
140032011-08-24 Kenichi Handa <handa@m17n.org>
14004
14005 * international/ucs-normalize.el: If decomposition property of
14006 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14007 nil.
14008 (nfd, nfkd): Likewise.
14009
963b492b
SM
140102011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14011
14012 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14013 from process filters aren't reliably transmitted to the surrounding
14014 accept-process-output.
14015 (mpc-proc-check): New function.
14016 (mpc-proc-sync): Use it (bug#8293)
14017
93b6b5e1
SM
140182011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14019
14020 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14021 Add compatibility functions (bug#9313).
14022
bca633fb
EZ
140232011-08-23 Eli Zaretskii <eliz@gnu.org>
14024
b177498a
EZ
14025 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14026
6df6ae42 14027 * international/uni-bidi.el: Regenerate.
bca633fb 14028
0902a04e
KH
140292011-08-23 Kenichi Handa <handa@m17n.org>
14030
14031 * international/charprop.el:
14032 * international/uni-bidi.el:
14033 * international/uni-category.el:
14034 * international/uni-combining.el:
14035 * international/uni-comment.el:
14036 * international/uni-decimal.el:
14037 * international/uni-decomposition.el:
14038 * international/uni-digit.el:
14039 * international/uni-lowercase.el:
14040 * international/uni-mirrored.el:
14041 * international/uni-name.el:
14042 * international/uni-numeric.el:
14043 * international/uni-old-name.el:
14044 * international/uni-titlecase.el:
14045 * international/uni-uppercase.el: Regenerate.
14046
3bbf23bc
MR
140472011-08-23 Martin Rudalics <rudalics@gmx.at>
14048
14049 * help.el (help-window-setup): Fix message displayed when other
14050 window is reused. (Bug#9341)
14051
b3fd59bd
SM
140522011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14053
1802e444
SM
14054 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14055 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14056
b3fd59bd
SM
14057 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14058 Mark obsolete.
14059 * shell.el (shell-parse-pcomplete-arguments): New function.
14060 (shell-completion-vars): Use it instead (bug#9160).
14061
4eb61348
SM
140622011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14063
867cab74
SM
14064 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14065 strings and comments (bug#9333).
14066
4eb61348
SM
14067 * emacs-lisp/debug.el (debug-arglist): New function.
14068 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14069 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14070
262a1439
JL
140712011-08-22 Juri Linkov <juri@jurta.org>
14072
56ee679c
JL
14073 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14074 Revert regexp that highlights output switches to its old
14075 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14076
262a1439
JL
14077 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14078 to check for empty output (bug#9226).
14079
f13f86fb
CY
140802011-08-22 Chong Yidong <cyd@stupidchicken.com>
14081
14082 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14083 symbol-constituent as the default, as that stops font-lock from
14084 working properly (Bug#8843).
14085
c65c9622
LMI
140862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14087
14088 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14089 `coding-system-for-*' around the process open call to avoid
14090 auth-source side effects.
e7f2c178 14091 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14092 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14093 probe hangs.
c65c9622 14094
23a8a5ab
CY
140952011-08-21 Chong Yidong <cyd@stupidchicken.com>
14096
ff98b2dd
CY
14097 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14098
23a8a5ab
CY
14099 * emacs-lisp/find-func.el (find-function-noselect): New arg
14100 lisp-only.
14101
14102 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14103 signal an error for built-in functions (Bug#6664).
14104
f5e3c598
LMI
141052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14106
14107 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14108 (smtpmail-try-auth-methods): Use it.
14109
a3f2468a
CY
141102011-08-21 Chong Yidong <cyd@stupidchicken.com>
14111
2c34e8da
CY
14112 * font-lock.el (font-lock-fontify-region)
14113 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14114 (font-lock-default-unfontify-buffer)
14115 (font-lock-default-fontify-region)
14116 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14117
b3fd59bd
SM
14118 * progmodes/compile.el (compilation-error-properties):
14119 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14120 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14121 `ant' regexp.
ee31aabc 14122
a3f2468a
CY
14123 * net/browse-url.el (browse-url-firefox): Don't call
14124 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14125
8e999f70
GM
141262011-08-20 Glenn Morris <rgm@gnu.org>
14127
c21a496a
GM
14128 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14129
59ee0542
GM
14130 * tutorial.el (tutorial--default-keys): Update some default bindings.
14131
8e999f70
GM
14132 * files.el (hack-local-variables): Fully ignore case for "mode:".
14133
e3715033
AM
141342011-08-20 Alan Mackenzie <acm@muc.de>
14135
14136 Resolve invalid use of a regexp in regexp-opt.
14137
4d61f28d
JB
14138 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14139 detection for a java annotation.
e3715033 14140
4d61f28d 14141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14142 detection for a java annotation.
14143
4d61f28d
JB
14144 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14145 handling for java.
e3715033
AM
14146 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14147
04ed2e9c
CY
141482011-08-20 Chong Yidong <cyd@stupidchicken.com>
14149
14150 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14151 (Bug#9274).
14152
826cee64
AM
141532011-08-20 Alan Mackenzie <acm@muc.de>
14154
58179cce 14155 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14156 such a construct. Mainly for when jit-lock etc. starts a chunk
14157 here.
14158
58179cce 14159 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14160 variable.
58179cce 14161 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14162 c-make-font-lock-search-function.
14163 (c-make-font-lock-search-function): Use the above function.
14164 (c-make-font-lock-context-search-function): New function.
14165 (c-cpp-matchers): Enhance the preprocessor expression case with
14166 the above function
14167 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14168 which takes an expression.
14169
14170 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14171
13009bd8
MR
141722011-08-20 Martin Rudalics <rudalics@gmx.at>
14173
14174 * window.el (display-buffer-reuse-window)
14175 (display-buffer-pop-up-window): Don't reuse or split a side
14176 window.
14177
9234ff7f
GM
141782011-08-19 Glenn Morris <rgm@gnu.org>
14179
14180 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14181 Downcase "Mode:". (Bug#9331)
9234ff7f 14182
f635daa1
CY
141832011-08-18 Chong Yidong <cyd@stupidchicken.com>
14184
14185 * international/characters.el: Add L and R categories.
14186
14187 * subr.el (bidi-string-mark-left-to-right): Rename from
14188 string-mark-left-to-right. Use category search.
14189
14190 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14191
bc987f8b
JL
141922011-08-18 Juri Linkov <juri@jurta.org>
14193
14194 * faces.el (error, warning, success): New faces with definitions
14195 copied from old default values of `font-lock-warning-face',
14196 `compilation-warning', `compilation-info' (bug#6117).
14197
14198 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14199
14200 * progmodes/compile.el (compilation-error): Inherit from `error'.
14201 (compilation-warning): Inherit from `warning'.
14202 (compilation-info): Inherit from `success'.
14203
14204 * dired.el (dired-marked): Inherit from `warning'.
14205 (dired-flagged): Inherit from `error'.
14206
57173b96
LMI
142072011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14208
3e79eb87
LMI
14209 * mail/smtpmail.el (auth-source): Require to avoid problems with
14210 binding variables (bug#9298). Also clean up some unused
14211 autoloads.
14212
b3fd59bd
SM
14213 * net/network-stream.el (network-stream-open-starttls):
14214 Support using starttls.el without using gnutls-cli.
57173b96 14215
02b404de
JL
142162011-08-17 Juri Linkov <juri@jurta.org>
14217
14218 * progmodes/grep.el (rgrep): Handle the case when
14219 `grep-find-command' is a cons cell (bug#9278).
14220
8c9177f2
MR
142212011-08-17 Martin Rudalics <rudalics@gmx.at>
14222
14223 * window.el (display-buffer-pop-up-frame): Run frame creation
14224 function with BUFFER current (as special-display-popup-frame
14225 does). Reported by Drew Adams.
14226
3644a0ab
DU
142272011-08-17 Daiki Ueno <ueno@unixuser.org>
14228
14229 * epa-mail.el: Simplify GnuPG group expansion using
14230 epg-expand-group.
14231 (epa-mail-group-alist, epa-mail-group-modtime)
14232 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14233 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14234 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14235 Remove.
14236
5e617bc2 142372011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14238
14239 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14240
9c4aeabf
AM
142412011-08-16 Alan Mackenzie <acm@muc.de>
14242
14243 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14244 Correct, to avoid the inside of macros.
14245
3a99bf64
RS
142462011-08-16 Richard Stallman <rms@gnu.org>
14247
04963aa8
RS
14248 * epa-mail.el: Handle GnuPG group definitions.
14249 (epa-mail-group-alist, epa-mail-group-modtime)
14250 (epa-mail-gnupg-conf-file): New variables.
14251 (epa-mail-parse-groups, epa-mail-sync-groups)
14252 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14253 (epa-mail-expand-recipients): New functions.
14254 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14255
177549d0
RS
14256 * mail/rmail.el (rmail-epa-decrypt): New command.
14257
fe38beef
RS
14258 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14259 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14260 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14261 (epa-decrypt-armor-in-region): Make error message clearer.
14262
934eacb9
SM
142632011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14264
14265 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14266 and "a2b" to "ab" for `prefix'.
14267
d024fb4e
CY
142682011-08-14 Chong Yidong <cyd@stupidchicken.com>
14269
14270 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14271 filter groups.
de148fee
CY
14272 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14273 Fourquet (Bug#8804).
d024fb4e 14274
62f1ca49
JB
142752011-08-12 Juanma Barranquero <lekktu@gmail.com>
14276
14277 * startup.el (argi): Declare as global variable (bug#9275).
14278
9ccaaa4b
CY
142792011-08-12 Chong Yidong <cyd@stupidchicken.com>
14280
14281 * subr.el (string-mark-left-to-right): Search the entire string
14282 for RTL script, not just the terminating character. Doc fix.
14283
a3dae87a
SM
142842011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14285
6cd18349
SM
14286 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14287 New function.
14288 (js--regexp-literal, js-syntax-propertize-function): Remove.
14289 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14290 (js-mode-map): Don't rebind electric keys.
14291 (js-insert-and-indent): Remove.
14292 (js-mode): Setup electric-layout and electric-indent instead.
14293
a3dae87a
SM
14294 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14295
9d5cb631
DU
142962011-08-12 Daiki Ueno <ueno@unixuser.org>
14297
14298 * epa.el (epa-progress-callback-function): Fix the logic of
14299 displaying progress.
14300 * epa-file.el (epa-file-insert-file-contents): Make progress
14301 display more user-friendly.
14302 (epa-file-write-region): Ditto.
14303
3e26a4a2
CY
143042011-08-10 Chong Yidong <cyd@stupidchicken.com>
14305
14306 * subr.el (string-mark-left-to-right): New function.
14307
14308 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14309 Use string-mark-left-to-right.
14310 (list-buffers-noselect): Caller changed.
14311
a3dae87a
SM
14312 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14313 Use string-mark-left-to-right.
3e26a4a2
CY
14314 (tabulated-list-print): Recenter after moving point.
14315
ac8cf6e6
JL
143162011-08-10 Juri Linkov <juri@jurta.org>
14317
14318 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14319 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14320 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14321
8d96c9a4
CY
143222011-08-09 Chong Yidong <cyd@stupidchicken.com>
14323
14324 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14325 (Bug#7554).
14326
7be1c708 143272011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14328
14329 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14330 character. (Bug#6594)
14331
37e11a63
CY
143322011-08-08 Chong Yidong <cyd@stupidchicken.com>
14333
839dde57
CY
14334 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14335 (image-dired--with-db-file): New macro.
14336 (image-dired-write-tags, image-dired-remove-tag)
14337 (image-dired-create-gallery-lists, image-dired-write-comments)
14338 (image-dired-get-comment, image-dired-mark-tagged-files)
14339 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14340 (image-dired-gallery-generate): Use insert-file-contents.
14341
37e11a63
CY
14342 * time.el (display-time-world-list, display-time-world-display):
14343 * time-stamp.el (time-stamp-string):
14344 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14345 set-time-zone-rule (Bug#7337).
14346
0b4946c4
DU
143472011-08-08 Daiki Ueno <ueno@unixuser.org>
14348
14349 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14350 (epg-error-to-string, epg-errors-to-string): New function.
14351 (epg-wait-for-completion): Reverse errors list.
14352 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14353 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14354 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14355 (epg-sign-keys, epg-generate-key-from-file)
14356 (epg-generate-key-from-string): Format errors by using
14357 epg-errors-to-string (bug#9255).
14358 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14359
75bfc667
JL
143602011-08-07 Juri Linkov <juri@jurta.org>
14361
14362 * faces.el (list-faces-display): Remove extra angle bracket
14363 from `help-mode-map'.
14364
14365 * info.el (Info-history-toc-nodes): Doc fix.
14366
14367 * longlines.el (longlines-mode): Doc fix.
14368
673e08bb
SM
143692011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14370
4640dd88
SM
14371 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14372 of statements and in a few more cases (bug#9183).
14373
673e08bb
SM
14374 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14375 New functions.
14376 (cl-transform-lambda): Use them (bug#9239).
14377
89b3f019
MR
143782011-08-05 Martin Rudalics <rudalics@gmx.at>
14379
14380 * window.el (display-buffer-same-window)
14381 (display-buffer-same-frame, display-buffer-other-window)
14382 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14383 (pop-to-buffer-other-window)
14384 (pop-to-buffer-same-frame-other-window)
14385 (pop-to-buffer-other-frame): Make them defuns.
14386 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14387
640c8776
SM
143882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14389
14390 * subr.el (make-composed-keymap): Move from C. Change calling
14391 convention, and improve docstring to bring attention to a subtle point.
14392 * minibuffer.el (completing-read-default): Adjust accordingly.
14393
63648a95
MA
143942011-08-03 Michael Albinus <michael.albinus@gmx.de>
14395
14396 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14397 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14398
14399 * net/trampver.el: Update release number.
14400
b796c9b7
SM
144012011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14402
14403 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14404 "in" (bug#9190).
14405
2239d7d5
LMI
144062011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14407
e07dd7c3
LMI
14408 * mail/sendmail.el (sendmail-query-once): Restore the current
14409 buffer after querying (bug#9074).
14410
0e6a2bd7
LMI
14411 * dired.el (dired-flagged): Use different faces for marked and
14412 flagged files (bug#6117).
14413
ce887515
LMI
14414 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14415 (bug#4433).
14416
92f2affc
LMI
14417 * ido.el (ido-mode): Switch off the message if called
14418 non-interactively.
14419
57d5aff0
LMI
14420 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14421 before 587, since it appears that that's more likely to work for
14422 more people.
14423
98cd6c18 14424 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14425 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14426 exist.
14427
b96dec83
LMI
14428 * info.el: Remove the `Info-beginning-of-buffer' function
14429 (bug#8325).
14430
b796c9b7
SM
14431 * net/network-stream.el (network-stream-open-starttls):
14432 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14433
d90e2ea0
MR
144342011-08-01 Martin Rudalics <rudalics@gmx.at>
14435
14436 * window.el (display-buffer-in-window): Don't set dedicated status
14437 of window here (Bug#9215).
14438 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14439 (display-buffer-pop-up-side-window)
b796c9b7 14440 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14441
cca09170
SM
144422011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14445 before binding generated-autoload-file.
14446
027b979c
DD
144472011-08-01 Deniz Dogan <deniz@dogan.se>
14448
14449 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14450
3c7ee4f3
MA
144512011-07-30 Michael Albinus <michael.albinus@gmx.de>
14452
14453 Sync with Tramp 2.2.2.
14454
14455 * net/trampver.el: Update release number.
14456
2cc8e51a
JL
144572011-07-30 Juri Linkov <juri@jurta.org>
14458
14459 * dired-aux.el (dired-touch-initial): Remove function.
14460 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14461 current time, and `default' to the last modification time of the
14462 current marked file (bug#6887).
14463
a514d856
JM
144642011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14465
14466 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14467 numeric argument to read-number (bug#9163).
a514d856 14468
8a7eddd7
MA
144692011-07-27 Michael Albinus <michael.albinus@gmx.de>
14470
14471 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14472 connection process, it could be nil.
14473
1ddd96f5
LL
144742011-07-27 Leo Liu <sdl.web@gmail.com>
14475
14476 Simplify url handling in rcirc-mode.
14477
14478 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14479 (rcirc-browse-url-at-mouse): Remove.
14480 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14481
b248a85d
AM
144822011-07-26 Alan Mackenzie <acm@muc.de>
14483
14484 Fontify bitfield declarations properly.
14485
14486 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14487 (c-symbol-chars): Now exported as a lang variable.
14488 (c-not-primitive-type-keywords): New lang variable.
14489
14490 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14491 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14492 parsed as a bitfield declaration.
b248a85d 14493
b796c9b7
SM
14494 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14495 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14496 (c-punctuation-in): New function.
14497 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14498 declarations properly.
14499
68575ab0
UJ
145002011-07-26 Ulf Jasper <ulf.jasper@web.de>
14501
14502 * calendar/icalendar.el (icalendar--all-events): Take care of
14503 multiple vcalendars in a single file.
b796c9b7 14504 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14505
0f0a88b9
DD
145062011-07-25 Deniz Dogan <deniz@dogan.se>
14507
14508 * image.el (insert-image): Clarifying docstring.
14509
0b3f36df
MA
145102011-07-24 Michael Albinus <michael.albinus@gmx.de>
14511
14512 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14513 `tramp-send-command-and-check' if there is no error.
14514 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14515
a9901f61
AM
145162011-07-22 Alan Mackenzie <acm@muc.de>
14517
14518 Prevent cc-langs.elc being loaded at run time.
14519
14520 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14521 cc-langs.
14522
4d61f28d 14523 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14524 "(require 'cc-langs)". Quote a form so it will evaluate at
14525 (cc-mode's) compilation time.
14526
11d074b2
MA
145272011-07-22 Michael Albinus <michael.albinus@gmx.de>
14528
14529 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14530 loading. (Bug#9114)
14531
938b94c8
MR
145322011-07-21 Martin Rudalics <rudalics@gmx.at>
14533
14534 * window.el (display-buffer-pop-up-window)
14535 (display-buffer-pop-up-side-window)
14536 (display-buffer-in-side-window): Call display-buffer-set-height
14537 and display-buffer-set-width after setting the new window's
b796c9b7 14538 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14539
bfa4f190
SS
145402011-07-20 Sam Steingold <sds@gnu.org>
14541
14542 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14543 (etags-tags-included-tables): Call `convert-standard-filename' on
14544 the file names contained in TAGS so that windows Emacs can handle
14545 TAGS files created by cygwin ctags.
14546
8ca42262
LMI
145472011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14548
14549 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14550 which apparently didn't work.
14551
5db2afd2 145522011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14553
5db2afd2
RW
14554 * proced.el (proced-send-signal): For *Marked Processes* buffer
14555 put point at beginning of buffer.
14556
92e15d10
SB
145572011-07-19 Stephen Berman <stephen.berman@gmx.net>
14558
14559 * proced.el (proced-format): Make header lines align with the text
14560 (bug#1779).
14561
1bfd59e5
LMI
145622011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14563
14564 * view.el (view-buffer): Allow running in `special' modes if we're
14565 visiting a file (bug#8615).
14566
f5aae37c
MR
145672011-07-19 Martin Rudalics <rudalics@gmx.at>
14568
14569 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14570 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14571 New functions.
f5aae37c
MR
14572 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14573 more accurately.
14574
bf2c1571
AM
145752011-07-18 Alan Mackenzie <acm@muc.de>
14576
14577 Fontify declarators properly when, e.g., a jit-lock chunk begins
14578 inside a declaration.
14579
14580 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14581
b796c9b7
SM
14582 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14583 New function.
bf2c1571
AM
14584 (c-complex-decl-matchers): Insert reference to
14585 c-font-lock-enclosing-decls.
14586
14587 * progmodes/cc-engine.el (c-backward-single-comment):
14588 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14589 to nil around calls to (forward-comment -1).
14590
4e190b80
LMI
145912011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14592
12dc863d
LMI
14593 * image.el (put-image): Doc typo fix.
14594
a762e966
LMI
14595 * progmodes/etags.el (tags-search): Doc typo fix.
14596
4e190b80
LMI
14597 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14598 password if we get errors 550 to 554.
14599
f019fb21
LMI
146002011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601
b796c9b7 14602 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14603
81746738
LMI
14604 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14605 indentation character (bug#6380).
14606
3ee3a1b5
LMI
14607 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14608
c82f64de
LMI
14609 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14610 to clarify what the problem is (bug#4291).
14611
f019fb21
LMI
14612 * simple.el (current-kill): Clarify what
14613 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14614 (auto-fill-mode): Document `auto-fill-function' in relation to
14615 `auto-fill-mode' (bug#2470).
f019fb21 14616
0794775d
LM
146172011-07-16 Lawrence Mitchell <wence@gmx.li>
14618
14619 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14620 method if slot is read-only (bug#9035).
14621
be39b8cc
MR
146222011-07-16 Martin Rudalics <rudalics@gmx.at>
14623
b796c9b7 14624 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14625 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14626 selected before, see discussion of (Bug#8615), (Bug#6954).
14627 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14628
6ccf7859
GM
146292011-07-15 Glenn Morris <rgm@gnu.org>
14630
14631 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14632 Respect help-form.
6ccf7859 14633
87e86684
LM
146342011-07-09 Lawrence Mitchell <wence@gmx.li>
14635
14636 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14637 (gnutls-negotiate): Use it.
14638
d6066239
LMI
146392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14640
b796c9b7
SM
14641 * net/gnutls.el (gnutls-negotiate):
14642 Upcase `gnutls-algorithm-priority'.
d6066239 14643
bd23ebc0
GM
146442011-07-15 Glenn Morris <rgm@gnu.org>
14645
c65bca65
GM
14646 * jka-compr.el (jka-compr-verbose): Move from here...
14647 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14648 Add missing :version tag.
14649 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14650
478615cc
LMI
146512011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14652
7b41decb
LMI
14653 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14654 (gnutls-negotiate): Use it.
14655
dbc44fcd
LMI
14656 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14657
06789f97
LMI
14658 * info.el (Info-beginning-of-buffer): New command.
14659 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14660 announcing `b' as the key (bug#8325).
ab896c37 14661 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14662
c39da690
LMI
14663 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14664
3aa5f34b
LMI
14665 * international/mule-cmds.el
14666 (describe-specified-language-support): Make the error message
14667 clearer (bug#8905).
14668
4bf0979f
LMI
14669 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14670
478615cc
LMI
14671 * isearch.el (isearch-barrier): Add a doc string, since it's
14672 mentioned in a function doc string (bug#8678).
14673
75c68aa1
MR
146742011-07-15 Martin Rudalics <rudalics@gmx.at>
14675
14676 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14677 buffer argument (Bug#9083) and self-identifying label argument.
14678
a7c33da2
GM
146792011-07-15 Glenn Morris <rgm@gnu.org>
14680
14681 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14682
2f5c6024
LMI
146832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14684
14685 * man.el (Man-fontify-manpage): Fix message when formatting the
14686 man page (bug#7929).
14687
0bb23927 146882011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14689
14690 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14691 argument LRM; if non-nil, append an invisible LRM character to the
14692 buffer name.
14693 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14694 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14695 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14696 paragraph direction.
cce4b0a7 14697
621ef9ab
LMI
146982011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14699
d1583c48
LMI
14700 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14701 the man page name (bug#7929).
14702
6a57fb5f
LMI
14703 * image.el (put-image): Mention the `put-image' overlay property
14704 (bug#7834).
14705
d7956b14
LMI
14706 * scroll-bar.el (set-scroll-bar-mode): Mention that
14707 `scroll-bar-mode' lists the values (bug#7772).
14708
5b2d4a66
LMI
14709 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14710 command (bug#7729).
14711
7509a874
LMI
14712 * rect.el (apply-on-rectangle): Return the point after the last
14713 operation.
14714 (string-rectangle): Go to the point after the last operation
14715 (bug#7522).
14716
4fe74b19
LMI
14717 * printing.el (pr-toggle-region): Clarify the documentation
14718 slightly (bug#7493).
14719
b796c9b7
SM
14720 * time.el (display-time-update):
14721 Allow `display-time-mail-function' to return nil (bug#7158).
14722 Fix suggested by Detlev Zundel.
ab283561 14723
fc233c9d
LMI
14724 * vc/diff.el (diff): Clarify the order the file names are read
14725 (bug#7111).
14726
43f5740b
LMI
14727 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14728 the doc string (bug#7015).
14729
f2182a76
LMI
14730 * font-lock.el (font-lock-maximum-decoration): Mention what
14731 numeric levels mean (bug#6935).
14732
621ef9ab
LMI
14733 * startup.el (initial-buffer-choice): Don't mention the `none'
14734 selection, which is against policy.
14735
adc47434
MR
147362011-07-14 Martin Rudalics <rudalics@gmx.at>
14737
b796c9b7
SM
14738 * window.el (display-buffer-normalize-special):
14739 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14740
7e5bfb8f
EZ
147412011-07-14 Eli Zaretskii <eliz@gnu.org>
14742
14743 * subr.el (version<, version<=, version=): Mention "-CVS" and
14744 "-12345" alpha version numbers.
14745
27fa387a
CY
147462011-07-14 Chong Yidong <cyd@stupidchicken.com>
14747
14748 * bindings.el: Add advertised binding for set-mark-command
14749 (Bug#5772).
14750
8bdfa064
CY
147512011-07-14 Chong Yidong <cyd@stupidchicken.com>
14752
14753 * bindings.el (mode-line-other-buffer):
14754 * bookmark.el (bookmark-bmenu-2-window):
14755 * bs.el (bs-cycle-next, bs-cycle-previous):
14756 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14757 switch-to-buffer.
14758
14759 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14760 Delete.
8bdfa064 14761
5eba16a3
JB
147622011-07-14 Juanma Barranquero <lekktu@gmail.com>
14763
14764 * follow.el (follow-debug-message, follow-redisplay):
14765 * jka-cmpr-hook.el (with-auto-compression-mode):
14766 Fix typos in docstrings.
14767
15853710
LMI
147682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14769
a28e4607
LMI
14770 * subr.el (with-silent-modifications): Clarify somewhat what the
14771 macro inhibits (bug#6525).
14772
15853710
LMI
14773 * simple.el (eval-expression): Note what it does if called
14774 interactively (bug#6495).
14775
bee0fcef
CY
147762011-07-13 Chong Yidong <cyd@stupidchicken.com>
14777
b796c9b7
SM
14778 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14779 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14780
14781 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14782 Remove switch-to-buffer.
14783
58274504
LMI
147842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14785
bd2fcc8d
LMI
14786 * files.el (make-directory): Clarify that an error will be raised
14787 if there's an error (bug#6397).
14788
0f04b32c
LMI
14789 * startup.el (initial-buffer-choice): Add `none' as a choice
14790 (bug#6234).
14791
465c5fc8
LMI
14792 * subr.el (add-hook): Clarify section about buffer-local hooks
14793 (bug#6218).
14794
58274504
LMI
14795 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14796
bead9a43
JB
147972011-07-13 Juanma Barranquero <lekktu@gmail.com>
14798
14799 * tabify.el (untabify): Preserve the current column so that point
14800 doesn't move (bug#6032).
14801
3af98a7b
LMI
148022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14803
b796c9b7
SM
14804 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14805 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14806
6240145a
GM
148072011-07-13 Glenn Morris <rgm@gnu.org>
14808
14809 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14810 (dired-insert-directory): Give a message the first time
14811 if ls is found not to support --dired.
14812
1d8c2ccc
LMI
148132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14814
14815 * simple.el (toggle-truncate-lines): Clarify what is toggled
14816 (bug#5580). Text by Drew Adams.
14817
5fc4038e
CY
148182011-07-13 Chong Yidong <cyd@stupidchicken.com>
14819
14820 * simple.el (blink-matching-open): Make the error message from the
14821 last change less verbose.
14822
bf6012e5
DN
148232011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14824
14825 * font-lock.el (font-lock-comment-face): Use the high contrast
14826 "yellow" color for font-lock-comment-face on low color terminals
14827 using a dark background color (bug#4221).
14828
343c3b5a
LMI
148292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14830
7e9505c5
LMI
14831 * dired.el (dired-insert-set-properties): Make the doc string
14832 reflect what it does now (bug#5325).
14833
c26fdcf5
LMI
14834 * simple.el (blink-matching-open): Say that we were unable to find
14835 the match within the limit, if we're limited (bug#5122).
14836
bb388cc5
LMI
14837 * international/mule-cmds.el (prefer-coding-system): Add an
14838 example (bug#4869).
14839
343c3b5a
LMI
14840 * progmodes/etags.el (tags-search): Document `file-list-form'
14841 (bug#4731).
14842
2a517d45
LM
148432011-07-13 Lawrence Mitchell <wence@gmx.li>
14844
14845 * net/browse-url.el (browse-url-default-browser)
14846 (browse-url-browser-function): Make the default browser choice a
14847 bit more logical (bug#4300). Also clean up the doc string.
14848
b6c78ef2
JB
148492011-07-13 Juanma Barranquero <lekktu@gmail.com>
14850
14851 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14852 binary endings (bug#4440).
14853
1c4dd947
LMI
148542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14855
a2014063
LMI
14856 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14857 which can be pretty annoying (bug#8971).
14858
9c9c2d88
LMI
14859 * jka-compr.el (jka-compr-verbose): New variable, and use
14860 throughout (bug#8971).
14861
1c4dd947
LMI
14862 * info.el (Info-find-file): Fall back on the installation
14863 directory if we can't find the info node anywhere else.
14864
a1c9f41b
SO
148652011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14866
14867 * vc/vc.el (vc-revert-file):
14868 Don't set file time-stamp in the past. (Bug#5181)
14869
536f3d36
LMI
148702011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14871
7152b011
LMI
14872 * files.el (after-find-file): Give a better error message when
14873 trying to find a symlink that points to a file that doesn't exist
14874 (bug#4398).
14875
536f3d36
LMI
14876 * progmodes/cc-vars.el: Remove (probably) misleading comment
14877 (bug#4396).
14878
460c0fba
JB
148792011-07-12 Johan Bockgård <bojohan@gnu.org>
14880
14881 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14882
7a6bda45
CY
148832011-07-12 Chong Yidong <cyd@stupidchicken.com>
14884
14885 * mouse-sel.el: Hack restoring functionality, while keeping
14886 compatibility with 2010-07-03 changes to mouse selection.
14887 (mouse-sel-primary-overlay): New var.
14888 (mouse-sel-selection-alist): Use it.
14889 (mouse-sel-mode): Doc fix; remove points that are default features
14890 of mouse.el.
14891
c79598ef
JB
148922011-07-12 Johan Bockgård <bojohan@gnu.org>
14893
14894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14895 Fix previous fix (bug#2490).
14896
ff8be6ef
RW
148972011-07-12 Roland Winkler <winkler@gnu.org>
14898
b796c9b7
SM
14899 * textmodes/bibtex.el (bibtex-initialize):
14900 Use pop-to-buffer-same-window.
ff8be6ef
RW
14901 (bibtex-search-entries): Fix interactive call.
14902
296ba3ee
LMI
149032011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14904
f5242a02 14905 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14906 Fontise bytecomp Error lines more correctly (bug#2490).
14907 Fix suggested by Johan Bockgård.
f5242a02 14908
296ba3ee
LMI
14909 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14910
14911 * dired-x.el (dired-guess-default): Use `delete-dups'.
14912
f69fd0d2
CY
149132011-07-12 Chong Yidong <cyd@stupidchicken.com>
14914
14915 * dired.el (dired-mark-prompt):
14916 * dired-aux.el (dired-read-shell-command): Doc fix.
14917
eab5dc07
LMI
149182011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919
b796c9b7
SM
14920 * mail/sendmail.el (sendmail-query-once):
14921 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14922 emacs -Q.
14923
14924 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14925
eab5dc07
LMI
14926 * cus-edit.el (custom-file): Take an optional no-error variable.
14927 (customize-save-variable): Set the variable, and give a warning if
14928 running under "emacs -q".
14929
a1e65d42
JB
149302011-07-11 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * loadhist.el (unload-feature-special-hooks):
14933 Add `auto-coding-functions', `fill-nobreak-predicate' and
14934 `find-directory-functions' (bug#5327).
14935
1d52da10
LMI
149362011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14937
be958f1d
LMI
14938 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14939
5bedb26c
LMI
14940 * cus-edit.el (custom-guess-name-alist): -alist variables should
14941 use the `alist' type (bug#3120). Suggested by Drew Adams.
14942
1d52da10
LMI
14943 * printing.el: Add documentation to all the `pr-toggle-' commands.
14944
cd394be1 149452011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14946
14947 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14948 backends where it makes sense (bug#2623).
14949
dcc88d8a
LMI
149502011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14951
c3de9feb
LMI
14952 * dired-x.el (dired-guess-default): Remove duplicate shell command
14953 entries (bug#2028).
8a93078b 14954 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14955 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14956
dcc88d8a
LMI
14957 * subr.el (remove-duplicates): New conveniency function.
14958
505e3645
LMI
149592011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14960
14961 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14962 (bug#1526).
14963
149642011-07-10 Martin Rudalics <rudalics@gmx.at>
14965
14966 * window.el (display-buffer-normalize-default): Don't invert
14967 meaning of even-window-heights. Reported by Eli Zaretskii
14968 <eliz@gnu.org>.
14969
455e4fa1
BR
149702011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14971
14972 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14973
8e0bc3e9
CY
149742011-07-10 Chong Yidong <cyd@stupidchicken.com>
14975
14976 * window.el (display-buffer): Fix arguments to
14977 display-buffer-reuse-window in last change.
14978
fa7c3228
CY
14979 * faces.el (link): Use a less saturated blue on light backgrounds.
14980
14981 * startup.el (fancy-startup-text, fancy-about-text)
14982 (fancy-startup-tail): Use font-lock faces, for background safety.
14983
c0a7f300
BN
149842011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14985
b796c9b7
SM
14986 * emulation/viper-cmd.el (viper-change-state-to-vi):
14987 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14988
4dc2a129
MR
149892011-07-09 Martin Rudalics <rudalics@gmx.at>
14990
14991 * window.el (display-buffer-default-specifiers): Remove.
14992 (display-buffer-macro-specifiers): Remove default specifiers.
14993 (display-buffer-alist): Default to nil.
b796c9b7 14994 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14995 (display-buffer-pop-up-window): Allow splitting internal
14996 windows. Check whether a live window was created.
14997 (display-buffer-other-window-means-other-frame)
14998 (display-buffer-normalize-arguments): Rename to
14999 display-buffer-normalize-argument and rewrite. Set the
15000 other-window specifier.
15001 (display-buffer-normalize-special): New function.
15002 (display-buffer-normalize-options): Rename to
15003 display-buffer-normalize-default and rewrite.
15004 (display-buffer-normalize-options-inhibit): Remove.
15005 (display-buffer-normalize-specifiers): Rewrite.
15006 (display-buffer): Process other-window specifier and call
15007 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15008 more faithfully.
b796c9b7 15009 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15010 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15011 (display-buffer-in-window, display-buffer-alist-set):
15012 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15013 <tassilo@member.fsf.org>.
15014
2d43b8c9
LL
150152011-07-09 Leo Liu <sdl.web@gmail.com>
15016
15017 * register.el (insert-register): Restore accidental change on
15018 2011-06-26. (Bug#9028)
15019
7f9b7c53
GM
150202011-07-09 Glenn Morris <rgm@gnu.org>
15021
15022 * subr.el (remq): Handle the empty list. (Bug#9024)
15023
f042cfd8
AS
150242011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15025
15026 * mail/sendmail.el (send-mail-function): No longer delay custom
15027 initialization.
15028 * custom.el (custom-initialize-delay): Doc fix.
15029
856b2f11
SM
150302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15031
15032 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15033
afae1d68
MA
150342011-07-08 Michael Albinus <michael.albinus@gmx.de>
15035
15036 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15037 human-friendly prompt.
15038
0757af94
SM
150392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15042 provided by a particular plugin.
15043
d760b731
LMI
150442011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15045
15046 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15047 save customizations (with "emacs -Q"), just set the variable
15048 instead of erroring out.
15049
15050 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15051
cd79ce90
JL
150522011-07-08 Juri Linkov <juri@jurta.org>
15053
15054 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15055 (archive-zip-update-case): Use 7z if found by `executable-find'.
15056 The order of searching the available programs is the same as in
15057 `archive-zip-extract' (bug#8968).
15058
14cc04aa
CY
150592011-07-07 Chong Yidong <cyd@stupidchicken.com>
15060
15061 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15062 (menu-bar-options-menu): Tweak descriptions.
15063
0a1848ec
LMI
150642011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15065
15066 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15067 menu items into verb phrases (bug#1421). Also refill to fit under
15068 80 columns.
15069
f5bd0689
CY
150702011-07-07 Chong Yidong <cyd@stupidchicken.com>
15071
538e85c6
CY
15072 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15073 (Info-read-node-name): Doc fix (Bug#1084).
15074
f5bd0689
CY
15075 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15076 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15077 (end-of-sexp, beginning-of-sexp)
15078 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15079 (forward-symbol, forward-same-syntax, word-at-point)
15080 (sentence-at-point): Doc fix (Bug#1144).
15081
56ec5115
LMI
150822011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15083
f3f8e37f
LMI
15084 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15085 should cover it (bug#1281).
15086
0757af94 15087 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15088
e9fce1ac 15089 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15090 negotiation fails, then possibly try again with a non-encrypted
15091 connection (bug#9017).
15092
56ec5115
LMI
15093 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15094 be used.
15095
c2f9aec8
RS
150962011-07-07 Richard Stallman <rms@gnu.org>
15097
15098 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15099 property, and handle its changed format.
15100 Look for the correct line number.
15101 Use file's line contents (but not past first =) to find
15102 correct line in message.
15103
ef7b981d 151042011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15105
15106 * international/characters.el (build-unicode-category-table):
15107 Delete it.
0757af94 15108 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15109
0757af94 15110 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15111 to src/chartab.c.
15112 (get-char-code-property): Call unicode-property-table-internal to
15113 load a file. Call get-unicode-property-internal where necessary.
15114 (put-char-code-property): Call unicode-property-table-internal to
15115 load a file. Call put-unicode-property-internal where necessary.
15116 put-unicode-property-internal where necessary.
0757af94
SM
15117 (char-code-property-description):
15118 Call unicode-property-table-internal to load a file.
c805dec0
KH
15119
15120 * international/charprop.el:
15121 * international/uni-bidi.el:
15122 * international/uni-category.el:
15123 * international/uni-combining.el:
15124 * international/uni-comment.el:
15125 * international/uni-decimal.el:
15126 * international/uni-decomposition.el:
15127 * international/uni-digit.el:
15128 * international/uni-lowercase.el:
15129 * international/uni-mirrored.el:
15130 * international/uni-name.el:
15131 * international/uni-numeric.el:
15132 * international/uni-old-name.el:
15133 * international/uni-titlecase.el:
15134 * international/uni-uppercase.el: Regenerate.
15135
15136 * loadup.el: Load international/charprop.el before
15137 international/characters.
15138
e14b388a
CY
151392011-07-07 Chong Yidong <cyd@stupidchicken.com>
15140
15141 * window.el (next-buffer, previous-buffer): Signal an error if
15142 called from a minibuffer window.
15143
15144 * bindings.el: Revert 2011-07-04 change.
15145
354cf0ba
RS
151462011-07-06 Richard Stallman <rms@gnu.org>
15147
15148 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15149 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15150 Treat markers like ints.
15151 (rmail-mime-entity): Doc fix.
15152
a48868a7
LMI
151532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15154
4906cd3d
LMI
15155 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15156 defcustom again for backwards compatibility.
15157
e0457abe
LMI
15158 * simple.el (shell-command-on-region): Fill.
15159
d67f7e1f
LMI
15160 * dired-aux.el (dired-kill-line): Add a doc string.
15161
fe204702
LMI
15162 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15163 to "\\sw\\|\\s_" (bug#358).
15164
a48868a7
LMI
15165 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15166 (dired-unmark-backward): Ditto.
15167 (dired-flag-backup-files): Ditto.
15168
15169 * dired-x.el (dired-mark-sexp): Ditto.
15170
aa8a705c
RS
151712011-07-06 Richard Stallman <rms@gnu.org>
15172
15173 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15174 (rmail-mime-entity): New arg TRUNCATED.
15175 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15176 New functions.
15177 (rmail-mime-save): Warn if entity is truncated.
15178 (rmail-mime-toggle-hidden): Likewise, for showing.
15179 (rmail-mime-process-multipart): Record when an entity is truncated.
15180
a9a936b9
RS
15181 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15182 if ENTITY is a string.
15183
1f2b92cb
LMI
151842011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15185
f4f73198 15186 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15187 of faces when `M-C-x'-ing their definitions (bug#8378).
15188 Also clean up the code slightly.
f4f73198 15189
12b16734 15190 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15191 because that makes the colors go away.
12b16734 15192
f0691d22
LMI
15193 * mail/sendmail.el (send-mail-function): Change the default to
15194 `sendmail-query-once'.
9e87df06 15195 (sendmail-query-once): Add an autoload cookie.
f0691d22 15196
1f2b92cb
LMI
15197 * net/network-stream.el (network-stream-open-starttls): Try using
15198 a plain connection even if the server offered STARTTLS, and we
15199 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15200 capability. This should make smtpmail.el work in slightly more
15201 configurations.
15202
1cdd2a1b
MA
152032011-07-06 Michael Albinus <michael.albinus@gmx.de>
15204
15205 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15206 New defun.
15207 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15208
fbcc67e2
MM
152092011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15210
15211 * progmodes/sql.el: Version 3.0
0757af94 15212 (sql-product-alist): Add product :completion-object,
fbcc67e2 15213 :completion-column, and :statement attributes.
0757af94 15214 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15215 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15216 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15217 ansi keywords.
15218 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15219 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15220 (sql-oracle-show-reserved-words): New function for development.
15221 (sql-product-font-lock): Simplify for source code buffers.
15222 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15223 New functions.
15224 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15225 (sql-mode-map): Add statement movement functions.
15226 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15227 New variable.
fbcc67e2
MM
15228 (sql-statement-regexp, sql-beginning-of-statement)
15229 (sql-end-of-statement, sql-signum): New functions.
0757af94 15230 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15231 (sql-show-sqli-buffer): Bug fix.
15232 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15233 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15234 with sql-interactive-mode.
15235 (sql-save-connection): Save buffer local settings.
0757af94 15236 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15237 (sql-product-interactive): Bug fix.
15238 (sql-preoutput-hold): New variable.
15239 (sql-interactive-remove-continuation-prompt): Bug fixes.
15240 (sql-debug-redirect): New variable.
15241 (sql-str-literal): New function.
15242 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15243 Redesign.
fbcc67e2
MM
15244 (sql-oracle-save-settings, sql-oracle-restore-settings)
15245 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15246 (sql-completion-object, sql-completion-column)
15247 (sql-completion-sqlbuf): New variables.
15248 (sql-build-completions-1, sql-build-completions)
15249 (sql-try-completion): New functions.
15250 (sql-read-table-name): Use them.
15251 (sql-contains-names): New buffer local variable.
15252 (sql-list-all, sql-list-table): Use it.
15253 (sql-oracle-completion-types): New variable.
15254 (sql-oracle-completion-object, sql-sqlite-completion-object)
15255 (sql-postgres-completion-object): New functions.
15256
d4eaeab1
GM
152572011-07-06 Glenn Morris <rgm@gnu.org>
15258
15259 * window.el (pop-to-buffer): Doc fix.
15260
322b7dab 152612011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15262
15263 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15264
322b7dab 152652011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15266
322b7dab 15267 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15268
322b7dab 15269 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15270
605dd5bf
CY
152712011-07-05 Chong Yidong <cyd@stupidchicken.com>
15272
15273 * button.el (button): Inherit from link face. Suggested by Dan
15274 Nicolaescu.
15275
7dbfa719
SM
152762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15277
3db614b0
SM
15278 * progmodes/gdb-mi.el: Fit in 80 columns.
15279 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15280 switch-to-buffer.
15281
7dbfa719
SM
15282 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15283 if imenu is simply not configured (bug#8941).
15284
919d884a
KM
152852011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15286
15287 * allout.el (allout-post-undo-hook): New allout outline-change
15288 event hook to signal undo activity.
15289 (allout-post-command-business): Run allout-post-undo-hook if an
15290 undo just occurred.
7dbfa719
SM
15291 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15292 * allout-widgets.el (allout-widgets-after-undo-function):
15293 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15294 in the vicinity of an undo.
15295 (allout-widgets-mode): Include allout-widgets-after-undo-function
15296 on the new allout-post-undo-hook.
15297
450a0f09
SM
152982011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15301 Let define-derived-mode define it.
15302 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15303 cycles of abbrev-table inheritance (bug#8998).
15304
2de69e00
RW
153052011-07-05 Roland Winkler <winkler@gnu.org>
15306
15307 * textmodes/bibtex.el: Add support for biblatex.
15308 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15309 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15310 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15311 (bibtex-entry-alist, bibtex-field-alist): New variables.
15312 (bibtex-entry-field-alist): Obsolete alias for
15313 bibtex-BibTeX-entry-alist.
15314 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15315 (bibtex-set-dialect): New command.
15316 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15317 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15318 Bind via bibtex-set-dialect.
2de69e00
RW
15319 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15320 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15321 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15322 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15323 Define via bibtex-set-dialect.
450a0f09
SM
15324 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15325 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15326 (bibtex-vec-push, bibtex-vec-incr): New functions.
15327 (bibtex-format-entry, bibtex-field-list)
15328 (bibtex-print-help-message, bibtex-validate)
15329 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15330
2dcdbdd9
SM
153312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * progmodes/compile.el (compilation-goto-locus):
15334 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15335 * bs.el (bs-cycle-next, bs-cycle-previous):
15336 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15337 * bindings.el (mode-line-other-buffer):
15338 * autoinsert.el (auto-insert):
15339 * arc-mode.el (archive-extract):
15340 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15341
b27640fe
JB
153422011-07-05 Juanma Barranquero <lekktu@gmail.com>
15343
15344 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15345 Fix check of `emacs-lock-unlockable-modes'.
15346 Coerce true values of `emacs-lock--try-unlocking' to t.
15347
53bbe3ad
JB
153482011-07-05 Juanma Barranquero <lekktu@gmail.com>
15349
15350 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15351 * emacs-lock.el: New file.
15352
1d3cdbc7
JD
153532011-07-05 Julien Danjou <julien@danjou.info>
15354
15355 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15356 than `boundp' to check if face is set.
15357
9173deec
JB
153582011-07-05 Juanma Barranquero <lekktu@gmail.com>
15359
15360 * register.el (registerv-make):
15361 * window.el (window-min-height): Fix typos in docstrings.
15362
869795d6
JD
153632011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15364
9173deec 15365 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15366 Update doc string.
15367
b768cdcd
JB
153682011-07-04 Juanma Barranquero <lekktu@gmail.com>
15369
15370 * server.el (server-execute): Catch quit and call
15371 `server-return-error' to pass the error back to emacsclient and
15372 close the connection (bug#8942).
15373
13aa217b
KM
153742011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15375
15376 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15377 insecure exception for current topic. Also note that auto-saves
15378 are handled differently.
15379
5d3385a0 15380 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15381 State variables for tracking auto-save inhibition situation.
15382
15383 (allout-write-contents-hook-handler): Rename from
15384 'allout-write-file-hook-handler', and describe how it depends on
15385 write-contents-functions sensitivity to non-nil value to prevent
15386 file write.
15387
15388 (allout-auto-save-hook-handler): Remove. auto-save does not check
15389 this in individual buffers, only in the starting buffer, so this
15390 is not the right way for us to inhibit auto-save in a buffer
15391 according to its condition.
15392
15393 (allout-mode): Use new allout-write-contents-hook-handler, and
15394 only with write-contents-functions. Remove auto-save provisions -
15395 they're implemented elsewhere.
15396
15397 (allout-before-change-handler): If undo is in progress, note that
15398 for attention of allout-post-command-business.
15399
15400 (allout-post-command-business): If the command we're following was
15401 an undo, check for change in the status of encrypted items and
15402 adjust auto-save inhibitions accordingly.
15403
15404 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15405 according to whether there are or aren't any plain-text topics
15406 pending encryption.
15407
2dcdbdd9 15408 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15409 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15410 if there are plain-text topics pending encryption.
13aa217b
KM
15411
15412 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15413 buffer-saved-size and some allout state to not inhibit auto-saves
15414 if there are no longer any plain-text topics pending encryption.
15415
0757af94
SM
15416 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15417 No longer provide for exemption of the current topic.
13aa217b 15418
ac89b32c
JL
154192011-07-04 Juri Linkov <juri@jurta.org>
15420
15421 Add 7z operations to delete and save changed members (bug#8968).
15422 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15423 New defcustoms.
15424 (archive-7z-write-file-member): New function.
15425 (archive-7z-summarize): Fix the number of dashes in the
15426 listing output.
15427
8fa39615
SM
154282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15429
15430 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15431 (bug#8958).
15432
2f11b3f1
CY
154332011-07-04 Chong Yidong <cyd@stupidchicken.com>
15434
d66fef2b
CY
15435 * bindings.el: Ignore next-buffer and previous-buffer in
15436 minibuffer-local-map.
15437
2f11b3f1
CY
15438 * font-lock.el (font-lock-builtin-face): Change light background
15439 color to dark slate blue (Bug#6693).
15440
f932a347
WD
154412011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15442
15443 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15444
c8af70e1
SM
154452011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15448 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15449 Add switch-to-buffer.
15450
f158badc
LMI
154512011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15452
15453 * isearch.el (isearch-search-fun-function): Clarify further the
15454 meaning of the function returned.
15455
6d95bd46
MA
154562011-07-04 Michael Albinus <michael.albinus@gmx.de>
15457
15458 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15459
15460 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15461 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15462 Use it.
15463 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15464 `tramp-default-remote-path' does not exist.
15465 (tramp-send-command-and-read): New optional argument NOERROR.
15466 (tramp-open-connection-setup-interactive-shell)
15467 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15468 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15469 (tramp-process-sentinel): Flush also process' connection property.
15470 (tramp-sh-handle-start-file-process): Do not set process
15471 sentinel. It is done now ...
15472 (tramp-maybe-open-connection): ... here. (Bug#8929)
15473
909e6b67
MK
154742011-07-04 MON KEY <monkey@sandpframing.com>
15475
15476 * play/animate.el (animate-string): Doc fixes and allow changing
15477 the buffer name (bug#5417).
15478
154792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15480
c8af70e1 15481 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15482
f34755dc
PE
154832011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15484
396cec72
PE
15485 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15486 This is simpler and helps future-proof the code.
15487 (timer-until): Use time-subtract and float-time.
08235028 15488 (timer--time-less-p): Use time-less-p.
f34755dc 15489
56e6cc31
JB
154902011-07-04 Juanma Barranquero <lekktu@gmail.com>
15491
3abb79e5
JB
15492 * type-break.el (timep): Use the value of `float-time' to avoid a
15493 byte-compiler warning.
15494
56e6cc31
JB
15495 * server.el (server-eval-and-print): Return any result, even nil.
15496
7b9430b4
PE
154972011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15498
15499 * type-break.el: Accept time formats that the builtins accept.
15500 (timep, type-break-time-difference): Accept any format that
15501 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15502 This is simpler and helps future-proof the code.
15503 (type-break-time-difference): Round rather than ignoring
15504 subseconds components.
15505
3034e9e7
LMI
155062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15507
15508 * info.el (Info-apropos-matches): Make non-interactive, since it
15509 doesn't seem to do anything useful as a command (bug#8829).
15510
1485f4c0
CY
155112011-07-03 Chong Yidong <cyd@stupidchicken.com>
15512
15513 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15514 Move from faces.el.
1485f4c0
CY
15515 (frame-default-terminal-background): New function.
15516
15517 * custom.el (custom-push-theme): Don't record faces in `changed'
15518 theme; this doesn't work correctly for per-frame face settings.
15519 (disable-theme): Use face-set-after-frame-default to reset faces.
15520 (custom--frame-color-default): New function.
15521
9fa3dd45
LMI
155222011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15523
c8af70e1 15524 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15525 (bug#8769).
15526
6cbbc20c
KR
155272011-03-29 Kevin Ryde <user42@zip.com.au>
15528
15529 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15530 `perl-Test2' extend to match possible "fail #N" rep count
15531 (bug#8377).
15532
c7f98048
LMI
155332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15534
65676592
LMI
15535 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15536 `smtpmail-via-smtp' now returns the error instead of nil.
15537
c7f98048
LMI
15538 * isearch.el (isearch-search-fun-function): Clarify the doc string
15539 (bug#8101).
15540
56e6cc31 155412011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15542
15543 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15544 unnecessary spaces (bug#8987).
15545
2b216704
LMI
155462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15547
15548 * net/network-stream.el (open-network-stream): Use the
15549 :end-of-capability command thoughout.
15550
155512011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15552
15553 * net/network-stream.el (open-network-stream): Add the
15554 :end-of-capability command parameter, used by pop3.el.
15555
36adf6ce
LMI
155562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15557
1ca0da0e
LMI
15558 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15559
fc00f69c
LMI
15560 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15561 for list)" (bug#6475).
15562
28fd8759 15563 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15564 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15565 an error (bug#6297).
15566
0dd8b6da
LMI
15567 * man.el (Man-reference-regexp): Allow matching possible
15568 word-wrapped references (bug#6289).
15569
ce1438d6
LMI
15570 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15571 for consistency with the other vc buffers (bug#6197).
15572 (vc-checkin): Ditto.
15573
15574 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15575
36adf6ce
LMI
15576 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15577
e83cc1f7
LMI
155782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15579
8a20ca4c
LMI
15580 * custom.el (defcustom): Clarify that :set is only used in the
15581 Customize user interface (bug#6089).
15582
83319045
LMI
15583 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15584 associated with a file, refuse to run instead of erroring out
15585 (bug#6084).
15586
a8392169
LMI
15587 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15588 the doc string, since it appears that using `fill-column' always
15589 controls the width (bug#7845).
15590
e83cc1f7
LMI
15591 * simple.el (shell-command-on-region): Say where the error output
15592 went if `shell-command-default-error-buffer' is set (bug#6857).
15593
e47ca23b
KM
155942011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15595
15596 * allout.el (allout-yank-processing): Adjust cursor position for
15597 backwards-deleted space.
15598
15599 (allout-rebullet-heading): Register changes with
15600 allout-exposure-changed-hook, so the modified topic is properly
15601 decorated.
15602
5cf56143
LMI
156032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15604
08549772
LMI
15605 * minibuffer.el (completion-in-region): Document PREDICATE
15606 (bug#7136).
15607
48e96771
LMI
15608 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15609 of keyword/argument pairs (bug#6904).
15610
c8af70e1
SM
15611 * replace.el (multi-occur):
15612 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15613
e17d05e2
LMI
156142011-07-02 Drew Adams <drew.adams@oracle.com>
15615
15616 * dired.el (dired-mark-if): Make the message about whether it's
15617 marking or unmarking clearer (bug#8523).
15618
063b0e45
LMI
156192011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15620
15621 * disp-table.el (display-table-print-array): New function.
15622 (describe-display-table): Use it to print the vectors more pretty
15623 (Bug#8859).
15624
28545e04
MR
156252011-07-02 Martin Rudalics <rudalics@gmx.at>
15626
15627 * window.el (window-state-get-1): Don't assign clone numbers.
15628 Add clone-of item to list of window parameters.
15629 (window-state-put-2): Don't process clone numbers.
15630 (display-buffer-alist): Fix doc-string.
15631
3349e122
SM
156322011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15633
15634 * subr.el (remq): Don't allocate if it's not needed.
15635 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15636 (keymap--merge-bindings): New functions.
15637 (keymap-canonicalize): Use them to refine the canonicalization.
15638 * minibuffer.el (minibuffer-local-completion-map)
15639 (minibuffer-local-must-match-map): Move initialization from C.
15640 (minibuffer-local-filename-completion-map): Move initialization from C;
15641 don't inherit from anything here.
15642 (minibuffer-local-filename-must-match-map): Make obsolete.
15643 (completing-read-default): Use make-composed-keymap to combine
15644 minibuffer-local-filename-completion-map with either
15645 minibuffer-local-must-match-map or
15646 minibuffer-local-filename-completion-map.
15647
d224ac83
GM
156482011-07-01 Glenn Morris <rgm@gnu.org>
15649
3de63bf8
GM
15650 * type-break.el (type-break-time-sum): Use dolist.
15651
d224ac83
GM
15652 * textmodes/flyspell.el (flyspell-word-search-backward):
15653 Replace CL function.
15654
1a1e3f32
SM
156552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15656
fe3f64d5
SM
15657 * mouse.el (mouse--strip-first-event): New function.
15658 (function-key-map): Use it to map fringe clicks to normal clicks
15659 by default.
15660
eb604e34
SM
15661 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15662 (vc-bzr-revision-completion-table): Add support for annotate and date.
15663
1a1e3f32
SM
15664 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15665 inherit from parent.
15666
5bd35902
LMI
156672011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15668
ace6c69c 15669 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15670 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15671
191e2bed
LMI
15672 * dired.el (dired-mode): Fix up the doc string as suggested by
15673 Drew Adams (bug#8817).
15674
5bd35902
LMI
15675 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15676 cookie, since the manual says that it should be possible to add
15677 this function to `find-file-hook' (bug#8709).
15678
eee8207a
TZ
156792011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15680
15681 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15682 here. Noted Ted Zlatanov as the maintainer.
15683 (cfengine-common-settings, cfengine-common-syntax): New functions
15684 to set up common things between `cfengine-mode' and
15685 `cfengine3-mode'.
15686 (cfengine3-mode): New mode.
15687 (cfengine3-defuns cfengine3-defuns-regex
15688 (cfengine3-class-selector-regex cfengine3-category-regex)
15689 (cfengine3-vartypes cfengine3-font-lock-keywords)
15690 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15691 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15692
36b148cf
MA
156932011-07-01 Michael Albinus <michael.albinus@gmx.de>
15694
15695 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15696
15697 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15698
0bf4ba9a
MR
156992011-07-01 Martin Rudalics <rudalics@gmx.at>
15700
15701 * window.el (same-window-buffer-names, same-window-regexps)
15702 (same-window-p, special-display-frame-alist)
15703 (special-display-popup-frame, special-display-function)
15704 (special-display-buffer-names, special-display-regexps)
15705 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15706 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15707 (split-window-preferred-function, split-height-threshold)
15708 (split-width-threshold, even-window-heights)
15709 (display-buffer-mark-dedicated, window-splittable-p)
15710 (split-window-sensibly, window-safely-shrinkable-p):
15711 Un-obsolete.
15712 (display-buffer): Don't spread args with function specifier
15713 because special-display-popup-frame won't like it.
15714
35837f51
PE
157152011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15716
d0672f86
PE
15717 Time-stamp simplifications and fixes.
15718 These improve accuracy slightly, and future-proof the code
15719 against some potential changes to current-time format.
15720
b9444d97
PE
15721 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15722 by using time-since and float-time.
15723
0ef923dc
PE
15724 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15725 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15726 + NNN microseconds".
15727
2f81380d
PE
15728 * type-break.el (type-break-time-sum): Rewrite using time-add.
15729
845b5c3e
PE
15730 * play/hanoi.el (hanoi-current-time-float): Remove.
15731 All uses replaced by float-time.
15732
ee6f1be0
PE
15733 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15734 This yields a more-accurate answer.
15735 (rng-time-to-float): Remove; no longer needed.
15736
fe955043
PE
15737 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15738
5777162a
PE
15739 * calendar/timeclock.el (timeclock-seconds-to-time):
15740 Defalias to seconds-to-time, since they're the same thing.
15741
3103f8b6 15742 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15743 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15744 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15745
0e61a35f
SM
157462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15747
15748 * window.el (bury-buffer): Don't iconify the only frame.
15749 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15750 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15751
ddd63a1e
CY
157522011-07-01 Chong Yidong <cyd@stupidchicken.com>
15753
0e61a35f
SM
15754 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15755 Add mouse-yank-primary.
ddd63a1e 15756
055f4923
TZ
157572011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15758
15759 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15760
6a2fb145
SM
157612011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15764 (find-library-name): Use it to find relative load names when provided
15765 absolute file name (bug#8803).
15766
fd4983f2
LMI
157672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15768
887d14ad
LMI
15769 * textmodes/flyspell.el (flyspell-word): Consider words that
15770 differ only in case as potential doublons (bug#5687).
15771
c53dc7fc
LMI
15772 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15773 Remove two rather uninteresting debugging-like messages to make
15774 debbugs.el more silent.
15775
fd4983f2
LMI
15776 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15777 a password-like phrase.
15778
7a71b18d 157792011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15780
15781 * progmodes/cc-guess.el: New file.
15782
6a2fb145 15783 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15784
15785 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15786 derived from `c-basic-common-init'.
15787
15788 * progmodes/cc-mode.el (top-level): Require cc-guess.
15789 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15790
1fa280a3
LM
157912011-06-30 Lawrence Mitchell <wence@gmx.li>
15792
15793 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15794
e6597158
AM
157952011-06-30 Alan Mackenzie <acm@muc.de>
15796
1fa280a3
LM
15797 * progmodes/cc-engine.el (c-guess-continued-construct):
15798 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15799 lock is disabled. Name this case as "CASE G".
15800
68ba37fb
KM
158012011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15802
15803 * allout.el (allout-yank-processing): Fix injection of extra space
15804 between bullet and non-whitespace character in first topic when
15805 pasting, ensuring that the actual spacing in the pasted topic
15806 following the bullet char is preserved. This extra space was
15807 causing pasted encrypted topics to get a decrypted status even
15808 when the content was actually still encrypted. Now the decryption
15809 status from before the paste is preserved.
15810
15811 (allout-flag-region): Set all allout overlays so they evaporate
15812 when reduced to zero length (evanescent), to prevent overlay
15813 leakage.
15814
887a0b34
GM
158152011-06-30 Glenn Morris <rgm@gnu.org>
15816
94b9acce
GM
15817 * w32-fns.el (w32-charset-info-alist): Declare.
15818
1d9b46d4
GM
15819 * find-dired.el (find-grep-options): Simplify.
15820
cc232200
GM
15821 * term/ns-win.el (ns-set-resource): Declare.
15822
28e77c46
GM
15823 * ses.el (row, col): Declare dynamic variables honestly.
15824
887a0b34
GM
15825 * textmodes/reftex-parse.el (index-tags): Declare.
15826
658d8eb8
CY
158272011-06-30 Chong Yidong <cyd@stupidchicken.com>
15828
15829 * cus-edit.el (customize-push-and-save): New function.
15830
15831 * files.el (hack-local-variables-confirm): Use it.
15832
1fa280a3
LM
15833 * custom.el (load-theme): New arg NO-CONFIRM.
15834 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15835 (custom-enabled-themes): Doc fix.
15836
15837 * cus-theme.el (customize-create-theme)
15838 (custom-theme-merge-theme): Callers to load-theme changed.
15839
bb617717
LMI
158402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15841
d61bdd5d
LMI
15842 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15843 short URLs have at least one dot in them (bug #7614).
15844
bb617717
LMI
15845 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15846 nil, because using a pty is apparently too slow (bug #895).
15847
2f31f37a
LMI
158482011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15849
15850 * mail/sendmail.el (sendmail-query-once): New function.
15851 (sendmail-query-once-function): New variable.
15852
3076b24e
GM
158532011-06-29 Glenn Morris <rgm@gnu.org>
15854
faf2a174
GM
15855 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15856
3076b24e
GM
15857 * ses.el (top-level): Require cl when compiling.
15858 (ses-set-localvars): Fix error statement.
15859 Call it at compile time to silence a storm of warnings.
15860
5386012d
MR
158612011-06-29 Martin Rudalics <rudalics@gmx.at>
15862
15863 * window.el (normalize-live-buffer): Rename to
15864 window-normalize-buffer.
15865 (normalize-live-frame): Rename to window-normalize-frame.
15866 (normalize-any-window): Rename to window-normalize-any-window.
15867 (normalize-live-window): Rename to window-normalize-live-window.
15868 (make-window-atom): Rename to window-make-atom.
15869 (window-resize-reset): Rename to window--resize-reset.
15870 (window-resize-reset-1): Rename to window--resize-reset-1.
15871 (resize-mini-window): Rename to window--resize-mini-window.
15872 (resize-subwindows-skip-p): Rename to
15873 window--resize-subwindows-skip-p.
15874 (resize-subwindows-normal): Rename to
15875 window--resize-subwindows-normal.
15876 (resize-subwindows): Rename to window--resize-subwindows.
15877 (resize-other-windows): Rename to window--resize-siblings.
15878 (resize-this-window): Rename to window--resize-this-window.
15879 (resize-root-window): Rename to window--resize-root-window.
15880 (resize-root-window-vertically): Rename to
15881 window--resize-root-window-vertically.
15882 (normalize-buffer-to-display): Rename to
15883 window-normalize-buffer-to-display.
15884 (normalize-buffer-to-switch-to): Rename to
15885 window-normalize-buffer-to-switch-to.
15886 Correspondingly update all callers of the functions listed
15887 above.
15888 (display-buffer-alist, display-buffer-normalize-arguments)
15889 (display-buffer-normalize-options, display-buffer)
15890 (display-buffer-alist-set): Use "function" instead of
15891 "fun-with-args".
15892
1176868d
CY
158932011-06-28 Chong Yidong <cyd@stupidchicken.com>
15894
15895 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15896 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15897 debbugs.gnu.org. Mention acknowledgment email.
15898
20a7a65f
LMI
158992011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
15901 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15902 buffer multibyteness, since it shouldn't matter.
15903
5f45cca5
MR
159042011-06-28 Martin Rudalics <rudalics@gmx.at>
15905
15906 * window.el (display-buffer-in-side-window): Handle dedicated
15907 windows as in display-buffer-reuse-window.
15908 (display-buffer-normalize-alist): Use value of override
15909 specifier.
15910 (display-buffer-normalize-specifiers): Use value of
15911 other-window-means-other-frame specifier.
15912 (display-buffer-alist): Rewrite some texts in widgets.
15913 (display-buffer): Spread arguments when calling function
15914 specified by fun-with-args.
15915
ad85fe1f
DD
159162011-06-28 Deniz Dogan <deniz@dogan.se>
15917
1fa280a3
LM
15918 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15919 Unnest `let'.
da68c4c8 15920
ad85fe1f
DD
15921 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15922 selectors (Bug#5732).
ec49bd31 15923 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15924
a08cc025
JA
159252011-06-27 Jari Aalto <jari.aalto@cante.net>
15926
15927 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15928 (eshell-ls-date-format): New defcustom.
15929 (eshell-ls-file): Use it.
15930
e2b551c5
SM
159312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15932
15933 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15934
8982b231
KY
159352011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15936
15937 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15938 (ange-ftp-make-tmp-name): New arg.
15939 (ange-ftp-file-local-copy): Use it.
15940
36c9fa27
J
159412011-06-27 Jambunathan K <kjambunathan@gmail.com>
15942
15943 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15944 no-conversion (Bug#8870).
15945
d68443dc
MR
159462011-06-27 Martin Rudalics <rudalics@gmx.at>
15947
15948 * window.el (window-right, window-left, window-child)
15949 (window-child-count, window-last-child)
15950 (window-iso-combination-p, walk-window-tree-1)
15951 (window-atom-check-1, window-tree-1, delete-window)
15952 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15953 new naming conventions - window-vchild, window-hchild,
15954 window-next and window-prev are now called window-top-child,
15955 window-left-child, window-next-sibling and window-prev-sibling
15956 respectively.
d615d6d2
MR
15957 (resize-window-reset): Rename to window-resize-reset.
15958 (resize-window-reset-1): Rename to window-resize-reset-1.
15959 (resize-window): Rename to window-resize.
15960 (window-min-height, window-min-width)
15961 (resize-mini-window, resize-this-window, resize-root-window)
15962 (resize-root-window-vertically, adjust-window-trailing-edge)
15963 (enlarge-window, shrink-window, maximize-window)
15964 (minimize-window, delete-window, quit-restore-window)
15965 (split-window, balance-windows, balance-windows-area-adjust)
15966 (balance-windows-area, window-state-put-2)
15967 (display-buffer-even-window-sizes, display-buffer-set-height)
15968 (display-buffer-set-width, set-window-text-height)
15969 (fit-window-to-buffer): Rename all "resize-window" prefixed
15970 calls to use the "window-resize" prefix convention.
15971 (display-buffer-alist): Fix symbol for label specifier.
15972 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15973 corresponding specifier.
15974 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15975
b6458526
VB
159762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15977
15978 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15979 convention.
15980 (ses-call-printer): Does not pass an empty string to formatter when the
15981 cell is empty to keep from barking printer Calc math-format-value.
15982
d31fd9ac
RS
159832011-06-27 Richard Stallman <rms@gnu.org>
15984
43d5bf84
RS
15985 * battery.el (battery-mode-line-limit): New variable.
15986 (battery-update): Handle it.
15987
d31fd9ac
RS
15988 * mail/rmailmm.el (rmail-mime-process-multipart):
15989 Handle truncated messages.
15990
819a6054
GM
159912011-06-27 Glenn Morris <rgm@gnu.org>
15992
15993 * progmodes/flymake.el (flymake-err-line-patterns):
15994 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15995
cedc73f2
VB
159962011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15997
819a6054 15998 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15999 (ses--clean-!, ses--clean-_): New functions.
16000 (ses-range): Add configurability of readout order, and conversion
16001 to Calc vector.
16002
5e5d49b6
VB
16003 * ses.el (ses-repair-cell-reference-all): New function.
16004 (ses-cell-symbol): Set macro as safe, so that it can be used in
16005 formulas.
16006
56e6cc31 16007 * ses.el: Update cycle detection algorithm.
90ca8b49 16008 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16009 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16010 (ses-set-localvars): New function.
16011 (ses-make-cell): Add property-list as a cell element.
16012 (ses-cell-property-get-fun, ses-cell-property-get)
16013 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16014 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16015 New functions.
90ca8b49
VB
16016 (ses-cell-property-set, ses-cell-property-pop)
16017 (ses-cell-property-get-handle): New macro.
16018 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16019 New aliases, used for code readability.
16020 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16021 cycle detection.
16022 (ses-self-reference-early-detection): New defcustom.
fac916bf 16023 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16024 (ses-mode): Use ses-set-localvars.
16025 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16026 before lauching the update processing.
16027 (ses-initialize-Dijkstra-attempt): New function.
16028 (ses-recalculate-cell): Update for cycle detection based on
16029 Dijkstra algorithm.
16030
2bb63e81
VB
16031 * ses.el: Fix commenting and indenting convention.
16032
c9d29fb8
SM
160332011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * bs.el (bs-cycle-next): Complete last change.
16036
d8e4b68b
JB
160372011-06-27 Drew Adams <drew.adams@oracle.com>
16038
16039 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16040
40098786
LMI
160412011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16042
c9d29fb8
SM
16043 * net/network-stream.el (network-stream-open-starttls):
16044 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16045 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16046
40098786
LMI
16047 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16048 to binary to possibly avoid line encoding issues on Windows (among
16049 other things).
16050
468d09d4
LMI
160512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16052
16053 * net/network-stream.el (open-network-stream): Return an :error
16054 saying what the problem was, if possible.
16055
16056 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16057 server.
16058
16059 * net/network-stream.el (network-stream-open-starttls): If we
16060 wanted to use STARTTLS, and the server offered it, but we weren't
16061 able to because we had no STARTTLS support, then close the connection.
16062 (open-network-stream): Return an :error element, if present.
16063
16f07dd7
CY
160642011-06-26 Chong Yidong <cyd@stupidchicken.com>
16065
88821ca0
CY
16066 * hl-line.el (hl-line-sticky-flag): Doc fix.
16067 (global-hl-line-sticky-flag): New option (Bug#8323).
16068 (global-hl-line-highlight): Obey it.
16069
16f07dd7
CY
16070 * vc/vc.el (vc-revert-show-diff): Default to t.
16071
6b5ccddf
KM
160722011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16073
c9d29fb8
SM
16074 * allout-widgets.el (allout-widgets-post-command-business):
16075 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16076 undecorated when an isearch is continued past, and isearch
16077 automatically collapses them. This leads to "widget leaks", where
16078 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16079 hidden widgets can slow down cursor travel, substantially.
16080 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16081 so we're doing without this nicety.
16082
16083 (allout-widgets-tally-string): Don't try to do a hash-table-count
16084 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16085 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16086 *Messages* when allout-widgets-maintain-tally is t.
16087
355f2e07
MR
160882011-06-26 Martin Rudalics <rudalics@gmx.at>
16089
16090 * window.el (display-buffer-normalize-argument): Rename to
16091 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16092 LABEL argument. Respect special-display-function when popping up
16093 a new frame. Fix code searching for a window showing the buffer
16094 on another frame.
c9d29fb8
SM
16095 (display-buffer-normalize-specifiers):
16096 Call display-buffer-normalize-arguments.
355f2e07
MR
16097 (display-buffer-in-window): Don't undedicate the window if its
16098 buffer remains the same.
16099 Reported by Drew Adams <drew.adams@oracle.com>.
16100 (display-buffer-alist): Add choice for same-window macro
16101 specfier.
16102 (display-buffer): Mention special meaning of LABEL argument in
16103 doc-string. Fix quoting. Don't pop up a new frame even as
16104 fallback.
16105
7ca8fc42
JB
161062011-06-26 Juanma Barranquero <lekktu@gmail.com>
16107
16108 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16109 avoid deleting the current window in some cases (bug#8911).
16110
bc312254
AS
161112011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16112
16113 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16114 (Bug#8934)
16115
2db18f3f
LMI
161162011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16117
c9d29fb8
SM
16118 * net/network-stream.el (network-stream-open-starttls):
16119 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16120 (network-stream-open-tls): Ditto.
16121
6302e0d3
LL
161222011-06-26 Leo Liu <sdl.web@gmail.com>
16123
16124 * register.el (registerv): New struct.
16125 (registerv-make): New function.
c9d29fb8
SM
16126 (jump-to-register, describe-register-1, insert-register):
16127 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16128 struct. (Bug#8415)
16129
5fdd4046
CY
161302011-06-26 Chong Yidong <cyd@stupidchicken.com>
16131
2afef60a
CY
16132 * vc/vc.el (vc-revert-show-diff): New defcustom.
16133 (vc-diff-internal): New arg specifying diff buffer.
16134 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16135 reuse an existing *vc-diff* buffer (Bug#8927).
16136
5fdd4046
CY
16137 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16138
e93db24a
GM
161392011-06-26 Glenn Morris <rgm@gnu.org>
16140
16141 * progmodes/f90.el (f90-critical-indent): New option.
16142 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16143 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16144 (f90-mode): Doc fix.
16145 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16146 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16147 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16148 (f90-match-end): Handle block, critical.
16149
eefff499
GM
161502011-06-25 Glenn Morris <rgm@gnu.org>
16151
f6ba4cc9
GM
16152 * calendar/diary-lib.el (diary-included-files): Doc fix.
16153 (diary-include-files): New function, extracted from
16154 diary-include-other-diary-files and diary-mark-included-diary-files.
16155 (diary-include-other-diary-files, diary-mark-included-diary-files):
16156 Just call diary-include-files.
16157 (diary-mark-entries): Reset diary-included-files on first call.
16158
16712304
GM
16159 * calendar/diary-lib.el (diary-mark-entries)
16160 (diary-mark-included-diary-files):
16161 Visit included diary-files in temp buffers.
16162
5d8e0d43
GM
16163 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16164 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16165 (f90-start-block-re, f90-imenu-generic-expression)
16166 (f90-looking-at-program-block-start, f90-no-block-limit):
16167 Add support for submodules.
16168
ccf7a5d5
GM
16169 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16170 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16171
11fdef7d 161722011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16173
16174 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16175 buffer-file-type before setting its value, to avoid disastrous
eefff499 16176 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16177
74f53697
JB
161782011-06-25 Juanma Barranquero <lekktu@gmail.com>
16179
16180 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16181
16182 * ses.el (ses-unload-function):
16183 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16184
16185 * proced.el (proced-unload-function):
16186 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16187
18a4ce5e
AR
161882011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16189
16190 * server.el (server-create-window-system-frame): Add parameters arg.
16191 (server-process-filter): Doc fix. Handle frame-parameters.
16192
519d22cc
JB
161932011-06-25 Juanma Barranquero <lekktu@gmail.com>
16194
16195 Fix bug#8730, bug#8781.
16196
16197 * loadhist.el (unload--set-major-mode): New function.
16198 (unload-feature): Use it.
16199
16200 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16201 (python-unload-function): New function.
16202
c206f5b0
SM
162032011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16204
16205 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16206
f9ad64f3
GS
162072011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16208
16209 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16210 the candidates list.
16211
7d0da90e
JB
162122011-06-24 Juanma Barranquero <lekktu@gmail.com>
16213
16214 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16215
14b4e83d
RS
162162011-06-23 Richard Stallman <rms@gnu.org>
16217
16218 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16219 (rmail-variables): Set next-error-move-function.
16220 (rmail-what-message): Take argument POS.
16221 (rmail-next-error-move): New function.
16222
273d2baf
SM
162232011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16226 messages for adjacent non-terminals.
16227
56c2cc9a
RS
162282011-06-23 Richard Stallman <rms@gnu.org>
16229
16230 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16231 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16232 (rmail-start-mail): Don't specify use of rmail-mail-return;
16233 that's done by mail-bury now.
16234 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16235
d59eb518
MA
162362011-06-23 Michael Albinus <michael.albinus@gmx.de>
16237
16238 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16239 SIZE is a number.
16240
02cfc6d6
MR
162412011-06-23 Martin Rudalics <rudalics@gmx.at>
16242
16243 * window.el (get-lru-window, get-mru-window)
16244 (get-largest-window): Never return a minibuffer window.
16245 (display-buffer-pop-up-window): Fix a bug that could lead to
16246 reusing the minibuffer window.
16247 (display-buffer): Pass original specifier argument to
16248 display-buffer-function instead of the normalized one.
16249 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16250
4e323265
LL
162512011-06-22 Leo Liu <sdl.web@gmail.com>
16252
16253 * minibuffer.el (completing-read-function)
16254 (completing-read-default): Move from minibuf.c
16255
7a70468f
RS
162562011-06-22 Richard Stallman <rms@gnu.org>
16257
50718fc2
RS
16258 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16259 to Rmail even if not started by a special Rmail command.
16260
7a70468f
RS
16261 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16262 Copy the buffer currently showing just one message.
16263
297dde5a
RW
162642011-06-22 Roland Winkler <winkler@gnu.org>
16265
16266 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16267 (bibtex-clean-entry): First delete the old key so that a
16268 customized algorithm for generating the new key does not get
16269 confused by the old key.
16270 (bibtex-url): Obey regexp of first step.
16271 (bibtex-search-entries): Do not use add-to-list with local
16272 list-var.
16273
97bb1093
LMI
162742011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16275
16276 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16277 stored a user name, then query for the password first, instead of
16278 waiting for SMTP to give an error message and the trying again.
16279
1c0f1a19
JD
162802011-06-22 Lawrence Mitchell <wence@gmx.li>
16281
16282 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16283 BUFFER in call-process.
16284
396f7c9d
LMI
162852011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16286
16287 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16288 QUIT twice.
ddb7ffee
LMI
16289 (smtpmail-try-auth-methods): Require user name and password from
16290 auth-source.
396f7c9d 16291
8998d1b3
MR
162922011-06-22 Martin Rudalics <rudalics@gmx.at>
16293
16294 * window.el (display-buffer-default-specifiers)
16295 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16296 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16297 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16298
16299 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16300 (special-display-frame-alist, special-display-popup-frame):
16301 Remove duplicate declarations. These are now in window.el.
16302
4ea31e07
LMI
163032011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16304
c9d29fb8
SM
16305 * mail/smtpmail.el (smtpmail-via-smtp):
16306 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16307 server supports it. SMTP servers that support STARTTLS commonly
16308 require it.
16309
16310 * net/network-stream.el (network-stream-open-starttls): Support
16311 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16312 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16313
95f41d9a
LMI
16314 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16315 upgrades with `open-network-stream', and rely solely on
16316 auth-source for all credentials. Big changes throughout the file,
16317 but in particular:
c9d29fb8
SM
16318 (smtpmail-auth-credentials): Remove.
16319 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16320 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16321 MAIL FROM, too.
95f41d9a 16322
c9d29fb8
SM
16323 * net/network-stream.el (network-stream-open-starttls):
16324 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16325 STARTTLS.
16326 (auth-source): Require.
16327 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16328 (network-stream-certificate): Change cert-cert to cert and
16329 cert-key to key.
4ea31e07 16330
065ec2c7
MA
163312011-06-21 Michael Albinus <michael.albinus@gmx.de>
16332
16333 * net/tramp-cache.el (top): Don't load the persistency file when
16334 "emacs -Q" has been called.
16335
cd93b359
DR
163362011-06-21 Tim Harper <timcharper@gmail.com>
16337
d8e4b68b
JB
16338 * term/ns-win.el (ns-initialize-window-system):
16339 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16340 resource to NO as it is not yet supported by the NS port.
16341
ae9c0411
JB
163422011-06-21 Juanma Barranquero <lekktu@gmail.com>
16343
16344 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16345 (list-dynamic-libraries): ...not here.
16346
7f3f739f
LL
163472011-06-21 Leo Liu <sdl.web@gmail.com>
16348
16349 * subr.el (sha1): Implement sha1 using secure-hash.
16350
327c8fb1
MR
163512011-06-21 Martin Rudalics <rudalics@gmx.at>
16352
16353 * window.el (display-buffer-alist): In default value do not
16354 enforce searching a window on any but the selected frame.
16355 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16356 (display-buffer-select-window): Remove function.
16357 (display-buffer-in-window): When a window on another frame gets
16358 reused, do not select it any more but just raise its frame if
16359 necessary (Bug#8851) and (Bug#8856).
16360 (display-buffer-normalize-options): Handle pop-up-frames related
16361 options more faithfully.
16362 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16363 window if it is on another frame.
c9d29fb8
SM
16364 (display-buffer-alist, display-buffer-default-specifiers):
16365 Don't make new frame unsplittable by default.
9e9de014
MR
16366 (display-buffer-normalize-argument): Fix doc-string typo and use
16367 'same-frame-other-window instead of 'other-window when associating
16368 with display-buffer-macro-specifiers.
327c8fb1 16369
7cf3f556
VB
163702011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16371
16372 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16373 New functions.
16374 (5x5-mode-map, 5x5-mode-menu): Bind them.
16375 (5x5-draw-grid): Tweak the solver's rendering.
16376
60a406cf
SM
163772011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16378
16379 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16380 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16381
d8e4b68b 163822011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16383
16384 * menu-bar.el: Use function variable instead of switch-to-buffer.
16385 (menu-bar-select-buffer-function): New variable.
60a406cf 16386 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16387
478d6f95
SM
163882011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16389
16390 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16391 variable's status.
16392
ca530739
JD
163932011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16394
16395 * x-dnd.el (x-dnd-version-from-flags)
16396 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16397 and long as number (Bug#8899).
16398 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16399
bcd70d97
SM
164002011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16401
60a406cf 16402 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16403 (completion-try-completion, completion-all-completions): Compute the
16404 metadata argument if it's missing; make it optional (bug#8795).
16405
60a406cf 16406 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16407 (widget-complete): Use new :completion-function property.
16408 (widget-completions-at-point): New function.
16409 (default): Use :completion-function instead of :complete.
60a406cf
SM
16410 (widget-default-completions): Rename from widget-default-complete;
16411 Rewrite.
bcd70d97
SM
16412 (widget-string-complete, widget-file-complete, widget-color-complete):
16413 Remove functions.
16414 (file, symbol, function, variable, coding-system, color):
16415 * international/mule-cmds.el (default-input-method, charset)
16416 (language-info-custom-alist):
16417 * cus-edit.el (face): Use new property :completions.
16418
16419 * progmodes/pascal.el (pascal-completions-at-point): New function.
16420 (pascal-mode): Use it.
16421 (pascal-mode-map): Use completion-at-point.
16422 (pascal-toggle-completions): Make obsolete.
16423 (pascal-complete-word, pascal-show-completions):
16424 * progmodes/octave-mod.el (octave-complete-symbol):
16425 Redefine as obsolete alias.
16426 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16427 Signal absence of completion info for old Octave,
16428 (inferior-octave-complete): Redefine as obsolete alias.
16429 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16430 (meta-completions-at-point): Rename from meta-complete-symbol and
16431 adapt it for use on completion-at-point-functions.
16432 (meta-common-mode): Use it.
16433 (meta-looking-at-backward, meta-match-buffer): Remove.
16434 (meta-complete-symbol): Redefine as obsolete alias.
16435 (meta-common-mode-map): Use completion-at-point.
16436 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16437 (makefile-mode-map): Use completion-at-point.
16438 (makefile-completions-at-point): Rename from makefile-complete and
16439 adapt it for use on completion-at-point-functions.
16440 (makefile-mode): Use it.
16441 (makefile-complete): Redefine as obsolete alias.
16442
aebf69c8
DD
164432011-06-20 Deniz Dogan <deniz@dogan.se>
16444
16445 * net/rcirc.el: Delete trailing whitespaces once and for all.
16446
bfbbb27d
DC
164472011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16448
16449 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16450
d264a46b
CY
164512011-06-19 Chong Yidong <cyd@stupidchicken.com>
16452
4ca009e5
CY
16453 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16454
d264a46b
CY
16455 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16456
fbf5b3ce
MR
164572011-06-19 Martin Rudalics <rudalics@gmx.at>
16458
16459 * window.el (display-buffer-other-window-means-other-frame):
16460 Call display-buffer-normalize-alist.
16461 (display-buffer-normalize-specifiers-1): Rename to
16462 display-buffer-normalize-argument. New argument other-frame.
16463 Rewrite.
16464 (display-buffer-normalize-specifiers-2): Rename to
16465 display-buffer-normalize-options.
16466 (display-buffer-normalize-alist-1): New function.
16467 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16468 display-buffer-normalize-alist.
16469 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16470 (display-buffer-normalize-options-inhibit): New variable.
16471 (display-buffer-normalize-specifiers): Rewrite calling
16472 display-buffer-normalize-alist,
16473 display-buffer-normalize-argument, and
16474 display-buffer-normalize-options. Don't call the latter if
16475 display-buffer-normalize-options-inhibit is non-nil.
16476 (frame-auto-delete): New option.
16477 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16478 (window-list-no-nils, window-state-ignored-parameters)
16479 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16480 (window-state-put-1, window-state-put-2, window-state-put):
16481 New functions.
9a028c23
MR
16482 (display-buffer-normalize-options): Move special-display-p group
16483 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16484
6d10d800
CY
164852011-06-18 Chong Yidong <cyd@stupidchicken.com>
16486
6420d28b
CY
16487 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16488 groups (Bug#8776).
16489 (rx-submatch-n): New function.
16490 (rx): Document it.
16491
ddb8b596
CY
16492 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16493 (Bug#8768).
16494
16495 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16496
77080289
CY
16497 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16498
61dfb316
CY
16499 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16500 anytime existing face settings are present (Bug#8889).
16501
6d10d800
CY
16502 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16503 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16504 Remove unused argument.
16505
be3fb2b8
MR
165062011-06-18 Martin Rudalics <rudalics@gmx.at>
16507
bcd70d97
SM
16508 * window.el (display-buffer-default-specifiers):
16509 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16510 pop-up-window-min-width, and another reuse-window specifier
16511 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16512 (display-buffer-normalize-specifiers-2):
16513 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16514 pop-up-windows is unset. Add a reuse-window specifier for the
16515 case popping up a new window fails.
16516 (special-display-popup-frame): Remove double quoting.
28dec25a 16517 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16518
1c6d8c76
SM
165192011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16522 according to comint-completion-addsuffix.
16523
16524 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16525 (pcomplete-suffix-list): Mark as obsolete.
16526 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16527 pcomplete-seen in the closure.
16528 (pcomplete-comint-setup): Setup completion-at-point as well.
16529 (pcomplete--entries): New function.
16530 (pcomplete--env-regexp): New var.
16531 (pcomplete-entries): Rewrite to work with partial-completion and
16532 without relying on pcomplete-suffix-list.
16533 (pcomplete-pare-list): Remove, unused.
16534
25aef8b8
MR
165352011-06-17 Martin Rudalics <rudalics@gmx.at>
16536
16537 * window.el (display-buffer-alist): Set pop-up-window-min-height
16538 and pop-up-window-min-width in default value. Reported by
16539 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16540 other-window-means-other-frame.
16541 (display-buffer-macro-specifiers): Comment out entry for
16542 other-window specifier.
16543 (display-buffer-other-window-means-other-frame): New function.
16544 (display-buffer-normalize-specifiers-1): New arguments
16545 buffer-name and label. Treat other-window case specially.
16546 (display-buffer-normalize-specifiers-2): Treat other-window case
16547 specially.
16548 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16549 (display-buffer-normalize-specifiers):
16550 Call display-buffer-normalize-specifiers-3.
25aef8b8 16551
dbad4f69
MR
165522011-06-17 Martin Rudalics <rudalics@gmx.at>
16553
16554 * window.el (same-window-p): Fix two typos introduced when
16555 adding with-no-warnings.
d1067961
MR
16556 (display-buffer-normalize-specifiers-1): Don't check
16557 pop-up-frames for 'unset initialization.
16558 (display-buffer-normalize-specifiers-2): Major rewrite using
16559 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16560 (pop-up-frames, display-buffer-reuse-frames)
16561 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16562 Suggested by David Engster <deng@randomsample.de>.
16563 (even-window-heights): Initialize to 'unset.
16564 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16565 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16566 other window case.
dbad4f69 16567
9b9c9e3a
MR
165682011-06-16 Martin Rudalics <rudalics@gmx.at>
16569
bcd70d97
SM
16570 * window.el (display-buffer-normalize-specifiers-1):
16571 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16572 second argument of display-buffer (Bug#8865).
981d5c09
MR
16573 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16574 (switch-to-buffer-other-window-same-frame)
16575 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16576 Adams (Bug#8875).
9c2755e9
MR
16577 (display-buffer): Don't check noninteractive when calling
16578 display-buffer-pop-up-frame.
16579 (display-buffer-pop-up-frame): Never pop up a frame in
16580 noninteractive mode (Bug#8857).
67222e1d
MR
16581 (enlarge-window, shrink-window): Don't report an error when the
16582 window can't be resized as requested (Bug#8862).
9b9c9e3a 16583
2b75be67
SM
165842011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16585
9ffdd3ba
SM
16586 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16587
cb581a67
SM
16588 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16589
2b75be67
SM
16590 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16591
8c0e3589
AM
165922011-06-15 Alan Mackenzie <acm@muc.de>
16593
cb581a67
SM
16594 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16595 for declarators, disable knr checking to speed up for normal files.
16596 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16597
b96e6cde
LMI
165982011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16599
4bba86e6
LMI
16600 * net/network-stream.el (open-network-stream): Add the keyword
16601 :always-query-capabilities for the case where you want to force a
16602 `plain' network connection, but the protocol still requires the
16603 capabilitiy command (i.e., SMTP and EHLO).
16604
2b75be67 16605 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16606 consistency with other `-live-p' functions.
16607
efdcdbf8
SM
166082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16609
16610 * window.el (same-window-buffer-names, same-window-regexps)
16611 (special-display-frame-alist, special-display-popup-frame)
16612 (special-display-function, special-display-buffer-names)
16613 (special-display-regexps, pop-up-frame-alist)
16614 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16615 (pop-up-windows, split-window-preferred-function)
16616 (split-height-threshold, split-width-threshold, even-window-heights)
16617 (display-buffer-mark-dedicated): Don't encourage the use of
16618 display-buffer-alist from Elisp code.
16619
c5cde042
DN
166202011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16621
16622 * progmodes/python.el (python-mode): Derive from prog-mode.
16623 * progmodes/ps-mode.el (ps-mode):
16624 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16625 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16626 * progmodes/ld-script.el (ld-script-mode): Likewise.
16627
baa1c9ab
MR
166282011-06-15 Martin Rudalics <rudalics@gmx.at>
16629
16630 * window.el (display-buffer-alist): Trim default value to avoid
16631 popping up a new frame (Bug#8857) or reusing an arbitrary window
16632 on another frame.
16633 (display-buffer): Do not fall back on popping up a new frame in
16634 batch mode (Bug#8857).
16635
c5dd5a51
CY
166362011-06-14 Chong Yidong <cyd@stupidchicken.com>
16637
16638 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16639 (custom-theme-summary): New function.
16640 (customize-themes): Use it.
16641
d647b7c4
GM
166422011-06-13 Glenn Morris <rgm@gnu.org>
16643
16644 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16645
9481c002
MR
166462011-06-13 Martin Rudalics <rudalics@gmx.at>
16647
357f93d2
MR
16648 * help.el (help-window): Remove variable.
16649 (help-window-point-marker, temp-buffer-max-height)
16650 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16651 (help-print-return-message): Don't set help-window.
16652 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16653 (help-window-setup-finish): Remove.
16654 (help-window-display-message, help-window-setup)
16655 (with-help-window): Major rewrite based on new
16656 display-buffer-window variable.
16657
16658 * help-mode.el (help-mode-finish): Remove help-window related
16659 code.
16660
16661 * view.el (view-exits-all-viewing-windows): Remove reference to
16662 view-return-to-alist in doc-string.
16663 (view-return-to-alist): Make obsolete.
16664 (view-buffer): Call pop-to-buffer-same-window and remove
16665 undo-window code.
16666 (view-buffer-other-window): Call pop-to-buffer-other-window and
16667 simplify code. Ignore second argument.
16668 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16669 simplify code. Ignore second argument.
16670 (view-return-to-alist-update): Make obsolete.
16671 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16672 Rewrite using quit-restore window parameters.
2b75be67
SM
16673 (view-mode-exit): Rename second argument to EXIT-ONLY.
16674 Rewrite using quit-restore-window.
357f93d2
MR
16675 (View-exit, View-exit-and-edit, View-leave, View-quit)
16676 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16677 appropriate arguments.
16678 (view-end-message): Use quit-restore window parameter.
16679
9481c002
MR
16680 * window.el (display-buffer-function): Rewrite doc-string.
16681 (display-buffer-window, display-buffer-alist): New variables.
16682 (display-buffer-split-specifiers)
16683 (display-buffer-side-specifiers)
16684 (display-buffer-macro-specifiers): New constants.
16685 (display-buffer-even-window-sizes, display-buffer-set-height)
16686 (display-buffer-set-width, display-buffer-select-window)
16687 (display-buffer-in-window, display-buffer-reuse-window)
16688 (display-buffer-split-window-1, display-buffer-split-window)
16689 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16690 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16691 (display-buffer-in-side-window, normalize-buffer-to-display)
16692 (display-buffer-normalize-specifiers-1)
16693 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16694 (display-buffer-normalize-specifiers, display-buffer-frame):
16695 New functions.
9481c002
MR
16696 (display-buffer): Major rewrite.
16697 (display-buffer-other-window, display-buffer-other-frame)
16698 (pop-to-buffer, switch-to-buffer-other-window)
16699 (switch-to-buffer-other-frame): Rewrite.
16700 (display-buffer-same-window, display-buffer-same-frame)
16701 (display-buffer-same-frame-other-window)
16702 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16703 (pop-to-buffer-other-window)
16704 (pop-to-buffer-same-frame-other-window)
16705 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16706 (switch-to-buffer-other-window-same-frame): New functions.
16707 (same-window-p, special-display-p): Rewrite disabling warnings.
16708 Make obsolete.
16709 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16710 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16711 Make obsolete
16712 (same-window-buffer-names, same-window-regexps)
16713 (special-display-frame-alist, special-display-popup-frame)
16714 (special-display-function, special-display-buffer-names)
16715 (special-display-regexps, pop-up-frame-alist)
16716 (pop-up-frame-function, split-window-preferred-function)
16717 (split-height-threshold, split-width-threshold)
16718 (even-window-heights): Make obsolete.
16719
9db51aca
GM
167202011-06-12 Glenn Morris <rgm@gnu.org>
16721
16722 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16723 Misc simplifications.
9db51aca 16724
39cffb44
MR
167252011-06-12 Martin Rudalics <rudalics@gmx.at>
16726
16727 * window.el (window-safely-shrinkable-p): Restore function which
16728 was inadvertently removed in change from 2011-06-11. Declare as
16729 obsolete.
16730
2b75be67
SM
16731 * calendar/calendar.el (calendar-generate-window):
16732 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16733 window-safely-shrinkable-p.
16734
a8955be7
GM
167352011-06-12 Glenn Morris <rgm@gnu.org>
16736
16737 * progmodes/fortran.el (fortran-mode-syntax-table):
16738 * progmodes/f90.el (f90-mode-syntax-table):
16739 Set % to punctuation. (Bug#8820)
16740 (f90-find-tag-default): Remove, no longer needed.
16741
f0d4059d
DC
167422011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16743
16744 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16745
1100a63c
CY
167462011-06-11 Chong Yidong <cyd@stupidchicken.com>
16747
16748 * image.el (image-animated-p): Return animation delay in seconds.
16749 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16750 (image-animate-timeout): Remove DELAY argument. Don't assume
16751 every subimage has the same delay; get it from image-animated-p.
16752 (image-animate): Caller changed.
16753
def722bf
MA
167542011-06-11 Michael Albinus <michael.albinus@gmx.de>
16755
16756 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16757 to ignored backtrace functions.
16758
0a2bb1a9
GM
167592011-06-11 Glenn Morris <rgm@gnu.org>
16760
16761 * calendar/appt.el (appt-disp-window-function): Doc fix.
16762 (appt-check): Handle overlapping appointments. (Bug#8337)
16763
6198ccd0
MR
167642011-06-11 Martin Rudalics <rudalics@gmx.at>
16765
16766 * window.el (window-tree-1, window-tree): New functions, moving
16767 the latter to window.el.
16768 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16769 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16770 (bw-refresh-edges): Remove.
16771 (balance-windows-1, balance-windows-2): New functions.
16772 (balance-windows): Rewrite in terms of window tree functions,
16773 balance-windows-1 and balance-windows-2.
16774 (bw-adjust-window): Remove.
16775 (balance-windows-area-adjust): New function with functionality of
16776 bw-adjust-window but using resize-window.
2b75be67
SM
16777 (set-window-text-height): Rewrite doc-string.
16778 Use normalize-live-window and resize-window.
16779 (enlarge-window-horizontally, shrink-window-horizontally):
16780 Rename argument to DELTA.
6198ccd0
MR
16781 (window-buffer-height): New function.
16782 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16783 Rewrite using new window resize routines.
2b75be67
SM
16784 (kill-buffer-and-window, mouse-autoselect-window-select):
16785 Use ignore-errors instead of condition-case.
6198ccd0
MR
16786 (quit-window): Call delete-frame instead of delete-windows-on
16787 for the only buffer on frame.
16788
9397e56f
MR
167892011-06-10 Martin Rudalics <rudalics@gmx.at>
16790
16791 * loadup.el (top-level): Load window before files for the sake
16792 of replace-buffer-in-windows.
16793
16794 * files.el (read-buffer-to-switch)
16795 (switch-to-buffer-other-window)
2b75be67
SM
16796 (switch-to-buffer-other-frame, display-buffer-other-frame):
16797 Move to window.el.
9397e56f
MR
16798
16799 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16800 (previous-buffer): Move to window.el.
16801
16802 * bindings.el (unbury-buffer): Move to window.el.
16803
16804 * window.el (delete-other-windows-vertically): Move after
16805 definition of delete-other-windows.
16806 (other-window, delete-windows-on, replace-buffer-in-windows):
16807 Move here from window.c.
16808 (record-window-buffer, unrecord-window-buffer)
16809 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16810 (switch-to-next-buffer): New functions.
16811 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16812 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16813 (previous-buffer): Move here from simple.el.
16814 Call switch-to-prev-buffer.
9397e56f
MR
16815 (bury-buffer): Move here from buffer.c. Switch to previous
16816 buffer when window cannot be deleted.
16817 (unbury-buffer): Move here from bindings.el.
16818 (ctl-x-map): Move binding for other-window from window.c to
16819 here.
16820 (read-buffer-to-switch, switch-to-buffer-other-window)
16821 (switch-to-buffer-other-frame): Move here from files.el.
16822 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16823 (switch-to-buffer): Move here from buffer.c.
16824 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16825
562dd5e9
MR
168262011-06-10 Martin Rudalics <rudalics@gmx.at>
16827
16828 * window.el (window-min-height, window-min-width): Move here
16829 from window.c. Add defcustoms and rewrite doc-strings.
16830 (resize-mini-window, resize-window): New functions.
16831 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16832 Move here from window.c.
16833 (maximize-window, minimize-window): New functions.
16834 (delete-window, delete-other-windows, split-window): Move here
16835 from window.c.
16836 (window-split-min-size): New function.
16837 (split-window-keep-point): Mention split-window-above-each-other
16838 instead of split-window-vertically.
2b75be67 16839 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16840 Rename split-window-vertically to split-window-above-each-other
16841 and provide defalias for old definition.
16842 (split-window-side-by-side, split-window-horizontally):
16843 Rename split-window-horizontally to split-window-side-by-side
16844 and provide defalias for the old definition.
562dd5e9
MR
16845 (ctl-x-map): Move bindings for delete-window,
16846 delete-other-windows and enlarge-window here from window.c.
16847 Replace bindings for split-window-vertically and
16848 split-window-horizontally by bindings for
16849 split-window-above-each-other and split-window-side-by-side.
16850
16851 * cus-start.el (all): Remove entries for window-min-height and
16852 window-min-width. Add entries for window-splits and
16853 window-nest.
16854
f0da764a
GM
168552011-06-09 Glenn Morris <rgm@gnu.org>
16856
80675c21
GM
16857 * calendar/appt.el (appt-mode-line): New function.
16858 (appt-check, appt-disp-window): Use it.
16859
f0da764a
GM
16860 * files.el (hack-one-local-variable-eval-safep):
16861 Allow minor-modes with explicit +/-1 arguments.
16862
59f623b7
TZ
168632011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16864
16865 * term/xterm.el (xterm): Add defgroup.
16866 (xterm-extra-capabilities): Add defcustom to supply known xterm
16867 capabilities, skip querying them, or query them (default).
16868 (terminal-init-xterm): Use it.
16869 (terminal-init-xterm-modify-other-keys): New function to set up
16870 modifyOtherKeys support to simplify `terminal-init-xterm'.
16871
9aab8e0d
MR
168722011-06-09 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (resize-window-reset, resize-window-reset-1)
16875 (resize-subwindows-skip-p, resize-subwindows-normal)
16876 (resize-subwindows, resize-other-windows, resize-this-window)
16877 (resize-root-window, resize-root-window-vertically)
16878 (window-deletable-p, window-or-subwindow-p)
16879 (frame-root-window-p): New functions.
16880
e8b08aee
GM
168812011-06-09 Glenn Morris <rgm@gnu.org>
16882
16883 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16884 (ange-ftp-get-files): Use it.
16885
254c37a5
AK
168862011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16887
16888 * mail/sendmail.el (mail-recover-1, mail-recover):
16889 * files.el (recover-file, recover-session):
16890 Handle dired-listing-switches not being just a single short option.
16891
35d7dbd3
GM
168922011-06-09 Glenn Morris <rgm@gnu.org>
16893
16894 * calendar/appt.el (appt-display-message, appt-disp-window):
16895 Handle lists of appointments.
16896
387522b2
MR
168972011-06-08 Martin Rudalics <rudalics@gmx.at>
16898
2b75be67
SM
16899 * window.el (one-window-p): Move down in code.
16900 Rewrite doc-string.
16901 (window-current-scroll-bars): Rewrite doc-string.
16902 Normalize live window argument.
387522b2
MR
16903 (walk-windows, get-window-with-predicate, count-windows):
16904 Rewrite doc-string. Use window-list-1.
16905 (window-in-direction-2, window-in-direction, get-mru-window):
16906 New functions.
16907
d8e4b68b 169082011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16909
16910 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16911 Doc fix (Bug#8713).
16912
169132011-06-08 Chong Yidong <cyd@stupidchicken.com>
16914
16915 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16916
169172011-06-08 Juanma Barranquero <lekktu@gmail.com>
16918
16919 * loadhist.el (unload-feature-special-hooks):
16920 Add `comint-output-filter-functions'.
16921
0de12c52
IK
169222011-06-08 Ivan Kanis <gnu@kanis.fr>
16923
16924 * calendar/appt.el (appt-check): Move some initializations into the let.
16925
f3d1777e
MR
169262011-06-08 Martin Rudalics <rudalics@gmx.at>
16927
16928 * window.el (window-height): Defalias to window-total-height.
16929 (window-width): Defalias to window-body-width.
16930
18af70d0
CY
169312011-06-07 Chong Yidong <cyd@stupidchicken.com>
16932
16933 * image-mode.el (image-toggle-animation): New command.
16934 (image-mode-map): Bind it to RET.
16935 (image-mode): Update message.
16936 (image-toggle-display-image): Avoid a spurious cache flush.
16937 (image-transform-rotation): Doc fix.
16938 (image-transform-properties): Return quickly in the normal case.
16939 (image-animate-loop): Rename from image-animate-max-time.
16940
2b75be67 16941 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16942 (create-animated-image): Remove unnecessary function.
16943 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16944 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16945 (image-animate-timer): Use car-safe.
16946 (image-animate-timeout): Rename argument.
16947
190b47e6
MR
169482011-06-07 Martin Rudalics <rudalics@gmx.at>
16949
16950 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16951 window.c. Rename first argument to ALL-FRAMES.
16952 Rephrase doc-strings.
16953 (get-buffer-window-list): Rewrite using window-list-1.
16954 Rephrase doc-string.
a1511caf
MR
16955 (window-safe-min-height, window-safe-min-width): New constants.
16956 (window-size-ignore, window-min-size, window-min-size-1)
16957 (window-sizable, window-sizable-p, window-size-fixed-1)
16958 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16959 (window-max-delta-1, window-max-delta, window-resizable)
16960 (window-resizable-p, window-total-height, window-total-width)
16961 (window-body-width): New functions.
16962 (window-full-height-p, window-full-width-p): Rewrite using
16963 window-total-size.
16964 (window-body-height): Rewrite using window-body-size.
190b47e6 16965
85cc1f11
MR
169662011-06-06 Martin Rudalics <rudalics@gmx.at>
16967
16968 * window.el (window-right, window-left, window-child)
16969 (window-child-count, window-last-child, window-any-p)
16970 (normalize-live-buffer, normalize-live-frame)
16971 (normalize-any-window, normalize-live-window)
16972 (window-iso-combination-p, window-iso-combined-p)
16973 (window-iso-combinations)
16974 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16975 (windows-with-parameter, window-with-parameter)
16976 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16977 (window-atom-check, window-side-check, window-check):
16978 New functions.
85cc1f11
MR
16979 (ignore-window-parameters, window-sides, window-sides-vertical)
16980 (window-sides-slots): New variables.
16981 (window-size-fixed): Move down in code. Minor doc-string fix.
16982
e7156492
AS
169832011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16984
16985 * comint.el (comint-dynamic-complete-as-filename)
16986 (comint-dynamic-complete-filename): Correctly call
16987 completion-in-region.
16988
7e821d0d
DD
169892011-06-05 Deniz Dogan <deniz@dogan.se>
16990
16991 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16992 in last change.
16993
ac09b8a1
DD
169942011-06-05 Deniz Dogan <deniz@dogan.se>
16995
16996 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16997 (rcirc): Use it to prompt for encryption.
16998
34699b85
RW
169992011-06-05 Roland Winkler <winkler@gnu.org>
17000
17001 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17002 (bibtex-search-entries): New command bound to C-c C-a.
17003 (bibtex-display-entries): New function.
17004
004dedd3
RW
170052011-06-05 Roland Winkler <winkler@gnu.org>
17006
17007 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17008 (bibtex-insert-kill): After yanking insert newline if necessary.
17009 (bibtex-initialize): Call bibtex-string-files-init only once.
17010 (bibtex-mode): Do not call easy-menu-add.
17011 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17012 (bibtex-yank): Set arg properly if nil.
17013
022fe7ce
RW
170142011-06-05 Roland Winkler <winkler@gnu.org>
17015
2b75be67
SM
17016 * textmodes/bibtex.el (bibtex-search-entry-globally):
17017 New variable.
022fe7ce
RW
17018 (bibtex-search-entry): Use it.
17019
b7c3692a
RW
170202011-06-05 Roland Winkler <winkler@gnu.org>
17021
17022 * textmodes/bibtex.el (bibtex-entry-format): New option
17023 sort-fields.
17024 (bibtex-format-entry, bibtex-reformat): Honor this option.
17025 (bibtex-parse-entry): Return fields in proper order.
17026
8eda563d
JB
170272011-06-05 Juanma Barranquero <lekktu@gmail.com>
17028
17029 * doc-view.el (doc-view-remove-if): Move computation of result out
17030 of `dolist' to silence misleading lexical-binding warning.
17031
7dbe3dbc
CY
170322011-06-04 Chong Yidong <cyd@stupidchicken.com>
17033
17034 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17035 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17036
0c33dd17
MA
170372011-06-04 Michael Albinus <michael.albinus@gmx.de>
17038
17039 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17040 "SunOS 5.10".
17041
f8f91c2b
MA
170422011-06-04 Michael Albinus <michael.albinus@gmx.de>
17043
17044 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17045 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17046 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17047 (tramp-parse-putty):
17048 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17049 (tramp-completion-function-alist-ssh)
17050 (tramp-completion-function-alist-telnet)
17051 (tramp-completion-function-alist-su)
17052 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17053 cookie.
17054
17055 * net/tramp-ftp.el:
17056 * net/tramp-sh.el:
17057 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17058 load "tramp.el" `tramp-set-completion-function'.
17059
e17d9003
SM
170602011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * shell.el: Require and use pcomplete.
17063 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17064 (shell-completion-vars): Set pcomplete-default-completion-function.
17065
6c4cab03
DD
170662011-06-04 Deniz Dogan <deniz@dogan.se>
17067
17068 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17069 `memq' (Bug#8799).
17070
ea9fafe0
SM
170712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17072
17073 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17074
b3e945d3
JB
170752011-06-02 Juanma Barranquero <lekktu@gmail.com>
17076
17077 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17078 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17079 * vc/log-view.el (log-view-beginning-of-defun):
17080 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17081 (smerge-refine-forward, smerge-refine-chopup-region):
17082 Silence warning for unused `dotimes' counter variables.
17083
7d520089
SM
170842011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * net/tramp.el (tramp-with-progress-reporter): Rename from
17087 with-progress-reporter. Use `declare'.
17088 * net/tramp-smb.el:
17089 * net/tramp-sh.el:
17090 * net/tramp-gvfs.el: Update all uses.
17091
a1c2400f
JB
170922011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17093
17094 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17095 buffer isn't killed before making it current.
17096
2403c841
SM
170972011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17098
17099 Silence various byte-compiler warnings.
17100 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17101 `access-type' and new obsolescence format.
17102 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17103 new format.
17104 (byte-compile-check-variable): New `access-type' argument.
17105 Only warn if the access-type is obsolete.
17106 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17107 (byte-compile-variable-set): Adjust callers.
17108 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17109 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17110 setting it as obsolete.
17111 * simple.el (minibuffer-completing-symbol):
17112 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17113 access as obsolete.
17114 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17115 obsolete yet.
17116 * international/quail.el (quail-mouse-choose-completion): Remove unused
17117 code referring to obsolete var.
17118 (quail-choose-completion-string): Remove.
17119 * server.el (server-clients-with, server-kill-buffer-query-function)
17120 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17121 * proced.el (proced-send-signal):
17122 * emacs-lisp/lisp.el (lisp-complete-symbol):
17123 Replace completion-annotate-function with completion-extra-properties.
17124
2462470b
SM
171252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17126
fb5b2591
SM
17127 * simple.el (goto-line): Use read-number.
17128 (overriding-map-is-bound): Remove.
17129 (saved-overriding-map): Change default.
17130 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17131 Take the map as argument.
17132 (universal-argument, negative-argument, digit-argument): Use it.
17133 (restore-overriding-map): Adjust.
17134 (do-auto-fill): Use fill-forward-paragraph.
17135 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17136
fd6fa53f
SM
17137 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17138 (minibuffer-inactive-mode): New major mode.
17139 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17140 the *Messages* buffer" hack.
17141 (mouse-popup-menubar): Don't burp if the event is a normal key.
17142
2462470b
SM
17143 Miscellaneous tweaks.
17144 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17145 lexical scoping as in subr.el's dolist and dotimes.
17146 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17147 Silence compiler warning.
17148 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17149 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17150 * international/ccl.el (ccl-compile): Trivial simplification.
17151 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17152 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17153 `printflag' argument.
17154 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17155 Purecopy the whole obsolescence data.
17156
108bf785
LL
171572011-06-01 Leo Liu <sdl.web@gmail.com>
17158
17159 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17160 improve doc-string as suggested by Marco Pessotto
17161 <melmothx@gmail.com>.
17162 (rcirc-print): Fix last change.
17163
30a23501
SM
171642011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17165
17166 * minibuffer.el (complete-with-action): Return nil for the metadata and
17167 boundaries of non-functional tables.
17168 (completion-table-dynamic): Return nil for the metadata.
17169 (completion-table-with-terminator): Add default case, using
17170 complete-with-action.
17171 (completion--metadata): New function.
17172 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17173 to try and avoid pathological performance problems.
17174 (completion--embedded-envvar-table): Return `category' metadata.
17175
bcd54f83
LMI
171762011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17177
17178 * subr.el (process-alive-p): New tiny convenience function.
17179
e227544d
SM
171802011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17181
17182 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17183 content but also its previous major mode.
17184
e8296fdc
HE
171852011-05-31 Helmut Eller <eller.helmut@gmail.com>
17186
4d61f28d 17187 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17188 *Backtrace* buffer when we exit with C-M-c.
17189
620c53a6
SM
171902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17191
17192 * minibuffer.el: Add metadata method to completion tables.
17193 (completion-category-overrides): New defcustom.
17194 (completion-metadata, completion--field-metadata)
17195 (completion-metadata-get, completion--styles)
17196 (completion--cycle-threshold): New functions.
17197 (completion-try-completion, completion-all-completions):
17198 Add `metadata' argument to choose completion-styles.
17199 (completion--do-completion): Use metadata to choose cycling.
17200 (completion-all-sorted-completions): Use metadata for sorting.
17201 Remove :completion-cycle-penalty which is not needed any more.
17202 (completion--try-word-completion): Add `metadata' argument.
17203 (minibuffer-completion-help): Check metadata for annotation function
17204 and sorting.
17205 (completion-file-name-table): Return `category' metadata.
17206 (minibuffer-completing-file-name): Make obsolete.
17207 * simple.el (minibuffer-completing-symbol): Make obsolete.
17208 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17209 completion-try-completion.
17210
1257e755
SM
172112011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17214
3767e706
LL
172152011-05-30 Leo Liu <sdl.web@gmail.com>
17216
17217 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17218 (rcirc-print): Decode all incoming messages (bug#8744).
17219 (rcirc-decode-coding-system): Allow value nil for automatic coding
17220 system detection.
3767e706 17221
d1a5d56a
GM
172222011-06-01 Glenn Morris <rgm@gnu.org>
17223
17224 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17225
e8cbec34
CY
172262011-05-29 Chong Yidong <cyd@stupidchicken.com>
17227
17228 * image.el (image-animate-max-time): Allow nil and t values.
17229 Default to nil.
17230 (create-animated-image): Doc fix.
17231 (image-animate-start): Remove second arg; just use
17232 image-animate-max-time.
17233 (image-animate-timeout): Doc fix. Args changed.
17234
17235 * image-mode.el (image-toggle-display-image): Ensure that the
17236 image spec passed to the animate timer is the same object as in
58179cce 17237 the buffer's display property (Bug#6981).
e8cbec34
CY
17238 (image-transform-properties): Doc fix.
17239
17240 * image.el (image-animate-max-time): Default to nil.
17241
159daf87
MR
172422011-05-29 Martin Rudalics <rudalics@gmx.at>
17243
17244 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17245 entire buffer list (Bug#8184).
17246
d66c4c7c
CY
172472011-05-29 Chong Yidong <cyd@stupidchicken.com>
17248
17249 * image.el (imagemagick-types-inhibit)
17250 (imagemagick-register-types): Doc fix.
17251
80aec780
DD
172522011-05-29 Deniz Dogan <deniz@dogan.se>
17253
17254 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17255 default.
17256
1dd3c2d9
CY
172572011-05-29 Chong Yidong <cyd@stupidchicken.com>
17258
17259 * select.el: Don't perform clipboard-manager saving in hooks;
17260 leave the hooks empty.
17261
60e56523
LL
172622011-05-28 Leo Liu <sdl.web@gmail.com>
17263
17264 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17265 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17266 (occur-edit-mode): New major mode (Bug#8463).
17267 (occur-after-change-function): New function.
17268 (occur-engine): Give Occur tags a read-only property.
17269
2b1e1a22
KR
172702011-05-28 Kevin Ryde <user42@zip.com.au>
17271
17272 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17273
5d344e88
CY
172742011-05-28 Chong Yidong <cyd@stupidchicken.com>
17275
8e6ca83d
CY
17276 * bindings.el (help-echo): Make the initial non-indicator dash
17277 empty on graphical terminals (Bug#7295).
17278
5d344e88
CY
17279 * files.el (auto-mode-alist): Move config rule after the
17280 in-stripping one (Bug#8547).
17281
bfbbace7
CY
17282 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17283
fbeba6e2
CY
17284 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17285 setting (Bug#8740).
17286
60ed8c72
AA
172872011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17288
4ac619f0
AA
17289 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17290 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17291 (Bug#8539).
60ed8c72 17292
23db196e
CY
172932011-05-28 Chong Yidong <cyd@stupidchicken.com>
17294
17295 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17296
5012f24c
DK
172972011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17298
17299 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17300 (hs-hide-block-at-point, hs-find-block-beginning)
17301 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17302 (Bug#8279).
17303
6a639b16
GM
173042011-05-28 Glenn Morris <rgm@gnu.org>
17305
17306 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17307
d43eaf2c
CY
173082011-05-28 Chong Yidong <cyd@stupidchicken.com>
17309
5199bde1
CY
17310 * help-fns.el (describe-function-1): If the function is a derived
17311 major mode, print the parent mode.
17312
d43eaf2c
CY
17313 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17314 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17315
423428a8
SM
173162011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17317
0ff8e1ba 17318 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17319 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17320 * progmodes/etags.el (tags-completion-at-point-function):
17321 * info-look.el (info-lookup-completions-at-point): Mark as
17322 non-exclusive.
17323 (info-complete): Adjust accordingly.
17324
423428a8
SM
17325 * info-look.el: Convert to lexical-binding and completion-at-point.
17326 (info-lookup-completions-at-point): New function.
17327 (info-complete): Use it and completion-in-region.
17328
b74aa22b
DA
173292011-05-28 Drew Adams <drew.adams@oracle.com>
17330
17331 * isearch.el: Let M-e start with point at the first mismatched char.
17332 (isearch-fail-pos): New function.
17333 (isearch-edit-string): Use it.
17334
66e2e71d
DK
173352011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17336
17337 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17338
b1890b0f 173392011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17340
17341 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17342 traversal functions for avl-trees.
17343 (avl-tree--stack): New struct.
17344 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17345 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17346 (avl-tree--do-enter): Add optional `updatefun' arg.
17347 Change return value.
eb95d01d 17348 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17349 (avl-tree--do-delete): Add `test' and `nilflag' args.
17350 Change return value.
eb95d01d
TC
17351 (avl-tree-member): Add optional `nilflag'
17352 (avl-tree-member-p): New function.
17353 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17354 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17355 (avl-tree-stack-empty-p): New functions.
17356
3769ddcf
TC
17357 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17358 avl-tree--del-balance1 and make it work both ways.
17359 (avl-tree--del-balance2): Remove.
17360 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17361 make it work both ways.
17362 (avl-tree--enter-balance2): Remove.
17363 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17364 New macros.
17365 (avl-tree--mapc, avl-tree-map): Add direction argument.
17366
eb95d01d 173672011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17368
17369 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17370
a9f737ee
CY
173712011-05-27 Chong Yidong <cyd@stupidchicken.com>
17372
17373 * select.el: Support clipboard managers with built-in function
17374 x-clipboard-manager-save, via delete-frame-functions and
17375 kill-emacs-hook.
17376 (xselect-convert-to-targets): Add MULTIPLE target to list.
17377 (xselect-convert-to-save-targets): New function.
17378
c92a1e54
KH
173792011-05-27 Kenichi Handa <handa@m17n.org>
17380
17381 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17382 let-binding rfc2047-encode-encoded-words to nil.
17383
e145f188
GM
173842011-05-27 Glenn Morris <rgm@gnu.org>
17385
5ec8a862
GM
17386 * mail/emacsbug.el: Don't require url-util.
17387
4b29d9fb
GM
17388 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17389
e145f188
GM
17390 * files.el (set-auto-mode):
17391 Also respect mode: entries at the end of the file. (Bug#8586)
17392
7d15102b
GM
173932011-05-26 Glenn Morris <rgm@gnu.org>
17394
98f593b8
GM
17395 * files.el (hack-local-variables-prop-line, hack-local-variables):
17396 Downcase mode names, as seems to be traditional.
27b48e63 17397 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17398
7d15102b
GM
17399 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17400 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17401
51d5b4ec
JD
174022011-05-25 Julien Danjou <julien@danjou.info>
17403
17404 * textmodes/rst.el (rst-define-level-faces): Do not define face
17405 symbol if it is already defined.
17406
91513f63
VB
174072011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17408
17409 * play/5x5.el (5x5-new-game, 5x5-randomize):
17410 Reset 5x5-solver-output to nil when a new grid is cast.
17411 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17412 these debugging traces, as defmacro breaks the compiled code.
17413
4d90d6d0
DK
174142011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17415
17416 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17417
e1b90ef6
LL
174182011-05-24 Leo Liu <sdl.web@gmail.com>
17419
17420 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17421 (vc-bzr-sha1): Adapt.
17422
d8e4b68b 17423 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17424
17425 * bindings.el: Provide sha1 feature.
17426
db0406bb 174272011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17428
17429 * mail/sendmail.el: Require `rfc2047'.
17430 (mail-insert-from-field): Do not perform RFC2047 encoding.
17431 (mail-encode-header): New function.
17432 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17433 buffer to the return value of select-message-coding-system.
17434 Call mail-encode-header.
b8d747b9
KH
17435
17436 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17437
db0406bb 174382011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17439
4d90d6d0
DK
17440 * mail/supercite.el (sc-default-cite-frame):
17441 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17442
eb8a5e9b
GM
174432011-05-24 Glenn Morris <rgm@gnu.org>
17444
f8630703
GM
17445 * progmodes/python.el (brm-menu): Declare.
17446
8831bbed
GM
17447 * emulation/viper.el (viper-set-hooks): Declare.
17448
eb8a5e9b
GM
17449 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17450 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17451 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17452 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17453 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17454 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17455
a2a25d24
SM
174562011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17457
17458 Add an :exit-function for completion-at-point.
17459
17460 * minibuffer.el (completion--done): New fun.
17461 (completion--do-completion): Use it. New arg `expect-exact'.
17462 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17463 since completion--do-completion does it for us now.
17464 (minibuffer-force-complete): Use completion--done and
17465 completion--replace. Handle sole-completion case with more care.
17466 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17467 (completion-extra-properties): New var.
17468 (completion-annotate-function): Make obsolete.
17469 (minibuffer-completion-help): Adjust accordingly.
17470 Use completion-list-insert-choice-function.
17471 (completion-at-point, completion-help-at-point):
17472 Bind completion-extra-properties.
17473 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17474 * simple.el (completion-list-insert-choice-function): New var.
17475 (completion-setup-function): Preserve it.
17476 (choose-completion): Pay attention to it, shuffle the code a bit.
17477 (choose-completion-string): New arg `insert-function'.
17478
17479 * textmodes/bibtex.el: Convert to lexical binding.
17480 (bibtex-mode-map): Use completion-at-point.
17481 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17482 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17483 (bibtex-complete): Define as obsolete alias.
17484 (bibtex-complete-internal): Remove.
17485 (bibtex-format-entry): Remove unused sub-group in regexp.
17486 * shell.el (shell--command-completion-data)
17487 (shell-environment-variable-completion):
17488 * pcomplete.el (pcomplete-completions-at-point):
17489 * comint.el (comint--complete-file-name-data): Use :exit-function
17490 instead of completion-table-with-terminator so it also works for
17491 choose-completion.
17492
e44e373d
SM
174932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17494
4f91a816
SM
17495 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17496
782fc819
SM
17497 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17498 (bug#8710).
17499
e44e373d
SM
17500 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17501
381987c3
KM
175022011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17503
17504 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17505 customization variable and implement: If non-nil, auto-fill will
17506 be inhibited while on topic's header line.
17507
b776bc70
VB
175082011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17509
17510 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17511 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17512 always have a solution in grid size = 5 cases.
17513 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17514 (5x5-solver-output, 5x5-log-buffer): New vars.
17515 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17516 Make these variables buffer local to achieve 5x5 multi-session-ness.
17517 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17518 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17519 (5x5-solve-suggest): New funs.
17520 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17521 randomize a grid so that we ensure that there is always a solution.
17522 (5x5-make-random-grid): Allow other movement than flipping.
17523
7de88b6e
KR
175242011-05-23 Kevin Ryde <user42@zip.com.au>
17525
17526 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17527 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17528 advice and passes PREDICATE.
17529
b1ef1257
SM
175302011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17531
bbca48fe
SM
17532 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17533 byte-compile-lambda if it's actually a lambda.
17534
b1ef1257
SM
17535 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17536 Fix function quoting. Use backquote better.
17537
92a9cc65
YS
175382011-05-22 Yuanle Song <sylecn@gmail.com>
17539
17540 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17541 matching (Bug#8516).
17542
f0fb8059
JA
175432011-01-22 Jari Aalto <jari.aalto@cante.net>
17544
17545 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17546 different face (Bug#8178).
17547
d5b44c93
CY
175482011-05-22 Chong Yidong <cyd@stupidchicken.com>
17549
17550 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17551 defface (Bug#8144).
17552
79106a44
SM
175532011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17554
9c848d8a
SM
17555 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17556 funcall as well (bug#8712). Warn when performing those conversions.
17557 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17558
79106a44
SM
17559 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17560
88dfa756
GM
175612011-05-22 Glenn Morris <rgm@gnu.org>
17562
17563 * files.el (hack-local-variables-prop-line): Small simplifications.
17564 (hack-local-variables, hack-local-variables-prop-line):
17565 If MODE-ONLY, return the mode, rather than just `t'.
17566
b7cf2c79
SM
175672011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17568
17569 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17570
3f1a8558
GM
175712011-05-21 Glenn Morris <rgm@gnu.org>
17572
7e4ccca3
GM
17573 * files.el (hack-local-variables-prop-line, hack-local-variables):
17574 If only interested in the mode, don't bother doing the other stuff.
17575
637d46ca
GM
17576 * image-mode.el (image-after-revert-hook):
17577 Redraw all frames on which the image is visible. (Bug#8567)
17578
973d955b
GM
17579 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17580
3f1a8558
GM
17581 * wid-edit.el (widget-checklist-match-inline):
17582 Fix 2011-04-19 change. (Bug#8649)
17583
96479927
SM
175842011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17585
1dcf791f
SM
17586 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17587 Also allow singlespace after single-letter capitals followed by a dot.
17588
96479927
SM
17589 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17590 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17591
35fd0881
N
175922011-05-20 Nix <nix@esperi.org.uk>
17593
17594 * files.el (basic-save-buffer-2):
17595 Fix handling of break-hardlink-on-save with non-existent files.
17596
82745640
DD
175972011-05-19 Deniz Dogan <deniz@dogan.se>
17598
17599 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17600 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17601
4a720484
GM
176022011-05-19 Glenn Morris <rgm@gnu.org>
17603
d1f21341
GM
17604 * progmodes/f90.el (f90-type-def-re):
17605 Handle "type, bind(c)". (Bug#8691)
17606
4a720484
GM
17607 * emacs-lisp/autoload.el (batch-update-autoloads):
17608 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17609
2fb0a219
MA
176102011-05-18 Michael Albinus <michael.albinus@gmx.de>
17611
17612 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17613 property for the correct connection in case of multihops.
17614
e565dd37
GM
176152011-05-18 Glenn Morris <rgm@gnu.org>
17616
c2571358 17617 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17618 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17619
e565dd37
GM
17620 Rationalize calendar handling of day and month abbrev-arrays.
17621 * calendar/calendar.el (calendar-customized-p): New function.
17622 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17623 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17624 Add :set function.
17625 (calendar-abbrev-length, calendar-day-abbrev-array)
17626 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17627 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17628 Elements may no longer be nil.
17629 (calendar-day-name, calendar-month-name):
17630 Update for changed nature of abbrev arrays.
17631 * calendar/diary-lib.el (diary-name-pattern):
17632 Update for changed nature of abbrev arrays.
17633 (diary-mark-entries-1): Update calendar-make-alist calls.
17634 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17635 * calendar/cal-html.el (cal-html-day-abbrev-array):
17636 Simply inherit from calendar-day-abbrev-array.
17637
1d99a745
SM
176382011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17639
17640 * progmodes/grep.el (grep-mode): Disable default
17641 compilation-directory-matcher setting (bug#8684).
17642
7c1d9aa0
MA
176432011-05-17 Michael Albinus <michael.albinus@gmx.de>
17644
17645 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17646 instead of "head" and "tail". There were problems with SunOS 5.9,
17647 and it performs better.
17648
3952e9d8
GM
176492011-05-17 Glenn Morris <rgm@gnu.org>
17650
2dd12e7f
GM
17651 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17652
e4157b9c
GM
17653 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17654 Replace obsolete function.
17655
8e249bbd
GM
17656 * shell.el (pcomplete-parse-arguments-function): Declare.
17657
3952e9d8
GM
17658 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17659 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17660 (appt-check): Doc fixes.
17661 (appt-disp-window-function, appt-delete-window-function):
17662 Remove needless special case in custom :type.
17663 (appt-display-count): Default to 0, not nil.
17664 (appt-check): Reset appt-display-count to 0, not nil.
17665
c71a0d48 176662011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17667
c71a0d48
GM
17668 * progmodes/python.el (python-font-lock-keywords):
17669 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17670
31d55be9
SM
176712011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17672
17673 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17674
3bfacb2f
KR
176752011-05-16 Kevin Ryde <user42@zip.com.au>
17676
17677 * info-look.el (makefile-automake-mode): New setups, looking in
17678 automake manual, then makefile-mode.
17679 (makefile-mode): Remove automake manual, have it just in
17680 makefile-automake-mode since there's various things different or
17681 not relevant to plain make.
17682 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17683 believe a hypothetical automake-mode would go to makefile-mode,
17684 not the other way around.
17685
c8e83751
CY
176862011-05-15 Chong Yidong <cyd@stupidchicken.com>
17687
5e9e35cd
CY
17688 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17689 hunk-end tags (Bug#8672).
17690
c8e83751
CY
17691 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17692 vc-annotate-show-diff-revision-at-line (Bug#8671).
17693
50b23e5a
GM
176942011-05-14 Glenn Morris <rgm@gnu.org>
17695
7210a739
GM
17696 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17697 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17698 (change-log-font-lock-keywords): Also handle multiple author lines
17699 with leading tabs. (Bug#8644)
7210a739 17700
4691905a
GM
17701 * calendar/appt.el (appt-check): Rename some local variables.
17702 Some simplification/reordering.
17703
50b23e5a
GM
17704 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17705 (feedmail-sendmail-f-doesnt-sell-me-out)
17706 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17707 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17708 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17709 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17710 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17711 (feedmail-binmail-gnulinuxish-template):
17712 Rename from feedmail-binmail-linuxish-template.
17713 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17714 Use insert-buffer-substring.
17715
215cda7c
BC
177162011-05-14 Bill Carpenter <bill@carpenter.org>
17717
17718 * mail/feedmail.el (feedmail-patch-level): Increase.
17719 (feedmail-debug): New custom group.
17720 (feedmail-confirm-outgoing-timeout)
17721 (feedmail-sendmail-f-doesnt-sell-me-out)
17722 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17723 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17724 (feedmail-sender-line, feedmail-from-line)
17725 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17726 (feedmail-spray-this-address)
215cda7c
BC
17727 (feedmail-spray-address-fiddle-plex-list)
17728 (feedmail-queue-use-send-time-for-date)
17729 (feedmail-queue-use-send-time-for-message-id)
17730 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17731 (feedmail-buffer-eating-function):
17732 Doc fixes.
17733 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17734 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17735 (feedmail-message-action-scroll-down): New functions.
17736 (feedmail-queue-directory, feedmail-queue-draft-directory):
17737 Use expand-file-name.
17738 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17739 Remove C-v help entry.
17740 (feedmail-queue-buffer-file-name): New variable.
17741 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17742 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17743 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17744 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17745 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17746 (feedmail-message-action-toggle-spray)
17747 (feedmail-run-the-queue-no-prompts)
17748 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17749 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17750 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17751 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17752 (feedmail-envelope-deducer, feedmail-fiddle-from)
17753 (feedmail-fiddle-sender, feedmail-default-date-generator)
17754 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17755 (feedmail-fiddle-spray-address)
17756 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17757 (feedmail-fiddle-list-of-fiddle-plexes)
17758 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17759 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17760 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17761 Change default. Doc fix.
17762 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17763 (feedmail-binmail-linuxish-template): New constant.
17764 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17765 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17766 (feedmail-send-it): Add debug call.
17767 Use feedmail-queue-buffer-file-name, and
17768 feedmail-send-it-immediately-wrapper.
17769 (feedmail-message-action-send): Add debug call.
17770 Use feedmail-send-it-immediately-wrapper.
17771 (feedmail-queue-express-to-queue): Add debug call.
17772 Run feedmail-queue-express-hook.
17773 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17774 (feedmail-message-action-help-blat):
17775 Rename from feedmail-queue-send-edit-prompt-help-first.
17776 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17777 Check line-endings. Handle errors better.
17778 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17779 Doc fix. Add debug call.
17780 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17781 Use feedmail-queue-send-edit-prompt-inner.
17782 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17783 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17784 from feedmail-queue-send-edit-prompt.
17785 (feedmail-queue-send-edit-prompt-help)
17786 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17787 (feedmail-tidy-up-slug): Add debug call.
17788 Respect feedmail-queue-slug-suspect-regexp.
17789 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17790 (feedmail-dump-message-to-queue): Add debug call.
17791 Expand queue-directory.
17792 (feedmail-dump-message-to-queue): Change message slightly.
17793 Use feedmail-say-chatter.
17794 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17795 (feedmail-send-it-immediately-wrapper): New function.
17796 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17797 Insert empty string rather than newline. Handle full-frame case.
17798 Use catch/throw. Use feedmail-say-chatter.
17799 (feedmail-fiddle-from): Try mail-host-address.
17800 (feedmail-default-message-id-generator): Doc fix.
17801 Bind system-time-locale. Handle missing end.
17802 (feedmail-fiddle-x-mailer): Add debug call.
17803 Handle feedmail-x-mailer-line being nil.
17804 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17805 Add debug call. Use buffer-substring-no-properties.
17806 (feedmail-say-debug, feedmail-say-chatter): New functions.
17807 (feedmail-find-eoh): Give an explicit error.
17808
42c7e61e
UJ
178092011-05-13 Ulf Jasper <ulf.jasper@web.de>
17810
c2571358 17811 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17812 family from helvetica to sans.
c2571358 17813 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17814 etc/images/newsticker.
17815
c2571358 17816 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17817 family from helvetica to sans.
17818
17819 * net/newst-plainview.el (newsticker-new-item-face)
17820 (newsticker-old-item-face, newsticker-immortal-item-face)
17821 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17822 (newsticker-statistics-face): Change default family from
42c7e61e 17823 helvetica to sans.
c2571358 17824 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17825 etc/images/newsticker.
17826
5d3385a0
JB
17827 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17828 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17829 auto-marking.
17830
8497a297
DV
178312011-05-13 Didier Verna <didier@xemacs.org>
17832
17833 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17834 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17835 TODO entries.
8497a297
DV
17836 (lisp-lambda-list-keyword-parameter-indentation)
17837 (lisp-lambda-list-keyword-parameter-alignment)
17838 (lisp-lambda-list-keyword-alignment): New customizable user options.
17839 (lisp-indent-defun-method): Improve docstring.
17840 (extended-loop-p): Fix comment.
17841 (lisp-indent-lambda-list-keywords-regexp): New variable.
17842 (lisp-indent-lambda-list): New function.
17843 (lisp-indent-259): Use it.
17844 (lisp-indent-defmethod): Support for more than one
17845 method qualifier and properly indent methods lambda-lists.
17846 (defgeneric): Provide a missing common-lisp-indent-function property.
17847
f278f87f
SM
178482011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17849
17850 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17851 bounds for the empty string (bug#8667).
17852
5233edd7
GM
178532011-05-13 Glenn Morris <rgm@gnu.org>
17854
5237a44f
GM
17855 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17856
8340026c 17857 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17858 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17859
5233edd7 17860 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17861 (appt-time-msg-list): Doc fix.
a5464014 17862 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17863
92d10796
AS
178642011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17865
17866 * progmodes/ld-script.el (ld-script-keywords)
17867 (ld-script-builtins): Update keywords list.
17868
914a0ae1
SM
178692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17870
c89be45f
SM
17871 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17872
914a0ae1
SM
17873 * shell.el (shell-completion-vars): New function.
17874 (shell-mode):
17875 * simple.el (read-shell-command): Use it.
17876 (blink-matching-open): No need for " [...]" in minibuffer-message.
17877
98dc3df3
GM
178782011-05-12 Glenn Morris <rgm@gnu.org>
17879
17880 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17881 (appt-check): Simplify.
17882
d2fc7e3d 178832011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17884
4d61f28d 17885 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17886 literal "/dev/null".
17887
d2fc7e3d 178882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17889
17890 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17891 Fix typo.
17892
d2fc7e3d 178932011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17894
3f254caa
SM
17895 * progmodes/which-func.el (which-function):
17896 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17897 which might not be defined (Bug#8260).
17898
d45885f7
GM
178992011-05-12 Glenn Morris <rgm@gnu.org>
17900
17901 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17902 Let byte-compile-initial-macro-environment always take precedence.
17903
488086f4
SM
179042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17905
17906 * net/rcirc.el: Add support for SSL/TLS connections.
17907 (rcirc-server-alist): New field `encryption'.
17908 (rcirc): Check `encryption' settings.
17909 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17910 Merge make-local-variable into `set'.
17911 (rcirc--connection-open-p): New function.
17912 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17913 the process is not a network process (e.g. running gnutls-cli).
17914 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17915 Make rcirc-(en|de)code-coding-system local here.
17916 (rcirc-mode): Merge make-local-variable into `set'.
17917 (rcirc-parent-buffer): Make permanent buffer-local.
17918 (rcirc-multiline-minor-mode): Don't do it here.
17919 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17920 there's no server buffer.
17921
7d3b9d44
GM
179222011-05-11 Glenn Morris <rgm@gnu.org>
17923
f64049c6
GM
17924 * newcomment.el (comment-kill): Prefix "unused" local.
17925
93c9df73
GM
17926 * term/w32console.el (get-screen-color): Declare.
17927
7d3b9d44
GM
17928 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17929 Handle symbol elements of byte-compile-initial-macro-environment.
17930
9e2dd53f
LL
179312011-05-10 Leo Liu <sdl.web@gmail.com>
17932
488086f4
SM
17933 * bookmark.el (bookmark-bmenu-mode-map):
17934 Bind bookmark-bmenu-search to `/'.
8b340240 17935
9e2dd53f 17936 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17937 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17938 (Footnote-unicode): New function.
17939 (footnote-style-alist): Add unicode style to the list.
17940 (footnote-style): Doc fix.
9e2dd53f 17941
79b70037
GM
179422011-05-10 Jim Meyering <meyering@redhat.com>
17943
17944 Fix doubled-word typos.
17945 * international/quail.el (quail-insert-kbd-layout): and and -> and
17946 * kermit.el: and and -> and
17947 * net/ldap.el (ldap-search-internal): to to -> to
17948 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17949 * progmodes/js.el (js-mode): and and -> and
17950 * textmodes/artist.el (artist-move-to-xy): at at -> at
17951 (artist-draw-region-trim-line-endings): if if -> if
17952 And Safetyc -> Safety.
17953 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17954
b8f82dc1 179552011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17956 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17957
17958 * files.el (hack-one-local-variable-eval-safep):
17959 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17960
4f99f44b
GM
179612011-05-10 Glenn Morris <rgm@gnu.org>
17962
17963 * calendar/diary-lib.el (diary-list-entries-hook)
17964 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17965 (diary-nongregorian-marking-hook, diary-list-entries)
17966 (diary-include-other-diary-files, diary-mark-entries)
17967 (diary-mark-included-diary-files): Doc fixes.
17968
84f29e6b
JB
179692011-05-09 Juanma Barranquero <lekktu@gmail.com>
17970
17971 * misc.el: Require tabulated-list.el during compilation.
17972
9bedd73a
CY
179732011-05-09 Chong Yidong <cyd@stupidchicken.com>
17974
488086f4
SM
17975 * progmodes/compile.el (compilation-start):
17976 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17977 (compilation-filter-hook): Doc fix.
17978
797c735c
DD
179792011-05-09 Deniz Dogan <deniz@dogan.se>
17980
17981 * wdired.el: Remove outdated installation comment. Fix usage
17982 comment.
17983
5f4b1dfe
JB
179842011-05-09 Juanma Barranquero <lekktu@gmail.com>
17985
17986 * misc.el: Implement new command `list-dynamic-libraries'.
17987 (list-dynamic-libraries--loaded-only-p): New variable.
17988 (list-dynamic-libraries--refresh): New function.
17989 (list-dynamic-libraries): New command.
17990
4c44026c
CY
179912011-05-09 Chong Yidong <cyd@stupidchicken.com>
17992
488086f4
SM
17993 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17994 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17995 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17996 higher priority to avoid clobbering by gnu.
17997
027f966d
CY
179982011-05-08 Chong Yidong <cyd@stupidchicken.com>
17999
18000 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18001 if the face has existing theme settings (Bug#8454).
18002
085f5d7d
CY
180032011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18004
488086f4
SM
18005 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18006 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18007
2a86a00c
RS
18008 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18009 special file names `.' and `..' (Bug#8259).
18010
d9c54a06
CY
180112011-05-08 Chong Yidong <cyd@stupidchicken.com>
18012
488086f4
SM
18013 * progmodes/grep.el (grep-mode-font-lock-keywords):
18014 Remove buffer-changing entries.
d9c54a06
CY
18015 (grep-filter): New function.
18016 (grep-mode): Add it to compilation-filter-hook.
18017
18018 * progmodes/compile.el (compilation-filter-hook)
18019 (compilation-filter-start): New defvars.
18020 (compilation-filter): Call compilation-filter-hook prior to
18021 updating the process mark.
18022
c4662635
SM
180232011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18024
18025 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18026
b0512a1d
EZ
180272011-05-07 Eli Zaretskii <eliz@gnu.org>
18028
605c9376
EZ
18029 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18030 mailclient-send-it even if window-system is nil. (Bug#8595)
18031
c4662635
SM
18032 * term/w32console.el (terminal-init-w32console):
18033 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18034 background-mode. (Bug#8597)
18035
d1dc2cc2
SM
180362011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18039 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18040 New functions.
18041 (defgeneric, eieio--defmethod): Use them.
18042 (eieio-defgeneric): Remove.
18043 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18044
915d1300
GM
180452011-05-07 Glenn Morris <rgm@gnu.org>
18046
a3961c3e
GM
18047 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18048 Use let rather than let*.
18049 (timeclock-find-discrep): Remove unused local.
18050
314347b9
GM
18051 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18052
915d1300
GM
18053 * calendar/appt.el (appt-time-msg-list): Doc fix.
18054
275b59b0
NF
180552011-05-06 Noah Friedman <friedman@splode.com>
18056
18057 * apropos.el (apropos-print-doc): Only use
18058 emacs-lisp-docstring-fill-column when it is bound to an integer,
18059 per that variable's documentation.
18060
6c19f744
SM
180612011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18062
18063 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18064 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18065
60f884b2
GM
180662011-05-06 Glenn Morris <rgm@gnu.org>
18067
5006e634
GM
18068 * calendar/appt.el (appt-message-warning-time): Doc fix.
18069 (appt-warning-time-regexp): New option.
18070 (appt-make-list): Respect appt-message-warning-time.
18071
548d0a63
GM
18072 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18073 New options.
18074 (diary-add-to-list): Strip comments from the displayed string.
18075 (diary-mode): Set comment-start and comment-end.
18076
60f884b2
GM
18077 * vc/diff-mode.el (smerge-refine-subst): Declare.
18078 (diff-refine-hunk): Don't require smerge-mode when compiling.
18079
989681bb
JB
180802011-05-06 Juanma Barranquero <lekktu@gmail.com>
18081
18082 * simple.el (list-processes): Return nil as the docstring says.
18083
a6bc05e1
MA
180842011-05-05 Michael Albinus <michael.albinus@gmx.de>
18085
18086 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18087 to "".
18088 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18089 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18090 determining of binary transfer. (Bug#7383)
18091
23c22e9a
MA
180922011-05-05 Michael Albinus <michael.albinus@gmx.de>
18093
c4662635
SM
18094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18095 Fix port computation bug. (Bug#8618)
23c22e9a 18096
0bff894f
GM
180972011-05-05 Glenn Morris <rgm@gnu.org>
18098
b8296902
GM
18099 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18100
1f522ce8
GM
18101 * simple.el (shell-dynamic-complete-functions)
18102 (comint-dynamic-complete-functions): Declare.
18103
cf5bee67
GM
18104 * net/network-stream.el (gnutls-negotiate):
18105 * simple.el (tabulated-list-print): Fix declarations.
18106
18107 * progmodes/gud.el (syntax-symbol, syntax-point):
18108 Remove unnecessary and incorrect declarations.
18109
0bff894f
GM
18110 * emacs-lisp/check-declare.el (check-declare-scan):
18111 Handle byte-compile-initial-macro-environment in bytecomp.el
18112
9869b3ae
SM
181132011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 Fix earlier half-done eieio-defmethod change (bug#8338).
18116 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18117 Streamline and change calling convention.
18118 (defmethod): Adjust accordingly and simplify.
18119 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18120 new eieio--defmethod.
18121 (slot-boundp): Minor CSE simplification.
18122
9c1d5ac5
MZ
181232011-05-05 Milan Zamazal <pdm@zamazal.org>
18124
18125 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18126 (glasses-make-readable): Use glasses-separate-capital-groups.
18127
455c834e
JB
181282011-05-05 Juanma Barranquero <lekktu@gmail.com>
18129
18130 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18131 (warning-series): Doc fix.
18132 (display-warning): Don't try to create the buffer if we just found it.
18133
9ed7c8cb
CY
181342011-05-04 Chong Yidong <cyd@stupidchicken.com>
18135
18136 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18137 (autoload-find-generated-file): New function.
18138 (generate-file-autoloads): Bind generated-autoload-file to
18139 buffer-file-name.
9869b3ae
SM
18140 (update-file-autoloads, update-directory-autoloads):
18141 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18142 output file (Bug#7989).
18143 (batch-update-autoloads): Doc fix.
18144
0898ca10
JB
181452011-05-04 Juanma Barranquero <lekktu@gmail.com>
18146
18147 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18148
31dfb76c
GM
181492011-05-04 Glenn Morris <rgm@gnu.org>
18150
f330b642
GM
18151 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18152 function, so it follows changes in calendar-date-style.
18153 (diary-fancy-date-matcher): New function.
18154 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18155 (diary-fancy-font-lock-fontify-region-function):
18156 Use diary-fancy-date-pattern as a function.
18157
31dfb76c
GM
18158 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18159 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18160
48e79d6a
TZ
181612011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18162
18163 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18164 instead of positional arguments. Allow :keylist and :crlfiles
18165 arguments.
18166 (open-gnutls-stream): Call it.
18167
18168 * net/network-stream.el (network-stream-open-starttls): Adjust to
18169 call `gnutls-negotiate' with :process and :hostname arguments.
18170
dd5a5ee0
SM
181712011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18172
ef80fc09
SM
18173 * minibuffer.el (completion--message): New function.
18174 (completion--do-completion, minibuffer-complete)
18175 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18176 (completion--do-completion): Don't ignore completion-auto-help when in
18177 icomplete-mode.
18178
dd5a5ee0
SM
18179 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18180 internal encoding (e.g. tibetan zero is not whitespace).
18181 (global-whitespace-mode): Prefer save-current-buffer.
18182 (whitespace-trailing-regexp): Remove useless save-match-data.
18183 (whitespace-empty-at-bob-regexp): Minor simplification.
18184
b7d22a83
CY
181852011-05-03 Chong Yidong <cyd@stupidchicken.com>
18186
18187 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18188
5192af46
AM
181892011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18190
18191 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18192 Use `concat' to create string for insertion.
5192af46 18193
5767d190
SM
181942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18195
18196 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18197 Avoid open-line which runs post-self-insert-hook.
18198 (bibtex-fill-entry): Remove unused `end' var.
18199
bf242939
AM
182002011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18201
5767d190
SM
18202 * textmodes/ispell.el (ispell-add-per-file-word-list):
18203 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18204
25666126
LL
182052011-05-03 Leo Liu <sdl.web@gmail.com>
18206
18207 * isearch.el (isearch-yank-pop): New command.
5767d190 18208 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18209 (isearch-forward): Mention it.
18210
52d3c2d0
SM
182112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18212
1bcace58
SM
18213 * simple.el (minibuffer-complete-shell-command): Remove.
18214 (minibuffer-local-shell-command-map): Use completion-at-point.
18215 (read-shell-command): Setup completion vars here instead.
18216 (read-expression-map): Bind TAB to symbol completion.
18217
52d3c2d0
SM
18218 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18219 error directly rather via storing it into `results'.
18220
35813471
LL
182212011-05-02 Leo Liu <sdl.web@gmail.com>
18222
18223 * vc/diff.el: Fix description.
18224
e793a940
LMI
182252011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18226
18227 * server.el (server-eval-at): New function.
18228
8de66e05
LMI
182292011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18230
18231 * net/network-stream.el (open-network-stream): Take a :nowait
18232 parameter and pass it on to `make-network-process'.
18233 (network-stream-open-plain): Ditto.
18234
dcb79f20
AS
182352011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18236
18237 * faces.el (face-spec-set-match-display): Don't match toolkit
18238 options on terminal frames.
18239
14a7fbd8
SM
182402011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18241
7eabc1be
SM
18242 * progmodes/pascal.el: Use lexical binding.
18243 (pascal-mode-map): Remove author preferences.
18244
14a7fbd8
SM
18245 * pcomplete.el (pcomplete-std-complete): Don't abuse
18246 completion-at-point.
18247
50f84510
JB
182482011-04-28 Juanma Barranquero <lekktu@gmail.com>
18249
6e087a44
JB
18250 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18251 removing code that has been dead since 1991 or so.
18252
50f84510
JB
18253 * startup.el (command-line): When warning about "_emacs", use a
18254 delayed warning to allow the user to filter it out.
18255
0ba690bd
DD
182562011-04-28 Deniz Dogan <deniz@dogan.se>
18257
18258 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18259 user has not joined.
18260
08abfaad
SM
182612011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18262
18263 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18264 aren't any completions at point.
18265
638f053a
JB
182662011-04-28 Juanma Barranquero <lekktu@gmail.com>
18267
18268 * subr.el (display-delayed-warnings): New function.
18269 (delayed-warnings-hook): New variable.
18270
8fff8daa
SM
182712011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18272
08abfaad
SM
18273 * minibuffer.el (completion-at-point, completion-help-at-point):
18274 Don't presume that a given completion-at-point-function will always
18275 use the same calling convention.
18276
8fff8daa
SM
18277 * pcomplete.el (pcomplete-completions-at-point):
18278 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18279 pcomplete-seen is non-nil.
18280 (pcomplete-comint-setup): Also recognize the new comint/shell
18281 completion functions.
18282 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18283 pcomplete-seen is non-nil.
18284
841a1577 182852011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18286
841a1577 18287 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18288 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18289 the first character in the entry. This allows for code to add its
211ec907
UJ
18290 own uid to the entry.
18291 (icalendar--convert-float-to-ical): Add export of
18292 `diary-float'-entries save for those with the optional DAY
18293 argument.
18294
2a782793
DC
182952011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18296
18297 * subr.el (shell-quote-argument): Use alternate escaping strategy
18298 when we spot a variable reference in a string.
18299
0438ce91
DC
183002011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18301
18302 * cus-start.el (all): Define customization for debug-on-event.
18303
841a1577 183042011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18305
18306 * subr.el (shell-quote-argument): Escape correctly under Windows.
18307
d090ed6c
SM
183082011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18309
18310 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18311
bfd31217
MA
183122011-04-25 Michael Albinus <michael.albinus@gmx.de>
18313
d090ed6c
SM
18314 * net/tramp.el (tramp-process-actions): Add POS argument.
18315 Delete region between POS and (pos).
bfd31217 18316
d090ed6c
SM
18317 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18318 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18319 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18320
18321 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18322 position in `tramp-process-actions' call.
18323
18324 * net/trampver.el: Update release number.
18325
e92f3bd3
SM
183262011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18327
850256b5
SM
18328 * custom.el (defcustom): Obey lexical-binding.
18329
e92f3bd3
SM
18330 Fix octave-inf completion problems reported by Alexander Klimov.
18331 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18332 Inherit from octave-mode-syntax-table.
18333 (inferior-octave-mode): Set info-lookup-mode.
18334 (inferior-octave-completion-at-point): New function.
18335 (inferior-octave-complete): Use it and completion-in-region.
18336 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18337 comint-filename-completion.
18338 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18339 symbol elements which shouldn't be word elements.
18340 (octave-font-lock-keywords, octave-beginning-of-defun)
18341 (octave-function-header-regexp): Adjust regexps accordingly.
18342 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18343
cd22b309
JB
183442011-04-25 Juanma Barranquero <lekktu@gmail.com>
18345
18346 * net/gnutls.el (gnutls-errorp): Declare before first use.
18347
8b492194
TZ
183482011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18349
18350 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18351 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18352 default trustfile exists before going to use it. Add missing
5a5fa834 18353 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18354 Reported by Claudio Bley <claudio.bley@gmail.com>.
18355 (open-gnutls-stream): Add usage example.
18356
18357 * net/network-stream.el (network-stream-open-starttls): Give host
18358 parameter to `gnutls-negotiate'.
18359 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18360 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18361
841a1577 183622011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18363
cd22b309
JB
18364 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18365 Use correct match group (bug#8438).
05842630 18366
3ba7869c
CY
183672011-04-24 Chong Yidong <cyd@stupidchicken.com>
18368
512e3ae1
CY
18369 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18370 (package-menu--generate): New arg specifying packages to show.
18371 (package-menu-refresh, package-menu-execute, list-packages):
18372 Callers changed.
18373 (package-show-package-list): New function, replacing deleted
18374 package--list-packages (renamed because it is non-internal).
18375
18376 * finder.el (finder-list-matches): Use package-show-package-list
18377 instead of deleted package--list-packages.
18378
e92f3bd3
SM
18379 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18380 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18381 (vc-annotate-mode-map): Bind it to RET.
18382
7031be6d
UR
183832011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18384
18385 * progmodes/etags.el (next-file): Don't use set-buffer to change
18386 buffers (Bug#8478).
18387
4ef177aa
CY
183882011-04-24 Chong Yidong <cyd@stupidchicken.com>
18389
c8d173eb
CY
18390 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18391
4ef177aa
CY
18392 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18393 (apropos-accumulator): Doc fix.
18394 (apropos-function, apropos-macro, apropos-command)
18395 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18396 (apropos-plist): Add face property.
18397 (apropos-symbols-internal): Fix indentation.
18398 (apropos-print): Simplify help, and recognize apropos-multi-type.
18399 (apropos-print-doc): Use button-type-get to extract the button's
18400 face property. Fill docstring (Bug#8352).
18401
4ffd0d6b 184022011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18403
18404 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18405
c6c32125 18406 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18407 (mpuz-mode-map): Use mapc.
c6c32125
JB
18408 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18409 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18410 Fix typos in docstrings.
18411
58d468b4
JB
18412 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18413 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18414
6470c3c6
JB
18415 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18416
4ffd0d6b 184172011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18418
18419 * minibuffer.el (completion--do-completion): Avoid the "Next char
18420 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18421
3ad8bad0
CY
18422 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18423 mouse-2 into unread-command-events, it is interpreted correctly.
18424
71d73c9c 18425 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18426 (image-toggle-display): Doc fix.
71d73c9c 18427
841a1577 184282011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18429
4ffd0d6b
GM
18430 * textmodes/page.el (what-page): Use line-number-at-pos to
18431 calculate line number (Bug#6825).
6e1dbaa9 18432
c2fb1b60
JB
184332011-04-22 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18436 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18437 Pass argument NO-DEFAULT to `find-tag-interactive'.
18438
e02f48d7
JB
184392011-04-22 Juanma Barranquero <lekktu@gmail.com>
18440
18441 Lexical-binding cleanup.
18442
18443 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18444 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18445 * progmodes/ada-prj.el (ada-prj-initialize-values)
18446 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18447 (ada-prj-show-value):
18448 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18449 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18450 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18451 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18452 * progmodes/bug-reference.el (bug-reference-push-button):
18453 * progmodes/fortran.el (fortran-line-length):
18454 * progmodes/glasses.el (glasses-change):
18455 * progmodes/octave-mod.el (octave-fill-paragraph):
18456 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18457 (python-pdbtrack-grub-for-buffer, python-sentinel):
18458 * progmodes/sql.el (sql-save-connection):
18459 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18460 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18461 Mark unused parameters.
18462
18463 * progmodes/compile.el (compilation--flush-directory-cache)
18464 (compilation--flush-parse, compile-internal): Mark unused parameters.
18465 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18466 (compilation-next-error-function): Remove unused variable `timestamp'.
18467
18468 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18469 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18470
18471 * progmodes/dcl-mode.el (dcl-end-of-command):
18472 Remove unused variable `start'.
18473 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18474 (dcl-option-value-basic, dcl-option-value-offset)
18475 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18476 Mark unused parameters.
18477 (dcl-save-local-variable): Remove unused variable `val'.
18478 (mode): Declare.
18479
18480 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18481 Mark unused parameters.
18482 (delphi-ignore-changes): Move before first use.
18483 (delphi-charset-token-at): Remove unused variable `start'.
18484 (delphi-else-start): Remove unused variable `if-count'.
18485 (delphi-comment-block-start, delphi-comment-block-end):
18486 Remove unused variable `kind'.
18487 (delphi-indent-line): Remove unused variable `new-point'.
18488
18489 * progmodes/ebrowse.el (ebrowse-files-list)
18490 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18491 Mark unused parameters. Don't quote `lambda'.
18492 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18493 Don't quote `lambda'.
18494 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18495 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18496 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18497 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18498 Use `ignore-errors'.
18499 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18500 (ebrowse-view/find-file-and-search-pattern)
18501 (ebrowse-view/find-member-declaration/definition):
18502 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18503 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18504 Rename parameter PREFIX-ARG to PREFIX.
18505 (ebrowse-tags-read-name): Remove unused variables `start' and
18506 `member-info'.
18507 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18508 to `tags-file'.
18509
18510 * progmodes/etags.el (local-find-tag-hook): Declare.
18511 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18512 Mark unused parameters.
18513
18514 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18515 (executable-interpret): Mark unused parameter.
18516
18517 * progmodes/flymake.el (flymake-process-sentinel)
18518 (flymake-after-change-function)
18519 (flymake-create-temp-with-folder-structure)
18520 (flymake-get-include-dirs-dot): Mark unused parameters.
18521 (flymake-safe-delete-directory): Remove unused variable `err'.
18522
18523 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18524 (speedbar-timer-fn, speedbar-line-text)
18525 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18526 (speedbar-center-buffer-smartly): Declare functions.
18527 (gdb-find-watch-expression): Remove unused variable `array'.
18528 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18529 (gdb-starting): Mark unused parameters.
18530 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18531 (gdb-table-string): Remove unused variable `res'.
18532 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18533 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18534 (gdb-display-buffer): Remove unused variable `cur-size'.
18535
18536 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18537 allow lexical-binding compilation.
18538 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18539 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18540 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18541 Mark unused parameters.
18542 (gud-gdb-marker-filter): Remove unused variable `match'.
18543 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18544 lambda expressions and funcall them, instead of using `fset'.
18545
18546 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18547 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18548
18549 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18550 variable `header-beg'; use `let'.
18551
18552 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18553 `restart', `last-sexp' and `at-do'.
18554
18555 * progmodes/js.el (js--debug): Mark unused parameter.
18556 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18557 (js--splice-into-items): Remove unused variable `item'.
18558 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18559
18560 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18561 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18562 (makefile-complete): Remove unused variable `try'.
18563 (makefile-fill-paragraph, makefile-match-function-end):
18564 Mark unused parameters.
18565
18566 * progmodes/octave-inf.el (inferior-octave-complete):
18567 Remove unused variable `proc'.
18568 (inferior-octave-output-digest): Mark unused parameter.
18569
18570 * progmodes/perl-mode.el (perl-calculate-indent):
18571 Remove unused variable `err'.
18572
18573 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18574 (prolog-indent-line): Mark unused parameters.
18575 (prolog-indent-line): Remove unused variable `beg'.
18576
18577 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18578 (reporter-dont-compact-list): Declare.
18579
18580 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18581 Remove unused variable `char'.
18582 (sh-debug): Mark unused parameter.
18583 (sh-get-indent-info): Remove unused variable `start'.
18584 (sh-calculate-indent): Remove unused variable `var'.
18585
18586 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18587 (simula-electric-keyword): Remove unused variable `null'.
18588 (simula-search-backward, simula-search-forward): Remove unused
18589 variables `begin' and `end'.
18590
18591 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18592 Remove unused variable `pos'.
18593 (vera-electric-tab, vera-comment-uncomment-region):
18594 Mark unused parameters.
18595 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18596
7ede3b65
CY
185972011-04-22 Chong Yidong <cyd@stupidchicken.com>
18598
18599 * emacs-lisp/package.el (package--builtins, package-alist)
18600 (package-load-descriptor, package-built-in-p, package-activate)
18601 (define-package, package-installed-p)
18602 (package-compute-transaction, package-buffer-info)
18603 (package--push): Doc fix. Distinguish more clearly between
18604 version strings and version lists.
18605
121656e9
JB
186062011-04-21 Juanma Barranquero <lekktu@gmail.com>
18607
18608 Lexical-binding cleanup.
18609
18610 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18611 (5x5-make-mutate-best):
18612 * play/fortune.el (fortune-in-buffer):
18613 * play/gomoku.el (gomoku-init-display):
18614 * play/solitaire.el (solitaire, solitaire-do-check):
18615 * play/tetris.el (tetris-default-update-speed-function):
18616 Mark unused parameters.
18617
18618 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18619 (bubbles--shift): Remove unused variable `char-org'.
18620 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18621 (bubbles--show-images): Remove unused variable `char'.
18622
18623 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18624 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18625 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18626 (decipher-analyze-buffer): Use ?\s.
18627 (decipher-make-checkpoint): Remove unused variable `mapping'.
18628
18629 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18630
18631 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18632 Remove unused variable `result'; use `let'.
18633
18634 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18635 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18636 (gametree-children-shown-p, gametree-compute-reduced-score):
18637 Use `ignore-errors'.
18638
18639 * play/handwrite.el (ps-lpr-switches): Declare.
18640 (handwrite): Remove unused variables `pmin' and `lastp'.
18641
18642 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18643
18644 * play/landmark.el (landmark-init-display)
18645 (landmark-update-naught-weights): Mark unused parameters.
18646 (landmark-y): Remove unused variable `noise'. Simplify.
18647 (landmark-human-plays): Remove unused variable `score'.
18648
18649 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18650 (mpuz-try-proposal): Remove unused variable `game'.
18651
18652 * play/zone.el (life-patterns): Declare.
18653
80f499c7
JB
186542011-04-20 Juanma Barranquero <lekktu@gmail.com>
18655
18656 * vc/vc.el (ediff-vc-internal): Declare function.
18657
024ff170
SM
186582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18659
c0a193ea
SM
18660 * shell.el: Use lexical-binding and std completion UI.
18661 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18662 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18663 comint-preoutput-filter-functions rather than on
18664 comint-output-filter-functions.
18665 (shell-command-completion, shell--command-completion-data)
18666 (shell-filename-completion, shell-environment-variable-completion)
18667 (shell-c-a-p-replace-by-expanded-directory): New functions.
18668 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18669 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18670 (shell-dynamic-complete-environment-variable): Use them.
18671 (shell-dynamic-complete-as-environment-variable)
18672 (shell-dynamic-complete-as-command): Remove.
18673 (shell-match-partial-variable): Match past point.
18674 * comint.el: Clean up use of completion-at-point-functions.
18675 (comint-completion-at-point): New function.
18676 (comint-mode): Use it completion-at-point-functions.
18677 (comint-dynamic-complete): Make it obsolete.
18678 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18679 (comint-c-a-p-replace-by-expanded-history): New function.
18680 (comint-dynamic-complete-functions)
18681 (comint-replace-by-expanded-history): Use it.
18682 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18683 termination strings. Try harder to avoid second try-completion.
18684 (completion-in-region-mode-map): Disable bindings that don't work yet.
18685
2dbaa080
SM
18686 * comint.el: Use lexical-binding. Require CL.
18687 (comint-dynamic-complete-functions): Use comint-filename-completion.
18688 (comint-completion-addsuffix): Tweak custom type.
18689 (comint-filename-completion, comint--common-suffix)
18690 (comint--common-quoted-suffix, comint--table-subvert)
18691 (comint--complete-file-name-data): New functions.
18692 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18693 (comint-dynamic-list-filename-completions): Use them.
18694 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18695
2dbaa080
SM
18696 * minibuffer.el (completion-in-region-mode):
18697 Keep completion-in-region-mode--predicate global.
18698 (completion-in-region--postch):
18699 Assume completion-in-region-mode--predicate is not null.
18700
c79a6f38
SM
18701 * progmodes/flymake.el (flymake-start-syntax-check-process):
18702 Obey `dir'. Simplify.
18703
024ff170
SM
18704 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18705 we're in VC after all.
18706
1c6c854e
CS
187072011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18708
18709 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18710 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18711 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18712
bed7f140
SM
187132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18714
332e62ab
SM
18715 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18716 add sanity check.
18717
bed7f140
SM
18718 * obsolete/erc-hecomplete.el: Make obsolete.
18719 * obsolete/: Standardize obsolescence info in the header.
18720
f195c582
GM
187212011-04-20 Glenn Morris <rgm@gnu.org>
18722
18723 * calendar/solar.el (solar-horizontal-coordinates):
18724 Use the longitude argument rather than `calendar-longitude'.
18725 (solar-date-next-longitude): Remove unused locals.
18726
cb79b8c0
VJL
187272011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18728
18729 * whitespace.el: New version 13.2.1.
18730
187312011-04-20 felix <EmacsWiki> (tiny change)
18732
d8e4b68b 18733 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18734 switching between major modes on a file.
18735
602ea69d
SM
187362011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18737
18738 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18739 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18740 multi-line comments as well.
18741
06b60517
JB
187422011-04-19 Juanma Barranquero <lekktu@gmail.com>
18743
18744 Lexical-binding cleanup.
18745
18746 * arc-mode.el (archive-mode-revert):
18747 * cmuscheme.el (scheme-interactively-start-process):
18748 * custom.el (custom-initialize-delay):
18749 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18750 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18751 * emacs-lock.el (emacs-lock-clear-sentinel):
18752 * ezimage.el (defezimage):
18753 * follow.el (follow-avoid-tail-recenter):
18754 * fringe.el (set-fringe-mode-1):
18755 * generic-x.el (bat-generic-mode-compile):
18756 * help-mode.el (help-info-variable, help-do-xref)
18757 (help-mode-revert-buffer):
18758 * help.el (view-emacs-todo):
18759 * iswitchb.el (iswitchb-completion-help):
18760 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18761 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18762 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18763 * locate.el (locate-update):
18764 * longlines.el (longlines-encode-region)
18765 (longlines-after-change-function):
18766 * outline.el (outline-isearch-open-invisible):
18767 * ps-def.el (declare-function, charset-dimension, char-width)
18768 (encode-char):
18769 * ps-mule.el (ps-mule-plot-string):
18770 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18771 (recentf-edit-list-select, recentf-edit-list-validate)
18772 (recentf-open-files-action):
18773 * rect.el (delete-whitespace-rectangle-line)
18774 (rectangle-number-line-callback):
18775 * register.el (window-configuration-to-register)
18776 (frame-configuration-to-register):
18777 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18778 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18779 (xselect-convert-to-targets, xselect-convert-to-delete)
18780 (xselect-convert-to-filename, xselect-convert-to-charpos)
18781 (xselect-convert-to-lineno, xselect-convert-to-colno)
18782 (xselect-convert-to-os, xselect-convert-to-host)
18783 (xselect-convert-to-user, xselect-convert-to-class)
18784 (xselect-convert-to-name, xselect-convert-to-integer)
18785 (xselect-convert-to-atom, xselect-convert-to-identity):
18786 * subr.el (declare, ignore, process-kill-without-query)
18787 (text-clone-maintain):
18788 * terminal.el (te-get-char, te-tic-sentinel):
18789 * tool-bar.el (tool-bar-make-keymap):
18790 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18791 * type-break.el (type-break-mode, type-break-noninteractive-query):
18792 * view.el (View-back-to-mark):
18793 * wid-browse.el (widget-browse-action, widget-browse-widget)
18794 (widget-browse-widgets, widget-browse-sexp):
18795 * widget.el (define-widget-keywords):
18796 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18797 Mark unused parameters.
18798
18799 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18800 (align-areas): Remove unused variable `look'.
18801 (align-region): Remove unused variables `real-end' and `pos-list'.
18802
18803 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18804
18805 * bindings.el (mode-line-modified, mode-line-remote):
18806 Mark unused parameters.
18807 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18808
18809 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18810 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18811
18812 * comint.el (comint-history-isearch-pop-state)
18813 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18814 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18815 (comint-substitute-in-file-name): Doc fix.
18816
18817 * completion.el (cmpl-statistics-block): Mark unused parameter.
18818 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18819 (save-completions-to-file, load-completions-from-file):
18820 Remove unused local variable `e'.
18821
18822 * composite.el (compose-chars): Remove unused variable `len'.
18823 (lgstring-insert-glyph): Remove unused variable `g'.
18824 (compose-glyph-string): Remove unused variables `ascent',
18825 `descent', `lbearing' and `rbearing'.
18826 (compose-glyph-string-relative): Remove unused variables
18827 `lbearing', `rbearing' and `wadjust'.
18828 (compose-gstring-for-graphic): Remove unused variables `header',
18829 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18830 (compose-gstring-for-terminal): Remove unused variables `header'
18831 and `nchars'. Use `let', not `let*'.
18832
18833 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18834 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18835 (Custom-buffer-done, custom-buffer-create-internal)
18836 (custom-browse-visibility-action, custom-browse-group-tag-action)
18837 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18838 (widget-magic-mouse-down-action, custom-toggle-parent)
18839 (custom-add-parent-links, custom-toggle-hide-variable)
18840 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18841 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18842 (custom-face-menu-create, custom-variable-menu-create, get)
18843 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18844 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18845 (customize-apropos): Remove unused variable `tests'.
18846 (custom-group-value-create): Remove unused variable `hidden-p'.
18847 (sort-fold-case): Declare.
18848
18849 * cus-theme.el (custom-reset-standard-faces-list)
18850 (custom-reset-standard-variables-list): Declare.
18851 (customize-create-theme, custom-theme-revert, custom-theme-write)
18852 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18853 Mark unused parameters.
18854
18855 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18856
18857 * delim-col.el (delimit-columns-max): Move defvar before first use.
18858
18859 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18860 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18861
18862 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18863 (auto-insert): Declare.
18864 (desktop-restore-file-buffer): Rename desktop-* parameters;
18865 mark unused ones.
18866 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18867 (desktop-buffer): Rename desktop-* parameters.
18868
18869 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18870 (dframe-reposition-frame-xemacs, dframe-help-echo)
18871 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18872 Mark unused parameters.
18873
18874 * dired-aux.el (backup-extract-version-start, overwrite-query)
18875 (overwrite-backup-query, rename-regexp-query)
18876 (rename-non-directory-query): Declare.
18877 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18878 (dired-add-entry): Remove unused variable `orig-file-name'.
18879 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18880 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18881 `dired-copy-preserve-time' directly.
18882 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18883 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18884
18885 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18886 (dired-virtual-revert, dired-make-relative-symlink):
18887 Mark unused parameters.
18888 (manual-program): Declare.
18889 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18890 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18891 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18892
18893 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18894
18895 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18896
18897 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18898 Declare.
18899
18900 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18901
18902 * electric.el (Electric-command-loop): Rename parameter
18903 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18904
18905 * expand.el (expand-in-literal): Remove unused variable `here'.
18906
18907 * facemenu.el (facemenu-add-new-color):
18908 Remove unused variable `docstring'.
18909
18910 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18911 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18912 (face-attr-construct): Mark unused parameter. Doc fix.
18913 (read-color): Remove unused variable `hex-string'.
18914
18915 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18916 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18917 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18918 (display-buffer-other-frame): Remove unused variable `old-window'.
18919 (kill-buffer-hook): Declare.
18920 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18921 Mark unused parameters.
18922 (after-find-file): Pass 1 to `auto-save-mode', not t.
18923
18924 * files-x.el (auto-insert): Declare.
18925 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18926
18927 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18928 variable `buf'. Mark unused parameter.
06b60517
JB
18929 (find-lisp-insert-directory): Mark unused parameter.
18930
18931 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18932 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18933 (format-common-tail): Remove, unused.
18934 (format-deannotate-region): Remove unused variable `loc'.
18935 (format-annotate-region): Remove unused variable `p'.
18936 (format-annotate-single-property-change): Remove unused variables
18937 `default' and `tail'.
18938
18939 * forms.el (read-file-filter): Declare.
18940 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18941
18942 * frame.el (frame-creation-function-alist): Mark unused parameter.
18943 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18944
18945 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18946 Remove unused parameters.
18947 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18948 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18949
18950 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18951 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18952 (hfy-prepare-tag-map): Mark unused parameters.
18953 (htmlfontify-buffer): Use `called-interactively-p'.
18954
18955 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18956 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18957 (ibuffer-do-occur): Mark unused parameters.
18958 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18959 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18960
18961 * ibuffer.el: Don't quote `lambda'.
18962 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18963 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18964 Mark unused parameters.
18965
18966 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18967 (ido-completing-read): Mark unused parameters.
18968 (ido-copy-current-word): Mark unused parameters;
18969 remove unused variable `name'.
18970 (ido-sort-merged-list): Remove unused parameter `dirs'.
18971
18972 * ielm.el (ielm-input-sender): Mark unused parameter.
18973 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18974 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18975 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18976 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18977 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18978
18979 * image-dired.el (image-dired-display-thumbs): Remove unused
18980 variables `curr-file' and `count'.
18981 (image-dired-remove-tag): Remove unused variable `start'.
18982 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18983 variable `curr-file'
18984 (image-dired-rotate-original): Remove unused variable `temp-file'.
18985 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18986 Remove unused variable `file'.
18987 (image-dired-gallery-generate): Remove unused variable `curr'.
18988 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18989
18990 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18991
18992 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18993
18994 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18995
18996 * isearch.el (minibuffer-history-symbol): Declare.
18997 (isearch-edit-string): Remove unused variable `err'.
18998 (isearch-message-prefix, isearch-message-suffix):
18999 Mark unused parameters.
19000
19001 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19002
19003 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19004
19005 * makesum.el (double-column): Remove unused variable `cnt'.
19006
19007 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19008 (ido-ignore-item-temp-list): Declare.
19009
19010 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19011 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19012 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19013 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19014 `mouse-col-delta'.
19015
19016 * mouse-sel.el (mouse-extend-internal):
19017 Remove unused variable `orig-window-frame'.
19018
19019 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19020 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19021 Move declarations before first use.
19022 (pcomplete-opt): Mark unused parameters; doc fix.
19023
19024 * proced.el (proced-revert): Mark unused parameter.
19025 (proced-send-signal): Remove unused variable `err'.
19026
19027 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19028 Rename parameter PREFIX-ARG to ARG.
19029 (ps-basic-plot-string, ps-basic-plot-whitespace):
19030 Mark unused parameters.
19031
19032 * replace.el (replace-count): Define.
19033 (occur-revert-function): Mark unused parameters.
19034 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19035 (isearch-case-fold-search, isearch-string): Declare.
19036 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19037 bind `case-fold-search'. Remove unused variables `beg' and `end',
19038 and simplify.
19039 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19040 COUNT and bind `replace-count'.
19041 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19042 to COUNT.
19043
19044 * savehist.el (print-readably, print-string-length): Declare.
19045
19046 * shadowfile.el (shadow-expand-cluster-in-file-name):
19047 Remove unused variable `cluster'.
19048 (shadow-copy-file): Remove unused variable `i'.
19049 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19050 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19051 (shadow-define-literal-group, shadow-define-regexp-group)
19052 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19053
19054 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19055 (shell): Use `called-interactively-p'.
19056 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19057
19058 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19059 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19060 (delete-backward-char): Remove unused variable `ocol'.
19061 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19062 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19063 (event-apply-hyper-modifier, event-apply-shift-modifier)
19064 (event-apply-control-modifier, event-apply-meta-modifier):
19065 Mark unused parameters.
19066 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19067 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19068
19069 * speedbar.el (speedbar-ignored-directory-expressions)
19070 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19071 (speedbar-find-file, speedbar-dir-follow)
19072 (speedbar-directory-buttons-follow, speedbar-tag-find)
19073 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19074 (speedbar-buffers-line-directory, speedbar-buffer-click):
19075 Mark unused parameters.
19076 (speedbar-tag-file): Remove unused variable `mode'.
19077 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19078
19079 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19080
19081 * talk.el (talk): Remove unused variable `display'.
19082
19083 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19084 (tar-write-region-annotate): Mark unused parameter.
19085
19086 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19087 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19088 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19089 warning by another.
19090
19091 * time-stamp.el (time-stamp-string-preprocess):
19092 Remove unused variable `require-padding'.
19093
19094 * tree-widget.el (widget-glyph-enable): Declare.
19095 (tree-widget-action): Mark unused parameter.
19096
19097 * w32-fns.el (x-get-selection): Mark unused parameter.
19098 (autoload-make-program, generated-autoload-file): Declare.
19099
19100 * wdired.el (wdired-revert): Mark unused parameters.
19101 (wdired-xcase-word): Remove unused variable `err'.
19102
19103 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19104 (whitespace-help-scroll): Remove unused variable `data-help'.
19105
19106 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19107 (widget-image-insert, widget-after-change, default)
19108 (widget-default-format-handler, widget-default-notify)
19109 (widget-default-prompt-value, widget-info-link-action)
19110 (widget-url-link-action, widget-function-link-action)
19111 (widget-variable-link-action, widget-file-link-action)
19112 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19113 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19114 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19115 (widget-insert-button-action, widget-delete-button-action, visibility)
19116 (widget-documentation-link-action, widget-documentation-string-action)
19117 (widget-const-prompt-value, widget-regexp-match, symbol)
19118 (widget-coding-system-prompt-value)
19119 (widget-key-sequence-value-to-external, sexp)
19120 (widget-sexp-value-to-internal, character, vector, cons)
19121 (widget-choice-prompt-value, widget-boolean-prompt-value)
19122 (widget-color--choose-action): Mark unused parameters.
19123 (widget-item-match-inline, widget-choice-match-inline)
19124 (widget-checklist-match, widget-checklist-match-inline)
19125 (widget-group-match): Rename parameter VALUES to VALS.
19126 (widget-field-value-set): Remove unused variable `size'.
19127 (widget-color-action): Remove unused variables `value' and `start'.
19128
19129 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19130 variable `dir'. Doc fix.
06b60517
JB
19131 (windmove-find-other-window): Don't pass it.
19132
19133 * window.el (count-windows): Mark unused parameter.
19134 (bw-adjust-window): Remove unused variable `err'.
19135
19136 * woman.el (woman-file-name): Remove unused variable `default'.
19137 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19138 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19139 (global-font-lock-mode): Declare.
19140 (woman-decode-region): Mark unused parameter.
19141 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19142
19143 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19144 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19145 (x-dnd-handle-moz-url): Remove unused variable `title'.
19146 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19147
19148 * xml.el (xml-parse-tag, xml-parse-attlist):
19149 Remove unused variable `pos'.
19150
bc4f7f3d
GM
191512011-04-19 Glenn Morris <rgm@gnu.org>
19152
19153 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19154 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19155 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19156 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19157 * calendar/cal-html.el (cal-html-insert-minical):
19158 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19159 (calendar-mark-date-pattern):
19160 Prefix "unused" locals.
19161
19162 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19163 optional argument `style'.
19164
19165 * calendar/appt.el (appt-make-list):
19166 * calendar/cal-china.el (calendar-chinese-date-string):
19167 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19168 (diary-hebrew-yahrzeit):
19169 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19170 * calendar/calendar.el (calendar-generate-window):
19171 * calendar/time-date.el (time-to-days):
19172 Remove unused local variables.
19173
16a43933
CY
191742011-04-18 Chong Yidong <cyd@stupidchicken.com>
19175
19176 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19177 glyphless-char-display table.
19178 (tabulated-list-glyphless-char-display): New var.
19179
7eed1860
SS
191802011-04-18 Sam Steingold <sds@gnu.org>
19181
19182 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19183 to acknowledgments.
19184
4d2d1ccd
GM
191852011-04-17 Glenn Morris <rgm@gnu.org>
19186
19187 * calendar/diary-lib.el (diary-sexp-entry):
19188 * calendar/holidays.el (holiday-sexp):
19189 Set debug-on-error rather than the removed stack-trace-on-error.
19190
239da61d
GM
191912011-04-16 Glenn Morris <rgm@gnu.org>
19192
19193 * progmodes/f90.el: Use lexical-binding.
19194 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19195
8b05752a
SM
191962011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19197
daca8ba5
SM
19198 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19199 (mail-mode): Setup mailalias completion here instead.
19200 * mail/mailalias.el: Use lexical-binding.
19201 (pattern, mailalias-done): Declare dynamic.
19202 (mail-completion-at-point-function): New function, from mail-complete.
19203 (mail-complete): Use it.
19204 (mail-completion-expand): New function.
19205 (mail-get-names): Use it.
19206 (mail-directory, mail-directory-process, mail-directory-stream):
19207 Don't use `pattern' for lexically bound arg.
19208
6f542485
SM
19209 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19210
037e7c3f
SM
19211 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19212 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19213 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19214
8b05752a
SM
19215 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19216 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19217 (byte-interactive-p): Define them again, for use when inlining
19218 old code.
19219
49093f60
JB
192202011-04-15 Juanma Barranquero <lekktu@gmail.com>
19221
19222 * loadup.el: Use `string-to-number', not `string-to-int'.
19223
b5b8e7de
SM
192242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19225
19226 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19227 gud-gdb-complete-command.
19228 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19229 (gud-gdb-completion-at-point): New function.
19230 (gud-gdb-completions): Remove.
19231
f42efeb5
MA
192322011-04-14 Michael Albinus <michael.albinus@gmx.de>
19233
49093f60
JB
19234 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19235 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19236 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19237 whether `executable-find' is bound.
f42efeb5
MA
19238
19239 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19240
e240cc21
SM
192412011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19242
19243 * minibuffer.el (completion-in-region-mode-predicate)
19244 (completion-in-region-mode--predicate): New vars.
19245 (completion-in-region, completion-in-region--postch)
19246 (completion-in-region-mode): Use them.
19247 (completion--capf-wrapper): Also return the hook function.
19248 (completion-at-point, completion-help-at-point):
19249 Adjust and provide a predicate.
c2bd2ab0
SM
19250
19251 Preserve arg names for advice of subr and lexical functions (bug#8457).
19252 * help-fns.el (help-function-arglist): Consolidate the subr and
19253 new-byte-code cases. Add argument `preserve-names' to extract names
19254 from the docstring when needed.
19255 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19256 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19257 (ad-arglist): Use help-function-arglist's new arg.
19258 (ad-definition-type): Use cond.
19259
c183f693
JB
192602011-04-13 Juanma Barranquero <lekktu@gmail.com>
19261
06641a47
JB
19262 * autorevert.el (auto-revert-handler):
19263 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19264 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19265 Don't quote lambda.
19266
c183f693
JB
19267 * image-mode.el (image-transform-set-scale):
19268 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19269
1e3b6001
G
192702011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19271
19272 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19273 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19274 Upgrades via gnutls-cli are too slow to be done opportunistically.
19275
2d6af8dd
JB
192762011-04-12 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * dframe.el (dframe-current-frame): Remove spurious quote.
19279
c0749a51
GM
192802011-04-12 Glenn Morris <rgm@gnu.org>
19281
088d0d61
GM
19282 * calendar/cal-tex.el (cal-tex-end-document):
19283 Try to automatically use latin1 input if needed.
19284
c0749a51
GM
19285 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19286 Don't try to cons a mark onto an empty element.
19287
5c90fde0
LL
192882011-04-11 Leo Liu <sdl.web@gmail.com>
19289
19290 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19291 buffers.
19292 (ido-kill-buffer-at-head): Support killing virtual buffers.
19293
369e974d
CY
192942011-04-10 Chong Yidong <cyd@stupidchicken.com>
19295
19296 * minibuffer.el (completion-show-inline-help): New var.
19297 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19298 (minibuffer-force-complete, minibuffer-complete-word):
19299 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19300
19301 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19302 to avoid interference from inline help (Bug#5849).
19303
37f1c930
LL
193042011-04-10 Leo Liu <sdl.web@gmail.com>
19305
099c39a4
JB
19306 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19307 Fix typo.
37f1c930 19308
a32d4040
CY
193092011-04-09 Chong Yidong <cyd@stupidchicken.com>
19310
19311 * image-mode.el (image-toggle-display-image): Signal an error if
19312 not in Image mode.
19313 (image-transform-mode, image-transform-resize)
19314 (image-transform-set-rotation): Doc fix.
daca8ba5 19315 (image-transform-set-resize): Delete.
a32d4040
CY
19316 (image-transform-set-scale, image-transform-fit-to-height)
19317 (image-transform-fit-to-width): Handle image-toggle-display-image
19318 and image-transform-resize directly.
19319
099c39a4 193202011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19321
19322 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19323 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19324 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19325 (doc-view-mode-map): Add bindings for the new functions.
19326
099c39a4 193272011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19328
4d61f28d 19329 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19330 Fix typo in docstring.
19331
3726838a
EZ
193322011-04-08 Eli Zaretskii <eliz@gnu.org>
19333
04f33f1e
EZ
19334 * files.el (file-size-human-readable): Produce one digit after
19335 decimal, like "ls -lh" does.
19336
19337 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19338 the file size representation.
19339
3726838a
EZ
19340 * simple.el (list-processes): If async subprocesses are not
19341 available, error out with a clear error message.
19342
cbb59342
CY
193432011-04-08 Chong Yidong <cyd@stupidchicken.com>
19344
19345 * help.el (help-form-show): New function, to be called from C.
19346 Put help-form output in a buffer named differently than *Help*.
19347
e3971c44
EZ
193482011-04-08 Eli Zaretskii <eliz@gnu.org>
19349
19350 * files.el (file-size-human-readable): New function.
19351
19352 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19353 computing the representation inline. Don't require `cl'.
19354
12544bbe
GM
193552011-04-08 Glenn Morris <rgm@gnu.org>
19356
a1de6c6a
GM
19357 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19358
3c4671f4
GM
19359 * net/browse-url.el (browse-url-firefox):
19360 Test system-type, not system-configuration.
19361
b605679c
GM
19362 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19363 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19364 Use log-edit-empty-buffer-p. (Bug#7598)
19365
56442f0c
GM
19366 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19367 (rlogin-mode-map): Initialize in the defvar.
19368 (rlogin): Use ignore-errors.
19369
12544bbe
GM
19370 * replace.el (occur-mode-map): Some fixes for menu items.
19371
eb237b0f
AH
193722011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19373
19374 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19375
7d668f2c
CY
193762011-04-06 Chong Yidong <cyd@stupidchicken.com>
19377
e67a13ab
CY
19378 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19379 issuing unused warnings.
19380
19381 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19382 macro directly.
19383
7d668f2c
CY
19384 * simple.el: Lisp reimplement of list-processes. Based on an
19385 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19386 (process-menu-mode): New major mode.
19387 (list-processes--refresh, list-processes):
19388 (process-menu-visit-buffer): New functions.
19389
19390 * files.el (save-buffers-kill-emacs): Don't assume any return
19391 value of list-processes, which is undocumented anyway.
19392
a83ec3c9
CY
193932011-04-06 Chong Yidong <cyd@stupidchicken.com>
19394
19395 * emacs-lisp/tabulated-list.el: New file.
19396
e91a96fe
CY
19397 * emacs-lisp/package.el: Use Tabulated List mode.
19398 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19399 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19400 table format using Tabulated List mode variables.
19401 (package--push): New macro, replacing package-list-maybe-add.
19402 (package-menu--generate): Use package--push. Renamed from
19403 package--generate-package-list.
19404 (package-menu-refresh, list-packages): Use it.
daca8ba5 19405 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19406 Return insertion data instead of inserting it directly.
099c39a4
JB
19407 (package-menu-describe-package, package-menu-execute):
19408 Use tabulated-list-get-id.
e91a96fe
CY
19409 (package-menu-mark-delete, package-menu-mark-install)
19410 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19411 (package-menu-mark-obsolete-for-deletion):
19412 Use tabulated-list-put-tag.
e91a96fe
CY
19413 (package--list-packages, package-menu-revert)
19414 (package-menu-get-package, package-menu-get-version)
19415 (package-menu-sort-by-column): Functions deleted.
19416 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19417 (package-menu--status-predicate, package-menu--version-predicate)
19418 (package-menu--name-predicate)
19419 (package-menu--description-predicate): Handle arguments in the
19420 Tabulated List format.
19421 (package-list-packages-no-fetch): Call list-packages.
19422
3e214b50
JB
194232011-04-06 Juanma Barranquero <lekktu@gmail.com>
19424
19425 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19426 (after-find-file): Don't bind it.
3e214b50
JB
19427 (revert-buffer-in-progress-p): New variable.
19428 (revert-buffer): Bind it.
19429 Pass nil for `after-find-file-from-revert-buffer'.
19430
19431 * saveplace.el (save-place-find-file-hook): Use new variable
19432 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19433
3f0f1700
GM
194342011-04-06 Glenn Morris <rgm@gnu.org>
19435
c0274801
GM
19436 * Makefile.in (AUTOGEN_VCS): New variable.
19437 (autoloads): Use $AUTOGEN_VCS.
19438
3f0f1700
GM
19439 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19440 * calendar/calendar.el (calendar-mode-map):
19441 Check for toolkit scroll bars. (Bug#8305)
19442
41ea9e48
CY
194432011-04-05 Chong Yidong <cyd@stupidchicken.com>
19444
19445 * minibuffer.el (completion-in-region--postch)
19446 (completion-in-region-mode): Remove unnecessary messages.
19447
6194c800
JB
194482011-04-05 Juanma Barranquero <lekktu@gmail.com>
19449
33256f14
JB
19450 * font-lock.el (font-lock-refresh-defaults):
19451 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19452 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19453
6194c800
JB
19454 * info.el (Info-directory-list, Info-read-node-name-2)
19455 (Info-split-parameter-string): Doc fixes.
19456 (Info-virtual-nodes): Reflow docstring.
19457 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19458 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19459 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19460 Fix typos in docstrings.
19461 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19462 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19463 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19464 (Info-restore-desktop-buffer): Mark unused parameters.
19465 (Info-directory-find-file, Info-directory-find-node)
19466 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19467 (Info-virtual-index-find-node, Info-apropos-find-file)
19468 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19469 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19470 (Info-virtual-index): Remove unused local variable `nodename'.
19471
b87a8200 194722011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19473
b87a8200
DD
19474 * net/rcirc.el: Update my e-mail address.
19475 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19476
3b2ff876
CY
194772011-04-05 Chong Yidong <cyd@stupidchicken.com>
19478
19479 * startup.el (command-line): Save the cursor's theme-face
19480 directly, instead of using face-override-spec.
19481
19482 * custom.el (load-theme): Minor optimization in assigning faces.
19483
8d17e7ca
JB
194842011-04-04 Juanma Barranquero <lekktu@gmail.com>
19485
19486 * help-fns.el (describe-variable): Complete all variables having
19487 documentation, including keywords.
19488 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19489
2fbc1934
JB
194902011-04-04 Juanma Barranquero <lekktu@gmail.com>
19491
19492 Convert to lexical-binding.
19493
19494 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19495 (bs--get-marked-string, bs--get-modified-string)
19496 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19497 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19498 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19499
19500 * ehelp.el (electric-help-execute-extended)
19501 (electric-help-ctrl-x-prefix):
19502 * hexl.el (hexl-revert-buffer-function):
19503 * linum.el (linum-after-change, linum-after-scroll):
19504 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19505
19506 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19507
74f50695
DU
195082011-04-04 Daiki Ueno <ueno@unixuser.org>
19509
19510 * epa-dired.el:
19511 * epa-mail.el:
19512 * epa-hook.el:
19513 * epa-file.el:
19514 * epa.el:
19515 * epg.el: Use lexical binding.
19516
c11325f7
CY
195172011-04-03 Chong Yidong <cyd@stupidchicken.com>
19518
0d9e9a12
CY
19519 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19520
c11325f7 19521 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19522 dictionary case for flyspell-mark-duplications-exceptions.
19523 Use regexp matching for languages.
c11325f7
CY
19524 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19525 default dictionary (Bug#7926).
19526
da91b5f2
CY
195272011-04-02 Chong Yidong <cyd@stupidchicken.com>
19528
099c39a4
JB
19529 * emacs-lisp/package.el (package--with-work-buffer):
19530 Recognize https URLs.
da91b5f2 19531
099c39a4
JB
19532 * net/network-stream.el: Move from gnus/proto-stream.el.
19533 Change prefix to network-stream throughout.
da91b5f2
CY
19534 (open-protocol-stream): Merge into open-network-stream, leaving
19535 open-protocol-stream as an alias. Handle nil BUFFER args.
19536
19537 * subr.el (open-network-stream): Move to net/network-stream.el.
19538
afa8e9f6
GM
195392011-04-02 Glenn Morris <rgm@gnu.org>
19540
1d2e369d
GM
19541 * find-dired.el (find-exec-terminator): New option.
19542 (find-ls-option): Test for -ls support.
19543 (find-ls-subdir-switches): Test for -b in find-ls-option.
19544 (find-dired, find-grep-dired): Doc fixes.
19545 (find-dired): Use find-exec-terminator.
19546
8abb7da8 19547 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19548 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19549 (find-name-arg): Remove purecopy.
8abb7da8 19550
f3ca7378
GM
19551 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19552 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19553 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19554 accordingly. Don't add the null-device if not needed.
19555
afa8e9f6
GM
19556 * files.el (save-some-buffers): Doc fix.
19557
35eae264
EZ
195582011-04-02 Eli Zaretskii <eliz@gnu.org>
19559
19560 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19561
26b51db5
JB
195622011-04-01 Juanma Barranquero <lekktu@gmail.com>
19563
19564 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19565 Use `dolist' rather than `mapcar'.
19566
7200d79c
SM
195672011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19568
03408648 19569 Add lexical binding.
7200d79c 19570
03408648
SM
19571 * subr.el (apply-partially): Use new closures rather than CL.
19572 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19573 (dolist, dotimes): Use slightly different expansion for lexical code.
19574 (functionp): Move to C.
19575 (letrec): New macro.
19576 (with-wrapper-hook): Use it and apply-partially instead of CL.
19577 (eval-after-load): Preserve lexical-binding.
19578 (save-window-excursion, with-output-to-temp-buffer): Turn them
19579 into macros.
7200d79c 19580
03408648
SM
19581 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19582
19583 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19584 than the arglist.
19585 (help-add-fundoc-usage): Don't add `Not documented'.
19586 (help-function-arglist): Handle closures, subroutines, and new
19587 byte-code-functions.
19588 (help-make-usage): Remove leading underscores.
19589 (describe-function-1): Handle closures.
19590 (describe-variable): Use special-variable-p for completion.
19591
19592 * files.el (lexical-binding): Declare safe.
f488fb65 19593
03408648
SM
19594 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19595 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19596 (pcase): Add `let' pattern.
19597 Change memoization so it actually works.
19598 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19599 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19600 <let>: New case.
f488fb65 19601
03408648
SM
19602 * emacs-lisp/macroexp.el: Use lexical binding.
19603 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19604 Don't convert ' to #' without checking that it's indeed quoting
19605 a lambda.
19606
19607 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19608 Use eval-sexp-add-defvars.
03408648
SM
19609 (eval-sexp-add-defvars): New fun.
19610
19611 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19612
19613 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19614 Don't autoload.
19615 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19616 than the internal `byte-compile-lambda'.
19617 (defmethod): Don't hide code under quotes.
19618 (eieio-defmethod): New `code' argument.
19619
19620 * emacs-lisp/eieio-comp.el: Remove.
19621
19622 * emacs-lisp/edebug.el (edebug-eval-defun)
19623 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19624 (edebug-toggle): Avoid `eval'.
19625
19626 * emacs-lisp/disass.el (disassemble-internal): Handle new
19627 `closure' objects.
19628 (disassemble-1): Handle new byte codes.
19629
19630 * emacs-lisp/cl.el (pushnew): Silence warning.
19631
19632 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19633 (cl-byte-compile-throw): Remove.
19634 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19635
19636 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19637 closures.
19638
19639 * emacs-lisp/cconv.el: New file.
19640
19641 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19642 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19643 (byte-compile-initial-macro-environment):
19644 Handle declare-function here.
19645 (byte-compile--lexical-environment): New var.
19646 (byte-stack-ref, byte-stack-set, byte-discardN)
19647 (byte-discardN-preserve-tos): New lap codes.
19648 (byte-interactive-p): Don't use any more.
19649 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19650 New macros.
19651 (byte-compile-lapcode): Use them and handle new lap codes.
19652 (byte-compile-obsolete): Remove.
19653 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19654 (byte-compile-arglist-warn): Check late def of inlinable funs.
19655 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19656 since they should have been expanded by now.
19657 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19658 (byte-compile-from-buffer): Remove unused second arg.
19659 (byte-compile-preprocess): New function.
19660 (byte-compile-toplevel-file-form): New function to distinguish
19661 file-form calls from outside from file-form calls from hunk-handlers.
19662 (byte-compile-file-form): Simplify.
19663 (byte-compile-file-form-defsubst): Remove.
19664 (byte-compile-file-form-defmumble): Simplify now that
19665 byte-compile-lambda always returns a byte-code-function.
19666 (byte-compile): Preprocess.
19667 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19668 Remove, not used any more.
19669 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19670 (byte-compile-make-args-desc): New funs.
19671 (byte-compile-lambda): Handle lexical functions. Always return
19672 a byte-code-function.
19673 (byte-compile-reserved-constants): New var, to make up room for
19674 closed-over variables.
19675 (byte-compile-constants-vector): Obey it.
19676 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19677 (byte-compile-macroexpand-declare-function): New function.
19678 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19679 byte-code-functions.
19680 (byte-compile-form): Check obsolescence here.
19681 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19682 (byte-compile-variable-ref): Remove.
19683 (byte-compile-dynamic-variable-op): New fun.
19684 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19685 (byte-compile-variable-set): New funs.
19686 (byte-compile-discard): Add 2 args.
19687 (byte-compile-stack-ref, byte-compile-stack-set)
19688 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19689 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19690 macroexpand-all instead.
19691 (byte-compile-quote-form): Remove.
19692 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19693 (byte-compile-bind, byte-compile-unbind): New funs.
19694 (byte-compile-let): Handle let* and lexical binding.
19695 (byte-compile-let*): Remove.
19696 (byte-compile-catch, byte-compile-unwind-protect)
19697 (byte-compile-track-mouse, byte-compile-condition-case):
19698 Handle a new :fun-body form, used for lexical scoping.
19699 (byte-compile-save-window-excursion)
19700 (byte-compile-with-output-to-temp-buffer): Remove.
19701 (byte-compile-defun): Simplify.
19702 (byte-compile-stack-adjustment): New fun.
19703 (byte-compile-out): Use it.
19704 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19705
19706 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19707 handler any more.
19708
19709 * emacs-lisp/byte-opt.el: Use lexical binding.
19710 (byte-inline-lapcode): Remove (to bytecomp).
19711 (byte-compile-inline-expand): Pay attention to inlining to/from
19712 lexically bound code.
19713 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19714 any more.
19715 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19716 any more and don't call compiler-macros.
19717 (byte-compile-splice-in-already-compiled-code): Remove.
19718 (byte-code): Don't inline any more.
19719 (disassemble-offset): Receive `bytes' as argument rather than via
19720 dynamic scoping.
19721 (byte-compile-tag-number): Declare before first use.
19722 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19723 `return' even if make-spliceable.
19724 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19725 obsolete interactive-p.
19726 (byte-optimize-lapcode): Optimize new lap-codes.
19727 Don't trip up on new form of `byte-constant' lap code.
19728
19729 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19730
19731 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19732
19733 * custom.el (custom-initialize-default, custom-declare-variable):
19734 Use `defvar'.
19735
19736 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19737 New variables.
19738 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19739 (COMPILE_FIRST): Add macroexp and cconv.
19740 * makefile.w32-in: Mirror changes in Makefile.in.
19741
19742 * vc/cvs-status.el:
19743 * vc/diff-mode.el:
19744 * vc/log-edit.el:
19745 * vc/log-view.el:
19746 * vc/smerge-mode.el:
19747 * textmodes/bibtex-style.el:
090bd7cb 19748 * textmodes/css-mode.el:
03408648
SM
19749 * startup.el:
19750 * uniquify.el:
da91b5f2
CY
19751 * minibuffer.el:
19752 * newcomment.el:
19753 * reveal.el:
19754 * server.el:
19755 * mpc.el:
19756 * emacs-lisp/smie.el:
19757 * doc-view.el:
19758 * dired.el:
03408648
SM
19759 * abbrev.el: Use lexical binding.
19760
0f0c1f27
EZ
197612011-04-01 Eli Zaretskii <eliz@gnu.org>
19762
19763 * info.el (info-display-manual): New function.
19764
c82b2579
SM
197652011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19766
19767 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19768
221ddf68
TH
197692011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19770
19771 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19772 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19773
cba6e77e
GM
197742011-03-31 Glenn Morris <rgm@gnu.org>
19775
e040639f
GM
19776 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19777
cba6e77e
GM
19778 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19779
6d0f1c9e
CS
197802011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19781
19782 * progmodes/python.el (python-default-interpreter)
19783 (python-python-command-args, python-jython-command-args)
19784 (python-which-shell, python-which-args, python-which-bufname)
19785 (python-file-queue, python-comint-output-filter-function)
19786 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19787 variables and functions.
19788
3e2d70fd
SM
197892011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19790
19791 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19792 (completion-in-region-mode): New minor mode.
19793 (completion-in-region): Use it.
19794 (completion-in-region--data, completion-in-region-mode-map): New vars.
19795 (completion-in-region--postch): New function.
19796 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19797 New vars.
19798 (completion--capf-wrapper): New function.
19799 (completion-at-point): Use it to track well-behavedness of
19800 hook functions.
19801 (completion-help-at-point): New command.
19802
f3e4086c
JM
198032011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19804
19805 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19806 syntax class to search for whitespace on a single line
19807 (Message-ID: <4D938140.4030905@redhat.com>).
19808
eb7ffc14
LL
198092011-03-30 Leo Liu <sdl.web@gmail.com>
19810
19811 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19812 New commands.
19813 (edit-abbrevs-map): Bind them here.
19814 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19815
d806ab68
KM
198162011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19817
19818 * allout.el (allout-hide-by-annotation, allout-flag-region):
19819 Reduce possibility of overlay leakage by making them volatile.
19820
19821 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19822 hash is not shared between buffers. Mode initialization is
19823 responsible for giving it a useful starting value.
19824 (allout-item-span): Reduce possibility of overlay leakage by
19825 making them volatile.
19826 (allout-widgets-count-buttons-in-region): Add diagnostic function
19827 for tracking down button overlay leaks.
19828
ea622834
LL
198292011-03-29 Leo Liu <sdl.web@gmail.com>
19830
19831 * ido.el (ido-read-internal): Use the default history var
19832 minibuffer-history if no HISTORY is specified.
19833
b62f8267
G
198342011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19835
03408648
SM
19836 * net/imap.el (imap-shell-open, imap-process-connection-type):
19837 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19838 Kerberos, SSL, other subprocesses.
19839
947b6566
LL
198402011-03-28 Leo Liu <sdl.web@gmail.com>
19841
19842 * abbrev.el (abbrev-table-empty-p): New function.
19843 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19844 nonempty ones. (Bug#5937)
19845
5ffb62aa
JD
198462011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19847
19848 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19849
7a097943
LL
198502011-03-27 Leo Liu <sdl.web@gmail.com>
19851
19852 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19853 for foreground and background colors.
19854 (ansi-color-make-color-map): Adapt.
19855
c5b40130
LL
198562011-03-25 Leo Liu <sdl.web@gmail.com>
19857
1f48f7d2
LL
19858 * midnight.el (midnight-time-float): Remove. Note it calculates
19859 the microsecond component incorrectly and seconds-to-time does the
19860 same job.
625897ec 19861 Remove redundant (require 'timer).
1f48f7d2 19862
c5b40130
LL
19863 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19864 (ido-completions): Remove unused arguments. (Bug#8329)
19865
d86d2721
SM
198662011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19867
19868 * minibuffer.el (completion--flush-all-sorted-completions):
19869 Remove itself from hook.
19870 (completion-at-point): Let the functions perform the completion
19871 immediately and return nil or t.
19872 * comint.el (comint-dynamic-complete-functions): Now identical to
19873 completion-at-point-functions.
19874 (comint-dynamic-list-input-ring): Remove unused var `index'.
19875 (comint--match-partial-filename, comint--unquote&expand-filename):
19876 New funs, split from comint-match-partial-filename.
19877 (comint-dynamic-complete): Use completion-at-point.
19878 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19879
e8974c48
DA
198802011-03-24 Drew Adams <drew.adams@oracle.com>
19881
19882 * thingatpt.el: Support `defun'.
19883
def71b5e
LL
198842011-03-23 Leo Liu <sdl.web@gmail.com>
19885
cb5af48e
LL
19886 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19887
def71b5e
LL
19888 * help-mode.el (help-mode-finish): Tweak regexp.
19889
927c53e7
GM
198902011-03-23 Glenn Morris <rgm@gnu.org>
19891
18d05bed
GM
19892 * eshell/esh-opt.el (eshell-eval-using-options):
19893 Do not bind unused local variable `eshell-option-stub'.
19894
927c53e7
GM
19895 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19896
9d0da923
JB
198972011-03-22 Juanma Barranquero <lekktu@gmail.com>
19898
19899 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19900 keymap variable in `with-no-warnings' to avoid a warning when the
19901 keymap has been already `defconst'ed.
19902
4b978a67
LL
199032011-03-22 Leo Liu <sdl.web@gmail.com>
19904
19905 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19906 encode all chars in abbrevs; otherwise use emacs-mule or
19907 utf-8-emacs. (Bug#8308)
19908
5fd62452
JB
199092011-03-22 Juanma Barranquero <lekktu@gmail.com>
19910
0b1596c6
JB
19911 * simple.el (backward-delete-char-untabify):
19912 Avoid warning about using `delete-backward-char'.
19913
5fd62452
JB
19914 * image.el (image-type-file-name-regexps): Make it variable.
19915 `imagemagick-register-types' modifies it, and the user may want
19916 to add new extensions for known image types.
19917 (imagemagick-register-types): Throw error if not using ImageMagick.
19918
0b4e93f1
LL
199192011-03-22 Leo Liu <sdl.web@gmail.com>
19920
19921 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19922 located before rcirc-prompt-end-marker.
19923 (rcirc-complete): Error if point is not after rcirc prompt.
19924 Handle the case when table is nil.
9882e214 19925 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19926
fccee4ab
CY
199272011-03-22 Chong Yidong <cyd@stupidchicken.com>
19928
19929 * custom.el (custom--inhibit-theme-enable): Make it affect only
19930 custom-theme-set-variables and custom-theme-set-faces.
19931 (provide-theme): Ignore custom--inhibit-theme-enable.
19932 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19933 (custom-enabling-themes): Delete variable.
d86d2721
SM
19934 (enable-theme): Accept only loaded themes as arguments.
19935 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19936 (custom-enabled-themes): Forbid themes from setting this.
19937 Eliminate use of custom-enabling-themes.
19938 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19939
af896da6
LL
199402011-03-21 Leo Liu <sdl.web@gmail.com>
19941
19942 * ido.el (ido-read-internal): Add ido-selected to history instead
19943 of user input.
19944
78f64af0
SM
199452011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19946
19947 * subr.el (deferred-action-list, deferred-action-function):
19948 Mark obsolete.
19949
b16ac1ec
LL
199502011-03-21 Leo Liu <sdl.web@gmail.com>
19951
810f7698
LL
19952 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19953 change on 2011-02-13 (bug#8309).
19954
b16ac1ec
LL
19955 * minibuffer.el (read-file-name-function): Change default value.
19956 (read-file-name--defaults): Rename from read-file-name-defaults.
19957 (read-file-name-default): Rename from read-file-name.
19958 (read-file-name): Call read-file-name-function.
19959
4e05e67e
GM
199602011-03-21 Glenn Morris <rgm@gnu.org>
19961
19962 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19963 Doc fixes.
19964
4359915b
CY
199652011-03-21 Chong Yidong <cyd@stupidchicken.com>
19966
19967 * cus-theme.el: Add missing provide statement.
19968 (customize-create-theme): Extract theme value correctly.
19969 (custom-theme-visit-theme): Autoload.
19970 (customize-create-theme): Prompt before inserting default faces.
19971
1fe275ee
JB
199722011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19973
19974 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19975 units and musical notes.
19976
cd394be1 199772011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19978
19979 * ido.el (ido-read-internal): Use completing-read-default.
19980 (ido-completing-read): Fix compatibility with completing-read.
19981
7d476bde
CO
199822011-03-20 Christian Ohler <ohler@gnu.org>
19983
19984 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19985 (ert-delete-all-tests): Use `called-interactively-p' rather than
19986 `interactive-p'.
19987 (ert--make-xrefs-region): Respect END.
19988
fe0fb33e
CY
199892011-03-19 Chong Yidong <cyd@stupidchicken.com>
19990
ff854b0b
CY
19991 * dired-aux.el (dired-create-directory): Signal an error if the
19992 directory already exists (Bug#8246).
19993
fe0fb33e
CY
19994 * facemenu.el (list-colors-display): Call list-faces-display
19995 inside with-help-window.
19996 (list-colors-print): Use display property to align the final
19997 column, instead of checking window-width.
19998
576bce32
EZ
199992011-03-19 Eli Zaretskii <eliz@gnu.org>
20000
4d61f28d 20001 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20002 windows-nt systems.
20003 (emerge-protect-metachars): Quote correctly for ms-dos and
20004 windows-nt systems.
20005
89c41d68 200062011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20007
20008 * info.el (info-initialize): Replace all uses of `:' with
20009 path-separator for compatibility with non-Unix systems.
20010 Cache quoting of path-separator. (Bug#8258)
20011
b14e3e21 200122011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20013
20014 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20015 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20016 (mouse-avoidance-mode): Fix typos in docstrings.
20017
4525ce3e
CY
200182011-03-19 Chong Yidong <cyd@stupidchicken.com>
20019
20020 * startup.el (package-subdirectory-regexp): Move from package.el.
20021 Omit \\` and \\', and let callers add them.
20022
20023 * emacs-lisp/package.el (package-strip-version)
20024 (package-load-all-descriptors): Add \\` and \\' to
20025 package-subdirectory-regexp before using it.
20026 (package-untar-buffer): New arg DIR; ensure that file untars only
20027 into this expected directory. Remove superfluous delete-region.
20028 (package-unpack): Caller changed.
20029 (package-tar-file-info): Use package-subdirectory-regexp.
20030
a904a09a 200312011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20032
a904a09a
SM
20033 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20034 diff-mode-shared-map (bug#8284).
20035 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20036
200372011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20038
20039 * calendar/time-date.el (format-seconds): Use assoc instead of
20040 assoc-string, since assoc-string doesn't exist in XEmacs.
20041
171fc304
JB
200422011-03-17 Juanma Barranquero <lekktu@gmail.com>
20043
20044 * custom.el (custom-known-themes): Reflow docstring.
20045 (custom-theme-load-path): Fix typo in docstring.
20046 (load-theme): Fix typo in error message.
20047 (custom-available-themes, custom-variable-theme-value):
20048 Use `let', not `let*'.
20049
d71990a1
JB
200502011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20051
20052 * calc/README: Mention inclusion of musical notes.
20053
20054 * calc/calc-units.el (calc-lu-quant): Rename from
20055 `calc-logunits-quantity'.
20056 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20057 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20058 (calc-db): Rename from `calc-dblevel'.
20059 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20060 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20061 (calc-np): Rename from `calc-nplevel'.
20062 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20063 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20064 (calc-lu-plus): Rename from `calc-logunits-add'.
20065 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20066 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20067 (calc-lu-minus): Rename from `calc-logunits-sub'.
20068 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20069 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20070 (calc-lu-times): Rename from `calc-logunits-mul'.
20071 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20072 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20073 (calc-lu-divide): Rename from `calc-logunits-div'.
20074 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20075 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20076
20077 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20078 functions being autoloaded.
20079
20080 * calc/calc.el (calc-lu-power-reference): Rename from
20081 `calc-logunits-power-reference'.
20082 (calc-lu-field-reference): Rename from
20083 `calc-logunits-field-reference'.
20084
7a71b18d
GM
20085 * calc/calc-help.el (calc-l-prefix-help):
20086 Mention musical note functions.
d71990a1 20087
40c2934b
SM
200882011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20089
20090 * minibuffer.el (completion-all-sorted-completions):
20091 Use :completion-cycle-penalty text property if present.
20092
b0911414
KM
200932011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20094
20095 * allout.el (allout-yank-processing): Adjust for new rebulleting
20096 regime so bullet being yanked is used without prompting the user
20097 for a choice.
20098
8a05b668
JB
200992011-03-16 Juanma Barranquero <lekktu@gmail.com>
20100
20101 * startup.el (command-line): Warn the user that _emacs is deprecated.
20102
5ba5fb81
JB
201032011-03-16 Juanma Barranquero <lekktu@gmail.com>
20104
20105 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20106 (delphi-verbose, delphi-comment-face, delphi-string-face)
20107 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20108 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20109 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20110 (delphi-new-comment-line, delphi-font-lock-defaults)
20111 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20112 Fix typos in docstrings.
20113
2dab465b
KM
201142011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20115
5ba5fb81 20116 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20117 Invert the roles of character and string values for INSTEAD, so a
20118 string is used for the more common case of a defaulting prompt.
20119
0adf5618
SM
201202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20121
20122 * progmodes/ruby-mode.el (ruby-backward-sexp):
20123 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20124 * play/gamegrid.el (gamegrid-make-face):
20125 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20126 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20127 * notifications.el (notifications-notify):
20128 * net/xesam.el (xesam-search-engines):
20129 * net/quickurl.el (quickurl-list-insert):
20130 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20131
d72700e5
CY
201322011-03-15 Chong Yidong <cyd@stupidchicken.com>
20133
20134 * startup.el (command-line): Update package subdirectory regexp.
20135
49c5410a
SM
201362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20137
c6eee9aa
SM
20138 * allout.el (allout-abbreviate-flattened-numbering)
20139 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20140
49c5410a
SM
20141 * subr.el (read-char-choice): Only show the cursor after the prompt,
20142 not after the answer.
20143
047b2bb9
KR
201442011-03-15 Kevin Ryde <user42@zip.com.au>
20145
20146 * help-fns.el (variable-at-point): Skip leading quotes, if any
20147 (bug#8253).
20148
0a57d256
SM
201492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20152 warning message.
20153
77c992bc
MA
201542011-03-14 Michael Albinus <michael.albinus@gmx.de>
20155
20156 * shell.el (shell): When called interactively, offer to change the
20157 shell file name on remote hosts.
20158
eebc475d
TZ
201592011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20160
20161 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20162 integration for LDAP parameters. The host, base, user or binddn,
20163 and secret tokens can be specified in a netrc file, for instance.
20164 This is optional because an `auth-source' parameter must be
20165 specified in the search attributes.
20166
9d05d1ba
JB
201672011-03-13 Juanma Barranquero <lekktu@gmail.com>
20168
20169 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20170
09d9db2c
GM
201712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20172
20173 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20174 into declaration. Remove redundant and harmful binding.
20175
201762011-03-12 Eli Zaretskii <eliz@gnu.org>
20177
20178 * files.el (file-ownership-preserved-p): Pass `integer' as an
20179 explicit 2nd argument to `file-attributes'. If the file's owner
20180 is the Administrators group on Windows, and the current user is
20181 Administrator, consider that a match.
20182
20183 * server.el (server-ensure-safe-dir): Consider server directory
20184 safe on MS-Windows if its owner is the Administrators group while
20185 the current Emacs user is Administrator. Use `=' to compare
20186 numerical UIDs, since they could be integers or floats.
20187
219bd536
JB
201882011-03-12 Juanma Barranquero <lekktu@gmail.com>
20189
20190 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20191
f3afd36b
MA
201922011-03-12 Michael Albinus <michael.albinus@gmx.de>
20193
20194 Sync with Tramp 2.2.1.
20195
20196 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20197
20198 * net/trampver.el: Update release number.
20199
3aaaa6f1
SM
202002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20201
94642599
SM
20202 * progmodes/compile.el (compilation--previous-directory): Fix up
20203 various nil/dead-marker mismatches (bug#8014).
20204 (compilation-directory-properties, compilation-error-properties):
20205 Don't call it at a position past the one we're about to change.
20206
3aaaa6f1
SM
20207 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20208 Disable obsolescence warnings in the file that declares it.
20209
14239447
KM
202102011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20211
099c39a4
JB
20212 * allout-widgets.el (allout-widgets-tally):
20213 Initialize allout-widgets-tally as a hash table rather than nil to
20214 prevent mode-line redisplay warnings. Also, clarify the module
20215 description and fix a comment typo.
14239447 20216
135e287c
JB
202172011-03-11 Juanma Barranquero <lekktu@gmail.com>
20218
20219 * help-fns.el (describe-variable): Don't complete keywords.
20220 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20221
ffbf300e
CY
202222011-03-10 Chong Yidong <cyd@stupidchicken.com>
20223
ba08b241
CY
20224 * emacs-lisp/package.el (package-version-join): Impose a standard
20225 string representation for pre/alpha/beta version lists.
20226 (package-unpack-single): Standardize the directory name by passing
20227 it through package-version-join.
20228 (package-strip-rcs-id): Accept any version string that does not
20229 signal an error in version-to-list.
ffbf300e 20230
f346fd6b
MA
202312011-03-10 Michael Albinus <michael.albinus@gmx.de>
20232
20233 * simple.el (delete-trailing-whitespace): Return nil for the
20234 benefit of `write-file-functions'.
20235
ccb55d27
GM
202362011-03-10 Glenn Morris <rgm@gnu.org>
20237
5ceaac0c
GM
20238 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20239
02da65ff
GM
20240 * vc/vc-git.el (vc-git-program): New option.
20241 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20242 (vc-git--call): Use it.
20243
b2f603cc
GM
20244 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20245
5772caab
GM
20246 * cus-edit.el (Custom-newline): If no button at point, look
20247 for a subgroup button at start-of-line. (Bug#2298)
20248
ccb55d27
GM
20249 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20250
ec6ecaed
JD
202512011-03-10 Julien Danjou <julien@danjou.info>
20252
20253 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20254 `cursor-type' is nil.
20255
9d5aa01d
JB
202562011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20257
20258 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20259
b6a5875b
KM
202602011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20261
7a71b18d 20262 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20263 preserves the existing header prefix, rebulleting it if necessary,
20264 rather than replacing it. This is necessary for proper operation
20265 of cooperative addons like allout-widgets.
1154d12e
JB
20266 (allout-make-topic-prefix, allout-rebullet-heading):
20267 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20268 value as alternate bullet to be used, instead of prompting the user
20269 for a bullet character.
b6a5875b 20270
ee545c35
MA
202712011-03-09 Michael Albinus <michael.albinus@gmx.de>
20272
d86d2721
SM
20273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20274 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20275 `tramp-default-port'.
20276
c47971d7
DD
202772011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20278
20279 * net/rcirc.el (rcirc-handler-001): Remove useless
20280 with-rcirc-process-buffer.
20281 (rcirc-check-auth-status): Swap arguments to string-match.
20282
13522cb4
GM
202832011-03-09 Glenn Morris <rgm@gnu.org>
20284
0be6f4f1
GM
20285 * shell.el (shell-mode):
20286 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20287
13522cb4
GM
20288 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20289 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20290
515de2e3
CY
202912011-03-08 Chong Yidong <cyd@stupidchicken.com>
20292
20293 * emacs-lisp/package.el (package-refresh-contents)
20294 (package-menu-execute): Use condition-case-no-debug.
20295
b511b994
MA
202962011-03-08 Michael Albinus <michael.albinus@gmx.de>
20297
20298 * simple.el (shell-command-to-string): Use `process-file'.
20299
20300 * emacs-lisp/package.el (package-tar-file-info): Handle also
20301 remote files.
20302
d86d2721
SM
20303 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20304 Use `equal' for upload base check.
b511b994 20305
25bbfb31
AM
203062011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20307
20308 * textmodes/texinfo.el (texinfo-environments):
20309 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20310
be996521
GM
203112011-03-08 Glenn Morris <rgm@gnu.org>
20312
e9c8529f
GM
20313 * cus-start.el (cursor-in-non-selected-windows):
20314 Fix :set quoting oddness. (Bug#8192)
20315
be996521
GM
20316 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20317 in some setf expressions. (Bug#2159)
20318
2bb5649e
CY
203192011-03-08 Chong Yidong <cyd@stupidchicken.com>
20320
20321 * custom.el (custom-available-themes): Return themes in
20322 alphabetical order.
20323
33383987 20324See ChangeLog.15 for earlier changes.
e3d51b27
MR
20325
20326;; Local Variables:
20327;; coding: utf-8
e3d51b27
MR
20328;; End:
20329
acaf905b 20330 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20331
20332 This file is part of GNU Emacs.
20333
20334 GNU Emacs is free software: you can redistribute it and/or modify
20335 it under the terms of the GNU General Public License as published by
20336 the Free Software Foundation, either version 3 of the License, or
20337 (at your option) any later version.
20338
20339 GNU Emacs is distributed in the hope that it will be useful,
20340 but WITHOUT ANY WARRANTY; without even the implied warranty of
20341 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20342 GNU General Public License for more details.
20343
20344 You should have received a copy of the GNU General Public License
20345 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.