* calendar/todos.el: Further comment revision.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Further comment revision.
4 (todos-reset-global-current-todos-file):
5 Try to make this not slow down kill-buffer.
6 (todos-update-categories-sexp): Handle the case where there is no
7 categories sexp yet, i.e. after inserting the first item in the
8 file, so todos-display-categories works.
9 (todos-read-file-name): Improve implementation.
10 (todos-validate-name): Use variable todos-files.
11 (todos-category-number): New variable.
12 (todos-insert-category-line, todos-update-categories-display)
13 (todos-raise-category-priority): Use it.
14 (todos-add-file): Remove unused remnant code.
15
16 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
17
18 * calendar/todos.el: Further comment revision.
19 (todos-set-item-top-priority): New command.
20 (todos-reset-global-current-todos-file):
21 Use todos-files-function instead of todos-files.
22 (todos-read-category): Add optional argument to test whether
23 caller adds new category; if so, don't prompt for new category and
24 don't restore original todos-categories list.
25 (todos-categories-mode-map): Update to renamed commands.
26 (todos-filter-items-mode-map): Add binding for new command.
27 (todos-mode): Fix typo.
28 (todos-show): If called from archive file, show corresponding
29 category in Todos file, if it exists.
30 (todos-jump-to-category): Remove code to add new category, since
31 todos-read-category can do that.
32 (todos-add-file): Remove obsolete code; visit new file in selected
33 window.
34 (todos-add-category): Simplify.
35 (todos-rename-category): Use force-mode-line-update instead of
36 setting mode-line-buffer-identification.
37 (todos-delete-category): Improve logic of prompts; use
38 todos-categories-full and check todos-ignore-archived-categories.
39 (todos-raise-category-priority, todos-lower-category-priority):
40 Rename from todos-{raise,lower}-category and adjust callers.
41 (todos-move-category, todos-merge-category):
42 Set todos-categories-full; on setting todos-categories check
43 todos-ignore-archived-categories.
44 (todos-insert-item): Let-bind use-empty-active-region and use
45 use-region-p instead of transient-mark-mode.
46 (todos-raise-item-priority): Improve implementation.
47 (todos-archive-done-item): Rename from
48 todos-archive-done-item-or-items and adjust callers; confine to
49 Todos mode.
50 (todos-unarchive-items): On setting todos-categories check
51 todos-ignore-archived-categories.
52
53 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
54
55 * calendar/todos.el (todos-key-bindings): Remove binding of
56 deleted command.
57 (todos-menu): Remove entry of deleted command.
58 (todos-show-archive): Fix last change.
59 (todos-done-item-add-or-edit-comment): Rename from
60 todos-comment-done-item and adjust callers; prompt to edit an
61 existing comment.
62
63 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
64
65 * calendar/todos.el (todos-set-show-current-file): Rename from
66 todos-toggle-show-current-file and adjust callers.
67 (todos-number-priorities): Rename from todos-number-prefix and
68 adjust users.
69 (todos-update-count): Rename from todos-set-count and adjust
70 callers.
71 (todos-hide-show-item-numbering): Rename from
72 todos-toggle-item-numbering and adjust callers.
73 (todos-hide-show-done-items): Rename from
74 todos-toggle-view-done-items and adjust callers.
75 (todos-show-done-only): Rename from todos-toggle-show-done-only.
76 (todos-view-archived-items): Comment out.
77 (todos-show-archive): Prompt to choose another archive file if
78 current Todos file lacks an archive; prompt to visit archive
79 anyway when current category has no archived items.
80
81 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
82
83 * calendar/todos.el: Further comment revision and code
84 rearrangement.
85 (todos-item-end): Revert last change.
86 (todos-key-bindings, todos-menu, todos-archive-mode-map)
87 (todos-filter-items-mode-map): Use renamed commands.
88 (todos-hide-show-date-time): Rename from
89 todos-toggle-display-date-time.
90 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
91 adjust caller.
92 (todos-backward-item): Exempt special handling only from
93 todos-regexp-items-buffer instead of todos-filter-items-mode.
94 (todos-raise-item-priority): Don't allow item reprioritizing in
95 Todos filter items mode except for top priority items.
96
97 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
98
99 * calendar/todos.el: Add and revise further doc strings and
100 comments.
101 (todos-filter-function, todos-custom-items)
102 (todos-custom-items-multifile): Remove.
103 (todos-filter-done-items): New defcustom.
104 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
105 (todos-filter-items): Check return value of caller first; tag
106 archived items for todos-jump-to-item; delete categories sexp
107 before processing filter; check todos-filter-done-items for
108 whether to leave done items; remove custom filter; fix regexp for
109 file and category tags; don't invoke buffer fontification.
110 (powerset-recursive): Fix typo.
111 (todos-key-bindings): Remove unused bindings.
112 (todos-top-priorities-multifile, todos-diary-items-multifile)
113 (todos-regexp-items-multifile): Use variable todos-multiple-files.
114 (todos-jump-to-item): Fix regexp; handle archive tags; take
115 todos-filter-done-items into account.
116 (todos-insert-item-from-calendar): Relocate to end of file
117 together with key-binding as addition to calendar.el.
118
119 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
120
121 * calendar/todos.el: Add and revise further doc strings and
122 comments; major code rearrangement.
123 (todos-merged-files, todos-prompt-merged-files)
124 (todos-print-priorities, todos-tmp-buffer-name)
125 (todos-top-priorities-widgets, todos-update-merged-files)
126 (todos-merged-top-priorities, todos-merged-diary-items)
127 (todos-merged-regexp-items, todos-merged-custom-items)
128 (todos-raw-mode, todos-change-default-file)
129 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
130 (todos-toggle-diary-nonmarking, todos-validate-category-name):
131 Remove.
132 (todos-category-string-matcher): Comment out.
133 (todos-categories): New defgroup.
134 (todos-initial-file, todos-filter-buffer)
135 (todos-top-priorities-buffer, todos-categories-category-label)
136 (todos-diary-items-buffer, todos-regexp-items-buffer)
137 (todos-custom-items-buffer, todos-filter-files)
138 (todos-highlight-item, todos-todo-mode-date-time-regexp):
139 New defcustoms.
140 (todos-diary-expired): New face.
141 (todos-print-buffer, todos-multiple-files)
142 (todos-multiple-files-widget, todos-key-bindings): New variables.
143 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
144 (todos-special-buffer-name)
145 (todos-reevaluate-filter-files-defcustom)
146 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
147 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
148 (todos-diary-expired-matcher, todos-category-string-matcher-1)
149 (todos-category-string-matcher-2, todos-repair-categories-sexp)
150 (todos-validate-name, todos-multiple-files)
151 (todos-display-categories-1, todos-update-categories-display)
152 (todos-modes-set-3, todos-mode-external-set): New functions.
153 (todos-set-top-priorities-in-file)
154 (todos-set-top-priorities-in-category)
155 (todos-top-priorities-multifile, todos-diary-items-multifile)
156 (todos-regexp-items-multifile, todos-custom-items-multifile)
157 (todos-convert-legacy-files, todos-jump-to-item)
158 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
159 (todos-edit-item-diary-inclusion)
160 (todos-edit-category-diary-inclusion)
161 (todos-edit-item-diary-nonmarking)
162 (todos-edit-category-diary-nonmarking): New commands.
163 (todos, todos-faces): Update :version.
164 (todos-done-separator, todos-completion-ignore-case):
165 Change default value.
166 (todos-done-separator): Change :set function.
167 (todos-indent-to-here): Add :validate function to :type.
168 (todos-prefix-string, todos-mark, todos-button)
169 (todos-sorted-column, todos-archived-only, todos-search)
170 (todos-done, todos-done-sep): Provide full face definitions
171 instead of inheriting.
172 (todos-edit-buffer, todos-categories-buffer): Change from
173 defcustom to defvar.
174 (todos-category-beg, todos-category-done): Change from defvar to
175 defconst.
176 (todos-files): Check if todos-files-directory exists.
177 (todos-default-todos-file, todos-mode-line-control, todos-print):
178 Use todos-short-file-name.
179 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
180 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
181 todos-category-string-matcher-2, todos-diary-expired-matcher.
182 (todos-category-select): Use todos-done-string-start, and
183 condition search on todos-show-with-done; don't make display
184 overlay for done items separator string if there already is one;
185 use todos-highlight-item, require hl-line and activate
186 hl-line-mode here in order to avoid a hang if done in todos-mode
187 or the mode hook.
188 (todos-update-categories-sexp): Use todos-categories-full if set,
189 otherwise todos-categories.
190 (todos-make-categories-list): Don't test for archive file when
191 processing a legacy todo-mode file.
192 (todos-check-format): Add check for todos-categories sexp.
193 (todos-diary-item-p): Use todos-nondiary-start instead of
194 todos-date-pattern.
195 (todos-marked-item-p): Rename from todos-item-marked-p.
196 (todos-read-file-name): Don't accept empty name; validate.
197 (todos-read-category): Validate new name before prompting whether
198 to add new category; force quit if user answers no.
199 (todos-filter-items): Improve implementation.
200 (todos-set-top-priorities): Rewrite as a noninteractive function
201 using minibuffer input instead of widgets.
202 (todos-insert-sort-button): Call todos-display-sorted with
203 argument nil to display categories in numerical order, instead of
204 calling todos-display-categories.
205 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
206 Common Lisp powerset function at
207 http://rosettacode.org/wiki/Power_set#Common_Lisp.
208 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
209 powerset function at http://rosettacode.org/wiki/Power_set#C.
210 (todos-powerset): Defalias to powerset-bitwise.
211 (todos-mode-map): Generate from todos-key-bindings instead of
212 listing each key definition.
213 (todos-categories-mode-map): Add two bindings.
214 (todos-filter-items-mode-map): Add some bindings, remove others.
215 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
216 function setting todos-done-separator to
217 window-configuration-change-hook.
218 (todos-unload-hook): Remove function setting todos-done-separator
219 from window-configuration-change-hook.
220 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
221 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
222 (todos-categories-mode): Derive from special-mode; use
223 todos-mode-external-set.
224 (todos-filter-items-mode): Derive from special-mode.
225 (todos-quit): Save archive file if it hasn't yet been saved.
226 (todos-display-categories): Delegate all functionality to
227 todos-display-categories-1 and todos-update-categories-display.
228 (todos-toggle-view-done-items): Improve implementation.
229 (todos-highlight-item): Require hl-line.
230 (todos-toggle-display-date-time): Remove argument and make it
231 apply only to whole file.
232 (todos-top-priorities, todos-diary-items, todos-regexp-items)
233 (todos-custom-items): Use todos-special-buffer-name.
234 (todos-add-file): Use todos-short-file-name and
235 todos-reevaluate-defcustoms; remove validation, since it's now
236 done in todos-read-file-name.
237 (todos-add-category): Also update todos-categories-full if non-nil.
238 (todos-delete-category): Delete file after confirmation if only
239 category is deleted.
240 (todos-move-category): Use todos-short-file-name and
241 todos-reevaluate-defcustoms.
242 (todos-insert-item): Fix getting date from the calendar and
243 insertion of time string.
244 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
245 display of diary entries.
246 (todos-edit-multiline): Add optional argument to restrict editing
247 buffer to current item, otherwise make entire buffer (i.e. whole
248 file) editable.
249 (todos-edit-quit): When whole file is editable, check file format
250 validity before killing buffer, and if valid, recalculate
251 categories sexp to be safe.
252 (todos-edit-item-header): Allow choosing date from calendar.
253 (todos-item-done): Handle marked items.
254
255 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
256
257 * calendar/todos.el (todos-item-start): Restore commented out code
258 to prevent wrongly moving point in widened buffer.
259
260 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
261
262 * calendar/todos.el: Remove old commentary from todo-mode.el; add
263 and revise further doc strings and comments; require cl.el at
264 compile time for remove-duplicates; use function powerset from
265 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
266 code rearrangement. Add adapted version of diary-goto-entry as comment.
267 (todos-file-top, todos-archived-categories-buffer)
268 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
269 (todos-save-top-priorities, todos-reset-separator)
270 (todos-switch-todos-file, todos-item-string-start, todos-counts)
271 (todos-string-count-lines, todos-string-multiline-p)
272 (todos-display-categories-alphabetically): Remove.
273 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
274 (todos-insert-item-ask-date-time-for-diary)
275 (todos-insert-item-ask-date-time-for-diary-here)
276 (todos-insert-item-ask-date-time-here)
277 (todos-insert-item-ask-date-maybe-notime)
278 (todos-insert-item-ask-date-maybe-notime-for-diary)
279 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
280 (todos-insert-item-ask-date-maybe-notime-here)
281 (todos-insert-item-ask-date-for-diary)
282 (todos-insert-item-ask-date-for-diary-here)
283 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
284 (todos-insert-item-ask-dayname-time)
285 (todos-insert-item-ask-dayname-time-for-diary)
286 (todos-insert-item-ask-dayname-time-for-diary-here)
287 (todos-insert-item-ask-dayname-time-here)
288 (todos-insert-item-ask-dayname-maybe-notime)
289 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
290 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
291 (todos-insert-item-ask-dayname-maybe-notime-here)
292 (todos-insert-item-ask-dayname-for-diary)
293 (todos-insert-item-ask-dayname-for-diary-here)
294 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
295 (todos-insert-item-ask-time-for-diary)
296 (todos-insert-item-ask-time-for-diary-here)
297 (todos-insert-item-ask-time-here)
298 (todos-insert-item-maybe-notime)
299 (todos-insert-item-maybe-notime-for-diary)
300 (todos-insert-item-maybe-notime-for-diary-here)
301 (todos-insert-item-maybe-notime-here)
302 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
303 (todos-insert-item-here): Remove; all of these are now generated
304 on loading (some with the same name, most with other names.)
305 (todos-item-counts, todos-display-categories-alphabetically)
306 (todos-display-categories-sorted-by-todo)
307 (todos-display-categories-sorted-by-diary)
308 (todos-display-categories-sorted-by-done)
309 (todos-display-categories-sorted-by-archived): Comment out.
310 (todos-comment-string, todos-mode-line-function)
311 (todos-filter-function, todos-priorities-rules)
312 (todos-visit-files-commands, todos-categories-totals-label)
313 (todos-use-only-highlighted-region, todos-diary-nonmarking):
314 New defcustoms.
315 (todos-mark, todos-comment): New faces.
316 (todos-comment-face): Corresponding new variable.
317 (todos-categories-full, todos-global-current-todos-file)
318 (todos-first-visit, todos-insertion-commands-args-genlist)
319 (todos-insertion-commands-args, todos-insertion-commands-names)
320 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
321 (todos-top-priorities-widgets, todos-date-from-calendar)
322 (todos-item-mark, todos-categories-with-marks): New variables.
323 (todos-mode-line-control, todos-reset-global-current-todos-file)
324 (todos-gen-arglists, todos-insertion-command-name)
325 (todos-insertion-key-bindings, todos-unload-hook)
326 (todos-filter-items, todos-set-date-from-calendar)
327 (todos-comment-string-matcher, todos-after-find-file)
328 (todos-reset-nondiary-marker, todos-reset-done-string)
329 (todos-reset-comment-string, todos-show-current-file)
330 (todos-item-marked-p, todos-total-item-counts): New functions.
331 (todos-define-insertion-command): New macro.
332 (todos-toggle-mark-item, todos-mark-category)
333 (todos-unmark-category, todos-set-top-priorities)
334 (todos-merged-diary-items, todos-regexp-items)
335 (todos-merged-regexp-items, todos-custom-items)
336 (todos-merged-custom-items, todos-comment-done-item)
337 (todos-archive-category-done-items, todos-unarchive-items)
338 (todos-print-to-file): New commands.
339 (todos-done-separator): Change :set function.
340 (todos-done-string): Uncomment :initialize and :set functions.
341 (todos-files): Use file-truename.
342 (todos-show-current-file): Rename from
343 todos-auto-switch-todos-file and change :set function accordingly.
344 (todos-font-lock-keywords): Use todos-comment-string-matcher;
345 change names of other matcher functions to new *-matcher.
346 (todos-category-number): Change initial value.
347 (todos-insertion-map): Use todos-insertion-key-bindings to
348 generate key definitions.
349 (todos-mode-map): Don't suppress digit keys, so they can supply
350 prefix arguments; add new and change some existing bindings.
351 (todos-archive-mode-map): Change a key binding.
352 (todos-categories-mode-map): Comment out a key binding.
353 (todos-filter-items-mode-map): Rename from
354 todos-top-priorities-mode-map.
355 (todos-mode): Make todos-current-todos-file,
356 todos-categories-full, todos-categories, todos-first-visit,
357 todos-category-number, todos-show-done-only,
358 todos-categories-with-marks local variables and set them; add
359 todos-show-current-file to pre-command-hook, todos-after-find-file
360 to post-command-hook and todos-reset-global-current-todos-file to
361 kill-buffer-hook.
362 (todos-archive-mode): Make todos-current-todos-file,
363 todos-categories and todos-category-number local variables and set
364 them; add todos-after-find-file to post-command-hook.
365 (todos-raw-mode): New derived major mode.
366 (todos-categories-mode): Don't set font-lock-defaults and
367 buffer-read-only; make todos-current-todos-file and
368 todos-categories local variables and set them.
369 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
370 (todos-quit): Don't reset todos-categories on quitting
371 todos-categories-mode; handle quitting todos-filter-items-mode.
372 (todos-show): Simplify; when visiting an archive file switch to
373 corresponding Todos file; use todos-first-visit.
374 (todos-view-archived-items): Simplify; call todos-category-number.
375 (todos-show-archive): Rename from todos-switch-to-archive and
376 adjust callers; simplify.
377 (todos-toggle-display-date-time): Add optional argument to toggle
378 display in entire file.
379 (todos-top-priorities): Use todos-filter-items, which now contains
380 the previous core of this command.
381 (todos-merged-top-priorities, todos-diary-items):
382 Use todos-filter-items.
383 (todos-forward-category): Add optional argument to go to the
384 previous category.
385 (todos-backward-category): Use todos-forward-category.
386 (todos-jump-to-category): Refine implementation.
387 (todos-forward-item, todos-backward-item): Fix movement from todo
388 to done item and vice versa.
389 (todos-add-file): Remove argument and simplify.
390 (todos-rename-category): Use todos-current-todos-file and
391 todos-mode-line-function; set todos-categories with
392 todos-set-categories.
393 (todos-delete-category): Ask what to do if category has archived items.
394 (todos-raise-category): Ensure modified todos-categories is added
395 to file's categories sexp.
396 (todos-move-category): Improve implementation, especially handling
397 of archived categories.
398 (todos-merge-category): Tweak; set item counts.
399 (todos-insert-item): Improve handling of various argument values;
400 add new argument values to control marking of diary items and to
401 use region for item body.
402 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
403 (todos-delete-item, todos-edit-item-header): Handle marked items.
404 (todos-edit-item): Incorporate functionality of removed
405 todos-string-multiline-p.
406 (todos-edit-multiline): Use set-window-buffer instead of
407 switch-to-buffer.
408 (todos-edit-quit): Don't save on quitting; use todos-show instead
409 of todos-category-select.
410 (todos-raise-item-priority): Add argument to lower priority;
411 improve handling of top priority items in todos-filter-items-mode;
412 restore marks.
413 (todos-lower-item-priority): Use todos-raise-item-priority.
414 (todos-set-item-priority): Increment maximum number if item is new.
415 (todos-move-item): Handle marked items; delay changing category
416 moved from till after movement to avoid restoring if user cancels
417 before insertion.
418 (todos-item-done): Add optional argument to insert comment; fix
419 item counts and update sexp.
420 (todos-item-undo): Fix item counts and update.
421 (todos-archive-done-item-or-items): Rename from
422 todos-archive-done-items; add optional argument to archive all
423 items in category; handle marked items.
424 (todos-unarchive-category): Use todos-unarchive-items.
425 (todos-toggle-diary-inclusion): Incorporate functionality of
426 removed todos-toggle-item-diary-inclusion; handle marked items.
427 (todos-print): Add optional argument to print to file.
428 (todos-done-string-start): Don't use todos-nondiary-start.
429 (todos-date-string-matcher, todos-time-string-matcher)
430 (todos-done-string-matcher, todos-category-string-matcher): Rename
431 from *-match and adjust callers.
432 (todos-wrap-and-indent): Use set instead of setq for local variables.
433 (todos-prefix-overlays): Improve overlay handling.
434 (todos-reset-categories): Fix and complete implementation.
435 (todos-toggle-show-current-file): Rename from
436 todos-toggle-switch-todos-file-noninteractively.
437 (todos-category-select): Use todos-mode-line-function.
438 (todos-item-start): Comment out code used by removed function.
439 (todos-remove-item): Handle presence of both prefix/number and
440 mark overlays.
441 (todos-get-count): Simplify.
442 (todos-set-count): Change argument list and adjust callers; simplify.
443 (todos-set-categories): Handle new archive files; use
444 todos-categories-full and todos-ignore-archived-categories.
445 (todos-truncate-categories-list): Use todos-categories-full.
446 (todos-update-categories-sexp): Use kill-region instead of
447 kill-line; use todos-categories-full.
448 (todos-read-file-name): Add argument to require existing file and
449 adjust callers; use file-truename.
450 (todos-read-category): Remove argument to require existing
451 category and delegate it to completing-read in function body.
452 (todos-validate-category-name): Make empty string prompt only for
453 initial category name.
454 (todos-read-date): Use = instead of eq for testing if month = 13,
455 and if it is, set monthname to *.
456 (todos-display-categories): Use todos-global-current-todos-file;
457 use set-window-buffer instead of switch-to-buffer; add a line
458 showing item count totals.
459 (todos-padded-string): Use the longest of category name or label.
460 (todos-descending-counts): Rename from
461 todos-descending-counts-store and adjust users.
462 (todos-insert-category-line): Adjust format; use mapconcat; kill
463 buffer after jumping to category.
464
465 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
466
467 * calendar/todos.el Add and revise various doc strings, remove
468 further commented out code; add further comments; further code
469 rearrangement.
470 (todos-file-do, todos-archive-file, todos-mode-hook)
471 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
472 (todos-view-archive, todos-search-string)
473 (todos-jump-to-category-noninteractively, todos-initial-setup):
474 Remove.
475 (todos-files): Remove this defcustom.
476 (todos-initial-category, todos-display-categories-first)
477 (todos-auto-switch-todos-file, todos-default-todos-file)
478 (todos-categories-category-label, todos-categories-todo-label)
479 (todos-categories-diary-label, todos-categories-done-label)
480 (todos-categories-archived-label)
481 (todos-categories-number-separator, todos-categories-align)
482 (todos-ignore-archived-categories, todos-nondiary-marker):
483 New defcustoms.
484 (todos-prefix, todos-done-separator, todos-file-top)
485 (todos-categories-buffer, todos-archived-categories-buffer)
486 (todos-edit-buffer, todos-always-add-time-string, todos-button):
487 Change default value.
488 (todos-done-string): Add todos-reset-done-string as :set function,
489 but keep this commented out.
490 (todos-files, todos-archives, todos-insertion-map)
491 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
492 (todos-show-done-only, todos-date-string-start)
493 (todos-done-string-start): New variables.
494 (todos-files-directory, todos-files-function, todos-merged-files)
495 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
496 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
497 (todos-toggle-switch-todos-file-noninteractively)
498 (todos-switch-todos-file, todos-counts, todos-get-count)
499 (todos-set-count, todos-set-categories)
500 (todos-truncate-categories-list, todos-update-categories-sexp)
501 (todos-read-file-name, todos-sort, todos-display-sorted)
502 (todos-label-to-key, todos-insert-sort-button): New functions.
503 (todos-display-categories-sorted-by-todo)
504 (todos-display-categories-sorted-by-diary)
505 (todos-display-categories-sorted-by-done)
506 (todos-display-categories-sorted-by-archived)
507 (todos-update-merged-files, todos-switch-to-archive)
508 (todos-choose-archive, todos-merged-top-priorities)
509 (todos-jump-to-category-other-file, todos-clear-matches)
510 (todos-add-file, todos-change-default-file, todos-move-category)
511 (todos-merge-category, todos-merge-categories)
512 (todos-edit-item-time, todos-move-item-to-file)
513 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
514 (todos-toggle-diary-nonmarking): New commands.
515 (todos-toggle-show-done-only): New command replacing todos-view-archive.
516 (todos-faces): New defgroup; use in all face definitions.
517 (todos-sorted-column, todos-archived-only, todos-search): New faces.
518 (todos-font-lock-keywords): Use subexpression 1 with matcher
519 todos-category-string-match.
520 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
521 (todos-categories-mode-map): Add new key bindings; change some
522 existing bindings.
523 (todos-top-priorities-mode-map): New keymap.
524 (todos-menu): Add submenues and new entries.
525 (auto-mode-alist): Add extension of Todos and Todos archive files.
526 (todos-mode, todos-archive-mode): Make derived mode; use
527 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
528 and todos-switch-todos-file; make todos-show-done-only local
529 variable.
530 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
531 (todos-categories-mode): Make derived mode.
532 (todos-top-priorities-mode): New derived major mode.
533 (todos-save): Remove unused code.
534 (todos-quit): Handle todos-categories-mode; save archive buffer.
535 (todos-show): Add optional argument to prompt for a Todos file; if
536 called interactively or with prefix arg or from an archive, don't
537 make a no-op but reset todos-current-todos-file, todos-categories
538 and todos-category-number; use todos-read-file-name,
539 todos-display-categories-first, todos-ignore-archived-categories.
540 (todos-display-categories): Change argument name; refactor code
541 for inserting table labels and lines, using
542 todos-ignore-archived-categories, todos-sort,
543 todos-categories-number-separator, todos-insert-sort-button,
544 todos-categories-*-labels, and todos-insert-category-line.
545 (todos-display-categories-alphabetically): Use todos-display-sorted.
546 (todos-toggle-view-done-items): Use todos-done-string-start and
547 todos-get-count.
548 (todos-toggle-display-date-time): Use todos-done-string-start.
549 (todos-top-priorities): Remove autoload cookie; partially rewrite:
550 new argument list; allow combining top priorities of multiple
551 Todos files; change display to include category (and file) name as
552 part of item header; use todos-top-priorities-mode.
553 (todos-diary-items): Reimplement using only todos-top-priorities.
554 (todos-forward-category, todos-backward-category): Adjust to
555 1-based numbering of categories; move point to top of category.
556 (todos-jump-to-category): Rewrite, adding optional arguments to
557 provide a category in non-interactive uses and to prompt for which
558 Todos file to jump to.
559 (todos-search): Reimplement; highlight each match as found, say
560 how many matches remain and prompt whether to go to next one; at
561 end of search prompt whether to remove highlighting.
562 (todos-add-category): Remove autoload cookie; assign new category
563 the highest category number; associate zero-initialized vector of
564 item counts, instead of property list, with new category; use
565 todos-validate-category-name and todos-update-categories-sexp.
566 (todos-rename-category): Use todos-validate-category-name and
567 todos-update-categories-sexp; take archive files into account.
568 (todos-delete-category): Use todos-get-count and
569 todos-update-categories-sexp, let-bind variable that were
570 mistakenly global; use delete-region instead of kill-region;
571 adjust to 1-based numbering of categories; move point to top of
572 category.
573 (todos-raise-category): Handle item count vectors; use
574 todos-insert-category-line and todos-update-categories-sexp.
575 (todos-insert-item): Use nil time-string argument to omit time
576 string; use todos-nondiary-start and todos-nondiary-end and
577 todos-update-categories-sexp; if category named to insert into
578 does not exist, add it; take new diary items into account.
579 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
580 (todos-insert-item-ask-date-time-for-diary)
581 (todos-insert-item-ask-date-time-for-diary-here)
582 (todos-insert-item-ask-date-time-here)
583 (todos-insert-item-ask-date-maybe-notime)
584 (todos-insert-item-ask-date-maybe-notime-for-diary)
585 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
586 (todos-insert-item-ask-date-maybe-notime-here)
587 (todos-insert-item-ask-date-for-diary)
588 (todos-insert-item-ask-date-for-diary-here)
589 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
590 (todos-insert-item-ask-dayname-time)
591 (todos-insert-item-ask-dayname-time-for-diary)
592 (todos-insert-item-ask-dayname-time-for-diary-here)
593 (todos-insert-item-ask-dayname-time-here)
594 (todos-insert-item-ask-dayname-maybe-notime)
595 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
596 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
597 (todos-insert-item-ask-dayname-maybe-notime-here)
598 (todos-insert-item-ask-dayname-for-diary)
599 (todos-insert-item-ask-dayname-for-diary-here)
600 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
601 (todos-insert-item-ask-time-for-diary)
602 (todos-insert-item-ask-time-for-diary-here)
603 (todos-insert-item-ask-time-here)
604 (todos-insert-item-maybe-notime)
605 (todos-insert-item-maybe-notime-for-diary)
606 (todos-insert-item-maybe-notime-for-diary-here)
607 (todos-insert-item-maybe-notime-here)
608 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
609 New insertion commands.
610 (todos-insert-item-from-calendar): Use todos-current-todos-file.
611 (todos-delete-item): Handle diary items;
612 use todos-update-categories-sexp.
613 (todos-edit-item): Check if point is with item string;
614 use read-string instead of read-from-minibuffer;
615 use todos-date-string-start; after editing put point at start of
616 item text.
617 (todos-edit-multiline): Narrow to item before invoking
618 todos-edit-mode; show key binding of todos-edit-quit in a message.
619 (todos-edit-quit): Use todos-save; kill buffer.
620 (todos-edit-item-header): Add optional argument to prompt for
621 editing only date string or only time string;
622 use todos-date-string-start.
623 (todos-edit-item-date, todos-edit-item-date-is-today)
624 (todos-raise-item-priority, todos-lower-item-priority): Rename
625 from todos-{raise, lower}-item and make them DTRT in
626 todos-top-priorities-mode.
627 (todos-set-item-priority): Make interactive; use todos-get-count
628 and todos-insert-with-overlays; interactively, just relocate the
629 item within its category.
630 (todos-move-item): Add optional argument to prompt for a category
631 in another Todos file; handle diary items; fix restoration after
632 cancelling before inserting.
633 (todos-item-done): Handle diary items; simplify handling of
634 insertion in done items section.
635 (todos-item-undo): Handle diary items.
636 (todos-archive-done-items): Adjust to new handling of archive
637 files (in parallel with Todos files); handle diary items; use
638 todos-done-string-start.
639 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
640 todos-nondiary-end and todos-item-counts.
641 (todos-toggle-diary-inclusion): Use todos-category-done instead of
642 todos-category-end.
643 (todos-print): Remove autoload cookie; rewrite to make overlays,
644 line wrapping and wrap prefixes printable.
645 (todos-date-pattern): Make parenthesized groups shy.
646 (todos-date-string-match): Use todos-date-string-start; make
647 todos-date-pattern an explicitly numbered group.
648 (todos-time-string-match): Use todos-date-string-start.
649 (todos-done-string-match): Use todos-done-string-start.
650 (todos-category-string-match): Rewrite to match new category and
651 category+filename patterns in todos-top-priorities-mode.
652 (todos-prefix-overlays): Use todos-done-string-start and
653 todos-category-done.
654 (todos-reset-prefix): Handle archive files; restore point after
655 changing prefix.
656 (todos-reset-separator): Handle archive files.
657 (todos-category-number): Make category number one more than its
658 list index.
659 (todos-current-category): Adjust to 1-based numbering of categories.
660 (todos-category-select): Simplify handling of done items and done
661 separator string overlay.
662 (todos-item-start): Use todos-date-string-start and
663 todos-done-string-start.
664 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
665 (todos-item-string): Restore point after getting item bounds; use
666 buffer-substring-no-properties.
667 (todos-done-item-p): Use todos-done-string-start.
668 (todos-make-categories-list): Add optional argument to force
669 looping through file to get categories and their item counts,
670 otherwise set todos-categories from sexp in first line; use
671 vectors of item counts instead of plists; count diary items.
672 (todos-item-counts): Use todos-counts, todos-set-counts,
673 todos-get-counts, and todos-update-categories-sexp instead of
674 getting and setting properties; handle diary items.
675 (todos-read-category): Add argument to set prompt; don't offer
676 default category.
677 (todos-validate-category-name): Rename from
678 todos-check-category-name; take into account whether there are
679 already categories or not.
680 (todos-read-date): Accept `*' as an unspecified month, day, or year.
681 (todos-padded-string): Accommodate new structure of
682 todos-categories as alists; use todos-categories-align.
683 (todos-descending-counts-store): New variable.
684 (todos-insert-category-line): Rename from
685 todos-insert-category-name and reimplement using labels and
686 todos-get-counts instead of properties; use
687 todos-ignore-archived-categories; highlight sorted column.
688
689 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
690
691 * calendar/todos.el Remove lots of commented out code; add various
692 comments; further code rearrangement.
693 (todos-insert-item-here-ask-date-time)
694 (todos-insert-item-ask-date-time)
695 (todos-insert-item-ask-dayname-time)
696 (todos-insert-item-for-diary)
697 (todos-insert-item-for-diary-ask-date-time)
698 (todos-make-categories-alist, todos-categories-alist): Remove.
699 (todos-categories-list): Comment out.
700 (todos-make-categories-list): New function replacing
701 todos-make-categories-alist, using category plists to get item
702 counts and taking archive into account.
703 (todos-current-todos-file): New variable.
704 (todos-mode-map): Update key bindings.
705 (todos-save): Add as comment code to make sure todos-categories
706 sexp is current on saving.
707 (todos-quit): Call todos-show on quitting Todos archive buffer.
708 (todos-show): If todos-current-todos-file is not set to Todos
709 file, set it as a new file; set todos-categories from
710 todos-make-categories-alist.
711 (todos-display-categories): Use a different display format for
712 archive file; put point initially on the first button.
713 (todos-toggle-view-done-items): Check the category's `done'
714 property to determine if there are done items.
715 (todos-view-archive): Set todos-current-todos-file to the archive
716 file; jump from the Todos file to the same category in the
717 archive, if it exists, else jump to the first category; use
718 message instead of error.
719 (todos-add-category): Intern a special symbol for the new category
720 and set its property list to holds counts of the numbers of todo,
721 done and archived items in the category; assign the new category
722 the current highest category number.
723 (todos-rename-category): Don't use todos-categories-alist.
724 (todos-delete-category): Check the category's `todo' and `done'
725 properties to determine if it is empty; ensure that the end of the
726 last category is found; after deleting the category, empty its
727 plist and unintern its special symbol.
728 (todos-insert-item-here): Fix argument list of todos-insert-item.
729 (todos-delete-item, todos-raise-item, todos-lower-item):
730 Use message instead of error.
731 (todos-move-item): If the category to be moved to does not exist,
732 add it as a new category.
733 (todos-item-done, todos-reset-separator):
734 Use todos-category-select instead of todos-show.
735 (todos-archive-done-items): Make buffer writeable; conditionalize
736 search for end of category; save after adding to archive in case
737 the file is new, so it can be found.
738 (todos-category-select): Wrap search in if instead of or+and;
739 don't hide done items in an archive.
740 (todos-set-item-priority): Check the category's `todo'
741 property to determine if there are not done todo items.
742 (todos-jump-to-category-noninteractively): Just switch to buffer
743 visiting todos-current-todos-file, since this can be either a
744 Todos file or an archive.
745 (todos-item-counts): Use category's plist instead of an alist.
746 (todos-longest-category-name-length): Argument is now a list of
747 category names, not an alist, so just test each element, not each
748 element's the car.
749 (todos-padded-string): Use todos-categories instead of
750 todos-categories-alist.
751 (todos-insert-category-name): Use category plist to get item
752 counts; take archived items into account.
753
754 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
755
756 * calendar/todos.el: Numerous spelling and comment fixes, doc
757 string fixes to conform with checkdoc, further rearrangement of
758 definitions, etc.
759 (todos-previous-line, todos-previous-answer)
760 (todos-insert-item-ask-date, todos-change-date)
761 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
762 (todos-count-items-in-category, todos-count-all-items): Remove.
763 (todos-update-numbered-prefix, todos-item-start-overlays)
764 (todos-add-item-non-interactively): Comment out, also in uses.
765 (todos-done-separator): Change default value.
766 (todos-always-add-time-string): Rename from todos-add-time-string
767 and adjust uses.
768 (todos-read-category): Rename from todos-completing-read and
769 adjust callers; use todos-current-category.
770 (todos-make-categories-alist): Rename from function
771 todos-categories-alist.
772 (todos-categories-alist): New variable.
773 (todos-indent-to-here): New defcustom.
774 (todos-button): New face.
775 (todos-display-categories-alphabetically, todos-raise-category)
776 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
777 (todos-insert-item-here-ask-date-time)
778 (todos-insert-item-ask-date-time)
779 (todos-insert-item-ask-dayname-time): New commands.
780 (todos-edit-item-header): New command replacing todos-change-date.
781 (todos-category-number, todos-indent, todos-item-counts)
782 (todos-check-category-name, todos-read-date, todos-read-dayname)
783 (todos-read-time, todos-padded-string)
784 (todos-insert-category-name): New functions.
785 (todos-set-item-priority): New function replacing
786 todos-add-item-non-interactively.
787 (todos-mode-map): Remap newline to newline-and-indent.
788 (todos-edit-mode-map): Make sparse keymap; remap newline to
789 newline-and-indent.
790 (todos-categories-mode-map): New keymap.
791 (todos-mode, todos-edit-mode): Make indent-line-function local
792 variable and set to todos-indent.
793 (todos-categories-mode): New major mode.
794 (todos-display-categories): List categories initially in their
795 numerical order; add optional argument to switch to alphabetical
796 listing.
797 (todos-toggle-view-done-items): Simplify implementation.
798 (todos-toggle-display-date-time): Fix regexp search string.
799 (todos-backward-item, todos-forward-item): Use variable
800 todos-item-start.
801 (todos-add-category): Use todos-check-category-name and
802 todos-categories-alist.
803 (todos-rename-category): Use todos-current-category,
804 todos-check-category-name and todos-categories-alist.
805 (todos-delete-category): Use todos-check-category-name and
806 todos-categories-alist and take done items into account.
807 (todos-insert-item): Use separate arguments to handle insertion of
808 date/dayname and time strings, add new argument to mark item for
809 diary inclusion, use new todos-read-* functions,
810 todos-set-item-priority and todos-item-counts.
811 (todos-insert-item-here, todos-insert-item-for-diary)
812 (todos-insert-item-from-calendar): Adapt to new version of
813 todos-insert-item.
814 (todos-delete-item, todos-item-done): Use todos-item-counts.
815 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
816 char follows.
817 (todos-lower-item): Ensure only not-done items can be lowered.
818 (todos-move-item): Use todos-current-category, todos-read-category
819 and todos-item-counts.
820 (todos-archive-done-items): Use todos-current-category and
821 todos-item-counts; fix regexp search string.
822 (todos-item-undo): Use todos-current-category,
823 todos-set-item-priority, todos-insert-with-overlays and
824 todos-item-counts; restore if user quits before inserting undone
825 item.
826 (todos-date-pattern): Rewrite without using
827 todos-date-nodayname-pattern and todos-dayname-date-pattern.
828 (todos-date-string-match): Do not make todos-date-pattern an
829 unnumbered group.
830 (todos-time-string-match): Make todos-date-pattern a shy group.
831 (todos-wrap-and-indent): Use todos-indent-to-here.
832 (todos-reset-prefix): Revert to using todos-show instead of
833 todos-category-select.
834 (todos-prefix-overlays): Fix numbering of done items and updating
835 of prefix.
836 (todos-category-select): Use todos-current-category; fix display
837 of separator string; don't move point to top of category.
838 (todos-jump-to-category-noninteractively): Use todos-category-number.
839 (todos-insert-with-overlays): Use todos-item-start unconditionally.
840 (todos-item-start): New variable.
841 (todos-item-start): Use it to define this function.
842 (todos-item-end): Adjust if item is last unfinished one before
843 displayed done items.
844 (todos-remove-item): Use todos-item-start and todos-item-end
845 instead of todos-forward-item and todos-backward-item.
846 (todos-longest-category-name-length): Add argument for list of
847 categories.
848
849 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
850
851 * calendar/todos.el: Comment out calendar require, since diary-lib
852 requires calendar. Rearrange file to group definitions according
853 to their use (types of commands, internal functions, etc.)
854 (todos-file-done, todos-insert-threshold, todos-remove-separator)
855 (todos-date-string, todos-time-string, todos-check-overlay)
856 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
857 Comment out.
858 (todos-current-date, todos-item-end-overlays)
859 (todos-list-categories): Remove.
860 (todos-item-end): Remove (the variable, not the function).
861 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
862 callers.
863 (todos-done-separator, todos-done-string, todos-show-with-done)
864 (todos-files, todos-archive-file, todos-categories-buffer)
865 (todos-archived-categories-buffer, todos-wrap-lines)
866 (todos-line-wrapping-function): New defcustoms.
867 (todos-done, todos-done-sep): New faces.
868 (todos-done-face, todos-done-sep-face): Corresponding new variables.
869 (todos-search-string, todos-date-nodayname-pattern)
870 (todos-dayname-date-pattern, todos-date-pattern): New variables.
871 (todos-done-string-match, todos-category-string-match)
872 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
873 (todos-current-category, todos-count-items-in-category)
874 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
875 (todos-longest-category-name-length): New functions.
876 (todos-categories-list): New buffer-specific function replacing
877 todos-list-categories.
878 (todos-toggle-item-numbering, todos-toggle-view-done-items)
879 (todos-search, todos-view-archive, todos-diary-items)
880 (todos-toggle-display-date-time, todos-insert-item-no-time)
881 (todos-insert-item-ask-date, todos-insert-item-for-diary)
882 (todos-insert-item-from-calendar, todos-edit-quit)
883 (todos-change-date, todos-item-done, todos-archive-done-items)
884 (todos-item-undo): New commands.
885 (todos-archive-mode): New major mode.
886 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
887 (todos-category-beg): Change value.
888 (todos-number-prefix): Change default value.
889 (todos-edit-buffer): Change from defvar to defcustom.
890 (todos-font-lock-keywords): Use todos-done-string-match and
891 todos-category-string-match.
892 (todos-backward-item, todos-forward-item): Use todos-done-string
893 and todos-date-pattern.
894 (todos-display-categories): Reimplement using buttons from
895 button.el instead of widgets.
896 (todos-top-priorities): Use with-current-buffer; take done items
897 into account; ensure buffers gets fontified.
898 (todos-add-category): Ensure new category does not begin with
899 empty lines.
900 (todos-jump-to-category): Use todos-category-select instead of
901 todos-show.
902 (todos-rename-category): Prompt for new name in body instead of in
903 interactive spec.
904 (todos-insert-item): Don't insert in done items section of
905 category. Add two optional arguments to control insertion: (i) to
906 insert near point without prompting for priority; (ii) to use
907 defaults for date and time strings, to prompt for these, or to
908 choose date from the Calendar.
909 (todos-insert-item-here): Reimplement using todos-insert-item.
910 (todos-delete-item): Don't move point after deleting last item.
911 (todos-raise-item, todos-lower-item): Take done items into account.
912 (todos-move-item): Don't move done items; update item numbering;
913 restore if user quits before inserting moved item.
914 (todos-print): Prompt for confirmation to print.
915 (todos-reset-prefix): Search backward from end of file instead of
916 forward from top.
917 (todos-jump-to-category-noninteractively): Take Todos archive into
918 account.
919 (todos-category-select): Show or hide done items according to
920 todos-show-with-done; if shown, coordinate separator and prefix
921 overlays.
922 (todos-add-item-non-interactively): Replace binary insertion
923 algorithm with prompting for numerical priority.
924 (todos-insert-with-overlays): Remove use of variable todos-item-end.
925 (todos-item-start): Take done items into account; use
926 todos-date-pattern.
927 (todos-item-end): Reimplement using todos-forward-item.
928 (todos-remove-item): Reimplement using todos-forward-item and
929 todos-backward-item; redo overlay handling.
930 (todos-mode-map): Add some new key bindings and change numerous
931 existing bindings; use "i" as prefix key for item insertion
932 commands.
933 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
934 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
935 spec; set buffer-read-only to t and consequently let-bind this
936 variable in all Todos commands that change buffer content.
937 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
938 (todos-save): Don't save top priorities buffer.
939 (todos-show): Make a no-op if called interactively in narrowed
940 Todos mode, since, also to work around item prefix reduplication
941 bug with show-paren-mode enabled; use todos-categories-list.
942
943 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
944
945 * calendar/todos.el: Comment out time-stamp require; require
946 calendar and diary-lib.
947 (todos-prefix): Change default value and doc string to reflect new
948 meaning; add :initialize and :set functions.
949 (todos-time-string-format, todos-entry-prefix-function)
950 (todos-initials, todos-entry-timestamp-initials)
951 (todos-prefix-face, todos-category-sep, todos-category-end)
952 (todos-cp): Comment out.
953 (todos-prefix-string): Inherit from font-lock-comment-face.
954 (todos-item-header, todos-item-header-face): Remove.
955 (todos-date, todos-time): New faces.
956 (todos-date-face, todos-time-face): Corresponding new variables.
957 (todos-add-time-string, todos-include-in-diary)
958 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
959 New defcustoms.
960 (todos-item-end, todos-item-start-overlays)
961 (todos-item-end-overlays): New variables.
962 (todos-date-string-match, todos-time-string-match): New functions.
963 (todos-font-lock-keywords): Use them.
964 (todos-current-date, todos-date-string, todos-time-string)
965 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
966 (todos-reset-prefix, todos-update-numbered-prefix)
967 (todos-check-overlay, todos-item-overlays)
968 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
969 (todos-highlight-item): New command.
970 (todos-category-beg): Change value.
971 (todos-category-select): Use todos-category-beg and todos-item-overlays.
972 (todos-backward-item): Add optional count argument; use it and
973 todos-item-start.
974 (todos-forward-item): Use todos-check-overlay, todos-item-start
975 and variable todos-item-end.
976 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
977 todos-update-numbered-prefix, todos-item-overlays.
978 (todos-add-category, todos-rename-category)
979 (todos-list-categories): Use new category format.
980 (todos-delete-category): Allow deleting non-empty category;
981 use new category format.
982 (todos-add-item-non-interactively): Comment out unnecessary
983 save-excursion; use todos-insert-with-overlays.
984 (todos-insert-item): Comment out unnecessary save-excursion; use
985 new item format for date/time header and diary inclusion marking.
986 (todos-insert-item-here): Use new item format for date/time header
987 and diary inclusion marking; use todos-insert-with-overlays.
988 (todos-raise-item): Make a no-op if point is on an empty line; use
989 todos-insert-with-overlays.
990 (todos-lower-item): Use todos-insert-with-overlays.
991 (todos-top-priorities): Move call to todos-show inside
992 save-excursion; add save-current-buffer after save-restriction.
993 (todos-item-start): Use variable todos-item-end.
994 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
995 (todos-remove-item): Take item overlays into account.
996 (todos-mode): Change calculation of wrap-prefix; make
997 hl-line-range-function a local variable and set it to highlight
998 todo item.
999 (todos-show): Ensure point stays at top of category.
1000
1001 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1002
1003 * calendar/todos.el (todos-window-configuration): Comment out.
1004 (todos-display-categories): Comment out use of
1005 todos-window-configuration; use switch-to-buffer instead of
1006 pop-to-buffer.
1007 (todos-jump-to-category-noninteractively): Comment out use of
1008 todos-window-configuration.
1009 (todos-edit-item): Don't allow editing of date/time item header.
1010 (todos-insert-item, todos-insert-item-here): Insert date/time
1011 header in front of new item string.
1012 (todos-mode): Tweak wrap-prefix.
1013
1014 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1015
1016 * calendar/todos.el (todos-file-do, todos-file-done):
1017 Change default location to directory "~/.emacs.d/".
1018 (todos-completion-ignore-case, todos-categories-buffer):
1019 New defcustoms.
1020 (todos-prefix-string, todos-item-header): New faces.
1021 (todos-prefix-face, todos-item-header-face): Corresponding
1022 new variables.
1023 (todos-rename-category, todos-delete-category)
1024 (todos-display-categories, todos-move-item): New commands.
1025 (todos-mode-map): Add key bindings for new commands and for
1026 todos-add-category, which had no key binding.
1027 (todos-jump-to-category-noninteractively): New function.
1028 (todos-top-priorities): Comment out code using a previously
1029 deleted variable.
1030 (todos-completing-read): Allow SPC to insert a space when entering
1031 a new category name; use todos-completion-ignore-case.
1032 (todos-font-lock-keywords, todos-window-configuration):
1033 New variables.
1034 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1035 word-wrap, and wrap-prefix local variables.
1036
1037 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1038
1039 * calendar/todos.el (todos-list-categories): Fix typos.
1040 (todos-show): Ensure file is in todos-mode.
1041
1042 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1043
1044 * calendar/todos.el (todos-header): Remove defvar.
1045 (todos-add-category): Comment out code that inserts and updates
1046 the file local variables first line of the file todos-file-do.
1047 (todos-list-categories): New function.
1048 (todos-show): Use it; remove use of a previously deleted variable.
1049
1050 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1051
1052 * calendar/todos.el: New file. This is a copy of todo-mode.el
1053 from revision 94343 except for the following changes: replace all
1054 occurrences of the namespace prefix "todo-" with "todos-", delete
1055 the defvar todo-cats (the old name of todo-categories) and its use
1056 in todos-add-category, delete all defaliases of old command names.
1057
1058 2012-09-11 Bastien Guerry <bzg@gnu.org>
1059
1060 * subr.el (set-temporary-overlay-map): Add a docstring.
1061 (bug#12346)
1062
1063 2012-09-11 Bastien Guerry <bzg@gnu.org>
1064
1065 * minibuffer.el (completion-table-subvert): Fix docstring.
1066 (bug#12347)
1067
1068 2012-09-11 Bastien Guerry <bzg@gnu.org>
1069
1070 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1071
1072 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1073
1074 * progmodes/sql.el: Version 3.1
1075 (sql-db2-escape-newlines): New variable.
1076 (sql-escape-newlines-filter): Use it.
1077
1078 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1079
1080 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1081
1082 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1083
1084 * vc/diff-mode.el (diff-mode-menu): Bind
1085 diff-remove-trailing-whitespace.
1086
1087 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1090 (emacs-lisp-byte-code-comment)
1091 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1092 New functions.
1093 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1094 (eval-defun-2): Remove bogus interactive spec.
1095 (lisp-indent-line): Remove redundant whole-exp code, now done in
1096 indent-according-to-mode.
1097 (save-match-data): Remove redundant indent data.
1098
1099 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1100 Use `declare'.
1101
1102 2012-09-09 Juri Linkov <juri@jurta.org>
1103
1104 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1105 (replace-lax-whitespace, query-replace-regexp)
1106 (query-replace-regexp-eval, replace-regexp): Doc fix.
1107 (perform-replace, replace-highlight): Let-bind
1108 isearch-lax-whitespace to replace-lax-whitespace and
1109 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1110
1111 * isearch.el (isearch-query-replace): Let-bind
1112 replace-lax-whitespace to isearch-lax-whitespace and
1113 replace-regexp-lax-whitespace to
1114 isearch-regexp-lax-whitespace. (Bug#10885)
1115
1116 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1119
1120 2012-09-09 Alan Mackenzie <acm@muc.de>
1121
1122 * progmodes/cc-engine.el (c-state-cache-init):
1123 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1124 (c-record-parse-state-state):
1125 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1126
1127 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1128
1129 * register.el (register-separator): Rename from
1130 separator-register. All uses changed. Doc fix.
1131 (register): Fix version.
1132
1133 2012-09-09 Chong Yidong <cyd@gnu.org>
1134
1135 * replace.el (query-replace-map): Bind four new symbols for
1136 requesting window scrolling.
1137
1138 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1139 query-replace-map (Bug#8948).
1140
1141 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1142
1143 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1144 since they are now in query-replace-map.
1145
1146 * window.el (scroll-other-window-down): Make the arg optional.
1147
1148 2012-09-09 Chong Yidong <cyd@gnu.org>
1149
1150 * files.el (hack-local-variables-confirm): Use quit-window to kill
1151 the *Local Variables* buffer.
1152
1153 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1156 not just expect to be at its beginning. Adjust callees.
1157 Succeed when do-end block has no space before the pipe character.
1158 (ruby-brace-to-do-end): When the original block is one-liner,
1159 convert to multiline. Reindent the result.
1160
1161 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1162
1163 * register.el (register): New group.
1164 (register-separator): New user option.
1165 (increment-register): Route it to `append-to-register', if
1166 register contains text. Implication is that `C-x r +' can now be
1167 used for appending to a text register (bug#12217).
1168 (append-to-register, prepend-to-register): Add separator based on
1169 `register-separator.
1170
1171 2012-09-08 Alan Mackenzie <acm@muc.de>
1172
1173 AWK Mode: make auto-newline work when there's "==" in the pattern.
1174 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1175 correctly.
1176 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1177 Test more rigorously for "=" token.
1178
1179 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1182 Only fail when reached LIMIT.
1183
1184 2012-09-08 Chong Yidong <cyd@gnu.org>
1185
1186 * dired.el (dired-mode-map): Don't bind M-=.
1187
1188 * dired-aux.el (dired-diff): Use backup file as default.
1189
1190 2012-09-08 Drew Adams <drew.adams@oracle.com>
1191
1192 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1193
1194 2012-09-08 Chong Yidong <cyd@gnu.org>
1195
1196 * subr.el (syntax-after, syntax-class): Doc fix.
1197
1198 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1199
1200 * window.el (display-buffer-in-previous-window): New buffer
1201 display action function.
1202
1203 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1204 (debugger-previous-window): New variable.
1205 (debug): Rewrite using display-buffer-in-previous-window,
1206 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1207
1208 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1211
1212 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1213
1214 * progmodes/python.el (python-shell-send-string):
1215 When default-directory is remote, create temp file on remote
1216 filesystem.
1217 (python-shell-send-file): When file is remote, pass local view of
1218 file paths to remote Python interpreter. (Bug#12340)
1219
1220 2012-09-07 Chong Yidong <cyd@gnu.org>
1221
1222 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1223
1224 * files.el (after-find-file): Don't fail on a read-only buffer if
1225 require-final-newline is `visit' or `visit-save' (Bug#11156).
1226
1227 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1228
1229 * userlock.el (ask-user-about-supersession-threat):
1230 Use read-char-choice (Bug#12093).
1231
1232 2012-09-07 Chong Yidong <cyd@gnu.org>
1233
1234 * subr.el (buffer-narrowed-p): New function.
1235
1236 * ses.el (ses-widen):
1237 * simple.el (count-words--buffer-message):
1238 * net/browse-url.el (browse-url-of-buffer): Use it
1239
1240 * simple.el (count-words-region): Don't signal an error if there
1241 is a non-nil prefix arg and the mark is not set.
1242
1243 * help.el (describe-key-briefly): Allow the message to be seen
1244 when invoked from the minibuffer (Bug#7014).
1245
1246 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1247
1248 * progmodes/ruby-mode.el (ruby-end-of-defun)
1249 (ruby-beginning-of-defun): Simplify, allow indentation before
1250 block beginning and end keywords.
1251 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1252 (ruby-end-of-defun): Expect that the point is at the beginning of
1253 the defun.
1254
1255 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1258 (bug#12367).
1259 (cl--make-usage-args): Strip _ from argument names.
1260
1261 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1262
1263 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1264 obsolete alias speedbar-key-map.
1265 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1266 (vhdl-index-menu-init): Don't use obsolete variable
1267 font-lock-maximum-size.
1268
1269 2012-09-06 Chong Yidong <cyd@gnu.org>
1270
1271 * frame.el (window-system-version): Mark as obsolete.
1272
1273 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1274 of obsolete variable speedbar-key-map.
1275
1276 2012-09-06 Juri Linkov <juri@jurta.org>
1277
1278 * replace.el (replace-lax-whitespace): New defcustom.
1279 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1280 (replace-string, replace-regexp): Mention it in docstrings.
1281 (perform-replace, replace-highlight): Let-bind
1282 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1283 to the values of replace-lax-whitespace and regexp-flag.
1284 Don't let-bind search-whitespace-regexp. (Bug#10885)
1285
1286 * isearch.el (isearch-query-replace): Let-bind
1287 replace-lax-whitespace instead of let-binding
1288 replace-search-function and replace-re-search-function.
1289 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1290 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1291 (isearch-toggle-symbol): Set isearch-regexp to nil
1292 in isearch-word mode (like in isearch-toggle-word).
1293
1294 2012-09-06 Juri Linkov <juri@jurta.org>
1295
1296 * replace.el (replace-search-function)
1297 (replace-re-search-function): Set default values to nil.
1298 (perform-replace): Let-bind isearch-related variables based on
1299 replace-related values, call `isearch-search-fun' and let-bind
1300 the result to `search-function'. Remove code that sets
1301 `search-function' and `search-string' separately for
1302 `delimited-flag'.
1303 (replace-highlight): Add new argument `delimited-flag' and
1304 rename other arguments to the names used in `perform-replace'.
1305 Let-bind `isearch-word' to the argument `delimited-flag'.
1306 (Bug#10885, bug#10887)
1307
1308 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1309
1310 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1311 ruby-beginning-of-indent, simplify, allow all keywords to have
1312 indentation before them.
1313 (ruby-beginning-of-indent): Adjust for above. Search until the
1314 found point is not inside a string or comment.
1315 (ruby-font-lock-keywords): Allow symbols to start with "@"
1316 character, give them higher priority than variables.
1317 (ruby-syntax-propertize-function)
1318 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1319 matchers. Expression expansions are not comments when inside a
1320 string, and there comment syntax status is irrelevant.
1321 (ruby-match-expression-expansion): New function. Check that
1322 expression expansion is inside a string, and it's not escaped.
1323 (ruby-font-lock-keywords): Use it.
1324
1325 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1326
1327 * help.el (temp-buffer-max-height): New default value.
1328 (temp-buffer-resize-frames): New option.
1329 (resize-temp-buffer-window): Optionally resize frame.
1330
1331 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1332 (fit-frame-to-buffer): New function.
1333
1334 2012-09-05 Glenn Morris <rgm@gnu.org>
1335
1336 * emulation/cua-rect.el (cua--init-rectangles):
1337 * textmodes/picture.el (picture-mode-map):
1338 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1339 like forward-char and backward-char. (Bug#12317)
1340
1341 2012-09-05 Leo Liu <sdl.web@gmail.com>
1342
1343 * progmodes/flymake.el (flymake-warning-re): New variable.
1344 (flymake-parse-line): Use it.
1345
1346 2012-09-05 Glenn Morris <rgm@gnu.org>
1347
1348 * calendar/holidays.el (holiday-christian-holidays):
1349 Rename an entry. (Bug#12289)
1350
1351 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1354 (bug#12222).
1355
1356 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * loadup.el: Load macroexp. Remove hack.
1359 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1360 (macroexp--expand-all): Use it to get better warnings.
1361 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1362 (internal-macroexpand-for-load): New functions.
1363 (macroexp--pending-eager-loads): New var.
1364 (emacs-startup-hook): New hack to replace one in loadup.el.
1365 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1366 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1367 (cl-psetf): Simplify.
1368 (cl-defstruct): Add indent rule.
1369
1370 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1371
1372 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1373 over `user-mail-address' for the SMTP MAIL FROM envelope.
1374 (smtpmail-via-smtp): Ditto.
1375
1376 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1377
1378 * progmodes/ruby-mode.el: Clean up keybindings.
1379 (ruby-mode-map): Don't bind ruby-electric-brace,
1380 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1381 backward-kill-word, reindent-then-newline-and-indent.
1382 (ruby-mark-defun): Remove.
1383 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1384 (ruby-mode): Set local beginning-of-defun-function and
1385 end-of-defun-function values.
1386
1387 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1388
1389 * window.el (temp-buffer-window-setup-hook)
1390 (temp-buffer-window-show-hook): New hooks.
1391 (temp-buffer-window-setup, temp-buffer-window-show)
1392 (with-temp-buffer-window): New functions.
1393 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1394 (special-display-popup-frame): Make sure the window used shows BUFFER.
1395
1396 * help.el (temp-buffer-resize-mode): Fix doc-string.
1397 (resize-temp-buffer-window): New optional argument WINDOW.
1398
1399 * files.el (recover-file, save-buffers-kill-emacs):
1400 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1401
1402 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1403
1404 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1405 remote definition of `default-directory', ensure we can connect.
1406
1407 2012-09-02 Juri Linkov <juri@jurta.org>
1408
1409 Toggle whitespace matching mode with M-s SPC.
1410 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1411
1412 * isearch.el (search-whitespace-regexp): Doc fix.
1413 Remove cons cell customization.
1414 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1415 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1416 New variables.
1417 (isearch-forward, isearch-forward-regexp): Doc fix.
1418 (isearch-toggle-lax-whitespace): New command.
1419 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1420 (re-search-forward-lax-whitespace)
1421 (re-search-backward-lax-whitespace): New functions.
1422 (isearch-whitespace-regexp): Remove function.
1423 (isearch-query-replace): Let-bind replace-search-function and
1424 replace-re-search-function.
1425 (isearch-occur): Let-bind search-spaces-regexp according to the
1426 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1427 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1428 condition for C-q SPC.
1429 (isearch-search-fun-default): Use new functions mentioned above.
1430 (isearch-search-forward, isearch-search-backward): Remove functions.
1431 (isearch-search): Don't let-bind search-spaces-regexp.
1432 (isearch-lazy-highlight-space-regexp): Remove variable.
1433 (isearch-lazy-highlight-lax-whitespace)
1434 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1435 (isearch-lazy-highlight-new-loop): Use them.
1436 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1437
1438 2012-09-02 Chong Yidong <cyd@gnu.org>
1439
1440 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1441
1442 2012-09-02 Glenn Morris <rgm@gnu.org>
1443
1444 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1445
1446 2012-09-01 Glenn Morris <rgm@gnu.org>
1447
1448 * term.el: Tidy up menu definitions.
1449 (term-mode-map): Use easymenu for In/Out, Complete menus.
1450 (term-pager-break-map): Initialize in the defvar.
1451 (term-terminal-menu, term-signals-menu): Define with easymenu.
1452 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1453 (term-pager-menu): New, extracted from term-process-pager.
1454 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1455 (term-update-mode-line): Propertize line/char and page items.
1456 (term-process-pager): Move keymap initialization elsewhere.
1457
1458 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1459
1460 * window.el (switch-to-prev-buffer): Handle additional values of
1461 BURY-OR-KILL argument. Don't switch in minibuffer window.
1462 (switch-to-next-buffer): Don't switch in minibuffer window.
1463 (quit-restore-window): New function based on quit-window.
1464 Handle additional values of former KILL argument.
1465 (quit-window): Call quit-restore-window with appropriate
1466 interpretation of KILL argument.
1467 (display-buffer-below-selected): New buffer display action
1468 function.
1469
1470 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * minibuffer.el (completion-at-point-functions): Complete docstring
1473 (bug#12254).
1474
1475 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1476
1477 Better seed support for (random).
1478 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1479 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1480 * play/mpuz.el, play/tetris.el, play/zone.el:
1481 * calc/calc-comb.el (math-init-random-base):
1482 * play/blackbox.el (bb-init-board):
1483 * play/life.el (life):
1484 * server.el (server-use-tcp):
1485 * type-break.el (type-break):
1486 Remove unnecessary call to (random t).
1487 * net/sasl.el (sasl-unique-id-function):
1488 Change (random t) to (random), now that the latter is more random.
1489 * play/life.el (life-initialized): Remove no-longer-needed var.
1490
1491 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1492
1493 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1494 Consider frame's buffer predicate when choosing the buffer.
1495 (Bug#12081)
1496
1497 2012-08-30 Richard Stallman <rms@gnu.org>
1498
1499 * simple.el (special-mode-map): Delete binding for `z'.
1500
1501 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1502
1503 * progmodes/compile.el (compilation-always-kill): Doc fix.
1504
1505 2012-08-30 Chong Yidong <cyd@gnu.org>
1506
1507 * window.el (display-buffer-reuse-frames): Make the obsolescence
1508 message more informative.
1509
1510 2012-08-30 Glenn Morris <rgm@gnu.org>
1511
1512 * paren.el (show-paren-delay):
1513 Add a :set function. Doc fix. (Bug#12297)
1514
1515 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1516
1517 * progmodes/compile.el (compilation-always-kill): New var.
1518 (compilation-start): Use it.
1519
1520 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1523 * files.el (read-only-mode): Move to simple.el.
1524
1525 * files.el (read-only-mode): New minor mode.
1526 (toggle-read-only): Use it and mark obsolete.
1527 (find-file--read-only):
1528 * vc/vc.el (vc-next-action, vc-checkout):
1529 * vc/vc-cvs.el (vc-cvs-checkout):
1530 * obsolete/vc-mcvs.el (vc-mcvs-update):
1531 * ffap.el (ffap--toggle-read-only): Update callers.
1532
1533 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * eshell/esh-ext.el (eshell-external-command): Do not examine
1536 remote shell scripts.
1537 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1538
1539 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1540 "/usr/local/sbin".
1541
1542 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1545
1546 2012-08-28 Leo Liu <sdl.web@gmail.com>
1547
1548 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1549 completion-at-point. (Bug#12220)
1550
1551 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1552
1553 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1554
1555 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1558 be buffer-local; add delete-trailing-whitespace (bug#12259).
1559
1560 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1561
1562 * progmodes/hideif.el (hif-compress-define-list):
1563 Fix typo. (Bug#11951)
1564
1565 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1566
1567 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1568 buffer local setting.
1569
1570 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1571 rcirc-encode-coding-system.
1572
1573 2012-08-28 Leo Liu <sdl.web@gmail.com>
1574
1575 * net/rcirc.el (rcirc-split-message): New function.
1576 (rcirc-send-message): Use it. (Bug#12051)
1577
1578 2012-08-28 Juri Linkov <juri@jurta.org>
1579
1580 * info.el (Info-fontify-node): Hide empty lines at the end of
1581 the node. (Bug#12272)
1582
1583 2012-08-27 Drew Adams <drew.adams@oracle.com>
1584
1585 * dired.el (dired-pop-to-buffer): Make window start at beginning
1586 of buffer (Bug#12281).
1587
1588 2012-08-26 Chong Yidong <cyd@gnu.org>
1589
1590 * window.el (special-display-regexps, special-display-frame-alist)
1591 (special-display-buffer-names, special-display-function)
1592 (display-buffer-reuse-frames): Mark as obsolete.
1593
1594 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1595
1596 * help.el (help-print-return-message): Don't treat
1597 display-buffer-reuse-frames specially.
1598
1599 2012-08-26 Chong Yidong <cyd@gnu.org>
1600
1601 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1602 New variable, replacing gdb-frame-parameters.
1603 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1604 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1605 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1606 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1607 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1608 the functions directly with gdb-display-buffer-other-frame-action.
1609 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1610 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1611 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1612 (gdb-display-registers-buffer): Define directly.
1613 (def-gdb-display-buffer): Macro deleted.
1614 (gdb-display-buffer): Remove second and third args, callers don't
1615 use them. Defer to the default display-buffer behavior, apart
1616 from making windows dedicated.
1617 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1618
1619 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1620
1621 * window.el (display-buffer-pop-up-frame): Handle a
1622 pop-up-frame-parameters alist entry.
1623 (display-buffer): Document it.
1624
1625 2012-08-26 Chong Yidong <cyd@gnu.org>
1626
1627 * isearch.el (search-whitespace-regexp): Make string and nil
1628 values apply to both ordinary and regexp search. Allow a cons
1629 cell value to distinguish between the two.
1630 (isearch-whitespace-regexp, isearch-search-forward)
1631 (isearch-search-backward): New functions.
1632 (isearch-occur, isearch-search-fun-default, isearch-search)
1633 (isearch-lazy-highlight-new-loop): Use them.
1634 (isearch-forward, isearch-forward-regexp): Doc fix.
1635
1636 2012-08-26 Chong Yidong <cyd@gnu.org>
1637
1638 * faces.el (help-argument-name): Always inherit from italic
1639 (Bug#12213).
1640
1641 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1642
1643 * window.el (window--even-window-heights): Even heights when
1644 WINDOW and the selected window form a vertical combination.
1645 (display-buffer-use-some-window): Provide that window used gets
1646 sized back by quit-window. (Bug#11880) and (Bug#12091)
1647
1648 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1649
1650 Fix file time stamp problem with bzr and CVS (Bug#12001).
1651 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1652 in the file's time stamp, since the version control system loses
1653 that information.
1654
1655 2012-08-22 Juri Linkov <juri@jurta.org>
1656
1657 * info.el (Info-fontify-node): Hide the suffix of the
1658 Info file name in the header line. (Bug#12187)
1659
1660 2012-08-22 Glenn Morris <rgm@gnu.org>
1661
1662 * calendar/cal-tex.el (cal-tex-weekly-common):
1663 Restore leading blank page.
1664
1665 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1666
1667 * misc.el (forward-to-word, backward-to-word): Activate or extend
1668 the region under `shift-select-mode'. (Bug#12231)
1669
1670 2012-08-22 Bastien Guerry <bzg@gnu.org>
1671
1672 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1673 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1674 gives details on why the space is never needed.
1675
1676 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1677
1678 * window.el (walk-window-tree, window-with-parameter):
1679 New optional argument MINIBUF to control whether these functions
1680 should run on the minibuffer window.
1681 (window-at-side-list): Don't operate on minibuffer window.
1682 (window-in-direction): Simplify and rewrite doc-string.
1683 (window--size-ignore): Rename to window--size-ignore-p.
1684 Update callers.
1685 (display-buffer-in-atom-window, window--major-non-side-window)
1686 (window--major-side-window, display-buffer-in-major-side-window)
1687 (delete-side-window, display-buffer-in-side-window):
1688 New functions.
1689 (window--side-check, window-deletable-p, delete-window)
1690 (delete-other-windows, split-window): Handle side windows and
1691 atomic windows appropriately.
1692 (window--display-buffer): Call display-buffer-record-window also
1693 when the window buffer did not change.
1694
1695 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1696
1697 * help-fns.el (help-fns--key-bindings):
1698 Abbreviate non-symbol remap targets. (Bug#12174)
1699
1700 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1701
1702 * dired.el (dired-mark-remembered): Don't clobber point.
1703 (Bug#11795)
1704
1705 2012-08-22 Glenn Morris <rgm@gnu.org>
1706
1707 * progmodes/bug-reference.el (bug-reference): New custom group.
1708 (bug-reference-bug-regexp): Make it a defcustom.
1709
1710 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1711
1712 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1713 (js-paren-indent-offset, js-square-indent-offset)
1714 (js-curly-indent-offset): Add :safe (Bug#12257).
1715
1716 2012-08-22 Edward O'Connor <hober0@gmail.com>
1717
1718 * json.el (json-key-format): Add error properties.
1719 (json-encode-key): New function.
1720 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1721 Use json-encode-key.
1722
1723 2012-08-22 Glenn Morris <rgm@gnu.org>
1724
1725 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1726 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1727 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1728 Update for above change.
1729
1730 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1731
1732 * cus-face.el (custom-face-attributes): Fix customize type for the
1733 :underline attribute. (Bug#11805)
1734
1735 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1736
1737 * window.el (window-point-1, set-window-point-1): Remove.
1738 (window-in-direction, record-window-buffer)
1739 (set-window-buffer-start-and-point, split-window-below)
1740 (window--state-get-1, display-buffer-record-window):
1741 Replace calls to window-point-1 and set-window-point-1 by calls to
1742 window-point and set-window-point respectively.
1743
1744 2012-08-21 Glenn Morris <rgm@gnu.org>
1745
1746 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1747 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1748 Use it.
1749
1750 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1751 (cal-tex-shortday): New function.
1752 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1753 (cal-tex-cursor-filofax-daily): Use the above.
1754
1755 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1756 New functions.
1757 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1758 (cal-tex-cursor-filofax-week): Use them.
1759
1760 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1761 New constants.
1762 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1763 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1764
1765 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1766 (cal-tex-end-document): Don't rely on buffer name.
1767
1768 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1769 Use cal-tex-vspace.
1770 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1771 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1772 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1773 Use cal-tex-arg.
1774
1775 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1776 (cal-tex-cursor-week, cal-tex-cursor-week2)
1777 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1778 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1779 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1780 (cal-tex-insert-preamble, cal-tex-b-document)
1781 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1782 Improve cal-tex-cmd usage.
1783
1784 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1785 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1786 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1787 (cal-tex-weekly-paper): New function.
1788 (cal-tex-cursor-week, cal-tex-cursor-week2)
1789 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1790 (cal-tex-cursor-day): Use it.
1791
1792 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1793 (cal-tex-cursor-filofax-week): Remove leading blank page.
1794
1795 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1796 Add autoload cookie. For now at least, don't use color, since
1797 no other cal-tex function does.
1798
1799 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1800 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1801 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1802
1803 2012-08-21 Juri Linkov <juri@jurta.org>
1804
1805 * info.el (Info-file-attributes): New variable.
1806 (info-insert-file-contents): Add file attributes to
1807 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1808 `Info-toc-nodes' when previous modtime of the Info file is less
1809 than new modtime.
1810 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1811 of info.el. (Bug#12230)
1812
1813 2012-08-20 Glenn Morris <rgm@gnu.org>
1814
1815 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1816 * calendar/holidays.el (calendar-holiday-list):
1817 Report errors with display-warning rather than beep'n'sleep.
1818
1819 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1820
1821 * net/tramp.el (tramp-accept-process-output): Accept only output
1822 from PROC. Otherwise, process filters and sentinels might be
1823 confused. (Bug#12145)
1824
1825 2012-08-20 Chong Yidong <cyd@gnu.org>
1826
1827 * descr-text.el (describe-text-properties-1): Use overlays-in to
1828 report on empty overlays (Bug#3322).
1829
1830 2012-08-20 Glenn Morris <rgm@gnu.org>
1831
1832 * mail/rmailout.el (rmail-output-read-file-name):
1833 Trap and report errors in rmail-output-file-alist elements.
1834
1835 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1836 since most non-font-lock faces are not also variables).
1837
1838 2012-08-20 Edward Reingold <reingold@iit.edu>
1839
1840 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1841 New function. (Bug12160)
1842
1843 2012-08-19 Glenn Morris <rgm@gnu.org>
1844
1845 * mail/rmailout.el (rmail-output-read-file-name):
1846 Fix previous change (when the alist is nil or does not match).
1847
1848 2012-08-19 Chong Yidong <cyd@gnu.org>
1849
1850 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1851 (Bug#12228).
1852
1853 2012-08-18 Chong Yidong <cyd@gnu.org>
1854
1855 * simple.el (yank-handled-properties): New defcustom.
1856 (yank-excluded-properties): Add font-lock-face and category.
1857 (yank): Doc fix.
1858
1859 * subr.el (remove-yank-excluded-properties):
1860 Obey yank-handled-properties. The special handling of font-lock-face
1861 and category is now done this way, instead of being hard-coded.
1862 (insert-for-yank-1): Remove font-lock-face handling.
1863 (yank-handle-font-lock-face-property)
1864 (yank-handle-category-property): New function.
1865
1866 2012-08-17 Glenn Morris <rgm@gnu.org>
1867
1868 * mail/rmailout.el (rmail-output-read-file-name):
1869 Check rmail-output-file-alist against the full message body
1870 in the correct rmail buffer. (Bug#12214)
1871
1872 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1873
1874 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1875 Eliminate superfluous prompt. (Bug#12203)
1876
1877 2012-08-17 Chong Yidong <cyd@gnu.org>
1878
1879 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1880 font spec, set the font directly (Bug#3228).
1881
1882 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1883
1884 * window.el (delete-window): Fix last fix.
1885
1886 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1887
1888 * window.el (window-valid-p): Move to window.c.
1889 (window-child, window-child-count, window-last-child)
1890 (window-normalize-window, window-combined-p)
1891 (window-combinations, window-atom-root, window-min-size)
1892 (window-sizable, window-sizable-p, window-size-fixed-p)
1893 (window-min-delta, window-max-delta, window--resizable)
1894 (window--resizable-p, window-resizable, window-total-size)
1895 (window-full-height-p, window-full-width-p, window-body-size)
1896 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1897 (minimize-window, window-deletable-p, delete-window)
1898 (delete-other-windows, set-window-buffer-start-and-point)
1899 (next-buffer, previous-buffer, split-window, balance-windows-2)
1900 (set-window-text-height, window-buffer-height)
1901 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1902 (truncated-partial-width-window-p): Minor code adjustments.
1903 In doc-strings state whether the argument window has to denote a
1904 live, valid or any window.
1905
1906 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1907
1908 * progmodes/subword.el (subword-forward-function)
1909 (subword-backward-function, subword-forward-regexp)
1910 (subword-backward-regexp): New variables.
1911 (subword-forward, subword-forward-internal, subword-backward-internal):
1912 Use new variables, eg so that different "word" definitions
1913 can be easily used. (Bug#11411)
1914
1915 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1918 for composite selectors.
1919 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1920 operation just because we can't find a previous revision.
1921
1922 2012-08-15 Chong Yidong <cyd@gnu.org>
1923
1924 * frame.el (set-frame-font): Accept font objects.
1925
1926 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1929
1930 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1931
1932 * man.el (Man-overstrike-face, Man-underline-face)
1933 (Man-reverse-face): Remove variables.
1934 (Man-overstrike, Man-underline, Man-reverse): New faces.
1935 (Man-fontify-manpage): Use them instead of the variables.
1936 (Man-cleanup-manpage): Comment change.
1937 (Man-ansi-color-map): New variable.
1938 (Man-fontify-manpage): Use it.
1939 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1940
1941 Implement ANSI SGR parameters 22-27 (bug#12146).
1942 * ansi-color.el (ansi-colors): Doc fix.
1943 (ansi-color-context, ansi-color-context-region): Doc fix.
1944 (ansi-color--find-face): New function.
1945 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1946 Rename the local variable `face' to `codes' since it is now a list of
1947 ansi codes. Doc fix.
1948 (ansi-color-get-face): Remove.
1949 (ansi-color-parse-sequence): New function, derived from
1950 ansi-color-get-face.
1951 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1952 codes 22-27.
1953
1954 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * subr.el (read-passwd): Allow use from a minibuffer.
1957
1958 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1959
1960 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1961 inside comments and strings as identifiers.
1962
1963 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1964 expression to evaluate. This allows to evaluate expressions with
1965 embedded whitespace.
1966 (gud-tooltip-tips): Add a blank before the newline in the
1967 message-box text, for the benefit of message-box emulation on
1968 MS-Windows.
1969
1970 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1971 messages from GDB, pop them up in a tooltip to give feedback to
1972 user.
1973 (gdb-tooltip-print-1): Quote the expression to evaluate.
1974 This allows to evaluate expressions with embedded whitespace.
1975 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1976 if the TTY name is nil or empty (which happens when communicating
1977 with the inferior via pipes, e.g. on MS-Windows).
1978 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1979 don't send that to the GUD buffer.
1980
1981 2012-08-14 Glenn Morris <rgm@gnu.org>
1982
1983 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1984 Optimize away setq-default with no args, as for setq. (Bug#12195)
1985
1986 2012-08-14 Chong Yidong <cyd@gnu.org>
1987
1988 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1989
1990 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1991 (Bug#12085).
1992
1993 2012-08-14 Glenn Morris <rgm@gnu.org>
1994
1995 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1996
1997 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1998
1999 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2000 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2001 Use cached shell name.
2002
2003 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2004
2005 * progmodes/python.el (python-shell-send-string):
2006 (python-shell-send-setup-code): Do not use `format' with `message'.
2007
2008 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2011 (ruby-percent-literal-beg-re): New constant.
2012 (ruby-syntax-general-delimiters-goto-beg): Rename to
2013 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2014 (ruby-syntax-propertize-general-delimiters): Rename to
2015 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2016 popular term. Adjust comments everywhere.
2017 (ruby-syntax-propertize-percent-literal): Only propertize when not
2018 inside a simple string or comment. When the literal is unclosed,
2019 leave the text after it unpropertized.
2020 (ruby-syntax-methods-before-regexp): New constant.
2021 (ruby-syntax-propertize-function): Use it to recognize regexps.
2022 Don't look at the text after regexp, just use the whitelist.
2023
2024 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2025
2026 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2027 non-nil always load the compiled file if it exists. (Bug#12197)
2028
2029 2012-08-14 Chong Yidong <cyd@gnu.org>
2030
2031 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2032 (hi-lock-set-pattern): When deciding whether to use font lock or
2033 overlays, look at font-lock-mode instead of font-lock-fontified
2034 (Bug#12168).
2035 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2036 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2037
2038 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2039
2040 * subr.el (internal--after-with-selected-window): Fix typo
2041 (Bug#12193).
2042
2043 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2044
2045 Use `completion-table-dynamic' for completion functions.
2046 * progmodes/python.el
2047 (python-shell-completion--do-completion-at-point)
2048 (python-shell-completion--get-completions):
2049 Remove functions.
2050 (python-shell-completion-complete-at-point): New function.
2051 (python-completion-complete-at-point): Use it.
2052
2053 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2054
2055 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2056 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2057
2058 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * subr.el (function-get): Refine `autoload' arg so it can also
2061 autoload functions for gv.el (bug#12191).
2062 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2063 autoloads macros.
2064
2065 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2066 Prefer pcase-let over destructuring-bind.
2067 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2068 Also, remove whitespace as we go, rather than after accumulating the
2069 various places.
2070
2071 * subr.el (internal--before-with-selected-window)
2072 (internal--after-with-selected-window): Fix typo seleted->selected.
2073 (with-selected-window): Adjust callers.
2074 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2075
2076 2012-08-13 Bastien Guerry <bzg@gnu.org>
2077
2078 * window.el (special-display-popup-frame): Minor docstring
2079 enhancement. (Bug#12172)
2080
2081 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2082
2083 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2084 type 1-6.
2085 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2086 extended headers.
2087
2088 * files.el (hack-local-variables-filter): Remove useless eval.
2089
2090 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2091
2092 * subr.el (with-selected-window): Fix last change.
2093
2094 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * subr.el (internal--before-with-seleted-window)
2097 (internal--after-with-seleted-window): New functions.
2098 (with-selected-window): Use them, to replace dependency on
2099 tty-top-frame.
2100
2101 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2102
2103 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2104 binding for `newline'.
2105 (ruby-move-to-block): When moving backward, stop at block opening,
2106 not indentation.
2107 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2108 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2109 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2110 `ruby-toggle-block'.
2111
2112 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2113
2114 * ibuffer.el (ibuffer-do-toggle-read-only):
2115 * dired.el (dired-toggle-read-only):
2116 * buff-menu.el (Buffer-menu-toggle-read-only):
2117 * bindings.el (mode-line-toggle-read-only):
2118 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2119
2120 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2121
2122 * descr-text.el (describe-char): Put the overlays over the
2123 "displayed as" character.
2124
2125 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2126
2127 * calc/calc-units.el (math-default-units-table): Give an
2128 initial value.
2129 (math-put-default-units): Add options to put composite units and
2130 unit systems in the default units table.
2131 (calc-convert-units): Send composite units to
2132 `math-put-default-units' when appropriate.
2133
2134 2012-08-11 Glenn Morris <rgm@gnu.org>
2135
2136 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2137
2138 * tutorial.el (help-with-tutorial):
2139 * emacs-lisp/copyright.el (copyright-update-directory):
2140 * emacs-lisp/autoload.el (autoload-find-generated-file)
2141 (autoload-find-file): Disable local eval: (for insurance).
2142
2143 * files.el (hack-local-variables-filter): If an eval: form is not
2144 known to be safe, and enable-local-variables is :safe, then ignore
2145 the form totally, as is done for non-eval forms. (Bug#12155)
2146 This is CVE-2012-3479.
2147
2148 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2151 (rx-form): Simplify.
2152
2153 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2156 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2157 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2158 (ruby-syntax-propertize-function): Adjust for changes in
2159 `ruby-syntax-propertize-heredoc'.
2160
2161 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2162
2163 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2164 binding (use `M-;' instead).
2165 (ruby-singleton-class-p): New function.
2166 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2167
2168 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2169
2170 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2171
2172 2012-08-10 Chong Yidong <cyd@gnu.org>
2173
2174 * progmodes/python.el (python-shell-get-process-name): Don't mess
2175 with same-window-buffer-names.
2176
2177 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2178 (eshell-remove-from-window-buffer-names): Make obsolete.
2179 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2180 (eshell): Just use pop-to-buffer-same-window instead.
2181
2182 2012-08-10 Chong Yidong <cyd@gnu.org>
2183
2184 * bindings.el: Bind M-= back to count-words-region.
2185
2186 * simple.el (count-words-region): Accept a prefix arg for acting
2187 on the entire buffer.
2188 (count-words--buffer-message): New helper function.
2189
2190 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2193 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2194 (event-start, event-end): Use posn-at-point to return a more
2195 informative posn.
2196 (posnp): New function.
2197 * mouse.el (popup-menu-normalize-position): Use it.
2198
2199 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2200
2201 * mouse.el (popup-menu-normalize-position): New function.
2202 (popup-menu): Use `popup-menu-normalize-position' to normalize
2203 the form for POSITION argument.
2204
2205 * term/x-win.el (x-menu-bar-open):
2206 Use the value returend from (posn-at-point) as position
2207 passed to `popup-menu'.
2208
2209 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2210
2211 * calc/calccomp.el (math-compose-expr): Add extra argument
2212 indicating that parentheses should be put around products in
2213 denominators. Give multiplication precedence over division during
2214 composition.
2215
2216 2012-08-09 Chong Yidong <cyd@gnu.org>
2217
2218 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2219 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2220 (Man-untabify-command, manual-program): Convert to defcustom
2221 (Bug#10429).
2222
2223 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2224
2225 * descr-text.el (describe-char): Don't insert extra newlines
2226 (Bug#10127).
2227
2228 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2229 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2230
2231 * align.el (align-region): Delete temporary markers (Bug#10047).
2232 Plus some code cleanups.
2233
2234 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2235
2236 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2237 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2238 (python-shell-internal-last-output): Use make-local-variable
2239 instead of make-variable-buffer-local.
2240
2241 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2242
2243 * progmodes/python.el: Enhancements to forward-sexp.
2244 (python-nav-forward-sexp): Rename from
2245 python-nav-forward-sexp-function.
2246 (python-nav--forward-sexp, python-nav--backward-sexp):
2247 New functions.
2248
2249 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2250
2251 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2252 modes and simplification modes.
2253
2254 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * delsel.el (delete-selection-pre-hook): Don't propagate the
2257 file-supersession signals (bug#12161).
2258
2259 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2262 (cl-map-extents): Add compatibility aliases (bug#12135).
2263
2264 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2267 tests by `ignore-error'.
2268 (tramp-find-shell): Open also a new shell, when cache is already
2269 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2270
2271 2012-08-08 Juri Linkov <juri@jurta.org>
2272
2273 * bookmark.el: Add `defaults' property to the bookmark record.
2274 (bookmark-current-buffer): Doc fix.
2275 (bookmark-make-record): Add `defaults' property with default values
2276 to the bookmark record.
2277 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2278 with `bookmark-insert-current-bookmark'.
2279 (bookmark-set): Get `defaults' property from the bookmark record
2280 and use it in `read-from-minibuffer'.
2281 (bookmark-insert-current-bookmark): Remove function.
2282
2283 * info.el (Info-bookmark-make-record): Add `defaults' property
2284 with values of canonical Info node name, the current Info file
2285 name and the current Info node name. (Bug#12107)
2286
2287 2012-08-08 Juri Linkov <juri@jurta.org>
2288
2289 * files.el (basic-save-buffer): Use `buffer-name' as the default
2290 of `read-file-name' when buffer is not visiting a file (bug#12128).
2291
2292 2012-08-08 Juri Linkov <juri@jurta.org>
2293
2294 * info.el (Info-isearch-search): Doc fix.
2295 (Info-search): Change search-failed message from "initial node" to
2296 "end of node" (bug#12078).
2297 (Info-isearch-search): Change `isearch-string-state' to
2298 `isearch--state-string'.
2299
2300 2012-08-08 Glenn Morris <rgm@gnu.org>
2301
2302 * language/persian.el: Remove file.
2303 * language/misc-lang.el: Move unique part of persian.el here.
2304 * loadup.el: Remove language/persian.
2305
2306 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2307
2308 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2309
2310 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2311
2312 * progmodes/python.el Fixed defsubst warning.
2313 (python-syntax-context) Rename from python-info-ppss-context.
2314 (python-syntax-context-type): Rename from
2315 python-info-ppss-context-type.
2316 (python-syntax-comment-or-string-p): Rename from
2317 python-info-ppss-comment-or-string-p.
2318
2319 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2320
2321 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2322
2323 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2324
2325 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2326 a defcustom that is quoted with backquote.
2327
2328 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2329 Fix handling of interactive spec when the body uses return.
2330 (math-do-arg-check, math-define-function-body): Use backquote forms.
2331 * calc/calc-ext.el (math-defcache): Likewise.
2332 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2333 * allout.el (allout-new-exposure): Likewise.
2334 * calc/calcalg2.el (math-tracing-integral): Likewise.
2335 * info.el (Info-last-menu-item): Likewise.
2336 * emulation/vip.el (vip-loop): Likewise.
2337 * textmodes/artist.el (artist-funcall): Likewise.
2338 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2339 Construct menu-item directly.
2340
2341 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2342 Don't declare.
2343
2344 2012-08-07 Chong Yidong <cyd@gnu.org>
2345
2346 * simple.el (deactivate-mark): Preserve text properties when
2347 saving the primary selection (Bug#8384).
2348
2349 2012-08-07 Kevin Ryde <user42@zip.com.au>
2350
2351 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2352 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2353 and continue processing (Bug#12110).
2354
2355 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2358 syntax-propertize-function (bug#10095).
2359
2360 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2363 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2364 describe-function-1.
2365 (describe-function-1): Use them. Move compiler macro after sig.
2366 (help-fns--compiler-macro): Use function-get. Assume we're already in
2367 standard-output. Adjust layout to new call order.
2368
2369 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2370 re-binding a symbol that has a symbol-macro (bug#12119).
2371
2372 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2373
2374 * language/persian.el: New file. (Bug#11812)
2375 * loadup.el: Add language/persian.el.
2376
2377 2012-08-06 Chong Yidong <cyd@gnu.org>
2378
2379 * window.el (window--maybe-raise-frame): New function.
2380 (window--display-buffer): Split off from here.
2381 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2382 (display-buffer-pop-up-window, display-buffer-use-some-window):
2383 Obey an inhibit-switch-frame action alist entry.
2384 (display-buffer): Update doc.
2385
2386 * replace.el (occur-after-change-function): Avoid losing focus by
2387 using the inhibit-switch-frame display parameter (Bug#12139).
2388
2389 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2390
2391 Make internal shell process buffer names start with space.
2392 * progmodes/python.el (python-shell-make-comint): Add optional
2393 argument INTERNAL.
2394 (run-python-internal): Use it.
2395 (python-shell-internal-get-or-create-process): Check for new
2396 internal buffer names.
2397
2398 2012-08-06 Glenn Morris <rgm@gnu.org>
2399
2400 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2401 Do less getting and setting of environment variables.
2402
2403 2012-08-05 Chong Yidong <cyd@gnu.org>
2404
2405 * proced.el (proced): Add substitution string to docstring to
2406 trigger autoloading of the proced library on C-h f (Bug#1768).
2407
2408 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2409 Don't show defvars which have no second argument (Bug#8638).
2410
2411 * imenu.el (imenu-generic-expression): Move documentation here
2412 from imenu--generic-function.
2413 (imenu--generic-function): Refer to imenu-generic-expression.
2414
2415 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2416
2417 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2418 indentation declaration.
2419 (viper-loop): Add indentation declaration (Bug#7025).
2420
2421 2012-08-05 Chong Yidong <cyd@gnu.org>
2422
2423 * help-fns.el (describe-variable): Add hyperlink for
2424 directory-local variables files. Improve buffer-local and
2425 permanent-local reporting; suggested by MON KEY (Bug#6644).
2426
2427 * help-mode.el (help-dir-local-var-def): New button type.
2428
2429 * files.el (kill-buffer-hook): Provide a defvar.
2430
2431 2012-08-05 Glenn Morris <rgm@gnu.org>
2432
2433 * eshell/esh-ext.el (eshell/addpath):
2434 Also update eshell-path-env. (Bug#12013)
2435
2436 2012-08-05 Chong Yidong <cyd@gnu.org>
2437
2438 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2439
2440 * fringe.el (fringe-styles): Add docstring.
2441 (fringe--check-mode): New function.
2442 (set-fringe-mode, set-fringe-style): Use it.
2443 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2444
2445 * files.el (set-auto-mode): Fix invalid setq call.
2446
2447 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * isearch.el: Misc simplification; use defstruct.
2450 (isearch-mode-map): Dense maps now work like sparse ones.
2451 (isearch--state): New defstruct.
2452 (isearch-string-state, isearch-message-state, isearch-point-state)
2453 (isearch-success-state, isearch-forward-state)
2454 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2455 (isearch-wrapped-state, isearch-barrier-state)
2456 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2457 replaced by defstruct's accessors.
2458 (isearch--set-state): Rename from isearch-top-state and change
2459 calling convention.
2460 (isearch-push-state): Use new isearch--get-state.
2461 (isearch-toggle-word): Disable regexp when enabling word.
2462 (isearch-message-prefix): Remove unused arg _c-q-hack.
2463 (isearch-message-suffix): Remove unused arg _ellipsis.
2464
2465 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2466
2467 * simple.el (list-processes--refresh): For a server use :host or
2468 :local as the address.
2469 (list-processes): Doc fix.
2470
2471 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2472
2473 * lisp/mpc.el: Support password in host argument.
2474 (mpc--proc-connect): Parse and use new password element.
2475 Set mpc-proc variable instead of returning process.
2476 (mpc-proc): Adjust accordingly.
2477
2478 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2479
2480 * whitespace.el (whitespace-display-mappings): Use Unicode
2481 codepoints, instead of emacs-mule codepoints. See
2482 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2483 for the details.
2484
2485 * files.el (file-truename): Don't skip symlink-chasing part on
2486 windows-nt. Incorporate the resolution of 8+3 short aliases on
2487 Windows into the loop that recursively chases symlinks.
2488 Compare directory and its parent case-insensitively on MS-Windows and
2489 MS-DOS.
2490
2491 2012-08-03 Chong Yidong <cyd@gnu.org>
2492
2493 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2494
2495 * sort.el (sort-regexp-fields): Doc fix.
2496
2497 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2498
2499 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2500 labels regex position point at the expected place.
2501
2502 2012-08-03 MON KEY <monkey@sandpframing.com>
2503
2504 * net/imap.el (imap-interactive-login, imap-authenticate)
2505 (imap-mailbox-lsub, imap-mailbox-list)
2506 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2507 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2508 (imap-parse-response): Doc fix.
2509
2510 2012-08-03 João Távora <joaotavora@gmail.com>
2511
2512 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2513 if sexp scanning does not move point (Bug#5734).
2514
2515 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2516
2517 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2518 Add listings, minted, and ctable packages.
2519 (reftex-label-alist-builtin): Move listings, minted, and ctable
2520 entries before LaTeX.
2521 (reftex-label-alist): Docfix.
2522
2523 2012-08-02 Bastien Guerry <bzg@gnu.org>
2524
2525 * replace.el (occur): Fix docstring (bug#12122).
2526
2527 2012-08-02 Glenn Morris <rgm@gnu.org>
2528
2529 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2530
2531 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2532
2533 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2534 * international/mule-cmds.el: Create
2535 inactivate-current-input-method-function as an obsolete alias for
2536 deactivate-current-input-method-function. See Katsumi Yamaoka in
2537 <http://bugs.gnu.org/10150#46>.
2538
2539 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2540
2541 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2542 of nested `if's.
2543
2544 2012-08-01 Glenn Morris <rgm@gnu.org>
2545
2546 * progmodes/autoconf.el (autoconf-definition-regexp):
2547 Add AH_TEMPLATE, adjust submatch numbering.
2548 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2549 (autoconf-current-defun-function): Update for above change.
2550 (autoconf-current-defun-function): First skip to end of current word.
2551
2552 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2553
2554 * calendar/cal-html.el (cal-html-insert-agenda-days):
2555 Fix typo. (Bug#12018)
2556
2557 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2558
2559 Shell processes: enhancements to startup and CEDET compatibility.
2560 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2561 (python-shell-make-comint): accept-process-output at startup.
2562 (run-python-internal): Set inferior-python-mode-hook to nil.
2563 (python-shell-internal-get-or-create-process): call sit-for.
2564 (python-preoutput-result): Add obsolete alias.
2565 (python-shell-internal-send-string): Use it.
2566 (python-shell-send-setup-code): Remove call to
2567 accept-process-output.
2568
2569 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2572 (Bug#12108)
2573
2574 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2575
2576 * calc-mode.el (calc-basic-simplification-mode): Rename from
2577 `calc-limited-simplification-mode'.
2578 (calc-alg-simplification-mode): New function.
2579 (calc-set-simplify-mode): Adjust message.
2580
2581 * calc.el (calc-set-mode-line): Adjust mode line display for
2582 basic simplification mode.
2583
2584 * calc-help.el (calc-m-prefix-help): Update help message.
2585
2586 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2587 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2588
2589 2012-07-31 Bastien Guerry <bzg@gnu.org>
2590
2591 * man.el (man): Fix comment. (bug#12101)
2592
2593 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2594
2595 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2596 Don't return a non-nil value when no suitable buffer was found.
2597
2598 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2599
2600 * progmodes/python.el (run-python-internal): Disable font lock for
2601 internal shells.
2602
2603 2012-07-30 Stefan Merten <smerten@oekonux.de>
2604
2605 * rst.el: Silence `checkdoc-ispell'.
2606 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2607 (rst-official-version, rst-official-cvs-rev)
2608 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2609 (rst-mode-map): New key binding.
2610
2611 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2612
2613 Update .PHONY listings in makefiles.
2614 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2615 autoloads, update-subdirs, updates, bzr-update, update-authors,
2616 compile-onefile, compile-calc, backup-compiled-files,
2617 compile-after-backup, compile-one-process, mh-autoloads,
2618 bootstrap-clean, distclean, maintainer-clean.
2619
2620 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2621
2622 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2623 (calc-set-mode-line): Don't display "AlgSimp ".
2624
2625 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2626 (calc-lim-simplify-mode): New function.
2627 (calc-set-simplify-mode): Default to 'alg.
2628 (calc-default-simplify-mode): Make algebraic simplifications
2629 the default.
2630
2631 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2632 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2633
2634 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2635 indicate new simplification modes.
2636
2637 * calc/README: Mention new default simplification mode.
2638
2639 * calc/calc.el (math-normalize-error): New variable.
2640 (math-normalize): Set `math-normalize-error' to t
2641 when there's an error.
2642
2643 * calc/calc-alg.el (math-simplify): Don't simplify when
2644 `math-normalize' returns an error.
2645
2646 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2647
2648 * international/mule-cmds.el (set-locale-environment): Revert last
2649 change, since display-graphic-p returns nil when this function is
2650 called during startup. Instead...
2651
2652 * term/w32console.el (terminal-init-w32console): ...setup the
2653 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2654
2655 2012-07-29 Juri Linkov <juri@jurta.org>
2656
2657 * simple.el (goto-line): Don't display default line number in the
2658 prompt because it should be displayed by `read-number' (bug#9952).
2659 Add the current line number to the defaults of `goto-line' to
2660 allow its easier modification by users with `M-n' (bug#9201).
2661
2662 * subr.el (read-number): Support multiple default values like in
2663 other minibuffer reading functions. Replace `read' with
2664 `string-to-number' for consistency with `number-to-string'.
2665
2666 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2667
2668 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2669 * emulation/viper-init.el (viper-deactivate-input-method-action):
2670 Rename from viper-inactivate-input-method-action.
2671 (viper-deactivate-input-method):
2672 Rename from viper-inactivate-input-method.
2673 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2674 * international/mule-cmds.el (deactivate-input-method):
2675 Rename from inactivate-input-method.
2676 Also run input-method-deactivate-hook.
2677 (deactivate-current-input-method-function):
2678 Rename from inactivate-current-input-method-function.
2679 (input-method-deactivate-hook): New hook.
2680 (input-method-inactivate-hook): Mark obsolete.
2681 (inactivate-input-method): Mark obsolete.
2682
2683 * international/quail.el (quail-activate):
2684 Also run quail-deactivate-hook.
2685 (quail-deactivate): Rename from quail-inactivate.
2686 * international/robin.el (robin-activate):
2687 Also run robin-deactivate-hook.
2688 (robin-deactivate): Rename from robin-inactivate.
2689
2690 2012-07-29 Chong Yidong <cyd@gnu.org>
2691
2692 * simple.el (indicate-copied-region): New function.
2693 (kill-ring-save): Split off from here.
2694
2695 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2696 (kill-rectangle): Set deactivate-mark to t on read-only error.
2697
2698 * register.el (copy-to-register, copy-rectangle-to-register):
2699 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2700 (append-to-register, prepend-to-register):
2701 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2702
2703 * simple.el (async-shell-command-buffer): New defcustom.
2704 (shell-command): Use it. (Bug#4719)
2705
2706 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2707
2708 * international/mule-cmds.el (set-locale-environment): In a
2709 console session on MS-Windows, set up keyboard and terminal
2710 encoding from the OEM codepage, not the ANSI codepage.
2711 (Bug#12055)
2712
2713 2012-07-28 Chong Yidong <cyd@gnu.org>
2714
2715 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2716 gdb-get-location.
2717
2718 2012-07-28 Leo Liu <sdl.web@gmail.com>
2719
2720 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2721 the alist (bug#12029).
2722
2723 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2724
2725 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2726 (compile-always, compile-first)
2727 ($(lisp)/calendar/cal-loaddefs.el)
2728 ($(lisp)/calendar/diary-loaddefs.el)
2729 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2730 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2731 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2732 instead of on update-subdirs.
2733 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2734
2735 2012-07-28 Chong Yidong <cyd@gnu.org>
2736
2737 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2738 directory if vc-deduce-backend returns nil (Bug#7350).
2739
2740 * simple.el (delete-trailing-lines): New option.
2741 (delete-trailing-whitespace): Obey it (Bug#11879).
2742
2743 2012-07-28 David Engster <deng@randomsample.de>
2744
2745 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2746 Explanation of new 'symbol-qnames feature in doc-strings.
2747 (xml-maybe-do-ns): Return expanded names as plain symbols if
2748 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2749 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2750
2751 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2752
2753 Consistent completion in inferior python with emacs -nw.
2754 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2755 binding in inferior-python-mode-map with "\t".
2756 (python-shell-completion-complete-at-point)
2757 (python-completion-complete-at-point): Remove interactive spec.
2758
2759 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2760
2761 * calc/calccomp.el (math-compose-expr): Undo previous change.
2762
2763 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2764
2765 * progmodes/python.el (python-mode-map): Add keybinding for
2766 run-python.
2767 (python-shell-make-comint): Fix pop-to-buffer call.
2768 (run-python): Autoload. New arg SHOW.
2769 (python-shell-get-or-create-process): Do not pop python process
2770 buffer.
2771
2772 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2773
2774 * notifications.el (notifications-on-action-signal)
2775 (notifications-on-closed-signal): Use also the bus address for the map.
2776 (notifications-notify, notifications-close-notification)
2777 (notifications-get-capabilities): Add optional argument BUS.
2778
2779 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2780
2781 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2782 Add support for the lstlisting and minted environments, and for the
2783 ctable macro.
2784 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2785 labels written in keyvals syntax.
2786
2787 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2788
2789 * calc/calccomp.el (math-compose-expr): Use parentheses when
2790 there is a product in the denominator of a fraction.
2791
2792 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2793
2794 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2795 ($(lisp)/calendar/diary-loaddefs.el)
2796 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2797 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2798 Fixes failures in parallel bootstrap because subdirs.el is being
2799 rewritten while the autoload files are built at the same time,
2800 which needs to load subdirs.el.
2801
2802 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2803
2804 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2805 (mouse-drag-line): Don't exit tracking when a switch-frame or
2806 switch-window event occurs (Bug#12006).
2807
2808 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * mouse.el (popup-menu): Fix last change.
2811
2812 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 Autoload from Lisp with more care. Follow aliases when looking for
2815 function properties.
2816 * subr.el (autoloadp): New function.
2817 (symbol-file): Use it.
2818 (function-get): New function.
2819 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2820 autoload-do-load.
2821 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2822 (lisp-indent-function):
2823 * emacs-lisp/gv.el (gv-get):
2824 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2825 * emacs-lisp/byte-opt.el (byte-optimize-form):
2826 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2827 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2828 Use function-get.
2829 * emacs-lisp/cl.el: Don't propagate function properties any more.
2830
2831 * speedbar.el (speedbar-add-localized-speedbar-support):
2832 * emacs-lisp/disass.el (disassemble-internal):
2833 * desktop.el (desktop-load-file):
2834 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2835 (describe-function-1):
2836 * emacs-lisp/find-func.el (find-function-noselect):
2837 * emacs-lisp/elp.el (elp-instrument-function):
2838 * emacs-lisp/advice.el (ad-has-proper-definition):
2839 * apropos.el (apropos-safe-documentation, apropos-macrop):
2840 * emacs-lisp/debug.el (debug-on-entry):
2841 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2842 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2843 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2844
2845 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2846
2847 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2848 function, not an obsolete variable (Bug#12046).
2849
2850 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2851
2852 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2853
2854 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2855
2856 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2857 window only if it is still live (Bug#12034).
2858
2859 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2860
2861 * subr.el (redirect-frame-focus): Add advertised calling
2862 convention (Bug#12030).
2863
2864 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2865
2866 Prefer typical American spelling for "acknowledgment".
2867 * vc/add-log.el (change-log-acknowledgment): Rename from
2868 change-log-acknowledgement, with an alias for the old name.
2869
2870 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2871
2872 * calc-alg.el (math-simplify-divide): Don't cross multiply
2873 in an equation when the lhs is a variable.
2874
2875 2012-07-24 Julien Danjou <julien@danjou.info>
2876
2877 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2878 Remove, unused.
2879
2880 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2881
2882 * startup.el (command-line): Don't display an empty user name in
2883 the error message about non-existent home directory, when
2884 init-file-user was set to an empty string. See
2885 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2886 for the details and context.
2887
2888 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2889
2890 * ses.el (ses-cell-formula-aset): New macro.
2891 (ses-cell-references-aset): New macro.
2892 (ses-cell-p): New function.
2893 (ses-rename-cell): Do no longer rely on complex operations like
2894 ses-cell-set-formula or ses-set-cell to change the cell and handle
2895 the undo at the same time, but rather use lower level new macros
2896 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2897 the undo directly. Refresh the mode line.
2898
2899 2012-07-21 Leo Liu <sdl.web@gmail.com>
2900
2901 * progmodes/cc-cmds.el (c-defun-name):
2902 Use match-string-no-properties instead for consistency.
2903
2904 2012-07-20 Leo Liu <sdl.web@gmail.com>
2905
2906 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2907 (Bug#7879)
2908
2909 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2910
2911 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2914 * progmodes/bug-reference.el, misearch.el: Provide themselves
2915 (bug#11915).
2916
2917 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2918 of narrowed buffer (bug#11966).
2919
2920 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2921
2922 * ses.el (ses-rename-cell): Set new name also in reference list of
2923 cells of which the renamed cell depends.
2924
2925 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2926
2927 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2928 to check whether menu-bar is shown or not. If not shown,
2929 show the menu-bar as a popup menu instead of using tmm.
2930 * mouse.el (popup-menu): Accept `point' as `position' argument.
2931
2932 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2933
2934 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2935 up inside string symbol literal (bug#11923).
2936
2937 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2938
2939 * startup.el (fancy-startup-text): Read the whole tutorial, not
2940 just its first 256 bytes. Prevents gibberish in display of the
2941 tutorial title.
2942
2943 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2944
2945 Drop idle buffer compaction due to an absence of the
2946 proved efficiency.
2947 * compact.el: Remove.
2948
2949 2012-07-19 Sam Steingold <sds@gnu.org>
2950
2951 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2952 vc-bzr-pull & vc-bzr-merge-branch.
2953 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2954 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2955 for consistency with compilation-error-regexp-alist.
2956 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2957 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2958 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2959 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2960
2961 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/chart.el: Use lexical-binding.
2964 (chart-emacs-storage): Don't hardcode the list of entries.
2965
2966 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2967
2968 Next round of tweaks caused by Fgarbage_collect changes.
2969 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2970
2971 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2972
2973 Compact buffers when idle.
2974 * compact.el: New file.
2975
2976 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * subr.el (eventp): Presume that if it looks vaguely like an event,
2979 it's an event (bug#10190).
2980
2981 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2982
2983 Enhancements to ppss related code (thanks Stefan).
2984 * progmodes/python.el (python-indent-context)
2985 (python-indent-calculate-indentation, python-indent-dedent-line)
2986 (python-indent-electric-colon, python-nav-forward-block)
2987 (python-mode-abbrev-table)
2988 (python-info-assignment-continuation-line-p): Simplify checks
2989 for ppss context.
2990 (python-info-continuation-line-p): Cleanup.
2991 (python-info-ppss-context): Do not catch 'quote.
2992 (python-info-ppss-context-type)
2993 (python-info-ppss-comment-or-string-p): Simplify.
2994
2995 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2996
2997 * progmodes/python.el: Enhancements to eldoc support.
2998 (python-info-current-symbol): New function.
2999 (python-eldoc-at-point): Use python-info-current-symbol.
3000 (python-info-current-defun): Fix cornercase on first defun scan.
3001 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3002 and signal error when no inferior python process is available.
3003
3004 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3005
3006 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3007 assume it's always t.
3008 (vc-git-registered): Remove caching, the function is only called
3009 once.
3010 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3011
3012 2012-07-18 Chong Yidong <cyd@gnu.org>
3013
3014 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3015
3016 * simple.el (count-words): Report on narrowing (Bug#9959).
3017
3018 * bindings.el: Bind M-= to count-words.
3019
3020 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3021
3022 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3023
3024 * progmodes/sh-script.el (sh-imenu-generic-expression):
3025 Capture a function with `function' keyword and without parentheses
3026 like "function FOO" (bug#11856).
3027
3028 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3029
3030 * window.el (split-window-sensibly): Make WINDOW argument
3031 optional.
3032
3033 2012-07-18 Chong Yidong <cyd@gnu.org>
3034
3035 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3036
3037 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3038 and make C-x 8 RET exit isearch (Bug#11439).
3039
3040 * international/iso-transl.el: Move isearch-mode-map key
3041 definitions to isearch.el.
3042
3043 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3046 (eieio-defclass): Use gv-define-setter when possible.
3047
3048 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3049
3050 Reflect recent changes in Fgarbage_collect.
3051 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3052 reflect new format of data returned by Fgarbage_collect.
3053
3054 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3055
3056 New utility functions + python-info-ppss-context fix (Bug#11910).
3057 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3058 (python-info-ppss-comment-or-string-p): New functions.
3059 (python-info-ppss-context): Small fix for string check.
3060
3061 2012-07-17 Juri Linkov <juri@jurta.org>
3062
3063 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3064 (dired-do-async-shell-command): Don't add `*' at the end of the
3065 command (Bug#11815).
3066 (dired-do-shell-command): Doc fix.
3067 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3068 Join the individual commands using either "&" or ";" as the
3069 separator depending on the values of these trailing characters.
3070 At the end re-add the trailing "&". (Bug#10598)
3071
3072 * simple.el (async-shell-command): Sync the interactive spec with
3073 `shell-command'. Doc fix.
3074 (shell-command): Doc fix.
3075
3076 2012-07-17 Juri Linkov <juri@jurta.org>
3077
3078 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3079
3080 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3081
3082 Final renames and doc fixes for movement commands (bug#11899).
3083 * progmodes/python.el (python-nav-beginning-of-statement):
3084 Rename from python-nav-statement-start.
3085 (python-nav-end-of-statement): Rename from
3086 python-nav-statement-end.
3087 (python-nav-beginning-of-block): Rename from
3088 python-nav-block-start.
3089 (python-nav-end-of-block): Rename from python-nav-block-end.
3090
3091 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3092
3093 * progmodes/python.el (python-shell-send-string-no-output):
3094 Allow accept-process-output to quit, keeping shell process ready for
3095 future interactions (Bug#11868).
3096
3097 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3100
3101 * emacs-lisp/elint.el (elint-find-args-in-code):
3102 Use help-function-arglist, so as to handle lexical byte-code.
3103
3104 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3105 change (bug#11826).
3106
3107 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3110 Avoid spuriously marking the buffer as modified because of c-is-sws.
3111
3112 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3113 as not-a-comment (bug#11946).
3114
3115 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3116 for uninterned vars.
3117
3118 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3119 Use read-event since we don't really want to read chars but bytes.
3120
3121 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3122 $$..$$ but also $..$ using regexps (bug#11953).
3123 Use tex-verbatim for \url and \path.
3124 (tex-font-lock-keywords): Define as defconst like the others.
3125 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3126
3127 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3128
3129 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3130 alias for insert-char.
3131
3132 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3133
3134 * progmodes/python.el: Simplified imenu implementation.
3135 (python-nav-jump-to-defun): Remove command.
3136 (python-mode-map): Use `imenu' instead.
3137 (python-nav-list-defun-positions-cache)
3138 (python-imenu-include-defun-type, python-imenu-make-tree)
3139 (python-imenu-subtree-root-label, python-imenu-index-alist):
3140 Remove vars.
3141 (python-nav-list-defun-positions, python-nav-read-defun)
3142 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3143 (python-imenu-make-tree, python-imenu-create-index):
3144 Remove functions.
3145 (python-mode): Update to interact with imenu by setting
3146 `imenu-extract-index-name-function' only.
3147
3148 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3149
3150 * progmodes/python.el: Enhancements to navigation commands.
3151 (python-nav-backward-sentence)
3152 (python-nav-forward-sentence): Remove.
3153 (python-nav-backward-statement, python-nav-forward-statement)
3154 (python-nav-statement-start, python-nav-statement-end)
3155 (python-nav-backward-block, python-nav-forward-block)
3156 (python-nav-block-start, python-nav-block-end)
3157 (python-nav-forward-sexp-function)
3158 (python-info-current-line-comment-p)
3159 (python-info-current-line-empty-p): New functions.
3160 (python-indent-context): Use `python-nav-statement-start'.
3161
3162 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * eshell/em-ls.el (eshell/ls): Use `apply'.
3165
3166 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3167 multi-hops, instead of Tramp internals.
3168
3169 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3170
3171 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3172 when F1 and F2 are located on different hosts.
3173
3174 2012-07-14 Chong Yidong <cyd@gnu.org>
3175
3176 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3177 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3178 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3179 (xterm-mouse--read-event-sequence-1000)
3180 (xterm-mouse--read-event-sequence-1006): New functions. For old
3181 mouse protocol, handle M-mouse-X events correctly.
3182 (xterm-mouse-event): New arg specifying mouse protocol.
3183 (turn-on-xterm-mouse-tracking-on-terminal)
3184 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3185 sequence to toggle extended coordinates on newer XTerms.
3186 This appears to be harmless on terminals which do not support this.
3187
3188 2012-07-14 Leo Liu <sdl.web@gmail.com>
3189
3190 Add fringe bitmap indicators for flymake. (Bug#11253)
3191 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3192 (flymake-make-overlay): New arg BITMAP.
3193 (flymake-error-bitmap, flymake-warning-bitmap)
3194 (flymake-fringe-indicator-position): New user variables.
3195
3196 * fringe.el: New bitmap exclamation-mark.
3197
3198 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3199
3200 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3201 also (Bug#7879).
3202
3203 2012-07-14 Chong Yidong <cyd@gnu.org>
3204
3205 * electric.el (electric-pair-post-self-insert-function): Fix pair
3206 insertion in empty-region case (Bug#11520).
3207
3208 2012-07-14 Chong Yidong <cyd@gnu.org>
3209
3210 * bindings.el: Consolidate ctl-x-r-map bindings.
3211 Bind copy-rectangle-as-kill to C-x r w.
3212
3213 * rect.el, register.el: Move bindings to bindings.el.
3214
3215 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3216
3217 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3218
3219 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3220
3221 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3222
3223 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * bindings.el (top): Use `mapc' instead of `mapcar'.
3226
3227 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3228
3229 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3230
3231 * progmodes/sql.el (sql-comint): Suppress the check for program on
3232 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3233 (Bug#11908)
3234
3235 2012-07-13 Chong Yidong <cyd@gnu.org>
3236
3237 * bindings.el: Assign a non-nil permanent-local property to
3238 per-buffer variables which lack a default value (Bug#11930).
3239
3240 * help-fns.el (describe-variable): In the "automatically becomes
3241 local" notice, take note of permanent-local variables.
3242
3243 2012-07-13 Chong Yidong <cyd@gnu.org>
3244
3245 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3246 to allow printing the message when called from Lisp.
3247
3248 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3249 Remove toggle-read-only.
3250
3251 * bs.el (bs-toggle-readonly):
3252 * buff-menu.el (Buffer-menu-toggle-read-only):
3253 Remove with-no-warnings around toggle-read-only.
3254
3255 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3256 Remove with-no-warnings around toggle-read-only.
3257 (ffap-read-only, ffap-read-only-other-window)
3258 (ffap-read-only-other-frame): Callers changed.
3259
3260 * help-mode.el: Don't require view package.
3261 (help-mode-finish): Set buffer-read-only instead of calling
3262 toggle-read-only.
3263
3264 * bindings.el (mode-line-toggle-read-only):
3265 * dired.el (dired-toggle-read-only):
3266 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3267 with non-nil second arg.
3268
3269 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3270 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3271 directly.
3272
3273 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3274
3275 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3276 not incf.
3277
3278 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 More CL cleanups and reduction of use of cl.el.
3281 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3282 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3283 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3284 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3285 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3286 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3287 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3288 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3289 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3290 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3291 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3292 * eshell/em-cmpl.el, eshell/em-banner.el:
3293 * calendar/parse-time.el: Use cl-lib.
3294 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3295 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3296 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3297 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3298 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3299 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3300 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3301 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3302 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3303 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3304 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3305 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3306 `lambda' rather than with `quote'.
3307 (eshell-do-opt): Adjust accordingly.
3308 (eshell-process-option): Simplify.
3309 * eshell/esh-var.el:
3310 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3311 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3312 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3313 to `pcase--dontcare'.
3314 * emacs-lisp/cl.el (labels): Mark obsolete.
3315 (cl--letf, letf): Move to cl-lib.
3316 (cl--letf*, letf*): Remove.
3317 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3318 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3319 (cl-progv): Rewrite.
3320 (cl--letf, cl-letf): Move from cl.el.
3321 (cl-letf*): New macro.
3322 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3323
3324 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3327
3328 2012-07-11 Chong Yidong <cyd@gnu.org>
3329
3330 * vc/log-edit.el (log-edit-vc-backend): New variable.
3331 (log-edit): Doc fix.
3332
3333 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3334 argument of log-edit to set up all local variables.
3335 (vc-start-logentry): New optional arg specifying VC backend.
3336
3337 * vc/vc.el (vc-checkin): Use it.
3338 (vc-deduce-fileset): Handle Log Edit buffers.
3339 (vc-diff): Make first argument optional too.
3340
3341 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3342
3343 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3344
3345 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3346 command, just in case. The function is not needed anymore.
3347 (eshell-external-command): Do not call `eshell-remote-command'.
3348
3349 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 Reduce use of (require 'cl).
3352 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3353 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3354 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3355 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3356 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3357 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3358 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3359 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3360 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3361 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3362 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3363 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3364 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3365 (byte-compile-unfold-bcf, byte-compile-check-variable):
3366 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3367 (byte-compile-nilconstp):
3368 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3369 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3370
3371 * emacs-lisp/gv.el (cond): Make it a valid place.
3372 (if): Simplify slightly.
3373
3374 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3375 (pcase--self-quoting-p): New function.
3376 (pcase--u1): Use it.
3377
3378 2012-07-10 Glenn Morris <rgm@gnu.org>
3379
3380 * emacs-lisp/authors.el (authors-fixed-entries):
3381 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3382
3383 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3384
3385 Rename configure.in to configure.ac (Bug#11603).
3386 * emacs-lisp/authors.el (authors-canonical-file-name):
3387 * progmodes/autoconf.el (autoconf-mode):
3388 Prefer configure.ac to configure.in.
3389
3390 2012-07-08 Chong Yidong <cyd@gnu.org>
3391
3392 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3393 Implement the mouse-1-click-follows-link handling properly.
3394
3395 * info.el (Info-link-keymap): Use follow-link mechanism for
3396 header-line links (Bug#374).
3397
3398 * simple.el (deactivate-mark): Do not set the primary selection
3399 if another program has acquired it (Bug#11772).
3400
3401 2012-07-07 Kevin Ryde <user42@zip.com.au>
3402
3403 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3404 (woman-decode-region): Replace escaped-escapes without destroying
3405 bold or underline (Bug#11552).
3406 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3407
3408 2012-07-07 Chong Yidong <cyd@gnu.org>
3409
3410 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3411 (interprogram-cut-function, interprogram-paste-function):
3412 Mention that we typically mean the clipboard.
3413
3414 2012-07-06 Glenn Morris <rgm@gnu.org>
3415
3416 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3417
3418 * files.el (toggle-read-only): Restrict message to interactive use.
3419
3420 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3423
3424 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3425
3426 2012-07-06 Glenn Morris <rgm@gnu.org>
3427
3428 * Makefile.in (compile-one-process): Rename from "recompile".
3429
3430 * Makefile.in (bzr-update): "compile" is the same as "recompile
3431 autoloads", but parallelizable, so use that instead.
3432
3433 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3434
3435 * window.el (quit-window): Always restore window height when
3436 it's saved in quit-restore parameter (Bug#11810).
3437
3438 2012-07-06 Glenn Morris <rgm@gnu.org>
3439
3440 * simple.el (kill-whole-line): Doc tweak.
3441
3442 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3443
3444 * files.el (file-relative-name): Compare file names
3445 case-insensitively if on MS-Windows or MS-DOS, or if
3446 read-file-name-completion-ignore-case is non-nil. Don't use
3447 case-fold-search for this purpose. (Bug#11827)
3448
3449 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3450
3451 * calendar/cal-dst.el (calendar-current-time-zone):
3452 Return calendar-current-time-zone-cache if non-nil.
3453
3454 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3455 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3456
3457 * calendar/cal-dst.el (calendar-current-time-zone):
3458 Return calendar-current-time-zone-cache if non-nil.
3459
3460 2012-07-06 Glenn Morris <rgm@gnu.org>
3461
3462 * Makefile.in (cvs-update): Remove old alias.
3463
3464 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3465
3466 Sync with Tramp 2.2.6-pre.
3467
3468 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3469 compatible declaration.
3470
3471 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3472 Protect `list-load-path-shadows' call.
3473
3474 * net/tramp-compat.el (top): Require packages, which aren't
3475 autoloaded anymore for XEmacs. Protect call of
3476 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3477 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3478 it hurts at least for SXEmacs.
3479 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3480 standard-value for `temporary-file-directory'.
3481
3482 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3483 Redirect stderr to /dev/null.
3484 (tramp-sh-handle-write-region): uid and gid can be floats.
3485 Reported by Russell Sim <russell.sim@gmail.com>.
3486 (tramp-sh-handle-vc-registered): Hide errors.
3487 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3488 and `start-file-process'.
3489 (tramp-maybe-open-connection): Check also whether `non-essential'
3490 is bound.
3491
3492 2012-07-04 Chong Yidong <cyd@gnu.org>
3493
3494 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3495 (xml-parse-tag): Likewise, and avoid changing entity tables.
3496 (xml-syntax-table): Define from scratch, making sure not to give
3497 x2000 and other Unicode spaces whitespace syntax, since those are
3498 not spaces in XML.
3499 (xml-parse-fragment): Delete unused function.
3500 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3501 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3502 (xml-entity-ref, xml-pe-reference-re)
3503 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3504 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3505 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3506 (xml-entity-value-re): Use syntax references in regexps where
3507 possible; no need to define inside a let-binding.
3508 (xml-parse-dtd): Use xml-pe-reference-re.
3509 (xml-entity-or-char-ref-re): New defconst.
3510 (xml-parse-string, xml-substitute-special): Use it.
3511
3512 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3515 (find-file--read-only): New function.
3516 (find-file-read-only, find-file-read-only-other-window)
3517 (find-file-read-only-other-frame): Use it.
3518 (insert-file-contents-literally): Don't `fset'.
3519 (get-free-disk-space): Use locate-dominating-file.
3520
3521 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3522 function is already compiled.
3523
3524 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3525
3526 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3527
3528 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3529 files on the same host.
3530
3531 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3532
3533 * help-fns.el (describe-function-1): Only call
3534 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3535
3536 2012-07-03 Chong Yidong <cyd@gnu.org>
3537
3538 * xml.el: Protect parser against XML bombs.
3539 (xml-entity-expansion-limit): New variable.
3540 (xml-parse-string, xml-substitute-special): Use it.
3541 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3542
3543 2012-07-03 Glenn Morris <rgm@gnu.org>
3544
3545 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3546 Allow linking to specific messages in debbugs reports (eg 123#5).
3547
3548 2012-07-02 Chong Yidong <cyd@gnu.org>
3549
3550 * xml.el: Fix entity and character reference expansion, allowing
3551 them to expand into markup as per XML spec.
3552 (xml-default-ns): New variable.
3553 (xml-entity-alist): Use XML spec definitions for lt and amp.
3554 (xml-parse-region): Make first two arguments optional.
3555 Discard text properties.
3556 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3557 All callers changed.
3558 (xml-parse-tag): Call xml-parse-tag-1. For backward
3559 compatibility, this function should not modify buffer contents.
3560 (xml-parse-tag-1): Fix opening-tag regexp.
3561 (xml-parse-string): Rewrite, handling entity and character
3562 references properly.
3563 (xml--entity-replacement-text): Signal an error if a parameter
3564 entity is undefined.
3565
3566 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * comint.el (comint-output-filter): Filter out repeated prompts.
3569
3570 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3571 and file-name-absolute-p.
3572 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3573 internal calls.
3574
3575 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3576
3577 Spelling fixes.
3578 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3579 Rename from byte-compile--refiy-function. All uses changed.
3580
3581 2012-07-01 Chong Yidong <cyd@gnu.org>
3582
3583 * xml.el (xml--parse-buffer): New function. Move most of
3584 xml-parse-region here.
3585 (xml-parse-region): Copy region into a temporary buffer, since
3586 parameter entity substitution requires changing buffer contents.
3587 Use xml--parse-buffer.
3588 (xml-parse-file): Use xml--parse-buffer.
3589 (xml-parse-dtd): Make parameter entity substitution work right.
3590 Use proper regexps for ELEMENT declarations (Bug#7172).
3591
3592 2012-06-30 Glenn Morris <rgm@gnu.org>
3593
3594 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3595
3596 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3597 Remove outdated and unnecessary dbus declarations.
3598
3599 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3600
3601 * emacs-lisp/timer.el (timer-until): Subtract results of
3602 float-time, instead of taking float-time of the result of
3603 time-subtract, since float-time signals an error for negative time
3604 arguments.
3605
3606 2012-06-30 Chong Yidong <cyd@gnu.org>
3607
3608 * xml.el (xml-*-re): Convert defvars into defconsts, and
3609 eval-and-compile them so eval-and-compile works on derivatives.
3610 (xml--entity-replacement-text): Use eval-and-comple.
3611
3612 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3613
3614 * vc/vc-git.el (vc-git-registered): Use cache property
3615 `git-registered'.
3616 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3617 `vc-git-working-revision' in order to benefit from the cache.
3618 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3619
3620 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3621
3622 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3623 removed (likely outside Emacs). (Bug#11757)
3624
3625 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * emacs-lisp/cl-lib.el: Require macroexp.
3628
3629 2012-06-30 Chong Yidong <cyd@gnu.org>
3630
3631 * xml.el: Implement XML parameter entities.
3632 (xml-parameter-entity-alist): New variable.
3633 (xml-parse-region, xml-parse-fragment): Preserve previous values
3634 of xml-entity-alist and xml-parameter-entity-alist, so that
3635 repeated calls on different documents do not change them.
3636 (xml-parse-tag): Fix doctype regexp.
3637 (xml--entity-replacement-text): New function.
3638 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3639 properly requires url retrieval which is unimplemented.
3640 (xml-escape-string): Doc fix.
3641
3642 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3645
3646 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3647
3648 * fringe.el (fringe-mode): Doc fix.
3649
3650 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3651
3652 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3653 is non-nil.
3654 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3655 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3656
3657 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3658
3659 * calendar/cal-dst.el (calendar-current-time-zone):
3660 Return calendar-current-time-zone-cache if non-nil.
3661
3662 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3663
3664 * progmodes/which-func.el (which-func-format):
3665 Add mouse-face. (Bug#11698)
3666
3667 2012-06-29 Leo Liu <sdl.web@gmail.com>
3668
3669 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3670
3671 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * minibuffer.el (minibuffer-confirm-exit-commands):
3674 Add completion-at-point (bug#11725).
3675
3676 2012-06-29 Glenn Morris <rgm@gnu.org>
3677
3678 * progmodes/f90.el (f90-font-lock-keywords-2):
3679 Add some preprocessor elements. (Bug#10499)
3680
3681 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3684 Use syntax-propertize (bug#11739).
3685
3686 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3687
3688 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3689
3690 2012-06-28 Julien Danjou <julien@danjou.info>
3691
3692 * term.el (term-handle-colors-array): Use a set of new faces to
3693 color the terminal. Also uses :inverse-video property.
3694 (term-default-fg-color): Set to nil by default, deprecate in favor
3695 of `term-face'.
3696 (term-default-bg-color): Set to nil by default, deprecate in favor
3697 of `term-face'.
3698 (term-current-face): Use `term-face' by default.
3699 (term-bold-attribute): Variable deleted.
3700
3701 2012-06-28 Glenn Morris <rgm@gnu.org>
3702
3703 * simple.el (completion-list-mode-finish):
3704 Don't use toggle-read-only. (Since completion-list-mode has
3705 a special mode-class, it wasn't doing anything extra anyway.)
3706
3707 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 Make inlining of other-mode interpreted functions work (bug#11799).
3710 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3711 (byte-compile): Use it to fix compilation of lexical-binding closures.
3712 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3713 function, if needed.
3714
3715 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * help-mode.el (help-make-xrefs): Don't just withstand
3718 cyclic-variable-indirection but any error in documentation-property.
3719
3720 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3721 memory use.
3722 * bindings.el (bindings--define-key): New function.
3723 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3724 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3725 * bindings.el: Use it to purecopy define-key bindings.
3726
3727 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3728
3729 * emacs-lisp/cl.el (flet): Mark obsolete.
3730 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3731 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3732 * progmodes/js.el (js-c-fill-paragraph):
3733 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3734 (ebrowse-switch-member-buffer-to-derived-class):
3735 * play/5x5.el (5x5-solver): Use cl-flet.
3736
3737 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3738 (cl--symbol-function): New macro.
3739 (cl--letf, cl--letf*): Use it.
3740
3741 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3742 Strip "toggle-" if any.
3743
3744 2012-06-27 Glenn Morris <rgm@gnu.org>
3745
3746 * info.el (Info-default-directory-list): Move here from paths.el.
3747 * paths.el: Remove file, which is now empty.
3748 * loadup.el: No longer load "paths".
3749
3750 * custom.el (custom-initialize-delay): Doc fix.
3751
3752 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3753 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3754 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3755 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3756 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3757 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3758 * eshell/eshell.el (eshell-defgroup): Remove alias.
3759
3760 2012-06-27 Chong Yidong <cyd@gnu.org>
3761
3762 * help.el (help-enable-auto-load): New variable.
3763
3764 * help-fns.el (help-fns--autoloaded-p): New function.
3765 (describe-function-1): Refer to a function as "autoloaded" if it
3766 was autoloaded at any time in the past. Perform autoloading if
3767 help-enable-auto-load is non-nil.
3768
3769 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3770
3771 * makefile.w32-in (compile, compile-always): Depend on
3772 update-subdirs, not on subdirs.el. Otherwise, several different
3773 sub-targets of 'bootstrap' running in parallel could
3774 simultaneously write to subdirs.el, producing a garbled file.
3775
3776 2012-06-26 Sam Steingold <sds@gnu.org>
3777
3778 * files.el (file-name-base): New convenience function.
3779 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3780 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3781 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3782 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3783 * textmodes/ispell.el, textmodes/reftex-ref.el:
3784 * textmodes/tex-mode.el: Use it.
3785 Did not touch cedet and org because they are maintained elsewhere.
3786
3787 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3788
3789 * calendar/calendar.el (calendar-exit): Don't try to delete or
3790 iconify last frame. See:
3791 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3792
3793 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3794
3795 * server.el (server-process-filter): Remember dir in the
3796 process's `server-client-directory' properties.
3797
3798 2012-06-24 Chong Yidong <cyd@gnu.org>
3799
3800 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3801 non-tag text.
3802
3803 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3804
3805 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3806
3807 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * help-fns.el (describe-variable): Don't croak when doc is not found.
3810 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3811 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3812 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3813 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3814 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3815 ((lambda ..) ..).
3816 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3817
3818 2012-06-23 Chong Yidong <cyd@gnu.org>
3819
3820 * info.el (Info-mouse-follow-link): Accept symbol values of
3821 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3822 (Info-fontify-node): Use Info-link-keymap for all navigation
3823 buttons, with link-args property to perform the desired action.
3824 (Info-link-keymap): Doc fix.
3825 (Info-next-link-keymap, Info-prev-link-keymap)
3826 (Info-up-link-keymap): Delete now-unused keymaps.
3827
3828 2012-06-23 Chong Yidong <cyd@gnu.org>
3829
3830 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3831
3832 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3833 system abbrevs.
3834
3835 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3836
3837 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3840 (bug#11719).
3841
3842 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3843 the requote function doesn't work properly (bug#11714).
3844
3845 2012-06-23 Glenn Morris <rgm@gnu.org>
3846
3847 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3848
3849 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3850
3851 Further GV/CL cleanups.
3852 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3853 gv-expander.
3854 (gv--defun-declaration): New function.
3855 (defun-declarations-alist): Use it.
3856 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3857 (gv-place): Autoload.
3858 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3859 original definition of dotimes and dolist.
3860 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3861 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3862 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3863 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3864 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3865 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3866 to the function's definition.
3867 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3868 * window.el:
3869 * files.el:
3870 * faces.el:
3871 * env.el: Don't use CL.
3872
3873 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3874
3875 Support higher-resolution time stamps (Bug#9000).
3876
3877 * calendar/time-date.el (with-decoded-time-value): New arg
3878 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3879 (encode-time-value): New optional arg PICO. New type 3.
3880 (time-to-seconds) [!float-time]: Support the new picoseconds
3881 component if it's used.
3882 (seconds-to-time, time-subtract, time-add):
3883 Support ps-resolution time stamps as well.
3884
3885 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3886 (timerp): Timer vectors now have length 9, not 8.
3887 (timer--time): Support new-style (4-part) time stamps.
3888 (timer-next-integral-multiple-of-time): Time stamps now have
3889 picosecond resolution, so take a bit more care about rounding.
3890 (timer-relative-time, timer-inc-time): New optional arg psecs.
3891 (timer-set-time-with-usecs): Set psecs to 0.
3892 (timer--activate): Check psecs component, too.
3893
3894 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3895
3896 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3899 Move the non-essential binding to the post/pre-command-hook where it is
3900 more obviously correct.
3901
3902 * subr.el (read-passwd): Don't use a history at all.
3903 * savehist.el (savehist-save): Remove password saved accidentally
3904 because of the above bug.
3905
3906 2012-06-22 Bastien Guerry <bzg@gnu.org>
3907
3908 * files.el (toggle-read-only): Display a message telling whether
3909 the buffer is read-only or not (bug#11726).
3910
3911 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3912
3913 * emacs-lisp/gv.el: New file.
3914 * subr.el (push, pop): Extend to generalized variables.
3915 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3916 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3917 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3918 gv-define-simple-setter, and gv-define-expander.
3919 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3920 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3921 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3922 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3923 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3924 gv-letplace.
3925 (cl-defstruct): Don't define setf-method any more.
3926 * emacs-lisp/cl.el (flet): Don't autoload.
3927 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3928 (define-setf-expander, defsetf, define-modify-macro)
3929 (cl-struct-setf-expander): Move from cl-lib.el.
3930 * emacs-lisp/syntax.el:
3931 * emacs-lisp/ewoc.el:
3932 * emacs-lisp/smie.el:
3933 * emacs-lisp/cconv.el:
3934 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3935 (timer--time): Use gv-define-simple-setter.
3936 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3937 to avoid coding-system problems in subr.el. Adjust all users.
3938 (macroexp--maxsize, macroexp-small-p): New functions.
3939 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3940 * scroll-bar.el (scroll-bar-mode):
3941 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3942 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3943 * winner.el (winner-configuration, winner-make-point-alist)
3944 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3945 * files.el (locate-file-completion-table): Avoid list*.
3946
3947 2012-06-22 Chong Yidong <cyd@gnu.org>
3948
3949 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3950 (dired-create-files): Doc fix (Bug#11329).
3951 (dired-do-copy): Doc fix (Bug#11334).
3952 (dired-mark-read-string): Doc fix (Bug#11553).
3953
3954 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3955 Doc fix (Bug#11326).
3956 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3957 (dired-dwim-target): Doc fix.
3958
3959 * wdired.el (wdired-mode): Doc fix.
3960
3961 2012-06-22 Glenn Morris <rgm@gnu.org>
3962
3963 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3964 (pcmpl-rpm-cache-stamp-file): New constant.
3965 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3966 (pcmpl-rpm-packages): Optionally cache list of packages.
3967
3968 * pcmpl-rpm.el (pcmpl-rpm): New group.
3969 (pcmpl-rpm-query-options): New option.
3970 (pcmpl-rpm-packages): No need to inline it.
3971 Use pcmpl-rpm-query-options.
3972
3973 * calendar/calendar.el (calendar-in-read-only-buffer):
3974 Avoid some needless mode changes.
3975
3976 2012-06-21 Chong Yidong <cyd@gnu.org>
3977
3978 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3979 (desktop-path): Remove . from the default value (Bug#10977).
3980 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3981
3982 2012-06-20 Chong Yidong <cyd@gnu.org>
3983
3984 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3985
3986 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3987
3988 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3989 (bug#11201).
3990
3991 2012-06-20 Chong Yidong <cyd@gnu.org>
3992
3993 * term.el (term-window-width): Handle the case of a missing right
3994 fringe (Bug#8837).
3995 (term-check-size): Use window-text-height (Bug#5445).
3996 (term-mode): Use define-derived-mode. Minor cleanups.
3997 Set font-lock-defaults (Bug#7692).
3998 (term-move-columns, term-insert-char, term-emulate-terminal)
3999 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4000
4001 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * net/ange-ftp.el (ange-ftp-get-passwd):
4004 Bind `enable-recursive-minibuffers'.
4005 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4006
4007 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4008
4009 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4010
4011 2012-06-19 Glenn Morris <rgm@gnu.org>
4012
4013 * progmodes/python.el (python-mode): Derive from prog-mode.
4014
4015 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4016
4017 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4018 (edt-user-menu-bar-update-buffers): New functions.
4019 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4020
4021 2012-06-19 Chong Yidong <cyd@gnu.org>
4022
4023 * subr.el (with-selected-window): Preserve the selected window's
4024 terminal's top-frame (Bug#4702).
4025
4026 * window.el (save-selected-window): Likewise.
4027
4028 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * progmodes/python.el (python-rx-constituents): Move backquote.
4031 (python-skeleton-define, python-define-auxiliary-skeleton):
4032 Use `declare'.
4033
4034 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4035
4036 * minibuffer.el (read-file-name-default): Revert the patch from
4037 2012-06-17.
4038
4039 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4042 (pcase--u1, pcase--q1): Don't use apply-partially.
4043
4044 2012-06-18 Glenn Morris <rgm@gnu.org>
4045
4046 * progmodes/python.el (python-proc, python-buffer)
4047 (python-send-receive, python-send-string): Fix obsolete versions.
4048
4049 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4050
4051 * window.el (special-display-p): Completely remove stringp
4052 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4053
4054 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4055
4056 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4057
4058 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4059
4060 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4061 * net/tramp-sh.el (tramp-maybe-open-connection):
4062 Throw if `non-essential' is non-nil.
4063
4064 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4065
4066 * window.el (special-display-p): Signal an error if BUFFER-NAME
4067 is not a string (Bug#11713).
4068
4069 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4070
4071 * progmodes/python.el (python-info-beginning-of-backslash):
4072 Rename from python-info-beginning-of-backlash, as a spelling fix.
4073
4074 2012-06-17 Chong Yidong <cyd@gnu.org>
4075
4076 * term.el (term-emulate-terminal): If term-check-size is called,
4077 move point to the process mark without resetting point (Bug#4635).
4078
4079 2012-06-17 Glenn Morris <rgm@gnu.org>
4080
4081 * international/mule-cmds.el (mule-menu-keymap)
4082 (set-language-environment, set-locale-environment): Doc tweaks.
4083
4084 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4085
4086 * cus-face.el (custom-face-attributes): Add wave-style underline
4087 attribute.
4088 * faces.el (set-face-attribute): Update docstring to describe
4089 wave-style underline attribute.
4090
4091 2012-06-16 Chong Yidong <cyd@gnu.org>
4092
4093 * term/xterm.el (terminal-init-xterm): Discard input before
4094 querying background mode (Bug#10959).
4095
4096 2012-06-16 Stefan Merten <smerten@oekonux.de>
4097
4098 * textmodes/rst.el: Added and corrected some comments.
4099 (rst-re-alist-def): Improve symbol syntax.
4100 (rst-mode-syntax-table): Correct syntax entries.
4101 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4102 (rst-official-version, rst-official-cvs-rev): Update version
4103 information.
4104
4105 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4106
4107 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4108 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4109
4110 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4111
4112 * progmodes/python.el: New python.el merge.
4113 (python-guess-indent): Obsolete var.
4114 (python-indent-guess-indent-offset): New defcustom.
4115 (python-indent): Obsolete var.
4116 (python-indent-offset): New defcustom.
4117 (python-python-command, python-jython-command): Delete var.
4118 (python-shell-interpreter): New defcustom.
4119 (python-pdbtrack-do-tracking-p): Delete var.
4120 (python-pdbtrack-activate): New defcustom.
4121 (python-use-skeletons): Obsolete var.
4122 (python-skeleton-autoinsert): New defcustom.
4123 (inferior-python-filter-regexp, python-continuation-offset)
4124 (python-honour-comment-indentation, python-indent-string-contents)
4125 (python-jython-packages, python-mode-hook)
4126 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4127 (python-shell-prompt-alist)
4128 (python-source-modes): Delete defcustoms.
4129 (python-check-buffer-name, python-eldoc-setup-code)
4130 (python-eldoc-string-code, python-ffap-setup-code)
4131 (python-ffap-string-code, python-fill-comment-function)
4132 (python-fill-decorator-function, python-fill-paren-function)
4133 (python-fill-string-function, python-imenu-include-defun-type)
4134 (python-imenu-make-tree, python-imenu-subtree-root-label)
4135 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4136 (python-shell-compilation-regexp-alist)
4137 (python-shell-completion-module-string-code)
4138 (python-shell-completion-pdb-string-code)
4139 (python-shell-completion-setup-code)
4140 (python-shell-completion-string-code)
4141 (python-shell-enable-font-lock, python-shell-exec-path)
4142 (python-shell-extra-pythonpaths)
4143 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4144 (python-shell-process-environment)
4145 (python-shell-prompt-block-regexp)
4146 (python-shell-prompt-output-regexp)
4147 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4148 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4149 (python-shell-virtualenv-path): New defcustoms.
4150 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4151 (inferior-python-mode-syntax-table, python--prompt-regexp)
4152 (python-buffer, python-command python-python-command)
4153 (python-default-template, python-imports, python-indent-index)
4154 (python-indent-list, python-indent-list-length)
4155 (python-mode-running, python-pdbtrack-is-tracking-p)
4156 (python-preoutput-continuation, python-preoutput-leftover)
4157 (python-preoutput-result, python-preoutput-skip-next-prompt)
4158 (python-prev-dir/file, python-recursing)
4159 (python-saved-check-command, python-version-checked)
4160 (python-which-func-length-limit)
4161 (view-return-to-alist): Delete vars.
4162 (python-check-custom-command, python-dotty-syntax-table)
4163 (python-imenu-index-alist, python-indent-current-level)
4164 (python-indent-dedenters, python-indent-levels)
4165 (python-nav-beginning-of-defun-regexp)
4166 (python-nav-list-defun-positions-cache)
4167 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4168 (python-shell-internal-buffer)
4169 (python-skeleton-available): New vars.
4170 (def-python-skeleton): Delete macro.
4171 (python-skeleton-define): New macro.
4172 (python-define-auxiliary-skeleton, python-rx): New macros.
4173 (python-insert-class): Delete command.
4174 (python-skeleton-class): New command.
4175 (python-insert-def): Delete command.
4176 (python-skeleton-def): New command.
4177 (python-insert-for): Delete command.
4178 (python-skeleton-for): New command.
4179 (python-insert-if): Delete command.
4180 (python-skeleton-if): New command.
4181 (python-insert-try/except, python-insert-try/finally): Delete commands.
4182 (python-skeleton-try): New command.
4183 (python-insert-while): Delete command.
4184 (python-skeleton-while): New command.
4185 (python-backspace): Delete command.
4186 (python-indent-dedent-line-backspace): New command.
4187 (python-electric-colon): Delete command.
4188 (python-indent-electric-colon): New command.
4189 (python-guess-indent): Delete command.
4190 (python-indent-guess-indent-offset): New command.
4191 (python-shift-left): Delete command.
4192 (python-indent-shift-left): New command.
4193 (python-shift-right): Delete command.
4194 (python-indent-shift-right): New command.
4195 (python-find-function): Delete command.
4196 (python-nav-jump-to-defun): New command.
4197 (python-next-statement): Delete command.
4198 (python-nav-forward-sentence): New command.
4199 (python-previous-statement): Delete command.
4200 (python-nav-backward-sentence): New command.
4201 (python-fill-paragraph): Delete command.
4202 (python-fill-paragraph-function): New command.
4203 (python-send-buffer): Delete command.
4204 (python-shell-send-buffer): New command.
4205 (python-send-defun): Delete command.
4206 (python-shell-send-defun): New command.
4207 (python-send-region, python-send-region-and-go): Delete commands.
4208 (python-shell-send-region)
4209 (python-shell-switch-to-shell): New commands.
4210 (python-send-string): Delete command.
4211 (python-shell-send-string): New command.
4212 (python-switch-to-python): Delete command.
4213 (python-shell-switch-to-shell): New command.
4214 (python-describe-symbol): Delete command.
4215 (python-eldoc-at-point): New command.
4216 (python--set-prompt-regexp, python-args-to-list)
4217 (python-after-info-look, python-check-version)
4218 (python-check-comint-prompt, python-find-imports)
4219 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4220 (python-unload-function, python-expand-template)
4221 (python-maybe-jython, python-preoutput-filter)
4222 (python-pdbtrack-get-source-buffer)
4223 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4224 (python-pdbtrack-toggle-stack-tracking)
4225 (python-pdbtrack-track-stack-file, python-initial-text)
4226 (python-first-word, python-comment-line-p, python-send-command)
4227 (python-setup-brm, python-sentinel, python-set-proc)
4228 (python-skip-out, python-input-filter, python-outdent-p)
4229 (python-outline-level, python-backslash-continuation-line-p)
4230 (python-end-of-block, python-end-of-statement, python-mark-block)
4231 (python-beginning-of-block, python-beginning-of-statement)
4232 (python-blank-line-p, python-beginning-of-string)
4233 (python-open-block-statement-p): Delete functions.
4234 (python-indent-line, python-indent-line-1): Delete functions.
4235 (python-indent-line): New function.
4236 (python-indentation-levels): Delete function.
4237 (python-indent-calculate-levels): New function.
4238 (python-proc): Delete function.
4239 (python-shell-get-process): New function.
4240 (python-send-receive): Delete function.
4241 (python-shell-send-string-no-output): New function.
4242 (python-module-path): Delete function.
4243 (python-ffap-module-path): New function.
4244 (python-completion-at-point)
4245 (python-symbol-completions): Delete functions.
4246 (python-completion-complete-at-point): New function.
4247 (python-load-file): Delete function.
4248 (python-shell-send-file): New function.
4249 (python-calculate-indentation): Delete function.
4250 (python-indent-calculate-indentation): New function.
4251 (python-skip-comments/blanks): Delete function.
4252 (python-util-forward-comment): New function.
4253 (python-continuation-line-p): Delete function.
4254 (python-info-continuation-line-p): New function.
4255 (python-which-func, python-current-defun): Delete function.
4256 (python-info-current-defun): New function.
4257 (python-beginning-of-defun): Delete function.
4258 (python-nav-beginning-of-defun): New function.
4259 (python-close-block-statement-p)
4260 (python-block-end-p): Delete function.
4261 (python-info-closing-block): New function.
4262 (python-comint-output-filter-function)
4263 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4264 (python-fill-comment, python-fill-decorator, python-fill-paren)
4265 (python-fill-string, python-imenu-make-element-tree)
4266 (python-imenu-make-tree, python-imenu-tree-assoc)
4267 (python-indent-context, python-indent-dedent-line)
4268 (python-indent-line-function)
4269 (python-indent-post-self-insert-function)
4270 (python-indent-toggle-levels)
4271 (python-info-assignment-continuation-line-p)
4272 (python-info-beginning-of-backlash)
4273 (python-info-block-continuation-line-p)
4274 (python-info-closing-block-message)
4275 (python-info-line-ends-backslash-p)
4276 (python-info-looking-at-beginning-of-defun)
4277 (python-info-ppss-context, python-info-ppss-context-type)
4278 (python-nav-list-defun-positions, python-nav-read-defun)
4279 (python-nav-sentence-end, python-nav-sentence-start)
4280 (python-pdbtrack-comint-output-filter-function)
4281 (python-pdbtrack-set-tracked-buffer)
4282 (python-shell-calculate-exec-path)
4283 (python-shell-calculate-process-environment)
4284 (python-shell-completion--do-completion-at-point)
4285 (python-shell-completion--get-completions)
4286 (python-shell-completion-complete-at-point)
4287 (python-shell-completion-complete-or-indent)
4288 (python-shell-get-or-create-process)
4289 (python-shell-get-process-name)
4290 (python-shell-internal-get-or-create-process)
4291 (python-shell-internal-get-process-name)
4292 (python-shell-internal-send-string, python-shell-make-comint)
4293 (python-shell-parse-command, python-shell-send-setup-code)
4294 (python-skeleton-add-menu-items)
4295 (python-util-clone-local-variables, python-util-position)
4296 (run-python-internal, python-indentation-levels)
4297 (python-nav-beginning-of-defun)
4298 (python-completion-complete-at-point): New functions.
4299 (run-python): Change arguments. New API requirements.
4300
4301 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4304 (bug#11649).
4305
4306 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4307 (macroexp--expand-all): Use it.
4308
4309 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4310 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4311 Use `cl-function' instead.
4312
4313 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4314
4315 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4316 Suggested by Stefan Monnier while discussing bug#11657.
4317
4318 2012-06-14 Sam Steingold <sds@gnu.org>
4319
4320 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4321
4322 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * play/doctor.el (doctor-doc): Remove parameter and use
4325 doctor-sent instead of sent.
4326 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4327
4328 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * files.el: Require cl-lib.
4331 (file-name-non-special): Replace case -> cl-case.
4332
4333 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4334
4335 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4336 mapping from #' to function*.
4337
4338 2012-06-13 Chong Yidong <cyd@gnu.org>
4339
4340 * mouse.el (mouse-drag-track): Do not set the mark if the user
4341 releases the mouse without selecting anything (Bug#11588).
4342
4343 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4346 as well (bug#11646).
4347
4348 * loadup.el: Count byte-code functions as well.
4349
4350 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4351 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4352
4353 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4354 (bug#11649). Add cl-defun and cl-defmacro.
4355
4356 2012-06-13 Drew Adams <drew.adams@oracle.com>
4357
4358 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4359 Fix last change.
4360
4361 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4362
4363 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4364 Otherwise, it blocks in batch mode.
4365
4366 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4367
4368 * help-mode.el (bookmark-make-record-default): Declare.
4369
4370 2012-06-13 Chong Yidong <cyd@gnu.org>
4371
4372 * emacs-lisp/package.el (list-packages): Compute a list of
4373 packages that are newly-available since the last list-packages
4374 invocation.
4375 (package-menu--new-package-list): New var.
4376 (package-menu--generate, package-menu--print-info)
4377 (package-menu--status-predicate, package-menu-mark-install):
4378 Handle new status label "new".
4379
4380 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4383 conversion to backquotes.
4384
4385 2012-06-12 Chong Yidong <cyd@gnu.org>
4386
4387 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4388 Rename from gud-inhibit-global-bindings.
4389
4390 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4391
4392 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4393 hook from nxml-glyph-set-hook.
4394
4395 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4396 declaration.
4397
4398 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4399
4400 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4401 Convert to defcustom.
4402
4403 2012-06-12 Drew Adams <drew.adams@oracle.com>
4404
4405 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4406 New functions.
4407 (help-mode): Use them.
4408
4409 2012-06-11 Glenn Morris <rgm@gnu.org>
4410
4411 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4412 Use preprocessor face for directives.
4413 (fortran-directive-re): Doc fix.
4414
4415 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4416
4417 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4418 conversion to backquotes (bug#11652).
4419
4420 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4421 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4422 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4423 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4424 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4425 (cl-ninth, cl-tenth): Mark them as inlinable.
4426 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4427 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4428 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4429 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4430 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4431 (cl-list*, cl-adjoin): Don't put an autoload manually.
4432 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4433 (cl--compiler-macro-list*): Add autoload cookie.
4434 (cl--compiler-macro-cXXr): New function.
4435
4436 * help-fns.el (help-fns--compiler-macro): New function extracted from
4437 describe-function-1; follow aliases and use `compiler-macro' property.
4438 (describe-function-1): Use it.
4439
4440 2012-06-11 Chong Yidong <cyd@gnu.org>
4441
4442 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4443 is uninstalled, if imagemagick is installed.
4444
4445 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * emacs-lisp/cl-lib.el: Use lexical-binding.
4448 (cl-map-extents, cl-maclisp-member): Remove.
4449 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4450 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4451 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4452 * emacs-lisp/cl-extra.el: Use lexical-binding.
4453 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4454 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4455 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4456 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4457 * emacs-lisp/cl-seq.el: Use lexical-binding.
4458 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4459 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4460 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4461 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4462 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4463 CL's internals.
4464
4465 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4466
4467 Sync with Tramp 2.2.6-pre.
4468
4469 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4470 `print-length' and `print-level' to nil, in order to avoid
4471 truncation. Reported by Christopher Schmidt
4472 <christopher@ristopher.com>.
4473
4474 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4475
4476 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4477 New defmacro.
4478 (tramp-compat-copy-directory): Add optional argument
4479 COPY-CONTENTS. It is not handled yet.
4480
4481 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4482 (tramp-ftp-file-name-p): Simplify.
4483
4484 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4485 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4486 connection vector.
4487
4488 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4489 (tramp-methods): Do not use `tramp-password-end-of-line'.
4490 (tramp-completion-function-alist-putty): Handle UNIX case.
4491 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4492 (tramp-do-file-attributes-with-stat)
4493 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4494 gid as real numbers. They could run out of integer range on cygwin.
4495 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4496 (tramp-sh-handle-expand-file-name): Handle hops.
4497 (tramp-open-connection-setup-interactive-shell):
4498 Use `tramp-cleanup'. Move check for busyboxes ...
4499 (tramp-find-shell): ... here. Simplify implementation.
4500 Set "remote-shell" property also for alternative shells.
4501 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4502 If failing, a regular file would be written otherwise.
4503 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4504 (tramp-find-inline-encoding): Cache the coding commands in the
4505 process cache. Apply test command on the remote side, if defined.
4506 (tramp-find-inline-compress): Cache the compress commands in the
4507 process cache.
4508 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4509 when requested. Handle hops.
4510 (tramp-current-connection): New defvar.
4511 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4512 Throw `suppress', if there was a failed connection shortly before.
4513 Handle user interrupt. (Bug#10187)
4514 (tramp-get-inline-compress, tramp-get-inline-coding):
4515 Read connection properties from the process cache.
4516
4517 * net/tramp-smb.el (tramp-smb-server-version)
4518 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4519 New defconsts.
4520 (tramp-smb-prompt): Extend for powershell prompt.
4521 (tramp-smb-file-name-handler-alist): Add handlers for
4522 `process-file', `shell-command' and `start-file-process'.
4523 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4524 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4525 (tramp-smb-file-name-p): Simplify.
4526 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4527 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4528 (tramp-smb-shell-quote-argument): New defuns.
4529 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4530 Implement using "tar". By this, time-stamps are preserved.
4531 (tramp-smb-handle-copy-file): Handle also the case of directories.
4532 (tramp-smb-do-file-attributes-with-stat)
4533 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4534 Use `tramp-get-connection-buffer').
4535 (tramp-smb-handle-rename-file): Use "rename", when source and
4536 target are on the same share.
4537 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4538 Use `tramp-smb-server-version'.
4539 (tramp-smb-wait-for-output): Remove prompt.
4540
4541 * net/tramp.el (top): Require 'cl.
4542 (tramp-methods, tramp-rsh-end-of-line):
4543 Remove `tramp-password-end-of-line' from docstring.
4544 (tramp-save-ad-hoc-proxies): New defcustom.
4545 (tramp-completion-function-alist): Adapt docstring.
4546 (tramp-default-password-end-of-line): Remove defcustom.
4547 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4548 (tramp-user-regexp, tramp-file-name-regexp-unified)
4549 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4550 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4551 (tramp-remote-file-name-spec-regexp): New defconst.
4552 (tramp-file-name-structure): Extend structure for hops.
4553 (tramp-get-method-parameter): Move up.
4554 (tramp-file-name-p, tramp-dissect-file-name)
4555 (with-parsed-tramp-file-name): Handle hops.
4556 (tramp-file-name-hop): New defun.
4557 (tramp-make-tramp-file-name): New optional arg HOP.
4558 (tramp-message-show-progress-reporter-message): New defvar.
4559 (tramp-with-progress-reporter): Use it. We cannot use
4560 `tramp-message-show-message' here, because this suppresses also
4561 error buffers.
4562 (tramp-error-with-buffer): Suppress buffer view, if
4563 `tramp-message-show-message' is nil.
4564 Use `tramp-get-connection-buffer'.
4565 (tramp-cleanup): New defun.
4566 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4567 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4568 an error unchanged.
4569 (tramp-completion-handle-file-name-all-completions): Handle hops.
4570 Fix an error when called from ido.
4571 (tramp-completion-dissect-file-name): Use better local variable
4572 name. Add hop to the vector.
4573 (tramp-handle-insert-file-contents): Use progress-reporter for the
4574 whole scenario.
4575 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4576 to `t'.
4577 (tramp-check-for-regexp): Simplify search.
4578 (tramp-enter-password): Remove it. Move implementation ...
4579 (tramp-action-password): ... here.
4580 (tramp-mode-string-to-int, tramp-local-host-p)
4581 (tramp-make-tramp-temp-file, tramp-read-passwd)
4582 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4583 Set tramp-autoload cookie.
4584
4585 * net/trampver.el: Update release number.
4586
4587 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4588 Michael Albinus <michael.albinus@gmx.de>
4589
4590 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4591 (tramp-parse-group, tramp-parse-file)
4592 (tramp-parse-shostkeys-sknownhosts): New defuns.
4593 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4594 (tramp-parse-shosts-group, tramp-parse-sconfig)
4595 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4596 (tramp-parse-sknownhosts, tramp-parse-hosts)
4597 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4598 Use them.
4599 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4600 (tramp-parse-putty-group): Don't narrow.
4601 (tramp-parse-putty): Make a loop.
4602 (tramp-file-name-handler): Catch the `suppress' signal.
4603
4604 2012-06-11 Chong Yidong <cyd@gnu.org>
4605
4606 * image.el (imagemagick-register-types): Put the ImageMagick entry
4607 at the end of image-type-file-name-regexps.
4608
4609 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4610
4611 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4612 (pcase, pcase-let*, pcase-dolist): Use them.
4613
4614 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/pcase.el (pcase--let*): New function.
4617 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4618 (pcase--expand): Use macroexp-let².
4619
4620 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4621
4622 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4623 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4624 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4625 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4626 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4627 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4628
4629 2012-06-10 Glenn Morris <rgm@gnu.org>
4630
4631 * mail/rmail.el (rmail-yank-current-message): Leave point at
4632 correct position. (Bug#11660)
4633
4634 2012-06-10 Chong Yidong <cyd@gnu.org>
4635
4636 * allout-widgets.el: Fix code header.
4637
4638 2012-06-10 Chong Yidong <cyd@gnu.org>
4639
4640 * cus-edit.el (customize-changed-options-previous-release):
4641 Bump to 24.1.
4642
4643 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4644
4645 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4646
4647 2012-06-09 Chong Yidong <cyd@gnu.org>
4648
4649 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4650
4651 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4652
4653 * window.el (special-display-popup-frame): Don't use
4654 window--display-buffer (Bug#11651).
4655
4656 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4657
4658 Fix parallel builds: make sure loaddefs.el is not being written
4659 while Lisp files are compiled.
4660 (compile): Don't depend on 'mh-autoloads'.
4661 (compile-CMD, compile-SH): Depend on 'autoloads'.
4662 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4663
4664 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4665
4666 2012-06-09 Chong Yidong <cyd@gnu.org>
4667
4668 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4669 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4670 Doc fixes (Bug#11225).
4671
4672 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4675 a function if there's a clear indication that it has a compiler-macro.
4676 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4677 (macro-declarations-alist): Add arglist to declaration functions.
4678 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4679 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4680 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4681 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4682 Also add autoload to find the compiler macro.
4683 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4684 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4685 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4686 (cl--compiler-macro-get): New functions, replacing calls to
4687 cl-define-compiler-macro.
4688 (cl-typep) [compiler-macro]: Use macroexp-let².
4689
4690 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4691
4692 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4693 string properly, fixes Bug#11473.
4694
4695 2012-06-08 Chong Yidong <cyd@gnu.org>
4696
4697 * faces.el (set-face-attribute): Doc fix.
4698 (modify-face): Don't use :bold and :italic.
4699 (error, warning, success): Tweak definitions.
4700
4701 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4702 (custom-modified, custom-set, custom-changed, custom-themed)
4703 (custom-saved, custom-button, custom-button-mouse)
4704 (custom-button-pressed, custom-state, custom-comment-tag)
4705 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4706 (custom-group-subtitle): Use new-style face specs.
4707 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4708 (custom-set-face, custom-changed-face, custom-saved-face)
4709 (custom-button-face, custom-button-pressed-face)
4710 (custom-documentation-face, custom-state-face)
4711 (custom-comment-face, custom-comment-tag-face)
4712 (custom-variable-tag-face, custom-variable-button-face)
4713 (custom-face-tag-face, custom-group-tag-face-1)
4714 (custom-group-tag-face): Remove obsolete face alias.
4715
4716 * epa.el (epa-validity-high, epa-validity-medium)
4717 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4718 (epa-field-name, epa-field-body):
4719 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4720 (font-lock-keyword-face, font-lock-builtin-face)
4721 (font-lock-function-name-face, font-lock-variable-name-face)
4722 (font-lock-type-face, font-lock-constant-face):
4723 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4724 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4725 * speedbar.el (speedbar-button-face, speedbar-file-face)
4726 (speedbar-directory-face, speedbar-tag-face)
4727 (speedbar-selected-face, speedbar-highlight-face)
4728 (speedbar-separator-face):
4729 * whitespace.el (whitespace-newline, whitespace-space)
4730 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4731 (whitespace-line, whitespace-space-before-tab)
4732 (whitespace-space-after-tab, whitespace-indentation)
4733 (whitespace-empty):
4734 * emulation/cua-base.el (cua-global-mark):
4735 * eshell/em-prompt.el (eshell-prompt):
4736 * net/newst-plainview.el (newsticker-new-item-face)
4737 (newsticker-old-item-face, newsticker-immortal-item-face)
4738 (newsticker-obsolete-item-face, newsticker-date-face)
4739 (newsticker-statistics-face, newsticker-default-face):
4740 * net/newst-reader.el (newsticker-feed-face)
4741 (newsticker-extra-face, newsticker-enclosure-face):
4742 * net/newst-treeview.el (newsticker-treeview-face)
4743 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4744 (newsticker-treeview-immortal-face)
4745 (newsticker-treeview-obsolete-face)
4746 (newsticker-treeview-selection-face):
4747 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4748 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4749 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4750 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4751 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4752 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4753 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4754 (mpuz-text):
4755 * progmodes/vera-mode.el (vera-font-lock-number)
4756 (vera-font-lock-function, vera-font-lock-interface):
4757 * textmodes/table.el (table-cell): Use new-style face specs, and
4758 don't use the old :bold and :italic attributes.
4759
4760 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4761 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4762 (ebrowse-member-class, ebrowse-progress): Likewise.
4763 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4764 (ebrowse-file-name-face, ebrowse-default-face)
4765 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4766 (ebrowse-progress-face): Remove obsolete faces.
4767
4768 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4769 Inherit from error and warning faces respectively.
4770
4771 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4772 Likewise.
4773 (flyspell-incorrect-face, flyspell-duplicate-face):
4774 Remove obsolete aliases.
4775
4776 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4777
4778 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4779 Avoid infloop.
4780
4781 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * startup.el (argv, argi): Make lexically scoped.
4784 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4785 * emacs-lisp/cl-macs.el: Use lexical-binding.
4786 Rename cl-bind-* to cl--bind-*.
4787 * files.el: Don't require `cl' since it doesn't use it.
4788 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4789
4790 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4791
4792 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4793 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4794 instead of calling external sort utility.
4795 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4796
4797 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4798
4799 * descr-text.el (describe-char): Mention how to insert the
4800 character, if the current input method doesn't support it.
4801 See the discussion in this thread for the details:
4802 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4803
4804 2012-06-08 Sam Steingold <sds@gnu.org>
4805
4806 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4807 XF86Back to previous-buffer.
4808 (minibuffer-local-map): Bind them to next-history-element and
4809 previous-history-element respectively.
4810 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4811 help-go-back respectively.
4812 * info.el (Info-mode-map): Bind them to Info-history-forward and
4813 Info-history-back respectively.
4814 These are the keys next to Up on the ThinkPad keyboard.
4815
4816 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4819 * emacs-lisp/cl-macs.el: Provide itself.
4820 (cl--labels-convert-cache): New var.
4821 (cl--labels-convert): New function.
4822 (cl-flet, cl-labels): New implementation with new semantics, relying on
4823 lexical-binding.
4824 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4825 (cl-closure-vars, cl--function-convert-cache)
4826 (cl--function-convert): Move from cl-macs.el.
4827 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4828 rename by removing the "cl-" prefix.
4829 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4830
4831 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4834 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4835 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4836 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4837 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4838 (cl-hash-table-count): Add old compatibility aliases.
4839
4840 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4841 Use macroexpand-all-environment instead.
4842 (cl--old-macroexpand): New var.
4843 (cl--sm-macroexpand): New function.
4844 (cl-symbol-macrolet): Use it during macro expansion.
4845 (cl--function-convert-cache): New var.
4846 (cl--function-convert): New function, extracted from
4847 cl-macroexpand-all.
4848 (cl-lexical-let): Use it.
4849
4850 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4851 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4852 (cl-member): Remove old alias.
4853
4854 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4855 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4856 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4857 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4858 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4859 (cl-macroexpand-cmacs): Remove var.
4860 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4861 Use macroexpand-all instead.
4862
4863 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4866 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4867 (macroexp-copyable-p): New functions and macros.
4868 * emacs-lisp/edebug.el (edebug-unwrap):
4869 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4870 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4871 (pcase--let*): Remove.
4872 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4873 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4874 macroexp-const-p instead.
4875 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4876
4877 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4878 instead of "cl-" for internal definitions. Use macroexp-const-p.
4879 (cl-old-bc-file-form): Remove var.
4880 (cl-const-exprs-p): Remove fun.
4881 (cl-labels, cl-macrolet): Use backquote.
4882 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4883 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4884 (cl-define-setf-expander): Rename from cl-define-setf-method.
4885 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4886
4887 * international/mule-cmds.el: Don't require CL.
4888 (view-hello-file): Don't use `letf'.
4889
4890 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * tmm.el (tmm-prompt): Use string-prefix-p.
4893 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4894 (tmm-add-prompt): Use minibuffer-completion-help.
4895 (tmm-delete-map): Remove.
4896
4897 * subr.el (kbd): Make it its own function.
4898
4899 2012-06-07 Stefan Merten <smerten@oekonux.de>
4900
4901 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4902 Silence compiler warnings. Fix versions.
4903 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4904 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4905 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4906 (rst-package-emacs-version-alist): Correct Emacs version to
4907 represent major merge with upstream.
4908 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4909
4910 2012-06-06 Glenn Morris <rgm@gnu.org>
4911
4912 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4913 Only print environment variables if set.
4914
4915 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4918 (macroexp--cons): Rename from maybe-cons.
4919 (macroexp--accumulate): Rename from macroexp-accumulate.
4920 (macroexp--all-forms): Rename from macroexpand-all-forms.
4921 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4922 (macroexp--expand-all): Rename from macroexpand-all-1.
4923
4924 2012-06-06 Sam Steingold <sds@gnu.org>
4925
4926 * calendar/calendar.el (calendar-in-read-only-buffer):
4927 Call `special-mode' to enable the standard read-only keybindings.
4928
4929 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4932 with "loading" messages (bug#11635).
4933
4934 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4935
4936 * files.el (enable-remote-dir-locals): New option.
4937 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4938
4939 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4940 Ensure, that the temp directory is local.
4941
4942 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4943 `temporary-file-directory'.
4944
4945 * progmodes/python.el (python-send-region): Ensure, that the
4946 temporary file is created also in the remote case.
4947
4948 2012-06-06 Glenn Morris <rgm@gnu.org>
4949
4950 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4951 (vc-rcs-update-changelog): Use it.
4952
4953 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4954
4955 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4956 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4957 (vc-sccs-diff): Replace use of the external vcdiff script.
4958
4959 2012-06-05 Glenn Morris <rgm@gnu.org>
4960
4961 * ledit.el: Move to obsolete/.
4962
4963 2012-06-05 Sam Steingold <sds@gnu.org>
4964
4965 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4966 patch (Bug#11140).
4967
4968 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/cust-print.el: Move to obsolete.
4971
4972 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4973 compiler-macro expansion.
4974
4975 Add native compiler-macro support.
4976 * emacs-lisp/macroexp.el (macroexpand-all-1):
4977 Support compiler-macros directly. Properly follow aliases and apply
4978 the compiler macros more thoroughly.
4979 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4980 macroexpand now properly follows aliases.
4981 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4982 (cl-compiler-macroexpand): Use new prop.
4983 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4984
4985 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4986
4987 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4988
4989 * window.el (get-lru-window, get-mru-window, get-largest-window):
4990 New argument NOT-SELECTED to avoid picking the selected window.
4991 (window--display-buffer-1, window--display-buffer-2): Replace by
4992 new function window--display-buffer
4993 (display-buffer-same-window, display-buffer-reuse-window)
4994 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4995 Use window--display-buffer.
4996 (display-buffer-use-some-window): Remove temporary dedication
4997 hack by calling get-lru-window and get-largest-window with
4998 NOT-SELECTED argument non-nil. Call window--display-buffer.
4999
5000 2012-06-05 Glenn Morris <rgm@gnu.org>
5001
5002 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5003 Replace external vcdiff script.
5004
5005 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5006
5007 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5008
5009 2012-06-04 Chong Yidong <cyd@gnu.org>
5010
5011 * image.el (imagemagick-types-inhibit): Revert last change.
5012 Add INFO and M.
5013 (imagemagick-enabled-types): Remove CIN and EPS*.
5014
5015 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5016
5017 * emacs-lisp/cl-lib.el: Rename from cl.el.
5018 * emacs-lisp/cl.el: New compatibility file.
5019 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5020 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5021 to obey the "cl-" prefix.
5022 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5023
5024 2012-06-03 Glenn Morris <rgm@gnu.org>
5025
5026 * emacs-lisp/authors.el (authors-aliases): Addition.
5027
5028 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5029 Fix :version.
5030
5031 2012-06-03 Stefan Merten <smerten@oekonux.de>
5032
5033 * textmodes/rst.el: Add comments.
5034 (rst-transition, rst-adornment): New faces.
5035 (rst-adornment-faces-alist): Make default safe to reevaluate.
5036 Fixes
5037 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5038 Improve customization tags.
5039 (rst-define-level-faces): Clarify meaning.
5040
5041 2012-06-03 Chong Yidong <cyd@gnu.org>
5042
5043 * progmodes/compile.el (compilation-mode-line-fail)
5044 (compilation-mode-line-run, compilation-mode-line-exit):
5045 New faces.
5046 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5047
5048 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5049
5050 * progmodes/which-func.el (which-func-update-ediff-windows):
5051 New function. Use it in ediff-select-hook (Bug#11478).
5052
5053 2012-06-03 Chong Yidong <cyd@gnu.org>
5054
5055 * bindings.el: Remove explicit help text from format-mode-line.
5056 It is now supplied by mode-line-default-help-echo.
5057 (mode-line-front-space, mode-line-end-spaces)
5058 (mode-line-misc-info): New variables.
5059 (mode-line-modes, mode-line-position): Move the default value to
5060 the variable definition.
5061 (mode-line-default-help-echo): New defcustom.
5062 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5063 (mode-line-modified-help-echo): New functions.
5064 (mode-line-mule-info, mode-line-modified): Use them.
5065 (mode-line-eol-desc, propertized-buffer-identification):
5066 Consistency fixes for help text.
5067 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5068 set-buffer-file-coding-system (Bug#289).
5069 (mode-line-mule-info-help-echo): Update help text.
5070
5071 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * simple.el (execute-extended-command): Set real-this-command
5074 (bug#11506).
5075
5076 2012-06-02 Chong Yidong <cyd@gnu.org>
5077
5078 Remove incorrect uses of "modeline" in comments, docstrings, and
5079 function/variable names (Bug#10329).
5080
5081 * cus-edit.el (mode-line):
5082 * dframe.el (dframe-mouse-hscroll):
5083 * emacs-lisp/re-builder.el:
5084 * emacs-lisp/easy-mmode.el (define-minor-mode):
5085 * frame.el (set-frame-name):
5086 * help.el (lookup-minor-mode-from-indicator):
5087 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5088 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5089 (c-toggle-hungry-state):
5090 * progmodes/antlr-mode.el (antlr-language-alist):
5091 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5092 * progmodes/vhdl-mode.el (vhdl-mode):
5093 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5094 * term/ns-win.el (ns-face-at-pos):
5095 * term/sup-mouse.el (sup-mouse-report):
5096 * textmodes/flyspell.el (flyspell-mode-line-string):
5097 * textmodes/ispell.el (ispell-highlight-face):
5098 * textmodes/reftex-global.el:
5099 * vc/vc-arch.el (vc-arch-mode-line-string):
5100 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5101 * vc/vc-git.el (vc-git-mode-line-string):
5102 * vc/vc-hooks.el (vc-display-status)
5103 (vc-default-mode-line-string):
5104 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5105
5106 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5107
5108 * dired.el (dired-sort-set-mode-line): Rename from
5109 dired-sort-set-modeline. All callers changed.
5110
5111 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5112 eshell-status-in-modeline.
5113
5114 * foldout.el (foldout-mode-line-string): Rename from
5115 foldout-modeline-string. All callers changed.
5116 (foldout-update-mode-line): Rename from foldout-update-modeline.
5117
5118 * subr.el (redraw-modeline): Make into obsolete alias.
5119
5120 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5121 timeclock-modeline-display. Make old name an alias.
5122 (timeclock-update-mode-line): Likewise. All callers changed.
5123 (timeclock-mode-line-display): No need to check before using
5124 add-hook.
5125 (timeclock-relative, timeclock-day-over-hook)
5126 (timeclock-use-elapsed, timeclock-mode-string)
5127 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5128
5129 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5130 crisp-mode-modeline-string.
5131
5132 * play/solitaire.el (solitaire-build-mode-line): Rename from
5133 solitaire-build-modeline. All callers changed.
5134
5135 * play/zone.el (zone-hiding-mode-line): Rename from
5136 zone-hiding-modeline. All callers changed.
5137 (zone): Remove unusued `modeline-hidden-level' property.
5138
5139 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5140 xscheme-modeline-initialize. All callers changed.
5141
5142 * strokes.el (strokes-lighter): Rename from
5143 strokes-modeline-string.
5144
5145 * textmodes/sgml-mode.el (html-face-tag-alist)
5146 (html-tag-face-alist): Use mode-line face instead of obsolete
5147 alias modeline.
5148
5149 2012-06-02 Stefan Merten <smerten@oekonux.de>
5150
5151 * textmodes/rst.el: Always require `cl'.
5152 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5153
5154 2012-06-02 Chong Yidong <cyd@gnu.org>
5155
5156 * image.el (imagemagick-enabled-types): Rename from
5157 imagemagick-types-enable. Add many more types.
5158 (imagemagick-types-inhibit): Change default to nil.
5159 (imagemagick-filter-types): Caller changed.
5160
5161 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/cl-macs.el: Use backquotes.
5164 (cl-transform-function-property): Use eval-and-compile rather than
5165 abusing `require'.
5166 (defstruct): Use declare-function instead of with-no-warnings.
5167
5168 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5169 (byte-compile-output-docform): Re-add the print-circle bindings.
5170 (byte-compile-fix-header): Use #$ just because it's shorter.
5171 (byte-compile-output-file-form): Remove defun/defmacro.
5172
5173 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5174
5175 * simple.el (choose-completion): Remove now obsolete binding for
5176 owindow.
5177
5178 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5181 in order to avoid "Stack overflow in regexp matcher".
5182
5183 2012-05-31 Glenn Morris <rgm@gnu.org>
5184
5185 * image.el: For clarity, call imagemagick-register-types at
5186 top-level, rather than relying on a custom :initialize.
5187 (imagemagick-types-enable): New option. (Bug#11557)
5188 (imagemagick-filter-types): New function. (Bug#7406)
5189 (imagemagick-register-types): Use imagemagick-filter-types.
5190 If disabling support, remove elements altogether rather
5191 than using an impossible regexp.
5192 (imagemagick-types-inhibit): Give it the default init function.
5193
5194 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5197 Handle arbitrary file name lengths (Bug#11585).
5198
5199 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5200
5201 * desktop.el (desktop-read): Clear previous and next buffers for
5202 all windows and bury *Messages* buffer (bug#11556).
5203
5204 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 Add `declare' for `defun'. Align `defmacro's with it.
5207 * emacs-lisp/easy-mmode.el (define-minor-mode)
5208 (define-globalized-minor-mode): Don't autoload the var definitions.
5209 * emacs-lisp/byte-run.el: Use lexical-binding.
5210 (defun-declarations-alist, macro-declarations-alist): New vars.
5211 (defmacro, defun): Use them.
5212 (make-obsolete, define-obsolete-function-alias)
5213 (make-obsolete-variable, define-obsolete-variable-alias):
5214 Use `declare'.
5215 (macro-declaration-function): Mark obsolete.
5216 * emacs-lisp/autoload.el: Use lexical-binding.
5217 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5218
5219 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5220
5221 * textmodes/ispell.el (ispell-with-no-warnings):
5222 Define as a macro.
5223 (ispell-kill-ispell, ispell-change-dictionary):
5224 Use `called-interactively-p' for Emacs instead of obsolete
5225 `interactive-p'.
5226
5227 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5230 (macro-declaration-function): Move var from C code.
5231 (macro-declaration-function): Define function with defalias.
5232 * emacs-lisp/macroexp.el (macroexpand-all-1):
5233 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5234 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5235 defun/defmacro any more.
5236 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5237 Provide fallback for unknown arglist.
5238 (byte-compile-arglist-warn): Change calling convention.
5239 (byte-compile-output-file-form): Move print-vars binding.
5240 (byte-compile-output-docform): Simplify accordingly.
5241 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5242 (byte-compile-defmacro-declaration): Remove.
5243 (byte-compile-file-form-defmumble): Generalize to defalias.
5244 (byte-compile-output-as-comment): Return byte-positions.
5245 Simplify callers accordingly.
5246 (byte-compile-lambda): Use `assert'.
5247 (byte-compile-defun, byte-compile-defmacro): Remove.
5248 (byte-compile-file-form-defalias):
5249 Use byte-compile-file-form-defmumble.
5250 (byte-compile-defalias-warn): Remove.
5251
5252 2012-05-29 Stefan Merten <smerten@oekonux.de>
5253
5254 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5255 possible. Fix authors. Improve comments. Improve loading of `cl'.
5256
5257 (rst-mode-abbrev-table): Merge definition.
5258 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5259 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5260
5261 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5262
5263 * calendar/icalendar.el
5264 (icalendar-export-region): Export UID properly.
5265
5266 2012-05-29 Leo Liu <sdl.web@gmail.com>
5267 * calendar/icalendar.el (icalendar-import-format):
5268 Add `icalendar-import-format-uid' (Bug#11525).
5269 (icalendar-import-format-uid): New.
5270 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5271 Export UID.
5272
5273 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5276 different alternative patterns.
5277 (pcase-codegen): Be more careful to preserve identity.
5278 (pcase--u1): Don't forget to mark vars as used.
5279
5280 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5281 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5282 (byte-compile-from-buffer): ...rather than here.
5283
5284 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5285 functions from byte-compile-function-environment.
5286
5287 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5288
5289 * window.el (window-deletable-p): Avoid deleting the root window
5290 of a frame with an active minibuffer.
5291
5292 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5293
5294 * simple.el (choose-completion): Use quit-window (Bug#11567).
5295
5296 2012-05-29 Chong Yidong <cyd@gnu.org>
5297
5298 * whitespace.el (whitespace-cleanup): Fix usage of
5299 whitespace-empty-at-bob-regexp (Bug#11492).
5300
5301 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5302
5303 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5304 revert (Bug#11488).
5305
5306 2012-05-29 Juri Linkov <juri@jurta.org>
5307
5308 * isearch.el (isearch-mode-map): Bind `M-s _' to
5309 `isearch-toggle-symbol'. Bind `M-s c' to
5310 `isearch-toggle-case-fold'.
5311 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5312 (isearch-forward): Add `M-s _' to the docstring.
5313 (isearch-forward-symbol, isearch-toggle-case-fold)
5314 (isearch-symbol-regexp): New functions. (Bug#11381)
5315
5316 2012-05-29 Juri Linkov <juri@jurta.org>
5317
5318 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5319 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5320 a function, call it to get the regexp.
5321 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5322 property `isearch-message-prefix' instead of the string "word ".
5323 (isearch-search-fun-default): For the case of `isearch-word',
5324 return a lambda that calls re-search-forward/re-search-backward
5325 with a regexp returned by `word-search-regexp' or by the function
5326 in `isearch-word'.
5327
5328 2012-05-29 Juri Linkov <juri@jurta.org>
5329
5330 * isearch.el (isearch-search-fun-default): New function.
5331 (isearch-search-fun): Move default part to the new function
5332 `isearch-search-fun-default'.
5333 (isearch-search-fun-function): Set the default value to
5334 `isearch-search-fun-default'. (Bug#11381)
5335
5336 * comint.el (comint-history-isearch-end):
5337 Use `isearch-search-fun-default'.
5338 (comint-history-isearch-search): Use `isearch-search-fun-default'
5339 and remove spacial case for `isearch-word'.
5340 (comint-history-isearch-wrap): Remove spacial case for
5341 `isearch-word'.
5342
5343 * hexl.el (hexl-isearch-search-function):
5344 Use `isearch-search-fun-default'.
5345
5346 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5347 Use `word-search-regexp' for `isearch-word'.
5348
5349 * misearch.el (multi-isearch-search-fun):
5350 Use `isearch-search-fun-default'.
5351
5352 * simple.el (minibuffer-history-isearch-search):
5353 Use `isearch-search-fun-default' and remove spacial case for
5354 `isearch-word'.
5355 (minibuffer-history-isearch-wrap): Remove spacial case for
5356 `isearch-word'.
5357
5358 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5359 Remove spacial case for `isearch-word'.
5360 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5361
5362 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5363
5364 Decrease XEmacs incompatibilities.
5365 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5366 Use `string-match'.
5367 (flyspell-delete-region-overlays): Use alternative definition for
5368 XEmacs.
5369 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5370 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5371 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5372 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5373 `define-obsolete-face-alias' under XEmacs, but old method.
5374
5375 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5376 `with-no-warnings' definition or Emacs alias.
5377 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5378 (ispell-word): Do not use `region-p' if XEmacs.
5379
5380 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5381
5382 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5383 Check for `ispell-dictionary-base-alist' instead of full
5384 `ispell-dictionary-alist'.
5385 (ispell-init-process): Show spellchecker when starting new Ispell
5386 process.
5387
5388 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5391 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5392
5393 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5394
5395 * version.el (motif-version-string, gtk-version-string)
5396 (ns-version-string): Declare.
5397
5398 2012-05-27 Juri Linkov <juri@jurta.org>
5399
5400 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5401 after the `eval-defun-1' specialcaseing
5402 like in `edebug-eval-defun' (bug#10181).
5403
5404 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5405 like in `eval-defun-1'.
5406
5407 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5408
5409 * mail/sendmail.el (mail-yank-region):
5410 Recognize rmail-yank-current-message in addition to insert-buffer.
5411 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5412 a *mail* buffer created through rmail-start-mail with sendmail as
5413 mail-user-agent.
5414
5415 2012-05-27 Chong Yidong <cyd@gnu.org>
5416
5417 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5418 Default to 256 (Bug#11267).
5419
5420 * help.el (describe-mode): Doc fix.
5421
5422 2012-05-26 Glenn Morris <rgm@gnu.org>
5423
5424 * w32-fns.el (w32-init-info): Remove.
5425 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5426
5427 * info.el (info-initialize): For self-contained NS builds, put the
5428 included info/ directory at the front. (Bug#2791)
5429
5430 * paths.el (Info-default-directory-list): Make it a defcustom,
5431 mainly so that we can use custom-initialize-delay.
5432
5433 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * subr.el (buffer-has-markers-at): Mark obsolete.
5436
5437 * subr.el (lambda): Use declare.
5438
5439 * emacs-lisp/lisp-mode.el (lambda):
5440 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5441
5442 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5443
5444 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5445
5446 2012-05-26 Glenn Morris <rgm@gnu.org>
5447
5448 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5449
5450 2012-05-25 Glenn Morris <rgm@gnu.org>
5451
5452 * paths.el: Remove no-byte-compile.
5453 * loadup.el: No need to load paths.el uncompiled.
5454
5455 * image.el (imagemagick-types-inhibit): Doc fix.
5456
5457 * version.el: Remove no-byte-compile and associated formatting.
5458 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5459 is ancient code from when there was an "inc-vers.el".
5460
5461 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * progmodes/gdb-mi.el: Minor style changes.
5464 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5465 Turn into minor modes.
5466 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5467 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5468 (gdb-shell): Remove unneeded let-binding.
5469 (gdb-get-many-fields): Eliminate O(n²) behavior.
5470
5471 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5472
5473 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5474 platforms that don't link in fontset.c.
5475
5476 2012-05-25 Juri Linkov <juri@jurta.org>
5477
5478 Use the same diff color scheme as in modern VCSes (bug#10181).
5479
5480 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5481 to avoid confusion with `diff-added' that now uses green colors.
5482 (diff-removed): Use shades of red.
5483 (diff-added): Use shades of green.
5484 (diff-changed): Leave just the yellow color.
5485 (diff-use-changed-face): New variable.
5486 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5487 how to highlight context diff changes.
5488 (diff-refine-change): Use shades of yellow.
5489 (diff-refine-removed): New face that uses shades of red.
5490 (diff-refine-added): New face that uses shades of green.
5491 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5492 `diff-refine-removed' in the call to `smerge-refine-subst'
5493 depending on the value of `diff-use-changed-face'.
5494
5495 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5496 (smerge-other): Use shades of green.
5497 (smerge-base): Use shades of yellow.
5498 (smerge-refined-change): Empty face.
5499 (smerge-refined-removed): New face that uses shades of red.
5500 (smerge-refined-added): New face that uses shades of green.
5501 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5502 args `props-r' and `props-a', and use them. Doc fix.
5503 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5504 on its value use different faces `smerge-refined-change',
5505 `smerge-refined-removed', `smerge-refined-added' in the call to
5506 `smerge-refine-subst'.
5507
5508 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5509 Add face condition `min-colors 88' with shades of red.
5510 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5511 `min-colors 88' with shades of green.
5512 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5513 `min-colors 88' with shades of yellow.
5514
5515 2012-05-24 Glenn Morris <rgm@gnu.org>
5516
5517 * paths.el (prune-directory-list, remote-shell-program): Move to...
5518 * files.el (prune-directory-list, remote-shell-program): ...here.
5519 For the latter, delay initialization, prefer ssh, just search PATH.
5520
5521 * paths.el (term-file-prefix): Move to faces.el (the only user).
5522 * faces.el (term-file-prefix): Move here, make it a defcustom.
5523
5524 * paths.el (news-directory, news-path, news-inews-program):
5525 Move to gnus/nnspool.el.
5526
5527 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5528
5529 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5530 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5531 Make the latter a defcustom, with a delayed initialization.
5532
5533 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5534 These were deleted from Gnus itself late 2010.
5535
5536 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5537
5538 * progmodes/which-func.el (which-func-ff-hook):
5539 Check against user-error, not error.
5540
5541 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5542 cl-specs.el, which no longer exists.
5543
5544 2012-05-22 Glenn Morris <rgm@gnu.org>
5545
5546 * info.el (info-emacs-bug): New command.
5547 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5548 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5549
5550 2012-05-21 Glenn Morris <rgm@gnu.org>
5551
5552 * makefile.w32-in (update-subdirs-SH):
5553 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5554
5555 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5558
5559 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5560 Simplify Maven regexp, and make sure the file can't start with a space
5561 (bug#11517).
5562
5563 2012-05-21 Glenn Morris <rgm@gnu.org>
5564
5565 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5566 Scrap superfluous subshells.
5567
5568 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5571 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5572
5573 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5574
5575 * calc/calc.el (calc-ensure-consistent-units): New variable.
5576
5577 * calc/calc-units.el (math-consistent-units-p)
5578 (math-check-unit-consistency): New functions.
5579 (calc-quick-units, calc-convert-units):
5580 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5581 is non-nil.
5582 (calc-extract-units): Fix typo.
5583
5584 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5587
5588 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5589 (flyspell-default-deplacement-commands): Don't spell check after
5590 repeated window/frame switches (e.g. triggered by mouse-movement).
5591 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5592 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5593 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5594 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5595 Remove unused vars.
5596 (flyspell-get-casechars, flyspell-get-not-casechars):
5597 Simplify; Don't bother removing a ] just to add it back.
5598 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5599
5600 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5601
5602 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5603 New functions.
5604 (math-function-table): Add support for more C functions.
5605
5606 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5607
5608 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5609 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5610 Protect delay handling for otherchars against empty otherchars.
5611
5612 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5615 their respective macro declarations.
5616 * skeleton.el (define-skeleton):
5617 * progmodes/compile.el (define-compilation-mode):
5618 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5619 (define-ibuffer-filter):
5620 * emacs-lisp/generic.el (define-generic-mode):
5621 * emacs-lisp/easy-mmode.el (define-minor-mode)
5622 (define-globalized-minor-mode):
5623 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5624 * emacs-lisp/byte-run.el (defsubst):
5625 * custom.el (deftheme): Add doc-string metadata.
5626
5627 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5630
5631 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5634
5635 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5636 * emacs-lisp/cl-macs.el: Idem.
5637 * emacs-lisp/cl-specs.el: Remove.
5638
5639 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 Minor renaming of internal CL functions and variables.
5642 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5643 (cl--position): Rename from cl-position.
5644 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5645 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5646 (cl--random-state): Rename from *random-state*.
5647
5648 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5651 parens around the arg list (bug#11499).
5652
5653 2012-05-17 Juri Linkov <juri@jurta.org>
5654
5655 * isearch.el (word-search-regexp, word-search-backward)
5656 (word-search-forward, word-search-backward-lax)
5657 (word-search-forward-lax): Move functions from search.c
5658 (bug#10145, bug#11381).
5659
5660 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5661
5662 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5663 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5664 Delay for otherchars as for normal word components.
5665
5666 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * minibuffer.el (completion--sifn-requote): Fix last change.
5669 (minibuffer-local-must-match-filename-map):
5670 Move define-obsolete-variable-alias before its var.
5671
5672 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5673
5674 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5675
5676 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5677 behavior.
5678 (completion--string-equal-p): New function.
5679 (completion--twq-all): Use it to get better assertion failure data.
5680
5681 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5682 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5683 (shell--requote-argument): New functions.
5684 (shell-completion-vars): Use them.
5685 (shell--parse-pcomplete-arguments): Rename from
5686 shell-parse-pcomplete-arguments.
5687 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5688 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5689 Obey comint-file-name-quote-list.
5690
5691 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5692 (smie-indent-keyword): Use it.
5693
5694 2012-05-14 Stefan Merten <smerten@oekonux.de>
5695
5696 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5697
5698 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * net/rlogin.el (rlogin-mode-map): Fix last change.
5701
5702 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5703
5704 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5705 the following \r\n using a single `process-send-string', since the
5706 Lotus SMTP server refuses to accept any commands if they are sent
5707 with two `process-send-string's (Bug#11444).
5708
5709 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * shell.el (shell-parse-pcomplete-arguments):
5712 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5713
5714 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5715
5716 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5717 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5718 (image-transform-width, image-transform-fit-width): New functions.
5719 (image-transform-properties): Use them.
5720 (image-transform-check-size): New function.
5721 (image-toggle-display-image): Use it (for testing).
5722 (image-transform-set-rotation): Reduce angle mod 360.
5723 Delete obsolete comment.
5724
5725 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5726
5727 * image-mode.el: Fix scaling (bug#11399).
5728 (image-transform-resize): Doc fix.
5729 (image-transform-properties): Default scale is 1 and height should
5730 be an integer.
5731
5732 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5733
5734 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5735 than hard-coding `car', to fix misbehavior when moving forward.
5736
5737 2012-05-13 Chong Yidong <cyd@gnu.org>
5738
5739 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5740 (tabulated-list-entries, tabulated-list-padding)
5741 (tabulated-list-sort-key): Make permanent-local.
5742
5743 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5744 (electric-buffer-list): Put electric buffer menu
5745 command descriptions in this docstring, instead of the docstring
5746 of electric-buffer-menu-mode. Code cleanups.
5747 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5748 Electric-buffer-menu-mode.
5749 (electric-buffer-update-highlight): Minor code cleanup.
5750
5751 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5754 (Bug#11447)
5755
5756 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 Move define-obsolete-variable-alias before the var's definition.
5759 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5760 * tooltip.el (tooltip-hook):
5761 * textmodes/reftex-toc.el (reftex-toc-map):
5762 * textmodes/reftex-sel.el (reftex-select-label-map)
5763 (reftex-select-bib-map):
5764 * textmodes/reftex-index.el (reftex-index-map)
5765 (reftex-index-phrases-map):
5766 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5767 * progmodes/meta-mode.el (meta-mode-map):
5768 * novice.el (disabled-command-hook):
5769 * loadhist.el (unload-hook-features-list):
5770 * frame.el (blink-cursor):
5771 * files.el (find-file-not-found-hooks, write-file-hooks)
5772 (write-contents-hooks):
5773 * emulation/tpu-edt.el (GOLD-map):
5774 * emacs-lock.el (emacs-lock-from-exiting):
5775 * emacs-lisp/generic.el (generic-font-lock-defaults):
5776 * emacs-lisp/chart.el (chart-map):
5777 * dos-fns.el (register-name-alist):
5778 * dired-x.el (dired-omit-files-p):
5779 * desktop.el (desktop-enable):
5780 * cus-edit.el (custom-mode-hook):
5781 * buff-menu.el (buffer-menu-mode-hook):
5782 * bookmark.el (bookmark-read-annotation-text-func)
5783 (bookmark-exit-hooks):
5784 * allout.el (allout-mode-deactivate-hook)
5785 (allout-exposure-change-hook, allout-structure-added-hook)
5786 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5787 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5788 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5789 comes before the corresponding variable's definition.
5790
5791 2012-05-12 Chong Yidong <cyd@gnu.org>
5792
5793 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5794 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5795 (Buffer-menu-mode-map): Bind it.
5796 (Buffer-menu--pretty-name): Add a mouse-face property.
5797
5798 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5801 (prolog-upper-case-string, prolog-lower-case-string)
5802 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5803 (prolog-use-smie, prolog-smie-grammar): New vars.
5804 (prolog-smie-forward-token, prolog-smie-backward-token)
5805 (prolog-smie-rules): New funs.
5806 (prolog-comment-indent): Remove.
5807 (prolog-mode-variables): Use default comment indentation instead.
5808 Setup SMIE.
5809 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5810 (prolog-mode): Don't call them any more.
5811 (prolog-electric-colon, prolog-electric-dash)
5812 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5813
5814 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5815
5816 * minibuffer.el (completion--twq-all): Again, allow case differences.
5817
5818 * term.el: Move keymap initialization code to be more idiomatic.
5819 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5820 (term-terminal-menu): Move initialization into declaration.
5821 (term-escape-char): Let the user set it in her .emacs.
5822
5823 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5824 Provide SMIE-based indentation (not enabled by default yet).
5825 (sh-mode-map): Don't bind electric keys.
5826 Use electric-pair-mode instead of skeleton-pair.
5827 (sh-assignment-regexp): Fit within 80 columns.
5828 (sh-indent-supported): Specify actual shell name instead of boolean.
5829 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5830 (sh-maybe-here-document): Use it. Make obsolete.
5831 (sh-electric-here-document-mode) New minor mode.
5832 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5833 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5834 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5835 (sh-smie-rc-grammar, sh-use-smie): New vars.
5836 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5837 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5838 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5839 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5840 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5841 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5842 (sh-set-shell): Use smie-setup if requested.
5843
5844 * term.el (term-set-escape-char): Properly set term-escape-char.
5845 See http://stackoverflow.com/questions/10524656.
5846
5847 2012-05-10 Chong Yidong <cyd@gnu.org>
5848
5849 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5850 Use url-generic-parse-url, and handle host names and Windows
5851 filenames properly.
5852 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5853 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5854 URL schemes to work on.
5855 (ffap--toggle-read-only): New function.
5856 (ffap-read-only, ffap-read-only-other-window)
5857 (ffap-read-only-other-frame): Use it.
5858 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5859 necessary for ffap-url-unwrap-remote.
5860
5861 2012-05-10 Dave Abrahams <dave@boostpro.com>
5862
5863 * cus-start.el (create-lockfiles): Add it.
5864
5865 2012-05-09 Chong Yidong <cyd@gnu.org>
5866
5867 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5868 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5869
5870 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5873
5874 2012-05-09 Chong Yidong <cyd@gnu.org>
5875
5876 * ansi-color.el (ansi-color-process-output): Check for validity of
5877 comint-last-output-start before using it. This avoids a bad
5878 interaction with gdb-mi's input/output buffer.
5879
5880 2012-05-09 Glenn Morris <rgm@gnu.org>
5881
5882 * files.el (dir-locals-read-from-file):
5883 Mention dir-locals in any error message.
5884
5885 2012-05-09 Chong Yidong <cyd@gnu.org>
5886
5887 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5888 package (Bug#11410).
5889
5890 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5891 variables into description.
5892
5893 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5896 shell-delimiter-argument-list (bug#11348).
5897 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5898
5899 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * textmodes/rst.el: Silence byte-compiler warnings.
5902 (rst-re-alist, rst-reset-section-caches): Move around.
5903 (rst-re): Use `characterp', not `char-valid-p'.
5904 (font-lock-beg, font-lock-end): Declare.
5905
5906 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5907 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5908
5909 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5910
5911 2012-05-08 Glenn Morris <rgm@gnu.org>
5912
5913 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5914
5915 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * vc/log-edit.el: Add GNU coding standards highlighting.
5918 (log-edit-font-lock-gnu-style)
5919 (log-edit-font-lock-gnu-keywords): New vars.
5920 (log-edit-font-lock-keywords): New fun.
5921 (log-edit-mode): Don't fold case in font-lock.
5922 (log-edit-font-lock-keywords): Do not assume case-folding.
5923
5924 * imenu.el: Misc cleanup. Make docstrings out of comments.
5925 Use lexical-binding.
5926 (imenu--index-alist, imenu--last-menubar-index-alist)
5927 (imenu-menubar-modified-tick): Use defvar-local.
5928 (imenu--split-menu): Remove unused var.
5929 (imenu--cleanup-seen): Declare as global.
5930 (imenu--cleanup): Use dolist.
5931
5932 * subr.el (defvar-local): Add debug spec and doc-string position.
5933
5934 2012-05-08 Glenn Morris <rgm@gnu.org>
5935
5936 * language/burmese.el, language/cham.el, language/czech.el:
5937 * language/english.el, language/georgian.el, language/greek.el:
5938 * language/japanese.el, language/khmer.el, language/korean.el:
5939 * language/lao.el, language/misc-lang.el, language/romanian.el:
5940 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5941 * language/thai.el, language/utf-8-lang.el:
5942 Remove no-byte-compile setting.
5943
5944 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5945
5946 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5947
5948 * progmodes/make-mode.el (makefile-browse):
5949 Remove unnecessary interactive. (Bug#11324)
5950
5951 2012-05-07 Glenn Morris <rgm@gnu.org>
5952
5953 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5954
5955 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5956
5957 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * loadup.el: Preload newcomment.el.
5960 * newcomment.el: Move autoload-only code to toplevel.
5961
5962 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5963 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5964 Handle new :right-align column property.
5965 (tabulated-list-print-col): Idem, plus use `display' text-property to
5966 try and preserve alignment for variable pitch fonts.
5967
5968 2012-05-07 Chong Yidong <cyd@gnu.org>
5969
5970 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5971 (tabulated-list-use-header-line): New var.
5972 (tabulated-list-init-header): Use it.
5973 (tabulated-list-print-fake-header): New function.
5974 (tabulated-list-print): Use it.
5975 (tabulated-list-sort-button-map): Add non-header-line commands.
5976 (tabulated-list-init-header): Add column name property to basic
5977 labels as well.
5978 (tabulated-list-col-sort): Handle non-header-line button case.
5979 (tabulated-list--sort-by-column-name): Fix a corner case.
5980
5981 * buff-menu.el (list-buffers--refresh):
5982 Handle Buffer-menu-use-header-line.
5983
5984 2012-05-06 Chong Yidong <cyd@gnu.org>
5985
5986 * buff-menu.el: Convert to Tabulated List mode.
5987 (Buffer-menu-buffer+size-width): Make obsolete.
5988 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5989 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5990 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5991 documentation into docstring of buffer-menu.
5992 (Buffer-menu-toggle-files-only): Add an informative message.
5993 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5994 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5995 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5996 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5997 (Buffer-menu-execute, Buffer-menu-select)
5998 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5999 (Buffer-menu-bury): Use Tabulated List machinery.
6000 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6001 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6002 Delete.
6003 (list-buffers--refresh): New function.
6004 (list-buffers-noselect): Use it.
6005 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6006 (Buffer-menu--pretty-file-name): New helper functions.
6007
6008 * loadup.el: Preload tabulated-list.
6009
6010 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6011 tabulated-list-sort-column.
6012 (tabulated-list-init-header): Add the initial aligning space even
6013 if tabulated-list-padding is zero.
6014
6015 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6016
6017 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6018 whose cdr is not a cons cell correctly (bug#11038).
6019
6020 2012-05-06 Chong Yidong <cyd@gnu.org>
6021
6022 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6023 Accept additional plist in column descriptors.
6024 (tabulated-list-init-header): Obey it.
6025 (tabulated-list-get-entry): New function.
6026 (tabulated-list-put-tag): Use it. Use string-width instead of
6027 length.
6028 (tabulated-list--column-number): New function.
6029 (tabulated-list-print): Use it.
6030 (tabulated-list-print-col): New function.
6031 Set `tabulated-list-column-name' property on each column's text.
6032 (tabulated-list-print-entry): Use it.
6033 (tabulated-list-delete-entry, tabulated-list-set-col):
6034 New functions.
6035 (tabulated-list-sort-column): New command (Bug#11337).
6036
6037 * buff-menu.el (list-buffers): Move C-x C-b binding from
6038 buff-menu.el to bindings.el.
6039
6040 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6041 :advertised-binding feature.
6042
6043 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6044
6045 * progmodes/compile.el (compilation-internal-error-properties):
6046 Calculate start position correctly when end-col is set but
6047 end-line is not (Bug#11382).
6048
6049 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6050
6051 * man.el (Man-unindent): Use text-property-default-nonsticky to
6052 prevent untabify from inheriting face properties (Bug#11408).
6053
6054 2012-05-05 Stefan Merten <smerten@oekonux.de>
6055
6056 * textmodes/rst.el: Major merge with upstream development up to
6057 Docutils SVN r7399 / rst.el V1.2.1.
6058
6059 Clarify maintainership and authors.
6060
6061 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6062 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6063 (rst-official-version, rst-official-cvs-rev, rst-version)
6064 (rst-package-emacs-version-alist): New functions and variables
6065 for version information.
6066
6067 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6068 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6069 (rst-mode-syntax-table, rst-mode): New and corrected functions
6070 and variables representing reStructuredText features.
6071
6072 (rst-re): New function for reStructuredText regexes. Use in
6073 many places.
6074
6075 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6076 (rst-mode-map): Rebind keys.
6077
6078 (rst-mode-lazy, rst-font-lock-keywords)
6079 (rst-font-lock-extend-region)
6080 (rst-font-lock-extend-region-internal)
6081 (rst-font-lock-extend-region-extend)
6082 (rst-font-lock-find-unindented-line-limit)
6083 (rst-font-lock-find-unindented-line-match)
6084 (rst-adornment-level, rst-font-lock-adornment-level)
6085 (rst-font-lock-adornment-match)
6086 (rst-font-lock-handle-adornment-pre-match-form)
6087 (rst-font-lock-handle-adornment-matcher): Major revision of
6088 font-locking. Integrate with other code. Use `jit-lock-mode'.
6089
6090 (rst-preferred-adornments, rst-adjust-hook)
6091 (rst-new-adornment-down, rst-preferred-bullets)
6092 (rst-preferred-bullets, rst-indent, rst-indent-width)
6093 (rst-indent-field, rst-indent-literal-normal)
6094 (rst-indent-literal-minimized, rst-indent-comment): Change,
6095 extend and improve customization.
6096
6097 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6098 (rst-normalize-cursor-position, rst-get-decoration)
6099 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6100 (rst-rstrip, rst-toc-insert-find-delete-contents)
6101 (rst-shift-fill-region, rst-compute-bullet-tabs)
6102 (rst-debug-print-tabs, rst-debug-mark-found)
6103 (rst-shift-region-guts, rst-shift-region-right)
6104 (rst-shift-region-left, rst-use-char-classes)
6105 (rst-font-lock-keywords-function)
6106 (rst-font-lock-indentation-point)
6107 (rst-font-lock-find-unindented-line-begin)
6108 (rst-font-lock-find-unindented-line-end)
6109 (rst-font-lock-find-unindented-line)
6110 (rst-font-lock-adornment-point, rst-font-lock-level)
6111 (rst-adornment-level-alist): Remove functions and variables.
6112
6113 (rst-compare-adornments, rst-get-adornment-match)
6114 (rst-suggest-new-adornment, rst-get-adornments-around)
6115 (rst-adornment-complete-p, rst-get-next-adornment)
6116 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6117 (rst-straighten-adornments): Standardize function names to
6118 use "adornment" instead of "decoration". Correct callers.
6119 Similar standardizing in many places.
6120
6121 (rst-update-section, rst-adjust, rst-promote-region)
6122 (rst-enumerate-region, rst-bullet-list-region)
6123 (rst-repeat-last-character): Correct use of `interactive'.
6124
6125 (rst-classify-adornment, rst-find-all-adornments)
6126 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6127 (rst-find-leftmost-column, rst-repeat-last-character):
6128 Refactor functions.
6129
6130 (rst-find-title-line, rst-reset-section-caches)
6131 (rst-get-adornments-around, rst-adjust-adornment-work)
6132 (rst-arabic-to-roman, rst-roman-to-arabic)
6133 (rst-insert-list-pos, rst-insert-list-new-item)
6134 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6135 New functions.
6136
6137 (rst-all-sections, rst-section-hierarchy)
6138 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6139 New variables.
6140
6141 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6142 configuration instead of only buffer. Change where necessary.
6143
6144 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6145 (rst-shift-region, rst-adaptive-fill): New functions for
6146 indentation and filling.
6147
6148 (rst-comment-line-break, rst-comment-indent)
6149 (rst-comment-insert-comment, rst-comment-region)
6150 (rst-uncomment-region): New functions for handling comments.
6151
6152 (rst-compile): Quote shell arguments.
6153
6154 (rst-compile-pdf-preview, rst-compile-slides-preview):
6155 Delete temporary files after use.
6156
6157 2012-05-05 Glenn Morris <rgm@gnu.org>
6158
6159 * calendar/cal-html.el: Optionally include holidays in the output.
6160 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6161 (cal-html-holidays): New option.
6162 (cal-html-css-default): Add holiday entry.
6163 (holiday-in-range): Autoload it.
6164 (cal-html-htmlify-entry): Add optional class argument.
6165 (cal-html-htmlify-list): Add optional holidays argument.
6166 (cal-html-insert-agenda-days): Include holidays in the output.
6167 (cal-html-one-month): Maybe include holidays.
6168
6169 * calendar/holidays.el (holiday-in-range):
6170 Move here from cal-tex-list-holidays.
6171 * calendar/cal-tex.el (cal-tex-list-holidays):
6172 Make it an obsolete alias for holiday-in-range. Update all callers.
6173
6174 2012-05-05 Chong Yidong <cyd@gnu.org>
6175
6176 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6177 Nextstep.
6178
6179 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6180
6181 * files.el (file-auto-mode-skip): New var.
6182 (set-auto-mode-1): Use it.
6183
6184 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * repeat.el: Use lexical-binding.
6187 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6188 (repeat-undo-count): Remove.
6189 (repeat):
6190 * progmodes/octave-mod.el (octave-abbrev-start):
6191 * progmodes/f90.el (f90-abbrev-start):
6192 * face-remap.el (text-scale-adjust):
6193 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6194
6195 * emacs-lisp/pcase.el (pcase--let*): New function.
6196 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6197 a bit more.
6198 (pcase--split-pred): Be more clever about ruling out overlap between
6199 a predicate and some constant pattern.
6200 (pcase--q1): Use `null' instead of (eq foo nil).
6201
6202 * subr.el (setq-local, defvar-local): New macros.
6203 (kbd): Redefine as an alias.
6204 (with-selected-window): Leave unrelated frames alone.
6205 (set-temporary-overlay-map): New function.
6206
6207 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * subr.el (user-error): New function.
6210 * window.el (switch-to-buffer):
6211 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6212 (smerge-match-conflict):
6213 * simple.el (previous-matching-history-element)
6214 (next-matching-history-element, goto-history-element, undo-more)
6215 (undo-start):
6216 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6217 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6218 (next-file, tags-loop-scan, list-tags, complete-tag):
6219 * progmodes/compile.el (compilation-loop):
6220 * mouse.el (mouse-minibuffer-check):
6221 * man.el (Man-bgproc-sentinel, Man-goto-page):
6222 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6223 (Info-history-forward, Info-follow-reference, Info-menu)
6224 (Info-extract-menu-item, Info-extract-menu-counting)
6225 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6226 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6227 (Info-next-reference, Info-prev-reference, Info-index)
6228 (Info-index-next, Info-follow-nearest-node)
6229 (Info-copy-current-node-name):
6230 * imenu.el (imenu--make-index-alist)
6231 (imenu-default-create-index-function, imenu-add-to-menubar):
6232 * files.el (basic-save-buffer, recover-file):
6233 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6234 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6235 (checkdoc-message-text, checkdoc-defun):
6236 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6237 * cus-edit.el (customize-changed-options, customize-rogue)
6238 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6239 (custom-variable-mark-to-reset-standard)
6240 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6241 (custom-file):
6242 * completion.el (check-completion-length):
6243 * comint.el (comint-search-arg)
6244 (comint-previous-matching-input-string-position)
6245 (comint-previous-matching-input)
6246 (comint-replace-by-expanded-history-before-point, comint-send-input)
6247 (comint-copy-old-input, comint-backward-matching-input)
6248 (comint-goto-process-mark, comint-set-process-mark):
6249 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6250 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6251
6252 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * dabbrev.el (dabbrev--ignore-case-p): New function.
6255 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6256 Use it.
6257
6258 * files.el (automount-dir-prefix): Mark as obsolete.
6259
6260 2012-05-04 Glenn Morris <rgm@gnu.org>
6261
6262 * patcomp.el, play/bruce.el: Move to obsolete/.
6263
6264 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6265
6266 Fix minor Y10k bugs.
6267 * arc-mode.el (archive-unixdate):
6268 * autoinsert.el (auto-insert-alist):
6269 * calc/calc-forms.el (math-this-year):
6270 * emacs-lisp/copyright.el (copyright-current-year)
6271 (copyright-update-year, copyright):
6272 * tar-mode.el (tar-clip-time-string):
6273 * time.el (display-time-update):
6274 Don't assume years have 4 digits.
6275
6276 2012-05-04 Chong Yidong <cyd@gnu.org>
6277
6278 * dos-w32.el (file-name-buffer-file-type-alist)
6279 (direct-print-region-use-command-dot-com):
6280 * ffap.el (ffap-menu-regexp):
6281 * find-file.el (ff-special-constructs):
6282 * follow.el (follow-debug):
6283 * forms.el (forms--debug):
6284 * iswitchb.el (iswitchb-all-frames):
6285 * ido.el (ido-all-frames):
6286 * emacs-lisp/timer.el (timer-max-repeats):
6287 * mail/feedmail.el (feedmail-mail-send-hook)
6288 (feedmail-mail-send-hook-queued):
6289 * mail/footnote.el (footnote-signature-separator):
6290 * mail/mailabbrev.el (mail-alias-separator-string)
6291 (mail-abbrev-mode-regexp):
6292 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6293 * progmodes/idlwave.el (idlwave-libinfo-file)
6294 (idlwave-default-completion-case-is-down)
6295 (idlwave-library-routines): Convert defvars to defcustoms.
6296
6297 * mail/rmail.el (rmail-decode-mime-charset):
6298 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6299 (idlwave-shell-fix-inserted-breaks)
6300 (idlwave-shell-activate-alt-keybindings)
6301 (idlwave-shell-use-breakpoint-glyph):
6302 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6303
6304 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6307
6308 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6309
6310 * progmodes/verilog-mode.el (font-lock-keywords):
6311 Fix mis-highligting auto. Reported by Craig Barner.
6312 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6313 defines from global name space. Reported by Dan Dever.
6314 (verilog-auto-reset, verilog-auto-reset-widths)
6315 (verilog-auto-tieoff): Support using unbased numbers for
6316 AUTORESET and AUTOTIEOFF.
6317 (verilog-submit-bug-report): Update variable list.
6318 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6319 parenthesis from not matching. Reported by Michael Rytting.
6320 (verilog-auto-template-lint): Fix hash error when linting modules
6321 with no used templates.
6322 (verilog-warn, verilog-warn-error)
6323 (verilog-warn-fatal): When non-interactive report multiple
6324 warnings before exiting. Suggested by Brad Dobbie.
6325 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6326 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6327 to report unused template errors. Reported by Brad Dobbie.
6328 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6329 nets, bug438. Reported by Vns Blore.
6330 (verilog-auto-inout-module, verilog-auto-reg)
6331 (verilog-read-decls, verilog-read-sub-decls-sig)
6332 (verilog-signals-edit-wire-reg, verilog-signals-with):
6333 Fix passing of Verilog data types in ANSI input/output ports
6334 such as "output logic" into the AUTOs. Special case "wire" and
6335 "reg" for backwards compatibility presuming Verilog 2001.
6336 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6337 (verilog-preprocess): Fix replication of preprocess output.
6338 Reported by Brad Dobbie.
6339 (verilog-auto-inst-interfaced-ports):
6340 Create verilog-auto-inst-interfaced-ports, bug429.
6341 Reported by Julian Gorfajn.
6342 (verilog-after-save-font-hook)
6343 (verilog-before-save-font-hook): New variable.
6344 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6345 (verilog-save-font-mods): Wrap disabling fontification, reported
6346 by David Rogoff.
6347 (verilog-do-indent, verilog-pretty-declarations-auto)
6348 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6349 Reported by Pierre-David Pfister.
6350 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6351 of class declarations, bug292. Reported by Kevin Heilman.
6352 (verilog-read-decls): Fix 'parameter type' not appearing in
6353 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6354 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6355 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6356 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6357 Reported by David Kravitz.
6358
6359 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6360
6361 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6362 assignment with tests in ifs and for loops.
6363 (verilog-extended-complete-re, verilog-complete-reg): Change so
6364 that DPI inport functions don't look like fuction declarations.
6365 (verilog-pretty-expr): Don't line up assignment
6366 operations to the test and increment in if and for loops
6367 (verilog-extended-complete-re, verilog-complete-reg): Change so
6368 that DPI inport functions don't look like fuction declarations.
6369
6370 2012-05-03 Kenichi Handa <handa@m17n.org>
6371
6372 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6373 decoding, and show a warning message without signaling an error
6374 (Bug#11282).
6375
6376 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * emacs-lisp/bytecomp.el
6379 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6380 since cconv.el might have introduced :fun-body, internal-make-closure,
6381 and friends for bytecomp to handle (bug#11391).
6382 * custom.el (defcustom): Avoid ((λ ..) ..).
6383
6384 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6387
6388 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6389
6390 * notifications.el (dbus-debug):
6391 * term/linux.el (gpm-mouse-enable):
6392 * term/screen.el (xterm-register-default-colors): Declare.
6393
6394 2012-05-02 Chong Yidong <cyd@gnu.org>
6395
6396 * cus-start.el (gc-cons-percentage, exec-suffixes)
6397 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6398 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6399 (make-cursor-line-fully-visible, void-text-area-pointer)
6400 (font-list-limit): Add customization data.
6401
6402 * allout.el (allout-exposure-change-functions)
6403 (allout-structure-added-functions)
6404 (allout-structure-deleted-functions)
6405 (allout-structure-shifted-functions): Rename abnormal hooks from
6406 *-hook, and convert to defcustoms.
6407 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6408 Convert to defcustoms.
6409 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6410
6411 * allout-widgets.el: Hook callers changed.
6412
6413 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6414
6415 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6416 the yanked message in preference to the default value of
6417 buffer-file-coding-system.
6418
6419 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6420
6421 * window.el (display-buffer--action-function-custom-type):
6422 Fix entry.
6423
6424 2012-05-02 Alan Mackenzie <acm@muc.de>
6425
6426 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6427
6428 2012-05-01 Glenn Morris <rgm@gnu.org>
6429
6430 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6431
6432 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6433
6434 * cus-edit.el (custom-variable-documentation): Simplify with format.
6435
6436 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6437 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * simple.el (suggest-key-bindings, execute-extended-command):
6440 Move from keyboard.c.
6441
6442 2012-05-01 Chong Yidong <cyd@gnu.org>
6443
6444 * follow.el: Eliminate advice.
6445 (set-process-filter, process-filter, sit-for): Advice deleted.
6446 (follow-mode-off-hook): Obsolete hook removed.
6447 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6448 Vars deleted.
6449 (follow-auto): Use a :set function.
6450 (follow-mode): Rewritten. Don't advise process filters.
6451 (follow-switch-to-current-buffer-all, follow-scroll-up)
6452 (follow-scroll-down): Assume follow-mode is bound.
6453 (follow-comint-scroll-to-bottom)
6454 (follow-align-compilation-windows): New functions.
6455 (follow--window-sorter): New function.
6456 (follow-all-followers): Use it to explicitly sort windows by their
6457 positions; don't make assumptions about next-window order.
6458 (follow-windows-start-end, follow-delete-other-windows-and-split)
6459 (follow-calc-win-start): Doc fix.
6460 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6461 vertical-motion unnecessarily.
6462 (follow-adjust-window): New function.
6463 (follow-post-command-hook): Use it.
6464 (follow-call-set-process-filter, follow-call-process-filter)
6465 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6466 (follow-stop-intercept-process-output, follow-generic-filter):
6467 Functions deleted.
6468 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6469 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6470 New functions, replacing advice on scroll-bar-* commands.
6471 (follow-mwheel-scroll): New function (Bug#4112).
6472
6473 * comint.el (comint-adjust-point): New function.
6474 (comint-postoutput-scroll-to-bottom): Use it.
6475 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6476
6477 2012-05-01 Glenn Morris <rgm@gnu.org>
6478
6479 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6480 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6481 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6482 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6483 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6484 Remove no-byte-compile setting.
6485
6486 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6489 all-completions code to not return a number in the last cdr.
6490
6491 2012-04-30 Leo Liu <sdl.web@gmail.com>
6492
6493 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6494 read-only error.
6495
6496 2012-04-29 Chong Yidong <cyd@gnu.org>
6497
6498 * follow.el (follow-calc-win-end): Rewrite to handle partial
6499 screen lines correctly (Bug#8390).
6500 (follow-avoid-tail-recenter): Minor cleanup.
6501
6502 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 Avoid the obsolete `assoc' package.
6505 * speedbar.el (speedbar-refresh): Avoid adelete.
6506 (speedbar-file-lists): Simplify and avoid aput.
6507 * man.el (Man--sections, Man--refpages): New vars, replacing
6508 Man-sections-alist and Man-refpages-alist.
6509 (Man-build-section-alist, Man-build-references-alist):
6510 Use them; avoid aput.
6511 (Man--last-section, Man--last-refpage): New vars.
6512 (Man-follow-manual-reference): Use them.
6513 Use the `default' arg of completing-read.
6514 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6515
6516 2012-04-27 Chong Yidong <cyd@gnu.org>
6517
6518 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6519
6520 * startup.el (x-apply-session-resources): New function.
6521
6522 * term/ns-win.el (ns-initialize-window-system):
6523 * term/w32-win.el (w32-initialize-window-system):
6524 * term/x-win.el (x-initialize-window-system): Use it to properly
6525 set menu-bar-mode and other vars from X resources, even if the
6526 initial frame is not a window-system frame (Bug#2299).
6527
6528 * subr.el (read-key): Avoid running filter function when setting
6529 up temporary tool bar entries (Bug#9922).
6530
6531 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6532
6533 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6534 (Bug#11344)
6535
6536 2012-04-27 Chong Yidong <cyd@gnu.org>
6537
6538 * select.el (xselect--encode-string): New function, split from
6539 xselect-convert-to-string.
6540 (xselect-convert-to-string): Use it.
6541 (xselect-convert-to-filename, xselect-convert-to-os)
6542 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6543 returned strings are properly encoded (Bug#11315).
6544
6545 2012-04-27 Chong Yidong <cyd@gnu.org>
6546
6547 * simple.el (delete-active-region): Move to killing custom group.
6548
6549 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6550
6551 * progmodes/which-func.el (which-func-current): Quote %
6552 characters for mode-line processing.
6553
6554 2012-04-27 Chong Yidong <cyd@gnu.org>
6555
6556 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6557 reaching eob (Bug#11286).
6558
6559 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6560
6561 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6562 (gdb): Make it buffer-local and init to zero.
6563 (gdb-control-commands-regexp): New variable.
6564 (gdb-send): Don't wrap in "-interpreter-exec console" if
6565 gdb-control-level is positive. Increment gdb-control-level
6566 whenever the command matches gdb-control-commands-regexp, and
6567 decrement it each time the command is "end". (Bug#11279)
6568
6569 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6570
6571 * window.el (adjust-window-trailing-edge, enlarge-window)
6572 (shrink-window, window-resize):
6573 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6574 windows (Bug#11276).
6575
6576 2012-04-27 Chong Yidong <cyd@gnu.org>
6577
6578 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6579 fix "missing prefix" warning. All callers changed.
6580
6581 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * emacs-lisp/assoc.el: Move to obsolete/.
6584
6585 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6588
6589 * term/ns-win.el (ns-define-service):
6590 * progmodes/pascal.el (pascal-goto-defun):
6591 * progmodes/js.el (js--read-tab):
6592 * progmodes/etags.el (tags-lazy-completion-table):
6593 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6594 * emacs-lisp/ewoc.el (ewoc--wrap):
6595 * emacs-lisp/assoc.el (aput, adelete, amake):
6596 * doc-view.el (doc-view-convert-current-doc):
6597 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6598
6599 2012-04-26 Chong Yidong <cyd@gnu.org>
6600
6601 * image.el (image-type-from-buffer): Only return supported image
6602 type (Bug#9045).
6603
6604 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6605 value, for symmetry with diff-end-of-hunk.
6606 (diff-split-hunk, diff-find-source-location)
6607 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6608 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6609 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6610 compute the relevant hunk or file properly (Bug#6005).
6611 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6612
6613 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6614
6615 * vc/vc-mtn.el:
6616 * vc/vc-hg.el:
6617 * vc/vc-git.el:
6618 * vc/vc-dir.el:
6619 * vc/vc-cvs.el:
6620 * vc/vc-bzr.el:
6621 * vc/vc-arch.el:
6622 * vc/vc.el: Replace lexical-let by lexical-binding.
6623 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6624 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6625 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6626
6627 2012-04-26 Chong Yidong <cyd@gnu.org>
6628
6629 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6630 (diff-mode-shared-map): Bind it to / and [remap undo].
6631
6632 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6633 (ediff-window-setup-function): Use it as the default, to set up
6634 windows based on whether the current frame is graphical (Bug#2138).
6635 (ediff-choose-window-setup-function-automatically): Make obsolete.
6636
6637 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6638
6639 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6640
6641 * ffap.el: Remove old code for obsolete package.
6642 (ffap-complete-as-file-p): Remove.
6643
6644 Use completion-table-with-quoting for comint and pcomplete.
6645 * comint.el (comint--unquote&requote-argument)
6646 (comint--unquote-argument, comint--requote-argument): New functions.
6647 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6648 (comint-quote-filename): Use regexp-opt-charset.
6649 (comint--common-suffix, comint--common-quoted-suffix)
6650 (comint--table-subvert): Remove.
6651 (comint-unquote-function, comint-requote-function): New vars.
6652 (comint--complete-file-name-data): Use them with
6653 completion-table-with-quoting.
6654 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6655 * pcomplete.el (pcomplete-arg-quote-list)
6656 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6657 (pcomplete-unquote-argument-function): Default to non-nil.
6658 (pcomplete-unquote-argument): Simplify.
6659 (pcomplete--common-quoted-suffix): Remove.
6660 (pcomplete-requote-argument-function): New var.
6661 (pcomplete--common-suffix): New function.
6662 (pcomplete-completions-at-point): Use completion-table-with-quoting
6663 and completion-table-subvert.
6664
6665 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6666 (minibuffer--double-dollars): Preserve properties.
6667 (completion--sifn-requote): New function.
6668 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6669
6670 * minibuffer.el: Add support for completion of quoted/escaped data.
6671 (completion-table-with-quoting, completion-table-subvert): New funs.
6672 (completion--twq-try, completion--twq-all): New functions.
6673 (completion--nth-completion): New function.
6674 (completion-try-completion, completion-all-completions): Use it.
6675
6676 2012-04-25 Leo Liu <sdl.web@gmail.com>
6677
6678 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6679 Use compilation-message if available to find real filename.
6680
6681 2012-04-25 Chong Yidong <cyd@gnu.org>
6682
6683 * vc/diff-mode.el (diff-setup-whitespace): New function.
6684 (diff-mode): Use it.
6685
6686 * vc/diff.el (diff-sentinel):
6687 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6688 Whitespace mode variables based on diff style (Bug#8612).
6689
6690 2012-04-25 Leo Liu <sdl.web@gmail.com>
6691
6692 * progmodes/python.el (python-send-region): Add suffix .py to the
6693 temp file.
6694
6695 * files.el (auto-mode-alist): Use javascript-mode instead.
6696
6697 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6698
6699 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6700
6701 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6702 (soap-resolve-references-for-array-type): Hack to prevent self
6703 references, see Bug#9.
6704 (soap-parse-envelope): Report the contents of the 'detail' node
6705 when receiving a fault reply.
6706 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6707
6708 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6709 (soap-inspect-simple-type): New function.
6710
6711 * net/soap-client.el (soap-simple-type): New struct.
6712 (soap-default-xsd-types, soap-default-soapenc-types)
6713 (soap-decode-basic-type, soap-encode-basic-type):
6714 support unsignedInt and double basic types.
6715 (soap-resolve-references-for-simple-type)
6716 (soap-parse-simple-type, soap-encode-simple-type): New function.
6717 (soap-parse-schema): Parse xsd:simpleType declarations.
6718
6719 * net/soap-client.el (soap-default-xsd-types)
6720 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6721 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6722 the local name of "soapenc:Array".
6723 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6724 decoding integer, byte and anyURI xsd types.
6725
6726 2012-04-25 Chong Yidong <cyd@gnu.org>
6727
6728 * cus-edit.el (custom-buffer-create-internal): Update header text.
6729
6730 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6731
6732 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6733 settings on 'system-type', not on 'window-system'. On MS-Windows,
6734 set interactive-mode on in GDB.
6735
6736 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6739 (ruby-syntax-propertize-regexp): Remove.
6740 (ruby-syntax-propertize-function): Split regexp into chunks.
6741 Match following code directly.
6742
6743 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6744
6745 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6746 (ruby-syntax-propertize-regexp): New function.
6747 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6748 by a special keyword.
6749
6750 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6751 (ruby-syntax-general-delimiters-goto-beg)
6752 (ruby-syntax-propertize-general-delimiters): New functions.
6753 (ruby-syntax-propertize-function): Use them to handle GDL.
6754 (ruby-font-lock-keywords): Move old handling of GDL...
6755 (ruby-font-lock-syntactic-keywords): .. to here.
6756 (ruby-calculate-indent): Adjust indentation for GDL.
6757
6758 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6759
6760 * notifications.el (top): Remove unneeded declarations.
6761 (notifications-specification-version): Change to "1.2".
6762 (notifications-interface, notifications-notify-method)
6763 (notifications-close-notification-method): Fix docstring.
6764 (notifications-get-capabilities-method): New defconst.
6765 (notifications-notify): Add :action-items, :resident and
6766 :transient hints. Change "image_data" to "image-data" and
6767 "image_path" to "image-path".
6768 (notifications-get-capabilities): New defun.
6769
6770 2012-04-24 Leo Liu <sdl.web@gmail.com>
6771
6772 * progmodes/python.el: Move hideshow setup to the end.
6773
6774 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6775
6776 * window.el (handle-select-window): Clear echo area since this is
6777 no more done by read_char (Bug#11304).
6778
6779 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6782 and `/ M' to filter-derived-mode.
6783 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6784 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6785 (ibuffer-mark-by-mode): Use default rather than initial-input.
6786 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6787
6788 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6789
6790 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6791 (ibuffer-filter-by-derived-mode): New filter.
6792 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6793
6794 2012-04-23 Andreas Politz <politza@fh-trier.de>
6795
6796 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6797
6798 2012-04-23 Chong Yidong <cyd@gnu.org>
6799
6800 * cus-edit.el (customize-apropos, customize-apropos-options):
6801 Disable matching of non-option variables (Bug#11176).
6802 (customize-option, customize-option-other-window)
6803 (customize-changed-options): Doc fix.
6804 (customize-apropos-options, customize-apropos-faces)
6805 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6806
6807 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6808 Fix word list splitting (Bug#11132).
6809 (apropos-symbol, apropos-keybinding, apropos-label)
6810 (apropos-property, apropos-function-button)
6811 (apropos-variable-button, apropos-misc-button): New faces.
6812 (apropos-symbol-face, apropos-keybinding-face)
6813 (apropos-label-face, apropos-property-face, apropos-match-face):
6814 Variables removed (Bug#8396).
6815 (apropos-library-button, apropos-format-plist, apropos-print)
6816 (apropos-print-doc, apropos-describe-plist): Callers changed.
6817
6818 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6819
6820 * net/xesam.el (xesam-mode-map): Use let-bound map in
6821 initialization. (Bug#11292)
6822
6823 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6824
6825 Preserve ispell session localwords when switching back to
6826 original buffer.
6827
6828 * textmodes/ispell.el (ispell-buffer-session-localwords):
6829 New buffer-local variable to hold buffer session localwords.
6830 (ispell-kill-ispell): Add option 'clear to delete session
6831 localwords.
6832 (ispell-command-loop, ispell-change-dictionary)
6833 (ispell-buffer-local-words): Preserve session localwords when
6834 needed.
6835
6836 * textmodes/flyspell.el (flyspell-process-localwords)
6837 (flyspell-do-correct): Preserve session localwords when needed.
6838
6839 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6840
6841 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6842 using obsolete `translation-table-for-input'.
6843 (ispell-word, ispell-process-line, ispell-complete-word):
6844 Use plain `insert' instead of removed `ispell-insert-word'.
6845
6846 2012-04-22 Chong Yidong <cyd@gnu.org>
6847
6848 * cus-edit.el (custom-variable-menu)
6849 (custom-variable-reset-saved, custom-face-menu)
6850 (custom-face-reset-saved): If there is no saved value, make the
6851 "reset-saved" operation bring back the default (Bug#9509).
6852 (custom-face-state): Properly detect themed faces.
6853
6854 * faces.el (face-spec-set): Stop supporting deprecated form of
6855 third arg.
6856
6857 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6858
6859 Move functions from C to Lisp. Make non-blocking method calls
6860 the default. Implement further D-Bus standard interfaces.
6861
6862 * net/dbus.el (dbus-message-internal): Declare function.
6863 Remove unneeded function declarations.
6864 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6865 (dbus-message-type-method-return, dbus-message-type-error)
6866 (dbus-message-type-signal): Declare variables. Remove local
6867 definitions.
6868 (dbus-interface-dbus, dbus-interface-peer)
6869 (dbus-interface-introspectable, dbus-interface-properties)
6870 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6871 Adapt docstring.
6872 (dbus-interface-objectmanager): New defconst.
6873 (dbus-call-method, dbus-call-method-asynchronously)
6874 (dbus-send-signal, dbus-method-return-internal)
6875 (dbus-method-error-internal, dbus-register-service)
6876 (dbus-register-signal, dbus-register-method): New defuns, moved
6877 from dbusbind.c
6878 (dbus-call-method-handler, dbus-setenv)
6879 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6880 New defuns.
6881 (dbus-call-method-non-blocking): Make it an obsolete function.
6882 (dbus-unregister-object, dbus-unregister-service)
6883 (dbus-handle-event, dbus-register-property)
6884 (dbus-property-handler): Obey the new structure of
6885 `bus-registered-objects'.
6886 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6887 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6888 Use `dbus-call-method'.
6889
6890 2012-04-22 Chong Yidong <cyd@gnu.org>
6891
6892 * cus-edit.el (custom-commands, custom-reset-menu)
6893 (Custom-reset-standard): Tweak labels.
6894 (custom-reset-button-menu): Change default to t.
6895 (custom-buffer-create-internal): For the custom-reset-button-menu
6896 case, put the revert button first.
6897 (custom-group-subtitle): New face.
6898 (custom-group-value-create): Align docstring to a specific column.
6899
6900 * wid-edit.el (widget-documentation-link-add): Don't handle
6901 indentation in this function.
6902 (widget-documentation-string-indent-to): New function.
6903 (widget-documentation-string-value-create): Use it.
6904
6905 * autorevert.el (auto-revert):
6906 * epg-config.el (epg):
6907 * ibuffer.el (ibuffer):
6908 * mpc.el (mpc):
6909 * ses.el (ses):
6910 * eshell/eshell.el (eshell):
6911 * net/ange-ftp.el (ange-ftp):
6912 * progmodes/ebnf2ps.el (postscript):
6913 * progmodes/flymake.el (flymake):
6914 * progmodes/prolog.el (prolog):
6915 * progmodes/verilog-mode.el (verilog-mode):
6916 * progmodes/which-func.el (which-func):
6917 * term/xterm.el (xterm):
6918 * textmodes/picture.el (picture):
6919 * textmodes/tildify.el (tildify):
6920 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6921 customization buffers.
6922
6923 2012-04-22 Alan Mackenzie <acm@muc.de>
6924
6925 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6926 Adding a ) can hide the resulting (..) from searches. Fix it.
6927 Bound the backward search to the position of the existing (.
6928
6929 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * progmodes/verilog-mode.el (verilog-mode): Check whether
6932 which-func-modes is t before adding verilog-mode.
6933 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6934
6935 2012-04-21 Leo Liu <sdl.web@gmail.com>
6936
6937 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6938
6939 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6940
6941 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6942 filling of the last column of a table (Bug#5635).
6943 (woman-find-next-control-line): New arg, specifying an additional
6944 regexp component for the control line.
6945 (woman2-roff-buffer): Use it.
6946 (woman-break-table): New function.
6947 (woman2-TS): Use it.
6948
6949 2012-04-21 Chong Yidong <cyd@gnu.org>
6950
6951 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6952 (woman-horizontal-escapes, woman-negative-vertical-space)
6953 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6954 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6955
6956 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * minibuffer.el (completion-file-name-table): Complete user names.
6959
6960 2012-04-20 Leo Liu <sdl.web@gmail.com>
6961
6962 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6963 and pcase-let*.
6964
6965 2012-04-20 Chong Yidong <cyd@gnu.org>
6966
6967 * server.el (server-execute): Respect initial-buffer-choice if it
6968 is a string and there are no files to open (Bug#2825).
6969 (server-create-window-system-frame, server-create-tty-frame):
6970 Don't switch buffers here.
6971 (server-process-filter): Only try to open a window system frame if
6972 compiled with graphical support (Bug#8314).
6973
6974 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6975
6976 * battery.el (battery-echo-area-format): Display remaining time
6977 for sysfs backend too (Bug#11269).
6978 (battery-linux-sysfs): Fix conditional for the charge.
6979
6980 2012-04-20 Chong Yidong <cyd@gnu.org>
6981
6982 * progmodes/gdb-mi.el (gdb): Revert previous change.
6983 (gdb-inferior-io--init-proc): New function.
6984 (gdb-init-1): Use it.
6985 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6986 responsible for allocating a new pty and hooking it to gdb when
6987 the old pty gets an EIO due to process exit.
6988 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6989 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6990 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6991
6992 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6993
6994 * window.el (window-min-size, window-sizable, window-min-delta)
6995 (window-max-delta, window--resizable, window-resizable)
6996 (window-total-size, window-full-height-p, window-full-width-p)
6997 (window-in-direction, window--resize-mini-window, window-resize)
6998 (window--resize-child-windows-normal)
6999 (window--resize-child-windows, window--resize-siblings)
7000 (window--resize-this-window, adjust-window-trailing-edge)
7001 (enlarge-window, shrink-window): Doc fixes.
7002
7003 2012-04-20 Chong Yidong <cyd@gnu.org>
7004
7005 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7006 New function to call delete-process on the gdb-inferior buffer's pty.
7007 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7008 pty process (Bug#11273).
7009 (gdb-update): New arg to suppress talking to the gdb process.
7010 (gdb-done-or-error): Use it.
7011 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7012 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7013 sentinel not being called.
7014
7015 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7016
7017 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7018
7019 2012-04-20 Glenn Morris <rgm@gnu.org>
7020
7021 * net/network-stream.el (open-network-stream): Doc fix.
7022
7023 2012-04-20 Chong Yidong <cyd@gnu.org>
7024
7025 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7026
7027 2012-04-20 Alan Mackenzie <acm@muc.de>
7028
7029 Ensure searching for keywords is case sensitive.
7030
7031 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7032 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7033 (c-defun-name, c-mark-function, c-cpp-define-name)
7034 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7035 (c-context-line-break): Bind case-fold-search to nil.
7036
7037 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7038 Bind case-fold-search to nil.
7039
7040 2012-04-20 Chong Yidong <cyd@gnu.org>
7041
7042 * mail/sendmail.el (mail-bury): Call return action with the right
7043 Rmail buffer (Bug#11242).
7044
7045 * server.el (server-process-filter): Handle corner case where both
7046 tty and nowait options are present (Bug#11102).
7047
7048 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7049
7050 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7051 (top level): Put into the executable the ident-style '$Id:' tag on
7052 windows-nt as well.
7053
7054 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * electric.el (electric-indent-post-self-insert-function): Check that
7057 electric-indent-mode is enabled in current buffer.
7058
7059 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7060
7061 * imenu.el (imenu-progress-message): Restore; it is "used" in
7062 erc/erc-imenu.el and net/snmp-mode.el.
7063
7064 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7067 (mouse-avoidance-nudge-mouse): Remove unused binding.
7068
7069 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7070
7071 * descr-text.el (describe-char):
7072 * progmodes/python.el (python-describe-symbol):
7073 Don't call `toggle-read-only', set `buffer-read-only'.
7074
7075 * imenu.el (imenu-default-goto-function): Mark unused args.
7076 (imenu-progress-message): Remove obsolete macro; all callers changed.
7077
7078 * subr.el (keymap-canonicalize): Remove unused binding.
7079 (read-passwd): Mark unused arg.
7080
7081 * tutorial.el (tutorial--display-changes): Remove unused binding.
7082 (tutorial--save-tutorial-to): Remove unused variable.
7083
7084 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7085 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7086 (package-generate-autoloads, package-menu--generate)
7087 (package-menu--find-upgrades): Remove unused bindings.
7088
7089 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7090 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7091 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7092 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7093 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7094 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7095 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7096 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7097 (cua-delete-char-rectangle): Mark unused args.
7098 (cua-align-rectangle): Remove unused binding.
7099
7100 * mail/rmail.el (compilation--message->loc)
7101 (epa--find-coding-system-for-mime-charset): Declare.
7102
7103 * net/dbus.el (dbus-register-service): Declare.
7104 (dbus-name-owner-changed-handler): Remove unused binding.
7105
7106 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7107 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7108 (nxml-scan-backward-within): Mark unused arg.
7109 (nxml-dynamic-markup-word): Remove unused binding.
7110
7111 * mouse.el (mouse-menu-major-mode-map):
7112 * emacs-lisp/authors.el (authors-scan-change-log)
7113 (authors-add-to-author-list):
7114 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7115 * emacs-lisp/smie.el (smie-auto-fill):
7116 * mail/sendmail.el (mail-bury):
7117 * mail/unrmail.el (unrmail):
7118 * net/tls.el (open-tls-stream):
7119 * textmodes/picture.el (picture-mouse-set-point):
7120 Remove unused bindings.
7121
7122 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7123
7124 * net/tramp.el (tramp-action-password): Let-bind
7125 `enable-recursive-minibuffers' to t.
7126
7127 2012-04-18 Sam Steingold <sds@gnu.org>
7128
7129 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7130 instead of 'string to accommodate values like [f11].
7131 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7132 * progmodes/gdb-mi.el: Likewise.
7133
7134 2012-04-18 Leo Liu <sdl.web@gmail.com>
7135
7136 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7137 current buffer.
7138 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7139 LOCAL is nil.
7140
7141 2012-04-18 Chong Yidong <cyd@gnu.org>
7142
7143 * simple.el (line-move): Use forward-line if in batch mode
7144 (Bug#11053).
7145
7146 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7147
7148 * files.el (after-find-file): Do not try to add a final newline if
7149 the buffer is read-only (Bug#11156).
7150
7151 2012-04-17 Richard Stallman <rms@gnu.org>
7152
7153 * mail/rmail.el (rmail-start-mail):
7154 Pass (rmail-mail-return...) for the return-action.
7155 Pass (rmail-yank-current-message...) for the yank-action.
7156 (rmail-yank-current-message): New function.
7157 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7158 (rmail-reply): Likewise.
7159 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7160
7161 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7162 buffer, not the last. Reject temp buffers. Use the rmail-mode
7163 buffer, not newbuf.
7164
7165 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7166
7167 * server.el (server-ensure-safe-dir): Simplify.
7168
7169 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * emacs-lisp/smie.el: Provide smarter auto-filling.
7172 (smie-auto-fill): New function.
7173 (smie-setup): Use it.
7174
7175 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7176
7177 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7178
7179 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7180 (comment-indent): Use it.
7181
7182 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7183
7184 * ses.el: The overall change is to add cell renaming, that is
7185 setting fancy names for cell symbols other than name matching
7186 "\\`[A-Z]+[0-9]+\\'" regexp .
7187 (ses-localvars): Add ses--renamed-cell-symb-list.
7188 (ses-create-cell-variable): New defun.
7189 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7190 (ses-relocate-formula): Relocate formulas only for cells the
7191 symbols of which are not renamed, i.e. symbols whose names do not
7192 match regexp "\\`[A-Z]+[0-9]+\\'".
7193 (ses-relocate-all): Relocate values only for cells the symbols of
7194 which are not renamed.
7195 (ses-load): Create cells variables as the (ses-cell ...) are read,
7196 in order to check row col consistency with cell symbol name only
7197 for cells that are not renamed.
7198 (ses-replace-name-in-formula): New defun.
7199 (ses-rename-cell): New defun.
7200
7201 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7202
7203 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7204 New option (bug#11118).
7205 (perl-calculate-indent): Respect it.
7206
7207 2012-04-17 Glenn Morris <rgm@gnu.org>
7208
7209 * dired-aux.el (dired-mark-read-string): Doc fix.
7210
7211 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7212
7213 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7214 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7215
7216 2012-04-17 Glenn Morris <rgm@gnu.org>
7217
7218 * mouse.el (mouse-drag-track):
7219 * speedbar.el (speedbar-frame-mode):
7220 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7221
7222 2012-04-16 Leo Liu <sdl.web@gmail.com>
7223
7224 * progmodes/python.el: Trivial cleanup.
7225
7226 2012-04-16 Glenn Morris <rgm@gnu.org>
7227
7228 * vc/vc.el (vc-string-prefix-p):
7229 * vc/pcvs-util.el (cvs-string-prefix-p):
7230 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7231 * mpc.el (mpc-string-prefix-p):
7232 Make all of these into obsolete aliases for string-prefix-p.
7233 Update callers.
7234 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7235
7236 * textmodes/two-column.el: Move custom options to the start.
7237 (frame-width): Remove compat definition.
7238 (2C-associate-buffer, 2C-dissociate):
7239 Use with-current-buffer rather than save-excursion.
7240 (2C-dissociate): Force a mode-line update.
7241 (2C-autoscroll): Use ignore-errors.
7242
7243 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7244 Autoload trivia.
7245
7246 * emacs-lisp/cl-extra.el (*random-state*):
7247 Remove unnecessary declaration.
7248
7249 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7250
7251 * play/cookie1.el (cookie-snarf):
7252 Give an explicit error if input file cannot be read.
7253
7254 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7255
7256 * progmodes/perl-mode.el (c-macro-expand):
7257 Remove unnecessary autoload (it is in loaddefs.el).
7258
7259 * textmodes/picture.el (picture-desired-column)
7260 (picture-update-desired-column): Convert comments to doc-strings.
7261 (picture-substitute): Remove function.
7262 (picture-mode-map): Initialize in the defvar.
7263
7264 * woman.el: Remove eval-after-load for tar-mode.
7265 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7266 (woman-tar-extract-file): Autoload it.
7267
7268 * frame.el (automatic-hscrolling): Make this alias obsolete.
7269
7270 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7271
7272 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7273 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7274 (ispell-dictionary-base-alist): Revert to original XEmacs
7275 friendly version for default. [:alpha:] will be added in
7276 `ispell-set-spellchecker-params' if needed.
7277
7278 2012-04-16 Chong Yidong <cyd@gnu.org>
7279
7280 * image.el (imagemagick--file-regexp): New variable.
7281 (imagemagick-register-types): Use it.
7282 (imagemagick-types-inhibit): Add :set function. Allow new value
7283 of t to inhibit all types.
7284
7285 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7286 so we can preload it.
7287
7288 * loadup.el (fboundp): Preload regexp-opt, needed by
7289 imagemagick-register-types.
7290
7291 2012-04-15 Chong Yidong <cyd@gnu.org>
7292
7293 * frame.el (scrolling): Remove nearly unused customization group.
7294
7295 * scroll-all.el (scroll-all-mode): Move to windows group.
7296
7297 2012-04-15 Chong Yidong <cyd@gnu.org>
7298
7299 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7300
7301 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7304 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7305
7306 2012-04-15 Glenn Morris <rgm@gnu.org>
7307
7308 * simple.el (process-file-side-effects): Doc fix.
7309
7310 2012-04-15 Glenn Morris <rgm@gnu.org>
7311
7312 * international/mule-cmds.el (set-language-environment): Doc fix.
7313
7314 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7315
7316 * server.el (server-auth-key, server-generate-key): Doc fixes.
7317 (server-get-auth-key): Doc fix. Use `string-match-p'.
7318 (server-start): Reflow docstring.
7319
7320 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7321
7322 * server.el (server-generate-key): `called-interactively-p'
7323 requires a parameter.
7324
7325 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7326
7327 * server.el (server-auth-key): New variable.
7328 (server-generate-key, server-get-auth-key): New function.
7329 (server-start): Use the new variable and functions to allow
7330 setting a permanent server key (bug#9423).
7331
7332 2012-04-14 Leo Liu <sdl.web@gmail.com>
7333
7334 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7335
7336 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7337
7338 Spelling fixes.
7339 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7340 Emacs uses American spelling.
7341
7342 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7343
7344 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7345 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7346 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7347 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7348
7349 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * progmodes/which-func.el (which-func-modes): Change default.
7352
7353 2012-04-14 Kim F. Storm <storm@cua.dk>
7354
7355 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7356 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7357
7358 2012-04-14 Chong Yidong <cyd@gnu.org>
7359
7360 * custom.el (custom-theme-set-variables): Doc fix.
7361
7362 2012-04-14 Glenn Morris <rgm@gnu.org>
7363
7364 * international/mule.el (set-auto-coding-for-load): Doc fix.
7365
7366 2012-04-14 Alan Mackenzie <acm@muc.de>
7367
7368 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7369 imenu work again for Objective C Mode. Correct the *-index values,
7370 these having been disturbed by a previous change in 2011-08.
7371
7372 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7373 Correct two search limits.
7374
7375 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7378
7379 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7380
7381 * international/characters.el: Fix sorting.
7382
7383 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7384
7385 * international/characters.el: Add more missing Latin case pairs.
7386
7387 2012-04-14 Glenn Morris <rgm@gnu.org>
7388
7389 * files.el (dir-locals-set-class-variables): Doc fix.
7390
7391 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7392
7393 * international/characters.el: Add set-case-syntax-pair call for
7394 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7395 counterpart. (Bug#11209)
7396
7397 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7398
7399 2012-04-14 Glenn Morris <rgm@gnu.org>
7400
7401 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7402
7403 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7404
7405 * textmodes/ispell.el (ispell-dictionary-base-alist):
7406 Add data for Hebrew.
7407
7408 2012-04-14 Chong Yidong <cyd@gnu.org>
7409
7410 * net/rcirc.el (rcirc-cmd-quit):
7411 Revert 2012-03-18 change (Bug#11192).
7412
7413 2012-04-14 Glenn Morris <rgm@gnu.org>
7414
7415 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7416
7417 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7418
7419 * minibuffer.el (completion-in-region-mode-map):
7420 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7421
7422 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7423
7424 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7425
7426 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7427
7428 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7429 to allow `C-M-f' and `C-M-b' to move to the nearest path
7430 separator (bug#9511).
7431
7432 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7433
7434 * avoid.el: Require cl when compiling. And also move the
7435 `provide' to the end.
7436
7437 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7438
7439 * avoid.el (mouse-avoidance-banish-position): New variable.
7440 (mouse-avoidance-banish-destination): Use it (bug#10165).
7441
7442 2012-04-13 Leo Liu <sdl.web@gmail.com>
7443
7444 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7445
7446 2012-04-13 Ken Brown <kbrown@cornell.edu>
7447
7448 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7449 this is no longer needed now that cygstart understands file:// URLs.
7450 (browse-url-filename-alist): For the same reason, don't modify
7451 file:// URLs on Cygwin.
7452
7453 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7456 the region on shift if the binding is already shifted (bug#11221).
7457
7458 2012-04-12 Glenn Morris <rgm@gnu.org>
7459
7460 * mail/mailpost.el: Move to obsolete/.
7461
7462 2012-04-12 Drew Adams <drew.adams@oracle.com>
7463
7464 * imenu.el (imenu--generic-function): Ignore invisible definitions
7465 (bug#10123).
7466
7467 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7468
7469 * hexl.el (hexl-bits): New variable.
7470 (hexl-options): Mention the variable in the doc string.
7471 (hexl-rulerise, hexl-line-displen): New functions.
7472 (hexl-mode): Mention the new variable.
7473 (hexl-mode, hexl-current-address, hexl-current-address):
7474 Use the displen.
7475 (hexl-ascii-start-column): New function.
7476 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7477 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7478
7479 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7480
7481 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7482 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7483 the encoding, as expected by hunspell.
7484
7485 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * battery.el (battery--linux-sysfs-regexp): New const.
7488 (battery-status-function): Use it. Remove yeeloong special case.
7489 (battery-yeeloong-sysfs): Remove.
7490 (battery-echo-area-format): Remove yeeloong special case.
7491
7492 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7495 Reported by Noah Friedman.
7496
7497 * subr.el (read-passwd): Use read-string.
7498
7499 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7500
7501 * vcursor.el (vcursor-move): Increase the priority of the overlay
7502 (bug#9663).
7503
7504 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7505
7506 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7507 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7508
7509 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7510
7511 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7512 define-minor-mode (bug#10760).
7513
7514 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7515
7516 * progmodes/grep.el (rgrep): Tweak the find command line so
7517 that directories matching `grep-find-ignored-files' won't be
7518 pruned (bug#10351).
7519
7520 2012-04-11 Chong Yidong <cyd@gnu.org>
7521
7522 * startup.el (command-line): Remove support for long-obsolete
7523 variable font-lock-face-attributes.
7524
7525 2012-04-11 Glenn Morris <rgm@gnu.org>
7526
7527 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7528
7529 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7530
7531 * window.el (window--state-get-1): Obey window-point-insertion-type.
7532
7533 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7534
7535 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7536 to previous function when point is on the first character of a
7537 function. Take care of that in `narrow-to-defun' (bug#6157).
7538
7539 2012-04-11 Glenn Morris <rgm@gnu.org>
7540
7541 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7542 not just file-errors.
7543
7544 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7545 (vc-bzr-sha1): Use internal sha1.
7546
7547 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7550
7551 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7552
7553 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7554 that start in the middle of the line (bug#10496).
7555
7556 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7557
7558 * battery.el (battery-linux-proc-acpi): Only one battery is
7559 discharged at a time, but that seems to confuse battery.el when
7560 computing `rate-type' for the battery not being discharged
7561 (bug#10332).
7562
7563 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7566
7567 * international/quail.el: Use dolist and simplify.
7568 (quail-define-package, quail-update-keyboard-layout)
7569 (quail-define-rules): Use dolist.
7570 (quail-insert-kbd-layout, quail-get-translation): CSE.
7571
7572 * tmm.el: Use dolist, remove left over hook.
7573 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7574 Use dolist.
7575 (calendar-load-hook): Don't mess with it.
7576
7577 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7578 Use derived-mode-p. Run the diff asynchronously.
7579
7580 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7581
7582 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7583
7584 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7587 (list-dynamic-libraries--loaded): New function.
7588 (list-dynamic-libraries--refresh): Use it.
7589
7590 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7591
7592 * progmodes/python.el (python-fill-paragraph):
7593 Make python-fill-region in a multiline string work when font-lock is
7594 disabled (bug#7018).
7595
7596 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7597
7598 * language/european.el (cp775): Add oem/legacy (en)coding on
7599 DOS/MS Windows for the Baltic languages. There are still plenty
7600 of texts written in this encoding/codepage (bug#6519).
7601
7602 2012-04-10 Glenn Morris <rgm@gnu.org>
7603
7604 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7605 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7606
7607 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7608
7609 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7610 next-line "n" and previous-line "p" in order to make recentf more
7611 consistent with ibuffer, dired or org-mode (bug#9387).
7612
7613 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7614
7615 * image.el (put-image): Return the overlay created instead of the
7616 optional input string (bug#7834). Note that this may break code
7617 that is (for some reason or other) depending on `put-image'
7618 returning the string.
7619
7620 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7621
7622 * simple.el (zap-to-char): Allow zapping using input methods
7623 (bug#1580).
7624
7625 * textmodes/fill.el (fill-region): Leave point and mark where they
7626 were before filling (bug#5399).
7627
7628 2012-04-09 Glenn Morris <rgm@gnu.org>
7629
7630 * version.el (emacs-bzr-get-version):
7631 Handle lightweight checkouts of local branches.
7632
7633 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7634
7635 * international/characters.el: Recover lost case pairs. (Bug#11209)
7636
7637 2012-04-09 Chong Yidong <cyd@gnu.org>
7638
7639 * custom.el (custom-variable-p): Return nil for non-symbol
7640 arguments instead of signaling an error.
7641 (user-variable-p): Obsolete alias for custom-variable-p.
7642
7643 * apropos.el (apropos-variable):
7644 * files-x.el (read-file-local-variable):
7645 * simple.el (set-variable):
7646 * woman.el (woman-mini-help):
7647 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7648
7649 2012-04-09 Glenn Morris <rgm@gnu.org>
7650
7651 * startup.el (normal-top-level): Don't look for leim-list.el
7652 in places where it will not be found. (Bug#910)
7653
7654 * international/mule-cmds.el (set-default-coding-systems):
7655 * files.el (normal-mode):
7656 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7657 This function was removed with ucs-tables.el in 2008.
7658
7659 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7660
7661 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7662 ispell-encoding8-command to "-i", without a trailing space.
7663 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7664 separate command-line arguments, to specify the encoding, since
7665 that's how hunspell expects it.
7666
7667 2012-04-08 Glenn Morris <rgm@gnu.org>
7668
7669 * loadup.el: Load bindings before cus-start.
7670 This reduces somewhat the number of "rogue" settings in emacs -Q.
7671
7672 2012-04-07 Glenn Morris <rgm@gnu.org>
7673
7674 * version.el (emacs-bzr-get-version): New function.
7675 (emacs-bzr-version): New variable.
7676 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7677 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7678
7679 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7680
7681 * international/uni-bidi.el, international/uni-category.el:
7682 * international/uni-combining.el, international/uni-decimal.el:
7683 * international/uni-decomposition.el, international/uni-digit.el:
7684 * international/uni-lowercase.el, international/uni-mirrored.el:
7685 * international/uni-name.el, international/uni-numeric.el:
7686 * international/uni-titlecase.el, international/uni-uppercase.el:
7687 Update for Unicode 6.1.
7688
7689 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7690
7691 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7692
7693 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7694
7695 * window.el (shrink-window): Mention the `window-min-height'
7696 variable in the doc string.
7697
7698 2012-04-05 Bastien Guerry <bzg@altern.org>
7699
7700 * color.el (color-lighten-name): Fix typo.
7701
7702 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * server.el (server--on-display-p): New function.
7705 (server--on-display-p): Use it.
7706
7707 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7708
7709 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7710 (bug#11145).
7711
7712 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * comint.el (comint--common-quoted-suffix): Check string boundary
7715 before comparing (bug#11158).
7716 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7717
7718 2012-04-04 Chong Yidong <cyd@gnu.org>
7719
7720 * minibuffer.el (completion-extra-properties): Doc fix.
7721
7722 * subr.el (delayed-warnings-hook): Doc fix.
7723
7724 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7725
7726 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7727 selection (Bug#11159).
7728 (epa-insert-keys): Inform that the default public key will be
7729 exported if no key is selected.
7730
7731 2012-04-04 Richard Stallman <rms@gnu.org>
7732
7733 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7734
7735 2012-04-03 Chong Yidong <cyd@gnu.org>
7736
7737 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7738 mail-insert-file, not its obsolete alias mail-attach-file.
7739
7740 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7741
7742 * notifications.el (notifications-notify): Fix docstring.
7743
7744 2012-04-02 Glenn Morris <rgm@gnu.org>
7745
7746 * emacs-lisp/authors.el (authors-aliases): Another addition.
7747
7748 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7749
7750 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7751 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7752 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7753
7754 2012-04-01 Chong Yidong <cyd@gnu.org>
7755
7756 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7757 Handle root directory properly.
7758 (copy-directory): Caller changed.
7759
7760 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7761 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7762
7763 2012-03-31 Glenn Morris <rgm@gnu.org>
7764
7765 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7766
7767 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7768
7769 * calendar/calendar.el (calendar-window-list)
7770 (calendar-hide-window): Restore. (Bug#11140)
7771 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7772
7773 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7774
7775 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7776
7777 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7778 Check if file is a symlink (Bug#10489).
7779
7780 * files.el (copy-directory): Likewise.
7781
7782 2012-03-30 Chong Yidong <cyd@gnu.org>
7783
7784 * image.el (imagemagick-types-inhibit)
7785 (imagemagick-register-types): Doc fix.
7786
7787 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7788
7789 * textmodes/ispell.el (ispell-get-extended-character-mode):
7790 Disable extended-char-mode for hunspell. hunspell does not support it
7791 and treats ~word as ordinary words in pipe mode.
7792
7793 2012-03-30 Glenn Morris <rgm@gnu.org>
7794
7795 * tutorial.el (help-with-tutorial): Ensure local variables don't
7796 happen to make the buffer read-only. (Bug#11127)
7797
7798 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7799
7800 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7801 (perl-calculate-indent): Return `noindent' in strings.
7802
7803 2012-03-28 Sam Steingold <sds@gnu.org>
7804
7805 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7806 instead of the broken adhockery which does not prevent calendar
7807 buffers from being displayed at random after exit.
7808 (calendar-window-list, calendar-hide-window): Remove the broken
7809 adhockery.
7810
7811 2012-03-28 Glenn Morris <rgm@gnu.org>
7812
7813 * replace.el (query-replace-map): Doc fix.
7814
7815 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7816
7817 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7818 contents. (Bug#11109)
7819
7820 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7821
7822 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7823 (bug#11077).
7824 (avl-tree--check, avl-tree--check-node): New funs.
7825
7826 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7827
7828 * window.el (switch-to-visible-buffer): New option.
7829 (switch-to-prev-buffer, switch-to-next-buffer):
7830 Observe switch-to-visible-buffer. Make sure that checking for a window
7831 showing a buffer already is done on the same frame.
7832
7833 2012-03-27 Glenn Morris <rgm@gnu.org>
7834
7835 * startup.el (mail-host-address): Doc fix.
7836
7837 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7840 than 197 variables.
7841
7842 2012-03-26 Ami Fischman <ami@fischman.org>
7843
7844 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7845
7846 2012-03-26 Glenn Morris <rgm@gnu.org>
7847
7848 * files.el (save-buffers-kill-emacs): Doc fix.
7849
7850 * startup.el (normal-top-level, command-line, command-line-1):
7851 Give them doc strings.
7852
7853 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7854
7855 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7856 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7857
7858 2012-03-25 Chong Yidong <cyd@gnu.org>
7859
7860 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7861 theme if it was previously enabled before (Bug#11031).
7862
7863 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7864 spec with custom-face-get-current-spec if its :shown-value is not
7865 determined yet (Bug#9337).
7866 (customize-create-theme, custom-theme-revert): Doc fixes.
7867
7868 * button.el (button-at): Minor addition to docstring.
7869
7870 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7871
7872 * vc/vc.el (vc-merge): Fix a prompt.
7873
7874 2012-03-24 Chong Yidong <cyd@gnu.org>
7875
7876 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7877 point (Bug#9623).
7878
7879 * button.el (button-at): Minor addition to docstring.
7880
7881 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * newcomment.el (comment-choose-indent): No space after BOL.
7884
7885 2012-03-22 Sam Steingold <sds@gnu.org>
7886
7887 * window.el (switch-to-prev-buffer): Revert last patch because the
7888 bug turned out to be an advertised feature (Elisp manual 28.14).
7889
7890 2012-03-22 Glenn Morris <rgm@gnu.org>
7891
7892 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7893 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7894
7895 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7896
7897 * net/network-stream.el (network-stream-open-starttls): Make error
7898 message under Windows be less misleading.
7899
7900 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7901
7902 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7903 understands (bug#9942).
7904
7905 2012-03-22 Chong Yidong <cyd@gnu.org>
7906
7907 * simple.el (end-of-visible-line): Handle return value of
7908 next-single-property-change properly (Bug#9371).
7909
7910 2012-03-22 Kenichi Handa <handa@m17n.org>
7911
7912 * international/quail.el (quail-insert-kbd-layout): Fix previous
7913 change. To avoid unwanted bidi reordering, use
7914 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7915
7916 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7917
7918 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7919 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7920 (ruby-beginning-of-indent): Be more careful with the difference
7921 between word-boundary and symbol boundary.
7922 (ruby-mode-syntax-table): Make : a symbol constituent.
7923
7924 2012-03-21 Andreas Politz <politza@fh-trier.de>
7925
7926 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7927
7928 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * progmodes/etags.el (tags-completion-at-point-function):
7931 Improve last fix.
7932
7933 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7934
7935 2012-03-21 Sam Steingold <sds@gnu.org>
7936
7937 * progmodes/etags.el (tags-completion-at-point-function):
7938 Avoid the error when point is inside the pattern.
7939
7940 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7941
7942 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7943 line (Bug#10855).
7944
7945 2012-03-21 Drew Adams <drew.adams@oracle.com>
7946
7947 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7948
7949 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7950
7951 * ido.el (ido-set-current-directory, ido-read-internal)
7952 (ido-choose-completion-string, ido-completion-help): Handle nil
7953 value of ido-completion-buffer (Bug#11008).
7954
7955 2012-03-21 Sam Steingold <sds@gnu.org>
7956
7957 * window.el (switch-to-prev-buffer): Do not switch to a visible
7958 window previous buffer, just like with the frame previous buffers.
7959
7960 2012-03-21 Chong Yidong <cyd@gnu.org>
7961
7962 * faces.el (make-face, make-empty-face, copy-face):
7963 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7964 Doc fixes.
7965
7966 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7969 (widget-complete): Remove broken use of it.
7970
7971 2012-03-20 Chong Yidong <cyd@gnu.org>
7972
7973 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7974 Use string-width and truncate-string-width to handle arbitrary
7975 characters.
7976
7977 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7978
7979 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7980 to draw rectangles, not squares. (Regression introduced by revno
7981 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7982
7983 2012-03-18 Chong Yidong <cyd@gnu.org>
7984
7985 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7986 it is not yet defined (for temacs).
7987
7988 2012-03-18 Leo Liu <sdl.web@gmail.com>
7989
7990 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7991
7992 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7993
7994 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7995 (ispell-choices-win-default-height, ispell-silently-savep)
7996 (ispell-dictionary-alist, ispell-encoding8-command)
7997 (ispell-check-version, ispell-aspell-find-dictionary)
7998 (ispell-valid-dictionary-list, ispell-words-keyword)
7999 (ispell-get-word, ispell-internal-change-dictionary)
8000 (ispell-region, ispell-skip-region-list)
8001 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8002 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8003 (ispell-message-text-end, ispell-message)
8004 (ispell-buffer-local-parsing): Doc fix.
8005
8006 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8007
8008 * htmlfontify.el: Add support for code block fontification for ODT
8009 export (Bug #9914).
8010 (hfy-optimisations): Define new option
8011 `body-text-only'
8012 (hfy-fontify-buffer): Honor above setting.
8013 (hfy-begin-span, hfy-end-span): New routines factored out form
8014 `hfy-fontify-buffer'.
8015 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8016 that permit insertion of custom tags.
8017 (hfy-fontify-buffer): Use above handlers.
8018 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8019 (hfy-face-to-css): Re-defined to be a variable.
8020 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8021 over multiple runs. This is made possible by having the caller let
8022 bind a special variable `hfy-user-sheet-assoc'.
8023 (htmlfontify-string): New defun.
8024 (hfy-compile-face-map): Make sure that the last char in the
8025 buffer is correctly fontified.
8026 (hfy-face-resolve-face): Whitespace only change.
8027
8028 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8029
8030 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8031 message more clear.
8032
8033 2012-03-16 Leo Liu <sdl.web@gmail.com>
8034
8035 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8036
8037 2012-03-16 Alan Mackenzie <acm@muc.de>
8038
8039 Further optimise the handling of large macros.
8040
8041 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8042 limit to a call of `c-literal-limits'.
8043 (c-determine-+ve-limit): New function.
8044 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8045 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8046 In CASE 5B, restrict a search limit to 500.
8047 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8048
8049 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8050 Restrict macro bounds to +-500 from after-change's BEG END.
8051
8052 2012-03-16 Leo Liu <sdl.web@gmail.com>
8053
8054 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8055
8056 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8057
8058 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8059 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8060
8061 2012-03-16 Glenn Morris <rgm@gnu.org>
8062
8063 * view.el (view-buffer, view-buffer-other-window)
8064 (view-buffer-other-frame): Doc fixes re special mode-class.
8065
8066 * subr.el (eval-after-load): If named feature is provided not from
8067 a file, run after-load forms. (Bug#10946)
8068
8069 * calendar/calendar.el (calendar-insert-at-column):
8070 Handle non-unit-width characters a bit better. (Bug#10978)
8071
8072 2012-03-15 Chong Yidong <cyd@gnu.org>
8073
8074 * emacs-lisp/ring.el (ring-extend): New function.
8075 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8076
8077 * comint.el (comint-read-input-ring)
8078 (comint-add-to-input-history): Grow comint-input-ring lazily.
8079
8080 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8083 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8084
8085 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8086 (imenu-add-to-menubar): Don't add a redundant index.
8087 (imenu-update-menubar): Handle a dynamically composed keymap.
8088
8089 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8090
8091 * mail/sendmail.el (mail-encode-header):
8092 Bind rfc2047-encode-encoded-words to nil.
8093
8094 2012-03-13 Glenn Morris <rgm@gnu.org>
8095
8096 * calendar/calendar.el (calendar-string-spread):
8097 Handle non-unit-width characters a bit better. (Bug#10978)
8098
8099 2012-03-13 Leo Liu <sdl.web@gmail.com>
8100
8101 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8102 directory and file as argument (Bug#10822).
8103
8104 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8105
8106 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8107 For dynamically generated code, follow $PC.
8108 (gdb-disassembly-handler-custom): Handle no function name case.
8109
8110 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8111
8112 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8113 * emulation/ws-mode.el (ws-query-replace):
8114 * sort.el (sort-regexp-fields):
8115 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8116
8117 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * dabbrev.el: Fix cycle completion order (bug#10963).
8120 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8121 (dabbrev-completion): Don't use an obarray; provide
8122 a cycle-sort-function.
8123
8124 2012-03-12 Leo Liu <sdl.web@gmail.com>
8125
8126 * simple.el (kill-new): Use equal-including-properties for comparison.
8127 (kill-do-not-save-duplicates): Doc fix.
8128
8129 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * dabbrev.el: Fix cycle completion (bug#10963).
8132 Use lexical binding and wrap to 80 columns.
8133 (dabbrev-completion): Delay computing the list of completions.
8134
8135 2012-03-12 Kenichi Handa <handa@m17n.org>
8136
8137 * international/quail.el (quail-insert-kbd-layout): Surround each
8138 row by LRO and PDF instead of inserting many LRMs. Pad the left
8139 and right of each non-spacing marks. Insert invisible space
8140 between lower and upper characters to prevent composition.
8141
8142 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * minibuffer.el (minibuffer-complete): Don't get confused when the
8145 function is run twice via different commands (bug#10958).
8146 (complete-with-action): Fix docstring.
8147
8148 2012-03-12 Chong Yidong <cyd@gnu.org>
8149
8150 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8151 (nxml-completion-at-point-function): New function.
8152 (nxml-mode): Use it.
8153 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8154
8155 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8156 Load generated autoloads file before byte compiling (Bug#10970).
8157 (package--make-autoloads-and-compile): New helper fun.
8158
8159 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8160
8161 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8162
8163 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8164
8165 * autorevert.el (auto-revert-handler): Ensure, that
8166 file-readable-p is applied only for local files or in
8167 auto-revert-tail-mode.
8168
8169 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * server.el (server-eval-at): Handle non-tcp connections.
8172 Decode result string.
8173
8174 * server.el (server-msg-size): New constant.
8175 (server-reply-print): New function.
8176 (server-eval-and-print): Use it.
8177 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8178 Handle -print-nonl.
8179
8180 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8181
8182 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8183 (Bug#10987).
8184
8185 2012-03-11 Chong Yidong <cyd@gnu.org>
8186
8187 * simple.el (goto-line): Doc fix (Bug#9938).
8188
8189 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8190
8191 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8192 when finished (Bug#10963).
8193
8194 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8195
8196 * window.el (split-window-below): Fix bug in case where
8197 split-window-keep-point is nil (Bug#10971).
8198
8199 2012-03-11 Juri Linkov <juri@jurta.org>
8200
8201 * replace.el (replace-highlight): Set isearch-word to nil
8202 unconditionally. (Bug#10887)
8203
8204 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8205
8206 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8207 mairix-replace-illegal-chars; all callers changed. Don't remove
8208 ^, ~, and = characters: they are meaningful in mairix search specs.
8209 (mairix-widget-create-query): Add usage information about mairix
8210 search forms: negating words, searching for substrings, etc.
8211
8212 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8213
8214 * international/fontset.el (font-encoding-alist): Add an entry for
8215 ksx1001 (Bug#5667).
8216
8217 2012-03-10 Richard Stallman <rms@gnu.org>
8218
8219 * mail/sendmail.el (mail-encode-header):
8220 Set rfc2047-encode-encoded-words.
8221
8222 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8223
8224 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8225 view buffer means not swapped.
8226 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8227 (rmail-write-region-annotate): Error if real text has disappeared.
8228
8229 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8230
8231 2012-03-10 Chong Yidong <cyd@gnu.org>
8232
8233 * emulation/cua-rect.el (cua--init-rectangles):
8234 * emulation/cua-base.el (cua--init-keymaps):
8235 Add delete-forward-char to remappings (Bug#9666).
8236
8237 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8238
8239 * speedbar.el (speedbar-unhighlight-one-tag-line):
8240 Avoid unhighlighting due to frame switching (Bug#10275).
8241
8242 2012-03-10 Chong Yidong <cyd@gnu.org>
8243
8244 * minibuffer.el (completion-in-region, completion-help-at-point):
8245 Give the completion field overlay a high priority (Bug#6830).
8246
8247 * dired.el (dired-goto-file): Recognize absolute file name
8248 listings (Bug#7126).
8249 (dired-goto-file-1): New helper function.
8250 (dired-toggle-read-only): Inhibit warnings.
8251
8252 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8253
8254 * net/dbus.el (dbus-property-handler): Return empty array if
8255 there are no properties.
8256
8257 2012-03-09 Leo Liu <sdl.web@gmail.com>
8258
8259 * savehist.el (savehist-printable): Stricter check for string
8260 value (Bug#10937).
8261
8262 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8263
8264 * mail/smtpmail.el (smtpmail-send-it):
8265 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8266 valid mbox format.
8267
8268 2012-03-09 Glenn Morris <rgm@gnu.org>
8269
8270 * files.el (dir-locals-find-file):
8271 Don't check result is regular, readable.
8272 (dir-locals-read-from-file): Demote errors.
8273
8274 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8275
8276 * international/quail.el (quail-insert-kbd-layout):
8277 Insert invisible LRM characters before each character in a keyboard
8278 layout cell, to prevent their reordering by bidi display engine.
8279 For details, see the discussion in
8280 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8281
8282 2012-03-08 Alan Mackenzie <acm@muc.de>
8283
8284 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8285 the starting position; make it extend the marked region when
8286 invoked repeatedly - all under appropriate circumstances.
8287 Fixes bugs #5525, #10906.
8288
8289 2012-03-08 Glenn Morris <rgm@gnu.org>
8290
8291 * files.el (locate-dominating-file, dir-locals-find-file):
8292 Undo 2012-03-06 change.
8293
8294 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8295
8296 * international/quail.el (quail-help):
8297 Force bidi-paragraph-direction be left-to-right. See discussion in
8298 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8299 for the reason.
8300
8301 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8302
8303 Avoid superfluous registering of signals. (Bug#10807)
8304
8305 * notifications.el (notifications-on-action-object)
8306 (notifications-on-close-object): New defvars.
8307 (notifications-on-action-signal, notifications-on-closed-signal):
8308 Unregister the signal if not needed any longer.
8309 (notifications-notify): Register `notifications-action-signal' or
8310 `notifications-closed-signal', if :on-action or :on-close has been
8311 passed as argument.
8312
8313 2012-03-07 Chong Yidong <cyd@gnu.org>
8314
8315 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8316 non-X platforms.
8317
8318 2012-03-06 Glenn Morris <rgm@gnu.org>
8319
8320 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8321 (x-disown-selection-internal, x-get-selection-internal):
8322 Doc fix (add arglist signatures). (Bug#10783)
8323
8324 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8325
8326 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8327 Handle breakpoints with no "type".
8328
8329 2012-03-06 Glenn Morris <rgm@gnu.org>
8330
8331 * files.el (locate-dominating-file): Add optional predicate argument.
8332 (dir-locals-find-file): Make use of above change.
8333
8334 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8335
8336 * info.el (Info-insert-dir): Also try "dir.gz".
8337
8338 2012-03-06 Glenn Morris <rgm@gnu.org>
8339
8340 * files.el (dir-locals-find-file):
8341 Ignore non-readable or non-regular files. (Bug#10928)
8342
8343 * files.el (locate-dominating-file): Doc fix.
8344
8345 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8346
8347 * calendar/calendar.el (calendar-set-mode-line):
8348 `getenv' returns a string. (Bug#10951)
8349
8350 2012-03-05 Leo Liu <sdl.web@gmail.com>
8351
8352 * simple.el (backward-delete-char-untabify): Constrain point to
8353 field (Bug#10939).
8354
8355 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8356
8357 2012-03-05 Chong Yidong <cyd@gnu.org>
8358
8359 * simple.el (count-words): If called from Lisp, return the word
8360 count, for symmetry with `count-lines'. Arglist changed.
8361 (count-words--message): Args changed. Consolidate counting code
8362 from count-words and count-words-region.
8363 (count-words-region): Caller changed.
8364 (count-lines-region): Make it an obsolete alias.
8365
8366 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8367
8368 * saveplace.el (save-place-to-alist)
8369 (save-place-ignore-files-regexp): Allow value nil to disable this
8370 feature.
8371
8372 2012-03-04 Chong Yidong <cyd@gnu.org>
8373
8374 * faces.el (face-spec-reset-face): For the default face, reset the
8375 attributes to default values (Bug#10748).
8376
8377 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8378
8379 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8380 previous patch: Check `message-send-mail-function', and not the
8381 default function (bug#10897).
8382
8383 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8384
8385 * notifications.el (notifications-on-action-signal)
8386 (notifications-on-closed-signal): Check for unique service name of
8387 incoming event. Fix error in removing entry.
8388 (top): Register for signals with wildcard service name.
8389 (notifications-notify): Use daemon unique service name for map entries.
8390
8391 2012-03-04 Chong Yidong <cyd@gnu.org>
8392
8393 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8394
8395 2012-03-04 Glenn Morris <rgm@gnu.org>
8396
8397 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8398 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8399 (expand-abbrev, define-abbrev-table): Doc fixes.
8400
8401 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8402
8403 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8404 `message-default-send-mail-function' and not `send-mail-function'
8405 when doing the prompting for `sendmail-query-once' before sending
8406 in Message buffers (bug#10897).
8407
8408 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8409 This is inconsistent with all the other stream functions, which leave
8410 the setting up to the higher levels (if so wanted) (bug#10931).
8411
8412 2012-03-02 Alan Mackenzie <acm@muc.de>
8413
8414 Depessimize the handling of very large macros.
8415
8416 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8417 (c-macro-cache-syntactic): New variables to implement a one
8418 element macro cache.
8419 (c-invalidate-macro-cache): New function.
8420 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8421 Adapt to use the new cache.
8422 (c-state-safe-place): Use better the cache of safe positions.
8423 (c-state-semi-nonlit-pos-cache)
8424 (c-state-semi-nonlit-pos-cache-limit):
8425 New variables for...
8426 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8427 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8428 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8429 Use c-state-semi-safe-place.
8430
8431 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8432 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8433
8434 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * jka-compr.el (jka-compr-call-process):
8437 Apply `file-accessible-directory-p' only when the default directory is
8438 not remote.
8439
8440 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8441
8442 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8443 access of FILE2, if FILE1 does not exist.
8444
8445 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8446 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8447
8448 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8449 Add "PAGER=" to `process-environment'.
8450
8451 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8452
8453 * progmodes/sql.el: Bug fix
8454 (sql-get-login-ext): Save login values in globals.
8455 (sql-get-login): Use new version of `sql-get-login-ext'.
8456 (sql-interactive-mode): Set global `sql-connection' to nil.
8457 (sql-connect): Set global values for connection.
8458 (sql-product-interactive): Save global values as buffer local.
8459
8460 2012-02-29 Leo Liu <sdl.web@gmail.com>
8461
8462 * abbrev.el (define-abbrevs): Reset sys to nil.
8463
8464 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8465
8466 * files.el (file-equal-p): Rename from `files-equal-p'.
8467 Return nil when one or both files don't exist.
8468 (file-subdir-of-p): Now only top directory must exists,
8469 return nil if it doesn't.
8470 (copy-directory): No need to test with `file-subdir-of-p' after
8471 creating dir.
8472 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8473 to `file-equal-p'.
8474
8475 2012-02-28 Glenn Morris <rgm@gnu.org>
8476
8477 * shell.el (shell-mode):
8478 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8479 * play/landmark.el (landmark-font-lock-face-O):
8480 * play/handwrite.el (handwrite):
8481 * play/gomoku.el (gomoku-O):
8482 * net/browse-url.el (browse-url-browser-display):
8483 * international/mule.el (define-charset):
8484 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8485 * filesets.el (filesets-find-file-delay):
8486 * eshell/em-xtra.el (eshell-xtra):
8487 * eshell/em-unix.el (eshell-grep):
8488 * emulation/viper.el (viper-mode):
8489 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8490 * emacs-lisp/easymenu.el (easy-menu-define):
8491 * calendar/timeclock.el (timeclock-use-display-time):
8492 * bs.el (bs-mode):
8493 * bookmark.el (bookmark-save-flag):
8494 Doc fix (standardize possessive apostrophe usage).
8495
8496 2012-02-27 Chong Yidong <cyd@gnu.org>
8497
8498 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8499 Fix key-binding lookup for ESC key (Bug#9146).
8500
8501 * font-lock.el (font-lock-specified-p): Rename from
8502 font-lock-spec-present. Callers changed.
8503
8504 2012-02-27 Daniel Hackney <dan@haxney.org>
8505
8506 * emacs-lisp/package.el (package-compute-transaction):
8507 Handle holding a package version to t in package-load-list.
8508
8509 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8510
8511 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8512 (tramp-get-inode, tramp-get-device): Use cached values.
8513
8514 2012-02-26 Alan Mackenzie <acm@muc.de>
8515
8516 Check there is a font-lock specification before doing initial
8517 fontification.
8518
8519 * font-core.el (font-lock-mode): Move the conditional from
8520 :after-hook to font-lock-initial-fontify.
8521 (font-lock-default-function): Move the check for a specification
8522 to font-lock-spec-present.
8523
8524 * font-lock.el (font-lock-initial-fontify): Call ...
8525 (font-lock-spec-present): New function.
8526
8527 2012-02-26 Jim Blandy <jimb@red-bean.com>
8528
8529 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8530 (gdb-send): Apply it to the operand of the '-interpreter-exec
8531 console' command, so that we can pass arguments with (say) quotes
8532 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8533
8534 2012-02-26 Chong Yidong <cyd@gnu.org>
8535
8536 * help-fns.el (describe-function-1): Clarify description of
8537 remapping (Bug#10844).
8538
8539 * files.el (files-equal-p): Doc fix.
8540 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8541 and quit the loop once a mismatch is found.
8542
8543 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8544
8545 * bs.el (bs--show-with-configuration): Don't throw an error
8546 if the window cannot be split; otherwise, subsequent calls to
8547 bs-show fail, restoring a stale window config. (Bug#10882)
8548
8549 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8550
8551 * term/ns-win.el (global-map): Bind ns-drag-file to
8552 ns-find-file (Bug#5855, Bug#10050).
8553
8554 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8555
8556 * calendar/parse-time.el (parse-time-string): Allow extractor to
8557 return nil.
8558
8559 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8560
8561 * net/tramp.el (tramp-file-name-for-operation):
8562 Add `files-equal-p' and `file-subdir-of-p'.
8563
8564 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8565 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8566 Add COPY-CONTENTS argument.
8567
8568 2012-02-25 Chong Yidong <cyd@gnu.org>
8569
8570 Add custom groups for VC backends, for consistency with vc-bzr.
8571
8572 * vc/vc-arch.el (vc-arch):
8573 * vc/vc-cvs.el (vc-cvs):
8574 * vc/vc-git.el (vc-git):
8575 * vc/vc-hg.el (vc-hg):
8576 * vc/vc-mtn.el (vc-mtn):
8577 * vc/vc-rcs.el (vc-rcs):
8578 * vc/vc-sccs.el (vc-sccs):
8579 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8580 All relevant defcustoms reassigned.
8581
8582 2012-02-25 Chong Yidong <cyd@gnu.org>
8583
8584 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8585
8586 * term/x-win.el (x-initialize-window-system): Reduce default for
8587 x-selection-timeout to 5 seconds (Bug#8869).
8588
8589 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8590
8591 * files.el (files-equal-p, file-subdir-of-p): New functions.
8592 (copy-directory): Error when trying to copy a directory on itself.
8593 Add missing copy-contents arg to tramp handler.
8594 * dired-aux.el (dired-copy-file-recursive): Same.
8595 (dired-create-files): Modify destination when source is equal to
8596 dest when copying files.
8597 Return also when dest is a subdir of source. (Bug#10489)
8598
8599 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8600
8601 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8602 (Bug#10874)
8603
8604 2012-02-23 Alan Mackenzie <acm@muc.de>
8605
8606 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8607 parameter "after-hook:" to allow the expansion to run code after
8608 the execution of the mode hooks.
8609
8610 * font-lock.el (font-lock-initial-fontify): New function extracted
8611 from font-lock-mode-internal.
8612
8613 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8614 :after-hook.
8615
8616 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8619 (completion--cache-all-sorted-completions): New function.
8620 (completion-all-sorted-completions): Use it.
8621 (completion--do-completion, minibuffer-force-complete):
8622 Use it to re-instate the flush hook.
8623
8624 * icomplete.el (icomplete-completions): Replace last fix with a better
8625 one (bug#10850).
8626
8627 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8628
8629 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8630 when it might call us back infinitely (bug#10797).
8631
8632 2012-02-23 Glenn Morris <rgm@gnu.org>
8633
8634 * minibuffer.el (completion-category-overrides): Doc fix.
8635
8636 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8639 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8640
8641 2012-02-23 Glenn Morris <rgm@gnu.org>
8642
8643 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8644 (authors-obsolete-files-regexps, authors-ignored-files)
8645 (authors-ambiguous-files, authors-renamed-files-alist):
8646 Add more entries.
8647
8648 2012-02-23 Juri Linkov <juri@jurta.org>
8649
8650 * isearch.el (isearch-occur): Sync interactive spec with occur's
8651 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8652
8653 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8654
8655 2012-02-22 Juri Linkov <juri@jurta.org>
8656
8657 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8658 (ucs-insert): Doc fix. Check for hex digits in the string.
8659 Don't display `nil' in the error message. (Bug#10857)
8660
8661 2012-02-22 Alan Mackenzie <acm@muc.de>
8662
8663 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8664
8665 2012-02-22 Glenn Morris <rgm@gnu.org>
8666
8667 * ffap.el (ffap-c-path):
8668 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8669
8670 2012-02-22 Chong Yidong <cyd@gnu.org>
8671
8672 * custom.el (load-theme): Doc fix.
8673
8674 2012-02-22 Glenn Morris <rgm@gnu.org>
8675
8676 * dired-x.el (dired-guess-shell-alist-default):
8677 Remove escape sequences from nroff output. (Bug#172)
8678
8679 2012-02-21 Glenn Morris <rgm@gnu.org>
8680
8681 * vc/emerge.el (emerge-defvar-local):
8682 Set `permanent-local' property rather than unused `preserved'.
8683
8684 * textmodes/picture.el (picture-delete-char): New alias.
8685 (picture-mode-map): Use it. (Bug#10860)
8686 (picture-mode): Doc fix.
8687
8688 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8689
8690 * newcomment.el (uncomment-region-default): Remove unused binding.
8691
8692 2012-02-21 Glenn Morris <rgm@gnu.org>
8693
8694 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8695 (picture-self-insert, picture-tab-chars): Doc fix.
8696 (picture-mode-map): Fix C-a, C-e.
8697
8698 2012-02-20 Glenn Morris <rgm@gnu.org>
8699
8700 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8701
8702 2012-02-20 Leo Liu <sdl.web@gmail.com>
8703
8704 * icomplete.el (icomplete-completions): Check FROM arg before
8705 passing to substring (Bug#10850).
8706
8707 2012-02-19 Chong Yidong <cyd@gnu.org>
8708
8709 * comint.el: Require ansi-color.
8710 (comint-output-filter-functions): Add ansi-color-process-output.
8711
8712 * ansi-color.el: Don't set comint-output-filter-functions; it is
8713 now in the initial value defined in comint.el.
8714 (ansi-color-apply-face-function): New variable.
8715 (ansi-color-apply-on-region): Use it.
8716 (ansi-color-apply-overlay-face): New function.
8717
8718 * shell.el (shell): No need to require ansi-color.
8719 (shell-mode): Use ansi-color-apply-face-function to highlight
8720 color escapes using font-lock-face property (Bug#10835).
8721
8722 2012-02-19 Chong Yidong <cyd@gnu.org>
8723
8724 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8725 mode-line formats (Bug#10839).
8726
8727 2012-02-18 Glenn Morris <rgm@gnu.org>
8728
8729 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8730
8731 * mail/undigest.el (unforward-rmail-message): Doc fix.
8732
8733 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8734
8735 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8736
8737 * international/characters.el (script-list): Sync with the latest
8738 Unicode Character Database.
8739
8740 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8741
8742 * international/titdic-cnv.el: Remove duplicate coding tag.
8743 * language/cham.el: Likewise.
8744 * language/tai-viet.el: Likewise.
8745
8746 2012-02-18 Glenn Morris <rgm@gnu.org>
8747
8748 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8749 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8750 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8751 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8752 * calendar/holidays.el (holiday-bahai-holidays)
8753 (calendar-holidays, list-holidays):
8754 Use utf-8 Bahá'í in doc-strings, menus, etc.
8755
8756 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8757
8758 * saveplace.el (save-place-ignore-files-regexp): New variable
8759 allowing for excluding files from saving their location of point.
8760 The default value matches the temporary commit message editing
8761 files from Git, SVN, Bazaar, and Mercurial.
8762 (save-place-to-alist): Use it.
8763
8764 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8765 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * newcomment.el (uncomment-region-default): Don't leave extra space
8768 when an arg is provided (bug#8150).
8769
8770 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8771
8772 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8773
8774 2012-02-17 Glenn Morris <rgm@gnu.org>
8775
8776 * net/socks.el: Require network-stream. (Bug#10599)
8777
8778 2012-02-17 Kenichi Handa <handa@m17n.org>
8779
8780 * international/charprop.el:
8781 * international/uni-name.el:
8782 * international/uni-old-name.el:
8783 * international/uni-comment.el: Regenerate.
8784
8785 2012-02-16 Glenn Morris <rgm@gnu.org>
8786
8787 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8788 Interactively in calendar buffer, give an error if not on a date.
8789
8790 2012-02-15 Glenn Morris <rgm@gnu.org>
8791
8792 * shell.el (shell-delimiter-argument-list):
8793 Revert 2011-02-17 change. (Bug#8027)
8794
8795 2012-02-15 Chong Yidong <cyd@gnu.org>
8796
8797 * minibuffer.el (completion-at-point-functions): Doc fix.
8798
8799 * custom.el (defcustom): Doc fix; note use of defvar.
8800
8801 2012-02-15 Glenn Morris <rgm@gnu.org>
8802
8803 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8804 Doc fixes.
8805
8806 2012-02-14 Glenn Morris <rgm@gnu.org>
8807
8808 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8809
8810 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8811
8812 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8813 way the ports list is computed.
8814 (smtpmail-query-smtp-server): Prompt the user for a port number if
8815 we can't connect to any of the standard ports (bug#10810).
8816
8817 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8818
8819 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8820
8821 2012-02-13 Glenn Morris <rgm@gnu.org>
8822
8823 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8824
8825 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8826
8827 * net/gnutls.el (gnutls-trustfiles): New variable.
8828 (gnutls-negotiate): Use it.
8829
8830 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8831
8832 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8833 does its stuff if Gnus is running.
8834
8835 2012-02-13 Alan Mackenzie <acm@muc.de>
8836
8837 Fix a loop in c-set-fl-decl-start.
8838
8839 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8840 c-backward-syntactic-ws actually moves backwards.
8841
8842 2012-02-13 Leo Liu <sdl.web@gmail.com>
8843
8844 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8845 beginning so that all \C-o chars are removed.
8846
8847 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8848
8849 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8850
8851 2012-02-12 Alan Mackenzie <acm@muc.de>
8852
8853 Fix infinite loop with long macros.
8854 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8855
8856 2012-02-12 Chong Yidong <cyd@gnu.org>
8857
8858 * window.el (display-buffer): Doc fix (Bug#10785).
8859
8860 2012-02-12 Glenn Morris <rgm@gnu.org>
8861
8862 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8863 (x-disown-selection-internal, x-get-selection-internal):
8864 Sync docs with the xselect.c versions.
8865
8866 * allout-widgets.el: Add missing license notice.
8867
8868 2012-02-11 Glenn Morris <rgm@gnu.org>
8869
8870 * select.el (x-get-selection-internal, x-own-selection-internal)
8871 (x-disown-selection-internal):
8872 * x-dnd.el (x-get-selection-internal): Update declarations.
8873
8874 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8875
8876 * window.el (window-sides-slots):
8877 * tool-bar.el (tool-bar-position):
8878 * term/xterm.el (xterm-extra-capabilities):
8879 * ses.el (ses-self-reference-early-detection):
8880 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8881 (verilog-auto-wire-type)
8882 (verilog-auto-delete-trailing-whitespace)
8883 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8884 (verilog-auto-tieoff-declaration):
8885 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8886 (sql-oracle-statement-starters, sql-oracle-scan-on):
8887 * progmodes/prolog.el (prolog-align-comments-flag)
8888 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8889 (prolog-left-indent-regexp, prolog-paren-indent-p)
8890 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8891 (prolog-types, prolog-mode-specificators)
8892 (prolog-determinism-specificators, prolog-directives)
8893 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8894 (prolog-electric-dot-flag)
8895 (prolog-electric-dot-full-predicate-template)
8896 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8897 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8898 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8899 (prolog-program-switches, prolog-prompt-regexp)
8900 (prolog-debug-on-string, prolog-debug-off-string)
8901 (prolog-trace-on-string, prolog-trace-off-string)
8902 (prolog-zip-on-string, prolog-zip-off-string)
8903 (prolog-use-standard-consult-compile-method-flag)
8904 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8905 (prolog-imenu-max-lines, prolog-info-predicate-index)
8906 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8907 (prolog-char-quote-workaround):
8908 * progmodes/cc-vars.el (c-defun-tactic):
8909 * net/tramp.el (tramp-encoding-command-interactive)
8910 (tramp-local-end-of-line):
8911 * net/soap-client.el (soap-client):
8912 * net/netrc.el (netrc-file):
8913 * net/gnutls.el (gnutls):
8914 * minibuffer.el (completion-category-overrides)
8915 (completion-cycle-threshold)
8916 (completion-pcm-complete-word-inserts-delimiters):
8917 * man.el (Man-name-local-regexp):
8918 * mail/feedmail.el (feedmail-display-full-frame):
8919 * international/characters.el (glyphless-char-display-control):
8920 * eshell/em-ls.el (eshell-ls-date-format):
8921 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8922 (lisp-lambda-list-keyword-parameter-indentation)
8923 (lisp-lambda-list-keyword-parameter-alignment):
8924 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8925 * dired-x.el (dired-omit-verbose):
8926 * cus-theme.el (custom-theme-allow-multiple-selections):
8927 * calc/calc.el (calc-highlight-selections-with-faces)
8928 (calc-lu-field-reference, calc-lu-power-reference)
8929 (calc-note-threshold):
8930 * battery.el (battery-mode-line-limit):
8931 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8932 (archive-7z-update):
8933 * allout.el (allout-prefixed-keybindings)
8934 (allout-unprefixed-keybindings)
8935 (allout-inhibit-auto-fill-on-headline)
8936 (allout-flattened-numbering-abbreviation):
8937 * allout-widgets.el (allout-widgets-auto-activation)
8938 (allout-widgets-icons-dark-subdir)
8939 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8940 (allout-widgets-theme-dark-background)
8941 (allout-widgets-theme-light-background)
8942 (allout-widgets-item-image-properties-emacs)
8943 (allout-widgets-item-image-properties-xemacs)
8944 (allout-widgets-run-unit-tests-on-load)
8945 (allout-widgets-time-decoration-activity)
8946 (allout-widgets-hook-error-post-time)
8947 (allout-widgets-track-decoration):
8948 Add missing :version tags to new defcustoms and defgroups.
8949
8950 * progmodes/sql.el (sql-ansi-statement-starters)
8951 (sql-oracle-statement-starters): Add custom type.
8952
8953 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8954 (prolog-system-version): Give it a type.
8955
8956 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8957
8958 * term/pc-win.el (x-select-text, x-selection-owner-p)
8959 (x-own-selection-internal, x-disown-selection-internal)
8960 (x-get-selection-internal): Sync doc strings and argument lists
8961 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8962
8963 2012-02-11 Leo Liu <sdl.web@gmail.com>
8964
8965 * progmodes/python.el (python-end-of-statement): Fix infinite
8966 loop. (Bug#10788)
8967
8968 2012-02-10 Glenn Morris <rgm@gnu.org>
8969
8970 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8971 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8972
8973 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8974
8975 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8976 about SMTP before checking the From header.
8977
8978 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8979 into own function for reuse by emacsbug.el.
8980
8981 2012-02-10 Leo Liu <sdl.web@gmail.com>
8982
8983 * subr.el (condition-case-unless-debug): Rename from
8984 condition-case-no-debug. All callers changed.
8985 (with-demoted-errors): Fix caller.
8986
8987 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8988 * nxml/rng-valid.el (rng-do-some-validation):
8989 * emacs-lisp/package.el (package-refresh-contents)
8990 (package-menu-execute):
8991 * desktop.el (desktop-create-buffer):
8992 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8993
8994 2012-02-10 Glenn Morris <rgm@gnu.org>
8995
8996 * textmodes/bibtex.el:
8997 Add missing :version tags for new/changed defcustoms.
8998
8999 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9000
9001 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9002
9003 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9004 (smtpmail-via-smtp): Use it, or fall back on the From address.
9005 (smtpmail-send-it): Ditto.
9006
9007 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9010 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9011 (byte-compile-tmp-var): New const.
9012 (byte-compile-defvar): Use it to minimize .elc size.
9013 Just use `defvar' rather than simulate it (bug#10761).
9014
9015 2012-02-09 Glenn Morris <rgm@gnu.org>
9016
9017 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9018
9019 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9020 Add :version tags.
9021
9022 * progmodes/compile.el (compilation-error-screen-columns)
9023 (compilation-first-column, compilation-filter-start): Doc fixes.
9024
9025 * vc/log-view.el (log-view-toggle-entry-display):
9026 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9027
9028 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9029 (report-emacs-bug-can-use-xdg-email):
9030 (report-emacs-bug-insert-to-mailer): Doc fixes.
9031 (report-emacs-bug): Message fix.
9032
9033 * net/browse-url.el (browse-url-can-use-xdg-open)
9034 (browse-url-xdg-open): Doc fixes.
9035
9036 * electric.el (electric-indent-mode, electric-pair-mode)
9037 (electric-layout-rules, electric-layout-mode): Doc fixes.
9038 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9039
9040 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9041
9042 * server.el (server-unselect-display): Don't inadvertently kill
9043 the current buffer. (Bug#10729)
9044
9045 2012-02-08 Glenn Morris <rgm@gnu.org>
9046
9047 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9048 (sql-list-table): Doc fixes.
9049
9050 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9051 Comment out (does nothing).
9052
9053 * completion.el (dynamic-completion-mode):
9054 * dirtrack.el (dirtrack-debug-mode):
9055 * electric.el (electric-layout-mode):
9056 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9057 * face-remap.el (text-scale-mode, buffer-face-mode):
9058 * iimage.el (iimage-mode):
9059 * image-mode.el (image-transform-mode):
9060 * minibuffer.el (completion-in-region-mode):
9061 * scroll-lock.el (scroll-lock-mode):
9062 * simple.el (next-error-follow-minor-mode):
9063 * tar-mode.el (tar-subfile-mode):
9064 * tooltip.el (tooltip-mode):
9065 * vcursor.el (vcursor-use-vcursor-map):
9066 * wid-browse.el (widget-minor-mode):
9067 * emulation/tpu-edt.el (tpu-edt-mode):
9068 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9069 * international/iso-ascii.el (iso-ascii-mode):
9070 * language/thai-util.el (thai-word-mode):
9071 * mail/supercite.el (sc-minor-mode):
9072 * net/goto-addr.el (goto-address-mode):
9073 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9074 * progmodes/cwarn.el (cwarn-mode):
9075 * progmodes/flymake.el (flymake-mode):
9076 * progmodes/glasses.el (glasses-mode):
9077 * progmodes/hideshow.el (hs-minor-mode):
9078 * progmodes/pascal.el (pascal-outline-mode):
9079 * textmodes/enriched.el (enriched-mode):
9080 * vc/smerge-mode.el (smerge-mode):
9081 Doc fixes (minor mode argument).
9082
9083 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9084
9085 * ls-lisp.el (ls-lisp-sanitize): New function.
9086 (ls-lisp-insert-directory): Use it to fix or remove any elements
9087 in file-alist with missing attributes. (Bug#4673)
9088
9089 2012-02-07 Alan Mackenzie <acm@muc.de>
9090
9091 Fix spurious recognition of c-in-knr-argdecl.
9092
9093 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9094 putative K&R region.
9095
9096 2012-02-07 Alan Mackenzie <acm@muc.de>
9097
9098 * progmodes/cc-engine.el (c-forward-objc-directive):
9099 Prevent looping in "#pragma mark @implementation".
9100
9101 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9102
9103 * notifications.el (notifications-on-closed-signal): Make `reason'
9104 optional. (Bug#10744)
9105
9106 2012-02-07 Glenn Morris <rgm@gnu.org>
9107
9108 * emacs-lisp/easy-mmode.el (define-minor-mode):
9109 Doc fixes for the macro and the mode it defines.
9110
9111 * image.el (imagemagick-types-inhibit): Doc fix.
9112
9113 * cus-start.el (imagemagick-render-type): Add it.
9114
9115 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9116
9117 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9118 Set the default at load time, too, so that `font-lock-fontify-buffer'
9119 can be called without setting up the entire mode first. This fixes
9120 a bug in `mm-inline-text' with C MIME parts.
9121
9122 2012-02-06 Chong Yidong <cyd@gnu.org>
9123
9124 * simple.el (list-processes--refresh): Delete exited processes
9125 (Bug#8094).
9126
9127 * comint.el (comint-next-prompt): next-single-char-property-change
9128 and prev-single-char-property-change never return nil (Bug#8657).
9129
9130 * custom.el (defcustom): Doc fix (Bug#9711).
9131
9132 2012-02-05 Chong Yidong <cyd@gnu.org>
9133
9134 * cus-edit.el (custom-variable-reset-backup): Quote the value
9135 before storing it in the customized-value property (Bug#6712).
9136 (custom-display): Add a customization type tag.
9137 (custom-buffer-create-internal): Improve tooltip message.
9138
9139 * wid-edit.el (widget-field-value-get): New optional arg to
9140 suppress trailing whitespace truncation.
9141 (character): Use it (Bug#2689).
9142
9143 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9144
9145 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9146 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9147
9148 2012-02-05 Chong Yidong <cyd@gnu.org>
9149
9150 * cus-edit.el (custom-variable-value-create): For mismatched
9151 types, show the current value (Bug#7600).
9152
9153 * custom.el (defcustom): Doc fix.
9154
9155 2012-02-05 Glenn Morris <rgm@gnu.org>
9156
9157 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9158
9159 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9160
9161 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9162 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9163 (pp-last-sexp): Use `looking-at-p'.
9164
9165 2012-02-04 Glenn Morris <rgm@gnu.org>
9166
9167 * files.el (revert-buffer):
9168 Doc fix (mention revert-buffer-in-progress-p).
9169
9170 * emacs-lisp/ert-x.el (ert-simulate-command):
9171 Check deferred-action-list (which is obsolete) is bound.
9172
9173 * subr.el (with-wrapper-hook): Doc fixes.
9174
9175 * simple.el (filter-buffer-substring-functions)
9176 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9177
9178 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9179
9180 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9181 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9182
9183 2012-02-04 Leo Liu <sdl.web@gmail.com>
9184
9185 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9186
9187 2012-02-04 Glenn Morris <rgm@gnu.org>
9188
9189 * image.el (image-extension-data): Add obsolete alias.
9190
9191 * isearch.el (isearch-update): Doc fix.
9192
9193 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9194
9195 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9196
9197 2012-02-03 Glenn Morris <rgm@gnu.org>
9198
9199 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9200 (image-animate-timeout): Doc fix.
9201
9202 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9203
9204 2012-02-02 Glenn Morris <rgm@gnu.org>
9205
9206 * server.el (server-auth-dir): Doc fix.
9207 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9208
9209 * subr.el (run-mode-hooks): Doc fix.
9210
9211 2012-02-02 Juri Linkov <juri@jurta.org>
9212
9213 * image-mode.el (image-toggle-display-image): Remove tautological
9214 `major-mode' from the `derived-mode-p' test.
9215
9216 2012-02-02 Kenichi Handa <handa@m17n.org>
9217
9218 * composite.el (compose-region): Cancel previous change.
9219
9220 2012-02-02 Kenichi Handa <handa@m17n.org>
9221
9222 * composite.el (compose-region, compose-string): Signal error for
9223 a null string component (Bug#6988).
9224
9225 2012-02-01 Chong Yidong <cyd@gnu.org>
9226
9227 * view.el (view-buffer-other-window, view-buffer-other-frame):
9228 Handle special modes like view-buffer (Bug#10650).
9229 (view-buffer): Simplify.
9230
9231 * frame.el (set-frame-font): Tweak meaning of third argument.
9232
9233 * dynamic-setting.el (font-setting-change-default-font):
9234 Use set-frame-font (Bug#9982).
9235
9236 2012-02-01 Glenn Morris <rgm@gnu.org>
9237
9238 * progmodes/compile.el (compilation-internal-error-properties):
9239 Respect compilation-first-column in the "*compilation*" buffer.
9240
9241 * emacs-lisp/easy-mmode.el (define-minor-mode):
9242 Relax :variable's test for a named function.
9243
9244 2012-01-31 Alan Mackenzie <acm@muc.de>
9245
9246 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9247 off by one error.
9248
9249 2012-01-31 Chong Yidong <cyd@gnu.org>
9250
9251 * frame.el (set-frame-font): New arg ALL-FRAMES.
9252
9253 * menu-bar.el (menu-set-font): Use set-frame-font.
9254
9255 * faces.el (face-spec-reset-face): Don't apply unspecified
9256 attribute values to the default face.
9257
9258 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9259
9260 * progmodes/cwarn.el (cwarn): Remove dead link.
9261 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9262 Remove * from defcustom docstrings.
9263 (turn-on-cwarn-mode): Make obsolete.
9264 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9265 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9266
9267 2012-01-31 Glenn Morris <rgm@gnu.org>
9268
9269 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9270 Fix :variable handling of mode a symbol not equal to modefun.
9271 Allow named functions to be used as the cdr of :variable.
9272
9273 2012-01-30 Glenn Morris <rgm@gnu.org>
9274
9275 * emacs-lisp/authors.el (authors-fixed-entries):
9276 Remove reference to deleted file rnewspost.el.
9277
9278 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * window.el (window-with-parameter): Remove unused variable `windows'.
9281 (window--side-check): Remove unused variable `code'.
9282 (window--resize-siblings): Remove unused variable `first'.
9283 (adjust-window-trailing-edge): Remove unused variable `failed'.
9284 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9285 Use `let', not `let*'.
9286 (balance-windows-2): Remove unused variable `found'.
9287 (window--state-put-2): Remove unused variable `splits'.
9288 (window-state-put): Remove unused variable `selected'.
9289 (same-window-p): Use `string-match-p'.
9290 (display-buffer-assq-regexp): Remove unused variable `value'.
9291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9292 Mark argument ALIST as ignored.
9293 (pop-to-buffer): Remove unused variable `old-window'.
9294
9295 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9296
9297 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9298 and .lzma compressed files.
9299
9300 2012-01-29 Chong Yidong <cyd@gnu.org>
9301
9302 * frame.el (window-system-default-frame-alist): Doc fix.
9303
9304 * dynamic-setting.el (font-setting-change-default-font): Don't
9305 change the default face if SET-FONT argument is non-nil (Bug#9982).
9306
9307 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9308
9309 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9310
9311 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9312
9313 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9314 breakpoints in files outside current directory (Bug#6098).
9315
9316 2012-01-29 Chong Yidong <cyd@gnu.org>
9317
9318 * progmodes/python.el: Require ansi-color at top-level.
9319
9320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9321 Define and use in Emacs Lisp mode (Bug#9360).
9322 (lisp-mode-abbrev-table): Add doc.
9323 (lisp-mode-variables): Don't set local-abbrev-table.
9324 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9325
9326 2012-01-28 Roland Winkler <winkler@gnu.org>
9327
9328 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9329
9330 2012-01-28 Roland Winkler <winkler@gnu.org>
9331
9332 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9333 (bibtex-set-dialect): Use it. Either set global values of
9334 dialect-dependent variables or bind these variables buffer-locally
9335 (Bug#10254).
9336 (bibtex-mode): Call bibtex-set-dialect via
9337 hack-local-variables-hook.
9338 (bibtex-dialect): Update docstring.
9339 Add safe-local-variable predicate.
9340 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9341 bibtex-set-dialect.
9342 (bibtex-mode-map): Define menu for each dialect.
9343 (bibtex-entry): Fix docstring.
9344
9345 2012-01-28 Chong Yidong <cyd@gnu.org>
9346
9347 * eshell/esh-arg.el (eshell-quote-argument): New function.
9348
9349 * eshell/esh-ext.el (eshell-invoke-batch-file):
9350 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9351 first arg to eshell-parse-command (Bug#10523).
9352
9353 2012-01-28 Drew Adams <drew.adams@oracle.com>
9354
9355 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9356 `default-directory' is non-nil.
9357
9358 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9359
9360 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9361 line that displays system-configuration-options. (Bug#9924)
9362
9363 2012-01-28 Drew Adams <drew.adams@oracle.com>
9364
9365 * descr-text.el (describe-char): Show information about POS, in
9366 addition to information about the character at POS. Improve and
9367 update the doc string. Change "code point" to "code point in
9368 charset", to avoid confusion with the character's Unicode code
9369 point shown above that. (Bug#10129)
9370
9371 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9372
9373 * descr-text.el (describe-char): Show the raw character, not only
9374 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9375 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9376 for the reasons.
9377
9378 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9379
9380 * emacs-lisp/package.el (package-install):
9381 Run package-refresh-contents if there is no archive yet (Bug#9798).
9382
9383 2012-01-28 Chong Yidong <cyd@gnu.org>
9384
9385 * emacs-lisp/package.el (package-maybe-load-descriptor):
9386 New function, split from package-maybe-load-descriptor.
9387 (package-maybe-load-descriptor): Use it.
9388 (package-download-transaction): Fully load required packages
9389 inside the loop, so that `require' calls work (Bug#10593).
9390 (package-install): No need to call package-initialize now.
9391
9392 2012-01-28 Chong Yidong <cyd@gnu.org>
9393
9394 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9395
9396 * tooltip.el (tooltip-mode): Doc fix.
9397 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9398
9399 * frame.el (set-cursor-color): Doc fix (Bug#352).
9400
9401 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9402 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9403
9404 * cus-edit.el (custom-buffer-create-internal): Fix search button
9405 action (Bug#10542).
9406 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9407
9408 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9409
9410 * dired.el (dired-mark-files-regexp):
9411 Include any subdirectory components. (Bug#10445)
9412
9413 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9414
9415 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9416 Handle [host]:port syntax. (Bug#10533)
9417
9418 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9419
9420 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9421
9422 2012-01-26 Glenn Morris <rgm@gnu.org>
9423
9424 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9425 * term.el (term-raw-escape-map): Use Control-X-prefix.
9426 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9427
9428 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9429
9430 * window.el (window-state-get, window--state-get-1): Don't deal
9431 with fixed-sizeness of windows. Simplify code.
9432
9433 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9434
9435 * window.el (window--state-get-1, window--state-put-2):
9436 Don't save and restore the mark.
9437
9438 2012-01-25 Chong Yidong <cyd@gnu.org>
9439
9440 * custom.el (custom-variable-p): Doc fix.
9441
9442 2012-01-25 Glenn Morris <rgm@gnu.org>
9443
9444 * dired.el (dired-goto-file): Handle some of the more common
9445 characters that `ls -b' escapes. (Bug#10596)
9446
9447 * progmodes/compile.el (compilation-next-error-function):
9448 Respect compilation-first-column in the "*compilation*" buffer.
9449 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9450
9451 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9452
9453 2012-01-24 Glenn Morris <rgm@gnu.org>
9454
9455 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9456
9457 2012-01-24 Julien Danjou <julien@danjou.info>
9458
9459 * color.el (color-rgb-to-hsl): Fix value computing.
9460 (color-hue-to-rgb): New function.
9461 (color-hsl-to-rgb): New function.
9462 (color-clamp, color-saturate-hsl, color-saturate-name)
9463 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9464 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9465
9466 2012-01-24 Glenn Morris <rgm@gnu.org>
9467
9468 * vc/vc-rcs.el (vc-rcs-create-tag):
9469 * vc/vc-sccs.el (vc-sccs-create-tag):
9470 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9471
9472 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9473
9474 * eshell/esh-util.el (eshell-read-hosts-file):
9475 Skip comment lines. (Bug#10549)
9476
9477 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9478
9479 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9480
9481 * subr.el (display-delayed-warnings): Doc fix.
9482 (collapse-delayed-warnings): New function to collapse identical
9483 adjacent warnings.
9484 (delayed-warnings-hook): Add it.
9485
9486 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9487
9488 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9489
9490 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9491 (tramp-default-user-alist): Don't add "pscp".
9492 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9493 property "login-as", if set. (Bug#10530)
9494
9495 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9496
9497 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9498 "plink1" and "psftp". (Bug#10530)
9499
9500 2012-01-21 Kenichi Handa <handa@m17n.org>
9501
9502 * international/mule-cmds.el (prefer-coding-system): Show a
9503 warning message if the default value of file-name-coding-system
9504 was not changed.
9505
9506 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9507
9508 * windmove.el (windmove-reference-loc):
9509 Fix windmove-reference-loc miscalculation.
9510
9511 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9512
9513 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9514 default unit.
9515
9516 2012-01-21 Glenn Morris <rgm@gnu.org>
9517
9518 * international/mule.el (auto-coding-alist): Add .tbz.
9519
9520 * files.el (local-enable-local-variables): Doc fix.
9521 (inhibit-local-variables-regexps): Rename from
9522 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9523 Doc fix. Add some extensions from auto-coding-alist.
9524 (inhibit-local-variables-suffixes):
9525 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9526 (inhibit-local-variables-p):
9527 New function, extracted from set-auto-mode-1.
9528 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9529 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9530 (hack-local-variables): Doc fix. Make the mode-only case
9531 respect enable-local-variables and friends.
9532 Respect inhibit-local-variables-regexps for file-locals, but
9533 not for directory-locals.
9534 (set-visited-file-name):
9535 Take account of inhibit-local-variables-regexps.
9536 Whether it applies may change as the file name is changed.
9537 * jka-cmpr-hook.el (jka-compr-install):
9538 * jka-compr.el (jka-compr-uninstall):
9539 Update for inhibit-first-line-modes-suffixes name change.
9540
9541 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9542
9543 * help-macro.el (make-help-screen): Temporarily restore original
9544 binding for minor-mode-map-alist (Bug#10454).
9545
9546 2012-01-19 Julien Danjou <julien@danjou.info>
9547
9548 * color.el (color-name-to-rgb): Use the white color to find the max
9549 color component value and return correctly computed values.
9550 (color-name-to-rgb): Add missing float conversion for max value.
9551
9552 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9553
9554 * window.el (window--state-get-1, window-state-get): Do not use
9555 special state value for window-persistent-parameters.
9556 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9557 (window--state-put-2): Reset all window parameters to nil before
9558 assigning values of persistent parameters.
9559
9560 2012-01-18 Alan Mackenzie <acm@muc.de>
9561
9562 Eliminate sluggishness and hangs in fontification of "semicolon
9563 deserts".
9564
9565 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9566 Change value 10000 -> 3000.
9567 (c-state-safe-place): Reformulate so it doesn't stack up an
9568 infinite number of wrong entries in c-state-nonlit-pos-cache.
9569 (c-determine-limit-get-base, c-determine-limit): New functions to
9570 determine backward search limits disregarding literals.
9571 (c-find-decl-spots): Amend commenting.
9572 (c-cheap-inside-bracelist-p): New function which detects "={".
9573
9574 * progmodes/cc-fonts.el
9575 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9576 backward search.
9577 (c-font-lock-declarations): Fix an occurrence of point being
9578 undefined. Check additionally for point being in a bracelist or
9579 near a macro invocation without a semicolon so as to avoid a
9580 fruitless time consuming search for a declarator. Give a more
9581 precise search limit for declarators using the new
9582 c-determine-limit.
9583
9584 2012-01-18 Glenn Morris <rgm@gnu.org>
9585
9586 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9587 (set-auto-mode): Doc fixes.
9588
9589 2012-01-17 Glenn Morris <rgm@gnu.org>
9590
9591 * isearch.el (search-nonincremental-instead): Fix doc typo.
9592
9593 * dired.el (dired-insert-directory): Handle newlines in directory name.
9594 (dired-build-subdir-alist): Unescape newlines in directory name.
9595
9596 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9597
9598 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9599 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9600 (tramp-action-terminal): Use it. (Bug#10530)
9601
9602 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9603
9604 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9605
9606 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9607
9608 * window.el (window-state-ignored-parameters): Remove variable.
9609 (window--state-get-1): Rename argument MARKERS to IGNORE.
9610 Handle persistent window parameters. Make copy of clone-of
9611 parameter only if requested. (Bug#10348)
9612 (window--state-put-2): Install a window parameter only if it has
9613 a non-nil value or an existing parameter shall be overwritten.
9614
9615 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9616
9617 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9618
9619 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9620
9621 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9622 don't pass the (nil) value of `upnode' to string-match.
9623
9624 2012-01-14 Chong Yidong <cyd@gnu.org>
9625
9626 * startup.el (command-line): Fix X resource class for cursorColor.
9627 Fix values recognized by the cursorBlink resource.
9628
9629 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9630
9631 * epg.el (epg--make-temp-file): Avoid permission race condition
9632 when running on old Emacs versions (bug#10403).
9633
9634 2012-01-14 Glenn Morris <rgm@gnu.org>
9635
9636 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9637
9638 2012-01-13 Alan Mackenzie <acm@muc.de>
9639
9640 Fix filling for when filladapt mode is enabled.
9641
9642 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9643 c-mask-paragraph, pass in `fill-paragraph' rather than
9644 `fill-region-as-paragraph'. (This is a reversion of a previous
9645 change.)
9646 * progmodes/cc-mode.el (c-basic-common-init):
9647 Make fill-paragraph-handle-comment buffer local and set it to nil.
9648
9649 2012-01-13 Glenn Morris <rgm@gnu.org>
9650
9651 * dired.el (dired-switches-escape-p): New function.
9652 (dired-insert-directory): Use dired-switches-escape-p.
9653 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9654
9655 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9656
9657 2012-01-12 Glenn Morris <rgm@gnu.org>
9658
9659 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9660 changes in adaptive-fill-regexp. (Bug#10276)
9661
9662 2012-01-11 Alan Mackenzie <acm@muc.de>
9663
9664 Fix Emacs bug #10463 - put `widen's around the critical spots.
9665
9666 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9667 widen around each invocation of c-state-pp-to-literal. Remove an
9668 unused let variable.
9669
9670 2012-01-11 Glenn Morris <rgm@gnu.org>
9671
9672 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9673 Doc fix.
9674
9675 2012-01-10 Chong Yidong <cyd@gnu.org>
9676
9677 * net/network-stream.el (network-stream-open-starttls):
9678 Avoid emitting a confusing error message when the server gives a bad
9679 response to the capability command.
9680
9681 2012-01-10 Glenn Morris <rgm@gnu.org>
9682
9683 * mail/unrmail.el (unrmail): Tweak previous change.
9684
9685 2012-01-09 Chong Yidong <cyd@gnu.org>
9686
9687 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9688
9689 2012-01-08 Alan Mackenzie <acm@muc.de>
9690
9691 Optimise font locking in long enum definitions.
9692
9693 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9694 arm to a cond form to handle enums.
9695 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9696 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9697
9698 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9699
9700 * files.el (move-file-to-trash): Preserve default file modes on error.
9701 (Bug#10401)
9702
9703 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9704
9705 * faces.el (set-face-attribute): Clarify the meaning of the nil
9706 frame (bug#10294).
9707
9708 * subr.el (with-selected-frame): Mention that the selected frame
9709 is restored (bug#9980).
9710
9711 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9712 (bug#9759).
9713
9714 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9715 (password-read): Don't autoload unused function.
9716
9717 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9718
9719 * progmodes/which-func.el (which-func-mode): Turn into a
9720 non-interactive function and mark as obsolete (bug#10428).
9721
9722 2012-01-06 Chong Yidong <cyd@gnu.org>
9723
9724 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9725 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9726 functions, along with 1 and -1.
9727
9728 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9729
9730 * time.el (display-time-load-average)
9731 (display-time-default-load-average): Doc fixes. See the thread
9732 starting at
9733 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9734 for the details.
9735
9736 2012-01-06 Glenn Morris <rgm@gnu.org>
9737
9738 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9739 has no messages. (Bug#10377)
9740
9741 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9742 than Info-edit. (Bug#10385)
9743
9744 * time.el (display-time-load-average, display-time-next-load-average):
9745 Doc fixes.
9746
9747 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9748 local setting of buffer-read-only to the input buffer. (Bug#10419)
9749
9750 * calendar/calendar.el (calendar-mode):
9751 Locally set scroll-margin to 0. (Bug#10379)
9752
9753 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9754
9755 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9756
9757 2012-01-05 Glenn Morris <rgm@gnu.org>
9758
9759 * eshell/em-unix.el (diff-no-select): Autoload it.
9760 (eshell/diff): Use diff-no-select. (Bug#10420)
9761
9762 2012-01-05 Chong Yidong <cyd@gnu.org>
9763
9764 * shell.el (shell-dynamic-complete-functions): Revert last change.
9765 (shell-command-completion-function): New function.
9766 (shell-completion-vars): Use it to implement
9767 shell-completion-execonly (Bug#10417).
9768
9769 * custom.el (enable-theme): Don't set custom-safe-themes.
9770
9771 * cus-theme.el (custom-theme-merge-theme):
9772 Ignore custom-enabled-themes and custom-safe-themes.
9773
9774 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9775
9776 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9777 first prompt in `sql-interacive-mode'.
9778 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9779 keywords.
9780 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9781 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9782 context of original buffer. Invoke `sql-login-hook'.
9783
9784 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9785
9786 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9787 letters in cite-prefix.
9788
9789 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9790
9791 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9792
9793 2012-01-03 Chong Yidong <cyd@gnu.org>
9794
9795 * shell.el (shell-dynamic-complete-functions):
9796 Put pcomplete-completions-at-point, so as to try
9797 comint-filename-completion first (Bug#10417).
9798
9799 2012-01-02 Richard Stallman <rms@gnu.org>
9800
9801 * battery.el (battery-status-function):
9802 Detect when to use battery-yeeloong-sysfs.
9803 (battery-echo-area-format): Add string for Yeeloong.
9804 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9805 (battery-yeeloong-sysfs): New function.
9806
9807 2012-01-02 Chong Yidong <cyd@gnu.org>
9808
9809 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9810 (dirtrack): Merge code for handling relative filenames in prompt
9811 from shell-dir-cookie-watcher.
9812 (dirtrack-debug-message): New arg to avoid excess format calls.
9813
9814 * shell.el (shell-dir-cookie-re): Variable deleted.
9815 (shell-dir-cookie-watcher): Function deleted.
9816 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9817 with dirtrack-mode.
9818
9819 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9820
9821 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9822 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9823 libgnutls-26.dll.
9824
9825 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9826
9827 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9828
9829 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9830
9831 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9832 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9833
9834 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9837 also for alternative shells.
9838 (tramp-open-connection-setup-interactive-shell): Check, whether
9839 the shell is a busybox.
9840 (tramp-send-command): Don't suppress multiple prompts for
9841 busyboxes, it hurts.
9842
9843 2011-12-28 Chong Yidong <cyd@gnu.org>
9844
9845 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9846 (gdb-get-source-file): Move mode line update to
9847 gdb-get-source-file (Bug#10087).
9848
9849 2011-12-25 Chong Yidong <cyd@gnu.org>
9850
9851 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9852 gud-gdb-marker-filter without taking it as an argument.
9853 (gud-gdb-run-command-fetch-lines): Caller changed.
9854 (gud-gdb-completion-function): New variable.
9855 (gud-gdb-completion-at-point): Use it.
9856 (gud-gdb-completions-1): Split from gud-gdb-completions.
9857
9858 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9859 function as separate arguments.
9860 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9861 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9862 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9863 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9864 (gdb-stopped, def-gdb-auto-update-trigger)
9865 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9866 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9867 Callers changed.
9868 (gud-gdbmi-completions): New function.
9869 (gdb): Use it for generating the completion table.
9870
9871 2011-12-24 Alan Mackenzie <acm@muc.de>
9872
9873 Introduce a mechanism to widen the region used in context font
9874 locking. Use this to protect declarations from losing their contexts.
9875
9876 * progmodes/cc-langs.el (c-before-font-lock-functions):
9877 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9878 (c-before-context-fontification-functions): New defvar, a list of
9879 functions to be run just before context (etc.) font locking.
9880
9881 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9882 New, functionality extracted from
9883 c-neutralize-syntax-in-and-mark-CPP.
9884 (c-in-after-change-fontification): New variable.
9885 (c-after-change): Set c-in-after-change-fontification.
9886 (c-set-fl-decl-start): Rejig its interface, so it can be called
9887 from both after-change and context fontifying.
9888 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9889 New functions.
9890 (c-standard-font-lock-fontify-region-function): New variable.
9891 (c-font-lock-fontify-region): New function.
9892
9893 2011-12-24 Juri Linkov <juri@jurta.org>
9894
9895 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9896 (Bug#10348)
9897
9898 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9899
9900 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9901 existence of source file. (Bug#10325)
9902
9903 2011-12-23 Alan Mackenzie <acm@muc.de>
9904
9905 Fix unstable fontification inside templates.
9906
9907 * progmodes/cc-langs.el (c-before-font-lock-functions):
9908 Newly created from the singular version. The (c c++ objc) entry now
9909 additionally has c-set-fl-decl-start. The other languages (apart
9910 from AWK) have that as a single entry.
9911
9912 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9913 The functionality for "local" declarations has been extracted to
9914 c-set-fl-decl-start.
9915
9916 * progmodes/cc-mode.el (c-common-init, c-after-change):
9917 Changes due to pluralisation of c-before-font-lock-functions.
9918 (c-set-fl-decl-start): New function, extracted from
9919 c-font-lock-enclosing-decls and enhanced.
9920
9921 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9922
9923 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9924
9925 2011-12-22 Juri Linkov <juri@jurta.org>
9926
9927 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9928
9929 2011-12-22 Chong Yidong <cyd@gnu.org>
9930
9931 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9932
9933 2011-12-21 Drew Adams <drew.adams@oracle.com>
9934
9935 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9936
9937 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9938
9939 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9940
9941 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9942
9943 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9944 highlighting and support. Fix up comments for capitalization.
9945 (cfengine-mode-debug): New var.
9946 (cfengine3-mode): Change the modeline indicator to "CFE3".
9947 (cfengine3-font-lock-keywords): Improve defun highlighting.
9948 (cfengine2-actions): Rename from `cfengine-actions'.
9949 (cfengine2-font-lock-keywords): Rename from
9950 `cfengine-font-lock-keywords'.
9951 (cfengine2-imenu-expression): Rename from
9952 `cfengine-imenu-expression'.
9953 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9954 (cfengine2-beginning-of-defun): Rename from
9955 `cfengine-beginning-of-defun'.
9956 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9957 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9958 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9959 modeline indicator to "CFE2".
9960 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9961 (cfengine-mode-abbrevs): Mark obsolete.
9962
9963 2011-12-21 Chong Yidong <cyd@gnu.org>
9964
9965 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9966 filename argument.
9967
9968 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9969
9970 * window.el (window-normalize-buffer-to-display): Remove.
9971 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9972
9973 2011-12-19 Chong Yidong <cyd@gnu.org>
9974
9975 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9976 Don't signal an error in a predicate function; return non-nil.
9977 (vc-dir-mark-file): Move the error here.
9978 (vc-dir-mark-unmark): If acting on the region, keep going if one
9979 of the entries cannot be marked/unmarked.
9980 (vc-dir-mark-all-files): If current entry is a directory, mark
9981 only child files, as documented.
9982
9983 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9984
9985 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9986 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9987 addition.
9988
9989 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9990
9991 * term/ns-win.el (ns-get-selection-internal)
9992 (ns-store-selection-internal): Declare.
9993 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9994 Declare as obsolete.
9995 (ns-get-pasteboard, ns-paste-secondary):
9996 Use ns-get-selection-internal.
9997 (ns-set-pasteboard, ns-copy-including-secondary):
9998 Use ns-store-selection-internal.
9999
10000 2011-12-17 Chong Yidong <cyd@gnu.org>
10001
10002 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10003 (vc-deduce-fileset): Doc fix.
10004
10005 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10006
10007 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10008
10009 2011-12-13 Sam Steingold <sds@gnu.org>
10010
10011 * man.el (Man-getpage-in-background): When running under a
10012 window-system, ignore $MANWIDTH and $COLUMNS.
10013
10014 2011-12-15 Kenichi Handa <handa@m17n.org>
10015
10016 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10017 (setup-ethiopic-environment-internal): Comment out key-binding for
10018 ethio-toggle-punctuation.
10019
10020 2011-12-13 Alan Mackenzie <acm@muc.de>
10021
10022 Add the switch statement to AWK Mode.
10023
10024 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10025 "default" to the keywords regexp.
10026
10027 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10028 expression as the rest.
10029 (c-nonlabel-token-key): Allow string literals for AWK.
10030 Refactor for the other modes.
10031
10032 Large brace-block initialisation makes CC Mode slow: Fix.
10033 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10034 routines. Limit backward searching in c-font-lock-enclosing.decl.
10035
10036 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10037 pp-state and literal type in addition to the limits.
10038 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10039 (c-state-literal-at): Use the above new defun.
10040 (c-slow-in-literal, c-fast-in-literal): Remove.
10041 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10042
10043 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10044 being in a literal. Add a limit for backward searching.
10045
10046 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10047 c-slow-in-literal.
10048
10049 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10052
10053 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10054
10055 * window.el (delete-other-windows): Use correct frame in call to
10056 window-with-parameter.
10057
10058 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10059
10060 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10061 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10062 (makefile-gmake-statements, makefile-makepp-statements):
10063 Use it and add new makepp keywords.
10064 (makefile-makepp-font-lock-keywords): Add new patterns.
10065 (makefile-match-function-end): Match new [...] and [[...]].
10066
10067 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10068
10069 * ses.el (ses-call-printer-return, ses-cell-property-get)
10070 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10071 (ses-create-cell-variable, ses-reset-header-string)
10072 (ses-cell-set-formula, ses-repair-cell-reference-all)
10073 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10074 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10075 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10076 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10077 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10078 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10079 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10080 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10081 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10082 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10083 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10084 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10085
10086 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10087
10088 * ses.el: The overall change is to add cell renaming, that is
10089 setting fancy names for cell symbols other than name matching
10090 "\\`[A-Z]+[0-9]+\\'" regexp .
10091 (ses-create-cell-variable): New defun.
10092 (ses-relocate-formula): Relocate formulas only for cells the
10093 symbols of which are not renamed, i.e. symbols whose names do not
10094 match regexp "\\`[A-Z]+[0-9]+\\'".
10095 (ses-relocate-all): Relocate values only for cells the symbols of
10096 which are not renamed.
10097 (ses-load): Create cells variables as the (ses-cell ...) are read,
10098 in order to check row col consistency with cell symbol name only
10099 for cells that are not renamed.
10100 (ses-replace-name-in-formula): New defun.
10101 (ses-rename-cell): New defun.
10102
10103 2011-12-11 Chong Yidong <cyd@gnu.org>
10104
10105 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10106 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10107
10108 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10109
10110 * window.el (other-window): Fix docstring.
10111
10112 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10113
10114 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10115 `from' or `to' address before taking its substring.
10116 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10117 encoded name is chopped in the middle of the encoded string, and
10118 thus displayed encoded.
10119
10120 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10121
10122 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10123
10124 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10125
10126 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10127 to use texinfo-update-node and commands that call it if the
10128 Texinfo file uses @node lines without next/prev/up pointers.
10129 Correct outdated description about texinfo-master-menu.
10130 (texinfo-all-menus-update, texinfo-master-menu)
10131 (texinfo-update-node, texinfo-every-node-update)
10132 (texinfo-multiple-files-update): Doc fix. Warn against updating
10133 all the @node lines.
10134 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10135 argument is numeric. Explain better in the doc string what the
10136 function really does.
10137 (texinfo-insert-master-menu-list): Improve the error message
10138 displayed if there's no menu in the Top node.
10139 (Bug#2975) See also this thread:
10140 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10141
10142 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10143
10144 * speedbar.el (speedbar-supported-extension-expressions):
10145 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10146
10147 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10148
10149 * printing.el (pr-mode-alist):
10150 * simple.el (filter-buffer-substring-functions)
10151 (completion-list-insert-choice-function):
10152 * window.el (window-with-parameter, window-atom-root)
10153 (window-sides-slots, window-size-fixed, window-min-delta)
10154 (window-max-delta, window--resize-mini-window)
10155 (window--resize-child-windows-normal, window-tree)
10156 (delete-other-windows, quit-window, split-window)
10157 (display-buffer-record-window, special-display-buffer-names)
10158 (special-display-regexps, special-display-popup-frame)
10159 (same-window-p, split-window-sensibly)
10160 (display-buffer-overriding-action, display-buffer-alist)
10161 (display-buffer-base-action, display-buffer, switch-to-buffer)
10162 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10163 (fit-window-to-buffer, recenter-positions)
10164 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10165 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10166 and remove unneeded backslashes in docstrings.
10167
10168 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10169
10170 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10171
10172 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10173 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10174 end in ".mk".
10175 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10176 when reading the makefile (bug#10116).
10177
10178 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10181 (bug#10116).
10182
10183 2011-12-06 Glenn Morris <rgm@gnu.org>
10184
10185 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10186
10187 2011-12-06 Chong Yidong <cyd@gnu.org>
10188
10189 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10190
10191 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * textmodes/table.el (table-shorten-cell): Fix typo.
10194
10195 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10196
10197 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10198
10199 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10200
10201 * descr-text.el (describe-char): Fix display of strong
10202 right-to-left characters and directional embeddings and overrides.
10203
10204 * simple.el (what-cursor-position): Fix display of codepoints of
10205 strong right-to-left characters.
10206
10207 2011-12-05 Chong Yidong <cyd@gnu.org>
10208
10209 * faces.el (read-color): Doc fix.
10210
10211 2011-12-05 Glenn Morris <rgm@gnu.org>
10212
10213 * align.el (align--set-marker): Add doc-string.
10214 Don't try to move something that is not a marker. (Bug#10216)
10215
10216 2011-12-04 Glenn Morris <rgm@gnu.org>
10217
10218 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10219 overly zealous deletion of trailing whitespace.
10220
10221 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * server.el (server-delete-client): On Windows, do not try to delete
10224 the only terminal.
10225 (server-process-filter): On Windows, treat requests for a tty frame as
10226 if they were for a GUI frame if the running server is in GUI mode.
10227
10228 2011-12-03 Glenn Morris <rgm@gnu.org>
10229
10230 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10231
10232 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * electric.el: Streamline electric-indent's hook.
10235 (electric-indent-chars): Revert to simple list.
10236 (electric-indent-functions): New var.
10237 (electric-indent-post-self-insert-function): Use it.
10238
10239 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10240 there's no inferior buffer (bug#10196).
10241 (prolog-consult-compile): Don't use toggle-read-only.
10242
10243 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10244
10245 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10246 interrupt. (Bug#10187)
10247
10248 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10249
10250 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10251 (bug#9160).
10252
10253 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10254 (bug#10191).
10255
10256 2011-12-02 Juri Linkov <juri@jurta.org>
10257
10258 * info.el (Info-search): Display "end of manual" when Isearch
10259 reaches the end of single-file Info manual. (Bug#9918)
10260
10261 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10262
10263 * isearch.el (isearch-message-prefix): Run the input method part
10264 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10265
10266 2011-12-02 Juri Linkov <juri@jurta.org>
10267
10268 * isearch.el (isearch-occur): Use `word-search-regexp' for
10269 `isearch-word'.
10270 (isearch-search-and-update): Add condition for `isearch-word' and
10271 call `word-search-regexp'. (Bug#10145)
10272
10273 2011-12-01 Glenn Morris <rgm@gnu.org>
10274
10275 * eshell/em-hist.el (eshell-hist-initialize):
10276 Handle eshell-history-size nil and HISTSIZE set or unset.
10277 (eshell-history-file-name, eshell-history-size): Fix custom type.
10278
10279 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10282
10283 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10284
10285 * progmodes/verilog-mode.el (verilog-pretty-expr):
10286 Rework verilog-pretty-expr to handle new assignment operators in system
10287 verilog, such as += *= and the like.
10288 (verilog-assignment-operator-re): Regular expression to find the
10289 assigment operator in a verilog assignment.
10290 (verilog-assignment-operation-re): Regular expression to find an
10291 assignment statement for pretty-expr.
10292 (verilog-in-attribute-p): Query returns true if point is in an
10293 attribute context; used to skip these for expression line up from
10294 pretty-expr.
10295 (verilog-in-parameter-p): Query returns true if point is in an
10296 parameter definition context; used to skip these for expression
10297 line up from pretty-expr.
10298 (verilog-in-parenthesis-p): Query returns true if point is in a
10299 parenthetical expression, specifically ( ) but not [ ] or { };
10300 used by pretty-expr.
10301 (verilog-just-one-space): If there is no space, don't add one.
10302 (verilog-get-lineup-indent-2): Specifically skip just attribute
10303 contexts for expression lineup, rather than skipping all
10304 parenthetical expressions.
10305 (verilog-calculate-indent): Fix comment, and fix indent.
10306 (verilog-do-indent): Indent declarations in lists (suggested by
10307 Joachim Lechner).
10308 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10309 skeleton items.
10310 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10311 by Alain Mellan).
10312
10313 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10314
10315 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10316 parameters with embedded comments. Reported by Ray Stevens.
10317 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10318 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10319 Reported by Tim Holt.
10320 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10321 instantiated by upper module causing wrong expansion until AUTOed a
10322 second time. Reported by K C Buckenmaier.
10323 (verilog-diff-auto): Fix showing .* as a difference when
10324 `verilog-auto-star-save' off. Reported by Dan Dever.
10325 (verilog-auto-reset, verilog-read-always-signals)
10326 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10327 temporary signals in reset list if
10328 verilog-auto-reset-blocking-in-non is nil, and match assignment
10329 style to each signal's assignment type, bug381.
10330 Reported by Thomas Esposito.
10331 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10332 (verilog-uvm-statement-re): Support UVM indentation and
10333 highlighting, with old OVM keywords only.
10334 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10335 Support AUTOTIEOFF creating non-wire data types.
10336 Suggested by Jonathan Greenlaw.
10337 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10338 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10339 (verilog-inject-sense, verilog-read-inst-pins)
10340 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10341 Fix mismatching parenthesis inside commented out code when deleting
10342 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10343 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10344 non-numeric vector width. Reported by Alex Reed.
10345 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10346 detecting signals with parameter widths. Reported by Alex Reed.
10347 (verilog-auto-delete-trailing-whitespace):
10348 With `verilog-auto-delete-trailing-whitespace' remove trailing
10349 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10350 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10351 Fix verilog-scan-cache corruption when running user AUTO expansion
10352 hooks that call indentation routines.
10353 (verilog-simplify-range-expression): Fix typo ignoring lower case
10354 identifiers.
10355 (verilog-delete-auto): Fix delete-autos to also remove user created
10356 automatics, as long as they start with AUTO.
10357 (verilog-batch-diff-auto, verilog-diff-auto)
10358 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10359 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10360 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10361 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10362 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10363 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10364 is disabled and its cache will get corrupt, causing AUTOS not to
10365 expand. Instead use only -quick functions.
10366 (verilog-scan-region): Fix scanning over escaped quotes.
10367 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10368 (verilog-re-search-backward-quick)
10369 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10370 related functions now ignore strings, to fix misparsing of strings
10371 with magic comments embedded in them.
10372 (verilog-read-auto-template):
10373 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10374 Reported by Brad Dobbie.
10375 (verilog-read-auto-template):
10376 Fix 'verilog-auto-inst-template-numbers' with comments.
10377 Reported by Brad Dobbie.
10378 (verilog-auto-inst, verilog-auto-inst-param)
10379 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10380 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10381 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10382 debugging templates without merge conflicts, bug357.
10383 Reported by Brad Dobbie.
10384 (verilog-read-auto-template):
10385 Fix verilog-auto-inst-template-numbers with multiple templates.
10386 Reported by Brad Dobbie.
10387 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10388 abbrevs so user won't be asked to save.
10389 (verilog-read-auto-lisp-present): Fix to start at beginning of
10390 buffer in case called outside of verilog-auto.
10391 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10392 to "X-2". Reported by Matthew Myers.
10393 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10394 all inputs from module templates. Reported by Leith Johnson.
10395 (verilog-module-inside-filename-p): Fix locating programs as with
10396 modules.
10397 (verilog-auto-inst-port): Fix vl-width expressions when using
10398 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10399 (verilog-decls-get-regs, verilog-decls-get-signals,
10400 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10401 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10402 verilog-read-decls): Combine reg and wire structures into one var
10403 structure to represent SystemVerilog concepts.
10404 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10405 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10406 (verilog-auto-wire-type, verilog-insert-definition):
10407 Add verilog-auto-wire-type and AUTOLOGIC to support using
10408 SystemVerilog "logic" keyword instead of "wire"/"reg".
10409 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10410 to declares outputs that also have assignments (presumably in an
10411 ifdef or generate if so there's not a driver conflict).
10412 Reported by Matthew Myers.
10413 (verilog-auto-declare-nettype, verilog-insert-definition):
10414 Add verilog-auto-declare-nettype to fix declarations using
10415 `default_nettype none. Reported by Julian Gorfajn.
10416 (verilog-read-always-signals-recurse, verilog-read-decls)
10417 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10418 malformed end statement, bug325. Reported by Joshua Wise and
10419 Andrew Drake.
10420 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10421 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10422 when expanding .* in interfaces, bug320.
10423 Reported by Pierre-David Pfister.
10424 (verilog-read-module-name): Fix import statements between module
10425 name and open parenthesis, bug317.
10426 Reported by Pierre-David Pfister.
10427 (verilog-simplify-range-expression): Fix simplification of
10428 multiplications inside AUTOWIRE connections, bug303.
10429 (verilog-auto-inst-port): Support parameter expansion in
10430 multidimensional arrays.
10431 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10432 after "assert property". Reported by Julian Gorfajn.
10433 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10434 with multiplication, bug303.
10435 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10436 Reported by Jan Frode Lonnum.
10437
10438 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10439
10440 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10441 (hfy-shell-file-name, hfy-shell):
10442 * international/fontset.el (x-decompose-font-name): Fix typos.
10443
10444 2011-11-29 Ken Brown <kbrown@cornell.edu>
10445
10446 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10447 (gdb-version): Remove defvar.
10448 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10449 (gdb-gud-context-command, gdb-non-stop-handler)
10450 (gdb-current-context-command, gdb-stopped): Use it.
10451 (gdb-init-1): Enable pretty printing here.
10452 (gdb-non-stop-handler): Don't enable pretty-printing here.
10453 Check to see if the target supports non-stop mode; if not, turn off
10454 non-stop mode. Use the following.
10455 (gdb-check-target-async): New defun.
10456 (gud-watch, gdb-stopped): Fix whitespace.
10457 (gdb-get-source-file): Don't try to display the source file if
10458 `gdb-main-file' is nil.
10459
10460 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * align.el: Try to generate fewer markers (bug#10047).
10463 (align--set-marker): New macro.
10464 (align-region): Use it.
10465
10466 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10469
10470 2011-11-29 Chong Yidong <cyd@gnu.org>
10471
10472 * indent.el (indent-for-tab-command, indent-according-to-mode):
10473 Doc fix.
10474 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10475
10476 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10477
10478 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10479 aware of remote file names. (Bug#10124)
10480
10481 2011-11-29 Chong Yidong <cyd@gnu.org>
10482
10483 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10484
10485 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * files.el (find-file): Don't use force-same-window (bug#10144).
10488 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10489 use pop-to-buffer if the selected window can't be used.
10490 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10491
10492 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10493
10494 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10495 special-mode-map.
10496
10497 2011-11-28 Chong Yidong <cyd@gnu.org>
10498
10499 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10500
10501 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10502
10503 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10504 gdb-get-source-file-list on gdb-create-source-file-list.
10505
10506 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10507
10508 * whitespace.el (whitespace-newline): Use a different foreground
10509 color for 16-color light-background displays.
10510
10511 2011-11-24 Chong Yidong <cyd@gnu.org>
10512
10513 * window.el (display-buffer--special-action): Doc fix.
10514
10515 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10516
10517 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10518 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10519 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10520 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10521 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10522 (avl-tree-stack-first):
10523 * emacs-lisp/cconv.el (cconv--analyse-use):
10524 * net/gnutls.el (gnutls-negotiate): Fix typos.
10525
10526 2011-11-24 Glenn Morris <rgm@gnu.org>
10527
10528 * lpr.el (lpr-windows-system, lpr-lp-system):
10529 * mail/binhex.el (binhex-begin-line):
10530 * progmodes/grep.el (grep-history, grep-find-history):
10531 * textmodes/flyspell.el:
10532 * vc/pcvs-defs.el (cvs-global-menu):
10533 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10534 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10535 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10536
10537 * net/tls.el: Fix case of "GnuTLS".
10538
10539 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10540
10541 * version.el (emacs-build-system): Give it a doc-string.
10542
10543 2011-11-24 Juri Linkov <juri@jurta.org>
10544
10545 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10546
10547 2011-11-24 Glenn Morris <rgm@gnu.org>
10548
10549 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10550 if called on a non-mime message just toggle the headers. (Bug#8006)
10551
10552 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10553
10554 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10555 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10556 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10557 (allout-rebullet-heading, allout-open-sibtopic)
10558 (allout-toggle-current-subtree-encryption)
10559 (allout-toggle-subtree-encryption, allout-encrypt-string)
10560 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10561 (allout-distinctive-bullets-string, allout-auto-activation):
10562 * window.el (window-normalize-buffer-to-display):
10563 * progmodes/verilog-mode.el (verilog-batch-indent):
10564 * textmodes/bibtex.el (bibtex-field-braces-opt)
10565 (bibtex-field-strings-opt):
10566 * vc/cvs-status.el (cvs-tree-merge):
10567 Fix typos.
10568
10569 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10570
10571 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10572 `non-essential' to t, in order to avoid remote connections.
10573
10574 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10575
10576 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10577 On MS-DOS and MS-Windows, compare with loaddefs.el
10578 case-insensitively.
10579
10580 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10581
10582 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10583
10584 2011-11-23 Glenn Morris <rgm@gnu.org>
10585
10586 * paths.el (rmail-file-name): Reformat the doc-string so that it
10587 is picked up.
10588
10589 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10590 (rmail-auto-file): Ignore case in the "special" field names,
10591 as mail-fetch-field does for all others.
10592
10593 * mail/rmail.el (rmail-forward):
10594 * mail/rmailkwd.el (rmail-set-label):
10595 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10596 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10597
10598 * mail/rmail.el (rmail-current-message): Doc fix.
10599
10600 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10601
10602 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10605
10606 2011-11-22 Glenn Morris <rgm@gnu.org>
10607
10608 * mail/rmailmm.el (test-rmail-mime-handler)
10609 (test-rmail-mime-bulk-handler)
10610 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10611
10612 2011-11-21 Juri Linkov <juri@jurta.org>
10613
10614 * calc/calc.el (calc-read-key-sequence):
10615 Let-bind `input-method-function' to nil. (Bug#10018)
10616
10617 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10618
10619 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10620 Tell the caller that the next line needs recomputation, even
10621 though it doesn't start a sexp (bug#10094).
10622
10623 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10626
10627 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10630 Use force-same-window.
10631
10632 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10633
10634 * descr-text.el (describe-char-unicode-data):
10635 * json.el (json-string-escape):
10636 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10637 (Footnote-unicode, Footnote-style-p):
10638 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10639
10640 2011-11-20 Chong Yidong <cyd@gnu.org>
10641
10642 * window.el (replace-buffer-in-windows): Restore interactive spec.
10643
10644 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10647
10648 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10649 (byte-compile-global-not-obsolete-vars): New var.
10650 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10651 Use it.
10652 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10653
10654 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10655
10656 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10657 * progmodes/pascal.el (electric-pascal-equal):
10658 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10659 * xml.el (xml-substitute-special): Fix typos.
10660
10661 2011-11-20 Glenn Morris <rgm@gnu.org>
10662
10663 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10664 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10665 Doc fixes.
10666 (rmail-decode-mime-charset): Mark as obsolete.
10667
10668 * mail/rmailsum.el (rmail-message-regexp-p-1):
10669 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10670 Before using mime functions, check they are set. (Bug#10077)
10671
10672 2011-11-19 Juri Linkov <juri@jurta.org>
10673
10674 * info.el (Info-finder-find-node): Use `package--builtins' instead
10675 of `package-alist'. Use node names formed by the pattern "Keyword "
10676 and the keyword name.
10677
10678 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10679
10680 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10681
10682 2011-11-19 Juri Linkov <juri@jurta.org>
10683
10684 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10685 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10686 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10687 `old-history', `old-history-forward'. Add let-binding
10688 `window-selected'. Remove calls to `kill-buffer',
10689 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10690 before calling `Info-find-node', so `Info-find-node-2' will reread
10691 the Info file. Restore window positions only when `window-selected'
10692 is non-nil.
10693
10694 2011-11-19 Juri Linkov <juri@jurta.org>
10695
10696 * isearch.el (isearch-lazy-highlight-new-loop):
10697 Remove condition `(not isearch-error)'. (Bug#9918)
10698
10699 * misearch.el (multi-isearch-search-fun): Add condition
10700 `(not bound)' to ignore lazy-highlighting search.
10701 Add the search-failed message "end of multi" when the end of
10702 multi-sequence is reached. Uncapitalize the search-failed
10703 message "Repeat for next buffer".
10704
10705 * info.el (Info-search): Add the search-failed message
10706 "end of the manual" when the end of the manual is reached
10707 in Isearch mode.
10708
10709 2011-11-19 Juri Linkov <juri@jurta.org>
10710
10711 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10712 Use non-destructive `remove' instead of `delete' because
10713 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10714 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10715
10716 2011-11-19 Juri Linkov <juri@jurta.org>
10717
10718 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10719 to nil instead of binding `search-ring' and `regexp-search-ring'.
10720 (Bug#9185)
10721
10722 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10723
10724 * simple.el (line-move): Force movement by logical lines for any
10725 hscrolled window, not only when auto-hscroll-mode is on.
10726 (line-move-visual): Update doc string to that effect. (Bug#10076)
10727
10728 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10729
10730 * language/european.el (macintosh): Define as alias for mac-roman.
10731
10732 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10733
10734 * mail/rmailmm.el (rmail-mime-display-header)
10735 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10736 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10737 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10738 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10739 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10740 of a raw aref.
10741 (rmail-mime-entity-segment): To get past the tagline, move forward
10742 2 more lines, to account for the 2 empty lines that precede and
10743 follow the line with the buttons.
10744 (rmail-mime-update-tagline): Move one more line, to get past the
10745 empty line that follows the buttons in the tagline. (Bug#9520)
10746
10747 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10748
10749 * window.el (window-max-delta-1, window-min-delta-1)
10750 (window-min-size-1, window-state-get-1, window-state-put-1)
10751 (window-state-put-2): Use "window--" prefix.
10752
10753 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10756 (smie-warning-count): New var.
10757 (smie-set-prec2tab): Use it.
10758 (smie-bnf->prec2): Improve warnings. Add docstring.
10759 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10760 (smie-bnf--set-class): New function.
10761 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10762 corner case.
10763
10764 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10765 (compilation-error-properties, compilation-move-to-column):
10766 Handle compilation-first-column while in the target buffer.
10767
10768 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10769 Don't hardcode point-min==1.
10770
10771 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10772 (eshell-rewrite-for-command): Remove workaround.
10773 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10774 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10775 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10776
10777 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10778
10779 2011-11-17 Glenn Morris <rgm@gnu.org>
10780
10781 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10782 Ignore buffer-local generated-autoload-file if it is the same
10783 as the global value. (Bug#10049)
10784
10785 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10788 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10789 (reftex-toc-previous-heading, reftex-toc-max-level)
10790 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10791 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10792 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10793 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10794 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10795 (reftex-toc-rename-label, reftex-toc-visit-location)
10796 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10797 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10798 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10799 leaving "*toc*" only for references to the buffer.
10800
10801 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10802
10803 * window.el (window-resize, delete-window, split-window):
10804 Replace window-splits by window-combination-resize.
10805 * cus-start.el (window-splits): Replace by window-combination-resize.
10806
10807 2011-11-17 Glenn Morris <rgm@gnu.org>
10808
10809 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10810 Make bash entry derive from sh entry, not shell entry.
10811
10812 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10815 local file name.
10816
10817 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10818
10819 * menu-bar.el (menu-bar-file-menu):
10820 * printing.el (pr-ps-utility):
10821 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10822 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10823 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10824 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10825 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10826 (icalendar--convert-cyclic-to-ical)
10827 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10828 (icalendar--convert-ical-to-diary)
10829 (icalendar--convert-recurring-to-diary)
10830 (icalendar--convert-non-recurring-all-day-to-diary)
10831 (icalendar-import-format-sample):
10832 * progmodes/idlw-shell.el (idlwave-shell-mode):
10833 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10834 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10835 (vhdl-ps-print-init): Fix typos.
10836
10837 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10838
10839 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10840 FSF and collapse date sequence, obscure author/maintainer email address
10841 better, remove extra version line, track relocation of author's webpage.
10842
10843 * progmodes/python.el (python-pdbtrack-input-prompt)
10844 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10845 regular python pdb prompts. Adjustments shamelessly taken exactly as
10846 suggested in EmacsWiki page (tiny change):
10847 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10848
10849 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10850
10851 * expand.el (expand-pos, expand-index, expand-point):
10852 Remove redundant info from docstring.
10853 (expand-add-abbrevs): Doc fix.
10854 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10855 (expand-sample-perl-mode-expand-list): Fix typos.
10856
10857 * net/dbus.el (dbus-event-member-name):
10858 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10859 * term/pc-win.el (msdos-create-frame-with-faces):
10860 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10861
10862 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10863
10864 * window.el (split-window, window-state-get-1)
10865 (window-state-put-1, window-state-put-2): Rename occurrences of
10866 window-nest to window-combination-limit.
10867 * cus-start.el (window-nest): Rename to window-combination-limit.
10868
10869 2011-11-16 Chong Yidong <cyd@gnu.org>
10870
10871 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10872 regexp (Bug#10033).
10873
10874 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10877 `completing-read' will remove *Completions* and will preserve
10878 current-buffer for us.
10879 (tmm-add-prompt): Users of *Completions* will always (re)set its
10880 major mode.
10881 (tmm-old-comp-map): Remove.
10882
10883 2011-11-16 Glenn Morris <rgm@gnu.org>
10884
10885 * mail/rmailedit.el: Require rmailmm when compiling.
10886 (rmail-old-mime-state): New declaration.
10887 (rmail-edit-current-message): If editing a mime message,
10888 edit the "raw" message from the mbox buffer.
10889 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10890
10891 2011-11-15 Glenn Morris <rgm@gnu.org>
10892
10893 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10894 which wasn't being used. Add optional arg to force given state.
10895 (rmail-mime): Add optional arg to force given state.
10896
10897 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10898
10899 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10900 * frame.el (display-mm-dimensions-alist):
10901 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10902 (outline-move-subtree-down):
10903 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10904 (newsticker--treeview-do-get-node):
10905 * net/quickurl.el (quickurl-list-buffer-name):
10906 * progmodes/dcl-mode.el (dcl-mode):
10907 * progmodes/gdb-mi.el (gdb-mapcar*):
10908 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10909
10910 2011-11-15 Glenn Morris <rgm@gnu.org>
10911
10912 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10913 in a boolean sense, so just make it a boolean, and fix the doc.
10914 (rmail-show-mime-function, rmail-mime-feature)
10915 (rmail-require-mime-maybe): Doc fixes.
10916 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10917
10918 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10919
10920 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10923 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10924 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10925 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10926
10927 2011-11-15 Glenn Morris <rgm@gnu.org>
10928
10929 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10930 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10931 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10932 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10933 (rmail-mime, rmail-show-mime): Doc fixes.
10934
10935 * term/ns-win.el (mode-line-frame-identification):
10936 Leave it alone. (Bug#10051)
10937
10938 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10939
10940 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10941 Handle empty buffers. (Bug#9978)
10942
10943 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * international/mule.el (define-charset):
10946 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10947 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10948 * progmodes/verilog-mode.el (verilog-backward-token):
10949 * textmodes/ispell.el (lookup-words):
10950 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10951
10952 2011-11-14 Glenn Morris <rgm@gnu.org>
10953
10954 * progmodes/executable.el
10955 (executable-make-buffer-file-executable-if-script-p):
10956 Handle file-modes returning nil.
10957
10958 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10959 message - not necessary, and causes problems. (Bug#9831)
10960
10961 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10962
10963 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10964
10965 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10966 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10967 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10968
10969 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10970
10971 * window.el (window-resize, delete-window): Use window-splits
10972 variable instead of function.
10973 (window-state-get-1, window-state-put-2, window-state-put):
10974 Don't deal with windows' splits status.
10975
10976 2011-11-12 Glenn Morris <rgm@gnu.org>
10977
10978 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10979 (apropos-documentation): Doc fixes.
10980
10981 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10982
10983 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10984 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10985
10986 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * electric.el (electric-indent-post-self-insert-function): Make it
10989 possible for a char to only indent in some circumstances.
10990 (electric-indent-mode): Simplify.
10991
10992 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10993
10994 * window.el (windows-with-parameter): Remove unused function.
10995 (windows-at-side): Rename to window-at-side-list.
10996 (window-check, window-atom-check, window-atom-check-1)
10997 (window-side-check, window-size-ignore, window-size-fixed-1)
10998 (window-in-direction-2): Prefix with "window--".
10999 (window-tree-1): Rename to window--subtree, fix doc-string.
11000
11001 2011-11-11 Glenn Morris <rgm@gnu.org>
11002
11003 * subr.el (eval-after-load): If FILE is already loaded,
11004 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11005
11006 2011-11-10 Glenn Morris <rgm@gnu.org>
11007
11008 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11009 Call svn via vc-svn-command rather than vc-do-command.
11010 (vc-svn-command): Add --non-interactive. (Bug#9993)
11011 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11012
11013 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11014 Add toggle-read-only. (Bug#7292)
11015 * files.el (toggle-read-only): Mention that it should only
11016 be used interactively. (Bug#10006)
11017
11018 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11021 Adjust regexp for OCaml warnings.
11022
11023 * electric.el (electric-pair-post-self-insert-function): Let user
11024 turn it off buffer-locally (bug#9932).
11025
11026 * progmodes/python.el (python-beginning-of-statement):
11027 Rewrite (bug#2703).
11028
11029 * progmodes/compile.el: Better handle TABs (bug#9749).
11030 (compilation-internal-error-properties)
11031 (compilation-next-error-function): Obey the target buffer's
11032 compilation-error-screen-columns.
11033
11034 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * progmodes/meta-mode.el: Remove obsolete comments.
11037 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11038 Fix typos in docstrings.
11039
11040 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11041
11042 * window.el (window-size-fixed-p): Rewrite doc-string.
11043 (window-resizable-p): Rename to window--resizable-p. Update callers.
11044 (window--resizable): New function. Make all callers of
11045 window-resizable call window--resizable instead.
11046 (window-resizable): Rewrite in terms of window--resizable.
11047
11048 2011-11-08 Glenn Morris <rgm@gnu.org>
11049
11050 * progmodes/delphi.el (delphi-mode-syntax-table):
11051 Let define-derived-mode define a proper syntax table. (Bug#9994)
11052
11053 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * window.el: Stay away from defsubst.
11056 (window-list-no-nils): Remove.
11057 (window-state-get-1, window-state-get): Use backquote instead.
11058
11059 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11060
11061 * emacs-lisp/find-func.el (find-function-read):
11062 Fix incorrect use of default argument in `completing-read'.
11063
11064 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11065
11066 * window.el (display-buffer-function, special-display-function):
11067 Mention display-buffer-record-window but do not mention
11068 help-setup parameter in doc-strings.
11069 (window-min-delta): Fix doc-string typo.
11070
11071 2011-11-08 Chong Yidong <cyd@gnu.org>
11072
11073 * window.el (window-total-height, window-total-width): Doc fix.
11074 (window-body-size): Move from C.
11075 (window-body-height, window-body-width): Move to C.
11076
11077 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11078
11079 * window.el: Make special-display like display-buffer-alist (bug#9532).
11080 (display-buffer--special-action): New function, morphed
11081 from display-buffer--special.
11082 (display-buffer): Use it to handle special-display-buffers at higher
11083 priority (just after display-buffer-alist).
11084 (display-buffer-fallback-action, display-buffer--other-frame-action)
11085 (pop-to-buffer-same-window): Remove display-buffer--special.
11086
11087 2011-11-07 Glenn Morris <rgm@gnu.org>
11088
11089 * calendar/cal-menu.el (cal-menu-set-date-title):
11090 Do nothing if not in a calendar. (Bug#9976)
11091
11092 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * files.el (find-file): Always use selected-window.
11095
11096 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11097
11098 * window.el (window-combinations): Make WINDOW argument
11099 mandatory. Rewrite doc-string.
11100 (walk-window-subtree, window-atom-check, window-min-delta)
11101 (window-max-delta, window--resize-this-window)
11102 (window--resize-root-window-vertically, window-tree)
11103 (balance-windows, window-state-put): Rewrite doc-strings as to
11104 not mention the term "subwindow".
11105 (window--resize-subwindows-skip-p): Rename to
11106 window--resize-child-windows-skip-p.
11107 (window--resize-subwindows-normal): Rename to
11108 window--resize-child-windows-normal.
11109 (window--resize-subwindows): Rename to
11110 window--resize-child-windows.
11111 (window-or-subwindow-p): Rename to window--in-subtree-p.
11112
11113 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11114
11115 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11116 Ensure that mbox format messages end in two newlines (Bug#9974).
11117
11118 2011-11-06 Chong Yidong <cyd@gnu.org>
11119
11120 * window.el (window-combination-p): Function deleted; its
11121 side-effect is not used in any existing code.
11122 (window-combinations, window-combined-p): Call window-*-child
11123 directly.
11124
11125 2011-11-05 Chong Yidong <cyd@gnu.org>
11126
11127 * window.el (window-valid-p): Rename from window-any-p.
11128 (window-size-ignore, window-state-get): Callers changed.
11129 (window-normalize-window): Rename from window-normalize-any-window.
11130 New arg LIVE-ONLY, replacing window-normalize-live-window.
11131 (window-normalize-live-window): Delete.
11132 (window-combination-p, window-combined-p, window-combinations)
11133 (walk-window-subtree, window-atom-root, window-min-size)
11134 (window-sizable, window-sizable-p, window-size-fixed-p)
11135 (window-min-delta, window-max-delta, window-resizable)
11136 (window-resizable-p, window-full-height-p, window-full-width-p)
11137 (window-current-scroll-bars, window-point-1, set-window-point-1)
11138 (window-at-side-p, window-in-direction, window-resize)
11139 (adjust-window-trailing-edge, maximize-window, minimize-window)
11140 (window-deletable-p, delete-window, delete-other-windows)
11141 (record-window-buffer, unrecord-window-buffer)
11142 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11143 (quit-window, split-window, window-state-put)
11144 (set-window-text-height, fit-window-to-buffer)
11145 (shrink-window-if-larger-than-buffer): Callers changed.
11146
11147 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11148
11149 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11150 rfc2047-decode-string.
11151 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11152 warnings.
11153
11154 * window.el (window-body-height, window-body-width): Mention in
11155 the doc string that the return values are in frame's canonical
11156 units. (Bug#9949)
11157
11158 2011-11-03 Alan Mackenzie <acm@muc.de>
11159
11160 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11161 change in cc-engine.el.
11162
11163 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11166
11167 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11168
11169 * window.el (quit-window): Call unrecord-window-buffer after
11170 showing another buffer in the window. (Bug#9937)
11171 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11172
11173 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11174
11175 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11176 Accept status with more than 9 shelves. (Bug#9935)
11177 Reported by Colin D Bennett <colin@gibibit.com>.
11178
11179 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11180
11181 * help.el (with-help-window): Don't reference
11182 temp-buffer-show-specifiers in doc-string.
11183
11184 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11187 menu-item.
11188
11189 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11190
11191 * whitespace.el: New version 13.2.2.
11192 (whitespace-newline-mode): Disable properly. Reported by Sarah
11193 <EmacsWiki>.
11194
11195 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11196
11197 * net/newst-treeview.el: Remove "Time-stamp".
11198 (newsticker--group-manage-orphan-feeds): Do not call
11199 newsticker--treeview-tree-update.
11200 (newsticker-treeview-update, newsticker-treeview):
11201 Call newsticker--treeview-tree-update if necessary.
11202
11203 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11204
11205 * window.el (window-iso-combination-p, window-iso-combined-p)
11206 (window-iso-combinations): Remove "iso-" infix.
11207 Suggested by Chong Yidong.
11208 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11209 (window-max-delta-1, window-resize, window--resize-siblings)
11210 (window--resize-this-window, adjust-window-trailing-edge)
11211 (split-window, balance-windows-1)
11212 (shrink-window-if-larger-than-buffer):
11213 * calendar/calendar.el (calendar-generate-window):
11214 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11215
11216 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11219 in place (bug#9907).
11220 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11221 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11222 (eshell-structure-basic-command, eshell-rewrite-while-command)
11223 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11224 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11225 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11226 (eshell-do-pipelines-synchronously, eshell-eval-command):
11227 Use backquotes and prefer setq to set.
11228 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11229 (eshell-macrop): Use functionp.
11230 (eshell-do-eval): Handle multiple expressions in `while' body.
11231
11232 2011-10-30 Chong Yidong <cyd@gnu.org>
11233
11234 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11235 instead of set-mark (Bug#9810).
11236
11237 2011-10-30 Chong Yidong <cyd@gnu.org>
11238
11239 * window.el (split-window-below, split-window-right): Rename from
11240 split-window-above-each-other and split-window-side-by-side
11241 respectively. All callers changed.
11242 (split-window-sensibly, split-window-sensibly): Use them.
11243 (split-window-keep-point): Doc fix.
11244
11245 * isearch.el: Add isearch-scroll property to split-window-below
11246 and split-window-right.
11247
11248 * follow.el (follow-mode):
11249 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11250 * progmodes/ada-xref.el (ada-gdb-application):
11251 * emulation/vip.el (vip-buffer-in-two-windows):
11252 * image-dired.el (image-dired-dired-with-window-configuration):
11253 * dired-x.el (dired-do-find-marked-files):
11254 * dired.el (dired-pop-to-buffer):
11255 * bs.el (bs--show-with-configuration):
11256 * vc/emerge.el (emerge-setup-windows):
11257 * textmodes/two-column.el (2C-two-columns):
11258 * textmodes/reftex-toc.el (reftex-toc):
11259 * progmodes/gdb-mi.el (gdb-setup-windows):
11260 * progmodes/fortran.el (fortran-window-create):
11261 * net/newst-treeview.el (newsticker--treeview-window-init):
11262 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11263 * emulation/tpu-edt.el (tpu-gold-map):
11264 * emulation/crisp.el (crisp-mode-map):
11265 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11266
11267 2011-10-29 Chong Yidong <cyd@gnu.org>
11268
11269 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11270
11271 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11272
11273 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11274 forged Ispell output (Bug#7904).
11275
11276 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11277
11278 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * doc-view.el: Avoid ugly errors about not finding nil.
11281 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11282 (doc-view-dvipdf-program, doc-view-unoconv-program)
11283 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11284 Avoid nil or absolute file name as default value.
11285 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11286
11287 2011-10-28 Alan Mackenzie <acm@muc.de>
11288
11289 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11290
11291 2011-10-28 Alan Mackenzie <acm@muc.de>
11292
11293 Amend the handling of c-beginning/end-of-defun in nested declaration
11294 scopes.
11295
11296 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11297 cc-langs.el. Change it to a defcustom.
11298
11299 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11300 cc-vars.el.
11301
11302 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11303 Prevent "class foo : bar" being spuriously recognized as a label.
11304
11305 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11306 Add parameter `inclusive' (to include enclosing braces in the region).
11307 (c-widen-to-enclosing-decl-scope): New function.
11308 (c-while-widening-to-decl-block): New macro.
11309 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11310 outward for defun boundaries, and correspondingly change symbol
11311 `respect-enclosure' to `go-outward'.
11312 (c-declaration-limits): Change algorithm to report only the "innermost"
11313 defun's boundaries.
11314
11315 2011-10-28 Deniz Dogan <deniz@dogan.se>
11316
11317 * net/rcirc.el (rcirc-mode): Use hard newlines.
11318
11319 2011-10-28 Alan Mackenzie <acm@muc.de>
11320
11321 Amend to indent and fontify macros "which include their own semicolon"
11322 correctly, using the "virtual semicolon" mechanism.
11323
11324 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11325
11326 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11327 Recode to scan one line at a time rather than having \n and \r
11328 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11329 (c-forward-label): Amend for virtual semicolons.
11330 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11331
11332 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11333 of the new C macros.
11334
11335 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11336 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11337 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11338 (c-opt-cpp-macro-define): Make into a full language variable.
11339 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11340 AWK Mode (including \n, \r) removed, no longer needed.
11341
11342 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11343 Invoke c-make-macro-with-semi-re.
11344
11345 * progmodes/cc-vars.el (c-macro-with-semi-re):
11346 (c-macro-names-with-semicolon): New variables.
11347 (c-make-macro-with-semi-re): New function.
11348
11349 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * vc/log-edit.el: Fill empty field rather than adding new one.
11352 (log-edit-add-field): New function.
11353 (log-edit-insert-changelog): Use it.
11354
11355 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11356
11357 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11358
11359 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11362 (gdb--check-interpreter): New function.
11363 (gdb): Use it.
11364
11365 2011-10-27 Glenn Morris <rgm@gnu.org>
11366
11367 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11368 (least-positive-float, least-negative-float)
11369 (least-positive-normalized-float, least-negative-normalized-float)
11370 (float-epsilon, float-negative-epsilon):
11371 Remove unnecessary declarations.
11372
11373 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11374 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11375 (least-positive-float, least-negative-float)
11376 (least-positive-normalized-float, least-negative-normalized-float)
11377 (float-epsilon, float-negative-epsilon): Add doc-strings,
11378 based on those in cl.texi.
11379
11380 * files.el (set-visited-file-name): If the major-mode changed,
11381 reload the local variables. (Bug#9796)
11382
11383 2011-10-27 Chong Yidong <cyd@gnu.org>
11384
11385 * subr.el (change-major-mode-after-body-hook): New hook.
11386 (run-mode-hooks): Run it.
11387
11388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11389 Use change-major-mode-before-body-hook.
11390
11391 * simple.el (fundamental-mode):
11392 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11393 change introducing fundamental-mode-hook.
11394
11395 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11398
11399 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11400
11401 * ido.el (ido-file-name-all-completions-1): Do not require
11402 tramp.el explicitly. (Bug#7583)
11403
11404 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * progmodes/octave-mod.el:
11407 * progmodes/octave-inf.el: Update maintainer.
11408
11409 2011-10-26 Chong Yidong <cyd@gnu.org>
11410
11411 * subr.el (with-wrapper-hook): Rewrite doc.
11412
11413 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11414
11415 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11416 filenames "/method:foo:". (Bug#9793)
11417
11418 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11421 (bug#9865).
11422
11423 2011-10-24 Glenn Morris <rgm@gnu.org>
11424
11425 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11426
11427 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11428
11429 * notifications.el: Add the requirement of a running D-Bus session
11430 bus to the Commentary.
11431
11432 2011-10-24 Juri Linkov <juri@jurta.org>
11433
11434 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11435 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11436 (Bug#9364)
11437
11438 2011-10-24 Juri Linkov <juri@jurta.org>
11439
11440 * info.el (Info-following-node-name-re): Add newline to the list
11441 of allowed characters for leading space. (Bug#9824)
11442
11443 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * progmodes/octave-inf.el (inferior-octave-mode-map):
11446 Fix C-c C-h binding.
11447 * progmodes/octave-mod.el (octave-help): Remove.
11448
11449 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11450
11451 Sync with Tramp 2.2.3.
11452
11453 * net/tramp-cache.el (top): Pacify byte-compiler using
11454 `init-file-user' and `site-run-file'.
11455
11456 * net/trampver.el: Update release number.
11457
11458 2011-10-23 Chong Yidong <cyd@gnu.org>
11459
11460 * files.el (toggle-read-only): Remove obsolete comment about
11461 version control.
11462
11463 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11464 for toggle-read-only. Note that this hasn't called vc-next-action
11465 since 2008-05-02, though it wasn't documented at the time.
11466
11467 * vc/ediff-init.el (ediff-toggle-read-only-function):
11468 Use toggle-read-only.
11469
11470 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11471
11472 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11473 of c-parse-state.
11474
11475 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11476 correct faulty logical expression.
11477 (c-parse-state-state, c-record-parse-state-state):
11478 (c-replay-parse-state-state): New defvar/defuns.
11479 (c-debug-parse-state): Use new functions.
11480
11481 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11482
11483 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11484 last fix. Use window-in-direction correctly.
11485
11486 2011-10-21 Chong Yidong <cyd@gnu.org>
11487
11488 * progmodes/idlwave.el (idlwave-mode):
11489 * progmodes/vera-mode.el (vera-mode): No need to set
11490 require-final-newline; that's done in prog-mode.
11491 Suggested by Stefan Monnier.
11492
11493 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11494
11495 * mouse.el (mouse-drag-window-above)
11496 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11497 (mouse-drag-mode-line-1, mouse-drag-header-line)
11498 (mouse-drag-vertical-line-rightward-window): Remove.
11499 (mouse-drag-line): New function.
11500 (mouse-drag-mode-line, mouse-drag-header-line)
11501 (mouse-drag-vertical-line): Call mouse-drag-line.
11502 * window.el (window-at-side-p, windows-at-side): New functions.
11503
11504 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11505
11506 * tar-mode.el (tar-grind-file-mode):
11507 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11508
11509 2011-10-21 Chong Yidong <cyd@gnu.org>
11510
11511 * progmodes/idlwave.el (idlwave-mode):
11512 * progmodes/vera-mode.el (vera-mode):
11513 Use mode-require-final-newline.
11514
11515 2011-10-20 Glenn Morris <rgm@gnu.org>
11516
11517 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11518
11519 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11520
11521 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11522
11523 2011-10-20 Chong Yidong <cyd@gnu.org>
11524
11525 * emulation/cua-base.el (cua-mode):
11526 * mail/footnote.el (footnote-mode):
11527 * mail/mailabbrev.el (mail-abbrevs-mode):
11528 * net/xesam.el (xesam-minor-mode):
11529 * progmodes/bug-reference.el (bug-reference-mode):
11530 * progmodes/cap-words.el (capitalized-words-mode):
11531 * progmodes/compile.el (compilation-minor-mode)
11532 (compilation-shell-minor-mode):
11533 * progmodes/gud.el (gud-tooltip-mode):
11534 * progmodes/hideif.el (hide-ifdef-mode):
11535 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11536 * progmodes/subword.el (subword-mode):
11537 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11538 * progmodes/which-func.el (which-function-mode):
11539 * term/tvi970.el (tvi970-set-keypad-mode):
11540 * term/vt100.el (vt100-wide-mode):
11541 * textmodes/flyspell.el (flyspell-mode):
11542 * textmodes/ispell.el (ispell-minor-mode):
11543 * textmodes/nroff-mode.el (nroff-electric-mode):
11544 * textmodes/paragraphs.el (use-hard-newlines):
11545 * textmodes/refill.el (refill-mode):
11546 * textmodes/reftex.el (reftex-mode):
11547 * textmodes/rst.el (rst-minor-mode):
11548 * textmodes/sgml-mode.el (html-autoview-mode)
11549 (sgml-electric-tag-pair-mode):
11550 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11551 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11552 * emulation/crisp.el (crisp-mode):
11553 * emacs-lisp/eldoc.el (eldoc-mode):
11554 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11555 minor mode behavior.
11556
11557 2011-10-19 Juri Linkov <juri@jurta.org>
11558
11559 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11560 the list of hard-coded chars with escape-glyph face.
11561
11562 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11565
11566 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11569 running process.
11570
11571 2011-10-19 Glenn Morris <rgm@gnu.org>
11572
11573 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11574 Ignore ignored files. (Bug#9726)
11575
11576 2011-10-19 Chong Yidong <cyd@gnu.org>
11577
11578 Doc fix for minor modes, stating that an omitted argument enables
11579 the mode unconditionally when called from Lisp.
11580
11581 * abbrev.el (abbrev-mode):
11582 * allout.el (allout-mode):
11583 * autoinsert.el (auto-insert-mode):
11584 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11585 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11586 (global-auto-revert-mode):
11587 * battery.el (display-battery-mode):
11588 * composite.el (global-auto-composition-mode)
11589 (auto-composition-mode):
11590 * delsel.el (delete-selection-mode):
11591 * desktop.el (desktop-save-mode):
11592 * dired-x.el (dired-omit-mode):
11593 * dirtrack.el (dirtrack-mode):
11594 * doc-view.el (doc-view-minor-mode):
11595 * double.el (double-mode):
11596 * electric.el (electric-indent-mode, electric-pair-mode):
11597 * emacs-lock.el (emacs-lock-mode):
11598 * epa-hook.el (auto-encryption-mode):
11599 * follow.el (follow-mode):
11600 * font-core.el (font-lock-mode):
11601 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11602 * help.el (temp-buffer-resize-mode):
11603 * hilit-chg.el (highlight-changes-mode)
11604 (highlight-changes-visible-mode):
11605 * hi-lock.el (hi-lock-mode):
11606 * hl-line.el (hl-line-mode, global-hl-line-mode):
11607 * icomplete.el (icomplete-mode):
11608 * ido.el (ido-everywhere):
11609 * image-file.el (auto-image-file-mode):
11610 * image-mode.el (image-minor-mode):
11611 * iswitchb.el (iswitchb-mode):
11612 * jka-cmpr-hook.el (auto-compression-mode):
11613 * linum.el (linum-mode):
11614 * longlines.el (longlines-mode):
11615 * master.el (master-mode):
11616 * mb-depth.el (minibuffer-depth-indicate-mode):
11617 * menu-bar.el (menu-bar-mode):
11618 * minibuf-eldef.el (minibuffer-electric-default-mode):
11619 * mouse-sel.el (mouse-sel-mode):
11620 * msb.el (msb-mode):
11621 * mwheel.el (mouse-wheel-mode):
11622 * outline.el (outline-minor-mode):
11623 * paren.el (show-paren-mode):
11624 * recentf.el (recentf-mode):
11625 * reveal.el (reveal-mode, global-reveal-mode):
11626 * rfn-eshadow.el (file-name-shadow-mode):
11627 * ruler-mode.el (ruler-mode):
11628 * savehist.el (savehist-mode):
11629 * scroll-all.el (scroll-all-mode):
11630 * scroll-bar.el (scroll-bar-mode):
11631 * server.el (server-mode):
11632 * shell.el (shell-dirtrack-mode):
11633 * simple.el (auto-fill-mode, transient-mark-mode)
11634 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11635 (line-number-mode, column-number-mode, size-indication-mode)
11636 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11637 * strokes.el (strokes-mode):
11638 * time.el (display-time-mode):
11639 * t-mouse.el (gpm-mouse-mode):
11640 * tool-bar.el (tool-bar-mode):
11641 * tooltip.el (tooltip-mode):
11642 * type-break.el (type-break-mode-line-message-mode)
11643 (type-break-query-mode):
11644 * view.el (view-mode):
11645 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11646 (global-whitespace-mode, global-whitespace-newline-mode):
11647 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11648
11649 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11650 Fix autogenerated docstring.
11651
11652 2011-10-19 Juri Linkov <juri@jurta.org>
11653
11654 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11655 by checking environment variables "DESKTOP_SESSION" and
11656 "XDG_CURRENT_DESKTOP". (Bug#9779)
11657
11658 2011-10-19 Juri Linkov <juri@jurta.org>
11659
11660 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11661 (browse-url-chromium-program, browse-url-chromium-arguments):
11662 New defcustoms.
11663 (browse-url-default-browser): Check for `browse-url-chromium' and
11664 call `browse-url-chromium-program'.
11665 (browse-url-chromium): New command. (Bug#9779)
11666
11667 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11668
11669 * facemenu.el (list-colors-duplicates): On Windows, detect more
11670 duplicates by assuming that only colors matching "^System" are
11671 special "system colors". (Bug#9722)
11672
11673 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11676 to distinguish the author from the committer.
11677
11678 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11679
11680 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11681
11682 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11683
11684 * international/mule.el (sgml-html-meta-auto-coding-function):
11685 Add support for detecting encoding in HTML5 specified only as
11686 <meta charset="UTF-8">. Implementation just makes http-equiv and
11687 content-type parts from HTML4 encoding string optional. (Bug#9716)
11688
11689 2011-10-18 Glenn Morris <rgm@gnu.org>
11690
11691 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11692
11693 2011-10-18 Chong Yidong <cyd@gnu.org>
11694
11695 * faces.el (cursor): Doc fix.
11696
11697 2011-10-17 Chong Yidong <cyd@gnu.org>
11698
11699 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11700
11701 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11702
11703 * dirtrack.el (dirtrack): Support shell buffers with path
11704 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11705
11706 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11707
11708 * json.el: Bump version to 1.3 and note change in History.
11709 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11710
11711 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11712
11713 * comint.el (comint-insert-input, comint-send-input)
11714 (comint-get-old-input-default, comint-backward-matching-input)
11715 (comint-next-prompt): Use nil instead of `input' for field property of
11716 past user input (bug#114).
11717
11718 * minibuffer.el (completion--replace): Inherit surrounding properties
11719 (bug#114).
11720 (minibuffer-complete-and-exit): Use it.
11721
11722 * comint.el (comint--table-subvert): Quote the all-completions output
11723 (bug#9160).
11724
11725 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11726
11727 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11728
11729 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11730 window on right of selected. (Bug#9350) Reword other window
11731 entries and separate them from frame entries.
11732
11733 2011-10-15 Glenn Morris <rgm@gnu.org>
11734
11735 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11736 Doc fixes.
11737
11738 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * net/network-stream.el (network-stream-open-starttls):
11741 Improve detection of failure due to lack of TLS support.
11742
11743 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11744 putting the input text in front and in bold.
11745
11746 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11749
11750 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11751 empty buffer.
11752
11753 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11754 unread-command-events rather than pushing yet-another event.
11755
11756 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11757
11758 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11759 the explanation of the possible choices. Make the options passed
11760 to completing-read shorter.
11761
11762 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11763
11764 * textmodes/flyspell.el (flyspell-large-region): Make sure
11765 extended character mode is used if defined (Bug#1339).
11766
11767 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11768
11769 * simple.el (what-cursor-position): Fix the display of the
11770 character info for LRE, LRO, RLE, and RLO characters by appending
11771 an invisible PDF.
11772
11773 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11776 even in case of error; add debug spec; simplify data flow.
11777 (with-timeout-handler): Remove.
11778
11779 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11780
11781 Fix Bug#6019, Bug#9315.
11782
11783 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11784 complete `buffer-file-name', the local file name part could look
11785 remotely (for example on VMS).
11786
11787 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11788 `tramp-run-real-handler'.
11789 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11790 already quoted by '"'.
11791
11792 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11793 Let `file-name-handler-alist' be nil, the local file name part
11794 could look remotely (for example on VMS).
11795
11796 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11799 from here...
11800 (flyspell-post-command-hook): ...to here.
11801
11802 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11805 if not needed.
11806 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11807 using completion. Protect against "slow" callers.
11808 Remove the "message hack".
11809
11810 2011-10-11 Juri Linkov <juri@jurta.org>
11811
11812 * isearch.el (isearch-lazy-highlight-word): New variable.
11813 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11814 Use it. (Bug#9727)
11815
11816 2011-10-11 Glenn Morris <rgm@gnu.org>
11817
11818 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11819 like f90-previous-statement does.
11820
11821 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11822
11823 * eshell/eshell.el (eshell-command): History should be saved
11824 only in interactive use, to avoid error.
11825
11826 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * minibuffer.el (completion-file-name-table): Fix last change,
11829 i.e. ignore normal errors but not the other ones.
11830
11831 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11832
11833 * window.el (special-display-buffer-names)
11834 (special-display-regexps): Remove some remnants of earlier
11835 changes from doc-strings.
11836 (quit-windows-on): New function.
11837
11838 * vc/vc.el (vc-revert, vc-rollback):
11839 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11840 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11841 (Bug#6183) (Bug#7074) (Bug#7447)
11842
11843 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11844
11845 * window.el (frame-auto-hide-function): Add version tag.
11846 (Bug#9699)
11847
11848 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11849
11850 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11851 condition.
11852
11853 2011-10-09 Leo Liu <sdl.web@gmail.com>
11854
11855 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11856 (Bug#9701)
11857
11858 2011-10-08 Glenn Morris <rgm@gnu.org>
11859
11860 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11861 before the first code statement zero indent. (Bug#9690)
11862
11863 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11864
11865 * simple.el (count-words-region): Always count in the region.
11866 Report the number of lines and characters too.
11867 (count-words): New command, which counts in the buffer if the
11868 region is inactive, as count-words-region used to.
11869 (count-words--message): New function. Handle plurals.
11870 (count-lines-region): Make it an alias for count-words-region.
11871
11872 * bindings.el (esc-map): Replace count-lines-region with
11873 count-words-region.
11874
11875 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11876
11877 * window.el (window--delete): Delete dedicated frame
11878 unconditionally when argument KILL is non-nil. (Bug#9699)
11879 (switch-to-buffer): Fix doc-string typo.
11880
11881 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11882
11883 * eshell/eshell.el (eshell-command): Avoid using hooks.
11884
11885 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * bindings.el ([M-left],[M-right]): Bind to left-word and
11888 right-word respectively.
11889
11890 2011-10-07 Glenn Morris <rgm@gnu.org>
11891
11892 * cus-start.el (debug-on-quit): Fix custom type.
11893
11894 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11895
11896 * subr.el (define-key-after): Clarify that the function is not
11897 useful for non-menu keymaps.
11898
11899 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11900
11901 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11902
11903 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11904 in current minibuffer (Fix bug with recursive minibuffers).
11905
11906 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11907
11908 * progmodes/gdb-mi.el (gdb): Doc fix.
11909
11910 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11911
11912 * window.el (frame-auto-hide-function): New option replacing
11913 frame-auto-delete. Suggested by Stefan Monnier.
11914 (window--delete): Call frame-auto-hide-function instead of
11915 investigating frame-auto-delete.
11916 (window-point-1, set-window-point-1): New functions.
11917 (window-in-direction, record-window-buffer, window-state-get-1)
11918 (display-buffer-record-window): Use window-point-1 instead of
11919 window-point.
11920 (set-window-buffer-start-and-point): Use set-window-point-1.
11921
11922 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11925
11926 2011-10-05 Glenn Morris <rgm@gnu.org>
11927
11928 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11929 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11930
11931 2011-10-05 Leo Liu <sdl.web@gmail.com>
11932
11933 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11934 works with buffer object.
11935
11936 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * mpc.el (mpc-tool-bar-map): Add labels.
11939
11940 2011-10-04 Glenn Morris <rgm@gnu.org>
11941
11942 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11943
11944 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11945
11946 * window.el (window--delete): New function.
11947 (frame-auto-delete): Resuscitate option.
11948 (bury-buffer, replace-buffer-in-windows)
11949 (quit-window): Rewrite using window--delete.
11950 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11951 Pass display-buffer-mark-dedicated to window--display-buffer-2
11952 (Bug#9639).
11953
11954 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11955
11956 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11957 returns a list (bug#9554). Add remote file name completion.
11958 * comint.el (comint--table-subvert): Curry and get quote&unquote
11959 functions as arguments.
11960 (comint--complete-file-name-data): Adjust call accordingly.
11961 * pcomplete.el (pcomplete--table-subvert): Remove.
11962 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11963
11964 * minibuffer.el (completion-table-case-fold): Use currying.
11965 (completion--styles-type, completion--cycling-threshold-type):
11966 New constants.
11967 (completion-styles, completion-category-overrides)
11968 (completion-cycle-threshold): Use them.
11969 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11970 completion-table-case-fold.
11971
11972 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11973
11974 * minibuffer.el (completion-category-overrides): Fix type of styles
11975 and add more user friendly tags (bug#9660).
11976
11977 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11980 (mule-input-method-string): New widget.
11981 (default-input-method, language-info-custom-alist): Use it.
11982
11983 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * pcomplete.el: Require comint.
11986 (pcomplete--common-suffix): Remove.
11987 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11988 (pcomplete--table-subvert): Sync with comint--table-subvert.
11989 (pcomplete--entries): Use comint-completion-file-name-table.
11990 * comint.el (comint-unquote-filename): Simplify.
11991 (comint-completion-file-name-table): New function (bug#9616).
11992 (comint--complete-file-name-data): Use it.
11993
11994 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11995 (pcmpl-gnu-tar-buffer): Remove.
11996 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11997 around. Make sure pcomplete-suffix-list is only changed temporarily.
11998 Don't look inside the tar's file if it's too large.
11999
12000 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12001
12002 * cus-edit.el (custom-mode-map):
12003 * epa.el (epa-key-list-mode-map):
12004 * man.el (Man-mode-map):
12005 * startup.el (splash-screen-keymap):
12006 * simple.el (special-mode-map): Use scroll-up-command and
12007 scroll-down-command.
12008
12009 * progmodes/idlw-help.el (idlwave-help-mode-map):
12010 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12011 * net/newst-plainview.el (newsticker-mode-map):
12012 * emulation/ws-mode.el (wordstar-mode-map):
12013 * emulation/vi.el (vi-com-map):
12014 * calc/calc-graph.el (calc-graph-show-dumb):
12015 * term/sun.el (terminal-init-sun):
12016 * term/ns-win.el (global-map):
12017 * progmodes/grep.el (grep-mode-map):
12018 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12019 * mail/rmail.el (rmail-mode-map):
12020 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12021
12022 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12023 custom-safe-themes as special.
12024
12025 2011-10-01 Julien Danjou <julien@danjou.info>
12026
12027 * notifications.el (notifications-notify): Fix docstring.
12028
12029 2011-10-01 Per Starbäck <per@starback.se>
12030
12031 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12032
12033 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12034
12035 * startup.el (command-line-1): Fix last fix by inserting
12036 initial-scratch-message into *scratch* before displaying it.
12037 (Bug#9605) and (Bug#9636)
12038
12039 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12040
12041 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12042 window is hscrolled, move by logical lines. (Bug#9607)
12043 (line-move-visual): Update the doc string to the above effect.
12044
12045 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12046
12047 * window.el (display-buffer-record-window): When WINDOW is the
12048 selected window use `point' instead of `window-point'. (Bug#9626)
12049
12050 * startup.el (command-line-1): Use insert-before-markers when
12051 inserting initial-scratch-message. (Bug#9605)
12052
12053 * help.el (help-window): Remove variable.
12054
12055 2011-09-29 Glenn Morris <rgm@gnu.org>
12056
12057 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12058
12059 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * descr-text.el (describe-char-categories): Accept category
12062 descriptions more than one line long.
12063
12064 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * simple.el (delete-trailing-whitespace): Fix last change.
12067
12068 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12069 Don't confuse "y => 3" as the beginning of a `y' operation.
12070
12071 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12072 object has more than 4 slots (bug#9613).
12073
12074 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12075
12076 * subr.el (with-output-to-temp-buffer):
12077 * net/quickurl.el (quickurl, quickurl-browse-url):
12078 Fix typos in docstrings.
12079
12080 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12081
12082 * minibuffer.el (completion-styles)
12083 (completion-category-overrides): Cross reference each other in doc
12084 strings.
12085
12086 2011-09-27 Glenn Morris <rgm@gnu.org>
12087
12088 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12089 to split-string. (Bug#9606)
12090
12091 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092
12093 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12094 (bug#9615).
12095
12096 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * emacs-lisp/package.el (list-packages): Fix echo area message.
12099
12100 2011-09-27 Leo Liu <sdl.web@gmail.com>
12101
12102 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12103
12104 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12105
12106 * net/dbus.el (dbus-unregister-object): Don't release services for
12107 registered signals. (Bug#9581)
12108
12109 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12110
12111 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12112 function that picks between cfengine 2 and 3 support
12113 automatically. Update docs accordingly.
12114
12115 2011-09-22 Kenichi Handa <handa@m17n.org>
12116
12117 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12118 ZERO.
12119 (indian-itrans-v5-table-for-tamil): New variable.
12120 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12121
12122 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12123
12124 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12125 that's true if the current command involved collapsing of text.
12126 It's reset to false at the beginning of the next command.
12127 (allout-post-command-business): Move the cursor to the beginning
12128 of entry if the cursor is hidden and collapsing activity just
12129 happened.
12130
12131 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12132
12133 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12134 tracking (Bug#9541).
12135
12136 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12137
12138 * net/newst-reader.el (newsticker-html-renderer)
12139 (newsticker-show-news): Automatically load html rendering package
12140 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12141 because w3m-fill-column is let-bound" and the error "Symbol's value
12142 as variable is void: w3m-fill-column".
12143
12144 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12145
12146 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12147 Release services only if they are defined. (Bug#9581)
12148
12149 2011-09-23 Richard Stallman <rms@gnu.org>
12150
12151 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12152 distinguish start of paragraph from start of its text.
12153
12154 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12155
12156 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12157 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12158 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12159
12160 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12161
12162 * international/mule-diag.el (mule-diag): Insert a newline after
12163 each fontset description.
12164
12165 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * simple.el (delete-trailing-whitespace):
12168 Document last change; simplify.
12169
12170 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12171
12172 * simple.el (delete-trailing-whitespace): Also delete
12173 extra newlines at the end of the buffer.
12174
12175 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12176 (picture-newline): Use forward-line so as to ignore fields.
12177
12178 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * subr.el (with-wrapper-hook): Fix edebug spec.
12181
12182 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12183
12184 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12185 (bug#4538).
12186
12187 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12188
12189 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12190 Fix nasty bug using wrong cached values.
12191
12192 2011-09-23 Alan Mackenzie <acm@muc.de>
12193
12194 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12195
12196 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12197
12198 * window.el (pop-to-buffer): Ensure right window is selected if we
12199 chose another frame.
12200
12201 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12202
12203 * simple.el (what-cursor-position): Use get-char-property-change
12204 and next-single-char-property-change, to be able to show display
12205 properties that come from overlays as well as text properties.
12206
12207 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12208
12209 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12210
12211 * cmuscheme.el (run-scheme, switch-to-scheme):
12212 * cus-edit.el (customize-group, custom-buffer-create)
12213 (customize-browse):
12214 * info.el (info):
12215 * shell.el (shell):
12216 * mail/sendmail.el (mail):
12217 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12218
12219 2011-09-22 Richard Stallman <rms@gnu.org>
12220
12221 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12222 move back only to line beg, don't move back over blank lines.
12223
12224 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * files.el (copy-directory): Set directory attributes only in case
12227 they could be retrieved from the source directory. (Bug#9565)
12228
12229 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12230
12231 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12232 (hs-find-block-beginning, hs-hide-level-recursive):
12233 Ignore strings as well as comments. (Bug#9502)
12234
12235 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12236
12237 * progmodes/sql.el (sql-comint-postgres):
12238 Convert port number to a string. (Bug#9566)
12239
12240 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12241
12242 * window.el (quit-window): Undedicate window when switching to
12243 previous buffer. Reported by Thierry Volpiatto
12244 <thierry.volpiatto@gmail.com>.
12245 (special-display-popup-frame): When popping up a new frame reset
12246 its previous buffers to nil. Simplify code.
12247
12248 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12249
12250 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12251 and process filter, as done also in `shell-command'.
12252
12253 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12254
12255 * window.el (set-window-buffer-start-and-point):
12256 Call set-window-start with NOFORCE argument t.
12257 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12258 (quit-window): Reword doc-string. Handle new format of
12259 quit-restore parameter. Don't delete window if it has a
12260 previous buffer we can show instead of the present one.
12261 (display-buffer-record-window): Rewrite using a new format for
12262 the quit-restore window parameter
12263 (special-display-popup-frame, display-buffer-same-window)
12264 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12265 (display-buffer-pop-up-window, display-buffer-use-some-window):
12266 Adapt symbol passed to display-buffer-record-window.
12267 * help.el (help-window-setup): Handle new format of quit-restore
12268 parameter.
12269
12270 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * faces.el (face-list): Fix docstring (bug#9564).
12273
12274 * window.el (display-buffer--action-function-custom-type):
12275 Don't include internal functions in the Custom interface.
12276
12277 2011-09-20 Juri Linkov <juri@jurta.org>
12278
12279 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12280 (Info-forward-node, Info-backward-node, Info-next-preorder)
12281 (Info-last-preorder): Use it. (Bug#9528)
12282
12283 2011-09-20 Juri Linkov <juri@jurta.org>
12284
12285 * info.el (Info-last-preorder): Visit last menu item only when
12286 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12287
12288 2011-09-20 Julien Danjou <julien@danjou.info>
12289
12290 * password-cache.el (password-cache-remove): Remove entries even if the
12291 value is nil, so that password with a nil value (negative caching) is
12292 possible to invalidate.
12293
12294 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12295
12296 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12297 all whitespace around breakpoint. (Bug#9553)
12298 (f90-find-breakpoint): Only break at whitespace inside a comment.
12299
12300 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * minibuffer.el (completion-file-name-table): Keep track of errors.
12303 (completion-table-with-predicate): Handle the case where pred1 is nil.
12304 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12305
12306 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12309 (debugger-return-value): Signal an error if the debugging context does
12310 not await any return value.
12311
12312 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12313 * image-mode.el (image-toggle-display-text)
12314 (image-toggle-display-image): Stay away from evil `intangible'.
12315
12316 2011-09-19 Leo Liu <sdl.web@gmail.com>
12317
12318 * replace.el (occur-revert-arguments): Make it permanent-local.
12319 (occur-mode): Don't call font-lock-defontify.
12320
12321 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12322
12323 * net/ldap.el (ldap-search-internal): Don't push empty search
12324 result (Bug#9508).
12325
12326 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12329
12330 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12331
12332 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12333 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12334
12335 2011-09-18 Juri Linkov <juri@jurta.org>
12336
12337 * buff-menu.el (Buffer-menu-mode-map):
12338 * dired.el (dired-mode-map):
12339 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12340 (lisp-interaction-mode-map):
12341 * emacs-lisp/package.el (package-menu-mode-map):
12342 * epa.el (epa-key-list-mode-map):
12343 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12344 (menu-bar-options-menu):
12345 * outline.el (outline-mode-menu-bar-map):
12346 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12347 * vc/vc-dir.el (vc-dir-menu-map):
12348 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12349 Capitalize non-function content words in menu item strings.
12350
12351 * dired.el (dired-mode-map): Add menu item for
12352 `image-dired-dired-toggle-marked-thumbs'.
12353
12354 2011-09-18 Juri Linkov <juri@jurta.org>
12355
12356 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12357 to `isearch-case-fold-search' and restore its original value
12358 after the `isearch-mode' call.
12359
12360 2011-09-18 Juri Linkov <juri@jurta.org>
12361
12362 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12363 because `zgrep' returns 1 for successful matches (bug#9226).
12364
12365 2011-09-18 Juri Linkov <juri@jurta.org>
12366
12367 * info.el (Info-extract-menu-node-name): Check the second match
12368 for empty string (second test-case of bug#9528).
12369 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12370 intermediate nodes to the history (first test-case of bug#9528).
12371
12372 2011-09-18 Juri Linkov <juri@jurta.org>
12373
12374 * info.el (Info-mode-syntax-table): New variable.
12375 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12376
12377 2011-09-18 Juri Linkov <juri@jurta.org>
12378
12379 * info.el (Info-file-supports-index-cookies):
12380 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12381 outputs one more line for long file names (bug#4142).
12382
12383 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12384
12385 * newcomment.el (comment-normalize-vars): If prompting for
12386 comment-start, set comment-start-skip too (Bug#8424).
12387
12388 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12389
12390 * icomplete.el: Fix previous fix of Bug#5849.
12391 (icomplete-mode): Don't set completion-show-inline-help.
12392 (icomplete-minibuffer-setup): Set completion-show-inline-help
12393 locally during icompletion.
12394
12395 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12396
12397 * woman.el (woman2-process-escapes): Don't delete unrecognized
12398 escapes (Bug#7843).
12399
12400 * files.el (inhibit-first-line-modes-regexps): Add image files.
12401 (hack-local-variables-prop-line): Return nil for malformed
12402 prop-lines (Bug#9044).
12403
12404 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12405
12406 * net/tramp.el (top): Don't require 'shell.
12407 (tramp-methods): Fix docstring.
12408 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12409 Return complete remote file name. Handle "smb" case.
12410 Use `tramp-tmpdir', if defined for the respective method.
12411 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12412
12413 * net/tramp-compat.el (top): Require 'shell.
12414
12415 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12416 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12417 `tramp-current-host'.
12418 (tramp-get-remote-tmpdir): Remove.
12419
12420 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12421 `tramp-tmpdir' entries.
12422 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12423 (tramp-smb-handle-file-attributes): Ignore errors.
12424 (tramp-smb-wait-for-output): Check also for process end.
12425
12426 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427
12428 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12429 when sending QUIT (bug#9312).
12430
12431 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12432
12433 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12434 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12435 occur-mode-display-occurrence.
12436 (occur-edit-mode): Add usage message.
12437 (occur-cease-edit): New command.
12438 (occur-after-change-function): Use text properties to find the
12439 position of the prefix text.
12440 (occur-engine): Set stickiness of prefix text properties.
12441
12442 2011-09-17 Glenn Morris <rgm@gnu.org>
12443
12444 * progmodes/etags.el (complete-tag):
12445 Fix call to completion-in-region. (Bug#9526)
12446
12447 2011-09-17 Juri Linkov <juri@jurta.org>
12448
12449 * textmodes/ispell.el (ispell-word): Add to the error message
12450 the word, ispell program name and current dictionary (bug#9121).
12451 (ispell-tex-arg-end): Capitalize "error" in the error message.
12452
12453 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12454
12455 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12456 check. (Bug#4251)
12457
12458 2011-09-17 Juri Linkov <juri@jurta.org>
12459
12460 * window.el (window-safe-min-height, window-safe-min-width):
12461 Fix typos (followup to bug#9522).
12462
12463 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12464
12465 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12466
12467 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12468
12469 * simple.el (line-move): If goal-column is set, move by logical
12470 lines, not by display lines. (Bug#971)
12471 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12472 to reflect the above change.
12473
12474 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * image.el (imagemagick-register-types): Use regexp-opt.
12477
12478 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12479
12480 * window.el (display-buffer-base-action): Rename from
12481 display-buffer-default-action. Make default value empty.
12482 (display-buffer-overriding-action): Convert to defvar.
12483 (display-buffer-fallback-action): New var.
12484
12485 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12486
12487 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12488 declaration.
12489 (package--add-to-archive-contents): If there is a duplicate entry
12490 with an older version, remove it.
12491 (package-menu-mark-delete, package-menu-mark-install)
12492 (package-menu-mark-unmark): Make unused args optional.
12493 (package-menu-mark-obsolete-for-deletion):
12494 Use package-menu-get-status instead of a regexp search.
12495 (package-menu-get-status): Use tabulated-list-entry.
12496 (package-menu-mark-upgrades): New command.
12497 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12498 (package-menu-execute): Do installation before deletion.
12499 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12500 instead of checking major-mode.
12501 (package-menu--find-upgrades): New function.
12502
12503 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12504
12505 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12506 passwords in the log buffer.
12507 (smtpmail-process-filter): Update the process marker so that the
12508 "broken by peer" status message is inserted in the right place.
12509
12510 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12513 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12514 bibtex-completion-at-point-function.
12515 (bibtex-completion-at-point-function): Use them.
12516
12517 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12518
12519 * mpc.el (mpc-constraints-tag-lookup): New function.
12520 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12521 also to browser "album|playlist".
12522
12523 2011-09-14 Juri Linkov <juri@jurta.org>
12524
12525 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12526 (isearch-edit-string): Use length of `isearch-string' when
12527 `isearch-fail-pos' returns nil.
12528 (isearch-message): Remove duplicate code and call
12529 `isearch-fail-pos' with arg `t'.
12530
12531 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12532
12533 * replace.el (occur-mode-goto-occurrence): Don't force using other
12534 window (Bug#9499).
12535
12536 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12537
12538 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12539
12540 * window.el (display-buffer-window): Remove.
12541 (display-buffer-record-window): Use help-setup window parameter
12542 instead of variable display-buffer-window.
12543 (display-buffer-function, special-display-buffer-names)
12544 (special-display-function): Mention help-setup parameter instead
12545 of display-buffer-window in doc-string.
12546 * help.el (help-window-setup): New argument help-window.
12547 Use help-window-setup parameter instead of display-buffer-window.
12548 Reword some messages.
12549 (with-help-window): Pass window used for displaying the buffer
12550 to help-window-setup. Don't set display-buffer-window.
12551
12552 2011-09-13 Glenn Morris <rgm@gnu.org>
12553
12554 * emacs-lisp/debug.el (debugger-make-xrefs):
12555 Preserve point. (Bug#9462)
12556
12557 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12558
12559 * window.el (window-deletable-p): Use next-frame.
12560
12561 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12562
12563 * window.el (window-auto-delete): Remove.
12564 (window-deletable-p): Remove argument FORCE. Don't deal with
12565 dedication and previous buffers.
12566 (switch-to-prev-buffer): Don't delete window.
12567 (delete-windows-on): Delete a window's frame if and only if the
12568 window is dedicated.
12569 (replace-buffer-in-windows): Delete buffer's window or frame if
12570 and only if window is dedicated.
12571 (quit-window): Handle quit-restore as before last change.
12572 (bury-buffer): Delete window only if window-deletable-p returns t.
12573
12574 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12575
12576 * window.el (window-deletable-p): Never delete the last frame on a
12577 given terminal.
12578
12579 2011-09-13 Glenn Morris <rgm@gnu.org>
12580
12581 * help.el (describe-key-briefly): Copy previous standard-output change.
12582
12583 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12584
12585 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12586
12587 2011-09-13 Glenn Morris <rgm@gnu.org>
12588
12589 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12590 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12591
12592 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12593
12594 * dired-aux.el (dired-mark-read-string): Don't return default
12595 value on empty input (Bug#9361).
12596 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12597 Omit initial minibuffer contents.
12598 (dired-do-chmod): Signal an error on empty input.
12599 (dired-mark-read-string): Don't return default on empty input.
12600
12601 * files.el (file-modes-symbolic-to-number): Doc fix.
12602
12603 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * international/mule-cmds.el (ucs-completions): Remove.
12606 (read-char-by-name): Use complete-with-action instead; add metadata.
12607
12608 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12609
12610 * window.el (display-buffer--action-function-custom-type)
12611 (display-buffer--action-custom-type): New vars.
12612 (display-buffer-alist, display-buffer-default-action)
12613 (display-buffer-overriding-action): Add defcustom types.
12614
12615 * frame.el (delete-other-frames): Doc fix (Bug#276).
12616
12617 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12618
12619 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12620
12621 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12622
12623 Change modes that used same-window-* vars to use switch-to-buffer.
12624
12625 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12626 Use switch-to-buffer.
12627
12628 * cus-edit.el (customize-group, custom-buffer-create)
12629 (customize-browse, custom-buffer-create-other-window):
12630 Use switch-to-buffer or switch-to-buffer-other-window.
12631
12632 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12633 (Info-prev, Info-up, Info-speedbar-goto-node)
12634 (info-display-manual): Use switch-to-buffer.
12635 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12636
12637 * mail/sendmail.el (mail): Use switch-to-buffer.
12638 (mail-recover): Use switch-to-buffer-other-window.
12639
12640 * cmuscheme.el (run-scheme, switch-to-scheme):
12641 * ielm.el (ielm):
12642 * shell.el (shell):
12643 * net/rlogin.el (rlogin):
12644 * net/telnet.el (telnet, rsh):
12645 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12646
12647 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12648
12649 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12650
12651 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12652
12653 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12654 so don't mention it (bug#9301).
12655 (dired-sort-toggle-or-edit): Clarify string further.
12656
12657 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12658 match `x', `w32' and `ns', like the manual says (bug#9029).
12659
12660 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12661 (process-kill-buffer-query-function): Mention the buffer name in
12662 the query.
12663
12664 * image-mode.el (image-next-line): The line parameter is mandatory
12665 (bug#9258).
12666
12667 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12668 which can be useful (bug#9301).
12669
12670 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12671
12672 * subr.el (match-string): Mention that the current buffer should
12673 be the same as the search was done in (bug#9282).
12674
12675 * facemenu.el: Disable the remove-* commands if the mark isn't
12676 active (bug#9162).
12677
12678 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12681 of display-buffer.
12682 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12683
12684 * replace.el (occur-mode-goto-occurrence)
12685 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12686 and display-buffer.
12687
12688 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12689 display-buffer.
12690
12691 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12692 special-display and same-window variables.
12693 (mail-other-window): Use switch-to-buffer-other-window.
12694 (mail-other-frame): USe switch-to-buffer-other-frame.
12695
12696 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12697 Use display-buffer-other-frame.
12698 (gdb-display-gdb-buffer): Use pop-to-buffer.
12699
12700 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12701
12702 * progmodes/python.el: Don't set same-window-buffer-names.
12703
12704 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12705
12706 * window.el (display-buffer-alist): Add *Python*.
12707
12708 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12709
12710 * window.el (display-buffer-alist): Add entry for buffers
12711 previously handled same-window-*.
12712 (display-buffer-alist, display-buffer-default-action)
12713 (display-buffer-overriding-action): Mark as risky.
12714 (display-buffer-alist): Document action function changes.
12715 (display-buffer--same-window-action)
12716 (display-buffer--other-frame-action): New variables.
12717 (switch-to-buffer, display-buffer-other-frame): Use them.
12718 (display-buffer): Rename reuse-frame entry to reusable-frames.
12719 (display-buffer-reuse-selected-window): Function deleted.
12720 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12721 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12722 (display-buffer-special): New function.
12723 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12724 display-buffer-reuse-or-pop-window. Split off special-display
12725 part into display-buffer-special.
12726 (display-buffer-use-some-window): Don't perform any special
12727 pop-up-frames handling.
12728 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12729 (display-buffer--maybe-same-window): Rename from
12730 display-buffer-maybe-same-window.
12731
12732 * info.el: Don't set same-window-regexps.
12733 (info-setup): New function.
12734 (info-other-window, info): Call it.
12735
12736 * cus-edit.el: Don't set same-window-regexps.
12737 (customize-group): New argument.
12738 (customize-group-other-window): Use it.
12739 (customize-face, customize-face-other-window): Likewise.
12740 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12741
12742 * net/rlogin.el:
12743 * net/telnet.el:
12744 * progmodes/gud.el: Don't set same-window-regexps.
12745
12746 * cmuscheme.el:
12747 * ielm.el:
12748 * shell.el:
12749 * mail/sendmail.el:
12750 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12751
12752 2011-09-10 Juri Linkov <juri@jurta.org>
12753
12754 * isearch.el (isearch-edit-string): Remove obsolete mention of
12755 `C-w' (`isearch-yank-word-or-char') from docstring.
12756 (isearch-query-replace): Fix typo in docstring (bug#9466).
12757
12758 2011-09-10 Juri Linkov <juri@jurta.org>
12759
12760 * paren.el (show-paren-function): Don't show escaped parens.
12761 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12762
12763 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12764
12765 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12766 (mm-default-file-encoding): Remove autoload forms, they are
12767 replaced with autoload cookies in mml.el and mm-encode.el.
12768 (mail-add-attachment): New command.
12769 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12770 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12771 the doc string.
12772 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12773
12774 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12775
12776 * simple.el (count-words-region): Use buffer if there's no region
12777 (bug#9429).
12778
12779 2011-09-09 Juri Linkov <juri@jurta.org>
12780
12781 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12782 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12783 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12784
12785 2011-09-09 Alan Mackenzie <acm@muc.de>
12786
12787 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12788 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12789
12790 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12791
12792 Fix for Savannah bug#9392.
12793 * simple.el (mail-encode-mml): New defvar.
12794
12795 * mail/rmail.el (mail-encode-mml): Add a defvar.
12796 (rmail-enable-mime-composing): Default to t.
12797 (rmail-forward): Use MIME method of forwarding only if both
12798 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12799 Set mail-encode-mml non-nil if the MIME method was used.
12800
12801 * mail/sendmail.el (mml-to-mime): Add autoload form.
12802 (mail-encode-mml): Add a defvar.
12803 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12804 to nil.
12805 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12806 message through mml-to-mime, and reset mail-encode-mml to nil.
12807
12808 2011-09-09 Glenn Morris <rgm@gnu.org>
12809
12810 * woman.el (woman-if-body): When processing an .el block,
12811 do not delete the next .el block as well. (Bug#9447)
12812 (woman-special-characters): Add oq, cq, and hy characters.
12813
12814 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12815
12816 * window.el (window-deletable-p): Make sure window is live before
12817 invoking window-prev-buffers.
12818
12819 2011-09-08 Leo Liu <sdl.web@gmail.com>
12820
12821 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12822
12823 2011-09-08 Juri Linkov <juri@jurta.org>
12824
12825 * progmodes/compile.el (compilation-environment): Make it
12826 a defcustom (bug#8340).
12827
12828 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12829
12830 * window.el (frame-auto-delete): Rename to window-auto-delete.
12831 Make it control auto-deletion of windows and/or frames.
12832 (window-deletable-p): New argument FORCE. Rewrite conditions
12833 for deleting window/frame. (Bug#9419)
12834 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12835 Rewrite handling of case when window/frame can be deleted.
12836 (delete-windows-on): Call window-deletable-p with new FORCE
12837 argument t. (Bug#9456)
12838
12839 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12840
12841 * help-mode.el (help-mode): Restore autoload.
12842
12843 2011-09-07 Juri Linkov <juri@jurta.org>
12844
12845 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12846 `compilation-environment'. Set buffer-local
12847 `compilation-environment' to `thisenv' later after (funcall mode).
12848 (Bug#8340)
12849
12850 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12851 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12852 instead of replacing its value. (Bug#8340)
12853
12854 2011-09-07 Juri Linkov <juri@jurta.org>
12855
12856 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12857 based on text properties put by `grep-filter' instead of matching
12858 escape sequences.
12859 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12860 to the value of `grep-error-screen-columns' (bug#9438).
12861
12862 2011-09-07 Juri Linkov <juri@jurta.org>
12863
12864 * simple.el (next-error-highlight, next-error-highlight-no-select):
12865 Doc fix (bug#9432).
12866
12867 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12868
12869 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12870 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12871
12872 2011-09-07 Leo Liu <sdl.web@gmail.com>
12873
12874 * net/rcirc.el (rcirc-mode): Conditionally initialize
12875 rcirc-input-ring.
12876
12877 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * emacs-lisp/find-func.el (find-function-C-source): Only set
12880 find-function-C-source-directory after checking that we found a source
12881 file there (bug#9440).
12882
12883 2011-09-06 Alan Mackenzie <acm@muc.de>
12884
12885 * isearch.el (isearch-other-meta-char): Wherever a key list is
12886 unread, "unread" the prefix arg, too. This fixes bug #8901.
12887
12888 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12889
12890 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12891
12892 2011-09-05 Juri Linkov <juri@jurta.org>
12893
12894 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12895
12896 2011-09-05 Juri Linkov <juri@jurta.org>
12897
12898 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12899 keeping point where processing of grep matches begins, and
12900 continue to delete remaining escape sequences from the same point.
12901 (grep-filter): Make leading zero optional in "0?1;31m" because
12902 git-grep emits "\033[1;31m" escape sequences unlike expected
12903 "\033[01;31m" as GNU Grep does (bug#9408).
12904 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12905
12906 2011-09-05 Juri Linkov <juri@jurta.org>
12907
12908 * subr.el (y-or-n-p): Capitalize "yes".
12909
12910 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12911
12912 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12913 `tramp-cache-unload-hook' where appropriate.
12914 (tramp-methods): Rename `tramp-remote-sh' to
12915 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12916 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12917
12918 * net/tramp-sh.el (top): Don't require 'shell.
12919 (tramp-methods): Add `tramp-remote-shell' and
12920 `tramp-remote-shell-args' entries.
12921 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12922 (tramp-sh-handle-shell-command): Remove.
12923 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12924 Use `tramp-remote-shell'.
12925
12926 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12927
12928 * mail/sendmail.el (sendmail-query-once-function): Delete.
12929 (sendmail-query-once): Save directly to send-mail-function.
12930 Update message-send-mail-function too.
12931
12932 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12933
12934 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12935
12936 * progmodes/python.el (python-mode-map): Use correct function to
12937 start python interpreter from menu-bar (as reported by Geert
12938 Kloosterman).
12939 (inferior-python-mode-map): Fix typo.
12940 (python-shell-map): Remove.
12941
12942 2011-09-03 Deniz Dogan <deniz@dogan.se>
12943
12944 * net/rcirc.el (rcirc-print): Simplify code for
12945 rcirc-scroll-show-maximum-output. There is no need to walk
12946 through all windows to find the right one.
12947
12948 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12949
12950 * help.el (help-return-method): Doc fix.
12951
12952 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12953
12954 * window.el (window-deletable-p): Don't return a non-nil value
12955 when there's a buffer that was shown in the window before.
12956 (Bug#9419)
12957 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12958 Set window's previous buffers to nil.
12959
12960 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12961
12962 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12963 newline before and after the tag line, so it doesn't interfere
12964 with determining the paragraph direction of bidirectional text.
12965
12966 2011-09-03 Leo Liu <sdl.web@gmail.com>
12967
12968 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12969
12970 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12971
12972 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12973 (pop-to-buffer): Change interactive spec. Pass second argument
12974 directly to display-buffer.
12975 (display-buffer): Fix interactive spec. Use functionp to
12976 distinguish between a function and a list of functions.
12977
12978 * abbrev.el (edit-abbrevs):
12979 * arc-mode.el (archive-extract):
12980 * autoinsert.el (auto-insert):
12981 * bookmark.el (bookmark-bmenu-list):
12982 * files.el (find-file):
12983 * view.el (view-buffer):
12984 * progmodes/compile.el (compilation-goto-locus):
12985 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12986
12987 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12988
12989 * window.el (display-buffer-alist): Doc fix.
12990 (display-buffer): Add docstring. Don't treat
12991 display-buffer-default specially.
12992 (display-buffer-reuse-selected-window)
12993 (display-buffer-same-window, display-buffer-maybe-same-window)
12994 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12995 (display-buffer-pop-up-window)
12996 (display-buffer-reuse-or-pop-window)
12997 (display-buffer-use-some-window): New functions.
12998 (display-buffer-default-action): Use them.
12999 (display-buffer-default): Delete.
13000 (pop-to-buffer-1): Fix choice of actions.
13001
13002 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * minibuffer.el (completion--insert-strings): Don't get confused by
13005 completion entries that end with an LF char.
13006
13007 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13008
13009 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13010
13011 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13012
13013 * window.el (display-buffer): Restore interactive spec.
13014 (display-buffer-same-window, display-buffer-other-window):
13015 New functions.
13016 (pop-to-buffer-1): New function. Use the above.
13017 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13018 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13019
13020 * view.el (view-buffer-other-window, view-buffer-other-frame):
13021 Just use pop-to-buffer.
13022
13023 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13024
13025 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13026
13027 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13028
13029 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13030
13031 2011-08-31 Richard Stallman <rms@gnu.org>
13032
13033 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13034 of the separation of rmail-view-buffer from rmail-buffer.
13035 If you say no to "replace original", the decrypt is in the
13036 view buffer. If you say yes, the decrypt goes into the
13037 rmail buffer also.
13038
13039 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13040
13041 * window.el (display-buffer-window): Rewrite doc-string.
13042 (display-buffer-record-window): New function.
13043 (display-buffer-macro-specifiers)
13044 (display-buffer-even-window-sizes, display-buffer-set-height)
13045 (display-buffer-set-width, display-buffer-in-window)
13046 (display-buffer-reuse-window, display-buffer-split-specifiers)
13047 (display-buffer-side-specifiers, display-buffer-split-window-1)
13048 (display-buffer-split-window, display-buffer-split-atom-window)
13049 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13050 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13051 (display-buffer-other-window-means-other-frame)
13052 (display-buffer-normalize-special)
13053 (display-buffer-normalize-default)
13054 (display-buffer-normalize-argument)
13055 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13056 (display-buffer-normalize-specifiers, display-buffer-frame)
13057 (display-buffer-same-window, display-buffer-same-frame)
13058 (display-buffer-other-window)
13059 (display-buffer-same-frame-other-window)
13060 (display-buffer-other-frame, pop-to-buffer-same-window)
13061 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13062 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13063 (switch-to-buffer-same-frame)
13064 (switch-to-buffer-other-window-same-frame)
13065 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13066 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13067 (display-buffer-alist-set): Remove.
13068 (display-buffer-function, special-display-buffer-names)
13069 (special-display-regexps, special-display-function):
13070 In doc-string refer to display-buffer-window and quit-restore
13071 parameter.
13072 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13073 (special-display-frame-alist, special-display-popup-frame)
13074 (same-window-buffer-names, same-window-regexps, same-window-p)
13075 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13076 (split-window-preferred-function, split-height-threshold)
13077 (split-width-threshold, window-splittable-p)
13078 (split-window-sensibly, window--try-to-split-window)
13079 (window--frame-usable-p, even-window-heights)
13080 (window--even-window-heights, window--display-buffer-1)
13081 (window--display-buffer-2, display-buffer-other-frame):
13082 Restore old Emacs 23 code, order and doc-strings where applicable.
13083 (display-buffer-default, display-buffer-assq-regexp): New functions.
13084 (display-buffer-alist): Rewrite doc-string.
13085 (display-buffer-default-action)
13086 (display-buffer-overriding-action): New variables.
13087 (display-buffer, switch-to-buffer): Rewrite.
13088 (pop-to-buffer): Restore Emacs 23 behavior but use
13089 window-normalize-buffer-to-display.
13090 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13091 Restore Emacs 23 behavior but use
13092 window-normalize-buffer-to-switch-to.
13093 (pop-to-buffer-same-window): Rewrite.
13094 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13095 Rewrite using Emacs 23 options.
13096
13097 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13098
13099 * net/tramp.el (tramp-root-regexp): Remove.
13100 (tramp-completion-file-name-regexp-unified)
13101 (tramp-completion-file-name-regexp-separate)
13102 (tramp-completion-file-name-regexp-url): Don't use leading volume
13103 letter on w32 systems. (Bug#5303, Bug#9311)
13104 (tramp-drop-volume-letter): Simplify definition.
13105 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13106
13107 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13110 (bug#9356).
13111
13112 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13113
13114 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13115
13116 2011-08-29 Juri Linkov <juri@jurta.org>
13117
13118 * isearch.el (isearch-done): Don't display message "Mark saved"
13119 when arg `edit' is non-nil to prevent its flicker in the echo area.
13120
13121 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13122
13123 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13124 obsolete packages for deletion.
13125
13126 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13127
13128 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13129 (help-mode): Derive help-mode from special-mode. Don't invoke
13130 view-mode from help-mode.
13131 (help-xref-override-view-map): Remove.
13132 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13133 view-mode is not used anymore.
13134
13135 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13136
13137 * server.el (server-port): Doc fix.
13138
13139 * cus-theme.el (custom-theme-choose-mode): Inherit from
13140 special-mode (Bug#9124).
13141 (custom-theme-choose-mode-map): Add special-mode to parent.
13142
13143 2011-08-28 Alan Mackenzie <acm@muc.de>
13144
13145 * progmodes/cc-fonts.el
13146 (c-make-font-lock-BO-decl-search-function): New function.
13147 (c-basic-matchers-after - "Fontify the clauses after various
13148 keywords"): Extract the three keyword lists for the 3 erroneous
13149 constructs from the list of four, and use the new function above
13150 in place of an old one.
13151
13152 2011-08-28 Deniz Dogan <deniz@dogan.se>
13153
13154 * net/rcirc.el (rcirc-insert-prev-input)
13155 (rcirc-insert-next-input): Remove unused argument.
13156
13157 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13158
13159 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13160
13161 2011-08-27 Alan Mackenzie <acm@muc.de>
13162
13163 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13164 handle function pointer parameters properly.
13165
13166 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13167
13168 * window.el (display-buffer-reuse-window): Fix case where
13169 selected window was reused with non-nil OTHER-WINDOW argument.
13170 (Bug#9381)
13171
13172 2011-08-27 Deniz Dogan <deniz@dogan.se>
13173
13174 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13175 oftc's NickServ messages.
13176
13177 2011-08-27 Glenn Morris <rgm@gnu.org>
13178
13179 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13180
13181 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13182
13183 * emacs-lisp/package.el (package-install): Call package-initialize
13184 if called interactively.
13185
13186 2011-08-26 Leo Liu <sdl.web@gmail.com>
13187
13188 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13189
13190 2011-08-25 Juri Linkov <juri@jurta.org>
13191
13192 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13193 `search-whitespace-regexp' (bug#9364).
13194
13195 2011-08-25 Juri Linkov <juri@jurta.org>
13196
13197 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13198 `regexp-search-ring' to their global values to protect from
13199 updating by `read-from-minibuffer' (bug#9185).
13200
13201 2011-08-25 Juri Linkov <juri@jurta.org>
13202
13203 * textmodes/ispell.el (ispell-command-loop): Add newline
13204 at the end of the "Use option `i'..." line.
13205
13206 2011-08-25 Juri Linkov <juri@jurta.org>
13207
13208 * battery.el (display-battery-mode): If `battery-status-function'
13209 or `battery-mode-line-format' is nil, display the message and set
13210 `display-battery-mode' to nil (bug#9363).
13211
13212 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13213
13214 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13215 bidi-string-mark-left-to-right; they are unnecessary now.
13216
13217 2011-08-25 Deniz Dogan <deniz@dogan.se>
13218
13219 * net/quickurl.el: Documentation typo fixes.
13220
13221 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13222
13223 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13224
13225 2011-08-25 Glenn Morris <rgm@gnu.org>
13226
13227 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13228
13229 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13230 (smtpmail-via-smtp): Handle nil response from smtp.
13231
13232 2011-08-24 Juri Linkov <juri@jurta.org>
13233
13234 * proced.el (proced-marked): Inherit from `error' instead of
13235 `font-lock-warning-face'.
13236
13237 * ibuffer.el (ibuffer-marked-face): Change default face from
13238 `font-lock-warning-face' to `warning'.
13239 (ibuffer-deletion-face): Change default face from
13240 `font-lock-type-face' to `error'.
13241
13242 * battery.el (battery-update): Use the face `error' instead of
13243 `font-lock-warning-face' (bug#6117).
13244
13245 2011-08-24 Juri Linkov <juri@jurta.org>
13246
13247 * faces.el (success): Change face color from "Green3" to
13248 "ForestGreen" on light background (bug#9353).
13249
13250 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13251
13252 * window.el (quit-window): Rename from quit-restore-window.
13253 Use same arglist as old quit-window.
13254 (frame-auto-delete): Doc fix.
13255
13256 * view.el (view-mode-exit): Use quit-window.
13257
13258 2011-08-24 Juri Linkov <juri@jurta.org>
13259
13260 * isearch.el (isearch-ring-adjust1): Start visiting previous
13261 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13262 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13263 for empty search string (when the last search string is reused
13264 automatically) to adjust the isearch ring to the last element and
13265 prepare the correct index for further M-p commands (bug#9185).
13266
13267 2011-08-24 Kenichi Handa <handa@m17n.org>
13268
13269 * international/ucs-normalize.el: If decomposition property of
13270 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13271 nil.
13272 (nfd, nfkd): Likewise.
13273
13274 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13275
13276 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13277 from process filters aren't reliably transmitted to the surrounding
13278 accept-process-output.
13279 (mpc-proc-check): New function.
13280 (mpc-proc-sync): Use it (bug#8293)
13281
13282 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13283
13284 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13285 Add compatibility functions (bug#9313).
13286
13287 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13288
13289 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13290
13291 * international/uni-bidi.el: Regenerate.
13292
13293 2011-08-23 Kenichi Handa <handa@m17n.org>
13294
13295 * international/charprop.el:
13296 * international/uni-bidi.el:
13297 * international/uni-category.el:
13298 * international/uni-combining.el:
13299 * international/uni-comment.el:
13300 * international/uni-decimal.el:
13301 * international/uni-decomposition.el:
13302 * international/uni-digit.el:
13303 * international/uni-lowercase.el:
13304 * international/uni-mirrored.el:
13305 * international/uni-name.el:
13306 * international/uni-numeric.el:
13307 * international/uni-old-name.el:
13308 * international/uni-titlecase.el:
13309 * international/uni-uppercase.el: Regenerate.
13310
13311 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13312
13313 * help.el (help-window-setup): Fix message displayed when other
13314 window is reused. (Bug#9341)
13315
13316 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13319 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13320
13321 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13322 Mark obsolete.
13323 * shell.el (shell-parse-pcomplete-arguments): New function.
13324 (shell-completion-vars): Use it instead (bug#9160).
13325
13326 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13329 strings and comments (bug#9333).
13330
13331 * emacs-lisp/debug.el (debug-arglist): New function.
13332 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13333 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13334
13335 2011-08-22 Juri Linkov <juri@jurta.org>
13336
13337 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13338 Revert regexp that highlights output switches to its old
13339 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13340
13341 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13342 to check for empty output (bug#9226).
13343
13344 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13345
13346 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13347 symbol-constituent as the default, as that stops font-lock from
13348 working properly (Bug#8843).
13349
13350 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13351
13352 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13353 `coding-system-for-*' around the process open call to avoid
13354 auth-source side effects.
13355 (smtpmail-try-auth-methods): Expand the secret password.
13356 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13357 probe hangs.
13358
13359 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13360
13361 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13362
13363 * emacs-lisp/find-func.el (find-function-noselect): New arg
13364 lisp-only.
13365
13366 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13367 signal an error for built-in functions (Bug#6664).
13368
13369 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13370
13371 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13372 (smtpmail-try-auth-methods): Use it.
13373
13374 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13375
13376 * font-lock.el (font-lock-fontify-region)
13377 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13378 (font-lock-default-unfontify-buffer)
13379 (font-lock-default-fontify-region)
13380 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13381
13382 * progmodes/compile.el (compilation-error-properties):
13383 Fix confusion between file struct and message struct (Bug#9319).
13384 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13385 `ant' regexp.
13386
13387 * net/browse-url.el (browse-url-firefox): Don't call
13388 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13389
13390 2011-08-20 Glenn Morris <rgm@gnu.org>
13391
13392 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13393
13394 * tutorial.el (tutorial--default-keys): Update some default bindings.
13395
13396 * files.el (hack-local-variables): Fully ignore case for "mode:".
13397
13398 2011-08-20 Alan Mackenzie <acm@muc.de>
13399
13400 Resolve invalid use of a regexp in regexp-opt.
13401
13402 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13403 detection for a java annotation.
13404
13405 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13406 detection for a java annotation.
13407
13408 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13409 handling for java.
13410 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13411
13412 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13413
13414 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13415 (Bug#9274).
13416
13417 2011-08-20 Alan Mackenzie <acm@muc.de>
13418
13419 Fontify CPP expressions correctly when starting in the middle of
13420 such a construct. Mainly for when jit-lock etc. starts a chunk
13421 here.
13422
13423 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13424 variable.
13425 (c-make-font-lock-search-form): New function, extracted from
13426 c-make-font-lock-search-function.
13427 (c-make-font-lock-search-function): Use the above function.
13428 (c-make-font-lock-context-search-function): New function.
13429 (c-cpp-matchers): Enhance the preprocessor expression case with
13430 the above function
13431 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13432 which takes an expression.
13433
13434 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13435
13436 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13437
13438 * window.el (display-buffer-reuse-window)
13439 (display-buffer-pop-up-window): Don't reuse or split a side
13440 window.
13441
13442 2011-08-19 Glenn Morris <rgm@gnu.org>
13443
13444 * files.el (hack-local-variables-prop-line, hack-local-variables):
13445 Downcase "Mode:". (Bug#9331)
13446
13447 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13448
13449 * international/characters.el: Add L and R categories.
13450
13451 * subr.el (bidi-string-mark-left-to-right): Rename from
13452 string-mark-left-to-right. Use category search.
13453
13454 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13455
13456 2011-08-18 Juri Linkov <juri@jurta.org>
13457
13458 * faces.el (error, warning, success): New faces with definitions
13459 copied from old default values of `font-lock-warning-face',
13460 `compilation-warning', `compilation-info' (bug#6117).
13461
13462 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13463
13464 * progmodes/compile.el (compilation-error): Inherit from `error'.
13465 (compilation-warning): Inherit from `warning'.
13466 (compilation-info): Inherit from `success'.
13467
13468 * dired.el (dired-marked): Inherit from `warning'.
13469 (dired-flagged): Inherit from `error'.
13470
13471 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13472
13473 * mail/smtpmail.el (auth-source): Require to avoid problems with
13474 binding variables (bug#9298). Also clean up some unused
13475 autoloads.
13476
13477 * net/network-stream.el (network-stream-open-starttls):
13478 Support using starttls.el without using gnutls-cli.
13479
13480 2011-08-17 Juri Linkov <juri@jurta.org>
13481
13482 * progmodes/grep.el (rgrep): Handle the case when
13483 `grep-find-command' is a cons cell (bug#9278).
13484
13485 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13486
13487 * window.el (display-buffer-pop-up-frame): Run frame creation
13488 function with BUFFER current (as special-display-popup-frame
13489 does). Reported by Drew Adams.
13490
13491 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13492
13493 * epa-mail.el: Simplify GnuPG group expansion using
13494 epg-expand-group.
13495 (epa-mail-group-alist, epa-mail-group-modtime)
13496 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13497 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13498 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13499 Remove.
13500
13501 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13502
13503 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13504
13505 2011-08-16 Alan Mackenzie <acm@muc.de>
13506
13507 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13508 Correct, to avoid the inside of macros.
13509
13510 2011-08-16 Richard Stallman <rms@gnu.org>
13511
13512 * epa-mail.el: Handle GnuPG group definitions.
13513 (epa-mail-group-alist, epa-mail-group-modtime)
13514 (epa-mail-gnupg-conf-file): New variables.
13515 (epa-mail-parse-groups, epa-mail-sync-groups)
13516 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13517 (epa-mail-expand-recipients): New functions.
13518 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13519
13520 * mail/rmail.el (rmail-epa-decrypt): New command.
13521
13522 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13523 Don't bind buffer-read-only, just inhibit-read-only.
13524 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13525 (epa-decrypt-armor-in-region): Make error message clearer.
13526
13527 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13528
13529 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13530 and "a2b" to "ab" for `prefix'.
13531
13532 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13533
13534 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13535 filter groups.
13536 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13537 Fourquet (Bug#8804).
13538
13539 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13540
13541 * startup.el (argi): Declare as global variable (bug#9275).
13542
13543 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13544
13545 * subr.el (string-mark-left-to-right): Search the entire string
13546 for RTL script, not just the terminating character. Doc fix.
13547
13548 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13551 New function.
13552 (js--regexp-literal, js-syntax-propertize-function): Remove.
13553 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13554 (js-mode-map): Don't rebind electric keys.
13555 (js-insert-and-indent): Remove.
13556 (js-mode): Setup electric-layout and electric-indent instead.
13557
13558 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13559
13560 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13561
13562 * epa.el (epa-progress-callback-function): Fix the logic of
13563 displaying progress.
13564 * epa-file.el (epa-file-insert-file-contents): Make progress
13565 display more user-friendly.
13566 (epa-file-write-region): Ditto.
13567
13568 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13569
13570 * subr.el (string-mark-left-to-right): New function.
13571
13572 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13573 Use string-mark-left-to-right.
13574 (list-buffers-noselect): Caller changed.
13575
13576 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13577 Use string-mark-left-to-right.
13578 (tabulated-list-print): Recenter after moving point.
13579
13580 2011-08-10 Juri Linkov <juri@jurta.org>
13581
13582 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13583 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13584 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13585
13586 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13587
13588 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13589 (Bug#7554).
13590
13591 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13592
13593 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13594 character. (Bug#6594)
13595
13596 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13597
13598 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13599 (image-dired--with-db-file): New macro.
13600 (image-dired-write-tags, image-dired-remove-tag)
13601 (image-dired-create-gallery-lists, image-dired-write-comments)
13602 (image-dired-get-comment, image-dired-mark-tagged-files)
13603 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13604 (image-dired-gallery-generate): Use insert-file-contents.
13605
13606 * time.el (display-time-world-list, display-time-world-display):
13607 * time-stamp.el (time-stamp-string):
13608 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13609 set-time-zone-rule (Bug#7337).
13610
13611 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13612
13613 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13614 (epg-error-to-string, epg-errors-to-string): New function.
13615 (epg-wait-for-completion): Reverse errors list.
13616 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13617 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13618 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13619 (epg-sign-keys, epg-generate-key-from-file)
13620 (epg-generate-key-from-string): Format errors by using
13621 epg-errors-to-string (bug#9255).
13622 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13623
13624 2011-08-07 Juri Linkov <juri@jurta.org>
13625
13626 * faces.el (list-faces-display): Remove extra angle bracket
13627 from `help-mode-map'.
13628
13629 * info.el (Info-history-toc-nodes): Doc fix.
13630
13631 * longlines.el (longlines-mode): Doc fix.
13632
13633 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13634
13635 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13636 of statements and in a few more cases (bug#9183).
13637
13638 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13639 New functions.
13640 (cl-transform-lambda): Use them (bug#9239).
13641
13642 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13643
13644 * window.el (display-buffer-same-window)
13645 (display-buffer-same-frame, display-buffer-other-window)
13646 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13647 (pop-to-buffer-other-window)
13648 (pop-to-buffer-same-frame-other-window)
13649 (pop-to-buffer-other-frame): Make them defuns.
13650 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13651
13652 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * subr.el (make-composed-keymap): Move from C. Change calling
13655 convention, and improve docstring to bring attention to a subtle point.
13656 * minibuffer.el (completing-read-default): Adjust accordingly.
13657
13658 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13659
13660 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13661 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13662
13663 * net/trampver.el: Update release number.
13664
13665 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13666
13667 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13668 "in" (bug#9190).
13669
13670 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13671
13672 * mail/sendmail.el (sendmail-query-once): Restore the current
13673 buffer after querying (bug#9074).
13674
13675 * dired.el (dired-flagged): Use different faces for marked and
13676 flagged files (bug#6117).
13677
13678 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13679 (bug#4433).
13680
13681 * ido.el (ido-mode): Switch off the message if called
13682 non-interactively.
13683
13684 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13685 before 587, since it appears that that's more likely to work for
13686 more people.
13687
13688 * cus-edit.el (custom-file): When running under emacs -q, always
13689 refuse to save the customizations, even if the .emacs file doesn't
13690 exist.
13691
13692 * info.el: Remove the `Info-beginning-of-buffer' function
13693 (bug#8325).
13694
13695 * net/network-stream.el (network-stream-open-starttls):
13696 Use `starttls-available-p' to see whether starttls.el can be used.
13697
13698 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13699
13700 * window.el (display-buffer-in-window): Don't set dedicated status
13701 of window here (Bug#9215).
13702 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13703 (display-buffer-pop-up-side-window)
13704 (display-buffer-in-side-window): Set dedicated status of window here.
13705
13706 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13707
13708 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13709 before binding generated-autoload-file.
13710
13711 2011-08-01 Deniz Dogan <deniz@dogan.se>
13712
13713 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13714
13715 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13716
13717 Sync with Tramp 2.2.2.
13718
13719 * net/trampver.el: Update release number.
13720
13721 2011-07-30 Juri Linkov <juri@jurta.org>
13722
13723 * dired-aux.el (dired-touch-initial): Remove function.
13724 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13725 current time, and `default' to the last modification time of the
13726 current marked file (bug#6887).
13727
13728 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13729
13730 * simple.el (goto-line): Use string-to-number to provide a
13731 numeric argument to read-number (bug#9163).
13732
13733 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13734
13735 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13736 connection process, it could be nil.
13737
13738 2011-07-27 Leo Liu <sdl.web@gmail.com>
13739
13740 Simplify url handling in rcirc-mode.
13741
13742 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13743 (rcirc-browse-url-at-mouse): Remove.
13744 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13745
13746 2011-07-26 Alan Mackenzie <acm@muc.de>
13747
13748 Fontify bitfield declarations properly.
13749
13750 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13751 (c-symbol-chars): Now exported as a lang variable.
13752 (c-not-primitive-type-keywords): New lang variable.
13753
13754 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13755 QT keyword "more" to prevent "more slots: ...." being spuriously
13756 parsed as a bitfield declaration.
13757
13758 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13759 Refactor and enhance to handle bitfield declarations.
13760 (c-punctuation-in): New function.
13761 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13762 declarations properly.
13763
13764 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13765
13766 * calendar/icalendar.el (icalendar--all-events): Take care of
13767 multiple vcalendars in a single file.
13768 (icalendar--convert-float-to-ical): Checkdoc fixes.
13769
13770 2011-07-25 Deniz Dogan <deniz@dogan.se>
13771
13772 * image.el (insert-image): Clarifying docstring.
13773
13774 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13775
13776 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13777 `tramp-send-command-and-check' if there is no error.
13778 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13779
13780 2011-07-22 Alan Mackenzie <acm@muc.de>
13781
13782 Prevent cc-langs.elc being loaded at run time.
13783
13784 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13785 cc-langs.
13786
13787 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13788 "(require 'cc-langs)". Quote a form so it will evaluate at
13789 (cc-mode's) compilation time.
13790
13791 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13794 loading. (Bug#9114)
13795
13796 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13797
13798 * window.el (display-buffer-pop-up-window)
13799 (display-buffer-pop-up-side-window)
13800 (display-buffer-in-side-window): Call display-buffer-set-height
13801 and display-buffer-set-width after setting the new window's
13802 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13803
13804 2011-07-20 Sam Steingold <sds@gnu.org>
13805
13806 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13807 (etags-tags-included-tables): Call `convert-standard-filename' on
13808 the file names contained in TAGS so that windows Emacs can handle
13809 TAGS files created by cygwin ctags.
13810
13811 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13812
13813 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13814 which apparently didn't work.
13815
13816 2011-07-19 Roland Winkler <winkler@gnu.org>
13817
13818 * proced.el (proced-send-signal): For *Marked Processes* buffer
13819 put point at beginning of buffer.
13820
13821 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13822
13823 * proced.el (proced-format): Make header lines align with the text
13824 (bug#1779).
13825
13826 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13827
13828 * view.el (view-buffer): Allow running in `special' modes if we're
13829 visiting a file (bug#8615).
13830
13831 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13832
13833 * window.el (display-buffer-alist-of-strings-p)
13834 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13835 New functions.
13836 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13837 more accurately.
13838
13839 2011-07-18 Alan Mackenzie <acm@muc.de>
13840
13841 Fontify declarators properly when, e.g., a jit-lock chunk begins
13842 inside a declaration.
13843
13844 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13845
13846 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13847 New function.
13848 (c-complex-decl-matchers): Insert reference to
13849 c-font-lock-enclosing-decls.
13850
13851 * progmodes/cc-engine.el (c-backward-single-comment):
13852 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13853 to nil around calls to (forward-comment -1).
13854
13855 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13856
13857 * image.el (put-image): Doc typo fix.
13858
13859 * progmodes/etags.el (tags-search): Doc typo fix.
13860
13861 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13862 password if we get errors 550 to 554.
13863
13864 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13865
13866 * net/gnutls.el (gnutls-log-level): Remove.
13867
13868 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13869 indentation character (bug#6380).
13870
13871 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13872
13873 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13874 to clarify what the problem is (bug#4291).
13875
13876 * simple.el (current-kill): Clarify what
13877 `interprogram-paste-function' does (bug#7500).
13878 (auto-fill-mode): Document `auto-fill-function' in relation to
13879 `auto-fill-mode' (bug#2470).
13880
13881 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13882
13883 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13884 method if slot is read-only (bug#9035).
13885
13886 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13887
13888 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13889 * window.el (pop-to-buffer): Select window used even if it was
13890 selected before, see discussion of (Bug#8615), (Bug#6954).
13891 Pass argument NORECORD on to select-frame-set-input-focus.
13892
13893 2011-07-15 Glenn Morris <rgm@gnu.org>
13894
13895 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13896 Respect help-form.
13897
13898 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13899
13900 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13901 (gnutls-negotiate): Use it.
13902
13903 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13904
13905 * net/gnutls.el (gnutls-negotiate):
13906 Upcase `gnutls-algorithm-priority'.
13907
13908 2011-07-15 Glenn Morris <rgm@gnu.org>
13909
13910 * jka-compr.el (jka-compr-verbose): Move from here...
13911 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13912 Add missing :version tag.
13913 * info.el: No need to require jka-compr when compiling.
13914
13915 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13916
13917 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13918 (gnutls-negotiate): Use it.
13919
13920 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13921
13922 * info.el (Info-beginning-of-buffer): New command.
13923 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13924 announcing `b' as the key (bug#8325).
13925 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13926
13927 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13928
13929 * international/mule-cmds.el
13930 (describe-specified-language-support): Make the error message
13931 clearer (bug#8905).
13932
13933 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13934
13935 * isearch.el (isearch-barrier): Add a doc string, since it's
13936 mentioned in a function doc string (bug#8678).
13937
13938 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13939
13940 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13941 buffer argument (Bug#9083) and self-identifying label argument.
13942
13943 2011-07-15 Glenn Morris <rgm@gnu.org>
13944
13945 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13946
13947 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13948
13949 * man.el (Man-fontify-manpage): Fix message when formatting the
13950 man page (bug#7929).
13951
13952 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13953
13954 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13955 argument LRM; if non-nil, append an invisible LRM character to the
13956 buffer name.
13957 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13958 last argument non-nil, when formatting buffer names.
13959 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13960 paragraph direction.
13961
13962 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13963
13964 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13965 the man page name (bug#7929).
13966
13967 * image.el (put-image): Mention the `put-image' overlay property
13968 (bug#7834).
13969
13970 * scroll-bar.el (set-scroll-bar-mode): Mention that
13971 `scroll-bar-mode' lists the values (bug#7772).
13972
13973 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13974 command (bug#7729).
13975
13976 * rect.el (apply-on-rectangle): Return the point after the last
13977 operation.
13978 (string-rectangle): Go to the point after the last operation
13979 (bug#7522).
13980
13981 * printing.el (pr-toggle-region): Clarify the documentation
13982 slightly (bug#7493).
13983
13984 * time.el (display-time-update):
13985 Allow `display-time-mail-function' to return nil (bug#7158).
13986 Fix suggested by Detlev Zundel.
13987
13988 * vc/diff.el (diff): Clarify the order the file names are read
13989 (bug#7111).
13990
13991 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13992 the doc string (bug#7015).
13993
13994 * font-lock.el (font-lock-maximum-decoration): Mention what
13995 numeric levels mean (bug#6935).
13996
13997 * startup.el (initial-buffer-choice): Don't mention the `none'
13998 selection, which is against policy.
13999
14000 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14001
14002 * window.el (display-buffer-normalize-special):
14003 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14004
14005 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14006
14007 * subr.el (version<, version<=, version=): Mention "-CVS" and
14008 "-12345" alpha version numbers.
14009
14010 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * bindings.el: Add advertised binding for set-mark-command
14013 (Bug#5772).
14014
14015 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14016
14017 * bindings.el (mode-line-other-buffer):
14018 * bookmark.el (bookmark-bmenu-2-window):
14019 * bs.el (bs-cycle-next, bs-cycle-previous):
14020 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14021 switch-to-buffer.
14022
14023 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14024 Delete.
14025
14026 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14027
14028 * follow.el (follow-debug-message, follow-redisplay):
14029 * jka-cmpr-hook.el (with-auto-compression-mode):
14030 Fix typos in docstrings.
14031
14032 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14033
14034 * subr.el (with-silent-modifications): Clarify somewhat what the
14035 macro inhibits (bug#6525).
14036
14037 * simple.el (eval-expression): Note what it does if called
14038 interactively (bug#6495).
14039
14040 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14041
14042 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14043 Use pop-to-buffer buffer-or-name if it is nil.
14044
14045 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14046 Remove switch-to-buffer.
14047
14048 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14049
14050 * files.el (make-directory): Clarify that an error will be raised
14051 if there's an error (bug#6397).
14052
14053 * startup.el (initial-buffer-choice): Add `none' as a choice
14054 (bug#6234).
14055
14056 * subr.el (add-hook): Clarify section about buffer-local hooks
14057 (bug#6218).
14058
14059 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14060
14061 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * tabify.el (untabify): Preserve the current column so that point
14064 doesn't move (bug#6032).
14065
14066 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14067
14068 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14069 Rewrite to avoid awkward possessive "s" (bug#5986).
14070
14071 2011-07-13 Glenn Morris <rgm@gnu.org>
14072
14073 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14074 (dired-insert-directory): Give a message the first time
14075 if ls is found not to support --dired.
14076
14077 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14078
14079 * simple.el (toggle-truncate-lines): Clarify what is toggled
14080 (bug#5580). Text by Drew Adams.
14081
14082 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14083
14084 * simple.el (blink-matching-open): Make the error message from the
14085 last change less verbose.
14086
14087 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14088
14089 * font-lock.el (font-lock-comment-face): Use the high contrast
14090 "yellow" color for font-lock-comment-face on low color terminals
14091 using a dark background color (bug#4221).
14092
14093 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14094
14095 * dired.el (dired-insert-set-properties): Make the doc string
14096 reflect what it does now (bug#5325).
14097
14098 * simple.el (blink-matching-open): Say that we were unable to find
14099 the match within the limit, if we're limited (bug#5122).
14100
14101 * international/mule-cmds.el (prefer-coding-system): Add an
14102 example (bug#4869).
14103
14104 * progmodes/etags.el (tags-search): Document `file-list-form'
14105 (bug#4731).
14106
14107 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14108
14109 * net/browse-url.el (browse-url-default-browser)
14110 (browse-url-browser-function): Make the default browser choice a
14111 bit more logical (bug#4300). Also clean up the doc string.
14112
14113 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14114
14115 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14116 binary endings (bug#4440).
14117
14118 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14119
14120 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14121 which can be pretty annoying (bug#8971).
14122
14123 * jka-compr.el (jka-compr-verbose): New variable, and use
14124 throughout (bug#8971).
14125
14126 * info.el (Info-find-file): Fall back on the installation
14127 directory if we can't find the info node anywhere else.
14128
14129 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14130
14131 * vc/vc.el (vc-revert-file):
14132 Don't set file time-stamp in the past. (Bug#5181)
14133
14134 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14135
14136 * files.el (after-find-file): Give a better error message when
14137 trying to find a symlink that points to a file that doesn't exist
14138 (bug#4398).
14139
14140 * progmodes/cc-vars.el: Remove (probably) misleading comment
14141 (bug#4396).
14142
14143 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14144
14145 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14146
14147 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * mouse-sel.el: Hack restoring functionality, while keeping
14150 compatibility with 2010-07-03 changes to mouse selection.
14151 (mouse-sel-primary-overlay): New var.
14152 (mouse-sel-selection-alist): Use it.
14153 (mouse-sel-mode): Doc fix; remove points that are default features
14154 of mouse.el.
14155
14156 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14157
14158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14159 Fix previous fix (bug#2490).
14160
14161 2011-07-12 Roland Winkler <winkler@gnu.org>
14162
14163 * textmodes/bibtex.el (bibtex-initialize):
14164 Use pop-to-buffer-same-window.
14165 (bibtex-search-entries): Fix interactive call.
14166
14167 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14168
14169 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14170 Fontise bytecomp Error lines more correctly (bug#2490).
14171 Fix suggested by Johan Bockgård.
14172
14173 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14174
14175 * dired-x.el (dired-guess-default): Use `delete-dups'.
14176
14177 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14178
14179 * dired.el (dired-mark-prompt):
14180 * dired-aux.el (dired-read-shell-command): Doc fix.
14181
14182 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14183
14184 * mail/sendmail.el (sendmail-query-once):
14185 Use `customize-save-variable' unconditionally, now that it works under
14186 emacs -Q.
14187
14188 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14189
14190 * cus-edit.el (custom-file): Take an optional no-error variable.
14191 (customize-save-variable): Set the variable, and give a warning if
14192 running under "emacs -q".
14193
14194 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14195
14196 * loadhist.el (unload-feature-special-hooks):
14197 Add `auto-coding-functions', `fill-nobreak-predicate' and
14198 `find-directory-functions' (bug#5327).
14199
14200 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14201
14202 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14203
14204 * cus-edit.el (custom-guess-name-alist): -alist variables should
14205 use the `alist' type (bug#3120). Suggested by Drew Adams.
14206
14207 * printing.el: Add documentation to all the `pr-toggle-' commands.
14208
14209 2011-07-11 Leo Liu <sdl.web@gmail.com>
14210
14211 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14212 backends where it makes sense (bug#2623).
14213
14214 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14215
14216 * dired-x.el (dired-guess-default): Remove duplicate shell command
14217 entries (bug#2028).
14218 (dired-guess-default): Fix grammar in doc string (bug#2028).
14219 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14220
14221 * subr.el (remove-duplicates): New conveniency function.
14222
14223 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14224
14225 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14226 (bug#1526).
14227
14228 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14229
14230 * window.el (display-buffer-normalize-default): Don't invert
14231 meaning of even-window-heights. Reported by Eli Zaretskii
14232 <eliz@gnu.org>.
14233
14234 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14235
14236 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14237
14238 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * window.el (display-buffer): Fix arguments to
14241 display-buffer-reuse-window in last change.
14242
14243 * faces.el (link): Use a less saturated blue on light backgrounds.
14244
14245 * startup.el (fancy-startup-text, fancy-about-text)
14246 (fancy-startup-tail): Use font-lock faces, for background safety.
14247
14248 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14249
14250 * emulation/viper-cmd.el (viper-change-state-to-vi):
14251 Limit triggering of abbrev expansion (Bug#9038).
14252
14253 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14254
14255 * window.el (display-buffer-default-specifiers): Remove.
14256 (display-buffer-macro-specifiers): Remove default specifiers.
14257 (display-buffer-alist): Default to nil.
14258 (display-buffer-reuse-window): New optional argument other-window.
14259 (display-buffer-pop-up-window): Allow splitting internal
14260 windows. Check whether a live window was created.
14261 (display-buffer-other-window-means-other-frame)
14262 (display-buffer-normalize-arguments): Rename to
14263 display-buffer-normalize-argument and rewrite. Set the
14264 other-window specifier.
14265 (display-buffer-normalize-special): New function.
14266 (display-buffer-normalize-options): Rename to
14267 display-buffer-normalize-default and rewrite.
14268 (display-buffer-normalize-options-inhibit): Remove.
14269 (display-buffer-normalize-specifiers): Rewrite.
14270 (display-buffer): Process other-window specifier and call
14271 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14272 more faithfully.
14273 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14274 (display-buffer-alist-set): Don't handle 'unset default values.
14275 (display-buffer-in-window, display-buffer-alist-set):
14276 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14277 <tassilo@member.fsf.org>.
14278
14279 2011-07-09 Leo Liu <sdl.web@gmail.com>
14280
14281 * register.el (insert-register): Restore accidental change on
14282 2011-06-26. (Bug#9028)
14283
14284 2011-07-09 Glenn Morris <rgm@gnu.org>
14285
14286 * subr.el (remq): Handle the empty list. (Bug#9024)
14287
14288 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14289
14290 * mail/sendmail.el (send-mail-function): No longer delay custom
14291 initialization.
14292 * custom.el (custom-initialize-delay): Doc fix.
14293
14294 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14297
14298 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14299
14300 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14301 human-friendly prompt.
14302
14303 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14306 provided by a particular plugin.
14307
14308 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14309
14310 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14311 save customizations (with "emacs -Q"), just set the variable
14312 instead of erroring out.
14313
14314 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14315
14316 2011-07-08 Juri Linkov <juri@jurta.org>
14317
14318 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14319 (archive-zip-update-case): Use 7z if found by `executable-find'.
14320 The order of searching the available programs is the same as in
14321 `archive-zip-extract' (bug#8968).
14322
14323 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14326 (menu-bar-options-menu): Tweak descriptions.
14327
14328 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14329
14330 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14331 menu items into verb phrases (bug#1421). Also refill to fit under
14332 80 columns.
14333
14334 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14335
14336 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14337 (Info-read-node-name): Doc fix (Bug#1084).
14338
14339 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14340 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14341 (end-of-sexp, beginning-of-sexp)
14342 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14343 (forward-symbol, forward-same-syntax, word-at-point)
14344 (sentence-at-point): Doc fix (Bug#1144).
14345
14346 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14347
14348 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14349 should cover it (bug#1281).
14350
14351 * cus-edit.el (custom-show): Mark as obsolete.
14352
14353 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14354 negotiation fails, then possibly try again with a non-encrypted
14355 connection (bug#9017).
14356
14357 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14358 be used.
14359
14360 2011-07-07 Richard Stallman <rms@gnu.org>
14361
14362 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14363 property, and handle its changed format.
14364 Look for the correct line number.
14365 Use file's line contents (but not past first =) to find
14366 correct line in message.
14367
14368 2011-07-07 Kenichi Handa <handa@m17n.org>
14369
14370 * international/characters.el (build-unicode-category-table):
14371 Delete it.
14372 (unicode-category-table): Set it by unicode-property-table-internal.
14373
14374 * international/mule-cmds.el (char-code-property-alist): Move to
14375 to src/chartab.c.
14376 (get-char-code-property): Call unicode-property-table-internal to
14377 load a file. Call get-unicode-property-internal where necessary.
14378 (put-char-code-property): Call unicode-property-table-internal to
14379 load a file. Call put-unicode-property-internal where necessary.
14380 put-unicode-property-internal where necessary.
14381 (char-code-property-description):
14382 Call unicode-property-table-internal to load a file.
14383
14384 * international/charprop.el:
14385 * international/uni-bidi.el:
14386 * international/uni-category.el:
14387 * international/uni-combining.el:
14388 * international/uni-comment.el:
14389 * international/uni-decimal.el:
14390 * international/uni-decomposition.el:
14391 * international/uni-digit.el:
14392 * international/uni-lowercase.el:
14393 * international/uni-mirrored.el:
14394 * international/uni-name.el:
14395 * international/uni-numeric.el:
14396 * international/uni-old-name.el:
14397 * international/uni-titlecase.el:
14398 * international/uni-uppercase.el: Regenerate.
14399
14400 * loadup.el: Load international/charprop.el before
14401 international/characters.
14402
14403 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14404
14405 * window.el (next-buffer, previous-buffer): Signal an error if
14406 called from a minibuffer window.
14407
14408 * bindings.el: Revert 2011-07-04 change.
14409
14410 2011-07-06 Richard Stallman <rms@gnu.org>
14411
14412 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14413 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14414 Treat markers like ints.
14415 (rmail-mime-entity): Doc fix.
14416
14417 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14418
14419 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14420 defcustom again for backwards compatibility.
14421
14422 * simple.el (shell-command-on-region): Fill.
14423
14424 * dired-aux.el (dired-kill-line): Add a doc string.
14425
14426 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14427 to "\\sw\\|\\s_" (bug#358).
14428
14429 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14430 (dired-unmark-backward): Ditto.
14431 (dired-flag-backup-files): Ditto.
14432
14433 * dired-x.el (dired-mark-sexp): Ditto.
14434
14435 2011-07-06 Richard Stallman <rms@gnu.org>
14436
14437 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14438 (rmail-mime-entity): New arg TRUNCATED.
14439 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14440 New functions.
14441 (rmail-mime-save): Warn if entity is truncated.
14442 (rmail-mime-toggle-hidden): Likewise, for showing.
14443 (rmail-mime-process-multipart): Record when an entity is truncated.
14444
14445 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14446 if ENTITY is a string.
14447
14448 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14449
14450 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14451 of faces when `M-C-x'-ing their definitions (bug#8378).
14452 Also clean up the code slightly.
14453
14454 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14455 because that makes the colors go away.
14456
14457 * mail/sendmail.el (send-mail-function): Change the default to
14458 `sendmail-query-once'.
14459 (sendmail-query-once): Add an autoload cookie.
14460
14461 * net/network-stream.el (network-stream-open-starttls): Try using
14462 a plain connection even if the server offered STARTTLS, and we
14463 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14464 capability. This should make smtpmail.el work in slightly more
14465 configurations.
14466
14467 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14468
14469 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14470 New defun.
14471 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14472
14473 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14474
14475 * progmodes/sql.el: Version 3.0
14476 (sql-product-alist): Add product :completion-object,
14477 :completion-column, and :statement attributes.
14478 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14479 (sql-mode-syntax-table): Mark all punctuation.
14480 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14481 ansi keywords.
14482 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14483 (sql-mode-oracle-font-lock-keywords): Improve.
14484 (sql-oracle-show-reserved-words): New function for development.
14485 (sql-product-font-lock): Simplify for source code buffers.
14486 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14487 New functions.
14488 (sql-highlight-product): Set product specific syntax table.
14489 (sql-mode-map): Add statement movement functions.
14490 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14491 New variable.
14492 (sql-statement-regexp, sql-beginning-of-statement)
14493 (sql-end-of-statement, sql-signum): New functions.
14494 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14495 (sql-show-sqli-buffer): Bug fix.
14496 (sql-interactive-mode): Store connection data as buffer local.
14497 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14498 with sql-interactive-mode.
14499 (sql-save-connection): Save buffer local settings.
14500 (sql-connection-menu-filter): Change menu entry name.
14501 (sql-product-interactive): Bug fix.
14502 (sql-preoutput-hold): New variable.
14503 (sql-interactive-remove-continuation-prompt): Bug fixes.
14504 (sql-debug-redirect): New variable.
14505 (sql-str-literal): New function.
14506 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14507 Redesign.
14508 (sql-oracle-save-settings, sql-oracle-restore-settings)
14509 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14510 (sql-completion-object, sql-completion-column)
14511 (sql-completion-sqlbuf): New variables.
14512 (sql-build-completions-1, sql-build-completions)
14513 (sql-try-completion): New functions.
14514 (sql-read-table-name): Use them.
14515 (sql-contains-names): New buffer local variable.
14516 (sql-list-all, sql-list-table): Use it.
14517 (sql-oracle-completion-types): New variable.
14518 (sql-oracle-completion-object, sql-sqlite-completion-object)
14519 (sql-postgres-completion-object): New functions.
14520
14521 2011-07-06 Glenn Morris <rgm@gnu.org>
14522
14523 * window.el (pop-to-buffer): Doc fix.
14524
14525 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14526
14527 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14528
14529 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14532
14533 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14534
14535 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14536
14537 * button.el (button): Inherit from link face. Suggested by Dan
14538 Nicolaescu.
14539
14540 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * progmodes/gdb-mi.el: Fit in 80 columns.
14543 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14544 switch-to-buffer.
14545
14546 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14547 if imenu is simply not configured (bug#8941).
14548
14549 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14550
14551 * allout.el (allout-post-undo-hook): New allout outline-change
14552 event hook to signal undo activity.
14553 (allout-post-command-business): Run allout-post-undo-hook if an
14554 undo just occurred.
14555 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14556 * allout-widgets.el (allout-widgets-after-undo-function):
14557 Ensure the integrity of the current item's decoration after it has been
14558 in the vicinity of an undo.
14559 (allout-widgets-mode): Include allout-widgets-after-undo-function
14560 on the new allout-post-undo-hook.
14561
14562 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14565 Let define-derived-mode define it.
14566 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14567 cycles of abbrev-table inheritance (bug#8998).
14568
14569 2011-07-05 Roland Winkler <winkler@gnu.org>
14570
14571 * textmodes/bibtex.el: Add support for biblatex.
14572 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14573 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14574 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14575 (bibtex-entry-alist, bibtex-field-alist): New variables.
14576 (bibtex-entry-field-alist): Obsolete alias for
14577 bibtex-BibTeX-entry-alist.
14578 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14579 (bibtex-set-dialect): New command.
14580 (bibtex-entry-type, bibtex-entry-head)
14581 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14582 Bind via bibtex-set-dialect.
14583 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14584 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14585 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14586 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14587 Define via bibtex-set-dialect.
14588 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14589 Obey bibtex-no-opt-remove-re.
14590 (bibtex-vec-push, bibtex-vec-incr): New functions.
14591 (bibtex-format-entry, bibtex-field-list)
14592 (bibtex-print-help-message, bibtex-validate)
14593 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14594
14595 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * progmodes/compile.el (compilation-goto-locus):
14598 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14599 * bs.el (bs-cycle-next, bs-cycle-previous):
14600 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14601 * bindings.el (mode-line-other-buffer):
14602 * autoinsert.el (auto-insert):
14603 * arc-mode.el (archive-extract):
14604 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14605
14606 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14607
14608 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14609 Fix check of `emacs-lock-unlockable-modes'.
14610 Coerce true values of `emacs-lock--try-unlocking' to t.
14611
14612 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14613
14614 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14615 * emacs-lock.el: New file.
14616
14617 2011-07-05 Julien Danjou <julien@danjou.info>
14618
14619 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14620 than `boundp' to check if face is set.
14621
14622 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14623
14624 * register.el (registerv-make):
14625 * window.el (window-min-height): Fix typos in docstrings.
14626
14627 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14628
14629 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14630 Update doc string.
14631
14632 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14633
14634 * server.el (server-execute): Catch quit and call
14635 `server-return-error' to pass the error back to emacsclient and
14636 close the connection (bug#8942).
14637
14638 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14639
14640 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14641 insecure exception for current topic. Also note that auto-saves
14642 are handled differently.
14643
14644 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14645 State variables for tracking auto-save inhibition situation.
14646
14647 (allout-write-contents-hook-handler): Rename from
14648 'allout-write-file-hook-handler', and describe how it depends on
14649 write-contents-functions sensitivity to non-nil value to prevent
14650 file write.
14651
14652 (allout-auto-save-hook-handler): Remove. auto-save does not check
14653 this in individual buffers, only in the starting buffer, so this
14654 is not the right way for us to inhibit auto-save in a buffer
14655 according to its condition.
14656
14657 (allout-mode): Use new allout-write-contents-hook-handler, and
14658 only with write-contents-functions. Remove auto-save provisions -
14659 they're implemented elsewhere.
14660
14661 (allout-before-change-handler): If undo is in progress, note that
14662 for attention of allout-post-command-business.
14663
14664 (allout-post-command-business): If the command we're following was
14665 an undo, check for change in the status of encrypted items and
14666 adjust auto-save inhibitions accordingly.
14667
14668 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14669 according to whether there are or aren't any plain-text topics
14670 pending encryption.
14671
14672 (allout-inhibit-auto-save-info-for-decryption):
14673 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14674 if there are plain-text topics pending encryption.
14675
14676 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14677 buffer-saved-size and some allout state to not inhibit auto-saves
14678 if there are no longer any plain-text topics pending encryption.
14679
14680 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14681 No longer provide for exemption of the current topic.
14682
14683 2011-07-04 Juri Linkov <juri@jurta.org>
14684
14685 Add 7z operations to delete and save changed members (bug#8968).
14686 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14687 New defcustoms.
14688 (archive-7z-write-file-member): New function.
14689 (archive-7z-summarize): Fix the number of dashes in the
14690 listing output.
14691
14692 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14695 (bug#8958).
14696
14697 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14698
14699 * bindings.el: Ignore next-buffer and previous-buffer in
14700 minibuffer-local-map.
14701
14702 * font-lock.el (font-lock-builtin-face): Change light background
14703 color to dark slate blue (Bug#6693).
14704
14705 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14706
14707 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14708
14709 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14710
14711 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14712 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14713 Add switch-to-buffer.
14714
14715 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14716
14717 * isearch.el (isearch-search-fun-function): Clarify further the
14718 meaning of the function returned.
14719
14720 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14721
14722 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14723
14724 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14725 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14726 Use it.
14727 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14728 `tramp-default-remote-path' does not exist.
14729 (tramp-send-command-and-read): New optional argument NOERROR.
14730 (tramp-open-connection-setup-interactive-shell)
14731 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14732 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14733 (tramp-process-sentinel): Flush also process' connection property.
14734 (tramp-sh-handle-start-file-process): Do not set process
14735 sentinel. It is done now ...
14736 (tramp-maybe-open-connection): ... here. (Bug#8929)
14737
14738 2011-07-04 MON KEY <monkey@sandpframing.com>
14739
14740 * play/animate.el (animate-string): Doc fixes and allow changing
14741 the buffer name (bug#5417).
14742
14743 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14744
14745 * play/animate.el (animation-buffer-name): Rename from *animate*.
14746
14747 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14748
14749 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14750 This is simpler and helps future-proof the code.
14751 (timer-until): Use time-subtract and float-time.
14752 (timer--time-less-p): Use time-less-p.
14753
14754 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14755
14756 * type-break.el (timep): Use the value of `float-time' to avoid a
14757 byte-compiler warning.
14758
14759 * server.el (server-eval-and-print): Return any result, even nil.
14760
14761 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14762
14763 * type-break.el: Accept time formats that the builtins accept.
14764 (timep, type-break-time-difference): Accept any format that
14765 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14766 This is simpler and helps future-proof the code.
14767 (type-break-time-difference): Round rather than ignoring
14768 subseconds components.
14769
14770 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14771
14772 * info.el (Info-apropos-matches): Make non-interactive, since it
14773 doesn't seem to do anything useful as a command (bug#8829).
14774
14775 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14776
14777 * frame.el (frame-background-mode, frame-set-background-mode):
14778 Move from faces.el.
14779 (frame-default-terminal-background): New function.
14780
14781 * custom.el (custom-push-theme): Don't record faces in `changed'
14782 theme; this doesn't work correctly for per-frame face settings.
14783 (disable-theme): Use face-set-after-frame-default to reset faces.
14784 (custom--frame-color-default): New function.
14785
14786 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14787
14788 * dired.el (dired-flagging-regexp): Remove unused variable
14789 (bug#8769).
14790
14791 2011-03-29 Kevin Ryde <user42@zip.com.au>
14792
14793 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14794 `perl-Test2' extend to match possible "fail #N" rep count
14795 (bug#8377).
14796
14797 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14798
14799 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14800 `smtpmail-via-smtp' now returns the error instead of nil.
14801
14802 * isearch.el (isearch-search-fun-function): Clarify the doc string
14803 (bug#8101).
14804
14805 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14806
14807 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14808 unnecessary spaces (bug#8987).
14809
14810 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14811
14812 * net/network-stream.el (open-network-stream): Use the
14813 :end-of-capability command thoughout.
14814
14815 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14816
14817 * net/network-stream.el (open-network-stream): Add the
14818 :end-of-capability command parameter, used by pop3.el.
14819
14820 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14821
14822 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14823
14824 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14825 for list)" (bug#6475).
14826
14827 * files.el (file-expand-wildcards): Ignore non-readable
14828 sub-directories while trying to find matches instead of signaling
14829 an error (bug#6297).
14830
14831 * man.el (Man-reference-regexp): Allow matching possible
14832 word-wrapped references (bug#6289).
14833
14834 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14835 for consistency with the other vc buffers (bug#6197).
14836 (vc-checkin): Ditto.
14837
14838 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14839
14840 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14841
14842 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14843
14844 * custom.el (defcustom): Clarify that :set is only used in the
14845 Customize user interface (bug#6089).
14846
14847 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14848 associated with a file, refuse to run instead of erroring out
14849 (bug#6084).
14850
14851 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14852 the doc string, since it appears that using `fill-column' always
14853 controls the width (bug#7845).
14854
14855 * simple.el (shell-command-on-region): Say where the error output
14856 went if `shell-command-default-error-buffer' is set (bug#6857).
14857
14858 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14859
14860 * allout.el (allout-yank-processing): Adjust cursor position for
14861 backwards-deleted space.
14862
14863 (allout-rebullet-heading): Register changes with
14864 allout-exposure-changed-hook, so the modified topic is properly
14865 decorated.
14866
14867 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14868
14869 * minibuffer.el (completion-in-region): Document PREDICATE
14870 (bug#7136).
14871
14872 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14873 of keyword/argument pairs (bug#6904).
14874
14875 * replace.el (multi-occur):
14876 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14877
14878 2011-07-02 Drew Adams <drew.adams@oracle.com>
14879
14880 * dired.el (dired-mark-if): Make the message about whether it's
14881 marking or unmarking clearer (bug#8523).
14882
14883 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14884
14885 * disp-table.el (display-table-print-array): New function.
14886 (describe-display-table): Use it to print the vectors more pretty
14887 (Bug#8859).
14888
14889 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14890
14891 * window.el (window-state-get-1): Don't assign clone numbers.
14892 Add clone-of item to list of window parameters.
14893 (window-state-put-2): Don't process clone numbers.
14894 (display-buffer-alist): Fix doc-string.
14895
14896 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * subr.el (remq): Don't allocate if it's not needed.
14899 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14900 (keymap--merge-bindings): New functions.
14901 (keymap-canonicalize): Use them to refine the canonicalization.
14902 * minibuffer.el (minibuffer-local-completion-map)
14903 (minibuffer-local-must-match-map): Move initialization from C.
14904 (minibuffer-local-filename-completion-map): Move initialization from C;
14905 don't inherit from anything here.
14906 (minibuffer-local-filename-must-match-map): Make obsolete.
14907 (completing-read-default): Use make-composed-keymap to combine
14908 minibuffer-local-filename-completion-map with either
14909 minibuffer-local-must-match-map or
14910 minibuffer-local-filename-completion-map.
14911
14912 2011-07-01 Glenn Morris <rgm@gnu.org>
14913
14914 * type-break.el (type-break-time-sum): Use dolist.
14915
14916 * textmodes/flyspell.el (flyspell-word-search-backward):
14917 Replace CL function.
14918
14919 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * mouse.el (mouse--strip-first-event): New function.
14922 (function-key-map): Use it to map fringe clicks to normal clicks
14923 by default.
14924
14925 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14926 (vc-bzr-revision-completion-table): Add support for annotate and date.
14927
14928 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14929 inherit from parent.
14930
14931 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14932
14933 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14934 (dired-show-file-type): Doc fixup (bug#8818).
14935
14936 * dired.el (dired-mode): Fix up the doc string as suggested by
14937 Drew Adams (bug#8817).
14938
14939 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14940 cookie, since the manual says that it should be possible to add
14941 this function to `find-file-hook' (bug#8709).
14942
14943 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14944
14945 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14946 here. Noted Ted Zlatanov as the maintainer.
14947 (cfengine-common-settings, cfengine-common-syntax): New functions
14948 to set up common things between `cfengine-mode' and
14949 `cfengine3-mode'.
14950 (cfengine3-mode): New mode.
14951 (cfengine3-defuns cfengine3-defuns-regex
14952 (cfengine3-class-selector-regex cfengine3-category-regex)
14953 (cfengine3-vartypes cfengine3-font-lock-keywords)
14954 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14955 (cfengine3-indent-line): Add from cfengine3.el.
14956
14957 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14958
14959 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14960
14961 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14962
14963 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14964
14965 * window.el (same-window-buffer-names, same-window-regexps)
14966 (same-window-p, special-display-frame-alist)
14967 (special-display-popup-frame, special-display-function)
14968 (special-display-buffer-names, special-display-regexps)
14969 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14970 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14971 (split-window-preferred-function, split-height-threshold)
14972 (split-width-threshold, even-window-heights)
14973 (display-buffer-mark-dedicated, window-splittable-p)
14974 (split-window-sensibly, window-safely-shrinkable-p):
14975 Un-obsolete.
14976 (display-buffer): Don't spread args with function specifier
14977 because special-display-popup-frame won't like it.
14978
14979 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14980
14981 Time-stamp simplifications and fixes.
14982 These improve accuracy slightly, and future-proof the code
14983 against some potential changes to current-time format.
14984
14985 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14986 by using time-since and float-time.
14987
14988 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14989 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14990 + NNN microseconds".
14991
14992 * type-break.el (type-break-time-sum): Rewrite using time-add.
14993
14994 * play/hanoi.el (hanoi-current-time-float): Remove.
14995 All uses replaced by float-time.
14996
14997 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14998 This yields a more-accurate answer.
14999 (rng-time-to-float): Remove; no longer needed.
15000
15001 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15002
15003 * calendar/timeclock.el (timeclock-seconds-to-time):
15004 Defalias to seconds-to-time, since they're the same thing.
15005
15006 * emacs-lisp/elp.el (elp-elapsed-time):
15007 * emacs-lisp/benchmark.el (benchmark-elapse):
15008 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15009
15010 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15011
15012 * window.el (bury-buffer): Don't iconify the only frame.
15013 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15014 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15015
15016 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15017
15018 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15019 Add mouse-yank-primary.
15020
15021 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15022
15023 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15024
15025 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15028 (find-library-name): Use it to find relative load names when provided
15029 absolute file name (bug#8803).
15030
15031 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
15033 * textmodes/flyspell.el (flyspell-word): Consider words that
15034 differ only in case as potential doublons (bug#5687).
15035
15036 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15037 Remove two rather uninteresting debugging-like messages to make
15038 debbugs.el more silent.
15039
15040 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15041 a password-like phrase.
15042
15043 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15044
15045 * progmodes/cc-guess.el: New file.
15046
15047 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15048
15049 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15050 derived from `c-basic-common-init'.
15051
15052 * progmodes/cc-mode.el (top-level): Require cc-guess.
15053 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15054
15055 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15056
15057 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15058
15059 2011-06-30 Alan Mackenzie <acm@muc.de>
15060
15061 * progmodes/cc-engine.el (c-guess-continued-construct):
15062 Correct the handling of template-args-cont, particularly for when font
15063 lock is disabled. Name this case as "CASE G".
15064
15065 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15066
15067 * allout.el (allout-yank-processing): Fix injection of extra space
15068 between bullet and non-whitespace character in first topic when
15069 pasting, ensuring that the actual spacing in the pasted topic
15070 following the bullet char is preserved. This extra space was
15071 causing pasted encrypted topics to get a decrypted status even
15072 when the content was actually still encrypted. Now the decryption
15073 status from before the paste is preserved.
15074
15075 (allout-flag-region): Set all allout overlays so they evaporate
15076 when reduced to zero length (evanescent), to prevent overlay
15077 leakage.
15078
15079 2011-06-30 Glenn Morris <rgm@gnu.org>
15080
15081 * w32-fns.el (w32-charset-info-alist): Declare.
15082
15083 * find-dired.el (find-grep-options): Simplify.
15084
15085 * term/ns-win.el (ns-set-resource): Declare.
15086
15087 * ses.el (row, col): Declare dynamic variables honestly.
15088
15089 * textmodes/reftex-parse.el (index-tags): Declare.
15090
15091 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15092
15093 * cus-edit.el (customize-push-and-save): New function.
15094
15095 * files.el (hack-local-variables-confirm): Use it.
15096
15097 * custom.el (load-theme): New arg NO-CONFIRM.
15098 Use customize-push-and-save (Bug#8720).
15099 (custom-enabled-themes): Doc fix.
15100
15101 * cus-theme.el (customize-create-theme)
15102 (custom-theme-merge-theme): Callers to load-theme changed.
15103
15104 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
15106 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15107 short URLs have at least one dot in them (bug #7614).
15108
15109 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15110 nil, because using a pty is apparently too slow (bug #895).
15111
15112 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15113
15114 * mail/sendmail.el (sendmail-query-once): New function.
15115 (sendmail-query-once-function): New variable.
15116
15117 2011-06-29 Glenn Morris <rgm@gnu.org>
15118
15119 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15120
15121 * ses.el (top-level): Require cl when compiling.
15122 (ses-set-localvars): Fix error statement.
15123 Call it at compile time to silence a storm of warnings.
15124
15125 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15126
15127 * window.el (normalize-live-buffer): Rename to
15128 window-normalize-buffer.
15129 (normalize-live-frame): Rename to window-normalize-frame.
15130 (normalize-any-window): Rename to window-normalize-any-window.
15131 (normalize-live-window): Rename to window-normalize-live-window.
15132 (make-window-atom): Rename to window-make-atom.
15133 (window-resize-reset): Rename to window--resize-reset.
15134 (window-resize-reset-1): Rename to window--resize-reset-1.
15135 (resize-mini-window): Rename to window--resize-mini-window.
15136 (resize-subwindows-skip-p): Rename to
15137 window--resize-subwindows-skip-p.
15138 (resize-subwindows-normal): Rename to
15139 window--resize-subwindows-normal.
15140 (resize-subwindows): Rename to window--resize-subwindows.
15141 (resize-other-windows): Rename to window--resize-siblings.
15142 (resize-this-window): Rename to window--resize-this-window.
15143 (resize-root-window): Rename to window--resize-root-window.
15144 (resize-root-window-vertically): Rename to
15145 window--resize-root-window-vertically.
15146 (normalize-buffer-to-display): Rename to
15147 window-normalize-buffer-to-display.
15148 (normalize-buffer-to-switch-to): Rename to
15149 window-normalize-buffer-to-switch-to.
15150 Correspondingly update all callers of the functions listed
15151 above.
15152 (display-buffer-alist, display-buffer-normalize-arguments)
15153 (display-buffer-normalize-options, display-buffer)
15154 (display-buffer-alist-set): Use "function" instead of
15155 "fun-with-args".
15156
15157 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15158
15159 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15160 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15161 debbugs.gnu.org. Mention acknowledgment email.
15162
15163 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15164
15165 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15166 buffer multibyteness, since it shouldn't matter.
15167
15168 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15169
15170 * window.el (display-buffer-in-side-window): Handle dedicated
15171 windows as in display-buffer-reuse-window.
15172 (display-buffer-normalize-alist): Use value of override
15173 specifier.
15174 (display-buffer-normalize-specifiers): Use value of
15175 other-window-means-other-frame specifier.
15176 (display-buffer-alist): Rewrite some texts in widgets.
15177 (display-buffer): Spread arguments when calling function
15178 specified by fun-with-args.
15179
15180 2011-06-28 Deniz Dogan <deniz@dogan.se>
15181
15182 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15183 Unnest `let'.
15184
15185 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15186 selectors (Bug#5732).
15187 (css-proprietary-nmstart-re): Use `regexp-opt'.
15188
15189 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15190
15191 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15192 (eshell-ls-date-format): New defcustom.
15193 (eshell-ls-file): Use it.
15194
15195 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15198
15199 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15200
15201 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15202 (ange-ftp-make-tmp-name): New arg.
15203 (ange-ftp-file-local-copy): Use it.
15204
15205 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15206
15207 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15208 no-conversion (Bug#8870).
15209
15210 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15211
15212 * window.el (window-right, window-left, window-child)
15213 (window-child-count, window-last-child)
15214 (window-iso-combination-p, walk-window-tree-1)
15215 (window-atom-check-1, window-tree-1, delete-window)
15216 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15217 new naming conventions - window-vchild, window-hchild,
15218 window-next and window-prev are now called window-top-child,
15219 window-left-child, window-next-sibling and window-prev-sibling
15220 respectively.
15221 (resize-window-reset): Rename to window-resize-reset.
15222 (resize-window-reset-1): Rename to window-resize-reset-1.
15223 (resize-window): Rename to window-resize.
15224 (window-min-height, window-min-width)
15225 (resize-mini-window, resize-this-window, resize-root-window)
15226 (resize-root-window-vertically, adjust-window-trailing-edge)
15227 (enlarge-window, shrink-window, maximize-window)
15228 (minimize-window, delete-window, quit-restore-window)
15229 (split-window, balance-windows, balance-windows-area-adjust)
15230 (balance-windows-area, window-state-put-2)
15231 (display-buffer-even-window-sizes, display-buffer-set-height)
15232 (display-buffer-set-width, set-window-text-height)
15233 (fit-window-to-buffer): Rename all "resize-window" prefixed
15234 calls to use the "window-resize" prefix convention.
15235 (display-buffer-alist): Fix symbol for label specifier.
15236 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15237 corresponding specifier.
15238 Reported by Juanma Barranquero <lekktu@gmail.com>.
15239
15240 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15241
15242 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15243 convention.
15244 (ses-call-printer): Does not pass an empty string to formatter when the
15245 cell is empty to keep from barking printer Calc math-format-value.
15246
15247 2011-06-27 Richard Stallman <rms@gnu.org>
15248
15249 * battery.el (battery-mode-line-limit): New variable.
15250 (battery-update): Handle it.
15251
15252 * mail/rmailmm.el (rmail-mime-process-multipart):
15253 Handle truncated messages.
15254
15255 2011-06-27 Glenn Morris <rgm@gnu.org>
15256
15257 * progmodes/flymake.el (flymake-err-line-patterns):
15258 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15259
15260 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15261
15262 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15263 (ses--clean-!, ses--clean-_): New functions.
15264 (ses-range): Add configurability of readout order, and conversion
15265 to Calc vector.
15266
15267 * ses.el (ses-repair-cell-reference-all): New function.
15268 (ses-cell-symbol): Set macro as safe, so that it can be used in
15269 formulas.
15270
15271 * ses.el: Update cycle detection algorithm.
15272 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15273 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15274 (ses-set-localvars): New function.
15275 (ses-make-cell): Add property-list as a cell element.
15276 (ses-cell-property-get-fun, ses-cell-property-get)
15277 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15278 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15279 New functions.
15280 (ses-cell-property-set, ses-cell-property-pop)
15281 (ses-cell-property-get-handle): New macro.
15282 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15283 New aliases, used for code readability.
15284 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15285 cycle detection.
15286 (ses-self-reference-early-detection): New defcustom.
15287 (ses-formula-references): Robustify against self-referring cells.
15288 (ses-mode): Use ses-set-localvars.
15289 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15290 before lauching the update processing.
15291 (ses-initialize-Dijkstra-attempt): New function.
15292 (ses-recalculate-cell): Update for cycle detection based on
15293 Dijkstra algorithm.
15294
15295 * ses.el: Fix commenting and indenting convention.
15296
15297 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15298
15299 * bs.el (bs-cycle-next): Complete last change.
15300
15301 2011-06-27 Drew Adams <drew.adams@oracle.com>
15302
15303 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15304
15305 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15306
15307 * net/network-stream.el (network-stream-open-starttls):
15308 Don't re-get capabilities unless we've reestablished connection.
15309 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15310
15311 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15312 to binary to possibly avoid line encoding issues on Windows (among
15313 other things).
15314
15315 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15316
15317 * net/network-stream.el (open-network-stream): Return an :error
15318 saying what the problem was, if possible.
15319
15320 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15321 server.
15322
15323 * net/network-stream.el (network-stream-open-starttls): If we
15324 wanted to use STARTTLS, and the server offered it, but we weren't
15325 able to because we had no STARTTLS support, then close the connection.
15326 (open-network-stream): Return an :error element, if present.
15327
15328 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15329
15330 * hl-line.el (hl-line-sticky-flag): Doc fix.
15331 (global-hl-line-sticky-flag): New option (Bug#8323).
15332 (global-hl-line-highlight): Obey it.
15333
15334 * vc/vc.el (vc-revert-show-diff): Default to t.
15335
15336 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15337
15338 * allout-widgets.el (allout-widgets-post-command-business):
15339 Stop decorating intermediate isearch matches. They're not being
15340 undecorated when an isearch is continued past, and isearch
15341 automatically collapses them. This leads to "widget leaks", where
15342 decorated items accumulate in collapsed areas. Lines with lots of
15343 hidden widgets can slow down cursor travel, substantially.
15344 Too much complicated machinery would be needed to ensure undecoration,
15345 so we're doing without this nicety.
15346
15347 (allout-widgets-tally-string): Don't try to do a hash-table-count
15348 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15349 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15350 *Messages* when allout-widgets-maintain-tally is t.
15351
15352 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15353
15354 * window.el (display-buffer-normalize-argument): Rename to
15355 display-buffer-normalize-arguments. Handle special meaning of
15356 LABEL argument. Respect special-display-function when popping up
15357 a new frame. Fix code searching for a window showing the buffer
15358 on another frame.
15359 (display-buffer-normalize-specifiers):
15360 Call display-buffer-normalize-arguments.
15361 (display-buffer-in-window): Don't undedicate the window if its
15362 buffer remains the same.
15363 Reported by Drew Adams <drew.adams@oracle.com>.
15364 (display-buffer-alist): Add choice for same-window macro
15365 specfier.
15366 (display-buffer): Mention special meaning of LABEL argument in
15367 doc-string. Fix quoting. Don't pop up a new frame even as
15368 fallback.
15369
15370 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15371
15372 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15373 avoid deleting the current window in some cases (bug#8911).
15374
15375 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15376
15377 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15378 (Bug#8934)
15379
15380 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15381
15382 * net/network-stream.el (network-stream-open-starttls):
15383 Use built-in TLS support if `gnutls-available-p' is true.
15384 (network-stream-open-tls): Ditto.
15385
15386 2011-06-26 Leo Liu <sdl.web@gmail.com>
15387
15388 * register.el (registerv): New struct.
15389 (registerv-make): New function.
15390 (jump-to-register, describe-register-1, insert-register):
15391 Support the jump-func, print-func and insert-func slot of a registerv
15392 struct. (Bug#8415)
15393
15394 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * vc/vc.el (vc-revert-show-diff): New defcustom.
15397 (vc-diff-internal): New arg specifying diff buffer.
15398 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15399 reuse an existing *vc-diff* buffer (Bug#8927).
15400
15401 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15402
15403 2011-06-26 Glenn Morris <rgm@gnu.org>
15404
15405 * progmodes/f90.el (f90-critical-indent): New option.
15406 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15407 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15408 (f90-mode): Doc fix.
15409 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15410 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15411 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15412 (f90-match-end): Handle block, critical.
15413
15414 2011-06-25 Glenn Morris <rgm@gnu.org>
15415
15416 * calendar/diary-lib.el (diary-included-files): Doc fix.
15417 (diary-include-files): New function, extracted from
15418 diary-include-other-diary-files and diary-mark-included-diary-files.
15419 (diary-include-other-diary-files, diary-mark-included-diary-files):
15420 Just call diary-include-files.
15421 (diary-mark-entries): Reset diary-included-files on first call.
15422
15423 * calendar/diary-lib.el (diary-mark-entries)
15424 (diary-mark-included-diary-files):
15425 Visit included diary-files in temp buffers.
15426
15427 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15428 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15429 (f90-start-block-re, f90-imenu-generic-expression)
15430 (f90-looking-at-program-block-start, f90-no-block-limit):
15431 Add support for submodules.
15432
15433 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15434 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15435
15436 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15437
15438 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15439 buffer-file-type before setting its value, to avoid disastrous
15440 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15441
15442 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15445
15446 * ses.el (ses-unload-function):
15447 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15448
15449 * proced.el (proced-unload-function):
15450 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15451
15452 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15453
15454 * server.el (server-create-window-system-frame): Add parameters arg.
15455 (server-process-filter): Doc fix. Handle frame-parameters.
15456
15457 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15458
15459 Fix bug#8730, bug#8781.
15460
15461 * loadhist.el (unload--set-major-mode): New function.
15462 (unload-feature): Use it.
15463
15464 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15465 (python-unload-function): New function.
15466
15467 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15468
15469 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15470
15471 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15472
15473 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15474 the candidates list.
15475
15476 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15477
15478 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15479
15480 2011-06-23 Richard Stallman <rms@gnu.org>
15481
15482 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15483 (rmail-variables): Set next-error-move-function.
15484 (rmail-what-message): Take argument POS.
15485 (rmail-next-error-move): New function.
15486
15487 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15490 messages for adjacent non-terminals.
15491
15492 2011-06-23 Richard Stallman <rms@gnu.org>
15493
15494 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15495 (rmail-show-message-1): Preserve buffer modified flag.
15496 (rmail-start-mail): Don't specify use of rmail-mail-return;
15497 that's done by mail-bury now.
15498 (rmail-mail-return): Handle arg NEWBUF.
15499
15500 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15501
15502 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15503 SIZE is a number.
15504
15505 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15506
15507 * window.el (get-lru-window, get-mru-window)
15508 (get-largest-window): Never return a minibuffer window.
15509 (display-buffer-pop-up-window): Fix a bug that could lead to
15510 reusing the minibuffer window.
15511 (display-buffer): Pass original specifier argument to
15512 display-buffer-function instead of the normalized one.
15513 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15514
15515 2011-06-22 Leo Liu <sdl.web@gmail.com>
15516
15517 * minibuffer.el (completing-read-function)
15518 (completing-read-default): Move from minibuf.c
15519
15520 2011-06-22 Richard Stallman <rms@gnu.org>
15521
15522 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15523 to Rmail even if not started by a special Rmail command.
15524
15525 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15526 Copy the buffer currently showing just one message.
15527
15528 2011-06-22 Roland Winkler <winkler@gnu.org>
15529
15530 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15531 (bibtex-clean-entry): First delete the old key so that a
15532 customized algorithm for generating the new key does not get
15533 confused by the old key.
15534 (bibtex-url): Obey regexp of first step.
15535 (bibtex-search-entries): Do not use add-to-list with local
15536 list-var.
15537
15538 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539
15540 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15541 stored a user name, then query for the password first, instead of
15542 waiting for SMTP to give an error message and the trying again.
15543
15544 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15545
15546 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15547 BUFFER in call-process.
15548
15549 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15550
15551 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15552 QUIT twice.
15553 (smtpmail-try-auth-methods): Require user name and password from
15554 auth-source.
15555
15556 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15557
15558 * window.el (display-buffer-default-specifiers)
15559 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15560 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15561 (split-window): Normalize SIDE argument (Bug#8916).
15562
15563 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15564 (special-display-frame-alist, special-display-popup-frame):
15565 Remove duplicate declarations. These are now in window.el.
15566
15567 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568
15569 * mail/smtpmail.el (smtpmail-via-smtp):
15570 Set :use-starttls-if-possible so that we always use STARTTLS if the
15571 server supports it. SMTP servers that support STARTTLS commonly
15572 require it.
15573
15574 * net/network-stream.el (network-stream-open-starttls): Support
15575 upgrading to STARTTLS always, even if we don't have built-in support.
15576 (open-network-stream): Add the :always-query-capabilities keyword.
15577
15578 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15579 upgrades with `open-network-stream', and rely solely on
15580 auth-source for all credentials. Big changes throughout the file,
15581 but in particular:
15582 (smtpmail-auth-credentials): Remove.
15583 (smtpmail-starttls-credentials): Remove.
15584 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15585 MAIL FROM, too.
15586
15587 * net/network-stream.el (network-stream-open-starttls):
15588 Provide support for client certificates both for external and built-in
15589 STARTTLS.
15590 (auth-source): Require.
15591 (open-network-stream): Document the :client-certificate keyword.
15592 (network-stream-certificate): Change cert-cert to cert and
15593 cert-key to key.
15594
15595 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15596
15597 * net/tramp-cache.el (top): Don't load the persistency file when
15598 "emacs -Q" has been called.
15599
15600 2011-06-21 Tim Harper <timcharper@gmail.com>
15601
15602 * term/ns-win.el (ns-initialize-window-system):
15603 Set application-specific `ApplePressAndHoldEnabled' system
15604 resource to NO as it is not yet supported by the NS port.
15605
15606 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15607
15608 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15609 (list-dynamic-libraries): ...not here.
15610
15611 2011-06-21 Leo Liu <sdl.web@gmail.com>
15612
15613 * subr.el (sha1): Implement sha1 using secure-hash.
15614
15615 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15616
15617 * window.el (display-buffer-alist): In default value do not
15618 enforce searching a window on any but the selected frame.
15619 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15620 (display-buffer-select-window): Remove function.
15621 (display-buffer-in-window): When a window on another frame gets
15622 reused, do not select it any more but just raise its frame if
15623 necessary (Bug#8851) and (Bug#8856).
15624 (display-buffer-normalize-options): Handle pop-up-frames related
15625 options more faithfully.
15626 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15627 window if it is on another frame.
15628 (display-buffer-alist, display-buffer-default-specifiers):
15629 Don't make new frame unsplittable by default.
15630 (display-buffer-normalize-argument): Fix doc-string typo and use
15631 'same-frame-other-window instead of 'other-window when associating
15632 with display-buffer-macro-specifiers.
15633
15634 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15635
15636 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15637 New functions.
15638 (5x5-mode-map, 5x5-mode-menu): Bind them.
15639 (5x5-draw-grid): Tweak the solver's rendering.
15640
15641 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15642
15643 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15644 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15645
15646 2011-06-21 Drew Adams <drew.adams@oracle.com>
15647
15648 * menu-bar.el: Use function variable instead of switch-to-buffer.
15649 (menu-bar-select-buffer-function): New variable.
15650 (menu-bar-update-buffers): Use it (bug#8876).
15651
15652 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15655 variable's status.
15656
15657 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15658
15659 * x-dnd.el (x-dnd-version-from-flags)
15660 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15661 and long as number (Bug#8899).
15662 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15663
15664 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15667 (completion-try-completion, completion-all-completions): Compute the
15668 metadata argument if it's missing; make it optional (bug#8795).
15669
15670 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15671 (widget-complete): Use new :completion-function property.
15672 (widget-completions-at-point): New function.
15673 (default): Use :completion-function instead of :complete.
15674 (widget-default-completions): Rename from widget-default-complete;
15675 Rewrite.
15676 (widget-string-complete, widget-file-complete, widget-color-complete):
15677 Remove functions.
15678 (file, symbol, function, variable, coding-system, color):
15679 * international/mule-cmds.el (default-input-method, charset)
15680 (language-info-custom-alist):
15681 * cus-edit.el (face): Use new property :completions.
15682
15683 * progmodes/pascal.el (pascal-completions-at-point): New function.
15684 (pascal-mode): Use it.
15685 (pascal-mode-map): Use completion-at-point.
15686 (pascal-toggle-completions): Make obsolete.
15687 (pascal-complete-word, pascal-show-completions):
15688 * progmodes/octave-mod.el (octave-complete-symbol):
15689 Redefine as obsolete alias.
15690 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15691 Signal absence of completion info for old Octave,
15692 (inferior-octave-complete): Redefine as obsolete alias.
15693 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15694 (meta-completions-at-point): Rename from meta-complete-symbol and
15695 adapt it for use on completion-at-point-functions.
15696 (meta-common-mode): Use it.
15697 (meta-looking-at-backward, meta-match-buffer): Remove.
15698 (meta-complete-symbol): Redefine as obsolete alias.
15699 (meta-common-mode-map): Use completion-at-point.
15700 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15701 (makefile-mode-map): Use completion-at-point.
15702 (makefile-completions-at-point): Rename from makefile-complete and
15703 adapt it for use on completion-at-point-functions.
15704 (makefile-mode): Use it.
15705 (makefile-complete): Redefine as obsolete alias.
15706
15707 2011-06-20 Deniz Dogan <deniz@dogan.se>
15708
15709 * net/rcirc.el: Delete trailing whitespaces once and for all.
15710
15711 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15712
15713 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15714
15715 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15716
15717 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15718
15719 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15720
15721 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15722
15723 * window.el (display-buffer-other-window-means-other-frame):
15724 Call display-buffer-normalize-alist.
15725 (display-buffer-normalize-specifiers-1): Rename to
15726 display-buffer-normalize-argument. New argument other-frame.
15727 Rewrite.
15728 (display-buffer-normalize-specifiers-2): Rename to
15729 display-buffer-normalize-options.
15730 (display-buffer-normalize-alist-1): New function.
15731 (display-buffer-normalize-specifiers-3): Rename to
15732 display-buffer-normalize-alist.
15733 Call display-buffer-normalize-alist-1.
15734 (display-buffer-normalize-options-inhibit): New variable.
15735 (display-buffer-normalize-specifiers): Rewrite calling
15736 display-buffer-normalize-alist,
15737 display-buffer-normalize-argument, and
15738 display-buffer-normalize-options. Don't call the latter if
15739 display-buffer-normalize-options-inhibit is non-nil.
15740 (frame-auto-delete): New option.
15741 (window-deletable-p): Use frame-auto-delete.
15742 (window-list-no-nils, window-state-ignored-parameters)
15743 (window-state-get-1, window-state-get, window-state-put-list)
15744 (window-state-put-1, window-state-put-2, window-state-put):
15745 New functions.
15746 (display-buffer-normalize-options): Move special-display-p group
15747 after pop-up-frame group (Bug#8851) and (Bug#8856).
15748
15749 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15750
15751 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15752 groups (Bug#8776).
15753 (rx-submatch-n): New function.
15754 (rx): Document it.
15755
15756 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15757 (Bug#8768).
15758
15759 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15760
15761 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15762
15763 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15764 anytime existing face settings are present (Bug#8889).
15765
15766 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15767 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15768 Remove unused argument.
15769
15770 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15771
15772 * window.el (display-buffer-default-specifiers):
15773 Remove pop-up-frame. Add pop-up-window-min-height,
15774 pop-up-window-min-width, and another reuse-window specifier
15775 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15776 (display-buffer-normalize-specifiers-2):
15777 Handle split-height-threshold and split-width-threshold also when
15778 pop-up-windows is unset. Add a reuse-window specifier for the
15779 case popping up a new window fails.
15780 (special-display-popup-frame): Remove double quoting.
15781 (display-buffer-normalize-specifiers-1): Fix thinko.
15782
15783 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15784
15785 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15786 according to comint-completion-addsuffix.
15787
15788 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15789 (pcomplete-suffix-list): Mark as obsolete.
15790 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15791 pcomplete-seen in the closure.
15792 (pcomplete-comint-setup): Setup completion-at-point as well.
15793 (pcomplete--entries): New function.
15794 (pcomplete--env-regexp): New var.
15795 (pcomplete-entries): Rewrite to work with partial-completion and
15796 without relying on pcomplete-suffix-list.
15797 (pcomplete-pare-list): Remove, unused.
15798
15799 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15800
15801 * window.el (display-buffer-alist): Set pop-up-window-min-height
15802 and pop-up-window-min-width in default value. Reported by
15803 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15804 other-window-means-other-frame.
15805 (display-buffer-macro-specifiers): Comment out entry for
15806 other-window specifier.
15807 (display-buffer-other-window-means-other-frame): New function.
15808 (display-buffer-normalize-specifiers-1): New arguments
15809 buffer-name and label. Treat other-window case specially.
15810 (display-buffer-normalize-specifiers-2): Treat other-window case
15811 specially.
15812 (display-buffer-normalize-specifiers-3): New function.
15813 (display-buffer-normalize-specifiers):
15814 Call display-buffer-normalize-specifiers-3.
15815
15816 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15817
15818 * window.el (same-window-p): Fix two typos introduced when
15819 adding with-no-warnings.
15820 (display-buffer-normalize-specifiers-1): Don't check
15821 pop-up-frames for 'unset initialization.
15822 (display-buffer-normalize-specifiers-2): Major rewrite using
15823 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15824 (pop-up-frames, display-buffer-reuse-frames)
15825 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15826 Suggested by David Engster <deng@randomsample.de>.
15827 (even-window-heights): Initialize to 'unset.
15828 (display-buffer-alist-set): Handle new 'unset initializations.
15829 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15830 other window case.
15831
15832 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15833
15834 * window.el (display-buffer-normalize-specifiers-1):
15835 Respect current value of pop-up-frames for most reasonable values of
15836 second argument of display-buffer (Bug#8865).
15837 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15838 (switch-to-buffer-other-window-same-frame)
15839 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15840 Adams (Bug#8875).
15841 (display-buffer): Don't check noninteractive when calling
15842 display-buffer-pop-up-frame.
15843 (display-buffer-pop-up-frame): Never pop up a frame in
15844 noninteractive mode (Bug#8857).
15845 (enlarge-window, shrink-window): Don't report an error when the
15846 window can't be resized as requested (Bug#8862).
15847
15848 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15851
15852 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15853
15854 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15855
15856 2011-06-15 Alan Mackenzie <acm@muc.de>
15857
15858 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15859 for declarators, disable knr checking to speed up for normal files.
15860 2: Refactor, replacing a sequence of nested if forms by a cond form.
15861
15862 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15863
15864 * net/network-stream.el (open-network-stream): Add the keyword
15865 :always-query-capabilities for the case where you want to force a
15866 `plain' network connection, but the protocol still requires the
15867 capabilitiy command (i.e., SMTP and EHLO).
15868
15869 * subr.el (process-live-p): Rename from `process-alive-p' for
15870 consistency with other `-live-p' functions.
15871
15872 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 * window.el (same-window-buffer-names, same-window-regexps)
15875 (special-display-frame-alist, special-display-popup-frame)
15876 (special-display-function, special-display-buffer-names)
15877 (special-display-regexps, pop-up-frame-alist)
15878 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15879 (pop-up-windows, split-window-preferred-function)
15880 (split-height-threshold, split-width-threshold, even-window-heights)
15881 (display-buffer-mark-dedicated): Don't encourage the use of
15882 display-buffer-alist from Elisp code.
15883
15884 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15885
15886 * progmodes/python.el (python-mode): Derive from prog-mode.
15887 * progmodes/ps-mode.el (ps-mode):
15888 * progmodes/mixal-mode.el (mixal-mode):
15889 * progmodes/cfengine.el (cfengine-mode):
15890 * progmodes/ld-script.el (ld-script-mode): Likewise.
15891
15892 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15893
15894 * window.el (display-buffer-alist): Trim default value to avoid
15895 popping up a new frame (Bug#8857) or reusing an arbitrary window
15896 on another frame.
15897 (display-buffer): Do not fall back on popping up a new frame in
15898 batch mode (Bug#8857).
15899
15900 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15901
15902 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15903 (custom-theme-summary): New function.
15904 (customize-themes): Use it.
15905
15906 2011-06-13 Glenn Morris <rgm@gnu.org>
15907
15908 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15909
15910 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15911
15912 * help.el (help-window): Remove variable.
15913 (help-window-point-marker, temp-buffer-max-height)
15914 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15915 (help-print-return-message): Don't set help-window.
15916 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15917 (help-window-setup-finish): Remove.
15918 (help-window-display-message, help-window-setup)
15919 (with-help-window): Major rewrite based on new
15920 display-buffer-window variable.
15921
15922 * help-mode.el (help-mode-finish): Remove help-window related
15923 code.
15924
15925 * view.el (view-exits-all-viewing-windows): Remove reference to
15926 view-return-to-alist in doc-string.
15927 (view-return-to-alist): Make obsolete.
15928 (view-buffer): Call pop-to-buffer-same-window and remove
15929 undo-window code.
15930 (view-buffer-other-window): Call pop-to-buffer-other-window and
15931 simplify code. Ignore second argument.
15932 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15933 simplify code. Ignore second argument.
15934 (view-return-to-alist-update): Make obsolete.
15935 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15936 Rewrite using quit-restore window parameters.
15937 (view-mode-exit): Rename second argument to EXIT-ONLY.
15938 Rewrite using quit-restore-window.
15939 (View-exit, View-exit-and-edit, View-leave, View-quit)
15940 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15941 appropriate arguments.
15942 (view-end-message): Use quit-restore window parameter.
15943
15944 * window.el (display-buffer-function): Rewrite doc-string.
15945 (display-buffer-window, display-buffer-alist): New variables.
15946 (display-buffer-split-specifiers)
15947 (display-buffer-side-specifiers)
15948 (display-buffer-macro-specifiers): New constants.
15949 (display-buffer-even-window-sizes, display-buffer-set-height)
15950 (display-buffer-set-width, display-buffer-select-window)
15951 (display-buffer-in-window, display-buffer-reuse-window)
15952 (display-buffer-split-window-1, display-buffer-split-window)
15953 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15954 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15955 (display-buffer-in-side-window, normalize-buffer-to-display)
15956 (display-buffer-normalize-specifiers-1)
15957 (display-buffer-normalize-specifiers-2)
15958 (display-buffer-normalize-specifiers, display-buffer-frame):
15959 New functions.
15960 (display-buffer): Major rewrite.
15961 (display-buffer-other-window, display-buffer-other-frame)
15962 (pop-to-buffer, switch-to-buffer-other-window)
15963 (switch-to-buffer-other-frame): Rewrite.
15964 (display-buffer-same-window, display-buffer-same-frame)
15965 (display-buffer-same-frame-other-window)
15966 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15967 (pop-to-buffer-other-window)
15968 (pop-to-buffer-same-frame-other-window)
15969 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15970 (switch-to-buffer-other-window-same-frame): New functions.
15971 (same-window-p, special-display-p): Rewrite disabling warnings.
15972 Make obsolete.
15973 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15974 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15975 Make obsolete
15976 (same-window-buffer-names, same-window-regexps)
15977 (special-display-frame-alist, special-display-popup-frame)
15978 (special-display-function, special-display-buffer-names)
15979 (special-display-regexps, pop-up-frame-alist)
15980 (pop-up-frame-function, split-window-preferred-function)
15981 (split-height-threshold, split-width-threshold)
15982 (even-window-heights): Make obsolete.
15983
15984 2011-06-12 Glenn Morris <rgm@gnu.org>
15985
15986 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15987 Misc simplifications.
15988
15989 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15990
15991 * window.el (window-safely-shrinkable-p): Restore function which
15992 was inadvertently removed in change from 2011-06-11. Declare as
15993 obsolete.
15994
15995 * calendar/calendar.el (calendar-generate-window):
15996 Use window-iso-combined-p instead of combination of one-window-p and
15997 window-safely-shrinkable-p.
15998
15999 2011-06-12 Glenn Morris <rgm@gnu.org>
16000
16001 * progmodes/fortran.el (fortran-mode-syntax-table):
16002 * progmodes/f90.el (f90-mode-syntax-table):
16003 Set % to punctuation. (Bug#8820)
16004 (f90-find-tag-default): Remove, no longer needed.
16005
16006 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16007
16008 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16009
16010 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16011
16012 * image.el (image-animated-p): Return animation delay in seconds.
16013 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16014 (image-animate-timeout): Remove DELAY argument. Don't assume
16015 every subimage has the same delay; get it from image-animated-p.
16016 (image-animate): Caller changed.
16017
16018 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16019
16020 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16021 to ignored backtrace functions.
16022
16023 2011-06-11 Glenn Morris <rgm@gnu.org>
16024
16025 * calendar/appt.el (appt-disp-window-function): Doc fix.
16026 (appt-check): Handle overlapping appointments. (Bug#8337)
16027
16028 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16029
16030 * window.el (window-tree-1, window-tree): New functions, moving
16031 the latter to window.el.
16032 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16033 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16034 (bw-refresh-edges): Remove.
16035 (balance-windows-1, balance-windows-2): New functions.
16036 (balance-windows): Rewrite in terms of window tree functions,
16037 balance-windows-1 and balance-windows-2.
16038 (bw-adjust-window): Remove.
16039 (balance-windows-area-adjust): New function with functionality of
16040 bw-adjust-window but using resize-window.
16041 (set-window-text-height): Rewrite doc-string.
16042 Use normalize-live-window and resize-window.
16043 (enlarge-window-horizontally, shrink-window-horizontally):
16044 Rename argument to DELTA.
16045 (window-buffer-height): New function.
16046 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16047 Rewrite using new window resize routines.
16048 (kill-buffer-and-window, mouse-autoselect-window-select):
16049 Use ignore-errors instead of condition-case.
16050 (quit-window): Call delete-frame instead of delete-windows-on
16051 for the only buffer on frame.
16052
16053 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16054
16055 * loadup.el (top-level): Load window before files for the sake
16056 of replace-buffer-in-windows.
16057
16058 * files.el (read-buffer-to-switch)
16059 (switch-to-buffer-other-window)
16060 (switch-to-buffer-other-frame, display-buffer-other-frame):
16061 Move to window.el.
16062
16063 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16064 (previous-buffer): Move to window.el.
16065
16066 * bindings.el (unbury-buffer): Move to window.el.
16067
16068 * window.el (delete-other-windows-vertically): Move after
16069 definition of delete-other-windows.
16070 (other-window, delete-windows-on, replace-buffer-in-windows):
16071 Move here from window.c.
16072 (record-window-buffer, unrecord-window-buffer)
16073 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16074 (switch-to-next-buffer): New functions.
16075 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16076 from simple.el. Call switch-to-next-buffer.
16077 (previous-buffer): Move here from simple.el.
16078 Call switch-to-prev-buffer.
16079 (bury-buffer): Move here from buffer.c. Switch to previous
16080 buffer when window cannot be deleted.
16081 (unbury-buffer): Move here from bindings.el.
16082 (ctl-x-map): Move binding for other-window from window.c to
16083 here.
16084 (read-buffer-to-switch, switch-to-buffer-other-window)
16085 (switch-to-buffer-other-frame): Move here from files.el.
16086 (normalize-buffer-to-switch-to): New functions.
16087 (switch-to-buffer): Move here from buffer.c.
16088 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16089
16090 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16091
16092 * window.el (window-min-height, window-min-width): Move here
16093 from window.c. Add defcustoms and rewrite doc-strings.
16094 (resize-mini-window, resize-window): New functions.
16095 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16096 Move here from window.c.
16097 (maximize-window, minimize-window): New functions.
16098 (delete-window, delete-other-windows, split-window): Move here
16099 from window.c.
16100 (window-split-min-size): New function.
16101 (split-window-keep-point): Mention split-window-above-each-other
16102 instead of split-window-vertically.
16103 (split-window-above-each-other, split-window-vertically):
16104 Rename split-window-vertically to split-window-above-each-other
16105 and provide defalias for old definition.
16106 (split-window-side-by-side, split-window-horizontally):
16107 Rename split-window-horizontally to split-window-side-by-side
16108 and provide defalias for the old definition.
16109 (ctl-x-map): Move bindings for delete-window,
16110 delete-other-windows and enlarge-window here from window.c.
16111 Replace bindings for split-window-vertically and
16112 split-window-horizontally by bindings for
16113 split-window-above-each-other and split-window-side-by-side.
16114
16115 * cus-start.el (all): Remove entries for window-min-height and
16116 window-min-width. Add entries for window-splits and
16117 window-nest.
16118
16119 2011-06-09 Glenn Morris <rgm@gnu.org>
16120
16121 * calendar/appt.el (appt-mode-line): New function.
16122 (appt-check, appt-disp-window): Use it.
16123
16124 * files.el (hack-one-local-variable-eval-safep):
16125 Allow minor-modes with explicit +/-1 arguments.
16126
16127 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16128
16129 * term/xterm.el (xterm): Add defgroup.
16130 (xterm-extra-capabilities): Add defcustom to supply known xterm
16131 capabilities, skip querying them, or query them (default).
16132 (terminal-init-xterm): Use it.
16133 (terminal-init-xterm-modify-other-keys): New function to set up
16134 modifyOtherKeys support to simplify `terminal-init-xterm'.
16135
16136 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16137
16138 * window.el (resize-window-reset, resize-window-reset-1)
16139 (resize-subwindows-skip-p, resize-subwindows-normal)
16140 (resize-subwindows, resize-other-windows, resize-this-window)
16141 (resize-root-window, resize-root-window-vertically)
16142 (window-deletable-p, window-or-subwindow-p)
16143 (frame-root-window-p): New functions.
16144
16145 2011-06-09 Glenn Morris <rgm@gnu.org>
16146
16147 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16148 (ange-ftp-get-files): Use it.
16149
16150 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16151
16152 * mail/sendmail.el (mail-recover-1, mail-recover):
16153 * files.el (recover-file, recover-session):
16154 Handle dired-listing-switches not being just a single short option.
16155
16156 2011-06-09 Glenn Morris <rgm@gnu.org>
16157
16158 * calendar/appt.el (appt-display-message, appt-disp-window):
16159 Handle lists of appointments.
16160
16161 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16162
16163 * window.el (one-window-p): Move down in code.
16164 Rewrite doc-string.
16165 (window-current-scroll-bars): Rewrite doc-string.
16166 Normalize live window argument.
16167 (walk-windows, get-window-with-predicate, count-windows):
16168 Rewrite doc-string. Use window-list-1.
16169 (window-in-direction-2, window-in-direction, get-mru-window):
16170 New functions.
16171
16172 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16173
16174 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16175 Doc fix (Bug#8713).
16176
16177 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16178
16179 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16180
16181 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16182
16183 * loadhist.el (unload-feature-special-hooks):
16184 Add `comint-output-filter-functions'.
16185
16186 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16187
16188 * calendar/appt.el (appt-check): Move some initializations into the let.
16189
16190 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16191
16192 * window.el (window-height): Defalias to window-total-height.
16193 (window-width): Defalias to window-body-width.
16194
16195 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16196
16197 * image-mode.el (image-toggle-animation): New command.
16198 (image-mode-map): Bind it to RET.
16199 (image-mode): Update message.
16200 (image-toggle-display-image): Avoid a spurious cache flush.
16201 (image-transform-rotation): Doc fix.
16202 (image-transform-properties): Return quickly in the normal case.
16203 (image-animate-loop): Rename from image-animate-max-time.
16204
16205 * image.el (image-animate-max-time): Move to image-mode.el.
16206 (create-animated-image): Remove unnecessary function.
16207 (image-animate): Rename from image-animate-start. New arg.
16208 (image-animate-stop): Remove; just use image-animate-timer.
16209 (image-animate-timer): Use car-safe.
16210 (image-animate-timeout): Rename argument.
16211
16212 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16213
16214 * window.el (get-lru-window, get-largest-window): Move here from
16215 window.c. Rename first argument to ALL-FRAMES.
16216 Rephrase doc-strings.
16217 (get-buffer-window-list): Rewrite using window-list-1.
16218 Rephrase doc-string.
16219 (window-safe-min-height, window-safe-min-width): New constants.
16220 (window-size-ignore, window-min-size, window-min-size-1)
16221 (window-sizable, window-sizable-p, window-size-fixed-1)
16222 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16223 (window-max-delta-1, window-max-delta, window-resizable)
16224 (window-resizable-p, window-total-height, window-total-width)
16225 (window-body-width): New functions.
16226 (window-full-height-p, window-full-width-p): Rewrite using
16227 window-total-size.
16228 (window-body-height): Rewrite using window-body-size.
16229
16230 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16231
16232 * window.el (window-right, window-left, window-child)
16233 (window-child-count, window-last-child, window-any-p)
16234 (normalize-live-buffer, normalize-live-frame)
16235 (normalize-any-window, normalize-live-window)
16236 (window-iso-combination-p, window-iso-combined-p)
16237 (window-iso-combinations)
16238 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16239 (windows-with-parameter, window-with-parameter)
16240 (window-atom-root, make-window-atom, window-atom-check-1)
16241 (window-atom-check, window-side-check, window-check):
16242 New functions.
16243 (ignore-window-parameters, window-sides, window-sides-vertical)
16244 (window-sides-slots): New variables.
16245 (window-size-fixed): Move down in code. Minor doc-string fix.
16246
16247 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16248
16249 * comint.el (comint-dynamic-complete-as-filename)
16250 (comint-dynamic-complete-filename): Correctly call
16251 completion-in-region.
16252
16253 2011-06-05 Deniz Dogan <deniz@dogan.se>
16254
16255 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16256 in last change.
16257
16258 2011-06-05 Deniz Dogan <deniz@dogan.se>
16259
16260 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16261 (rcirc): Use it to prompt for encryption.
16262
16263 2011-06-05 Roland Winkler <winkler@gnu.org>
16264
16265 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16266 (bibtex-search-entries): New command bound to C-c C-a.
16267 (bibtex-display-entries): New function.
16268
16269 2011-06-05 Roland Winkler <winkler@gnu.org>
16270
16271 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16272 (bibtex-insert-kill): After yanking insert newline if necessary.
16273 (bibtex-initialize): Call bibtex-string-files-init only once.
16274 (bibtex-mode): Do not call easy-menu-add.
16275 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16276 (bibtex-yank): Set arg properly if nil.
16277
16278 2011-06-05 Roland Winkler <winkler@gnu.org>
16279
16280 * textmodes/bibtex.el (bibtex-search-entry-globally):
16281 New variable.
16282 (bibtex-search-entry): Use it.
16283
16284 2011-06-05 Roland Winkler <winkler@gnu.org>
16285
16286 * textmodes/bibtex.el (bibtex-entry-format): New option
16287 sort-fields.
16288 (bibtex-format-entry, bibtex-reformat): Honor this option.
16289 (bibtex-parse-entry): Return fields in proper order.
16290
16291 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16292
16293 * doc-view.el (doc-view-remove-if): Move computation of result out
16294 of `dolist' to silence misleading lexical-binding warning.
16295
16296 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16297
16298 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16299 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16300
16301 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16302
16303 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16304 "SunOS 5.10".
16305
16306 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16307
16308 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16309 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16310 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16311 (tramp-parse-putty):
16312 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16313 (tramp-completion-function-alist-ssh)
16314 (tramp-completion-function-alist-telnet)
16315 (tramp-completion-function-alist-su)
16316 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16317 cookie.
16318
16319 * net/tramp-ftp.el:
16320 * net/tramp-sh.el:
16321 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16322 load "tramp.el" `tramp-set-completion-function'.
16323
16324 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16325
16326 * shell.el: Require and use pcomplete.
16327 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16328 (shell-completion-vars): Set pcomplete-default-completion-function.
16329
16330 2011-06-04 Deniz Dogan <deniz@dogan.se>
16331
16332 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16333 `memq' (Bug#8799).
16334
16335 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16336
16337 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16338
16339 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16340
16341 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16342 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16343 * vc/log-view.el (log-view-beginning-of-defun):
16344 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16345 (smerge-refine-forward, smerge-refine-chopup-region):
16346 Silence warning for unused `dotimes' counter variables.
16347
16348 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * net/tramp.el (tramp-with-progress-reporter): Rename from
16351 with-progress-reporter. Use `declare'.
16352 * net/tramp-smb.el:
16353 * net/tramp-sh.el:
16354 * net/tramp-gvfs.el: Update all uses.
16355
16356 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16357
16358 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16359 buffer isn't killed before making it current.
16360
16361 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16362
16363 Silence various byte-compiler warnings.
16364 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16365 `access-type' and new obsolescence format.
16366 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16367 new format.
16368 (byte-compile-check-variable): New `access-type' argument.
16369 Only warn if the access-type is obsolete.
16370 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16371 (byte-compile-variable-set): Adjust callers.
16372 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16373 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16374 setting it as obsolete.
16375 * simple.el (minibuffer-completing-symbol):
16376 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16377 access as obsolete.
16378 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16379 obsolete yet.
16380 * international/quail.el (quail-mouse-choose-completion): Remove unused
16381 code referring to obsolete var.
16382 (quail-choose-completion-string): Remove.
16383 * server.el (server-clients-with, server-kill-buffer-query-function)
16384 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16385 * proced.el (proced-send-signal):
16386 * emacs-lisp/lisp.el (lisp-complete-symbol):
16387 Replace completion-annotate-function with completion-extra-properties.
16388
16389 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16390
16391 * simple.el (goto-line): Use read-number.
16392 (overriding-map-is-bound): Remove.
16393 (saved-overriding-map): Change default.
16394 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16395 Take the map as argument.
16396 (universal-argument, negative-argument, digit-argument): Use it.
16397 (restore-overriding-map): Adjust.
16398 (do-auto-fill): Use fill-forward-paragraph.
16399 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16400
16401 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16402 (minibuffer-inactive-mode): New major mode.
16403 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16404 the *Messages* buffer" hack.
16405 (mouse-popup-menubar): Don't burp if the event is a normal key.
16406
16407 Miscellaneous tweaks.
16408 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16409 lexical scoping as in subr.el's dolist and dotimes.
16410 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16411 Silence compiler warning.
16412 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16413 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16414 * international/ccl.el (ccl-compile): Trivial simplification.
16415 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16416 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16417 `printflag' argument.
16418 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16419 Purecopy the whole obsolescence data.
16420
16421 2011-06-01 Leo Liu <sdl.web@gmail.com>
16422
16423 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16424 improve doc-string as suggested by Marco Pessotto
16425 <melmothx@gmail.com>.
16426 (rcirc-print): Fix last change.
16427
16428 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16429
16430 * minibuffer.el (complete-with-action): Return nil for the metadata and
16431 boundaries of non-functional tables.
16432 (completion-table-dynamic): Return nil for the metadata.
16433 (completion-table-with-terminator): Add default case, using
16434 complete-with-action.
16435 (completion--metadata): New function.
16436 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16437 to try and avoid pathological performance problems.
16438 (completion--embedded-envvar-table): Return `category' metadata.
16439
16440 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16441
16442 * subr.el (process-alive-p): New tiny convenience function.
16443
16444 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16447 content but also its previous major mode.
16448
16449 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16450
16451 * emacs-lisp/debug.el (debug): Restore the previous content of the
16452 *Backtrace* buffer when we exit with C-M-c.
16453
16454 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16455
16456 * minibuffer.el: Add metadata method to completion tables.
16457 (completion-category-overrides): New defcustom.
16458 (completion-metadata, completion--field-metadata)
16459 (completion-metadata-get, completion--styles)
16460 (completion--cycle-threshold): New functions.
16461 (completion-try-completion, completion-all-completions):
16462 Add `metadata' argument to choose completion-styles.
16463 (completion--do-completion): Use metadata to choose cycling.
16464 (completion-all-sorted-completions): Use metadata for sorting.
16465 Remove :completion-cycle-penalty which is not needed any more.
16466 (completion--try-word-completion): Add `metadata' argument.
16467 (minibuffer-completion-help): Check metadata for annotation function
16468 and sorting.
16469 (completion-file-name-table): Return `category' metadata.
16470 (minibuffer-completing-file-name): Make obsolete.
16471 * simple.el (minibuffer-completing-symbol): Make obsolete.
16472 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16473 completion-try-completion.
16474
16475 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16476
16477 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16478
16479 2011-05-30 Leo Liu <sdl.web@gmail.com>
16480
16481 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16482 (rcirc-print): Decode all incoming messages (bug#8744).
16483 (rcirc-decode-coding-system): Allow value nil for automatic coding
16484 system detection.
16485
16486 2011-06-01 Glenn Morris <rgm@gnu.org>
16487
16488 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16489
16490 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16491
16492 * image.el (image-animate-max-time): Allow nil and t values.
16493 Default to nil.
16494 (create-animated-image): Doc fix.
16495 (image-animate-start): Remove second arg; just use
16496 image-animate-max-time.
16497 (image-animate-timeout): Doc fix. Args changed.
16498
16499 * image-mode.el (image-toggle-display-image): Ensure that the
16500 image spec passed to the animate timer is the same object as in
16501 the buffer's display property (Bug#6981).
16502 (image-transform-properties): Doc fix.
16503
16504 * image.el (image-animate-max-time): Default to nil.
16505
16506 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16507
16508 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16509 entire buffer list (Bug#8184).
16510
16511 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16512
16513 * image.el (imagemagick-types-inhibit)
16514 (imagemagick-register-types): Doc fix.
16515
16516 2011-05-29 Deniz Dogan <deniz@dogan.se>
16517
16518 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16519 default.
16520
16521 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16522
16523 * select.el: Don't perform clipboard-manager saving in hooks;
16524 leave the hooks empty.
16525
16526 2011-05-28 Leo Liu <sdl.web@gmail.com>
16527
16528 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16529 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16530 (occur-edit-mode): New major mode (Bug#8463).
16531 (occur-after-change-function): New function.
16532 (occur-engine): Give Occur tags a read-only property.
16533
16534 2011-05-28 Kevin Ryde <user42@zip.com.au>
16535
16536 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16537
16538 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16539
16540 * bindings.el (help-echo): Make the initial non-indicator dash
16541 empty on graphical terminals (Bug#7295).
16542
16543 * files.el (auto-mode-alist): Move config rule after the
16544 in-stripping one (Bug#8547).
16545
16546 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16547
16548 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16549 setting (Bug#8740).
16550
16551 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16552
16553 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16554 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16555 (Bug#8539).
16556
16557 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16558
16559 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16560
16561 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16562
16563 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16564 (hs-hide-block-at-point, hs-find-block-beginning)
16565 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16566 (Bug#8279).
16567
16568 2011-05-28 Glenn Morris <rgm@gnu.org>
16569
16570 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16571
16572 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16573
16574 * help-fns.el (describe-function-1): If the function is a derived
16575 major mode, print the parent mode.
16576
16577 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16578 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16579
16580 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * minibuffer.el (completion--capf-wrapper): Check applicability before
16583 returning non-nil for non-exclusive completion data.
16584 * progmodes/etags.el (tags-completion-at-point-function):
16585 * info-look.el (info-lookup-completions-at-point): Mark as
16586 non-exclusive.
16587 (info-complete): Adjust accordingly.
16588
16589 * info-look.el: Convert to lexical-binding and completion-at-point.
16590 (info-lookup-completions-at-point): New function.
16591 (info-complete): Use it and completion-in-region.
16592
16593 2011-05-28 Drew Adams <drew.adams@oracle.com>
16594
16595 * isearch.el: Let M-e start with point at the first mismatched char.
16596 (isearch-fail-pos): New function.
16597 (isearch-edit-string): Use it.
16598
16599 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16600
16601 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16602
16603 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16604
16605 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16606 traversal functions for avl-trees.
16607 (avl-tree--stack): New struct.
16608 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16609 (avl-tree-enter): Add optional `updatefun' arg.
16610 (avl-tree--do-enter): Add optional `updatefun' arg.
16611 Change return value.
16612 (avl-tree-delete): Add optional `test' and `nilflag' args.
16613 (avl-tree--do-delete): Add `test' and `nilflag' args.
16614 Change return value.
16615 (avl-tree-member): Add optional `nilflag'
16616 (avl-tree-member-p): New function.
16617 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16618 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16619 (avl-tree-stack-empty-p): New functions.
16620
16621 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16622 avl-tree--del-balance1 and make it work both ways.
16623 (avl-tree--del-balance2): Remove.
16624 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16625 make it work both ways.
16626 (avl-tree--enter-balance2): Remove.
16627 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16628 New macros.
16629 (avl-tree--mapc, avl-tree-map): Add direction argument.
16630
16631 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16632
16633 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16634
16635 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16636
16637 * select.el: Support clipboard managers with built-in function
16638 x-clipboard-manager-save, via delete-frame-functions and
16639 kill-emacs-hook.
16640 (xselect-convert-to-targets): Add MULTIPLE target to list.
16641 (xselect-convert-to-save-targets): New function.
16642
16643 2011-05-27 Kenichi Handa <handa@m17n.org>
16644
16645 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16646 let-binding rfc2047-encode-encoded-words to nil.
16647
16648 2011-05-27 Glenn Morris <rgm@gnu.org>
16649
16650 * mail/emacsbug.el: Don't require url-util.
16651
16652 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16653
16654 * files.el (set-auto-mode):
16655 Also respect mode: entries at the end of the file. (Bug#8586)
16656
16657 2011-05-26 Glenn Morris <rgm@gnu.org>
16658
16659 * files.el (hack-local-variables-prop-line, hack-local-variables):
16660 Downcase mode names, as seems to be traditional.
16661 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16662
16663 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16664 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16665
16666 2011-05-25 Julien Danjou <julien@danjou.info>
16667
16668 * textmodes/rst.el (rst-define-level-faces): Do not define face
16669 symbol if it is already defined.
16670
16671 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16672
16673 * play/5x5.el (5x5-new-game, 5x5-randomize):
16674 Reset 5x5-solver-output to nil when a new grid is cast.
16675 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16676 these debugging traces, as defmacro breaks the compiled code.
16677
16678 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16679
16680 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16681
16682 2011-05-24 Leo Liu <sdl.web@gmail.com>
16683
16684 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16685 (vc-bzr-sha1): Adapt.
16686
16687 * sha1.el: Remove. Function `sha1' is now builtin.
16688
16689 * bindings.el: Provide sha1 feature.
16690
16691 2011-05-24 Kenichi Handa <handa@m17n.org>
16692
16693 * mail/sendmail.el: Require `rfc2047'.
16694 (mail-insert-from-field): Do not perform RFC2047 encoding.
16695 (mail-encode-header): New function.
16696 (sendmail-send-it): Set buffer-file-coding-system of the work
16697 buffer to the return value of select-message-coding-system.
16698 Call mail-encode-header.
16699
16700 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16701
16702 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16703
16704 * mail/supercite.el (sc-default-cite-frame):
16705 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16706
16707 2011-05-24 Glenn Morris <rgm@gnu.org>
16708
16709 * progmodes/python.el (brm-menu): Declare.
16710
16711 * emulation/viper.el (viper-set-hooks): Declare.
16712
16713 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16714 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16715 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16716 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16717 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16718 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16719
16720 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16721
16722 Add an :exit-function for completion-at-point.
16723
16724 * minibuffer.el (completion--done): New fun.
16725 (completion--do-completion): Use it. New arg `expect-exact'.
16726 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16727 since completion--do-completion does it for us now.
16728 (minibuffer-force-complete): Use completion--done and
16729 completion--replace. Handle sole-completion case with more care.
16730 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16731 (completion-extra-properties): New var.
16732 (completion-annotate-function): Make obsolete.
16733 (minibuffer-completion-help): Adjust accordingly.
16734 Use completion-list-insert-choice-function.
16735 (completion-at-point, completion-help-at-point):
16736 Bind completion-extra-properties.
16737 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16738 * simple.el (completion-list-insert-choice-function): New var.
16739 (completion-setup-function): Preserve it.
16740 (choose-completion): Pay attention to it, shuffle the code a bit.
16741 (choose-completion-string): New arg `insert-function'.
16742
16743 * textmodes/bibtex.el: Convert to lexical binding.
16744 (bibtex-mode-map): Use completion-at-point.
16745 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16746 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16747 (bibtex-complete): Define as obsolete alias.
16748 (bibtex-complete-internal): Remove.
16749 (bibtex-format-entry): Remove unused sub-group in regexp.
16750 * shell.el (shell--command-completion-data)
16751 (shell-environment-variable-completion):
16752 * pcomplete.el (pcomplete-completions-at-point):
16753 * comint.el (comint--complete-file-name-data): Use :exit-function
16754 instead of completion-table-with-terminator so it also works for
16755 choose-completion.
16756
16757 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16758
16759 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16760
16761 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16762 (bug#8710).
16763
16764 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16765
16766 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16767
16768 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16769 customization variable and implement: If non-nil, auto-fill will
16770 be inhibited while on topic's header line.
16771
16772 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16773
16774 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16775 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16776 always have a solution in grid size = 5 cases.
16777 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16778 (5x5-solver-output, 5x5-log-buffer): New vars.
16779 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16780 Make these variables buffer local to achieve 5x5 multi-session-ness.
16781 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16782 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16783 (5x5-solve-suggest): New funs.
16784 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16785 randomize a grid so that we ensure that there is always a solution.
16786 (5x5-make-random-grid): Allow other movement than flipping.
16787
16788 2011-05-23 Kevin Ryde <user42@zip.com.au>
16789
16790 * emacs-lisp/advice.el (ad-read-advised-function):
16791 Use `function-called-at-point' as the default, if it has
16792 advice and passes PREDICATE.
16793
16794 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16797 byte-compile-lambda if it's actually a lambda.
16798
16799 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16800 Fix function quoting. Use backquote better.
16801
16802 2011-05-22 Yuanle Song <sylecn@gmail.com>
16803
16804 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16805 matching (Bug#8516).
16806
16807 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16808
16809 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16810 different face (Bug#8178).
16811
16812 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16813
16814 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16815 defface (Bug#8144).
16816
16817 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16820 funcall as well (bug#8712). Warn when performing those conversions.
16821 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16822
16823 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16824
16825 2011-05-22 Glenn Morris <rgm@gnu.org>
16826
16827 * files.el (hack-local-variables-prop-line): Small simplifications.
16828 (hack-local-variables, hack-local-variables-prop-line):
16829 If MODE-ONLY, return the mode, rather than just `t'.
16830
16831 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16834
16835 2011-05-21 Glenn Morris <rgm@gnu.org>
16836
16837 * files.el (hack-local-variables-prop-line, hack-local-variables):
16838 If only interested in the mode, don't bother doing the other stuff.
16839
16840 * image-mode.el (image-after-revert-hook):
16841 Redraw all frames on which the image is visible. (Bug#8567)
16842
16843 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16844
16845 * wid-edit.el (widget-checklist-match-inline):
16846 Fix 2011-04-19 change. (Bug#8649)
16847
16848 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16849
16850 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16851 Also allow singlespace after single-letter capitals followed by a dot.
16852
16853 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16854 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16855
16856 2011-05-20 Nix <nix@esperi.org.uk>
16857
16858 * files.el (basic-save-buffer-2):
16859 Fix handling of break-hardlink-on-save with non-existent files.
16860
16861 2011-05-19 Deniz Dogan <deniz@dogan.se>
16862
16863 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16864 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16865
16866 2011-05-19 Glenn Morris <rgm@gnu.org>
16867
16868 * progmodes/f90.el (f90-type-def-re):
16869 Handle "type, bind(c)". (Bug#8691)
16870
16871 * emacs-lisp/autoload.el (batch-update-autoloads):
16872 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16873
16874 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16875
16876 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16877 property for the correct connection in case of multihops.
16878
16879 2011-05-18 Glenn Morris <rgm@gnu.org>
16880
16881 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16882 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16883
16884 Rationalize calendar handling of day and month abbrev-arrays.
16885 * calendar/calendar.el (calendar-customized-p): New function.
16886 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16887 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16888 Add :set function.
16889 (calendar-abbrev-length, calendar-day-abbrev-array)
16890 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16891 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16892 Elements may no longer be nil.
16893 (calendar-day-name, calendar-month-name):
16894 Update for changed nature of abbrev arrays.
16895 * calendar/diary-lib.el (diary-name-pattern):
16896 Update for changed nature of abbrev arrays.
16897 (diary-mark-entries-1): Update calendar-make-alist calls.
16898 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16899 * calendar/cal-html.el (cal-html-day-abbrev-array):
16900 Simply inherit from calendar-day-abbrev-array.
16901
16902 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16903
16904 * progmodes/grep.el (grep-mode): Disable default
16905 compilation-directory-matcher setting (bug#8684).
16906
16907 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16908
16909 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16910 instead of "head" and "tail". There were problems with SunOS 5.9,
16911 and it performs better.
16912
16913 2011-05-17 Glenn Morris <rgm@gnu.org>
16914
16915 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16916
16917 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16918 Replace obsolete function.
16919
16920 * shell.el (pcomplete-parse-arguments-function): Declare.
16921
16922 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16923 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16924 (appt-check): Doc fixes.
16925 (appt-disp-window-function, appt-delete-window-function):
16926 Remove needless special case in custom :type.
16927 (appt-display-count): Default to 0, not nil.
16928 (appt-check): Reset appt-display-count to 0, not nil.
16929
16930 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16931
16932 * progmodes/python.el (python-font-lock-keywords):
16933 Add the Python 3.X keyword "nonlocal" (bug#8639).
16934
16935 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16936
16937 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16938
16939 2011-05-16 Kevin Ryde <user42@zip.com.au>
16940
16941 * info-look.el (makefile-automake-mode): New setups, looking in
16942 automake manual, then makefile-mode.
16943 (makefile-mode): Remove automake manual, have it just in
16944 makefile-automake-mode since there's various things different or
16945 not relevant to plain make.
16946 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16947 believe a hypothetical automake-mode would go to makefile-mode,
16948 not the other way around.
16949
16950 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16951
16952 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16953 hunk-end tags (Bug#8672).
16954
16955 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16956 vc-annotate-show-diff-revision-at-line (Bug#8671).
16957
16958 2011-05-14 Glenn Morris <rgm@gnu.org>
16959
16960 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16961 in the middle of an existing one with multiple authors. (Bug#8645)
16962 (change-log-font-lock-keywords): Also handle multiple author lines
16963 with leading tabs. (Bug#8644)
16964
16965 * calendar/appt.el (appt-check): Rename some local variables.
16966 Some simplification/reordering.
16967
16968 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16969 (feedmail-sendmail-f-doesnt-sell-me-out)
16970 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16971 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16972 (feedmail-queue-runner-message-sender): Set :version.
16973 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16974 (bbdb-dwim-net-address, vm-mail): Declare.
16975 (feedmail-binmail-gnulinuxish-template):
16976 Rename from feedmail-binmail-linuxish-template.
16977 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16978 Use insert-buffer-substring.
16979
16980 2011-05-14 Bill Carpenter <bill@carpenter.org>
16981
16982 * mail/feedmail.el (feedmail-patch-level): Increase.
16983 (feedmail-debug): New custom group.
16984 (feedmail-confirm-outgoing-timeout)
16985 (feedmail-sendmail-f-doesnt-sell-me-out)
16986 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16987 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16988 (feedmail-sender-line, feedmail-from-line)
16989 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16990 (feedmail-spray-this-address)
16991 (feedmail-spray-address-fiddle-plex-list)
16992 (feedmail-queue-use-send-time-for-date)
16993 (feedmail-queue-use-send-time-for-message-id)
16994 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16995 (feedmail-buffer-eating-function):
16996 Doc fixes.
16997 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16998 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16999 (feedmail-message-action-scroll-down): New functions.
17000 (feedmail-queue-directory, feedmail-queue-draft-directory):
17001 Use expand-file-name.
17002 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17003 Remove C-v help entry.
17004 (feedmail-queue-buffer-file-name): New variable.
17005 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17006 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17007 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17008 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17009 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17010 (feedmail-message-action-toggle-spray)
17011 (feedmail-run-the-queue-no-prompts)
17012 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17013 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17014 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17015 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17016 (feedmail-envelope-deducer, feedmail-fiddle-from)
17017 (feedmail-fiddle-sender, feedmail-default-date-generator)
17018 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17019 (feedmail-fiddle-spray-address)
17020 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17021 (feedmail-fiddle-list-of-fiddle-plexes)
17022 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17023 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17024 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17025 Change default. Doc fix.
17026 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17027 (feedmail-binmail-linuxish-template): New constant.
17028 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17029 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17030 (feedmail-send-it): Add debug call.
17031 Use feedmail-queue-buffer-file-name, and
17032 feedmail-send-it-immediately-wrapper.
17033 (feedmail-message-action-send): Add debug call.
17034 Use feedmail-send-it-immediately-wrapper.
17035 (feedmail-queue-express-to-queue): Add debug call.
17036 Run feedmail-queue-express-hook.
17037 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17038 (feedmail-message-action-help-blat):
17039 Rename from feedmail-queue-send-edit-prompt-help-first.
17040 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17041 Check line-endings. Handle errors better.
17042 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17043 Doc fix. Add debug call.
17044 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17045 Use feedmail-queue-send-edit-prompt-inner.
17046 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17047 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17048 from feedmail-queue-send-edit-prompt.
17049 (feedmail-queue-send-edit-prompt-help)
17050 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17051 (feedmail-tidy-up-slug): Add debug call.
17052 Respect feedmail-queue-slug-suspect-regexp.
17053 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17054 (feedmail-dump-message-to-queue): Add debug call.
17055 Expand queue-directory.
17056 (feedmail-dump-message-to-queue): Change message slightly.
17057 Use feedmail-say-chatter.
17058 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17059 (feedmail-send-it-immediately-wrapper): New function.
17060 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17061 Insert empty string rather than newline. Handle full-frame case.
17062 Use catch/throw. Use feedmail-say-chatter.
17063 (feedmail-fiddle-from): Try mail-host-address.
17064 (feedmail-default-message-id-generator): Doc fix.
17065 Bind system-time-locale. Handle missing end.
17066 (feedmail-fiddle-x-mailer): Add debug call.
17067 Handle feedmail-x-mailer-line being nil.
17068 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17069 Add debug call. Use buffer-substring-no-properties.
17070 (feedmail-say-debug, feedmail-say-chatter): New functions.
17071 (feedmail-find-eoh): Give an explicit error.
17072
17073 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17074
17075 * net/newst-treeview.el (newsticker-treeview-face): Change default
17076 family from helvetica to sans.
17077 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17078 etc/images/newsticker.
17079
17080 * net/newst-reader.el (newsticker-feed-face): Change default
17081 family from helvetica to sans.
17082
17083 * net/newst-plainview.el (newsticker-new-item-face)
17084 (newsticker-old-item-face, newsticker-immortal-item-face)
17085 (newsticker-obsolete-item-face, newsticker-date-face)
17086 (newsticker-statistics-face): Change default family from
17087 helvetica to sans.
17088 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17089 etc/images/newsticker.
17090
17091 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17092 (newsticker--process-auto-mark-filter-match): Tell user about
17093 auto-marking.
17094
17095 2011-05-13 Didier Verna <didier@xemacs.org>
17096
17097 Common Lisp indentation improvements on defmethod and lambda-lists.
17098 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17099 TODO entries.
17100 (lisp-lambda-list-keyword-parameter-indentation)
17101 (lisp-lambda-list-keyword-parameter-alignment)
17102 (lisp-lambda-list-keyword-alignment): New customizable user options.
17103 (lisp-indent-defun-method): Improve docstring.
17104 (extended-loop-p): Fix comment.
17105 (lisp-indent-lambda-list-keywords-regexp): New variable.
17106 (lisp-indent-lambda-list): New function.
17107 (lisp-indent-259): Use it.
17108 (lisp-indent-defmethod): Support for more than one
17109 method qualifier and properly indent methods lambda-lists.
17110 (defgeneric): Provide a missing common-lisp-indent-function property.
17111
17112 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17113
17114 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17115 bounds for the empty string (bug#8667).
17116
17117 2011-05-13 Glenn Morris <rgm@gnu.org>
17118
17119 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17120
17121 * mail/sendmail.el (sendmail-program): Try executable-find first.
17122 (sendmail-send-it): `sendmail-program' cannot be unbound.
17123
17124 * calendar/appt.el (appt-make-list): Simplify.
17125 (appt-time-msg-list): Doc fix.
17126 (appt-check): Change mode-line message at the time of the appointment.
17127
17128 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17129
17130 * progmodes/ld-script.el (ld-script-keywords)
17131 (ld-script-builtins): Update keywords list.
17132
17133 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17136
17137 * shell.el (shell-completion-vars): New function.
17138 (shell-mode):
17139 * simple.el (read-shell-command): Use it.
17140 (blink-matching-open): No need for " [...]" in minibuffer-message.
17141
17142 2011-05-12 Glenn Morris <rgm@gnu.org>
17143
17144 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17145 (appt-check): Simplify.
17146
17147 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17148
17149 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17150 literal "/dev/null".
17151
17152 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17155 Fix typo.
17156
17157 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17158
17159 * progmodes/which-func.el (which-function):
17160 Use add-log-current-defun instead of add-log-current-defun-function,
17161 which might not be defined (Bug#8260).
17162
17163 2011-05-12 Glenn Morris <rgm@gnu.org>
17164
17165 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17166 Let byte-compile-initial-macro-environment always take precedence.
17167
17168 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17169
17170 * net/rcirc.el: Add support for SSL/TLS connections.
17171 (rcirc-server-alist): New field `encryption'.
17172 (rcirc): Check `encryption' settings.
17173 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17174 Merge make-local-variable into `set'.
17175 (rcirc--connection-open-p): New function.
17176 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17177 the process is not a network process (e.g. running gnutls-cli).
17178 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17179 Make rcirc-(en|de)code-coding-system local here.
17180 (rcirc-mode): Merge make-local-variable into `set'.
17181 (rcirc-parent-buffer): Make permanent buffer-local.
17182 (rcirc-multiline-minor-mode): Don't do it here.
17183 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17184 there's no server buffer.
17185
17186 2011-05-11 Glenn Morris <rgm@gnu.org>
17187
17188 * newcomment.el (comment-kill): Prefix "unused" local.
17189
17190 * term/w32console.el (get-screen-color): Declare.
17191
17192 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17193 Handle symbol elements of byte-compile-initial-macro-environment.
17194
17195 2011-05-10 Leo Liu <sdl.web@gmail.com>
17196
17197 * bookmark.el (bookmark-bmenu-mode-map):
17198 Bind bookmark-bmenu-search to `/'.
17199
17200 * mail/footnote.el: Convert to utf-8 encoding.
17201 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17202 (Footnote-unicode): New function.
17203 (footnote-style-alist): Add unicode style to the list.
17204 (footnote-style): Doc fix.
17205
17206 2011-05-10 Jim Meyering <meyering@redhat.com>
17207
17208 Fix doubled-word typos.
17209 * international/quail.el (quail-insert-kbd-layout): and and -> and
17210 * kermit.el: and and -> and
17211 * net/ldap.el (ldap-search-internal): to to -> to
17212 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17213 * progmodes/js.el (js-mode): and and -> and
17214 * textmodes/artist.el (artist-move-to-xy): at at -> at
17215 (artist-draw-region-trim-line-endings): if if -> if
17216 And Safetyc -> Safety.
17217 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17218
17219 2011-05-10 Glenn Morris <rgm@gnu.org>
17220 Stefan Monnier <monnier@iro.umontreal.ca>
17221
17222 * files.el (hack-one-local-variable-eval-safep):
17223 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17224
17225 2011-05-10 Glenn Morris <rgm@gnu.org>
17226
17227 * calendar/diary-lib.el (diary-list-entries-hook)
17228 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17229 (diary-nongregorian-marking-hook, diary-list-entries)
17230 (diary-include-other-diary-files, diary-mark-entries)
17231 (diary-mark-included-diary-files): Doc fixes.
17232
17233 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17234
17235 * misc.el: Require tabulated-list.el during compilation.
17236
17237 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17238
17239 * progmodes/compile.el (compilation-start):
17240 Run compilation-filter-hook for the async case too.
17241 (compilation-filter-hook): Doc fix.
17242
17243 2011-05-09 Deniz Dogan <deniz@dogan.se>
17244
17245 * wdired.el: Remove outdated installation comment. Fix usage
17246 comment.
17247
17248 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * misc.el: Implement new command `list-dynamic-libraries'.
17251 (list-dynamic-libraries--loaded-only-p): New variable.
17252 (list-dynamic-libraries--refresh): New function.
17253 (list-dynamic-libraries): New command.
17254
17255 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17256
17257 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17258 Fix the ant regexp to handle end-line and end-column info from jikes.
17259 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17260 higher priority to avoid clobbering by gnu.
17261
17262 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17263
17264 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17265 if the face has existing theme settings (Bug#8454).
17266
17267 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17268
17269 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17270 Only match variables declared via `my' or `our' (Bug#8261).
17271
17272 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17273 special file names `.' and `..' (Bug#8259).
17274
17275 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17276
17277 * progmodes/grep.el (grep-mode-font-lock-keywords):
17278 Remove buffer-changing entries.
17279 (grep-filter): New function.
17280 (grep-mode): Add it to compilation-filter-hook.
17281
17282 * progmodes/compile.el (compilation-filter-hook)
17283 (compilation-filter-start): New defvars.
17284 (compilation-filter): Call compilation-filter-hook prior to
17285 updating the process mark.
17286
17287 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17290
17291 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17292
17293 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17294 mailclient-send-it even if window-system is nil. (Bug#8595)
17295
17296 * term/w32console.el (terminal-init-w32console):
17297 Call get-screen-color and use its output to set the frame
17298 background-mode. (Bug#8597)
17299
17300 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17301
17302 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17303 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17304 New functions.
17305 (defgeneric, eieio--defmethod): Use them.
17306 (eieio-defgeneric): Remove.
17307 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17308
17309 2011-05-07 Glenn Morris <rgm@gnu.org>
17310
17311 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17312 Use let rather than let*.
17313 (timeclock-find-discrep): Remove unused local.
17314
17315 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17316
17317 * calendar/appt.el (appt-time-msg-list): Doc fix.
17318
17319 2011-05-06 Noah Friedman <friedman@splode.com>
17320
17321 * apropos.el (apropos-print-doc): Only use
17322 emacs-lisp-docstring-fill-column when it is bound to an integer,
17323 per that variable's documentation.
17324
17325 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17326
17327 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17328 and warnings are not silently discarded (e.g. use -d instead of -P).
17329
17330 2011-05-06 Glenn Morris <rgm@gnu.org>
17331
17332 * calendar/appt.el (appt-message-warning-time): Doc fix.
17333 (appt-warning-time-regexp): New option.
17334 (appt-make-list): Respect appt-message-warning-time.
17335
17336 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17337 New options.
17338 (diary-add-to-list): Strip comments from the displayed string.
17339 (diary-mode): Set comment-start and comment-end.
17340
17341 * vc/diff-mode.el (smerge-refine-subst): Declare.
17342 (diff-refine-hunk): Don't require smerge-mode when compiling.
17343
17344 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17345
17346 * simple.el (list-processes): Return nil as the docstring says.
17347
17348 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17349
17350 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17351 to "".
17352 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17353 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17354 determining of binary transfer. (Bug#7383)
17355
17356 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17357
17358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17359 Fix port computation bug. (Bug#8618)
17360
17361 2011-05-05 Glenn Morris <rgm@gnu.org>
17362
17363 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17364
17365 * simple.el (shell-dynamic-complete-functions)
17366 (comint-dynamic-complete-functions): Declare.
17367
17368 * net/network-stream.el (gnutls-negotiate):
17369 * simple.el (tabulated-list-print): Fix declarations.
17370
17371 * progmodes/gud.el (syntax-symbol, syntax-point):
17372 Remove unnecessary and incorrect declarations.
17373
17374 * emacs-lisp/check-declare.el (check-declare-scan):
17375 Handle byte-compile-initial-macro-environment in bytecomp.el
17376
17377 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17378
17379 Fix earlier half-done eieio-defmethod change (bug#8338).
17380 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17381 Streamline and change calling convention.
17382 (defmethod): Adjust accordingly and simplify.
17383 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17384 new eieio--defmethod.
17385 (slot-boundp): Minor CSE simplification.
17386
17387 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17388
17389 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17390 (glasses-make-readable): Use glasses-separate-capital-groups.
17391
17392 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17393
17394 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17395 (warning-series): Doc fix.
17396 (display-warning): Don't try to create the buffer if we just found it.
17397
17398 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17399
17400 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17401 (autoload-find-generated-file): New function.
17402 (generate-file-autoloads): Bind generated-autoload-file to
17403 buffer-file-name.
17404 (update-file-autoloads, update-directory-autoloads):
17405 Use autoload-find-generated-file. If called interactively, prompt for
17406 output file (Bug#7989).
17407 (batch-update-autoloads): Doc fix.
17408
17409 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17410
17411 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17412
17413 2011-05-04 Glenn Morris <rgm@gnu.org>
17414
17415 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17416 function, so it follows changes in calendar-date-style.
17417 (diary-fancy-date-matcher): New function.
17418 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17419 (diary-fancy-font-lock-fontify-region-function):
17420 Use diary-fancy-date-pattern as a function.
17421
17422 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17423 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17424
17425 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17426
17427 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17428 instead of positional arguments. Allow :keylist and :crlfiles
17429 arguments.
17430 (open-gnutls-stream): Call it.
17431
17432 * net/network-stream.el (network-stream-open-starttls): Adjust to
17433 call `gnutls-negotiate' with :process and :hostname arguments.
17434
17435 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17436
17437 * minibuffer.el (completion--message): New function.
17438 (completion--do-completion, minibuffer-complete)
17439 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17440 (completion--do-completion): Don't ignore completion-auto-help when in
17441 icomplete-mode.
17442
17443 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17444 internal encoding (e.g. tibetan zero is not whitespace).
17445 (global-whitespace-mode): Prefer save-current-buffer.
17446 (whitespace-trailing-regexp): Remove useless save-match-data.
17447 (whitespace-empty-at-bob-regexp): Minor simplification.
17448
17449 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17450
17451 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17452
17453 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17454
17455 * textmodes/ispell.el (ispell-add-per-file-word-list):
17456 Use `concat' to create string for insertion.
17457
17458 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17461 Avoid open-line which runs post-self-insert-hook.
17462 (bibtex-fill-entry): Remove unused `end' var.
17463
17464 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17465
17466 * textmodes/ispell.el (ispell-add-per-file-word-list):
17467 Protect against `nil' value of `comment-start' (Bug#8579).
17468
17469 2011-05-03 Leo Liu <sdl.web@gmail.com>
17470
17471 * isearch.el (isearch-yank-pop): New command.
17472 (isearch-mode-map): Bind it to `M-y'.
17473 (isearch-forward): Mention it.
17474
17475 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17476
17477 * simple.el (minibuffer-complete-shell-command): Remove.
17478 (minibuffer-local-shell-command-map): Use completion-at-point.
17479 (read-shell-command): Setup completion vars here instead.
17480 (read-expression-map): Bind TAB to symbol completion.
17481
17482 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17483 error directly rather via storing it into `results'.
17484
17485 2011-05-02 Leo Liu <sdl.web@gmail.com>
17486
17487 * vc/diff.el: Fix description.
17488
17489 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17490
17491 * server.el (server-eval-at): New function.
17492
17493 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17494
17495 * net/network-stream.el (open-network-stream): Take a :nowait
17496 parameter and pass it on to `make-network-process'.
17497 (network-stream-open-plain): Ditto.
17498
17499 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17500
17501 * faces.el (face-spec-set-match-display): Don't match toolkit
17502 options on terminal frames.
17503
17504 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17505
17506 * progmodes/pascal.el: Use lexical binding.
17507 (pascal-mode-map): Remove author preferences.
17508
17509 * pcomplete.el (pcomplete-std-complete): Don't abuse
17510 completion-at-point.
17511
17512 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17513
17514 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17515 removing code that has been dead since 1991 or so.
17516
17517 * startup.el (command-line): When warning about "_emacs", use a
17518 delayed warning to allow the user to filter it out.
17519
17520 2011-04-28 Deniz Dogan <deniz@dogan.se>
17521
17522 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17523 user has not joined.
17524
17525 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17528 aren't any completions at point.
17529
17530 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17531
17532 * subr.el (display-delayed-warnings): New function.
17533 (delayed-warnings-hook): New variable.
17534
17535 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17536
17537 * minibuffer.el (completion-at-point, completion-help-at-point):
17538 Don't presume that a given completion-at-point-function will always
17539 use the same calling convention.
17540
17541 * pcomplete.el (pcomplete-completions-at-point):
17542 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17543 pcomplete-seen is non-nil.
17544 (pcomplete-comint-setup): Also recognize the new comint/shell
17545 completion functions.
17546 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17547 pcomplete-seen is non-nil.
17548
17549 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17550
17551 * calendar/icalendar.el (diary-lib): Add require statement.
17552 (icalendar--create-uid): Read out a uid from a text-property on
17553 the first character in the entry. This allows for code to add its
17554 own uid to the entry.
17555 (icalendar--convert-float-to-ical): Add export of
17556 `diary-float'-entries save for those with the optional DAY
17557 argument.
17558
17559 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17560
17561 * subr.el (shell-quote-argument): Use alternate escaping strategy
17562 when we spot a variable reference in a string.
17563
17564 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17565
17566 * cus-start.el (all): Define customization for debug-on-event.
17567
17568 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17569
17570 * subr.el (shell-quote-argument): Escape correctly under Windows.
17571
17572 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17573
17574 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17575
17576 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17577
17578 * net/tramp.el (tramp-process-actions): Add POS argument.
17579 Delete region between POS and (pos).
17580
17581 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17582 Use `nil' position in `tramp-process-actions' call.
17583 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17584
17585 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17586 position in `tramp-process-actions' call.
17587
17588 * net/trampver.el: Update release number.
17589
17590 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17591
17592 * custom.el (defcustom): Obey lexical-binding.
17593
17594 Fix octave-inf completion problems reported by Alexander Klimov.
17595 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17596 Inherit from octave-mode-syntax-table.
17597 (inferior-octave-mode): Set info-lookup-mode.
17598 (inferior-octave-completion-at-point): New function.
17599 (inferior-octave-complete): Use it and completion-in-region.
17600 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17601 comint-filename-completion.
17602 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17603 symbol elements which shouldn't be word elements.
17604 (octave-font-lock-keywords, octave-beginning-of-defun)
17605 (octave-function-header-regexp): Adjust regexps accordingly.
17606 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17607
17608 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17609
17610 * net/gnutls.el (gnutls-errorp): Declare before first use.
17611
17612 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17613
17614 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17615 verify-error, and verify-hostname-error parameters. Check whether
17616 default trustfile exists before going to use it. Add missing
17617 argument to gnutls-message-maybe call. Return value.
17618 Reported by Claudio Bley <claudio.bley@gmail.com>.
17619 (open-gnutls-stream): Add usage example.
17620
17621 * net/network-stream.el (network-stream-open-starttls): Give host
17622 parameter to `gnutls-negotiate'.
17623 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17624 * subr.el (shell-quote-argument): Escape correctly under Windows.
17625
17626 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17627
17628 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17629 Use correct match group (bug#8438).
17630
17631 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17632
17633 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17634 (package-menu--generate): New arg specifying packages to show.
17635 (package-menu-refresh, package-menu-execute, list-packages):
17636 Callers changed.
17637 (package-show-package-list): New function, replacing deleted
17638 package--list-packages (renamed because it is non-internal).
17639
17640 * finder.el (finder-list-matches): Use package-show-package-list
17641 instead of deleted package--list-packages.
17642
17643 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17644 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17645 (vc-annotate-mode-map): Bind it to RET.
17646
17647 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17648
17649 * progmodes/etags.el (next-file): Don't use set-buffer to change
17650 buffers (Bug#8478).
17651
17652 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17653
17654 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17655
17656 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17657 (apropos-accumulator): Doc fix.
17658 (apropos-function, apropos-macro, apropos-command)
17659 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17660 (apropos-plist): Add face property.
17661 (apropos-symbols-internal): Fix indentation.
17662 (apropos-print): Simplify help, and recognize apropos-multi-type.
17663 (apropos-print-doc): Use button-type-get to extract the button's
17664 face property. Fill docstring (Bug#8352).
17665
17666 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17667
17668 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17669
17670 * play/mpuz.el (mpuz-silent): Doc fix.
17671 (mpuz-mode-map): Use mapc.
17672 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17673 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17674 Fix typos in docstrings.
17675
17676 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17677 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17678
17679 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17680
17681 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17682
17683 * minibuffer.el (completion--do-completion): Avoid the "Next char
17684 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17685
17686 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17687 mouse-2 into unread-command-events, it is interpreted correctly.
17688
17689 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17690 (image-toggle-display): Doc fix.
17691
17692 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17693
17694 * textmodes/page.el (what-page): Use line-number-at-pos to
17695 calculate line number (Bug#6825).
17696
17697 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17698
17699 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17700 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17701 Pass argument NO-DEFAULT to `find-tag-interactive'.
17702
17703 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17704
17705 Lexical-binding cleanup.
17706
17707 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17708 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17709 * progmodes/ada-prj.el (ada-prj-initialize-values)
17710 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17711 (ada-prj-show-value):
17712 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17713 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17714 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17715 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17716 * progmodes/bug-reference.el (bug-reference-push-button):
17717 * progmodes/fortran.el (fortran-line-length):
17718 * progmodes/glasses.el (glasses-change):
17719 * progmodes/octave-mod.el (octave-fill-paragraph):
17720 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17721 (python-pdbtrack-grub-for-buffer, python-sentinel):
17722 * progmodes/sql.el (sql-save-connection):
17723 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17724 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17725 Mark unused parameters.
17726
17727 * progmodes/compile.el (compilation--flush-directory-cache)
17728 (compilation--flush-parse, compile-internal): Mark unused parameters.
17729 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17730 (compilation-next-error-function): Remove unused variable `timestamp'.
17731
17732 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17733 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17734
17735 * progmodes/dcl-mode.el (dcl-end-of-command):
17736 Remove unused variable `start'.
17737 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17738 (dcl-option-value-basic, dcl-option-value-offset)
17739 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17740 Mark unused parameters.
17741 (dcl-save-local-variable): Remove unused variable `val'.
17742 (mode): Declare.
17743
17744 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17745 Mark unused parameters.
17746 (delphi-ignore-changes): Move before first use.
17747 (delphi-charset-token-at): Remove unused variable `start'.
17748 (delphi-else-start): Remove unused variable `if-count'.
17749 (delphi-comment-block-start, delphi-comment-block-end):
17750 Remove unused variable `kind'.
17751 (delphi-indent-line): Remove unused variable `new-point'.
17752
17753 * progmodes/ebrowse.el (ebrowse-files-list)
17754 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17755 Mark unused parameters. Don't quote `lambda'.
17756 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17757 Don't quote `lambda'.
17758 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17759 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17760 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17761 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17762 Use `ignore-errors'.
17763 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17764 (ebrowse-view/find-file-and-search-pattern)
17765 (ebrowse-view/find-member-declaration/definition):
17766 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17767 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17768 Rename parameter PREFIX-ARG to PREFIX.
17769 (ebrowse-tags-read-name): Remove unused variables `start' and
17770 `member-info'.
17771 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17772 to `tags-file'.
17773
17774 * progmodes/etags.el (local-find-tag-hook): Declare.
17775 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17776 Mark unused parameters.
17777
17778 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17779 (executable-interpret): Mark unused parameter.
17780
17781 * progmodes/flymake.el (flymake-process-sentinel)
17782 (flymake-after-change-function)
17783 (flymake-create-temp-with-folder-structure)
17784 (flymake-get-include-dirs-dot): Mark unused parameters.
17785 (flymake-safe-delete-directory): Remove unused variable `err'.
17786
17787 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17788 (speedbar-timer-fn, speedbar-line-text)
17789 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17790 (speedbar-center-buffer-smartly): Declare functions.
17791 (gdb-find-watch-expression): Remove unused variable `array'.
17792 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17793 (gdb-starting): Mark unused parameters.
17794 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17795 (gdb-table-string): Remove unused variable `res'.
17796 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17797 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17798 (gdb-display-buffer): Remove unused variable `cur-size'.
17799
17800 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17801 allow lexical-binding compilation.
17802 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17803 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17804 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17805 Mark unused parameters.
17806 (gud-gdb-marker-filter): Remove unused variable `match'.
17807 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17808 lambda expressions and funcall them, instead of using `fset'.
17809
17810 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17811 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17812
17813 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17814 variable `header-beg'; use `let'.
17815
17816 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17817 `restart', `last-sexp' and `at-do'.
17818
17819 * progmodes/js.el (js--debug): Mark unused parameter.
17820 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17821 (js--splice-into-items): Remove unused variable `item'.
17822 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17823
17824 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17825 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17826 (makefile-complete): Remove unused variable `try'.
17827 (makefile-fill-paragraph, makefile-match-function-end):
17828 Mark unused parameters.
17829
17830 * progmodes/octave-inf.el (inferior-octave-complete):
17831 Remove unused variable `proc'.
17832 (inferior-octave-output-digest): Mark unused parameter.
17833
17834 * progmodes/perl-mode.el (perl-calculate-indent):
17835 Remove unused variable `err'.
17836
17837 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17838 (prolog-indent-line): Mark unused parameters.
17839 (prolog-indent-line): Remove unused variable `beg'.
17840
17841 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17842 (reporter-dont-compact-list): Declare.
17843
17844 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17845 Remove unused variable `char'.
17846 (sh-debug): Mark unused parameter.
17847 (sh-get-indent-info): Remove unused variable `start'.
17848 (sh-calculate-indent): Remove unused variable `var'.
17849
17850 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17851 (simula-electric-keyword): Remove unused variable `null'.
17852 (simula-search-backward, simula-search-forward): Remove unused
17853 variables `begin' and `end'.
17854
17855 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17856 Remove unused variable `pos'.
17857 (vera-electric-tab, vera-comment-uncomment-region):
17858 Mark unused parameters.
17859 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17860
17861 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17862
17863 * emacs-lisp/package.el (package--builtins, package-alist)
17864 (package-load-descriptor, package-built-in-p, package-activate)
17865 (define-package, package-installed-p)
17866 (package-compute-transaction, package-buffer-info)
17867 (package--push): Doc fix. Distinguish more clearly between
17868 version strings and version lists.
17869
17870 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17871
17872 Lexical-binding cleanup.
17873
17874 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17875 (5x5-make-mutate-best):
17876 * play/fortune.el (fortune-in-buffer):
17877 * play/gomoku.el (gomoku-init-display):
17878 * play/solitaire.el (solitaire, solitaire-do-check):
17879 * play/tetris.el (tetris-default-update-speed-function):
17880 Mark unused parameters.
17881
17882 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17883 (bubbles--shift): Remove unused variable `char-org'.
17884 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17885 (bubbles--show-images): Remove unused variable `char'.
17886
17887 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17888 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17889 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17890 (decipher-analyze-buffer): Use ?\s.
17891 (decipher-make-checkpoint): Remove unused variable `mapping'.
17892
17893 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17894
17895 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17896 Remove unused variable `result'; use `let'.
17897
17898 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17899 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17900 (gametree-children-shown-p, gametree-compute-reduced-score):
17901 Use `ignore-errors'.
17902
17903 * play/handwrite.el (ps-lpr-switches): Declare.
17904 (handwrite): Remove unused variables `pmin' and `lastp'.
17905
17906 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17907
17908 * play/landmark.el (landmark-init-display)
17909 (landmark-update-naught-weights): Mark unused parameters.
17910 (landmark-y): Remove unused variable `noise'. Simplify.
17911 (landmark-human-plays): Remove unused variable `score'.
17912
17913 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17914 (mpuz-try-proposal): Remove unused variable `game'.
17915
17916 * play/zone.el (life-patterns): Declare.
17917
17918 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17919
17920 * vc/vc.el (ediff-vc-internal): Declare function.
17921
17922 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17923
17924 * shell.el: Use lexical-binding and std completion UI.
17925 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17926 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17927 comint-preoutput-filter-functions rather than on
17928 comint-output-filter-functions.
17929 (shell-command-completion, shell--command-completion-data)
17930 (shell-filename-completion, shell-environment-variable-completion)
17931 (shell-c-a-p-replace-by-expanded-directory): New functions.
17932 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17933 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17934 (shell-dynamic-complete-environment-variable): Use them.
17935 (shell-dynamic-complete-as-environment-variable)
17936 (shell-dynamic-complete-as-command): Remove.
17937 (shell-match-partial-variable): Match past point.
17938 * comint.el: Clean up use of completion-at-point-functions.
17939 (comint-completion-at-point): New function.
17940 (comint-mode): Use it completion-at-point-functions.
17941 (comint-dynamic-complete): Make it obsolete.
17942 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17943 (comint-c-a-p-replace-by-expanded-history): New function.
17944 (comint-dynamic-complete-functions)
17945 (comint-replace-by-expanded-history): Use it.
17946 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17947 termination strings. Try harder to avoid second try-completion.
17948 (completion-in-region-mode-map): Disable bindings that don't work yet.
17949
17950 * comint.el: Use lexical-binding. Require CL.
17951 (comint-dynamic-complete-functions): Use comint-filename-completion.
17952 (comint-completion-addsuffix): Tweak custom type.
17953 (comint-filename-completion, comint--common-suffix)
17954 (comint--common-quoted-suffix, comint--table-subvert)
17955 (comint--complete-file-name-data): New functions.
17956 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17957 (comint-dynamic-list-filename-completions): Use them.
17958 (comint-dynamic-simple-complete): Make obsolete.
17959
17960 * minibuffer.el (completion-in-region-mode):
17961 Keep completion-in-region-mode--predicate global.
17962 (completion-in-region--postch):
17963 Assume completion-in-region-mode--predicate is not null.
17964
17965 * progmodes/flymake.el (flymake-start-syntax-check-process):
17966 Obey `dir'. Simplify.
17967
17968 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17969 we're in VC after all.
17970
17971 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17972
17973 * vc/vc.el (vc-diff-build-argument-list-internal)
17974 (vc-version-ediff, vc-ediff): New commands.
17975 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17976
17977 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17978
17979 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17980 add sanity check.
17981
17982 * obsolete/erc-hecomplete.el: Make obsolete.
17983 * obsolete/: Standardize obsolescence info in the header.
17984
17985 2011-04-20 Glenn Morris <rgm@gnu.org>
17986
17987 * calendar/solar.el (solar-horizontal-coordinates):
17988 Use the longitude argument rather than `calendar-longitude'.
17989 (solar-date-next-longitude): Remove unused locals.
17990
17991 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17992
17993 * whitespace.el: New version 13.2.1.
17994
17995 2011-04-20 felix <EmacsWiki> (tiny change)
17996
17997 * whitespace.el (global-whitespace-mode): Keep highlight when
17998 switching between major modes on a file.
17999
18000 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18001
18002 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18003 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18004 multi-line comments as well.
18005
18006 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18007
18008 Lexical-binding cleanup.
18009
18010 * arc-mode.el (archive-mode-revert):
18011 * cmuscheme.el (scheme-interactively-start-process):
18012 * custom.el (custom-initialize-delay):
18013 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18014 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18015 * emacs-lock.el (emacs-lock-clear-sentinel):
18016 * ezimage.el (defezimage):
18017 * follow.el (follow-avoid-tail-recenter):
18018 * fringe.el (set-fringe-mode-1):
18019 * generic-x.el (bat-generic-mode-compile):
18020 * help-mode.el (help-info-variable, help-do-xref)
18021 (help-mode-revert-buffer):
18022 * help.el (view-emacs-todo):
18023 * iswitchb.el (iswitchb-completion-help):
18024 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18025 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18026 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18027 * locate.el (locate-update):
18028 * longlines.el (longlines-encode-region)
18029 (longlines-after-change-function):
18030 * outline.el (outline-isearch-open-invisible):
18031 * ps-def.el (declare-function, charset-dimension, char-width)
18032 (encode-char):
18033 * ps-mule.el (ps-mule-plot-string):
18034 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18035 (recentf-edit-list-select, recentf-edit-list-validate)
18036 (recentf-open-files-action):
18037 * rect.el (delete-whitespace-rectangle-line)
18038 (rectangle-number-line-callback):
18039 * register.el (window-configuration-to-register)
18040 (frame-configuration-to-register):
18041 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18042 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18043 (xselect-convert-to-targets, xselect-convert-to-delete)
18044 (xselect-convert-to-filename, xselect-convert-to-charpos)
18045 (xselect-convert-to-lineno, xselect-convert-to-colno)
18046 (xselect-convert-to-os, xselect-convert-to-host)
18047 (xselect-convert-to-user, xselect-convert-to-class)
18048 (xselect-convert-to-name, xselect-convert-to-integer)
18049 (xselect-convert-to-atom, xselect-convert-to-identity):
18050 * subr.el (declare, ignore, process-kill-without-query)
18051 (text-clone-maintain):
18052 * terminal.el (te-get-char, te-tic-sentinel):
18053 * tool-bar.el (tool-bar-make-keymap):
18054 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18055 * type-break.el (type-break-mode, type-break-noninteractive-query):
18056 * view.el (View-back-to-mark):
18057 * wid-browse.el (widget-browse-action, widget-browse-widget)
18058 (widget-browse-widgets, widget-browse-sexp):
18059 * widget.el (define-widget-keywords):
18060 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18061 Mark unused parameters.
18062
18063 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18064 (align-areas): Remove unused variable `look'.
18065 (align-region): Remove unused variables `real-end' and `pos-list'.
18066
18067 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18068
18069 * bindings.el (mode-line-modified, mode-line-remote):
18070 Mark unused parameters.
18071 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18072
18073 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18074 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18075
18076 * comint.el (comint-history-isearch-pop-state)
18077 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18078 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18079 (comint-substitute-in-file-name): Doc fix.
18080
18081 * completion.el (cmpl-statistics-block): Mark unused parameter.
18082 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18083 (save-completions-to-file, load-completions-from-file):
18084 Remove unused local variable `e'.
18085
18086 * composite.el (compose-chars): Remove unused variable `len'.
18087 (lgstring-insert-glyph): Remove unused variable `g'.
18088 (compose-glyph-string): Remove unused variables `ascent',
18089 `descent', `lbearing' and `rbearing'.
18090 (compose-glyph-string-relative): Remove unused variables
18091 `lbearing', `rbearing' and `wadjust'.
18092 (compose-gstring-for-graphic): Remove unused variables `header',
18093 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18094 (compose-gstring-for-terminal): Remove unused variables `header'
18095 and `nchars'. Use `let', not `let*'.
18096
18097 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18098 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18099 (Custom-buffer-done, custom-buffer-create-internal)
18100 (custom-browse-visibility-action, custom-browse-group-tag-action)
18101 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18102 (widget-magic-mouse-down-action, custom-toggle-parent)
18103 (custom-add-parent-links, custom-toggle-hide-variable)
18104 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18105 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18106 (custom-face-menu-create, custom-variable-menu-create, get)
18107 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18108 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18109 (customize-apropos): Remove unused variable `tests'.
18110 (custom-group-value-create): Remove unused variable `hidden-p'.
18111 (sort-fold-case): Declare.
18112
18113 * cus-theme.el (custom-reset-standard-faces-list)
18114 (custom-reset-standard-variables-list): Declare.
18115 (customize-create-theme, custom-theme-revert, custom-theme-write)
18116 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18117 Mark unused parameters.
18118
18119 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18120
18121 * delim-col.el (delimit-columns-max): Move defvar before first use.
18122
18123 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18124 (describe-char): Don't quote `lambda'. Mark unused parameter.
18125
18126 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18127 (auto-insert): Declare.
18128 (desktop-restore-file-buffer): Rename desktop-* parameters;
18129 mark unused ones.
18130 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18131 (desktop-buffer): Rename desktop-* parameters.
18132
18133 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18134 (dframe-reposition-frame-xemacs, dframe-help-echo)
18135 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18136 Mark unused parameters.
18137
18138 * dired-aux.el (backup-extract-version-start, overwrite-query)
18139 (overwrite-backup-query, rename-regexp-query)
18140 (rename-non-directory-query): Declare.
18141 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18142 (dired-add-entry): Remove unused variable `orig-file-name'.
18143 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18144 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18145 `dired-copy-preserve-time' directly.
18146 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18147 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18148
18149 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18150 (dired-virtual-revert, dired-make-relative-symlink):
18151 Mark unused parameters.
18152 (manual-program): Declare.
18153 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18154 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18155 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18156
18157 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18158
18159 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18160
18161 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18162 Declare.
18163
18164 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18165
18166 * electric.el (Electric-command-loop): Rename parameter
18167 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18168
18169 * expand.el (expand-in-literal): Remove unused variable `here'.
18170
18171 * facemenu.el (facemenu-add-new-color):
18172 Remove unused variable `docstring'.
18173
18174 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18175 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18176 (face-attr-construct): Mark unused parameter. Doc fix.
18177 (read-color): Remove unused variable `hex-string'.
18178
18179 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18180 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18181 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18182 (display-buffer-other-frame): Remove unused variable `old-window'.
18183 (kill-buffer-hook): Declare.
18184 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18185 Mark unused parameters.
18186 (after-find-file): Pass 1 to `auto-save-mode', not t.
18187
18188 * files-x.el (auto-insert): Declare.
18189 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18190
18191 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18192 variable `buf'. Mark unused parameter.
18193 (find-lisp-insert-directory): Mark unused parameter.
18194
18195 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18196 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18197 (format-common-tail): Remove, unused.
18198 (format-deannotate-region): Remove unused variable `loc'.
18199 (format-annotate-region): Remove unused variable `p'.
18200 (format-annotate-single-property-change): Remove unused variables
18201 `default' and `tail'.
18202
18203 * forms.el (read-file-filter): Declare.
18204 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18205
18206 * frame.el (frame-creation-function-alist): Mark unused parameter.
18207 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18208
18209 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18210 Remove unused parameters.
18211 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18212 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18213
18214 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18215 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18216 (hfy-prepare-tag-map): Mark unused parameters.
18217 (htmlfontify-buffer): Use `called-interactively-p'.
18218
18219 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18220 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18221 (ibuffer-do-occur): Mark unused parameters.
18222 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18223 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18224
18225 * ibuffer.el: Don't quote `lambda'.
18226 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18227 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18228 Mark unused parameters.
18229
18230 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18231 (ido-completing-read): Mark unused parameters.
18232 (ido-copy-current-word): Mark unused parameters;
18233 remove unused variable `name'.
18234 (ido-sort-merged-list): Remove unused parameter `dirs'.
18235
18236 * ielm.el (ielm-input-sender): Mark unused parameter.
18237 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18238 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18239 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18240 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18241 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18242
18243 * image-dired.el (image-dired-display-thumbs): Remove unused
18244 variables `curr-file' and `count'.
18245 (image-dired-remove-tag): Remove unused variable `start'.
18246 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18247 variable `curr-file'
18248 (image-dired-rotate-original): Remove unused variable `temp-file'.
18249 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18250 Remove unused variable `file'.
18251 (image-dired-gallery-generate): Remove unused variable `curr'.
18252 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18253
18254 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18255
18256 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18257
18258 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18259
18260 * isearch.el (minibuffer-history-symbol): Declare.
18261 (isearch-edit-string): Remove unused variable `err'.
18262 (isearch-message-prefix, isearch-message-suffix):
18263 Mark unused parameters.
18264
18265 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18266
18267 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18268
18269 * makesum.el (double-column): Remove unused variable `cnt'.
18270
18271 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18272 (ido-ignore-item-temp-list): Declare.
18273
18274 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18275 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18276 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18277 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18278 `mouse-col-delta'.
18279
18280 * mouse-sel.el (mouse-extend-internal):
18281 Remove unused variable `orig-window-frame'.
18282
18283 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18284 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18285 Move declarations before first use.
18286 (pcomplete-opt): Mark unused parameters; doc fix.
18287
18288 * proced.el (proced-revert): Mark unused parameter.
18289 (proced-send-signal): Remove unused variable `err'.
18290
18291 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18292 Rename parameter PREFIX-ARG to ARG.
18293 (ps-basic-plot-string, ps-basic-plot-whitespace):
18294 Mark unused parameters.
18295
18296 * replace.el (replace-count): Define.
18297 (occur-revert-function): Mark unused parameters.
18298 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18299 (isearch-case-fold-search, isearch-string): Declare.
18300 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18301 bind `case-fold-search'. Remove unused variables `beg' and `end',
18302 and simplify.
18303 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18304 COUNT and bind `replace-count'.
18305 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18306 to COUNT.
18307
18308 * savehist.el (print-readably, print-string-length): Declare.
18309
18310 * shadowfile.el (shadow-expand-cluster-in-file-name):
18311 Remove unused variable `cluster'.
18312 (shadow-copy-file): Remove unused variable `i'.
18313 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18314 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18315 (shadow-define-literal-group, shadow-define-regexp-group)
18316 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18317
18318 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18319 (shell): Use `called-interactively-p'.
18320 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18321
18322 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18323 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18324 (delete-backward-char): Remove unused variable `ocol'.
18325 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18326 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18327 (event-apply-hyper-modifier, event-apply-shift-modifier)
18328 (event-apply-control-modifier, event-apply-meta-modifier):
18329 Mark unused parameters.
18330 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18331 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18332
18333 * speedbar.el (speedbar-ignored-directory-expressions)
18334 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18335 (speedbar-find-file, speedbar-dir-follow)
18336 (speedbar-directory-buttons-follow, speedbar-tag-find)
18337 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18338 (speedbar-buffers-line-directory, speedbar-buffer-click):
18339 Mark unused parameters.
18340 (speedbar-tag-file): Remove unused variable `mode'.
18341 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18342
18343 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18344
18345 * talk.el (talk): Remove unused variable `display'.
18346
18347 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18348 (tar-write-region-annotate): Mark unused parameter.
18349
18350 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18351 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18352 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18353 warning by another.
18354
18355 * time-stamp.el (time-stamp-string-preprocess):
18356 Remove unused variable `require-padding'.
18357
18358 * tree-widget.el (widget-glyph-enable): Declare.
18359 (tree-widget-action): Mark unused parameter.
18360
18361 * w32-fns.el (x-get-selection): Mark unused parameter.
18362 (autoload-make-program, generated-autoload-file): Declare.
18363
18364 * wdired.el (wdired-revert): Mark unused parameters.
18365 (wdired-xcase-word): Remove unused variable `err'.
18366
18367 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18368 (whitespace-help-scroll): Remove unused variable `data-help'.
18369
18370 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18371 (widget-image-insert, widget-after-change, default)
18372 (widget-default-format-handler, widget-default-notify)
18373 (widget-default-prompt-value, widget-info-link-action)
18374 (widget-url-link-action, widget-function-link-action)
18375 (widget-variable-link-action, widget-file-link-action)
18376 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18377 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18378 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18379 (widget-insert-button-action, widget-delete-button-action, visibility)
18380 (widget-documentation-link-action, widget-documentation-string-action)
18381 (widget-const-prompt-value, widget-regexp-match, symbol)
18382 (widget-coding-system-prompt-value)
18383 (widget-key-sequence-value-to-external, sexp)
18384 (widget-sexp-value-to-internal, character, vector, cons)
18385 (widget-choice-prompt-value, widget-boolean-prompt-value)
18386 (widget-color--choose-action): Mark unused parameters.
18387 (widget-item-match-inline, widget-choice-match-inline)
18388 (widget-checklist-match, widget-checklist-match-inline)
18389 (widget-group-match): Rename parameter VALUES to VALS.
18390 (widget-field-value-set): Remove unused variable `size'.
18391 (widget-color-action): Remove unused variables `value' and `start'.
18392
18393 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18394 variable `dir'. Doc fix.
18395 (windmove-find-other-window): Don't pass it.
18396
18397 * window.el (count-windows): Mark unused parameter.
18398 (bw-adjust-window): Remove unused variable `err'.
18399
18400 * woman.el (woman-file-name): Remove unused variable `default'.
18401 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18402 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18403 (global-font-lock-mode): Declare.
18404 (woman-decode-region): Mark unused parameter.
18405 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18406
18407 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18408 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18409 (x-dnd-handle-moz-url): Remove unused variable `title'.
18410 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18411
18412 * xml.el (xml-parse-tag, xml-parse-attlist):
18413 Remove unused variable `pos'.
18414
18415 2011-04-19 Glenn Morris <rgm@gnu.org>
18416
18417 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18418 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18419 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18420 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18421 * calendar/cal-html.el (cal-html-insert-minical):
18422 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18423 (calendar-mark-date-pattern):
18424 Prefix "unused" locals.
18425
18426 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18427 optional argument `style'.
18428
18429 * calendar/appt.el (appt-make-list):
18430 * calendar/cal-china.el (calendar-chinese-date-string):
18431 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18432 (diary-hebrew-yahrzeit):
18433 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18434 * calendar/calendar.el (calendar-generate-window):
18435 * calendar/time-date.el (time-to-days):
18436 Remove unused local variables.
18437
18438 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18439
18440 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18441 glyphless-char-display table.
18442 (tabulated-list-glyphless-char-display): New var.
18443
18444 2011-04-18 Sam Steingold <sds@gnu.org>
18445
18446 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18447 to acknowledgments.
18448
18449 2011-04-17 Glenn Morris <rgm@gnu.org>
18450
18451 * calendar/diary-lib.el (diary-sexp-entry):
18452 * calendar/holidays.el (holiday-sexp):
18453 Set debug-on-error rather than the removed stack-trace-on-error.
18454
18455 2011-04-16 Glenn Morris <rgm@gnu.org>
18456
18457 * progmodes/f90.el: Use lexical-binding.
18458 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18459
18460 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18463 (mail-mode): Setup mailalias completion here instead.
18464 * mail/mailalias.el: Use lexical-binding.
18465 (pattern, mailalias-done): Declare dynamic.
18466 (mail-completion-at-point-function): New function, from mail-complete.
18467 (mail-complete): Use it.
18468 (mail-completion-expand): New function.
18469 (mail-get-names): Use it.
18470 (mail-directory, mail-directory-process, mail-directory-stream):
18471 Don't use `pattern' for lexically bound arg.
18472
18473 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18474
18475 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18476 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18477 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18478
18479 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18480 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18481 (byte-interactive-p): Define them again, for use when inlining
18482 old code.
18483
18484 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18485
18486 * loadup.el: Use `string-to-number', not `string-to-int'.
18487
18488 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18489
18490 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18491 gud-gdb-complete-command.
18492 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18493 (gud-gdb-completion-at-point): New function.
18494 (gud-gdb-completions): Remove.
18495
18496 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18497
18498 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18499 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18500 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18501 whether `executable-find' is bound.
18502
18503 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18504
18505 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18506
18507 * minibuffer.el (completion-in-region-mode-predicate)
18508 (completion-in-region-mode--predicate): New vars.
18509 (completion-in-region, completion-in-region--postch)
18510 (completion-in-region-mode): Use them.
18511 (completion--capf-wrapper): Also return the hook function.
18512 (completion-at-point, completion-help-at-point):
18513 Adjust and provide a predicate.
18514
18515 Preserve arg names for advice of subr and lexical functions (bug#8457).
18516 * help-fns.el (help-function-arglist): Consolidate the subr and
18517 new-byte-code cases. Add argument `preserve-names' to extract names
18518 from the docstring when needed.
18519 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18520 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18521 (ad-arglist): Use help-function-arglist's new arg.
18522 (ad-definition-type): Use cond.
18523
18524 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18525
18526 * autorevert.el (auto-revert-handler):
18527 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18528 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18529 Don't quote lambda.
18530
18531 * image-mode.el (image-transform-set-scale):
18532 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18533
18534 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18535
18536 * net/network-stream.el (network-stream-open-starttls): Only do
18537 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18538 Upgrades via gnutls-cli are too slow to be done opportunistically.
18539
18540 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18541
18542 * dframe.el (dframe-current-frame): Remove spurious quote.
18543
18544 2011-04-12 Glenn Morris <rgm@gnu.org>
18545
18546 * calendar/cal-tex.el (cal-tex-end-document):
18547 Try to automatically use latin1 input if needed.
18548
18549 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18550 Don't try to cons a mark onto an empty element.
18551
18552 2011-04-11 Leo Liu <sdl.web@gmail.com>
18553
18554 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18555 buffers.
18556 (ido-kill-buffer-at-head): Support killing virtual buffers.
18557
18558 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * minibuffer.el (completion-show-inline-help): New var.
18561 (completion--do-completion, minibuffer-complete)
18562 (minibuffer-force-complete, minibuffer-complete-word):
18563 Inhibit minibuffer messages if completion-show-inline-help is nil.
18564
18565 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18566 to avoid interference from inline help (Bug#5849).
18567
18568 2011-04-10 Leo Liu <sdl.web@gmail.com>
18569
18570 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18571 Fix typo.
18572
18573 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18574
18575 * image-mode.el (image-toggle-display-image): Signal an error if
18576 not in Image mode.
18577 (image-transform-mode, image-transform-resize)
18578 (image-transform-set-rotation): Doc fix.
18579 (image-transform-set-resize): Delete.
18580 (image-transform-set-scale, image-transform-fit-to-height)
18581 (image-transform-fit-to-width): Handle image-toggle-display-image
18582 and image-transform-resize directly.
18583
18584 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18585
18586 * doc-view.el (doc-view-fit-width-to-window)
18587 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18588 New functions for fitting the shown image to the Emacs window size.
18589 (doc-view-mode-map): Add bindings for the new functions.
18590
18591 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18592
18593 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18594 Fix typo in docstring.
18595
18596 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18597
18598 * files.el (file-size-human-readable): Produce one digit after
18599 decimal, like "ls -lh" does.
18600
18601 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18602 the file size representation.
18603
18604 * simple.el (list-processes): If async subprocesses are not
18605 available, error out with a clear error message.
18606
18607 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18608
18609 * help.el (help-form-show): New function, to be called from C.
18610 Put help-form output in a buffer named differently than *Help*.
18611
18612 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18613
18614 * files.el (file-size-human-readable): New function.
18615
18616 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18617 computing the representation inline. Don't require `cl'.
18618
18619 2011-04-08 Glenn Morris <rgm@gnu.org>
18620
18621 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18622
18623 * net/browse-url.el (browse-url-firefox):
18624 Test system-type, not system-configuration.
18625
18626 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18627 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18628 Use log-edit-empty-buffer-p. (Bug#7598)
18629
18630 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18631 (rlogin-mode-map): Initialize in the defvar.
18632 (rlogin): Use ignore-errors.
18633
18634 * replace.el (occur-mode-map): Some fixes for menu items.
18635
18636 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18637
18638 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18639
18640 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18641
18642 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18643 issuing unused warnings.
18644
18645 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18646 macro directly.
18647
18648 * simple.el: Lisp reimplement of list-processes. Based on an
18649 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18650 (process-menu-mode): New major mode.
18651 (list-processes--refresh, list-processes):
18652 (process-menu-visit-buffer): New functions.
18653
18654 * files.el (save-buffers-kill-emacs): Don't assume any return
18655 value of list-processes, which is undocumented anyway.
18656
18657 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18658
18659 * emacs-lisp/tabulated-list.el: New file.
18660
18661 * emacs-lisp/package.el: Use Tabulated List mode.
18662 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18663 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18664 table format using Tabulated List mode variables.
18665 (package--push): New macro, replacing package-list-maybe-add.
18666 (package-menu--generate): Use package--push. Renamed from
18667 package--generate-package-list.
18668 (package-menu-refresh, list-packages): Use it.
18669 (package-menu--print-info): Rename from package-print-package.
18670 Return insertion data instead of inserting it directly.
18671 (package-menu-describe-package, package-menu-execute):
18672 Use tabulated-list-get-id.
18673 (package-menu-mark-delete, package-menu-mark-install)
18674 (package-menu-mark-unmark, package-menu-backup-unmark)
18675 (package-menu-mark-obsolete-for-deletion):
18676 Use tabulated-list-put-tag.
18677 (package--list-packages, package-menu-revert)
18678 (package-menu-get-package, package-menu-get-version)
18679 (package-menu-sort-by-column): Functions deleted.
18680 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18681 (package-menu--status-predicate, package-menu--version-predicate)
18682 (package-menu--name-predicate)
18683 (package-menu--description-predicate): Handle arguments in the
18684 Tabulated List format.
18685 (package-list-packages-no-fetch): Call list-packages.
18686
18687 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18688
18689 * files.el (after-find-file-from-revert-buffer): Remove variable.
18690 (after-find-file): Don't bind it.
18691 (revert-buffer-in-progress-p): New variable.
18692 (revert-buffer): Bind it.
18693 Pass nil for `after-find-file-from-revert-buffer'.
18694
18695 * saveplace.el (save-place-find-file-hook): Use new variable
18696 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18697
18698 2011-04-06 Glenn Morris <rgm@gnu.org>
18699
18700 * Makefile.in (AUTOGEN_VCS): New variable.
18701 (autoloads): Use $AUTOGEN_VCS.
18702
18703 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18704 * calendar/calendar.el (calendar-mode-map):
18705 Check for toolkit scroll bars. (Bug#8305)
18706
18707 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18708
18709 * minibuffer.el (completion-in-region--postch)
18710 (completion-in-region-mode): Remove unnecessary messages.
18711
18712 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18713
18714 * font-lock.el (font-lock-refresh-defaults):
18715 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18716 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18717
18718 * info.el (Info-directory-list, Info-read-node-name-2)
18719 (Info-split-parameter-string): Doc fixes.
18720 (Info-virtual-nodes): Reflow docstring.
18721 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18722 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18723 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18724 Fix typos in docstrings.
18725 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18726 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18727 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18728 (Info-restore-desktop-buffer): Mark unused parameters.
18729 (Info-directory-find-file, Info-directory-find-node)
18730 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18731 (Info-virtual-index-find-node, Info-apropos-find-file)
18732 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18733 Mark unused parameters; fix typos in docstrings.
18734 (Info-virtual-index): Remove unused local variable `nodename'.
18735
18736 2011-04-05 Deniz Dogan <deniz@dogan.se>
18737
18738 * net/rcirc.el: Update my e-mail address.
18739 (rcirc-mode-map): Remove M-o binding.
18740
18741 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * startup.el (command-line): Save the cursor's theme-face
18744 directly, instead of using face-override-spec.
18745
18746 * custom.el (load-theme): Minor optimization in assigning faces.
18747
18748 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18749
18750 * help-fns.el (describe-variable): Complete all variables having
18751 documentation, including keywords.
18752 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18753
18754 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18755
18756 Convert to lexical-binding.
18757
18758 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18759 (bs--get-marked-string, bs--get-modified-string)
18760 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18761 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18762 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18763
18764 * ehelp.el (electric-help-execute-extended)
18765 (electric-help-ctrl-x-prefix):
18766 * hexl.el (hexl-revert-buffer-function):
18767 * linum.el (linum-after-change, linum-after-scroll):
18768 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18769
18770 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18771
18772 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18773
18774 * epa-dired.el:
18775 * epa-mail.el:
18776 * epa-hook.el:
18777 * epa-file.el:
18778 * epa.el:
18779 * epg.el: Use lexical binding.
18780
18781 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18782
18783 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18784
18785 * textmodes/flyspell.el (flyspell-word): Recognize default
18786 dictionary case for flyspell-mark-duplications-exceptions.
18787 Use regexp matching for languages.
18788 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18789 default dictionary (Bug#7926).
18790
18791 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18792
18793 * emacs-lisp/package.el (package--with-work-buffer):
18794 Recognize https URLs.
18795
18796 * net/network-stream.el: Move from gnus/proto-stream.el.
18797 Change prefix to network-stream throughout.
18798 (open-protocol-stream): Merge into open-network-stream, leaving
18799 open-protocol-stream as an alias. Handle nil BUFFER args.
18800
18801 * subr.el (open-network-stream): Move to net/network-stream.el.
18802
18803 2011-04-02 Glenn Morris <rgm@gnu.org>
18804
18805 * find-dired.el (find-exec-terminator): New option.
18806 (find-ls-option): Test for -ls support.
18807 (find-ls-subdir-switches): Test for -b in find-ls-option.
18808 (find-dired, find-grep-dired): Doc fixes.
18809 (find-dired): Use find-exec-terminator.
18810
18811 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18812 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18813 (find-name-arg): Remove purecopy.
18814
18815 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18816 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18817 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18818 accordingly. Don't add the null-device if not needed.
18819
18820 * files.el (save-some-buffers): Doc fix.
18821
18822 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18823
18824 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18825
18826 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18827
18828 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18829 Use `dolist' rather than `mapcar'.
18830
18831 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18832
18833 Add lexical binding.
18834
18835 * subr.el (apply-partially): Use new closures rather than CL.
18836 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18837 (dolist, dotimes): Use slightly different expansion for lexical code.
18838 (functionp): Move to C.
18839 (letrec): New macro.
18840 (with-wrapper-hook): Use it and apply-partially instead of CL.
18841 (eval-after-load): Preserve lexical-binding.
18842 (save-window-excursion, with-output-to-temp-buffer): Turn them
18843 into macros.
18844
18845 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18846
18847 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18848 than the arglist.
18849 (help-add-fundoc-usage): Don't add `Not documented'.
18850 (help-function-arglist): Handle closures, subroutines, and new
18851 byte-code-functions.
18852 (help-make-usage): Remove leading underscores.
18853 (describe-function-1): Handle closures.
18854 (describe-variable): Use special-variable-p for completion.
18855
18856 * files.el (lexical-binding): Declare safe.
18857
18858 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18859 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18860 (pcase): Add `let' pattern.
18861 Change memoization so it actually works.
18862 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18863 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18864 <let>: New case.
18865
18866 * emacs-lisp/macroexp.el: Use lexical binding.
18867 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18868 Don't convert ' to #' without checking that it's indeed quoting
18869 a lambda.
18870
18871 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18872 Use eval-sexp-add-defvars.
18873 (eval-sexp-add-defvars): New fun.
18874
18875 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18876
18877 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18878 Don't autoload.
18879 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18880 than the internal `byte-compile-lambda'.
18881 (defmethod): Don't hide code under quotes.
18882 (eieio-defmethod): New `code' argument.
18883
18884 * emacs-lisp/eieio-comp.el: Remove.
18885
18886 * emacs-lisp/edebug.el (edebug-eval-defun)
18887 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18888 (edebug-toggle): Avoid `eval'.
18889
18890 * emacs-lisp/disass.el (disassemble-internal): Handle new
18891 `closure' objects.
18892 (disassemble-1): Handle new byte codes.
18893
18894 * emacs-lisp/cl.el (pushnew): Silence warning.
18895
18896 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18897 (cl-byte-compile-throw): Remove.
18898 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18899
18900 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18901 closures.
18902
18903 * emacs-lisp/cconv.el: New file.
18904
18905 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18906 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18907 (byte-compile-initial-macro-environment):
18908 Handle declare-function here.
18909 (byte-compile--lexical-environment): New var.
18910 (byte-stack-ref, byte-stack-set, byte-discardN)
18911 (byte-discardN-preserve-tos): New lap codes.
18912 (byte-interactive-p): Don't use any more.
18913 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18914 New macros.
18915 (byte-compile-lapcode): Use them and handle new lap codes.
18916 (byte-compile-obsolete): Remove.
18917 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18918 (byte-compile-arglist-warn): Check late def of inlinable funs.
18919 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18920 since they should have been expanded by now.
18921 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18922 (byte-compile-from-buffer): Remove unused second arg.
18923 (byte-compile-preprocess): New function.
18924 (byte-compile-toplevel-file-form): New function to distinguish
18925 file-form calls from outside from file-form calls from hunk-handlers.
18926 (byte-compile-file-form): Simplify.
18927 (byte-compile-file-form-defsubst): Remove.
18928 (byte-compile-file-form-defmumble): Simplify now that
18929 byte-compile-lambda always returns a byte-code-function.
18930 (byte-compile): Preprocess.
18931 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18932 Remove, not used any more.
18933 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18934 (byte-compile-make-args-desc): New funs.
18935 (byte-compile-lambda): Handle lexical functions. Always return
18936 a byte-code-function.
18937 (byte-compile-reserved-constants): New var, to make up room for
18938 closed-over variables.
18939 (byte-compile-constants-vector): Obey it.
18940 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18941 (byte-compile-macroexpand-declare-function): New function.
18942 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18943 byte-code-functions.
18944 (byte-compile-form): Check obsolescence here.
18945 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18946 (byte-compile-variable-ref): Remove.
18947 (byte-compile-dynamic-variable-op): New fun.
18948 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18949 (byte-compile-variable-set): New funs.
18950 (byte-compile-discard): Add 2 args.
18951 (byte-compile-stack-ref, byte-compile-stack-set)
18952 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18953 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18954 macroexpand-all instead.
18955 (byte-compile-quote-form): Remove.
18956 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18957 (byte-compile-bind, byte-compile-unbind): New funs.
18958 (byte-compile-let): Handle let* and lexical binding.
18959 (byte-compile-let*): Remove.
18960 (byte-compile-catch, byte-compile-unwind-protect)
18961 (byte-compile-track-mouse, byte-compile-condition-case):
18962 Handle a new :fun-body form, used for lexical scoping.
18963 (byte-compile-save-window-excursion)
18964 (byte-compile-with-output-to-temp-buffer): Remove.
18965 (byte-compile-defun): Simplify.
18966 (byte-compile-stack-adjustment): New fun.
18967 (byte-compile-out): Use it.
18968 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18969
18970 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18971 handler any more.
18972
18973 * emacs-lisp/byte-opt.el: Use lexical binding.
18974 (byte-inline-lapcode): Remove (to bytecomp).
18975 (byte-compile-inline-expand): Pay attention to inlining to/from
18976 lexically bound code.
18977 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18978 any more.
18979 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18980 any more and don't call compiler-macros.
18981 (byte-compile-splice-in-already-compiled-code): Remove.
18982 (byte-code): Don't inline any more.
18983 (disassemble-offset): Receive `bytes' as argument rather than via
18984 dynamic scoping.
18985 (byte-compile-tag-number): Declare before first use.
18986 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18987 `return' even if make-spliceable.
18988 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18989 obsolete interactive-p.
18990 (byte-optimize-lapcode): Optimize new lap-codes.
18991 Don't trip up on new form of `byte-constant' lap code.
18992
18993 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18994
18995 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18996
18997 * custom.el (custom-initialize-default, custom-declare-variable):
18998 Use `defvar'.
18999
19000 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19001 New variables.
19002 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19003 (COMPILE_FIRST): Add macroexp and cconv.
19004 * makefile.w32-in: Mirror changes in Makefile.in.
19005
19006 * vc/cvs-status.el:
19007 * vc/diff-mode.el:
19008 * vc/log-edit.el:
19009 * vc/log-view.el:
19010 * vc/smerge-mode.el:
19011 * textmodes/bibtex-style.el:
19012 * textmodes/css-mode.el:
19013 * startup.el:
19014 * uniquify.el:
19015 * minibuffer.el:
19016 * newcomment.el:
19017 * reveal.el:
19018 * server.el:
19019 * mpc.el:
19020 * emacs-lisp/smie.el:
19021 * doc-view.el:
19022 * dired.el:
19023 * abbrev.el: Use lexical binding.
19024
19025 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19026
19027 * info.el (info-display-manual): New function.
19028
19029 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19032
19033 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19034
19035 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19036 an entry for that server in rcirc-authinfo. (Bug#8385)
19037
19038 2011-03-31 Glenn Morris <rgm@gnu.org>
19039
19040 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19041
19042 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19043
19044 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19045
19046 * progmodes/python.el (python-default-interpreter)
19047 (python-python-command-args, python-jython-command-args)
19048 (python-which-shell, python-which-args, python-which-bufname)
19049 (python-file-queue, python-comint-output-filter-function)
19050 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19051 variables and functions.
19052
19053 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19054
19055 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19056 (completion-in-region-mode): New minor mode.
19057 (completion-in-region): Use it.
19058 (completion-in-region--data, completion-in-region-mode-map): New vars.
19059 (completion-in-region--postch): New function.
19060 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19061 New vars.
19062 (completion--capf-wrapper): New function.
19063 (completion-at-point): Use it to track well-behavedness of
19064 hook functions.
19065 (completion-help-at-point): New command.
19066
19067 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19068
19069 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19070 syntax class to search for whitespace on a single line
19071 (Message-ID: <4D938140.4030905@redhat.com>).
19072
19073 2011-03-30 Leo Liu <sdl.web@gmail.com>
19074
19075 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19076 New commands.
19077 (edit-abbrevs-map): Bind them here.
19078 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19079
19080 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19081
19082 * allout.el (allout-hide-by-annotation, allout-flag-region):
19083 Reduce possibility of overlay leakage by making them volatile.
19084
19085 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19086 hash is not shared between buffers. Mode initialization is
19087 responsible for giving it a useful starting value.
19088 (allout-item-span): Reduce possibility of overlay leakage by
19089 making them volatile.
19090 (allout-widgets-count-buttons-in-region): Add diagnostic function
19091 for tracking down button overlay leaks.
19092
19093 2011-03-29 Leo Liu <sdl.web@gmail.com>
19094
19095 * ido.el (ido-read-internal): Use the default history var
19096 minibuffer-history if no HISTORY is specified.
19097
19098 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19099
19100 * net/imap.el (imap-shell-open, imap-process-connection-type):
19101 Use imap-process-connection-type for 'shell' streams as well as
19102 Kerberos, SSL, other subprocesses.
19103
19104 2011-03-28 Leo Liu <sdl.web@gmail.com>
19105
19106 * abbrev.el (abbrev-table-empty-p): New function.
19107 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19108 nonempty ones. (Bug#5937)
19109
19110 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19111
19112 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19113
19114 2011-03-27 Leo Liu <sdl.web@gmail.com>
19115
19116 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19117 for foreground and background colors.
19118 (ansi-color-make-color-map): Adapt.
19119
19120 2011-03-25 Leo Liu <sdl.web@gmail.com>
19121
19122 * midnight.el (midnight-time-float): Remove. Note it calculates
19123 the microsecond component incorrectly and seconds-to-time does the
19124 same job.
19125 Remove redundant (require 'timer).
19126
19127 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19128 (ido-completions): Remove unused arguments. (Bug#8329)
19129
19130 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19131
19132 * minibuffer.el (completion--flush-all-sorted-completions):
19133 Remove itself from hook.
19134 (completion-at-point): Let the functions perform the completion
19135 immediately and return nil or t.
19136 * comint.el (comint-dynamic-complete-functions): Now identical to
19137 completion-at-point-functions.
19138 (comint-dynamic-list-input-ring): Remove unused var `index'.
19139 (comint--match-partial-filename, comint--unquote&expand-filename):
19140 New funs, split from comint-match-partial-filename.
19141 (comint-dynamic-complete): Use completion-at-point.
19142 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19143
19144 2011-03-24 Drew Adams <drew.adams@oracle.com>
19145
19146 * thingatpt.el: Support `defun'.
19147
19148 2011-03-23 Leo Liu <sdl.web@gmail.com>
19149
19150 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19151
19152 * help-mode.el (help-mode-finish): Tweak regexp.
19153
19154 2011-03-23 Glenn Morris <rgm@gnu.org>
19155
19156 * eshell/esh-opt.el (eshell-eval-using-options):
19157 Do not bind unused local variable `eshell-option-stub'.
19158
19159 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19160
19161 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19162
19163 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19164 keymap variable in `with-no-warnings' to avoid a warning when the
19165 keymap has been already `defconst'ed.
19166
19167 2011-03-22 Leo Liu <sdl.web@gmail.com>
19168
19169 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19170 encode all chars in abbrevs; otherwise use emacs-mule or
19171 utf-8-emacs. (Bug#8308)
19172
19173 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19174
19175 * simple.el (backward-delete-char-untabify):
19176 Avoid warning about using `delete-backward-char'.
19177
19178 * image.el (image-type-file-name-regexps): Make it variable.
19179 `imagemagick-register-types' modifies it, and the user may want
19180 to add new extensions for known image types.
19181 (imagemagick-register-types): Throw error if not using ImageMagick.
19182
19183 2011-03-22 Leo Liu <sdl.web@gmail.com>
19184
19185 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19186 located before rcirc-prompt-end-marker.
19187 (rcirc-complete): Error if point is not after rcirc prompt.
19188 Handle the case when table is nil.
19189 (rcirc-user-authenticated): Define to fix compiler warning.
19190
19191 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * custom.el (custom--inhibit-theme-enable): Make it affect only
19194 custom-theme-set-variables and custom-theme-set-faces.
19195 (provide-theme): Ignore custom--inhibit-theme-enable.
19196 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19197 (custom-enabling-themes): Delete variable.
19198 (enable-theme): Accept only loaded themes as arguments.
19199 Ignore the special custom-enabled-themes variable.
19200 (custom-enabled-themes): Forbid themes from setting this.
19201 Eliminate use of custom-enabling-themes.
19202 (custom-push-theme): Quote "changed" custom var entry.
19203
19204 2011-03-21 Leo Liu <sdl.web@gmail.com>
19205
19206 * ido.el (ido-read-internal): Add ido-selected to history instead
19207 of user input.
19208
19209 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19210
19211 * subr.el (deferred-action-list, deferred-action-function):
19212 Mark obsolete.
19213
19214 2011-03-21 Leo Liu <sdl.web@gmail.com>
19215
19216 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19217 change on 2011-02-13 (bug#8309).
19218
19219 * minibuffer.el (read-file-name-function): Change default value.
19220 (read-file-name--defaults): Rename from read-file-name-defaults.
19221 (read-file-name-default): Rename from read-file-name.
19222 (read-file-name): Call read-file-name-function.
19223
19224 2011-03-21 Glenn Morris <rgm@gnu.org>
19225
19226 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19227 Doc fixes.
19228
19229 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19230
19231 * cus-theme.el: Add missing provide statement.
19232 (customize-create-theme): Extract theme value correctly.
19233 (custom-theme-visit-theme): Autoload.
19234 (customize-create-theme): Prompt before inserting default faces.
19235
19236 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19237
19238 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19239 units and musical notes.
19240
19241 2011-03-20 Leo Liu <sdl.web@gmail.com>
19242
19243 * ido.el (ido-read-internal): Use completing-read-default.
19244 (ido-completing-read): Fix compatibility with completing-read.
19245
19246 2011-03-20 Christian Ohler <ohler@gnu.org>
19247
19248 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19249 (ert-delete-all-tests): Use `called-interactively-p' rather than
19250 `interactive-p'.
19251 (ert--make-xrefs-region): Respect END.
19252
19253 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19254
19255 * dired-aux.el (dired-create-directory): Signal an error if the
19256 directory already exists (Bug#8246).
19257
19258 * facemenu.el (list-colors-display): Call list-faces-display
19259 inside with-help-window.
19260 (list-colors-print): Use display property to align the final
19261 column, instead of checking window-width.
19262
19263 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19264
19265 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19266 windows-nt systems.
19267 (emerge-protect-metachars): Quote correctly for ms-dos and
19268 windows-nt systems.
19269
19270 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19271
19272 * info.el (info-initialize): Replace all uses of `:' with
19273 path-separator for compatibility with non-Unix systems.
19274 Cache quoting of path-separator. (Bug#8258)
19275
19276 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19279 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19280 (mouse-avoidance-mode): Fix typos in docstrings.
19281
19282 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19283
19284 * startup.el (package-subdirectory-regexp): Move from package.el.
19285 Omit \\` and \\', and let callers add them.
19286
19287 * emacs-lisp/package.el (package-strip-version)
19288 (package-load-all-descriptors): Add \\` and \\' to
19289 package-subdirectory-regexp before using it.
19290 (package-untar-buffer): New arg DIR; ensure that file untars only
19291 into this expected directory. Remove superfluous delete-region.
19292 (package-unpack): Caller changed.
19293 (package-tar-file-info): Use package-subdirectory-regexp.
19294
19295 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19296
19297 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19298 diff-mode-shared-map (bug#8284).
19299 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19300
19301 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19302
19303 * calendar/time-date.el (format-seconds): Use assoc instead of
19304 assoc-string, since assoc-string doesn't exist in XEmacs.
19305
19306 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19307
19308 * custom.el (custom-known-themes): Reflow docstring.
19309 (custom-theme-load-path): Fix typo in docstring.
19310 (load-theme): Fix typo in error message.
19311 (custom-available-themes, custom-variable-theme-value):
19312 Use `let', not `let*'.
19313
19314 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19315
19316 * calc/README: Mention inclusion of musical notes.
19317
19318 * calc/calc-units.el (calc-lu-quant): Rename from
19319 `calc-logunits-quantity'.
19320 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19321 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19322 (calc-db): Rename from `calc-dblevel'.
19323 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19324 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19325 (calc-np): Rename from `calc-nplevel'.
19326 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19327 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19328 (calc-lu-plus): Rename from `calc-logunits-add'.
19329 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19330 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19331 (calc-lu-minus): Rename from `calc-logunits-sub'.
19332 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19333 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19334 (calc-lu-times): Rename from `calc-logunits-mul'.
19335 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19336 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19337 (calc-lu-divide): Rename from `calc-logunits-div'.
19338 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19339 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19340
19341 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19342 functions being autoloaded.
19343
19344 * calc/calc.el (calc-lu-power-reference): Rename from
19345 `calc-logunits-power-reference'.
19346 (calc-lu-field-reference): Rename from
19347 `calc-logunits-field-reference'.
19348
19349 * calc/calc-help.el (calc-l-prefix-help):
19350 Mention musical note functions.
19351
19352 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19353
19354 * minibuffer.el (completion-all-sorted-completions):
19355 Use :completion-cycle-penalty text property if present.
19356
19357 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19358
19359 * allout.el (allout-yank-processing): Adjust for new rebulleting
19360 regime so bullet being yanked is used without prompting the user
19361 for a choice.
19362
19363 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19364
19365 * startup.el (command-line): Warn the user that _emacs is deprecated.
19366
19367 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19368
19369 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19370 (delphi-verbose, delphi-comment-face, delphi-string-face)
19371 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19372 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19373 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19374 (delphi-new-comment-line, delphi-font-lock-defaults)
19375 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19376 Fix typos in docstrings.
19377
19378 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19379
19380 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19381 Invert the roles of character and string values for INSTEAD, so a
19382 string is used for the more common case of a defaulting prompt.
19383
19384 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19385
19386 * progmodes/ruby-mode.el (ruby-backward-sexp):
19387 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19388 * play/gamegrid.el (gamegrid-make-face):
19389 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19390 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19391 * notifications.el (notifications-notify):
19392 * net/xesam.el (xesam-search-engines):
19393 * net/quickurl.el (quickurl-list-insert):
19394 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19395
19396 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19397
19398 * startup.el (command-line): Update package subdirectory regexp.
19399
19400 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19401
19402 * allout.el (allout-abbreviate-flattened-numbering)
19403 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19404
19405 * subr.el (read-char-choice): Only show the cursor after the prompt,
19406 not after the answer.
19407
19408 2011-03-15 Kevin Ryde <user42@zip.com.au>
19409
19410 * help-fns.el (variable-at-point): Skip leading quotes, if any
19411 (bug#8253).
19412
19413 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19414
19415 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19416 warning message.
19417
19418 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19419
19420 * shell.el (shell): When called interactively, offer to change the
19421 shell file name on remote hosts.
19422
19423 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19424
19425 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19426 integration for LDAP parameters. The host, base, user or binddn,
19427 and secret tokens can be specified in a netrc file, for instance.
19428 This is optional because an `auth-source' parameter must be
19429 specified in the search attributes.
19430
19431 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19432
19433 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19434
19435 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19436
19437 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19438 into declaration. Remove redundant and harmful binding.
19439
19440 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19441
19442 * files.el (file-ownership-preserved-p): Pass `integer' as an
19443 explicit 2nd argument to `file-attributes'. If the file's owner
19444 is the Administrators group on Windows, and the current user is
19445 Administrator, consider that a match.
19446
19447 * server.el (server-ensure-safe-dir): Consider server directory
19448 safe on MS-Windows if its owner is the Administrators group while
19449 the current Emacs user is Administrator. Use `=' to compare
19450 numerical UIDs, since they could be integers or floats.
19451
19452 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19453
19454 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19455
19456 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19457
19458 Sync with Tramp 2.2.1.
19459
19460 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19461
19462 * net/trampver.el: Update release number.
19463
19464 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19465
19466 * progmodes/compile.el (compilation--previous-directory): Fix up
19467 various nil/dead-marker mismatches (bug#8014).
19468 (compilation-directory-properties, compilation-error-properties):
19469 Don't call it at a position past the one we're about to change.
19470
19471 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19472 Disable obsolescence warnings in the file that declares it.
19473
19474 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19475
19476 * allout-widgets.el (allout-widgets-tally):
19477 Initialize allout-widgets-tally as a hash table rather than nil to
19478 prevent mode-line redisplay warnings. Also, clarify the module
19479 description and fix a comment typo.
19480
19481 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19482
19483 * help-fns.el (describe-variable): Don't complete keywords.
19484 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19485
19486 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19487
19488 * emacs-lisp/package.el (package-version-join): Impose a standard
19489 string representation for pre/alpha/beta version lists.
19490 (package-unpack-single): Standardize the directory name by passing
19491 it through package-version-join.
19492 (package-strip-rcs-id): Accept any version string that does not
19493 signal an error in version-to-list.
19494
19495 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19496
19497 * simple.el (delete-trailing-whitespace): Return nil for the
19498 benefit of `write-file-functions'.
19499
19500 2011-03-10 Glenn Morris <rgm@gnu.org>
19501
19502 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19503
19504 * vc/vc-git.el (vc-git-program): New option.
19505 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19506 (vc-git--call): Use it.
19507
19508 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19509
19510 * cus-edit.el (Custom-newline): If no button at point, look
19511 for a subgroup button at start-of-line. (Bug#2298)
19512
19513 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19514
19515 2011-03-10 Julien Danjou <julien@danjou.info>
19516
19517 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19518 `cursor-type' is nil.
19519
19520 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19521
19522 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19523
19524 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19525
19526 * allout.el: Change so yank of distinctive-bullet items
19527 preserves the existing header prefix, rebulleting it if necessary,
19528 rather than replacing it. This is necessary for proper operation
19529 of cooperative addons like allout-widgets.
19530 (allout-make-topic-prefix, allout-rebullet-heading):
19531 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19532 value as alternate bullet to be used, instead of prompting the user
19533 for a bullet character.
19534
19535 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19536
19537 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19538 Do not use `tramp-file-name-port', because this returns also
19539 `tramp-default-port'.
19540
19541 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19542
19543 * net/rcirc.el (rcirc-handler-001): Remove useless
19544 with-rcirc-process-buffer.
19545 (rcirc-check-auth-status): Swap arguments to string-match.
19546
19547 2011-03-09 Glenn Morris <rgm@gnu.org>
19548
19549 * shell.el (shell-mode):
19550 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19551
19552 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19553 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19554
19555 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19556
19557 * emacs-lisp/package.el (package-refresh-contents)
19558 (package-menu-execute): Use condition-case-no-debug.
19559
19560 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19561
19562 * simple.el (shell-command-to-string): Use `process-file'.
19563
19564 * emacs-lisp/package.el (package-tar-file-info): Handle also
19565 remote files.
19566
19567 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19568 Use `equal' for upload base check.
19569
19570 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19571
19572 * textmodes/texinfo.el (texinfo-environments):
19573 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19574
19575 2011-03-08 Glenn Morris <rgm@gnu.org>
19576
19577 * cus-start.el (cursor-in-non-selected-windows):
19578 Fix :set quoting oddness. (Bug#8192)
19579
19580 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19581 in some setf expressions. (Bug#2159)
19582
19583 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19584
19585 * custom.el (custom-available-themes): Return themes in
19586 alphabetical order.
19587
19588 See ChangeLog.15 for earlier changes.
19589
19590 ;; Local Variables:
19591 ;; coding: utf-8
19592 ;; End:
19593
19594 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19595
19596 This file is part of GNU Emacs.
19597
19598 GNU Emacs is free software: you can redistribute it and/or modify
19599 it under the terms of the GNU General Public License as published by
19600 the Free Software Foundation, either version 3 of the License, or
19601 (at your option) any later version.
19602
19603 GNU Emacs is distributed in the hope that it will be useful,
19604 but WITHOUT ANY WARRANTY; without even the implied warranty of
19605 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19606 GNU General Public License for more details.
19607
19608 You should have received a copy of the GNU General Public License
19609 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.