* calendar/todos.el: Remove old commentary from todo-mode.el; add
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
58c7641d
SB
12012-09-19 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Remove old commentary from todo-mode.el; add
4 and revise further doc strings and comments; require cl.el at
5 compile time for remove-duplicates; use function powerset from
6 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
7 code rearrangement. Add adapted version of diary-goto-entry as comment.
8 (todos-file-top, todos-archived-categories-buffer)
9 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
10 (todos-save-top-priorities, todos-reset-separator)
11 (todos-switch-todos-file, todos-item-string-start, todos-counts)
12 (todos-string-count-lines, todos-string-multiline-p)
13 (todos-display-categories-alphabetically): Remove.
14 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
15 (todos-insert-item-ask-date-time-for-diary)
16 (todos-insert-item-ask-date-time-for-diary-here)
17 (todos-insert-item-ask-date-time-here)
18 (todos-insert-item-ask-date-maybe-notime)
19 (todos-insert-item-ask-date-maybe-notime-for-diary)
20 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
21 (todos-insert-item-ask-date-maybe-notime-here)
22 (todos-insert-item-ask-date-for-diary)
23 (todos-insert-item-ask-date-for-diary-here)
24 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
25 (todos-insert-item-ask-dayname-time)
26 (todos-insert-item-ask-dayname-time-for-diary)
27 (todos-insert-item-ask-dayname-time-for-diary-here)
28 (todos-insert-item-ask-dayname-time-here)
29 (todos-insert-item-ask-dayname-maybe-notime)
30 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
31 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
32 (todos-insert-item-ask-dayname-maybe-notime-here)
33 (todos-insert-item-ask-dayname-for-diary)
34 (todos-insert-item-ask-dayname-for-diary-here)
35 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
36 (todos-insert-item-ask-time-for-diary)
37 (todos-insert-item-ask-time-for-diary-here)
38 (todos-insert-item-ask-time-here)
39 (todos-insert-item-maybe-notime)
40 (todos-insert-item-maybe-notime-for-diary)
41 (todos-insert-item-maybe-notime-for-diary-here)
42 (todos-insert-item-maybe-notime-here)
43 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
44 (todos-insert-item-here): Remove; all of these are now generated
45 on loading (some with the same name, most with other names.)
46 (todos-item-counts, todos-display-categories-alphabetically)
47 (todos-display-categories-sorted-by-todo)
48 (todos-display-categories-sorted-by-diary)
49 (todos-display-categories-sorted-by-done)
50 (todos-display-categories-sorted-by-archived): Comment out.
51 (todos-comment-string, todos-mode-line-function)
52 (todos-filter-function, todos-priorities-rules)
53 (todos-visit-files-commands, todos-categories-totals-label)
54 (todos-use-only-highlighted-region, todos-diary-nonmarking):
55 New defcustoms.
56 (todos-mark, todos-comment): New faces.
57 (todos-comment-face): Corresponding new variable.
58 (todos-categories-full, todos-global-current-todos-file)
59 (todos-first-visit, todos-insertion-commands-args-genlist)
60 (todos-insertion-commands-args, todos-insertion-commands-names)
61 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
62 (todos-top-priorities-widgets, todos-date-from-calendar)
63 (todos-item-mark, todos-categories-with-marks): New variables.
64 (todos-mode-line-control, todos-reset-global-current-todos-file)
65 (todos-gen-arglists, todos-insertion-command-name)
66 (todos-insertion-key-bindings, todos-unload-hook)
67 (todos-filter-items, todos-set-date-from-calendar)
68 (todos-comment-string-matcher, todos-after-find-file)
69 (todos-reset-nondiary-marker, todos-reset-done-string)
70 (todos-reset-comment-string, todos-show-current-file)
71 (todos-item-marked-p, todos-total-item-counts): New functions.
72 (todos-define-insertion-command): New macro.
73 (todos-toggle-mark-item, todos-mark-category)
74 (todos-unmark-category, todos-set-top-priorities)
75 (todos-merged-diary-items, todos-regexp-items)
76 (todos-merged-regexp-items, todos-custom-items)
77 (todos-merged-custom-items, todos-comment-done-item)
78 (todos-archive-category-done-items, todos-unarchive-items)
79 (todos-print-to-file): New commands.
80 (todos-done-separator): Change :set function.
81 (todos-done-string): Uncomment :initialize and :set functions.
82 (todos-files): Use file-truename.
83 (todos-show-current-file): Rename from
84 todos-auto-switch-todos-file and change :set function accordingly.
85 (todos-font-lock-keywords): Use todos-comment-string-matcher;
86 change names of other matcher functions to new *-matcher.
87 (todos-category-number): Change initial value.
88 (todos-insertion-map): Use todos-insertion-key-bindings to
89 generate key definitions.
90 (todos-mode-map): Don't suppress digit keys, so they can supply
91 prefix arguments; add new and change some existing bindings.
92 (todos-archive-mode-map): Change a key binding.
93 (todos-categories-mode-map): Comment out a key binding.
94 (todos-filter-items-mode-map): Rename from
95 todos-top-priorities-mode-map.
96 (todos-mode): Make todos-current-todos-file,
97 todos-categories-full, todos-categories, todos-first-visit,
98 todos-category-number, todos-show-done-only,
99 todos-categories-with-marks local variables and set them; add
100 todos-show-current-file to pre-command-hook, todos-after-find-file
101 to post-command-hook and todos-reset-global-current-todos-file to
102 kill-buffer-hook.
103 (todos-archive-mode): Make todos-current-todos-file,
104 todos-categories and todos-category-number local variables and set
105 them; add todos-after-find-file to post-command-hook.
106 (todos-raw-mode): New derived major mode.
107 (todos-categories-mode): Don't set font-lock-defaults and
108 buffer-read-only; make todos-current-todos-file and
109 todos-categories local variables and set them.
110 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
111 (todos-quit): Don't reset todos-categories on quitting
112 todos-categories-mode; handle quitting todos-filter-items-mode.
113 (todos-show): Simplify; when visiting an archive file switch to
114 corresponding Todos file; use todos-first-visit.
115 (todos-view-archived-items): Simplify; call todos-category-number.
116 (todos-show-archive): Rename from todos-switch-to-archive and
117 adjust callers; simplify.
118 (todos-toggle-display-date-time): Add optional argument to toggle
119 display in entire file.
120 (todos-top-priorities): Use todos-filter-items, which now contains
121 the previous core of this command.
122 (todos-merged-top-priorities, todos-diary-items):
123 Use todos-filter-items.
124 (todos-forward-category): Add optional argument to go to the
125 previous category.
126 (todos-backward-category): Use todos-forward-category.
127 (todos-jump-to-category): Refine implementation.
128 (todos-forward-item, todos-backward-item): Fix movement from todo
129 to done item and vice versa.
130 (todos-add-file): Remove argument and simplify.
131 (todos-rename-category): Use todos-current-todos-file and
132 todos-mode-line-function; set todos-categories with
133 todos-set-categories.
134 (todos-delete-category): Ask what to do if category has archived items.
135 (todos-raise-category): Ensure modified todos-categories is added
136 to file's categories sexp.
137 (todos-move-category): Improve implementation, especially handling
138 of archived categories.
139 (todos-merge-category): Tweak; set item counts.
140 (todos-insert-item): Improve handling of various argument values;
141 add new argument values to control marking of diary items and to
142 use region for item body.
143 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
144 (todos-delete-item, todos-edit-item-header): Handle marked items.
145 (todos-edit-item): Incorporate functionality of removed
146 todos-string-multiline-p.
147 (todos-edit-multiline): Use set-window-buffer instead of
148 switch-to-buffer.
149 (todos-edit-quit): Don't save on quitting; use todos-show instead
150 of todos-category-select.
151 (todos-raise-item-priority): Add argument to lower priority;
152 improve handling of top priority items in todos-filter-items-mode;
153 restore marks.
154 (todos-lower-item-priority): Use todos-raise-item-priority.
155 (todos-set-item-priority): Increment maximum number if item is new.
156 (todos-move-item): Handle marked items; delay changing category
157 moved from till after movement to avoid restoring if user cancels
158 before insertion.
159 (todos-item-done): Add optional argument to insert comment; fix
160 item counts and update sexp.
161 (todos-item-undo): Fix item counts and update.
162 (todos-archive-done-item-or-items): Rename from
163 todos-archive-done-items; add optional argument to archive all
164 items in category; handle marked items.
165 (todos-unarchive-category): Use todos-unarchive-items.
166 (todos-toggle-diary-inclusion): Incorporate functionality of
167 removed todos-toggle-item-diary-inclusion; handle marked items.
168 (todos-print): Add optional argument to print to file.
169 (todos-done-string-start): Don't use todos-nondiary-start.
170 (todos-date-string-matcher, todos-time-string-matcher)
171 (todos-done-string-matcher, todos-category-string-matcher): Rename
172 from *-match and adjust callers.
173 (todos-wrap-and-indent): Use set instead of setq for local variables.
174 (todos-prefix-overlays): Improve overlay handling.
175 (todos-reset-categories): Fix and complete implementation.
176 (todos-toggle-show-current-file): Rename from
177 todos-toggle-switch-todos-file-noninteractively.
178 (todos-category-select): Use todos-mode-line-function.
179 (todos-item-start): Comment out code used by removed function.
180 (todos-remove-item): Handle presence of both prefix/number and
181 mark overlays.
182 (todos-get-count): Simplify.
183 (todos-set-count): Change argument list and adjust callers; simplify.
184 (todos-set-categories): Handle new archive files; use
185 todos-categories-full and todos-ignore-archived-categories.
186 (todos-truncate-categories-list): Use todos-categories-full.
187 (todos-update-categories-sexp): Use kill-region instead of
188 kill-line; use todos-categories-full.
189 (todos-read-file-name): Add argument to require existing file and
190 adjust callers; use file-truename.
191 (todos-read-category): Remove argument to require existing
192 category and delegate it to completing-read in function body.
193 (todos-validate-category-name): Make empty string prompt only for
194 initial category name.
195 (todos-read-date): Use = instead of eq for testing if month = 13,
196 and if it is, set monthname to *.
197 (todos-display-categories): Use todos-global-current-todos-file;
198 use set-window-buffer instead of switch-to-buffer; add a line
199 showing item count totals.
200 (todos-padded-string): Use the longest of category name or label.
201 (todos-descending-counts): Rename from
202 todos-descending-counts-store and adjust users.
203 (todos-insert-category-line): Adjust format; use mapconcat; kill
204 buffer after jumping to category.
205
d04d6b95
SB
2062012-09-18 Stephen Berman <stephen.berman@gmx.net>
207
208 * calendar/todos.el Add and revise various doc strings, remove
209 further commented out code; add further comments; further code
210 rearrangement.
211 (todos-file-do, todos-archive-file, todos-mode-hook)
212 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
213 (todos-view-archive, todos-search-string)
214 (todos-jump-to-category-noninteractively, todos-initial-setup):
215 Remove.
216 (todos-files): Remove this defcustom.
217 (todos-initial-category, todos-display-categories-first)
218 (todos-auto-switch-todos-file, todos-default-todos-file)
219 (todos-categories-category-label, todos-categories-todo-label)
220 (todos-categories-diary-label, todos-categories-done-label)
221 (todos-categories-archived-label)
222 (todos-categories-number-separator, todos-categories-align)
223 (todos-ignore-archived-categories, todos-nondiary-marker):
224 New defcustoms.
225 (todos-prefix, todos-done-separator, todos-file-top)
226 (todos-categories-buffer, todos-archived-categories-buffer)
227 (todos-edit-buffer, todos-always-add-time-string, todos-button):
228 Change default value.
229 (todos-done-string): Add todos-reset-done-string as :set function,
230 but keep this commented out.
231 (todos-files, todos-archives, todos-insertion-map)
232 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
233 (todos-show-done-only, todos-date-string-start)
234 (todos-done-string-start): New variables.
235 (todos-files-directory, todos-files-function, todos-merged-files)
236 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
237 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
238 (todos-toggle-switch-todos-file-noninteractively)
239 (todos-switch-todos-file, todos-counts, todos-get-count)
240 (todos-set-count, todos-set-categories)
241 (todos-truncate-categories-list, todos-update-categories-sexp)
242 (todos-read-file-name, todos-sort, todos-display-sorted)
243 (todos-label-to-key, todos-insert-sort-button): New functions.
244 (todos-display-categories-sorted-by-todo)
245 (todos-display-categories-sorted-by-diary)
246 (todos-display-categories-sorted-by-done)
247 (todos-display-categories-sorted-by-archived)
248 (todos-update-merged-files, todos-switch-to-archive)
249 (todos-choose-archive, todos-merged-top-priorities)
250 (todos-jump-to-category-other-file, todos-clear-matches)
251 (todos-add-file, todos-change-default-file, todos-move-category)
252 (todos-merge-category, todos-merge-categories)
253 (todos-edit-item-time, todos-move-item-to-file)
254 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
255 (todos-toggle-diary-nonmarking): New commands.
256 (todos-toggle-show-done-only): New command replacing todos-view-archive.
257 (todos-faces): New defgroup; use in all face definitions.
258 (todos-sorted-column, todos-archived-only, todos-search): New faces.
259 (todos-font-lock-keywords): Use subexpression 1 with matcher
260 todos-category-string-match.
261 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
262 (todos-categories-mode-map): Add new key bindings; change some
263 existing bindings.
264 (todos-top-priorities-mode-map): New keymap.
265 (todos-menu): Add submenues and new entries.
266 (auto-mode-alist): Add extension of Todos and Todos archive files.
267 (todos-mode, todos-archive-mode): Make derived mode; use
268 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
269 and todos-switch-todos-file; make todos-show-done-only local
270 variable.
271 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
272 (todos-categories-mode): Make derived mode.
273 (todos-top-priorities-mode): New derived major mode.
274 (todos-save): Remove unused code.
275 (todos-quit): Handle todos-categories-mode; save archive buffer.
276 (todos-show): Add optional argument to prompt for a Todos file; if
277 called interactively or with prefix arg or from an archive, don't
278 make a no-op but reset todos-current-todos-file, todos-categories
279 and todos-category-number; use todos-read-file-name,
280 todos-display-categories-first, todos-ignore-archived-categories.
281 (todos-display-categories): Change argument name; refactor code
282 for inserting table labels and lines, using
283 todos-ignore-archived-categories, todos-sort,
284 todos-categories-number-separator, todos-insert-sort-button,
285 todos-categories-*-labels, and todos-insert-category-line.
286 (todos-display-categories-alphabetically): Use todos-display-sorted.
287 (todos-toggle-view-done-items): Use todos-done-string-start and
288 todos-get-count.
289 (todos-toggle-display-date-time): Use todos-done-string-start.
290 (todos-top-priorities): Remove autoload cookie; partially rewrite:
291 new argument list; allow combining top priorities of multiple
292 Todos files; change display to include category (and file) name as
293 part of item header; use todos-top-priorities-mode.
294 (todos-diary-items): Reimplement using only todos-top-priorities.
58c7641d 295 (todos-forward-category, todos-backward-category): Adjust to
d04d6b95
SB
296 1-based numbering of categories; move point to top of category.
297 (todos-jump-to-category): Rewrite, adding optional arguments to
298 provide a category in non-interactive uses and to prompt for which
299 Todos file to jump to.
300 (todos-search): Reimplement; highlight each match as found, say
301 how many matches remain and prompt whether to go to next one; at
302 end of search prompt whether to remove highlighting.
303 (todos-add-category): Remove autoload cookie; assign new category
304 the highest category number; associate zero-initialized vector of
305 item counts, instead of property list, with new category; use
306 todos-validate-category-name and todos-update-categories-sexp.
307 (todos-rename-category): Use todos-validate-category-name and
308 todos-update-categories-sexp; take archive files into account.
309 (todos-delete-category): Use todos-get-count and
310 todos-update-categories-sexp, let-bind variable that were
311 mistakenly global; use delete-region instead of kill-region;
58c7641d
SB
312 adjust to 1-based numbering of categories; move point to top of
313 category.
d04d6b95
SB
314 (todos-raise-category): Handle item count vectors; use
315 todos-insert-category-line and todos-update-categories-sexp.
316 (todos-insert-item): Use nil time-string argument to omit time
317 string; use todos-nondiary-start and todos-nondiary-end and
318 todos-update-categories-sexp; if category named to insert into
319 does not exist, add it; take new diary items into account.
320 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
321 (todos-insert-item-ask-date-time-for-diary)
322 (todos-insert-item-ask-date-time-for-diary-here)
323 (todos-insert-item-ask-date-time-here)
324 (todos-insert-item-ask-date-maybe-notime)
325 (todos-insert-item-ask-date-maybe-notime-for-diary)
326 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
327 (todos-insert-item-ask-date-maybe-notime-here)
328 (todos-insert-item-ask-date-for-diary)
329 (todos-insert-item-ask-date-for-diary-here)
330 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
331 (todos-insert-item-ask-dayname-time)
332 (todos-insert-item-ask-dayname-time-for-diary)
333 (todos-insert-item-ask-dayname-time-for-diary-here)
334 (todos-insert-item-ask-dayname-time-here)
335 (todos-insert-item-ask-dayname-maybe-notime)
336 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
337 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
338 (todos-insert-item-ask-dayname-maybe-notime-here)
339 (todos-insert-item-ask-dayname-for-diary)
340 (todos-insert-item-ask-dayname-for-diary-here)
341 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
342 (todos-insert-item-ask-time-for-diary)
343 (todos-insert-item-ask-time-for-diary-here)
344 (todos-insert-item-ask-time-here)
345 (todos-insert-item-maybe-notime)
346 (todos-insert-item-maybe-notime-for-diary)
347 (todos-insert-item-maybe-notime-for-diary-here)
348 (todos-insert-item-maybe-notime-here)
349 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
350 New insertion commands.
351 (todos-insert-item-from-calendar): Use todos-current-todos-file.
352 (todos-delete-item): Handle diary items;
353 use todos-update-categories-sexp.
354 (todos-edit-item): Check if point is with item string;
355 use read-string instead of read-from-minibuffer;
356 use todos-date-string-start; after editing put point at start of
357 item text.
358 (todos-edit-multiline): Narrow to item before invoking
359 todos-edit-mode; show key binding of todos-edit-quit in a message.
360 (todos-edit-quit): Use todos-save; kill buffer.
361 (todos-edit-item-header): Add optional argument to prompt for
362 editing only date string or only time string;
363 use todos-date-string-start.
364 (todos-edit-item-date, todos-edit-item-date-is-today)
365 (todos-raise-item-priority, todos-lower-item-priority): Rename
366 from todos-{raise, lower}-item and make them DTRT in
367 todos-top-priorities-mode.
368 (todos-set-item-priority): Make interactive; use todos-get-count
369 and todos-insert-with-overlays; interactively, just relocate the
370 item within its category.
371 (todos-move-item): Add optional argument to prompt for a category
372 in another Todos file; handle diary items; fix restoration after
373 cancelling before inserting.
374 (todos-item-done): Handle diary items; simplify handling of
375 insertion in done items section.
376 (todos-item-undo): Handle diary items.
58c7641d 377 (todos-archive-done-items): Adjust to new handling of archive
d04d6b95
SB
378 files (in parallel with Todos files); handle diary items; use
379 todos-done-string-start.
380 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
381 todos-nondiary-end and todos-item-counts.
382 (todos-toggle-diary-inclusion): Use todos-category-done instead of
383 todos-category-end.
384 (todos-print): Remove autoload cookie; rewrite to make overlays,
385 line wrapping and wrap prefixes printable.
386 (todos-date-pattern): Make parenthesized groups shy.
387 (todos-date-string-match): Use todos-date-string-start; make
388 todos-date-pattern an explicitly numbered group.
389 (todos-time-string-match): Use todos-date-string-start.
390 (todos-done-string-match): Use todos-done-string-start.
391 (todos-category-string-match): Rewrite to match new category and
392 category+filename patterns in todos-top-priorities-mode.
393 (todos-prefix-overlays): Use todos-done-string-start and
394 todos-category-done.
395 (todos-reset-prefix): Handle archive files; restore point after
396 changing prefix.
397 (todos-reset-separator): Handle archive files.
398 (todos-category-number): Make category number one more than its
399 list index.
58c7641d 400 (todos-current-category): Adjust to 1-based numbering of categories.
d04d6b95
SB
401 (todos-category-select): Simplify handling of done items and done
402 separator string overlay.
403 (todos-item-start): Use todos-date-string-start and
404 todos-done-string-start.
405 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
406 (todos-item-string): Restore point after getting item bounds; use
407 buffer-substring-no-properties.
408 (todos-done-item-p): Use todos-done-string-start.
409 (todos-make-categories-list): Add optional argument to force
410 looping through file to get categories and their item counts,
411 otherwise set todos-categories from sexp in first line; use
412 vectors of item counts instead of plists; count diary items.
413 (todos-item-counts): Use todos-counts, todos-set-counts,
414 todos-get-counts, and todos-update-categories-sexp instead of
415 getting and setting properties; handle diary items.
416 (todos-read-category): Add argument to set prompt; don't offer
417 default category.
418 (todos-validate-category-name): Rename from
419 todos-check-category-name; take into account whether there are
420 already categories or not.
421 (todos-read-date): Accept `*' as an unspecified month, day, or year.
422 (todos-padded-string): Accommodate new structure of
423 todos-categories as alists; use todos-categories-align.
424 (todos-descending-counts-store): New variable.
425 (todos-insert-category-line): Rename from
426 todos-insert-category-name and reimplement using labels and
427 todos-get-counts instead of properties; use
428 todos-ignore-archived-categories; highlight sorted column.
429
f730d273
SB
4302012-09-14 Stephen Berman <stephen.berman@gmx.net>
431
432 * calendar/todos.el Remove lots of commented out code; add various
433 comments; further code rearrangement.
434 (todos-insert-item-here-ask-date-time)
435 (todos-insert-item-ask-date-time)
436 (todos-insert-item-ask-dayname-time)
437 (todos-insert-item-for-diary)
438 (todos-insert-item-for-diary-ask-date-time)
439 (todos-make-categories-alist, todos-categories-alist): Remove.
440 (todos-categories-list): Comment out.
441 (todos-make-categories-list): New function replacing
442 todos-make-categories-alist, using category plists to get item
443 counts and taking archive into account.
444 (todos-current-todos-file): New variable.
445 (todos-mode-map): Update key bindings.
446 (todos-save): Add as comment code to make sure todos-categories
447 sexp is current on saving.
448 (todos-quit): Call todos-show on quitting Todos archive buffer.
449 (todos-show): If todos-current-todos-file is not set to Todos
450 file, set it as a new file; set todos-categories from
451 todos-make-categories-alist.
452 (todos-display-categories): Use a different display format for
453 archive file; put point initially on the first button.
454 (todos-toggle-view-done-items): Check the category's `done'
455 property to determine if there are done items.
456 (todos-view-archive): Set todos-current-todos-file to the archive
457 file; jump from the Todos file to the same category in the
458 archive, if it exists, else jump to the first category; use
459 message instead of error.
460 (todos-add-category): Intern a special symbol for the new category
461 and set its property list to holds counts of the numbers of todo,
462 done and archived items in the category; assign the new category
463 the current highest category number.
464 (todos-rename-category): Don't use todos-categories-alist.
465 (todos-delete-category): Check the category's `todo' and `done'
466 properties to determine if it is empty; ensure that the end of the
467 last category is found; after deleting the category, empty its
468 plist and unintern its special symbol.
469 (todos-insert-item-here): Fix argument list of todos-insert-item.
470 (todos-delete-item, todos-raise-item, todos-lower-item):
471 Use message instead of error.
472 (todos-move-item): If the category to be moved to does not exist,
473 add it as a new category.
474 (todos-item-done, todos-reset-separator):
475 Use todos-category-select instead of todos-show.
476 (todos-archive-done-items): Make buffer writeable; conditionalize
477 search for end of category; save after adding to archive in case
478 the file is new, so it can be found.
479 (todos-category-select): Wrap search in if instead of or+and;
480 don't hide done items in an archive.
481 (todos-set-item-priority): Check the category's `todo'
482 property to determine if there are not done todo items.
483 (todos-jump-to-category-noninteractively): Just switch to buffer
484 visiting todos-current-todos-file, since this can be either a
485 Todos file or an archive.
486 (todos-item-counts): Use category's plist instead of an alist.
487 (todos-longest-category-name-length): Argument is now a list of
488 category names, not an alist, so just test each element, not each
489 element's the car.
490 (todos-padded-string): Use todos-categories instead of
491 todos-categories-alist.
492 (todos-insert-category-name): Use category plist to get item
493 counts; take archived items into account.
494
ee7412e4
SB
4952012-09-13 Stephen Berman <stephen.berman@gmx.net>
496
497 * calendar/todos.el: Numerous spelling and comment fixes, doc
498 string fixes to conform with checkdoc, further rearrangement of
499 definitions, etc.
500 (todos-previous-line, todos-previous-answer)
501 (todos-insert-item-ask-date, todos-change-date)
502 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
503 (todos-count-items-in-category, todos-count-all-items): Remove.
504 (todos-update-numbered-prefix, todos-item-start-overlays)
505 (todos-add-item-non-interactively): Comment out, also in uses.
506 (todos-done-separator): Change default value.
507 (todos-always-add-time-string): Rename from todos-add-time-string
508 and adjust uses.
509 (todos-read-category): Rename from todos-completing-read and
510 adjust callers; use todos-current-category.
511 (todos-make-categories-alist): Rename from function
512 todos-categories-alist.
513 (todos-categories-alist): New variable.
514 (todos-indent-to-here): New defcustom.
515 (todos-button): New face.
516 (todos-display-categories-alphabetically, todos-raise-category)
517 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
518 (todos-insert-item-here-ask-date-time)
519 (todos-insert-item-ask-date-time)
520 (todos-insert-item-ask-dayname-time): New commands.
521 (todos-edit-item-header): New command replacing todos-change-date.
522 (todos-category-number, todos-indent, todos-item-counts)
523 (todos-check-category-name, todos-read-date, todos-read-dayname)
524 (todos-read-time, todos-padded-string)
525 (todos-insert-category-name): New functions.
526 (todos-set-item-priority): New function replacing
527 todos-add-item-non-interactively.
528 (todos-mode-map): Remap newline to newline-and-indent.
529 (todos-edit-mode-map): Make sparse keymap; remap newline to
530 newline-and-indent.
531 (todos-categories-mode-map): New keymap.
532 (todos-mode, todos-edit-mode): Make indent-line-function local
533 variable and set to todos-indent.
534 (todos-categories-mode): New major mode.
535 (todos-display-categories): List categories initially in their
536 numerical order; add optional argument to switch to alphabetical
537 listing.
538 (todos-toggle-view-done-items): Simplify implementation.
539 (todos-toggle-display-date-time): Fix regexp search string.
540 (todos-backward-item, todos-forward-item): Use variable
541 todos-item-start.
542 (todos-add-category): Use todos-check-category-name and
543 todos-categories-alist.
544 (todos-rename-category): Use todos-current-category,
545 todos-check-category-name and todos-categories-alist.
546 (todos-delete-category): Use todos-check-category-name and
547 todos-categories-alist and take done items into account.
548 (todos-insert-item): Use separate arguments to handle insertion of
549 date/dayname and time strings, add new argument to mark item for
550 diary inclusion, use new todos-read-* functions,
551 todos-set-item-priority and todos-item-counts.
552 (todos-insert-item-here, todos-insert-item-for-diary)
553 (todos-insert-item-from-calendar): Adapt to new version of
554 todos-insert-item.
555 (todos-delete-item, todos-item-done): Use todos-item-counts.
556 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
557 char follows.
558 (todos-lower-item): Ensure only not-done items can be lowered.
559 (todos-move-item): Use todos-current-category, todos-read-category
560 and todos-item-counts.
561 (todos-archive-done-items): Use todos-current-category and
562 todos-item-counts; fix regexp search string.
563 (todos-item-undo): Use todos-current-category,
564 todos-set-item-priority, todos-insert-with-overlays and
565 todos-item-counts; restore if user quits before inserting undone
566 item.
567 (todos-date-pattern): Rewrite without using
568 todos-date-nodayname-pattern and todos-dayname-date-pattern.
569 (todos-date-string-match): Do not make todos-date-pattern an
570 unnumbered group.
571 (todos-time-string-match): Make todos-date-pattern a shy group.
572 (todos-wrap-and-indent): Use todos-indent-to-here.
573 (todos-reset-prefix): Revert to using todos-show instead of
574 todos-category-select.
575 (todos-prefix-overlays): Fix numbering of done items and updating
576 of prefix.
577 (todos-category-select): Use todos-current-category; fix display
578 of separator string; don't move point to top of category.
579 (todos-jump-to-category-noninteractively): Use todos-category-number.
580 (todos-insert-with-overlays): Use todos-item-start unconditionally.
581 (todos-item-start): New variable.
582 (todos-item-start): Use it to define this function.
583 (todos-item-end): Adjust if item is last unfinished one before
584 displayed done items.
585 (todos-remove-item): Use todos-item-start and todos-item-end
586 instead of todos-forward-item and todos-backward-item.
587 (todos-longest-category-name-length): Add argument for list of
588 categories.
589
2c173503
SB
5902012-09-13 Stephen Berman <stephen.berman@gmx.net>
591
592 * calendar/todos.el: Comment out calendar require, since diary-lib
593 requires calendar. Rearrange file to group definitions according
594 to their use (types of commands, internal functions, etc.)
595 (todos-file-done, todos-insert-threshold, todos-remove-separator)
596 (todos-date-string, todos-time-string, todos-check-overlay)
597 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
598 Comment out.
599 (todos-current-date, todos-item-end-overlays)
600 (todos-list-categories): Remove.
601 (todos-item-end): Remove (the variable, not the function).
ee7412e4 602 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
2c173503 603 callers.
2c173503
SB
604 (todos-done-separator, todos-done-string, todos-show-with-done)
605 (todos-files, todos-archive-file, todos-categories-buffer)
606 (todos-archived-categories-buffer, todos-wrap-lines)
607 (todos-line-wrapping-function): New defcustoms.
608 (todos-done, todos-done-sep): New faces.
609 (todos-done-face, todos-done-sep-face): Corresponding new variables.
610 (todos-search-string, todos-date-nodayname-pattern)
611 (todos-dayname-date-pattern, todos-date-pattern): New variables.
612 (todos-done-string-match, todos-category-string-match)
613 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
614 (todos-current-category, todos-count-items-in-category)
615 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
616 (todos-longest-category-name-length): New functions.
617 (todos-categories-list): New buffer-specific function replacing
618 todos-list-categories.
619 (todos-toggle-item-numbering, todos-toggle-view-done-items)
620 (todos-search, todos-view-archive, todos-diary-items)
621 (todos-toggle-display-date-time, todos-insert-item-no-time)
622 (todos-insert-item-ask-date, todos-insert-item-for-diary)
623 (todos-insert-item-from-calendar, todos-edit-quit)
624 (todos-change-date, todos-item-done, todos-archive-done-items)
625 (todos-item-undo): New commands.
ee7412e4 626 (todos-archive-mode): New major mode.
2c173503
SB
627 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
628 (todos-category-beg): Change value.
629 (todos-number-prefix): Change default value.
630 (todos-edit-buffer): Change from defvar to defcustom.
631 (todos-font-lock-keywords): Use todos-done-string-match and
632 todos-category-string-match.
633 (todos-backward-item, todos-forward-item): Use todos-done-string
634 and todos-date-pattern.
635 (todos-display-categories): Reimplement using buttons from
636 button.el instead of widgets.
637 (todos-top-priorities): Use with-current-buffer; take done items
638 into account; ensure buffers gets fontified.
639 (todos-add-category): Ensure new category does not begin with
640 empty lines.
641 (todos-jump-to-category): Use todos-category-select instead of
642 todos-show.
643 (todos-rename-category): Prompt for new name in body instead of in
644 interactive spec.
645 (todos-insert-item): Don't insert in done items section of
646 category. Add two optional arguments to control insertion: (i) to
647 insert near point without prompting for priority; (ii) to use
648 defaults for date and time strings, to prompt for these, or to
649 choose date from the Calendar.
650 (todos-insert-item-here): Reimplement using todos-insert-item.
651 (todos-delete-item): Don't move point after deleting last item.
652 (todos-raise-item, todos-lower-item): Take done items into account.
653 (todos-move-item): Don't move done items; update item numbering;
654 restore if user quits before inserting moved item.
655 (todos-print): Prompt for confirmation to print.
656 (todos-reset-prefix): Search backward from end of file instead of
657 forward from top.
658 (todos-jump-to-category-noninteractively): Take Todos archive into
659 account.
660 (todos-category-select): Show or hide done items according to
661 todos-show-with-done; if shown, coordinate separator and prefix
662 overlays.
663 (todos-add-item-non-interactively): Replace binary insertion
664 algorithm with prompting for numerical priority.
665 (todos-insert-with-overlays): Remove use of variable todos-item-end.
666 (todos-item-start): Take done items into account; use
667 todos-date-pattern.
668 (todos-item-end): Reimplement using todos-forward-item.
669 (todos-remove-item): Reimplement using todos-forward-item and
670 todos-backward-item; redo overlay handling.
671 (todos-mode-map): Add some new key bindings and change numerous
672 existing bindings; use "i" as prefix key for item insertion
673 commands.
674 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
675 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
676 spec; set buffer-read-only to t and consequently let-bind this
677 variable in all Todos commands that change buffer content.
678 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
679 (todos-save): Don't save top priorities buffer.
680 (todos-show): Make a no-op if called interactively in narrowed
681 Todos mode, since, also to work around item prefix reduplication
682 bug with show-paren-mode enabled; use todos-categories-list.
683
b28025ed
SB
6842012-09-12 Stephen Berman <stephen.berman@gmx.net>
685
686 * calendar/todos.el: Comment out time-stamp require; require
687 calendar and diary-lib.
688 (todos-prefix): Change default value and doc string to reflect new
689 meaning; add :initialize and :set functions.
690 (todos-time-string-format, todos-entry-prefix-function)
691 (todos-initials, todos-entry-timestamp-initials)
692 (todos-prefix-face, todos-category-sep, todos-category-end)
693 (todos-cp): Comment out.
694 (todos-prefix-string): Inherit from font-lock-comment-face.
695 (todos-item-header, todos-item-header-face): Remove.
696 (todos-date, todos-time): New faces.
697 (todos-date-face, todos-time-face): Corresponding new variables.
698 (todos-add-time-string, todos-include-in-diary)
699 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
700 New defcustoms.
701 (todos-item-end, todos-item-start-overlays)
702 (todos-item-end-overlays): New variables.
703 (todos-date-string-match, todos-time-string-match): New functions.
704 (todos-font-lock-keywords): Use them.
705 (todos-current-date, todos-date-string, todos-time-string)
706 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
707 (todos-reset-prefix, todos-update-numbered-prefix)
708 (todos-check-overlay, todos-item-overlays)
709 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
710 (todos-highlight-item): New command.
711 (todos-category-beg): Change value.
712 (todos-category-select): Use todos-category-beg and todos-item-overlays.
713 (todos-backward-item): Add optional count argument; use it and
714 todos-item-start.
715 (todos-forward-item): Use todos-check-overlay, todos-item-start
716 and variable todos-item-end.
717 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
718 todos-update-numbered-prefix, todos-item-overlays.
719 (todos-add-category, todos-rename-category)
720 (todos-list-categories): Use new category format.
721 (todos-delete-category): Allow deleting non-empty category;
722 use new category format.
723 (todos-add-item-non-interactively): Comment out unnecessary
724 save-excursion; use todos-insert-with-overlays.
725 (todos-insert-item): Comment out unnecessary save-excursion; use
726 new item format for date/time header and diary inclusion marking.
727 (todos-insert-item-here): Use new item format for date/time header
728 and diary inclusion marking; use todos-insert-with-overlays.
729 (todos-raise-item): Make a no-op if point is on an empty line; use
730 todos-insert-with-overlays.
731 (todos-lower-item): Use todos-insert-with-overlays.
732 (todos-top-priorities): Move call to todos-show inside
733 save-excursion; add save-current-buffer after save-restriction.
734 (todos-item-start): Use variable todos-item-end.
735 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
736 (todos-remove-item): Take item overlays into account.
737 (todos-mode): Change calculation of wrap-prefix; make
738 hl-line-range-function a local variable and set it to highlight
739 todo item.
740 (todos-show): Ensure point stays at top of category.
741
98c97dee
SB
7422012-09-12 Stephen Berman <stephen.berman@gmx.net>
743
744 * calendar/todos.el (todos-window-configuration): Comment out.
745 (todos-display-categories): Comment out use of
746 todos-window-configuration; use switch-to-buffer instead of
747 pop-to-buffer.
748 (todos-jump-to-category-noninteractively): Comment out use of
749 todos-window-configuration.
750 (todos-edit-item): Don't allow editing of date/time item header.
751 (todos-insert-item, todos-insert-item-here): Insert date/time
752 header in front of new item string.
753 (todos-mode): Tweak wrap-prefix.
754
1f678911
SB
7552012-09-12 Stephen Berman <stephen.berman@gmx.net>
756
757 * calendar/todos.el (todos-file-do, todos-file-done):
758 Change default location to directory "~/.emacs.d/".
759 (todos-completion-ignore-case, todos-categories-buffer):
760 New defcustoms.
761 (todos-prefix-string, todos-item-header): New faces.
762 (todos-prefix-face, todos-item-header-face): Corresponding
763 new variables.
764 (todos-rename-category, todos-delete-category)
765 (todos-display-categories, todos-move-item): New commands.
766 (todos-mode-map): Add key bindings for new commands and for
767 todos-add-category, which had no key binding.
768 (todos-jump-to-category-noninteractively): New function.
769 (todos-top-priorities): Comment out code using a previously
770 deleted variable.
771 (todos-completing-read): Allow SPC to insert a space when entering
772 a new category name; use todos-completion-ignore-case.
773 (todos-font-lock-keywords, todos-window-configuration):
774 New variables.
775 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
776 word-wrap, and wrap-prefix local variables.
777
fffe5949
SB
7782012-09-12 Stephen Berman <stephen.berman@gmx.net>
779
780 * calendar/todos.el (todos-list-categories): Fix typos.
781 (todos-show): Ensure file is in todos-mode.
782
1e3d87b3
SB
7832012-09-12 Stephen Berman <stephen.berman@gmx.net>
784
785 * calendar/todos.el (todos-header): Remove defvar.
786 (todos-add-category): Comment out code that inserts and updates
787 the file local variables first line of the file todos-file-do.
788 (todos-list-categories): New function.
789 (todos-show): Use it; remove use of a previously deleted variable.
790
3f031767
SB
7912012-09-11 Stephen Berman <stephen.berman@gmx.net>
792
793 * calendar/todos.el: New file. This is a copy of todo-mode.el
794 from revision 94343 except for the following changes: replace all
795 occurrences of the namespace prefix "todo-" with "todos-", delete
796 the defvar todo-cats (the old name of todo-categories) and its use
797 in todos-add-category, delete all defaliases of old command names.
798
baa26ea0
BG
7992012-09-11 Bastien Guerry <bzg@gnu.org>
800
801 * subr.el (set-temporary-overlay-map): Add a docstring.
802 (bug#12346)
803
04e8abfa
BG
8042012-09-11 Bastien Guerry <bzg@gnu.org>
805
96d03571
BG
806 * minibuffer.el (completion-table-subvert): Fix docstring.
807 (bug#12347)
808
8092012-09-11 Bastien Guerry <bzg@gnu.org>
810
811 * help-fns.el (describe-variable): Fix typo. (bug#12346)
04e8abfa 812
04e082b0
MM
8132012-09-10 Michael R. Mauger <mmaug@yahoo.com>
814
815 * progmodes/sql.el: Version 3.1
816 (sql-db2-escape-newlines): New variable.
817 (sql-escape-newlines-filter): Use it.
818
399a361b
JB
8192012-09-10 Juanma Barranquero <lekktu@gmail.com>
820
821 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
822
0780c517
DN
8232012-09-10 Dan Nicolaescu <dann@gnu.org>
824
825 * vc/diff-mode.el (diff-mode-menu): Bind
826 diff-remove-trailing-whitespace.
827
9b851e25
SM
8282012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
829
830 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
831 (emacs-lisp-byte-code-comment)
832 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
833 New functions.
834 (eval-sexp-add-defvars): Don't skip defvars in column >0.
835 (eval-defun-2): Remove bogus interactive spec.
836 (lisp-indent-line): Remove redundant whole-exp code, now done in
837 indent-according-to-mode.
838 (save-match-data): Remove redundant indent data.
839
840 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
841 Use `declare'.
842
3231d532
JL
8432012-09-09 Juri Linkov <juri@jurta.org>
844
845 * replace.el (replace-regexp-lax-whitespace): New defcustom.
846 (replace-lax-whitespace, query-replace-regexp)
847 (query-replace-regexp-eval, replace-regexp): Doc fix.
848 (perform-replace, replace-highlight): Let-bind
849 isearch-lax-whitespace to replace-lax-whitespace and
850 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
851
852 * isearch.el (isearch-query-replace): Let-bind
853 replace-lax-whitespace to isearch-lax-whitespace and
854 replace-regexp-lax-whitespace to
855 isearch-regexp-lax-whitespace. (Bug#10885)
856
70fe8236
SM
8572012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
860
8ed43f15
AM
8612012-09-09 Alan Mackenzie <acm@muc.de>
862
70fe8236
SM
863 * progmodes/cc-engine.el (c-state-cache-init):
864 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
865 (c-record-parse-state-state):
866 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 867
bfabf70a
AS
8682012-09-09 Andreas Schwab <schwab@linux-m68k.org>
869
870 * register.el (register-separator): Rename from
871 separator-register. All uses changed. Doc fix.
872 (register): Fix version.
873
011474aa
CY
8742012-09-09 Chong Yidong <cyd@gnu.org>
875
876 * replace.el (query-replace-map): Bind four new symbols for
877 requesting window scrolling.
878
879 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
880 query-replace-map (Bug#8948).
881
882 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
883
884 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
885 since they are now in query-replace-map.
886
887 * window.el (scroll-other-window-down): Make the arg optional.
888
a8b7cd8d
CY
8892012-09-09 Chong Yidong <cyd@gnu.org>
890
891 * files.el (hack-local-variables-confirm): Use quit-window to kill
892 the *Local Variables* buffer.
893
c3268831
DG
8942012-09-08 Dmitry Gutov <dgutov@yandex.ru>
895
896 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
897 not just expect to be at its beginning. Adjust callees.
898 Succeed when do-end block has no space before the pipe character.
899 (ruby-brace-to-do-end): When the original block is one-liner,
900 convert to multiline. Reindent the result.
901
0979429b
J
9022012-09-08 Jambunathan K <kjambunathan@gmail.com>
903
904 * register.el (register): New group.
905 (register-separator): New user option.
906 (increment-register): Route it to `append-to-register', if
907 register contains text. Implication is that `C-x r +' can now be
908 used for appending to a text register (bug#12217).
909 (append-to-register, prepend-to-register): Add separator based on
910 `register-separator.
911
ace2989a
AM
9122012-09-08 Alan Mackenzie <acm@muc.de>
913
914 AWK Mode: make auto-newline work when there's "==" in the pattern.
915 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
916 correctly.
0979429b
J
917 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
918 Test more rigorously for "=" token.
ace2989a 919
616c6c36
DG
9202012-09-08 Dmitry Gutov <dgutov@yandex.ru>
921
0979429b
J
922 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
923 Only fail when reached LIMIT.
616c6c36 924
35d98877
CY
9252012-09-08 Chong Yidong <cyd@gnu.org>
926
927 * dired.el (dired-mode-map): Don't bind M-=.
928
929 * dired-aux.el (dired-diff): Use backup file as default.
930
1715f2db
DA
9312012-09-08 Drew Adams <drew.adams@oracle.com>
932
933 * subr.el (add-to-history): Fix delete usage (Bug#12314).
934
6dcef6ec
CY
9352012-09-08 Chong Yidong <cyd@gnu.org>
936
937 * subr.el (syntax-after, syntax-class): Doc fix.
938
fa2bcf43
MR
9392012-09-08 Martin Rudalics <rudalics@gmx.at>
940
941 * window.el (display-buffer-in-previous-window): New buffer
942 display action function.
943
944 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
945 (debugger-previous-window): New variable.
946 (debug): Rewrite using display-buffer-in-previous-window,
947 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
948
daac280a
SM
9492012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
950
951 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
952
9dd40b00
MM
9532012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
954
daac280a
SM
955 * progmodes/python.el (python-shell-send-string):
956 When default-directory is remote, create temp file on remote
9dd40b00
MM
957 filesystem.
958 (python-shell-send-file): When file is remote, pass local view of
959 file paths to remote Python interpreter. (Bug#12340)
960
145823ec
CY
9612012-09-07 Chong Yidong <cyd@gnu.org>
962
cee2e90d
CY
963 * window.el (switch-to-buffer): Doc fix (Bug#12181).
964
0d7eb2ea
CY
965 * files.el (after-find-file): Don't fail on a read-only buffer if
966 require-final-newline is `visit' or `visit-save' (Bug#11156).
967
145823ec
CY
968 * subr.el (read-char-choice): Allow quitting via ESC ESC.
969
daac280a
SM
970 * userlock.el (ask-user-about-supersession-threat):
971 Use read-char-choice (Bug#12093).
145823ec 972
74c582e6
CY
9732012-09-07 Chong Yidong <cyd@gnu.org>
974
e5c2edf7
CY
975 * subr.el (buffer-narrowed-p): New function.
976
977 * ses.el (ses-widen):
978 * simple.el (count-words--buffer-message):
979 * net/browse-url.el (browse-url-of-buffer): Use it
980
981 * simple.el (count-words-region): Don't signal an error if there
982 is a non-nil prefix arg and the mark is not set.
c640e87d 983
74c582e6
CY
984 * help.el (describe-key-briefly): Allow the message to be seen
985 when invoked from the minibuffer (Bug#7014).
986
d81ceaaf
DG
9872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-end-of-defun)
990 (ruby-beginning-of-defun): Simplify, allow indentation before
991 block beginning and end keywords.
8f06acce
DG
992 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
993 (ruby-end-of-defun): Expect that the point is at the beginning of
994 the defun.
d81ceaaf 995
d458ef98
SM
9962012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
999 (bug#12367).
1000 (cl--make-usage-args): Strip _ from argument names.
1001
20367d28
RS
10022012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1003
1004 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1005 obsolete alias speedbar-key-map.
1006 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1007 (vhdl-index-menu-init): Don't use obsolete variable
1008 font-lock-maximum-size.
1009
3424a4f6
CY
10102012-09-06 Chong Yidong <cyd@gnu.org>
1011
1012 * frame.el (window-system-version): Mark as obsolete.
1013
fcbfbdea
CY
1014 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1015 of obsolete variable speedbar-key-map.
1016
826b3235
JL
10172012-09-06 Juri Linkov <juri@jurta.org>
1018
1019 * replace.el (replace-lax-whitespace): New defcustom.
1020 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1021 (replace-string, replace-regexp): Mention it in docstrings.
1022 (perform-replace, replace-highlight): Let-bind
1023 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1024 to the values of replace-lax-whitespace and regexp-flag.
1025 Don't let-bind search-whitespace-regexp. (Bug#10885)
1026
1027 * isearch.el (isearch-query-replace): Let-bind
1028 replace-lax-whitespace instead of let-binding
1029 replace-search-function and replace-re-search-function.
1030 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1031 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1032 (isearch-toggle-symbol): Set isearch-regexp to nil
1033 in isearch-word mode (like in isearch-toggle-word).
1034
1ec5e41d
JL
10352012-09-06 Juri Linkov <juri@jurta.org>
1036
1037 * replace.el (replace-search-function)
1038 (replace-re-search-function): Set default values to nil.
1039 (perform-replace): Let-bind isearch-related variables based on
1040 replace-related values, call `isearch-search-fun' and let-bind
1041 the result to `search-function'. Remove code that sets
1042 `search-function' and `search-string' separately for
1043 `delimited-flag'.
1044 (replace-highlight): Add new argument `delimited-flag' and
1045 rename other arguments to the names used in `perform-replace'.
1046 Let-bind `isearch-word' to the argument `delimited-flag'.
1047 (Bug#10885, bug#10887)
1048
0ba2d4b6
DG
10492012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1050
1051 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1052 ruby-beginning-of-indent, simplify, allow all keywords to have
1053 indentation before them.
1054 (ruby-beginning-of-indent): Adjust for above. Search until the
1055 found point is not inside a string or comment.
1056 (ruby-font-lock-keywords): Allow symbols to start with "@"
1057 character, give them higher priority than variables.
1058 (ruby-syntax-propertize-function)
1059 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1060 matchers. Expression expansions are not comments when inside a
1061 string, and there comment syntax status is irrelevant.
1062 (ruby-match-expression-expansion): New function. Check that
1063 expression expansion is inside a string, and it's not escaped.
1064 (ruby-font-lock-keywords): Use it.
1065
ef654460
MR
10662012-09-05 Martin Rudalics <rudalics@gmx.at>
1067
1068 * help.el (temp-buffer-max-height): New default value.
1069 (temp-buffer-resize-frames): New option.
1070 (resize-temp-buffer-window): Optionally resize frame.
1071
1072 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1073 (fit-frame-to-buffer): New function.
1074
7e570fbf 10752012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1076
1077 * emulation/cua-rect.el (cua--init-rectangles):
1078 * textmodes/picture.el (picture-mode-map):
1079 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1080 like forward-char and backward-char. (Bug#12317)
1081
7e570fbf 10822012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1083
1084 * progmodes/flymake.el (flymake-warning-re): New variable.
1085 (flymake-parse-line): Use it.
1086
7e570fbf 10872012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1088
1089 * calendar/holidays.el (holiday-christian-holidays):
1090 Rename an entry. (Bug#12289)
1091
7e570fbf 10922012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1093
1094 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1095 (bug#12222).
1096
972debf2
SM
10972012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * loadup.el: Load macroexp. Remove hack.
1100 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1101 (macroexp--expand-all): Use it to get better warnings.
1102 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1103 (internal-macroexpand-for-load): New functions.
1104 (macroexp--pending-eager-loads): New var.
1105 (emacs-startup-hook): New hack to replace one in loadup.el.
1106 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1107 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1108 (cl-psetf): Simplify.
1109 (cl-defstruct): Add indent rule.
1110
8ce192e3
LI
11112012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1112
1113 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1114 over `user-mail-address' for the SMTP MAIL FROM envelope.
1115 (smtpmail-via-smtp): Ditto.
1116
6578b4d8
DG
11172012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1118
1119 * progmodes/ruby-mode.el: Clean up keybindings.
1120 (ruby-mode-map): Don't bind ruby-electric-brace,
1121 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1122 backward-kill-word, reindent-then-newline-and-indent.
1123 (ruby-mark-defun): Remove.
1124 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1125 (ruby-mode): Set local beginning-of-defun-function and
1126 end-of-defun-function values.
1127
c5e28e39
MR
11282012-09-03 Martin Rudalics <rudalics@gmx.at>
1129
1130 * window.el (temp-buffer-window-setup-hook)
1131 (temp-buffer-window-show-hook): New hooks.
1132 (temp-buffer-window-setup, temp-buffer-window-show)
1133 (with-temp-buffer-window): New functions.
972debf2
SM
1134 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1135 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1136
1137 * help.el (temp-buffer-resize-mode): Fix doc-string.
1138 (resize-temp-buffer-window): New optional argument WINDOW.
1139
1140 * files.el (recover-file, save-buffers-kill-emacs):
1141 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1142
73406194
MA
11432012-09-02 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1146 remote definition of `default-directory', ensure we can connect.
1147
63dd1c6f
JL
11482012-09-02 Juri Linkov <juri@jurta.org>
1149
1150 Toggle whitespace matching mode with M-s SPC.
1151 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1152
1153 * isearch.el (search-whitespace-regexp): Doc fix.
1154 Remove cons cell customization.
1155 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1156 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1157 New variables.
1158 (isearch-forward, isearch-forward-regexp): Doc fix.
1159 (isearch-toggle-lax-whitespace): New command.
1160 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1161 (re-search-forward-lax-whitespace)
1162 (re-search-backward-lax-whitespace): New functions.
1163 (isearch-whitespace-regexp): Remove function.
1164 (isearch-query-replace): Let-bind replace-search-function and
1165 replace-re-search-function.
1166 (isearch-occur): Let-bind search-spaces-regexp according to the
1167 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1168 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1169 condition for C-q SPC.
1170 (isearch-search-fun-default): Use new functions mentioned above.
1171 (isearch-search-forward, isearch-search-backward): Remove functions.
1172 (isearch-search): Don't let-bind search-spaces-regexp.
1173 (isearch-lazy-highlight-space-regexp): Remove variable.
1174 (isearch-lazy-highlight-lax-whitespace)
1175 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1176 (isearch-lazy-highlight-new-loop): Use them.
1177 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1178
af7dda05
CY
11792012-09-02 Chong Yidong <cyd@gnu.org>
1180
1181 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1182
d67d3afd
GM
11832012-09-02 Glenn Morris <rgm@gnu.org>
1184
1185 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1186
69678719
GM
11872012-09-01 Glenn Morris <rgm@gnu.org>
1188
1189 * term.el: Tidy up menu definitions.
1190 (term-mode-map): Use easymenu for In/Out, Complete menus.
1191 (term-pager-break-map): Initialize in the defvar.
1192 (term-terminal-menu, term-signals-menu): Define with easymenu.
1193 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1194 (term-pager-menu): New, extracted from term-process-pager.
1195 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1196 (term-update-mode-line): Propertize line/char and page items.
1197 (term-process-pager): Move keymap initialization elsewhere.
1198
78dd6ab1
MR
11992012-09-01 Martin Rudalics <rudalics@gmx.at>
1200
1201 * window.el (switch-to-prev-buffer): Handle additional values of
1202 BURY-OR-KILL argument. Don't switch in minibuffer window.
1203 (switch-to-next-buffer): Don't switch in minibuffer window.
1204 (quit-restore-window): New function based on quit-window.
1205 Handle additional values of former KILL argument.
1206 (quit-window): Call quit-restore-window with appropriate
1207 interpretation of KILL argument.
1208 (display-buffer-below-selected): New buffer display action
1209 function.
1210
3d10e134
SM
12112012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * minibuffer.el (completion-at-point-functions): Complete docstring
1214 (bug#12254).
1215
0e23ef9d
PE
12162012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1217
1218 Better seed support for (random).
1219 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1220 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1221 * play/mpuz.el, play/tetris.el, play/zone.el:
1222 * calc/calc-comb.el (math-init-random-base):
1223 * play/blackbox.el (bb-init-board):
1224 * play/life.el (life):
1225 * server.el (server-use-tcp):
1226 * type-break.el (type-break):
1227 Remove unnecessary call to (random t).
1228 * net/sasl.el (sasl-unique-id-function):
1229 Change (random t) to (random), now that the latter is more random.
1230 * play/life.el (life-initialized): Remove no-longer-needed var.
1231
862382df
MR
12322012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1233
1234 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1235 Consider frame's buffer predicate when choosing the buffer.
1236 (Bug#12081)
1237
262a66e1
RS
12382012-08-30 Richard Stallman <rms@gnu.org>
1239
1240 * simple.el (special-mode-map): Delete binding for `z'.
1241
f17e1d00
AS
12422012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1243
1244 * progmodes/compile.el (compilation-always-kill): Doc fix.
1245
24777832
CY
12462012-08-30 Chong Yidong <cyd@gnu.org>
1247
1248 * window.el (display-buffer-reuse-frames): Make the obsolescence
1249 message more informative.
1250
69ba1f04
GM
12512012-08-30 Glenn Morris <rgm@gnu.org>
1252
1253 * paren.el (show-paren-delay):
1254 Add a :set function. Doc fix. (Bug#12297)
1255
f0019ede
MB
12562012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1257
1258 * progmodes/compile.el (compilation-always-kill): New var.
1259 (compilation-start): Use it.
1260
35e62fc9
SM
12612012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1262
af070a1c
SM
1263 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1264 * files.el (read-only-mode): Move to simple.el.
1265
35e62fc9
SM
1266 * files.el (read-only-mode): New minor mode.
1267 (toggle-read-only): Use it and mark obsolete.
1268 (find-file--read-only):
1269 * vc/vc.el (vc-next-action, vc-checkout):
1270 * vc/vc-cvs.el (vc-cvs-checkout):
1271 * obsolete/vc-mcvs.el (vc-mcvs-update):
1272 * ffap.el (ffap--toggle-read-only): Update callers.
1273
c2c43c23
MA
12742012-08-29 Michael Albinus <michael.albinus@gmx.de>
1275
1276 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1277 remote shell scripts.
1278 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1279
1280 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1281 "/usr/local/sbin".
1282
9fba804b
SM
12832012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1286
eada0861 12872012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1288
806f0cc7
LL
1289 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1290 completion-at-point. (Bug#12220)
1291
3bb213b9
LL
1292 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1293
22ab32ef
LL
1294 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1295
eada0861 12962012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1297
19c17fc1
CY
1298 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1299 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1300
eada0861 13012012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1302
1303 * progmodes/hideif.el (hif-compress-define-list):
1304 Fix typo. (Bug#11951)
1305
eada0861 13062012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1307
1308 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1309 buffer local setting.
1310
27d6c5a8
LL
1311 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1312 rcirc-encode-coding-system.
1313
eada0861 13142012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1315
1316 * net/rcirc.el (rcirc-split-message): New function.
1317 (rcirc-send-message): Use it. (Bug#12051)
1318
d44688e4
JL
13192012-08-28 Juri Linkov <juri@jurta.org>
1320
1321 * info.el (Info-fontify-node): Hide empty lines at the end of
1322 the node. (Bug#12272)
1323
34f10d41
MR
13242012-08-27 Drew Adams <drew.adams@oracle.com>
1325
1326 * dired.el (dired-pop-to-buffer): Make window start at beginning
1327 of buffer (Bug#12281).
1328
77f1f99c
CY
13292012-08-26 Chong Yidong <cyd@gnu.org>
1330
1331 * window.el (special-display-regexps, special-display-frame-alist)
1332 (special-display-buffer-names, special-display-function)
1333 (display-buffer-reuse-frames): Mark as obsolete.
1334
1335 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1336
1337 * help.el (help-print-return-message): Don't treat
1338 display-buffer-reuse-frames specially.
1339
d97af5a0
CY
13402012-08-26 Chong Yidong <cyd@gnu.org>
1341
9fba804b
SM
1342 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1343 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1344 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1345 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1346 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1347 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1348 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1349 the functions directly with gdb-display-buffer-other-frame-action.
1350 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1351 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1352 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1353 (gdb-display-registers-buffer): Define directly.
1354 (def-gdb-display-buffer): Macro deleted.
1355 (gdb-display-buffer): Remove second and third args, callers don't
1356 use them. Defer to the default display-buffer behavior, apart
1357 from making windows dedicated.
1358 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1359
1360 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1361
1362 * window.el (display-buffer-pop-up-frame): Handle a
1363 pop-up-frame-parameters alist entry.
1364 (display-buffer): Document it.
1365
dd7ffad6
CY
13662012-08-26 Chong Yidong <cyd@gnu.org>
1367
1368 * isearch.el (search-whitespace-regexp): Make string and nil
1369 values apply to both ordinary and regexp search. Allow a cons
1370 cell value to distinguish between the two.
1371 (isearch-whitespace-regexp, isearch-search-forward)
1372 (isearch-search-backward): New functions.
1373 (isearch-occur, isearch-search-fun-default, isearch-search)
1374 (isearch-lazy-highlight-new-loop): Use them.
1375 (isearch-forward, isearch-forward-regexp): Doc fix.
1376
4c47bd1e
CY
13772012-08-26 Chong Yidong <cyd@gnu.org>
1378
1379 * faces.el (help-argument-name): Always inherit from italic
1380 (Bug#12213).
1381
9aba119d
MR
13822012-08-25 Martin Rudalics <rudalics@gmx.at>
1383
1384 * window.el (window--even-window-heights): Even heights when
1385 WINDOW and the selected window form a vertical combination.
1386 (display-buffer-use-some-window): Provide that window used gets
1387 sized back by quit-window. (Bug#11880) and (Bug#12091)
1388
ca5256ad
PE
13892012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1390
1391 Fix file time stamp problem with bzr and CVS (Bug#12001).
1392 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1393 in the file's time stamp, since the version control system loses
1394 that information.
1395
d1c0d176
JL
13962012-08-22 Juri Linkov <juri@jurta.org>
1397
1398 * info.el (Info-fontify-node): Hide the suffix of the
1399 Info file name in the header line. (Bug#12187)
1400
141562ff
GM
14012012-08-22 Glenn Morris <rgm@gnu.org>
1402
1403 * calendar/cal-tex.el (cal-tex-weekly-common):
1404 Restore leading blank page.
1405
61a48e19 14062012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1407
1408 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1409 the region under `shift-select-mode'. (Bug#12231)
1410
14112012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1412
1413 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1414 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1415 gives details on why the space is never needed.
1416
ea95074e
MR
14172012-08-22 Martin Rudalics <rudalics@gmx.at>
1418
9fba804b
SM
1419 * window.el (walk-window-tree, window-with-parameter):
1420 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1421 should run on the minibuffer window.
1422 (window-at-side-list): Don't operate on minibuffer window.
1423 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1424 (window--size-ignore): Rename to window--size-ignore-p.
1425 Update callers.
caceae25
MR
1426 (display-buffer-in-atom-window, window--major-non-side-window)
1427 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1428 (delete-side-window, display-buffer-in-side-window):
1429 New functions.
caceae25
MR
1430 (window--side-check, window-deletable-p, delete-window)
1431 (delete-other-windows, split-window): Handle side windows and
1432 atomic windows appropriately.
1433 (window--display-buffer): Call display-buffer-record-window also
1434 when the window buffer did not change.
ea95074e 1435
80a51fa0
CS
14362012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1437
1438 * help-fns.el (help-fns--key-bindings):
1439 Abbreviate non-symbol remap targets. (Bug#12174)
1440
fbb6300b
MR
14412012-08-22 Martin Rudalics <rudalics@gmx.at>
1442
1443 * dired.el (dired-mark-remembered): Don't clobber point.
1444 (Bug#11795)
1445
2b2c0794
GM
14462012-08-22 Glenn Morris <rgm@gnu.org>
1447
1448 * progmodes/bug-reference.el (bug-reference): New custom group.
1449 (bug-reference-bug-regexp): Make it a defcustom.
1450
37219830
DU
14512012-08-22 Daiki Ueno <ueno@unixuser.org>
1452
1453 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1454 (js-paren-indent-offset, js-square-indent-offset)
1455 (js-curly-indent-offset): Add :safe (Bug#12257).
1456
94e0e559
EC
14572012-08-22 Edward O'Connor <hober0@gmail.com>
1458
1459 * json.el (json-key-format): Add error properties.
1460 (json-encode-key): New function.
1461 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1462 Use json-encode-key.
1463
da485f5e
GM
14642012-08-22 Glenn Morris <rgm@gnu.org>
1465
1466 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1467 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1468 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1469 Update for above change.
1470
c6cc78b8
AS
14712012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1472
1473 * cus-face.el (custom-face-attributes): Fix customize type for the
1474 :underline attribute. (Bug#11805)
1475
5481664a
MR
14762012-08-21 Martin Rudalics <rudalics@gmx.at>
1477
1478 * window.el (window-point-1, set-window-point-1): Remove.
1479 (window-in-direction, record-window-buffer)
1480 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1481 (window--state-get-1, display-buffer-record-window):
1482 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1483 window-point and set-window-point respectively.
1484
6d74698e
GM
14852012-08-21 Glenn Morris <rgm@gnu.org>
1486
b7fa2691
GM
1487 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1488 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1489 Use it.
1490
52f56d5a
GM
1491 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1492 (cal-tex-shortday): New function.
1493 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1494 (cal-tex-cursor-filofax-daily): Use the above.
1495
9f1ee09e
GM
1496 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1497 New functions.
1498 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1499 (cal-tex-cursor-filofax-week): Use them.
1500
79858159
GM
1501 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1502 New constants.
1503 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1504 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1505
d346b2b4
GM
1506 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1507 (cal-tex-end-document): Don't rely on buffer name.
1508
b2403709
GM
1509 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1510 Use cal-tex-vspace.
1511 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1512 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1513 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1514 Use cal-tex-arg.
b2403709 1515
1cebb5c0
GM
1516 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1517 (cal-tex-cursor-week, cal-tex-cursor-week2)
1518 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1519 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1520 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1521 (cal-tex-insert-preamble, cal-tex-b-document)
1522 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1523 Improve cal-tex-cmd usage.
1524
c68cd5d4
GM
1525 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1526 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1527 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1528 (cal-tex-weekly-paper): New function.
1529 (cal-tex-cursor-week, cal-tex-cursor-week2)
1530 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1531 (cal-tex-cursor-day): Use it.
1532
9dca4801
GM
1533 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1534 (cal-tex-cursor-filofax-week): Remove leading blank page.
1535
1941e134
GM
1536 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1537 Add autoload cookie. For now at least, don't use color, since
1538 no other cal-tex function does.
1539
6d74698e
GM
1540 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1541 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1542 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1543
64cde199
JL
15442012-08-21 Juri Linkov <juri@jurta.org>
1545
1546 * info.el (Info-file-attributes): New variable.
1547 (info-insert-file-contents): Add file attributes to
1548 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1549 `Info-toc-nodes' when previous modtime of the Info file is less
1550 than new modtime.
1551 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1552 of info.el. (Bug#12230)
1553
32757648
GM
15542012-08-20 Glenn Morris <rgm@gnu.org>
1555
1556 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1557 * calendar/holidays.el (calendar-holiday-list):
1558 Report errors with display-warning rather than beep'n'sleep.
1559
a32fbbcf
MA
15602012-08-20 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * net/tramp.el (tramp-accept-process-output): Accept only output
1563 from PROC. Otherwise, process filters and sentinels might be
1564 confused. (Bug#12145)
1565
a05731a0
CY
15662012-08-20 Chong Yidong <cyd@gnu.org>
1567
1568 * descr-text.el (describe-text-properties-1): Use overlays-in to
1569 report on empty overlays (Bug#3322).
1570
36e8d1eb
GM
15712012-08-20 Glenn Morris <rgm@gnu.org>
1572
3d300447
GM
1573 * mail/rmailout.el (rmail-output-read-file-name):
1574 Trap and report errors in rmail-output-file-alist elements.
1575
36e8d1eb
GM
1576 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1577 since most non-font-lock faces are not also variables).
1578
b96e5814
ER
15792012-08-20 Edward Reingold <reingold@iit.edu>
1580
1581 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1582 New function. (Bug12160)
1583
7cef3569
GM
15842012-08-19 Glenn Morris <rgm@gnu.org>
1585
1586 * mail/rmailout.el (rmail-output-read-file-name):
1587 Fix previous change (when the alist is nil or does not match).
1588
17975d7f
CY
15892012-08-19 Chong Yidong <cyd@gnu.org>
1590
1591 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1592 (Bug#12228).
1593
2170b1bd
CY
15942012-08-18 Chong Yidong <cyd@gnu.org>
1595
1596 * simple.el (yank-handled-properties): New defcustom.
1597 (yank-excluded-properties): Add font-lock-face and category.
1598 (yank): Doc fix.
1599
9fba804b
SM
1600 * subr.el (remove-yank-excluded-properties):
1601 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1602 and category is now done this way, instead of being hard-coded.
1603 (insert-for-yank-1): Remove font-lock-face handling.
1604 (yank-handle-font-lock-face-property)
1605 (yank-handle-category-property): New function.
1606
ee218151
GM
16072012-08-17 Glenn Morris <rgm@gnu.org>
1608
1609 * mail/rmailout.el (rmail-output-read-file-name):
1610 Check rmail-output-file-alist against the full message body
1611 in the correct rmail buffer. (Bug#12214)
1612
4a6bc3fd
MA
16132012-08-17 Michael Albinus <michael.albinus@gmx.de>
1614
9fba804b
SM
1615 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1616 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1617
383dcbf9
CY
16182012-08-17 Chong Yidong <cyd@gnu.org>
1619
1620 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1621 font spec, set the font directly (Bug#3228).
1622
998c4a6a
MR
16232012-08-17 Martin Rudalics <rudalics@gmx.at>
1624
1625 * window.el (delete-window): Fix last fix.
1626
52162052
MR
16272012-08-16 Martin Rudalics <rudalics@gmx.at>
1628
1629 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1630 (window-child, window-child-count, window-last-child)
1631 (window-normalize-window, window-combined-p)
1632 (window-combinations, window-atom-root, window-min-size)
1633 (window-sizable, window-sizable-p, window-size-fixed-p)
1634 (window-min-delta, window-max-delta, window--resizable)
1635 (window--resizable-p, window-resizable, window-total-size)
1636 (window-full-height-p, window-full-width-p, window-body-size)
1637 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1638 (minimize-window, window-deletable-p, delete-window)
1639 (delete-other-windows, set-window-buffer-start-and-point)
1640 (next-buffer, previous-buffer, split-window, balance-windows-2)
1641 (set-window-text-height, window-buffer-height)
1642 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1643 (truncated-partial-width-window-p): Minor code adjustments.
1644 In doc-strings state whether the argument window has to denote a
85c2386b 1645 live, valid or any window.
52162052 1646
1c308380
PS
16472012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1648
1649 * progmodes/subword.el (subword-forward-function)
1650 (subword-backward-function, subword-forward-regexp)
1651 (subword-backward-regexp): New variables.
1652 (subword-forward, subword-forward-internal, subword-backward-internal):
1653 Use new variables, eg so that different "word" definitions
1654 can be easily used. (Bug#11411)
1655
94c9ece1
SM
16562012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1657
1658 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1659 for composite selectors.
1660 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1661 operation just because we can't find a previous revision.
1662
f2045622
CY
16632012-08-15 Chong Yidong <cyd@gnu.org>
1664
1665 * frame.el (set-frame-font): Accept font objects.
1666
582db660
SM
16672012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1670
2f29c200
WJ
16712012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1672
456e62c2
WJ
1673 * man.el (Man-overstrike-face, Man-underline-face)
1674 (Man-reverse-face): Remove variables.
1675 (Man-overstrike, Man-underline, Man-reverse): New faces.
1676 (Man-fontify-manpage): Use them instead of the variables.
1677 (Man-cleanup-manpage): Comment change.
1678 (Man-ansi-color-map): New variable.
1679 (Man-fontify-manpage): Use it.
1680 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1681
2f29c200
WJ
1682 Implement ANSI SGR parameters 22-27 (bug#12146).
1683 * ansi-color.el (ansi-colors): Doc fix.
1684 (ansi-color-context, ansi-color-context-region): Doc fix.
1685 (ansi-color--find-face): New function.
1686 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1687 Rename the local variable `face' to `codes' since it is now a list of
1688 ansi codes. Doc fix.
1689 (ansi-color-get-face): Remove.
1690 (ansi-color-parse-sequence): New function, derived from
1691 ansi-color-get-face.
1692 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1693 codes 22-27.
1694
b4f5e9df
SM
16952012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * subr.el (read-passwd): Allow use from a minibuffer.
1698
ba025fbd
EZ
16992012-08-14 Eli Zaretskii <eliz@gnu.org>
1700
1701 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1702 inside comments and strings as identifiers.
1703
1704 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1705 expression to evaluate. This allows to evaluate expressions with
1706 embedded whitespace.
1707 (gud-tooltip-tips): Add a blank before the newline in the
1708 message-box text, for the benefit of message-box emulation on
1709 MS-Windows.
1710
1711 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1712 messages from GDB, pop them up in a tooltip to give feedback to
1713 user.
b4f5e9df
SM
1714 (gdb-tooltip-print-1): Quote the expression to evaluate.
1715 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1716 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1717 if the TTY name is nil or empty (which happens when communicating
1718 with the inferior via pipes, e.g. on MS-Windows).
1719 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1720 don't send that to the GUD buffer.
1721
c548f821
GM
17222012-08-14 Glenn Morris <rgm@gnu.org>
1723
1724 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1725 Optimize away setq-default with no args, as for setq. (Bug#12195)
1726
55802e4a
CY
17272012-08-14 Chong Yidong <cyd@gnu.org>
1728
4abcdac8
CY
1729 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1730
55802e4a
CY
1731 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1732 (Bug#12085).
1733
3c3cda1a
GM
17342012-08-14 Glenn Morris <rgm@gnu.org>
1735
1736 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1737
e1873bd0
MA
17382012-08-14 Michael Albinus <michael.albinus@gmx.de>
1739
1740 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1741 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1742 Use cached shell name.
1743
925411b4
FEG
17442012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1745
1746 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1747 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1748
e636fafe
DG
17492012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1750
1751 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1752 (ruby-percent-literal-beg-re): New constant.
1753 (ruby-syntax-general-delimiters-goto-beg): Rename to
1754 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1755 (ruby-syntax-propertize-general-delimiters): Rename to
1756 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1757 popular term. Adjust comments everywhere.
1758 (ruby-syntax-propertize-percent-literal): Only propertize when not
1759 inside a simple string or comment. When the literal is unclosed,
1760 leave the text after it unpropertized.
f063063a
DG
1761 (ruby-syntax-methods-before-regexp): New constant.
1762 (ruby-syntax-propertize-function): Use it to recognize regexps.
1763 Don't look at the text after regexp, just use the whitelist.
e636fafe 1764
e5b19827
AS
17652012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1766
1767 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1768 non-nil always load the compiled file if it exists. (Bug#12197)
1769
a9f6f311
CY
17702012-08-14 Chong Yidong <cyd@gnu.org>
1771
1772 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1773 (hi-lock-set-pattern): When deciding whether to use font lock or
1774 overlays, look at font-lock-mode instead of font-lock-fontified
1775 (Bug#12168).
1776 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1777 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1778
7d806b1e
DU
17792012-08-14 Daiki Ueno <ueno@unixuser.org>
1780
1781 * subr.el (internal--after-with-selected-window): Fix typo
1782 (Bug#12193).
1783
5beed586
FEG
17842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1785
1786 Use `completion-table-dynamic' for completion functions.
1787 * progmodes/python.el
1788 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1789 (python-shell-completion--get-completions):
1790 Remove functions.
5beed586
FEG
1791 (python-shell-completion-complete-at-point): New function.
1792 (python-completion-complete-at-point): Use it.
1793
92cb3b04
J
17942012-08-13 Jambunathan K <kjambunathan@gmail.com>
1795
1796 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1797 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1798
89660017
SM
17992012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1800
3c98c962
SM
1801 * subr.el (function-get): Refine `autoload' arg so it can also
1802 autoload functions for gv.el (bug#12191).
1803 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1804 autoloads macros.
1805
aa7c6dbe
SM
1806 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1807 Prefer pcase-let over destructuring-bind.
1808 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1809 Also, remove whitespace as we go, rather than after accumulating the
1810 various places.
1811
89660017
SM
1812 * subr.el (internal--before-with-selected-window)
1813 (internal--after-with-selected-window): Fix typo seleted->selected.
1814 (with-selected-window): Adjust callers.
1815 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1816
31cd32c9
BG
18172012-08-13 Bastien Guerry <bzg@gnu.org>
1818
0fcd3d9f 1819 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1820 enhancement. (Bug#12172)
1821
1b15d8ad
AS
18222012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1823
31e54db0
AS
1824 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1825 type 1-6.
1826 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1827 extended headers.
1828
1b15d8ad
AS
1829 * files.el (hack-local-variables-filter): Remove useless eval.
1830
35cb9c06
MR
18312012-08-13 Martin Rudalics <rudalics@gmx.at>
1832
1833 * subr.el (with-selected-window): Fix last change.
1834
1439443b
SM
18352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * subr.el (internal--before-with-seleted-window)
1838 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1839 (with-selected-window): Use them, to replace dependency on
1840 tty-top-frame.
1439443b 1841
0d9e2599
NN
18422012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1843
1844 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1845 binding for `newline'.
1846 (ruby-move-to-block): When moving backward, stop at block opening,
1847 not indentation.
1848 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1849 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1850 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1851 `ruby-toggle-block'.
1852
ba10c48c
SM
18532012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * ibuffer.el (ibuffer-do-toggle-read-only):
1856 * dired.el (dired-toggle-read-only):
1857 * buff-menu.el (Buffer-menu-toggle-read-only):
1858 * bindings.el (mode-line-toggle-read-only):
1859 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1860
9229c658
AS
18612012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1862
1863 * descr-text.el (describe-char): Put the overlays over the
1864 "displayed as" character.
1865
0fd09128
JB
18662012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1867
1868 * calc/calc-units.el (math-default-units-table): Give an
1869 initial value.
1870 (math-put-default-units): Add options to put composite units and
1871 unit systems in the default units table.
1872 (calc-convert-units): Send composite units to
1873 `math-put-default-units' when appropriate.
1874
9ff9402d 18752012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1876
fbb5e336
GM
1877 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1878
7aacaf15
GM
1879 * tutorial.el (help-with-tutorial):
1880 * emacs-lisp/copyright.el (copyright-update-directory):
1881 * emacs-lisp/autoload.el (autoload-find-generated-file)
1882 (autoload-find-file): Disable local eval: (for insurance).
1883
f40b9f10
GM
1884 * files.el (hack-local-variables-filter): If an eval: form is not
1885 known to be safe, and enable-local-variables is :safe, then ignore
1886 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1887 This is CVE-2012-3479.
f40b9f10 1888
daa9f1a6
SM
18892012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1892 (rx-form): Simplify.
1893
9cd80478
DG
18942012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1895
0d9e2599
NN
1896 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1897 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1898 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1899 (ruby-syntax-propertize-function): Adjust for changes in
1900 `ruby-syntax-propertize-heredoc'.
1901
19022012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1903
9cd80478
DG
1904 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1905 binding (use `M-;' instead).
9cd80478 1906 (ruby-singleton-class-p): New function.
0d9e2599 1907 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1908
d301b413
SM
19092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1912
1530c98e
CY
19132012-08-10 Chong Yidong <cyd@gnu.org>
1914
1915 * progmodes/python.el (python-shell-get-process-name): Don't mess
1916 with same-window-buffer-names.
1917
1918 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1919 (eshell-remove-from-window-buffer-names): Make obsolete.
1920 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1921 (eshell): Just use pop-to-buffer-same-window instead.
1922
e1293765
CY
19232012-08-10 Chong Yidong <cyd@gnu.org>
1924
1925 * bindings.el: Bind M-= back to count-words-region.
1926
1927 * simple.el (count-words-region): Accept a prefix arg for acting
1928 on the entire buffer.
1929 (count-words--buffer-message): New helper function.
1930
e1894109
SM
19312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1934 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1935 (event-start, event-end): Use posn-at-point to return a more
1936 informative posn.
1937 (posnp): New function.
1938 * mouse.el (popup-menu-normalize-position): Use it.
1939
c69f56a2
MY
19402012-08-10 Masatake YAMATO <yamato@redhat.com>
1941
1942 * mouse.el (popup-menu-normalize-position): New function.
1943 (popup-menu): Use `popup-menu-normalize-position' to normalize
1944 the form for POSITION argument.
1945
1946 * term/x-win.el (x-menu-bar-open):
1947 Use the value returend from (posn-at-point) as position
1948 passed to `popup-menu'.
1949
31673780
JB
19502012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1951
1952 * calc/calccomp.el (math-compose-expr): Add extra argument
1953 indicating that parentheses should be put around products in
1954 denominators. Give multiplication precedence over division during
1955 composition.
1956
dab7711b
CY
19572012-08-09 Chong Yidong <cyd@gnu.org>
1958
dee4ef93
CY
1959 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1960 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1961 (Man-untabify-command, manual-program): Convert to defcustom
1962 (Bug#10429).
1963
73e2bbc5
CY
1964 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1965
3e861c8a
CY
1966 * descr-text.el (describe-char): Don't insert extra newlines
1967 (Bug#10127).
1968
a9f5a649
CY
1969 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1970 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1971
dab7711b
CY
1972 * align.el (align-region): Delete temporary markers (Bug#10047).
1973 Plus some code cleanups.
1974
e0cc4efa
FEG
19752012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1976
1977 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1978 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1979 (python-shell-internal-last-output): Use make-local-variable
1980 instead of make-variable-buffer-local.
1981
489af14f
FEG
19822012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1983
1984 * progmodes/python.el: Enhancements to forward-sexp.
1985 (python-nav-forward-sexp): Rename from
1986 python-nav-forward-sexp-function.
c69f56a2
MY
1987 (python-nav--forward-sexp, python-nav--backward-sexp):
1988 New functions.
489af14f 1989
0fc50303
JB
19902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1991
1992 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1993 modes and simplification modes.
1994
5d65606a
SM
19952012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * delsel.el (delete-selection-pre-hook): Don't propagate the
1998 file-supersession signals (bug#12161).
1999
4250fdf5
SM
20002012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2003 (cl-map-extents): Add compatibility aliases (bug#12135).
2004
d9f9b465
MA
20052012-08-08 Michael Albinus <michael.albinus@gmx.de>
2006
2007 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2008 tests by `ignore-error'.
2009 (tramp-find-shell): Open also a new shell, when cache is already
2010 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2011
ce0fcefa
JL
20122012-08-08 Juri Linkov <juri@jurta.org>
2013
2014 * bookmark.el: Add `defaults' property to the bookmark record.
2015 (bookmark-current-buffer): Doc fix.
2016 (bookmark-make-record): Add `defaults' property with default values
2017 to the bookmark record.
2018 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2019 with `bookmark-insert-current-bookmark'.
2020 (bookmark-set): Get `defaults' property from the bookmark record
2021 and use it in `read-from-minibuffer'.
2022 (bookmark-insert-current-bookmark): Remove function.
2023
2024 * info.el (Info-bookmark-make-record): Add `defaults' property
2025 with values of canonical Info node name, the current Info file
2026 name and the current Info node name. (Bug#12107)
2027
53fa8652
JL
20282012-08-08 Juri Linkov <juri@jurta.org>
2029
2030 * files.el (basic-save-buffer): Use `buffer-name' as the default
2031 of `read-file-name' when buffer is not visiting a file (bug#12128).
2032
242c0a95
JL
20332012-08-08 Juri Linkov <juri@jurta.org>
2034
2035 * info.el (Info-isearch-search): Doc fix.
2036 (Info-search): Change search-failed message from "initial node" to
2037 "end of node" (bug#12078).
2038 (Info-isearch-search): Change `isearch-string-state' to
2039 `isearch--state-string'.
2040
32ac3a6b
GM
20412012-08-08 Glenn Morris <rgm@gnu.org>
2042
2043 * language/persian.el: Remove file.
f8c1afd5 2044 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2045 * loadup.el: Remove language/persian.
2046
2c2d9c9c
OF
20472012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2048
2049 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2050
2d79ec42
FEG
20512012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2052
2053 * progmodes/python.el Fixed defsubst warning.
2054 (python-syntax-context) Rename from python-info-ppss-context.
2055 (python-syntax-context-type): Rename from
2056 python-info-ppss-context-type.
2057 (python-syntax-comment-or-string-p): Rename from
2058 python-info-ppss-comment-or-string-p.
2059
2bd255dd
JB
20602012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2061
2062 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2063
c395097f
AS
20642012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2065
6125983e
AS
2066 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2067 a defcustom that is quoted with backquote.
2068
4250fdf5
SM
2069 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2070 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2071 (math-do-arg-check, math-define-function-body): Use backquote forms.
2072 * calc/calc-ext.el (math-defcache): Likewise.
2073 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2074 * allout.el (allout-new-exposure): Likewise.
2075 * calc/calcalg2.el (math-tracing-integral): Likewise.
2076 * info.el (Info-last-menu-item): Likewise.
2077 * emulation/vip.el (vip-loop): Likewise.
2078 * textmodes/artist.el (artist-funcall): Likewise.
2079 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2080 Construct menu-item directly.
2081
4250fdf5
SM
2082 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2083 Don't declare.
c395097f 2084
5fb50dd3
CY
20852012-08-07 Chong Yidong <cyd@gnu.org>
2086
2087 * simple.el (deactivate-mark): Preserve text properties when
2088 saving the primary selection (Bug#8384).
2089
54eea618
KR
20902012-08-07 Kevin Ryde <user42@zip.com.au>
2091
2092 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2093 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2094 and continue processing (Bug#12110).
2095
638eaeb9
SM
20962012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2099 syntax-propertize-function (bug#10095).
2100
ea376861
SM
21012012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2102
f91b35be
SM
2103 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2104 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2105 describe-function-1.
2106 (describe-function-1): Use them. Move compiler macro after sig.
2107 (help-fns--compiler-macro): Use function-get. Assume we're already in
2108 standard-output. Adjust layout to new call order.
2109
ea376861
SM
2110 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2111 re-binding a symbol that has a symbol-macro (bug#12119).
2112
d5be7bd0
MB
21132012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2114
2115 * language/persian.el: New file. (Bug#11812)
2116 * loadup.el: Add language/persian.el.
2117
90749b53
CY
21182012-08-06 Chong Yidong <cyd@gnu.org>
2119
2120 * window.el (window--maybe-raise-frame): New function.
2121 (window--display-buffer): Split off from here.
2122 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2123 (display-buffer-pop-up-window, display-buffer-use-some-window):
2124 Obey an inhibit-switch-frame action alist entry.
2125 (display-buffer): Update doc.
2126
2127 * replace.el (occur-after-change-function): Avoid losing focus by
2128 using the inhibit-switch-frame display parameter (Bug#12139).
2129
ba7b0154
FEG
21302012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2131
2132 Make internal shell process buffer names start with space.
2133 * progmodes/python.el (python-shell-make-comint): Add optional
2134 argument INTERNAL.
2135 (run-python-internal): Use it.
2136 (python-shell-internal-get-or-create-process): Check for new
2137 internal buffer names.
2138
5eaeacb5
GM
21392012-08-06 Glenn Morris <rgm@gnu.org>
2140
e296d94b 2141 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2142 Do less getting and setting of environment variables.
2143
b7ccbdc2
CY
21442012-08-05 Chong Yidong <cyd@gnu.org>
2145
777fe95e
CY
2146 * proced.el (proced): Add substitution string to docstring to
2147 trigger autoloading of the proced library on C-h f (Bug#1768).
2148
4250fdf5
SM
2149 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2150 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2151
2152 * imenu.el (imenu-generic-expression): Move documentation here
2153 from imenu--generic-function.
2154 (imenu--generic-function): Refer to imenu-generic-expression.
2155
9e3b7800 21562012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2157
2158 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2159 indentation declaration.
2160 (viper-loop): Add indentation declaration (Bug#7025).
2161
e5d9c0d1
CY
21622012-08-05 Chong Yidong <cyd@gnu.org>
2163
f0422feb
CY
2164 * help-fns.el (describe-variable): Add hyperlink for
2165 directory-local variables files. Improve buffer-local and
2166 permanent-local reporting; suggested by MON KEY (Bug#6644).
2167
2168 * help-mode.el (help-dir-local-var-def): New button type.
2169
e5d9c0d1
CY
2170 * files.el (kill-buffer-hook): Provide a defvar.
2171
a4f2deaa
GM
21722012-08-05 Glenn Morris <rgm@gnu.org>
2173
2174 * eshell/esh-ext.el (eshell/addpath):
2175 Also update eshell-path-env. (Bug#12013)
2176
a9dd5754
CY
21772012-08-05 Chong Yidong <cyd@gnu.org>
2178
a4f2deaa 2179 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2180
d014c740
CY
2181 * fringe.el (fringe-styles): Add docstring.
2182 (fringe--check-mode): New function.
2183 (set-fringe-mode, set-fringe-style): Use it.
2184 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2185
a9dd5754
CY
2186 * files.el (set-auto-mode): Fix invalid setq call.
2187
7c2dc8bd
SM
21882012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * isearch.el: Misc simplification; use defstruct.
2191 (isearch-mode-map): Dense maps now work like sparse ones.
2192 (isearch--state): New defstruct.
2193 (isearch-string-state, isearch-message-state, isearch-point-state)
2194 (isearch-success-state, isearch-forward-state)
2195 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2196 (isearch-wrapped-state, isearch-barrier-state)
2197 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2198 replaced by defstruct's accessors.
2199 (isearch--set-state): Rename from isearch-top-state and change
2200 calling convention.
2201 (isearch-push-state): Use new isearch--get-state.
2202 (isearch-toggle-word): Disable regexp when enabling word.
2203 (isearch-message-prefix): Remove unused arg _c-q-hack.
2204 (isearch-message-suffix): Remove unused arg _ellipsis.
2205
7fcc0070
AS
22062012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 * simple.el (list-processes--refresh): For a server use :host or
2209 :local as the address.
97ad0769 2210 (list-processes): Doc fix.
7fcc0070 2211
00340faf
MN
22122012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2213
2214 * lisp/mpc.el: Support password in host argument.
2215 (mpc--proc-connect): Parse and use new password element.
2216 Set mpc-proc variable instead of returning process.
2217 (mpc-proc): Adjust accordingly.
2218
6dad7178
EZ
22192012-08-03 Eli Zaretskii <eliz@gnu.org>
2220
18949c2f
EZ
2221 * whitespace.el (whitespace-display-mappings): Use Unicode
2222 codepoints, instead of emacs-mule codepoints. See
2223 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2224 for the details.
2225
6dad7178
EZ
2226 * files.el (file-truename): Don't skip symlink-chasing part on
2227 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2228 Windows into the loop that recursively chases symlinks.
2229 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2230 MS-DOS.
2231
385b0198
CY
22322012-08-03 Chong Yidong <cyd@gnu.org>
2233
6200f3c4
CY
2234 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2235
385b0198
CY
2236 * sort.el (sort-regexp-fields): Doc fix.
2237
b9e74744
TH
22382012-08-03 Tassilo Horn <tsdh@gnu.org>
2239
2240 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2241 labels regex position point at the expected place.
2242
41013cb4
MK
22432012-08-03 MON KEY <monkey@sandpframing.com>
2244
2245 * net/imap.el (imap-interactive-login, imap-authenticate)
2246 (imap-mailbox-lsub, imap-mailbox-list)
2247 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2248 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2249 (imap-parse-response): Doc fix.
2250
0ffee616
JT
22512012-08-03 João Távora <joaotavora@gmail.com>
2252
2253 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2254 if sexp scanning does not move point (Bug#5734).
2255
cfcc9cc8
TH
22562012-08-02 Tassilo Horn <tsdh@gnu.org>
2257
2258 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2259 Add listings, minted, and ctable packages.
2260 (reftex-label-alist-builtin): Move listings, minted, and ctable
2261 entries before LaTeX.
a01bbb84 2262 (reftex-label-alist): Docfix.
cfcc9cc8 2263
66ec2442
BG
22642012-08-02 Bastien Guerry <bzg@gnu.org>
2265
2266 * replace.el (occur): Fix docstring (bug#12122).
2267
837b365b
GM
22682012-08-02 Glenn Morris <rgm@gnu.org>
2269
2270 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2271
e098de97
PE
22722012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2273
2274 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2275 * international/mule-cmds.el: Create
2276 inactivate-current-input-method-function as an obsolete alias for
2277 deactivate-current-input-method-function. See Katsumi Yamaoka in
2278 <http://bugs.gnu.org/10150#46>.
2279
a0f95636
JB
22802012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2281
2282 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2283 of nested `if's.
2284
0d26d7c4
GM
22852012-08-01 Glenn Morris <rgm@gnu.org>
2286
2287 * progmodes/autoconf.el (autoconf-definition-regexp):
2288 Add AH_TEMPLATE, adjust submatch numbering.
2289 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2290 (autoconf-current-defun-function): Update for above change.
2291 (autoconf-current-defun-function): First skip to end of current word.
2292
b686ba06
RS
22932012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2294
2295 * calendar/cal-html.el (cal-html-insert-agenda-days):
2296 Fix typo. (Bug#12018)
2297
0d49da68
FEG
22982012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2299
2300 Shell processes: enhancements to startup and CEDET compatibility.
2301 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2302 (python-shell-make-comint): accept-process-output at startup.
2303 (run-python-internal): Set inferior-python-mode-hook to nil.
2304 (python-shell-internal-get-or-create-process): call sit-for.
2305 (python-preoutput-result): Add obsolete alias.
2306 (python-shell-internal-send-string): Use it.
2307 (python-shell-send-setup-code): Remove call to
2308 accept-process-output.
2309
f1a71c6e
AS
23102012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2311
2312 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2313 (Bug#12108)
2314
d2605269
JB
23152012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2316
2317 * calc-mode.el (calc-basic-simplification-mode): Rename from
2318 `calc-limited-simplification-mode'.
2319 (calc-alg-simplification-mode): New function.
d66060f8 2320 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2321
d2605269
JB
2322 * calc.el (calc-set-mode-line): Adjust mode line display for
2323 basic simplification mode.
2324
2325 * calc-help.el (calc-m-prefix-help): Update help message.
2326
2327 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2328 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2329
a3827a43
BG
23302012-07-31 Bastien Guerry <bzg@gnu.org>
2331
2332 * man.el (man): Fix comment. (bug#12101)
2333
502e3f89
MR
23342012-07-31 Martin Rudalics <rudalics@gmx.at>
2335
2336 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2337 Don't return a non-nil value when no suitable buffer was found.
2338
d7714961
FEG
23392012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2340
2341 * progmodes/python.el (run-python-internal): Disable font lock for
2342 internal shells.
2343
1f45e27e
SM
23442012-07-30 Stefan Merten <smerten@oekonux.de>
2345
2346 * rst.el: Silence `checkdoc-ispell'.
2347 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2348 (rst-official-version, rst-official-cvs-rev)
2349 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2350 (rst-mode-map): New key binding.
2351
0aee6912
PE
23522012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2353
2354 Update .PHONY listings in makefiles.
2355 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2356 autoloads, update-subdirs, updates, bzr-update, update-authors,
2357 compile-onefile, compile-calc, backup-compiled-files,
2358 compile-after-backup, compile-one-process, mh-autoloads,
2359 bootstrap-clean, distclean, maintainer-clean.
2360
9052f9f0
JB
23612012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2362
1823ac5a
JB
2363 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2364 (calc-set-mode-line): Don't display "AlgSimp ".
2365
2366 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2367 (calc-lim-simplify-mode): New function.
2368 (calc-set-simplify-mode): Default to 'alg.
2369 (calc-default-simplify-mode): Make algebraic simplifications
2370 the default.
2371
2372 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2373 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2374
8d7c7eed 2375 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2376 indicate new simplification modes.
2377
1823ac5a
JB
2378 * calc/README: Mention new default simplification mode.
2379
9052f9f0
JB
2380 * calc/calc.el (math-normalize-error): New variable.
2381 (math-normalize): Set `math-normalize-error' to t
2382 when there's an error.
2383
2384 * calc/calc-alg.el (math-simplify): Don't simplify when
2385 `math-normalize' returns an error.
2386
20ba0cb4
EZ
23872012-07-29 Eli Zaretskii <eliz@gnu.org>
2388
2389 * international/mule-cmds.el (set-locale-environment): Revert last
2390 change, since display-graphic-p returns nil when this function is
2391 called during startup. Instead...
2392
2393 * term/w32console.el (terminal-init-w32console): ...setup the
2394 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2395
a5dcc929
JL
23962012-07-29 Juri Linkov <juri@jurta.org>
2397
2398 * simple.el (goto-line): Don't display default line number in the
2399 prompt because it should be displayed by `read-number' (bug#9952).
2400 Add the current line number to the defaults of `goto-line' to
2401 allow its easier modification by users with `M-n' (bug#9201).
2402
2403 * subr.el (read-number): Support multiple default values like in
2404 other minibuffer reading functions. Replace `read' with
2405 `string-to-number' for consistency with `number-to-string'.
2406
72b255c7
PE
24072012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2408
2409 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2410 * emulation/viper-init.el (viper-deactivate-input-method-action):
2411 Rename from viper-inactivate-input-method-action.
2412 (viper-deactivate-input-method):
2413 Rename from viper-inactivate-input-method.
2414 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2415 * international/mule-cmds.el (deactivate-input-method):
2416 Rename from inactivate-input-method.
2417 Also run input-method-deactivate-hook.
2418 (deactivate-current-input-method-function):
2419 Rename from inactivate-current-input-method-function.
2420 (input-method-deactivate-hook): New hook.
2421 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2422 (inactivate-input-method): Mark obsolete.
2423
72b255c7
PE
2424 * international/quail.el (quail-activate):
2425 Also run quail-deactivate-hook.
2426 (quail-deactivate): Rename from quail-inactivate.
2427 * international/robin.el (robin-activate):
2428 Also run robin-deactivate-hook.
2429 (robin-deactivate): Rename from robin-inactivate.
2430
2549c068
CY
24312012-07-29 Chong Yidong <cyd@gnu.org>
2432
2433 * simple.el (indicate-copied-region): New function.
2434 (kill-ring-save): Split off from here.
2435
2436 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2437 (kill-rectangle): Set deactivate-mark to t on read-only error.
2438
2439 * register.el (copy-to-register, copy-rectangle-to-register):
2440 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2441 (append-to-register, prepend-to-register):
2442 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2443
2444 * simple.el (async-shell-command-buffer): New defcustom.
2445 (shell-command): Use it. (Bug#4719)
2446
01bd1b0d
EZ
24472012-07-28 Eli Zaretskii <eliz@gnu.org>
2448
2449 * international/mule-cmds.el (set-locale-environment): In a
2450 console session on MS-Windows, set up keyboard and terminal
2451 encoding from the OEM codepage, not the ANSI codepage.
2452 (Bug#12055)
2453
a55739d3
CY
24542012-07-28 Chong Yidong <cyd@gnu.org>
2455
2456 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2457 gdb-get-location.
2458
0e1a094f 24592012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2460
2461 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2462 the alist (bug#12029).
2463
20329d73
EZ
24642012-07-28 Eli Zaretskii <eliz@gnu.org>
2465
2466 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2467 (compile-always, compile-first)
2468 ($(lisp)/calendar/cal-loaddefs.el)
2469 ($(lisp)/calendar/diary-loaddefs.el)
2470 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2471 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2472 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2473 instead of on update-subdirs.
2474 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2475
345a2258
CY
24762012-07-28 Chong Yidong <cyd@gnu.org>
2477
1eee6341
CY
2478 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2479 directory if vc-deduce-backend returns nil (Bug#7350).
2480
345a2258
CY
2481 * simple.el (delete-trailing-lines): New option.
2482 (delete-trailing-whitespace): Obey it (Bug#11879).
2483
049a0936
DE
24842012-07-28 David Engster <deng@randomsample.de>
2485
2486 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2487 Explanation of new 'symbol-qnames feature in doc-strings.
2488 (xml-maybe-do-ns): Return expanded names as plain symbols if
2489 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2490 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2491
aa81af71
FEG
24922012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2493
2494 Consistent completion in inferior python with emacs -nw.
2495 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2496 binding in inferior-python-mode-map with "\t".
2497 (python-shell-completion-complete-at-point)
2498 (python-completion-complete-at-point): Remove interactive spec.
2499
e827b1eb
JB
25002012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2501
2502 * calc/calccomp.el (math-compose-expr): Undo previous change.
2503
a90dfb95
FEG
25042012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2505
4250fdf5 2506 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2507 run-python.
2508 (python-shell-make-comint): Fix pop-to-buffer call.
2509 (run-python): Autoload. New arg SHOW.
2510 (python-shell-get-or-create-process): Do not pop python process
2511 buffer.
2512
32770973 25132012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2514
2515 * notifications.el (notifications-on-action-signal)
2516 (notifications-on-closed-signal): Use also the bus address for the map.
2517 (notifications-notify, notifications-close-notification)
2518 (notifications-get-capabilities): Add optional argument BUS.
2519
86332df2
TH
25202012-07-27 Tassilo Horn <tsdh@gnu.org>
2521
4250fdf5
SM
2522 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2523 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2524 ctable macro.
2525 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2526 labels written in keyvals syntax.
2527
ca1302a4
JB
25282012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2529
2530 * calc/calccomp.el (math-compose-expr): Use parentheses when
2531 there is a product in the denominator of a fraction.
2532
f8b91036
EZ
25332012-07-26 Eli Zaretskii <eliz@gnu.org>
2534
2535 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2536 ($(lisp)/calendar/diary-loaddefs.el)
2537 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2538 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2539 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2540 rewritten while the autoload files are built at the same time,
2541 which needs to load subdirs.el.
2542
c8e5a42c
MR
25432012-07-26 Martin Rudalics <rudalics@gmx.at>
2544
2545 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2546 (mouse-drag-line): Don't exit tracking when a switch-frame or
2547 switch-window event occurs (Bug#12006).
2548
670d85ea
SM
25492012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * mouse.el (popup-menu): Fix last change.
2552
7abaf5cc
SM
25532012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 Autoload from Lisp with more care. Follow aliases when looking for
2556 function properties.
2557 * subr.el (autoloadp): New function.
2558 (symbol-file): Use it.
2559 (function-get): New function.
2560 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2561 autoload-do-load.
2562 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2563 (lisp-indent-function):
2564 * emacs-lisp/gv.el (gv-get):
2565 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2566 * emacs-lisp/byte-opt.el (byte-optimize-form):
2567 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2568 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2569 Use function-get.
2570 * emacs-lisp/cl.el: Don't propagate function properties any more.
2571
2572 * speedbar.el (speedbar-add-localized-speedbar-support):
2573 * emacs-lisp/disass.el (disassemble-internal):
2574 * desktop.el (desktop-load-file):
2575 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2576 (describe-function-1):
2577 * emacs-lisp/find-func.el (find-function-noselect):
2578 * emacs-lisp/elp.el (elp-instrument-function):
2579 * emacs-lisp/advice.el (ad-has-proper-definition):
2580 * apropos.el (apropos-safe-documentation, apropos-macrop):
2581 * emacs-lisp/debug.el (debug-on-entry):
2582 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2583 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2584 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2585
b1364986
AA
25862012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2587
2588 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2589 function, not an obsolete variable (Bug#12046).
2590
67ada220
AS
25912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2592
2593 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2594
f08088e3
CS
25952012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2596
2597 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2598 window only if it is still live (Bug#12034).
2599
8137e7b3
MR
26002012-07-25 Martin Rudalics <rudalics@gmx.at>
2601
2602 * subr.el (redirect-frame-focus): Add advertised calling
2603 convention (Bug#12030).
2604
09ae5da1
PE
26052012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2606
2607 Prefer typical American spelling for "acknowledgment".
2608 * vc/add-log.el (change-log-acknowledgment): Rename from
2609 change-log-acknowledgement, with an alias for the old name.
2610
3cc5a3a8
JB
26112012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2612
2613 * calc-alg.el (math-simplify-divide): Don't cross multiply
2614 in an equation when the lhs is a variable.
2615
b7af7f62
JD
26162012-07-24 Julien Danjou <julien@danjou.info>
2617
2618 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2619 Remove, unused.
2620
ec1b09b1
EZ
26212012-07-23 Eli Zaretskii <eliz@gnu.org>
2622
2623 * startup.el (command-line): Don't display an empty user name in
2624 the error message about non-existent home directory, when
2625 init-file-user was set to an empty string. See
2626 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2627 for the details and context.
2628
b525fd8a
VB
26292012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2630
2631 * ses.el (ses-cell-formula-aset): New macro.
2632 (ses-cell-references-aset): New macro.
2633 (ses-cell-p): New function.
2634 (ses-rename-cell): Do no longer rely on complex operations like
2635 ses-cell-set-formula or ses-set-cell to change the cell and handle
2636 the undo at the same time, but rather use lower level new macros
2637 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2638 the undo directly. Refresh the mode line.
2639
2c73e345
LL
26402012-07-21 Leo Liu <sdl.web@gmail.com>
2641
670d85ea
SM
2642 * progmodes/cc-cmds.el (c-defun-name):
2643 Use match-string-no-properties instead for consistency.
2c73e345 2644
542dfbde
LL
26452012-07-20 Leo Liu <sdl.web@gmail.com>
2646
3646bcd6
LL
2647 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2648 (Bug#7879)
2649
542dfbde
LL
2650 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2651
25721031
CY
26522012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2655 * progmodes/bug-reference.el, misearch.el: Provide themselves
2656 (bug#11915).
2657
2658 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2659 of narrowed buffer (bug#11966).
2660
316e68a7
VB
26612012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2662
2663 * ses.el (ses-rename-cell): Set new name also in reference list of
2664 cells of which the renamed cell depends.
2665
bbf0e7d9
MY
26662012-07-20 Masatake YAMATO <yamato@redhat.com>
2667
2668 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2669 to check whether menu-bar is shown or not. If not shown,
2670 show the menu-bar as a popup menu instead of using tmm.
2671 * mouse.el (popup-menu): Accept `point' as `position' argument.
2672
c28662a8
DG
26732012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2674
2675 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2676 up inside string symbol literal (bug#11923).
2677
87ab808f
EZ
26782012-07-20 Eli Zaretskii <eliz@gnu.org>
2679
2680 * startup.el (fancy-startup-text): Read the whole tutorial, not
2681 just its first 256 bytes. Prevents gibberish in display of the
2682 tutorial title.
2683
89dea803
DA
26842012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2685
2686 Drop idle buffer compaction due to an absence of the
2687 proved efficiency.
2688 * compact.el: Remove.
2689
8a4e6db8
SS
26902012-07-19 Sam Steingold <sds@gnu.org>
2691
2692 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2693 vc-bzr-pull & vc-bzr-merge-branch.
2694 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2695 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2696 for consistency with compilation-error-regexp-alist.
2697 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2698 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2699 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2700 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2701
5db81e33
SM
27022012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * emacs-lisp/chart.el: Use lexical-binding.
2705 (chart-emacs-storage): Don't hardcode the list of entries.
2706
5b835e1d
DA
27072012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2708
2709 Next round of tweaks caused by Fgarbage_collect changes.
2710 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2711
9cd47b72
DA
27122012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2713
2714 Compact buffers when idle.
2715 * compact.el: New file.
2716
1d6fc0df
SM
27172012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * subr.el (eventp): Presume that if it looks vaguely like an event,
2720 it's an event (bug#10190).
2721
1d29cc7d
FEG
27222012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2723
2724 Enhancements to ppss related code (thanks Stefan).
2725 * progmodes/python.el (python-indent-context)
2726 (python-indent-calculate-indentation, python-indent-dedent-line)
2727 (python-indent-electric-colon, python-nav-forward-block)
2728 (python-mode-abbrev-table)
1d6fc0df 2729 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2730 for ppss context.
2731 (python-info-continuation-line-p): Cleanup.
2732 (python-info-ppss-context): Do not catch 'quote.
2733 (python-info-ppss-context-type)
2734 (python-info-ppss-comment-or-string-p): Simplify.
2735
d583cbe6
FEG
27362012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2737
2738 * progmodes/python.el: Enhancements to eldoc support.
2739 (python-info-current-symbol): New function.
2740 (python-eldoc-at-point): Use python-info-current-symbol.
2741 (python-info-current-defun): Fix cornercase on first defun scan.
2742 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2743 and signal error when no inferior python process is available.
2744
eceb6feb
DG
27452012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2746
2747 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2748 assume it's always t.
2749 (vc-git-registered): Remove caching, the function is only called
2750 once.
2751 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2752
4c8ff0fe
CY
27532012-07-18 Chong Yidong <cyd@gnu.org>
2754
19fb7186
CY
2755 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2756
9587c688
CY
2757 * simple.el (count-words): Report on narrowing (Bug#9959).
2758
0fe776a1
CY
2759 * bindings.el: Bind M-= to count-words.
2760
4c8ff0fe
CY
2761 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2762
7f5331cc
MY
27632012-07-18 Masatake YAMATO <yamato@redhat.com>
2764
2765 * progmodes/sh-script.el (sh-imenu-generic-expression):
2766 Capture a function with `function' keyword and without parentheses
2767 like "function FOO" (bug#11856).
2768
2dc2a609
TH
27692012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2770
2771 * window.el (split-window-sensibly): Make WINDOW argument
2772 optional.
2773
439f7677
CY
27742012-07-18 Chong Yidong <cyd@gnu.org>
2775
9aeb25a6
CY
2776 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2777
439f7677
CY
2778 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2779 and make C-x 8 RET exit isearch (Bug#11439).
2780
2781 * international/iso-transl.el: Move isearch-mode-map key
2782 definitions to isearch.el.
2783
12999ea8
SM
27842012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2787 (eieio-defclass): Use gv-define-setter when possible.
2788
3ab6e069
DA
27892012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2790
2791 Reflect recent changes in Fgarbage_collect.
2792 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2793 reflect new format of data returned by Fgarbage_collect.
2794
0a60bc10
FEG
27952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2796
2797 New utility functions + python-info-ppss-context fix (Bug#11910).
2798 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2799 (python-info-ppss-comment-or-string-p): New functions.
2800 (python-info-ppss-context): Small fix for string check.
2801
6dafa0d5
JL
28022012-07-17 Juri Linkov <juri@jurta.org>
2803
2804 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2805 (dired-do-async-shell-command): Don't add `*' at the end of the
2806 command (Bug#11815).
2807 (dired-do-shell-command): Doc fix.
2808 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2809 Join the individual commands using either "&" or ";" as the
2810 separator depending on the values of these trailing characters.
2811 At the end re-add the trailing "&". (Bug#10598)
2812
2813 * simple.el (async-shell-command): Sync the interactive spec with
2814 `shell-command'. Doc fix.
2815 (shell-command): Doc fix.
2816
b19dd9d1
JL
28172012-07-17 Juri Linkov <juri@jurta.org>
2818
2819 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2820
bcdc27d7 28212012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2822
bcdc27d7 2823 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2824 * progmodes/python.el (python-nav-beginning-of-statement):
2825 Rename from python-nav-statement-start.
bcdc27d7
FEG
2826 (python-nav-end-of-statement): Rename from
2827 python-nav-statement-end.
2828 (python-nav-beginning-of-block): Rename from
2829 python-nav-block-start.
2830 (python-nav-end-of-block): Rename from python-nav-block-end.
2831
191da00e
FEG
28322012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2833
7f5331cc
MY
2834 * progmodes/python.el (python-shell-send-string-no-output):
2835 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2836 future interactions (Bug#11868).
2837
4dc7c8d5 28382012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2839
88ecaf8f
SM
2840 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2841
ef501ef0
SM
2842 * emacs-lisp/elint.el (elint-find-args-in-code):
2843 Use help-function-arglist, so as to handle lexical byte-code.
2844
aa7aaf8f
SM
2845 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2846 change (bug#11826).
2847
45fd731c
SM
28482012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2143fa32
SM
2850 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2851 Avoid spuriously marking the buffer as modified because of c-is-sws.
2852
efc26dbe
SM
2853 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2854 as not-a-comment (bug#11946).
2855
f5695c9a
SM
2856 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2857 for uninterned vars.
2858
2859 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2860 Use read-event since we don't really want to read chars but bytes.
2861
45fd731c
SM
2862 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2863 $$..$$ but also $..$ using regexps (bug#11953).
2864 Use tex-verbatim for \url and \path.
2865 (tex-font-lock-keywords): Define as defconst like the others.
2866 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2867
ddfc8813
RK
28682012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2869
2870 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2871 alias for insert-char.
2872
758e556a
FEG
28732012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2874
2875 * progmodes/python.el: Simplified imenu implementation.
2876 (python-nav-jump-to-defun): Remove command.
2877 (python-mode-map): Use `imenu' instead.
2878 (python-nav-list-defun-positions-cache)
2879 (python-imenu-include-defun-type, python-imenu-make-tree)
2880 (python-imenu-subtree-root-label, python-imenu-index-alist):
2881 Remove vars.
2882 (python-nav-list-defun-positions, python-nav-read-defun)
2883 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2884 (python-imenu-make-tree, python-imenu-create-index):
2885 Remove functions.
758e556a
FEG
2886 (python-mode): Update to interact with imenu by setting
2887 `imenu-extract-index-name-function' only.
2888
032d23ab
FEG
28892012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2890
2891 * progmodes/python.el: Enhancements to navigation commands.
2892 (python-nav-backward-sentence)
2893 (python-nav-forward-sentence): Remove.
2894 (python-nav-backward-statement, python-nav-forward-statement)
2895 (python-nav-statement-start, python-nav-statement-end)
2896 (python-nav-backward-block, python-nav-forward-block)
2897 (python-nav-block-start, python-nav-block-end)
2898 (python-nav-forward-sexp-function)
2899 (python-info-current-line-comment-p)
2900 (python-info-current-line-empty-p): New functions.
2901 (python-indent-context): Use `python-nav-statement-start'.
2902
01795a1b
MA
29032012-07-16 Michael Albinus <michael.albinus@gmx.de>
2904
9328d9aa
MA
2905 * eshell/em-ls.el (eshell/ls): Use `apply'.
2906
2907 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2908 multi-hops, instead of Tramp internals.
2909
01795a1b
MA
2910 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2911
2912 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2913 when F1 and F2 are located on different hosts.
2914
63408057
CY
29152012-07-14 Chong Yidong <cyd@gnu.org>
2916
2917 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2918 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2919 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2920 (xterm-mouse--read-event-sequence-1000)
2921 (xterm-mouse--read-event-sequence-1006): New functions. For old
2922 mouse protocol, handle M-mouse-X events correctly.
2923 (xterm-mouse-event): New arg specifying mouse protocol.
2924 (turn-on-xterm-mouse-tracking-on-terminal)
2925 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2926 sequence to toggle extended coordinates on newer XTerms.
2927 This appears to be harmless on terminals which do not support this.
63408057 2928
cd276f6e
LL
29292012-07-14 Leo Liu <sdl.web@gmail.com>
2930
28ca98ac
LL
2931 Add fringe bitmap indicators for flymake. (Bug#11253)
2932 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2933 (flymake-make-overlay): New arg BITMAP.
2934 (flymake-error-bitmap, flymake-warning-bitmap)
2935 (flymake-fringe-indicator-position): New user variables.
2936
cd276f6e
LL
2937 * fringe.el: New bitmap exclamation-mark.
2938
04408072
JD
29392012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2940
2941 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2942 also (Bug#7879).
2943
b5cf7fc4
CY
29442012-07-14 Chong Yidong <cyd@gnu.org>
2945
2946 * electric.el (electric-pair-post-self-insert-function): Fix pair
2947 insertion in empty-region case (Bug#11520).
2948
be755c79
RT
29492012-07-14 Chong Yidong <cyd@gnu.org>
2950
45fd731c
SM
2951 * bindings.el: Consolidate ctl-x-r-map bindings.
2952 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2953
2954 * rect.el, register.el: Move bindings to bindings.el.
2955
29562012-07-14 Reuben Thomas <rrt@sc3d.org>
2957
2958 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2959
7f5b3198
AS
29602012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2961
2962 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2963
97662200
JB
29642012-07-13 Juanma Barranquero <lekktu@gmail.com>
2965
80185fed
JB
2966 * bindings.el (top): Use `mapc' instead of `mapcar'.
2967
97662200
JB
2968 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2969
2bb1ae55
MA
29702012-07-13 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * progmodes/sql.el (sql-comint): Suppress the check for program on
2973 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2974 (Bug#11908)
2975
dea31bd3
CY
29762012-07-13 Chong Yidong <cyd@gnu.org>
2977
2978 * bindings.el: Assign a non-nil permanent-local property to
2979 per-buffer variables which lack a default value (Bug#11930).
2980
2981 * help-fns.el (describe-variable): In the "automatically becomes
2982 local" notice, take note of permanent-local variables.
2983
b68b3337
CY
29842012-07-13 Chong Yidong <cyd@gnu.org>
2985
2986 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2987 to allow printing the message when called from Lisp.
2988
2989 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2990 Remove toggle-read-only.
2991
2992 * bs.el (bs-toggle-readonly):
45fd731c
SM
2993 * buff-menu.el (Buffer-menu-toggle-read-only):
2994 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2995
2996 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2997 Remove with-no-warnings around toggle-read-only.
2998 (ffap-read-only, ffap-read-only-other-window)
2999 (ffap-read-only-other-frame): Callers changed.
3000
3001 * help-mode.el: Don't require view package.
3002 (help-mode-finish): Set buffer-read-only instead of calling
3003 toggle-read-only.
3004
3005 * bindings.el (mode-line-toggle-read-only):
3006 * dired.el (dired-toggle-read-only):
3007 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3008 with non-nil second arg.
3009
3010 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3011 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3012 directly.
3013
56bc1586
EZ
30142012-07-12 Eli Zaretskii <eliz@gnu.org>
3015
3016 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3017 not incf.
3018
a464a6c7
SM
30192012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 More CL cleanups and reduction of use of cl.el.
3022 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3023 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3024 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3025 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3026 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3027 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3028 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3029 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3030 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3031 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3032 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3033 * eshell/em-cmpl.el, eshell/em-banner.el:
3034 * calendar/parse-time.el: Use cl-lib.
3035 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3036 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3037 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3038 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3039 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3040 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3041 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3042 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3043 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3044 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3045 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3046 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3047 `lambda' rather than with `quote'.
3048 (eshell-do-opt): Adjust accordingly.
3049 (eshell-process-option): Simplify.
3050 * eshell/esh-var.el:
3051 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3052 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3053 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3054 to `pcase--dontcare'.
3055 * emacs-lisp/cl.el (labels): Mark obsolete.
3056 (cl--letf, letf): Move to cl-lib.
3057 (cl--letf*, letf*): Remove.
3058 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3059 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3060 (cl-progv): Rewrite.
3061 (cl--letf, cl-letf): Move from cl.el.
3062 (cl-letf*): New macro.
3063 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3064
7ad4afe1
MA
30652012-07-11 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3068
9af57756
CY
30692012-07-11 Chong Yidong <cyd@gnu.org>
3070
3071 * vc/log-edit.el (log-edit-vc-backend): New variable.
3072 (log-edit): Doc fix.
3073
3074 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3075 argument of log-edit to set up all local variables.
3076 (vc-start-logentry): New optional arg specifying VC backend.
3077
3078 * vc/vc.el (vc-checkin): Use it.
3079 (vc-deduce-fileset): Handle Log Edit buffers.
3080 (vc-diff): Make first argument optional too.
3081
3082 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3083
8477cc7a
MA
30842012-07-10 Michael Albinus <michael.albinus@gmx.de>
3085
3086 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3087 command, just in case. The function is not needed anymore.
3088 (eshell-external-command): Do not call `eshell-remote-command'.
3089
19faa8e8
SM
30902012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3091
f58e0fd5
SM
3092 Reduce use of (require 'cl).
3093 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3094 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3095 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3096 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3097 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3098 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3099 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3100 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3101 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3102 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3103 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3104 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3105 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3106 (byte-compile-unfold-bcf, byte-compile-check-variable):
3107 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3108 (byte-compile-nilconstp):
3109 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3110 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3111
2519d43a
SM
3112 * emacs-lisp/gv.el (cond): Make it a valid place.
3113 (if): Simplify slightly.
3114
19faa8e8
SM
3115 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3116 (pcase--self-quoting-p): New function.
3117 (pcase--u1): Use it.
3118
c4907a5e
GM
31192012-07-10 Glenn Morris <rgm@gnu.org>
3120
3121 * emacs-lisp/authors.el (authors-fixed-entries):
3122 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3123
c4444d16
PE
31242012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3125
3126 Rename configure.in to configure.ac (Bug#11603).
3127 * emacs-lisp/authors.el (authors-canonical-file-name):
3128 * progmodes/autoconf.el (autoconf-mode):
3129 Prefer configure.ac to configure.in.
3130
d75be97d
CY
31312012-07-08 Chong Yidong <cyd@gnu.org>
3132
01ac65bd
CY
3133 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3134 Implement the mouse-1-click-follows-link handling properly.
3135
3136 * info.el (Info-link-keymap): Use follow-link mechanism for
3137 header-line links (Bug#374).
3138
d75be97d
CY
3139 * simple.el (deactivate-mark): Do not set the primary selection
3140 if another program has acquired it (Bug#11772).
3141
87a92845 31422012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3143
3144 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3145 (woman-decode-region): Replace escaped-escapes without destroying
3146 bold or underline (Bug#11552).
87a92845 3147 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3148
621b9d6c
CY
31492012-07-07 Chong Yidong <cyd@gnu.org>
3150
3151 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3152 (interprogram-cut-function, interprogram-paste-function):
3153 Mention that we typically mean the clipboard.
621b9d6c 3154
133a11fc
GM
31552012-07-06 Glenn Morris <rgm@gnu.org>
3156
0d27a45e
GM
3157 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3158
133a11fc
GM
3159 * files.el (toggle-read-only): Restrict message to interactive use.
3160
07b151f1
MA
31612012-07-06 Michael Albinus <michael.albinus@gmx.de>
3162
3163 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3164
3165 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3166
211b896b
GM
31672012-07-06 Glenn Morris <rgm@gnu.org>
3168
50394322
GM
3169 * Makefile.in (compile-one-process): Rename from "recompile".
3170
211b896b
GM
3171 * Makefile.in (bzr-update): "compile" is the same as "recompile
3172 autoloads", but parallelizable, so use that instead.
3173
4737eec9
DG
31742012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3175
3176 * window.el (quit-window): Always restore window height when
8137e7b3 3177 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3178
226c3633 31792012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3180
3181 * simple.el (kill-whole-line): Doc tweak.
3182
226c3633 31832012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3184
3185 * files.el (file-relative-name): Compare file names
3186 case-insensitively if on MS-Windows or MS-DOS, or if
3187 read-file-name-completion-ignore-case is non-nil. Don't use
3188 case-fold-search for this purpose. (Bug#11827)
3189
4dc7c8d5
SM
31902012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3191
3192 * calendar/cal-dst.el (calendar-current-time-zone):
3193 Return calendar-current-time-zone-cache if non-nil.
3194
31952012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 31962012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3197
19faa8e8
SM
3198 * calendar/cal-dst.el (calendar-current-time-zone):
3199 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3200
60198fc9
GM
32012012-07-06 Glenn Morris <rgm@gnu.org>
3202
3203 * Makefile.in (cvs-update): Remove old alias.
3204
957b3189
MA
32052012-07-05 Michael Albinus <michael.albinus@gmx.de>
3206
3207 Sync with Tramp 2.2.6-pre.
3208
3209 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3210 compatible declaration.
3211
19faa8e8
SM
3212 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3213 Protect `list-load-path-shadows' call.
957b3189
MA
3214
3215 * net/tramp-compat.el (top): Require packages, which aren't
3216 autoloaded anymore for XEmacs. Protect call of
3217 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3218 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3219 it hurts at least for SXEmacs.
3220 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3221 standard-value for `temporary-file-directory'.
3222
3223 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3224 Redirect stderr to /dev/null.
3225 (tramp-sh-handle-write-region): uid and gid can be floats.
3226 Reported by Russell Sim <russell.sim@gmail.com>.
3227 (tramp-sh-handle-vc-registered): Hide errors.
3228 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3229 and `start-file-process'.
3230 (tramp-maybe-open-connection): Check also whether `non-essential'
3231 is bound.
3232
566df3fc
CY
32332012-07-04 Chong Yidong <cyd@gnu.org>
3234
3235 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3236 (xml-parse-tag): Likewise, and avoid changing entity tables.
3237 (xml-syntax-table): Define from scratch, making sure not to give
3238 x2000 and other Unicode spaces whitespace syntax, since those are
3239 not spaces in XML.
3240 (xml-parse-fragment): Delete unused function.
3241 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3242 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3243 (xml-entity-ref, xml-pe-reference-re)
3244 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3245 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3246 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3247 (xml-entity-value-re): Use syntax references in regexps where
3248 possible; no need to define inside a let-binding.
3249 (xml-parse-dtd): Use xml-pe-reference-re.
3250 (xml-entity-or-char-ref-re): New defconst.
3251 (xml-parse-string, xml-substitute-special): Use it.
3252
30eabd7a
SM
32532012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3254
0781098a
SM
3255 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3256 (find-file--read-only): New function.
3257 (find-file-read-only, find-file-read-only-other-window)
3258 (find-file-read-only-other-frame): Use it.
3259 (insert-file-contents-literally): Don't `fset'.
3260 (get-free-disk-space): Use locate-dominating-file.
3261
b5771c0d
SM
3262 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3263 function is already compiled.
3264
30eabd7a
SM
3265 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3266
b4886f6e
MA
32672012-07-03 Michael Albinus <michael.albinus@gmx.de>
3268
3269 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3270 files on the same host.
3271
b9d82339
AS
32722012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3273
3274 * help-fns.el (describe-function-1): Only call
3275 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3276
a76e6535
CY
32772012-07-03 Chong Yidong <cyd@gnu.org>
3278
3279 * xml.el: Protect parser against XML bombs.
3280 (xml-entity-expansion-limit): New variable.
3281 (xml-parse-string, xml-substitute-special): Use it.
3282 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3283
b544fef2
GM
32842012-07-03 Glenn Morris <rgm@gnu.org>
3285
3286 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3287 Allow linking to specific messages in debbugs reports (eg 123#5).
3288
a7aef6f5
CY
32892012-07-02 Chong Yidong <cyd@gnu.org>
3290
3291 * xml.el: Fix entity and character reference expansion, allowing
3292 them to expand into markup as per XML spec.
3293 (xml-default-ns): New variable.
3294 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3295 (xml-parse-region): Make first two arguments optional.
3296 Discard text properties.
3297 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3298 All callers changed.
a7aef6f5
CY
3299 (xml-parse-tag): Call xml-parse-tag-1. For backward
3300 compatibility, this function should not modify buffer contents.
3301 (xml-parse-tag-1): Fix opening-tag regexp.
3302 (xml-parse-string): Rewrite, handling entity and character
3303 references properly.
3304 (xml--entity-replacement-text): Signal an error if a parameter
3305 entity is undefined.
3306
3df31c9f
SM
33072012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3308
2b5208f1
SM
3309 * comint.el (comint-output-filter): Filter out repeated prompts.
3310
3df31c9f
SM
3311 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3312 and file-name-absolute-p.
3313 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3314 internal calls.
3315
e3ac1281
PE
33162012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3317
3318 Spelling fixes.
3319 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3320 Rename from byte-compile--refiy-function. All uses changed.
3321
fbf2e7ad
CY
33222012-07-01 Chong Yidong <cyd@gnu.org>
3323
3324 * xml.el (xml--parse-buffer): New function. Move most of
3325 xml-parse-region here.
3326 (xml-parse-region): Copy region into a temporary buffer, since
3327 parameter entity substitution requires changing buffer contents.
3328 Use xml--parse-buffer.
3329 (xml-parse-file): Use xml--parse-buffer.
3330 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3331 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3332
9bf0aa15
GM
33332012-06-30 Glenn Morris <rgm@gnu.org>
3334
bbce2853
GM
3335 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3336
9bf0aa15
GM
3337 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3338 Remove outdated and unnecessary dbus declarations.
3339
0d23c240
EZ
33402012-06-30 Eli Zaretskii <eliz@gnu.org>
3341
3342 * emacs-lisp/timer.el (timer-until): Subtract results of
3343 float-time, instead of taking float-time of the result of
3344 time-subtract, since float-time signals an error for negative time
3345 arguments.
3346
b3218de1
CY
33472012-06-30 Chong Yidong <cyd@gnu.org>
3348
3349 * xml.el (xml-*-re): Convert defvars into defconsts, and
3350 eval-and-compile them so eval-and-compile works on derivatives.
3351 (xml--entity-replacement-text): Use eval-and-comple.
3352
a40c87a0
MA
33532012-06-30 Michael Albinus <michael.albinus@gmx.de>
3354
3355 * vc/vc-git.el (vc-git-registered): Use cache property
3356 `git-registered'.
3357 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3358 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3359 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3360
ac87de97
DG
33612012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3362
3363 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3364 removed (likely outside Emacs). (Bug#11757)
ac87de97 3365
ac10fe06
SM
33662012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3df31c9f 3368 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3369
7f3fbd5d
CY
33702012-06-30 Chong Yidong <cyd@gnu.org>
3371
3372 * xml.el: Implement XML parameter entities.
3373 (xml-parameter-entity-alist): New variable.
3374 (xml-parse-region, xml-parse-fragment): Preserve previous values
3375 of xml-entity-alist and xml-parameter-entity-alist, so that
3376 repeated calls on different documents do not change them.
3377 (xml-parse-tag): Fix doctype regexp.
3378 (xml--entity-replacement-text): New function.
3379 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3380 properly requires url retrieval which is unimplemented.
3381 (xml-escape-string): Doc fix.
3382
3cfbebba
SM
33832012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3386
2af3565e
DA
33872012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3388
3389 * fringe.el (fringe-mode): Doc fix.
3390
929df0e7
MA
33912012-06-29 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3394 is non-nil.
3395 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3396 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3397
c8d3a25c 33982012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3399
c8d3a25c
GM
3400 * calendar/cal-dst.el (calendar-current-time-zone):
3401 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3402
c8d3a25c 34032012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3404
3405 * progmodes/which-func.el (which-func-format):
3406 Add mouse-face. (Bug#11698)
3407
c8d3a25c
GM
34082012-06-29 Leo Liu <sdl.web@gmail.com>
3409
3410 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3411
34122012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * minibuffer.el (minibuffer-confirm-exit-commands):
3415 Add completion-at-point (bug#11725).
3416
34172012-06-29 Glenn Morris <rgm@gnu.org>
3418
3419 * progmodes/f90.el (f90-font-lock-keywords-2):
3420 Add some preprocessor elements. (Bug#10499)
3421
34222012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3425 Use syntax-propertize (bug#11739).
3426
2badeec4
JB
34272012-06-28 Juanma Barranquero <lekktu@gmail.com>
3428
3429 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3430
ae4969c2
JD
34312012-06-28 Julien Danjou <julien@danjou.info>
3432
3433 * term.el (term-handle-colors-array): Use a set of new faces to
3434 color the terminal. Also uses :inverse-video property.
3435 (term-default-fg-color): Set to nil by default, deprecate in favor
3436 of `term-face'.
3437 (term-default-bg-color): Set to nil by default, deprecate in favor
3438 of `term-face'.
3439 (term-current-face): Use `term-face' by default.
3440 (term-bold-attribute): Variable deleted.
3441
1c9bd870
GM
34422012-06-28 Glenn Morris <rgm@gnu.org>
3443
3444 * simple.el (completion-list-mode-finish):
3445 Don't use toggle-read-only. (Since completion-list-mode has
3446 a special mode-class, it wasn't doing anything extra anyway.)
3447
c207708c
SM
34482012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 Make inlining of other-mode interpreted functions work (bug#11799).
3451 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3452 (byte-compile): Use it to fix compilation of lexical-binding closures.
3453 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3454 function, if needed.
3455
3fd56834
SM
34562012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3457
04901786
SM
3458 * help-mode.el (help-make-xrefs): Don't just withstand
3459 cyclic-variable-indirection but any error in documentation-property.
3460
1ec4b7b2
SM
3461 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3462 memory use.
3463 * bindings.el (bindings--define-key): New function.
3464 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3465 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3466 * bindings.el: Use it to purecopy define-key bindings.
3467
e309e2a5
SM
3468 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3469
d5c6faf9
SM
3470 * emacs-lisp/cl.el (flet): Mark obsolete.
3471 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3472 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3473 * progmodes/js.el (js-c-fill-paragraph):
3474 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3475 (ebrowse-switch-member-buffer-to-derived-class):
3476 * play/5x5.el (5x5-solver): Use cl-flet.
3477
6e9590e2
SM
3478 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3479 (cl--symbol-function): New macro.
3480 (cl--letf, cl--letf*): Use it.
3481
3fd56834
SM
3482 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3483 Strip "toggle-" if any.
3484
35ff222c
GM
34852012-06-27 Glenn Morris <rgm@gnu.org>
3486
1ba6038a
GM
3487 * info.el (Info-default-directory-list): Move here from paths.el.
3488 * paths.el: Remove file, which is now empty.
3489 * loadup.el: No longer load "paths".
3490
0ea0e51b
GM
3491 * custom.el (custom-initialize-delay): Doc fix.
3492
35ff222c
GM
3493 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3494 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3495 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3496 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3497 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3498 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3499 * eshell/eshell.el (eshell-defgroup): Remove alias.
3500
c89926a5
CY
35012012-06-27 Chong Yidong <cyd@gnu.org>
3502
3503 * help.el (help-enable-auto-load): New variable.
3504
3505 * help-fns.el (help-fns--autoloaded-p): New function.
3506 (describe-function-1): Refer to a function as "autoloaded" if it
3507 was autoloaded at any time in the past. Perform autoloading if
3508 help-enable-auto-load is non-nil.
3509
cc06e7e7
EZ
35102012-06-26 Eli Zaretskii <eliz@gnu.org>
3511
3512 * makefile.w32-in (compile, compile-always): Depend on
3513 update-subdirs, not on subdirs.el. Otherwise, several different
3514 sub-targets of 'bootstrap' running in parallel could
3515 simultaneously write to subdirs.el, producing a garbled file.
3516
d2c32364
SS
35172012-06-26 Sam Steingold <sds@gnu.org>
3518
3519 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3520 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3521 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3522 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3523 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3524 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3525 * textmodes/tex-mode.el: Use it.
3526 Did not touch cedet and org because they are maintained elsewhere.
3527
5cf983b2
MR
35282012-06-26 Martin Rudalics <rudalics@gmx.at>
3529
3530 * calendar/calendar.el (calendar-exit): Don't try to delete or
3531 iconify last frame. See:
3532 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3533
8c4f2952
JD
35342012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3535
3536 * server.el (server-process-filter): Remember dir in the
3537 process's `server-client-directory' properties.
3538
772b2e2c
CY
35392012-06-24 Chong Yidong <cyd@gnu.org>
3540
3541 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3542 non-tag text.
3543
711b11e1
JB
35442012-06-23 Juanma Barranquero <lekktu@gmail.com>
3545
3546 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3547
dc5d230c
SM
35482012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 * help-fns.el (describe-variable): Don't croak when doc is not found.
3551 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3552 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3553 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3554 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3555 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3556 ((lambda ..) ..).
3557 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3558
136e1c1d
CY
35592012-06-23 Chong Yidong <cyd@gnu.org>
3560
e8c1cabf
CY
3561 * info.el (Info-mouse-follow-link): Accept symbol values of
3562 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3563 (Info-fontify-node): Use Info-link-keymap for all navigation
3564 buttons, with link-args property to perform the desired action.
3565 (Info-link-keymap): Doc fix.
3566 (Info-next-link-keymap, Info-prev-link-keymap)
3567 (Info-up-link-keymap): Delete now-unused keymaps.
3568
0e9e6c6a
CY
35692012-06-23 Chong Yidong <cyd@gnu.org>
3570
05e89fea
CY
3571 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3572
0e9e6c6a
CY
3573 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3574 system abbrevs.
3575
3576 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3577
e33c6771
SM
35782012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3579
b68581e2
SM
3580 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3581 (bug#11719).
3582
e33c6771
SM
3583 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3584 the requote function doesn't work properly (bug#11714).
3585
7117e105
GM
35862012-06-23 Glenn Morris <rgm@gnu.org>
3587
3588 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3589
36cec983
SM
35902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 Further GV/CL cleanups.
3593 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3594 gv-expander.
3595 (gv--defun-declaration): New function.
3596 (defun-declarations-alist): Use it.
3597 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3598 (gv-place): Autoload.
3599 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3600 original definition of dotimes and dolist.
3601 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3602 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3603 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3604 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3605 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3606 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3607 to the function's definition.
3608 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3609 * window.el:
3610 * files.el:
3611 * faces.el:
3612 * env.el: Don't use CL.
3613
d35af63c
PE
36142012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3615
3616 Support higher-resolution time stamps (Bug#9000).
3617
3618 * calendar/time-date.el (with-decoded-time-value): New arg
3619 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3620 (encode-time-value): New optional arg PICO. New type 3.
3621 (time-to-seconds) [!float-time]: Support the new picoseconds
3622 component if it's used.
3623 (seconds-to-time, time-subtract, time-add):
3624 Support ps-resolution time stamps as well.
3625
3626 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3627 (timerp): Timer vectors now have length 9, not 8.
3628 (timer--time): Support new-style (4-part) time stamps.
3629 (timer-next-integral-multiple-of-time): Time stamps now have
3630 picosecond resolution, so take a bit more care about rounding.
3631 (timer-relative-time, timer-inc-time): New optional arg psecs.
3632 (timer-set-time-with-usecs): Set psecs to 0.
3633 (timer--activate): Check psecs component, too.
3634
3635 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3636
ac77b21a
SM
36372012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3638
f143bfe3
SM
3639 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3640 Move the non-essential binding to the post/pre-command-hook where it is
3641 more obviously correct.
3642
ac77b21a
SM
3643 * subr.el (read-passwd): Don't use a history at all.
3644 * savehist.el (savehist-save): Remove password saved accidentally
3645 because of the above bug.
3646
76386c5a
BG
36472012-06-22 Bastien Guerry <bzg@gnu.org>
3648
3649 * files.el (toggle-read-only): Display a message telling whether
3650 the buffer is read-only or not (bug#11726).
3651
2ee3d7f0
SM
36522012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3653
3654 * emacs-lisp/gv.el: New file.
3655 * subr.el (push, pop): Extend to generalized variables.
3656 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3657 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3658 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3659 gv-define-simple-setter, and gv-define-expander.
3660 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3661 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3662 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3663 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3664 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3665 gv-letplace.
3666 (cl-defstruct): Don't define setf-method any more.
3667 * emacs-lisp/cl.el (flet): Don't autoload.
3668 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3669 (define-setf-expander, defsetf, define-modify-macro)
3670 (cl-struct-setf-expander): Move from cl-lib.el.
3671 * emacs-lisp/syntax.el:
3672 * emacs-lisp/ewoc.el:
3673 * emacs-lisp/smie.el:
3674 * emacs-lisp/cconv.el:
3675 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3676 (timer--time): Use gv-define-simple-setter.
3677 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3678 to avoid coding-system problems in subr.el. Adjust all users.
3679 (macroexp--maxsize, macroexp-small-p): New functions.
3680 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3681 * scroll-bar.el (scroll-bar-mode):
3682 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3683 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3684 * winner.el (winner-configuration, winner-make-point-alist)
3685 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3686 * files.el (locate-file-completion-table): Avoid list*.
3687
c5695d1d
CY
36882012-06-22 Chong Yidong <cyd@gnu.org>
3689
3690 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3691 (dired-create-files): Doc fix (Bug#11329).
3692 (dired-do-copy): Doc fix (Bug#11334).
3693 (dired-mark-read-string): Doc fix (Bug#11553).
3694
2ee3d7f0
SM
3695 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3696 Doc fix (Bug#11326).
c5695d1d
CY
3697 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3698 (dired-dwim-target): Doc fix.
3699
3700 * wdired.el (wdired-mode): Doc fix.
3701
89b5595a
GM
37022012-06-22 Glenn Morris <rgm@gnu.org>
3703
575db3f1
GM
3704 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3705 (pcmpl-rpm-cache-stamp-file): New constant.
3706 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3707 (pcmpl-rpm-packages): Optionally cache list of packages.
3708
a4c8dd51
GM
3709 * pcmpl-rpm.el (pcmpl-rpm): New group.
3710 (pcmpl-rpm-query-options): New option.
3711 (pcmpl-rpm-packages): No need to inline it.
3712 Use pcmpl-rpm-query-options.
3713
89b5595a
GM
3714 * calendar/calendar.el (calendar-in-read-only-buffer):
3715 Avoid some needless mode changes.
3716
e76f0800
CY
37172012-06-21 Chong Yidong <cyd@gnu.org>
3718
3719 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3720 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3721 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3722
297a8f1d
CY
37232012-06-20 Chong Yidong <cyd@gnu.org>
3724
3725 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3726
d34c18b1
DR
37272012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3728
3729 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3730 (bug#11201).
3731
32f7f28e
CY
37322012-06-20 Chong Yidong <cyd@gnu.org>
3733
3734 * term.el (term-window-width): Handle the case of a missing right
3735 fringe (Bug#8837).
3736 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3737 (term-mode): Use define-derived-mode. Minor cleanups.
3738 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3739 (term-move-columns, term-insert-char, term-emulate-terminal)
3740 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3741
493c6688
MA
37422012-06-20 Michael Albinus <michael.albinus@gmx.de>
3743
d34c18b1
DR
3744 * net/ange-ftp.el (ange-ftp-get-passwd):
3745 Bind `enable-recursive-minibuffers'.
493c6688
MA
3746 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3747
3f06ecf4
DR
37482012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3749
3750 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3751
68f12411
GM
37522012-06-19 Glenn Morris <rgm@gnu.org>
3753
3754 * progmodes/python.el (python-mode): Derive from prog-mode.
3755
b3820318
KG
37562012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3757
3758 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3759 (edt-user-menu-bar-update-buffers): New functions.
3760 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3761
c6bf3022
CY
37622012-06-19 Chong Yidong <cyd@gnu.org>
3763
3764 * subr.el (with-selected-window): Preserve the selected window's
3765 terminal's top-frame (Bug#4702).
3766
3767 * window.el (save-selected-window): Likewise.
3768
25f09295
SM
37692012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * progmodes/python.el (python-rx-constituents): Move backquote.
3772 (python-skeleton-define, python-define-auxiliary-skeleton):
3773 Use `declare'.
3774
6b11952a
MA
37752012-06-18 Michael Albinus <michael.albinus@gmx.de>
3776
3777 * minibuffer.el (read-file-name-default): Revert the patch from
3778 2012-06-17.
3779
ee4b1330
SM
37802012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3783 (pcase--u1, pcase--q1): Don't use apply-partially.
3784
35647f79
GM
37852012-06-18 Glenn Morris <rgm@gnu.org>
3786
3787 * progmodes/python.el (python-proc, python-buffer)
3788 (python-send-receive, python-send-string): Fix obsolete versions.
3789
24b0cff0
MR
37902012-06-18 Martin Rudalics <rudalics@gmx.at>
3791
3792 * window.el (special-display-p): Completely remove stringp
3793 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3794
29855149
MA
37952012-06-17 Michael Albinus <michael.albinus@gmx.de>
3796
3797 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3798
3799 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3800
3801 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3802 * net/tramp-sh.el (tramp-maybe-open-connection):
3803 Throw if `non-essential' is non-nil.
3804
07463363
MR
38052012-06-17 Martin Rudalics <rudalics@gmx.at>
3806
3807 * window.el (special-display-p): Signal an error if BUFFER-NAME
3808 is not a string (Bug#11713).
3809
48d1354e
PE
38102012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3811
3812 * progmodes/python.el (python-info-beginning-of-backslash):
3813 Rename from python-info-beginning-of-backlash, as a spelling fix.
3814
eb4a8a9a
CY
38152012-06-17 Chong Yidong <cyd@gnu.org>
3816
3817 * term.el (term-emulate-terminal): If term-check-size is called,
3818 move point to the process mark without resetting point (Bug#4635).
3819
ddfbf826 38202012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3821
3822 * international/mule-cmds.el (mule-menu-keymap)
3823 (set-language-environment, set-locale-environment): Doc tweaks.
3824
9b0e3eba
AA
38252012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3826
3827 * cus-face.el (custom-face-attributes): Add wave-style underline
3828 attribute.
3829 * faces.el (set-face-attribute): Update docstring to describe
3830 wave-style underline attribute.
3831
771e3eae
CY
38322012-06-16 Chong Yidong <cyd@gnu.org>
3833
3834 * term/xterm.el (terminal-init-xterm): Discard input before
3835 querying background mode (Bug#10959).
3836
7ae2ea10
SM
38372012-06-16 Stefan Merten <smerten@oekonux.de>
3838
3839 * textmodes/rst.el: Added and corrected some comments.
3840 (rst-re-alist-def): Improve symbol syntax.
3841 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3842 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3843 (rst-official-version, rst-official-cvs-rev): Update version
3844 information.
7ae2ea10 3845
b6974efa
JB
38462012-06-15 Juanma Barranquero <lekktu@gmail.com>
3847
3848 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3849 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3850
8826d473
GM
38512012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3852
3853 * progmodes/python.el: New python.el merge.
3854 (python-guess-indent): Obsolete var.
3855 (python-indent-guess-indent-offset): New defcustom.
3856 (python-indent): Obsolete var.
3857 (python-indent-offset): New defcustom.
3858 (python-python-command, python-jython-command): Delete var.
3859 (python-shell-interpreter): New defcustom.
3860 (python-pdbtrack-do-tracking-p): Delete var.
3861 (python-pdbtrack-activate): New defcustom.
3862 (python-use-skeletons): Obsolete var.
3863 (python-skeleton-autoinsert): New defcustom.
3864 (inferior-python-filter-regexp, python-continuation-offset)
3865 (python-honour-comment-indentation, python-indent-string-contents)
3866 (python-jython-packages, python-mode-hook)
3867 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3868 (python-shell-prompt-alist)
3869 (python-source-modes): Delete defcustoms.
3870 (python-check-buffer-name, python-eldoc-setup-code)
3871 (python-eldoc-string-code, python-ffap-setup-code)
3872 (python-ffap-string-code, python-fill-comment-function)
3873 (python-fill-decorator-function, python-fill-paren-function)
3874 (python-fill-string-function, python-imenu-include-defun-type)
3875 (python-imenu-make-tree, python-imenu-subtree-root-label)
3876 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3877 (python-shell-compilation-regexp-alist)
3878 (python-shell-completion-module-string-code)
3879 (python-shell-completion-pdb-string-code)
3880 (python-shell-completion-setup-code)
3881 (python-shell-completion-string-code)
3882 (python-shell-enable-font-lock, python-shell-exec-path)
3883 (python-shell-extra-pythonpaths)
3884 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3885 (python-shell-process-environment)
3886 (python-shell-prompt-block-regexp)
3887 (python-shell-prompt-output-regexp)
3888 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3889 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3890 (python-shell-virtualenv-path): New defcustoms.
3891 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3892 (inferior-python-mode-syntax-table, python--prompt-regexp)
3893 (python-buffer, python-command python-python-command)
3894 (python-default-template, python-imports, python-indent-index)
3895 (python-indent-list, python-indent-list-length)
3896 (python-mode-running, python-pdbtrack-is-tracking-p)
3897 (python-preoutput-continuation, python-preoutput-leftover)
3898 (python-preoutput-result, python-preoutput-skip-next-prompt)
3899 (python-prev-dir/file, python-recursing)
3900 (python-saved-check-command, python-version-checked)
3901 (python-which-func-length-limit)
3902 (view-return-to-alist): Delete vars.
3903 (python-check-custom-command, python-dotty-syntax-table)
3904 (python-imenu-index-alist, python-indent-current-level)
3905 (python-indent-dedenters, python-indent-levels)
3906 (python-nav-beginning-of-defun-regexp)
3907 (python-nav-list-defun-positions-cache)
3908 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3909 (python-shell-internal-buffer)
3910 (python-skeleton-available): New vars.
3911 (def-python-skeleton): Delete macro.
3912 (python-skeleton-define): New macro.
3913 (python-define-auxiliary-skeleton, python-rx): New macros.
3914 (python-insert-class): Delete command.
3915 (python-skeleton-class): New command.
3916 (python-insert-def): Delete command.
3917 (python-skeleton-def): New command.
3918 (python-insert-for): Delete command.
3919 (python-skeleton-for): New command.
3920 (python-insert-if): Delete command.
3921 (python-skeleton-if): New command.
3922 (python-insert-try/except, python-insert-try/finally): Delete commands.
3923 (python-skeleton-try): New command.
3924 (python-insert-while): Delete command.
3925 (python-skeleton-while): New command.
3926 (python-backspace): Delete command.
3927 (python-indent-dedent-line-backspace): New command.
3928 (python-electric-colon): Delete command.
3929 (python-indent-electric-colon): New command.
3930 (python-guess-indent): Delete command.
3931 (python-indent-guess-indent-offset): New command.
3932 (python-shift-left): Delete command.
3933 (python-indent-shift-left): New command.
3934 (python-shift-right): Delete command.
3935 (python-indent-shift-right): New command.
3936 (python-find-function): Delete command.
3937 (python-nav-jump-to-defun): New command.
3938 (python-next-statement): Delete command.
3939 (python-nav-forward-sentence): New command.
3940 (python-previous-statement): Delete command.
3941 (python-nav-backward-sentence): New command.
3942 (python-fill-paragraph): Delete command.
3943 (python-fill-paragraph-function): New command.
3944 (python-send-buffer): Delete command.
3945 (python-shell-send-buffer): New command.
3946 (python-send-defun): Delete command.
3947 (python-shell-send-defun): New command.
3948 (python-send-region, python-send-region-and-go): Delete commands.
3949 (python-shell-send-region)
3950 (python-shell-switch-to-shell): New commands.
3951 (python-send-string): Delete command.
3952 (python-shell-send-string): New command.
3953 (python-switch-to-python): Delete command.
3954 (python-shell-switch-to-shell): New command.
3955 (python-describe-symbol): Delete command.
3956 (python-eldoc-at-point): New command.
3957 (python--set-prompt-regexp, python-args-to-list)
3958 (python-after-info-look, python-check-version)
3959 (python-check-comint-prompt, python-find-imports)
3960 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3961 (python-unload-function, python-expand-template)
3962 (python-maybe-jython, python-preoutput-filter)
3963 (python-pdbtrack-get-source-buffer)
3964 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3965 (python-pdbtrack-toggle-stack-tracking)
3966 (python-pdbtrack-track-stack-file, python-initial-text)
3967 (python-first-word, python-comment-line-p, python-send-command)
3968 (python-setup-brm, python-sentinel, python-set-proc)
3969 (python-skip-out, python-input-filter, python-outdent-p)
3970 (python-outline-level, python-backslash-continuation-line-p)
3971 (python-end-of-block, python-end-of-statement, python-mark-block)
3972 (python-beginning-of-block, python-beginning-of-statement)
3973 (python-blank-line-p, python-beginning-of-string)
3974 (python-open-block-statement-p): Delete functions.
3975 (python-indent-line, python-indent-line-1): Delete functions.
3976 (python-indent-line): New function.
3977 (python-indentation-levels): Delete function.
3978 (python-indent-calculate-levels): New function.
3979 (python-proc): Delete function.
3980 (python-shell-get-process): New function.
3981 (python-send-receive): Delete function.
3982 (python-shell-send-string-no-output): New function.
3983 (python-module-path): Delete function.
3984 (python-ffap-module-path): New function.
3985 (python-completion-at-point)
3986 (python-symbol-completions): Delete functions.
3987 (python-completion-complete-at-point): New function.
3988 (python-load-file): Delete function.
3989 (python-shell-send-file): New function.
3990 (python-calculate-indentation): Delete function.
3991 (python-indent-calculate-indentation): New function.
3992 (python-skip-comments/blanks): Delete function.
3993 (python-util-forward-comment): New function.
3994 (python-continuation-line-p): Delete function.
3995 (python-info-continuation-line-p): New function.
3996 (python-which-func, python-current-defun): Delete function.
3997 (python-info-current-defun): New function.
3998 (python-beginning-of-defun): Delete function.
3999 (python-nav-beginning-of-defun): New function.
4000 (python-close-block-statement-p)
4001 (python-block-end-p): Delete function.
4002 (python-info-closing-block): New function.
4003 (python-comint-output-filter-function)
4004 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4005 (python-fill-comment, python-fill-decorator, python-fill-paren)
4006 (python-fill-string, python-imenu-make-element-tree)
4007 (python-imenu-make-tree, python-imenu-tree-assoc)
4008 (python-indent-context, python-indent-dedent-line)
4009 (python-indent-line-function)
4010 (python-indent-post-self-insert-function)
4011 (python-indent-toggle-levels)
4012 (python-info-assignment-continuation-line-p)
4013 (python-info-beginning-of-backlash)
4014 (python-info-block-continuation-line-p)
4015 (python-info-closing-block-message)
4016 (python-info-line-ends-backslash-p)
4017 (python-info-looking-at-beginning-of-defun)
4018 (python-info-ppss-context, python-info-ppss-context-type)
4019 (python-nav-list-defun-positions, python-nav-read-defun)
4020 (python-nav-sentence-end, python-nav-sentence-start)
4021 (python-pdbtrack-comint-output-filter-function)
4022 (python-pdbtrack-set-tracked-buffer)
4023 (python-shell-calculate-exec-path)
4024 (python-shell-calculate-process-environment)
4025 (python-shell-completion--do-completion-at-point)
4026 (python-shell-completion--get-completions)
4027 (python-shell-completion-complete-at-point)
4028 (python-shell-completion-complete-or-indent)
4029 (python-shell-get-or-create-process)
4030 (python-shell-get-process-name)
4031 (python-shell-internal-get-or-create-process)
4032 (python-shell-internal-get-process-name)
4033 (python-shell-internal-send-string, python-shell-make-comint)
4034 (python-shell-parse-command, python-shell-send-setup-code)
4035 (python-skeleton-add-menu-items)
4036 (python-util-clone-local-variables, python-util-position)
4037 (run-python-internal, python-indentation-levels)
4038 (python-nav-beginning-of-defun)
4039 (python-completion-complete-at-point): New functions.
4040 (run-python): Change arguments. New API requirements.
4041
4302f5ba
SM
40422012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4043
f38ea36d
SM
4044 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4045 (bug#11649).
4046
4047 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4048 (macroexp--expand-all): Use it.
4049
4302f5ba
SM
4050 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4051 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4052 Use `cl-function' instead.
4053
33377562
JB
40542012-06-14 Juanma Barranquero <lekktu@gmail.com>
4055
4056 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4057 Suggested by Stefan Monnier while discussing bug#11657.
4058
54c5ba1a
SS
40592012-06-14 Sam Steingold <sds@gnu.org>
4060
4061 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4062
f9f1b1fe
AS
40632012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4064
4065 * play/doctor.el (doctor-doc): Remove parameter and use
4066 doctor-sent instead of sent.
4067 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4068
a81068ba
SM
40692012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4070
5a315f9c
SM
4071 * files.el: Require cl-lib.
4072 (file-name-non-special): Replace case -> cl-case.
4073
4074 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4075
a81068ba
SM
4076 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4077 mapping from #' to function*.
4078
8cca9703
CY
40792012-06-13 Chong Yidong <cyd@gnu.org>
4080
4081 * mouse.el (mouse-drag-track): Do not set the mark if the user
4082 releases the mouse without selecting anything (Bug#11588).
4083
a12ac9d7
SM
40842012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4085
ccf1dc18
SM
4086 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4087 as well (bug#11646).
4088
ef62b23d
SM
4089 * loadup.el: Count byte-code functions as well.
4090
c4c8444a
SM
4091 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4092 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4093
a12ac9d7
SM
4094 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4095 (bug#11649). Add cl-defun and cl-defmacro.
4096
87e6e64f
DA
40972012-06-13 Drew Adams <drew.adams@oracle.com>
4098
4099 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4100 Fix last change.
4101
682cefaf
MA
41022012-06-13 Michael Albinus <michael.albinus@gmx.de>
4103
4104 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4105 Otherwise, it blocks in batch mode.
4106
773e1f08
JB
41072012-06-13 Juanma Barranquero <lekktu@gmail.com>
4108
4109 * help-mode.el (bookmark-make-record-default): Declare.
4110
60057926
CY
41112012-06-13 Chong Yidong <cyd@gnu.org>
4112
4113 * emacs-lisp/package.el (list-packages): Compute a list of
4114 packages that are newly-available since the last list-packages
4115 invocation.
4116 (package-menu--new-package-list): New var.
4117 (package-menu--generate, package-menu--print-info)
4118 (package-menu--status-predicate, package-menu-mark-install):
4119 Handle new status label "new".
4120
ad4d226c
SM
41212012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4124 conversion to backquotes.
4125
f1a4e679
CY
41262012-06-12 Chong Yidong <cyd@gnu.org>
4127
4128 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4129 Rename from gud-inhibit-global-bindings.
4130
4131 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4132
4133 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4134 hook from nxml-glyph-set-hook.
4135
4136 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4137 declaration.
4138
4139 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4140
4141 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4142 Convert to defcustom.
4143
0c9e42b5
DA
41442012-06-12 Drew Adams <drew.adams@oracle.com>
4145
4146 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4147 New functions.
4148 (help-mode): Use them.
4149
09e06855
GM
41502012-06-11 Glenn Morris <rgm@gnu.org>
4151
4152 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4153 Use preprocessor face for directives.
4154 (fortran-directive-re): Doc fix.
4155
71adb94b
SM
41562012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4157
2eb87922
SM
4158 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4159 conversion to backquotes (bug#11652).
4160
71adb94b
SM
4161 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4162 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4163 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4164 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4165 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4166 (cl-ninth, cl-tenth): Mark them as inlinable.
4167 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4168 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4169 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4170 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4171 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4172 (cl-list*, cl-adjoin): Don't put an autoload manually.
4173 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4174 (cl--compiler-macro-list*): Add autoload cookie.
4175 (cl--compiler-macro-cXXr): New function.
2eb87922 4176
71adb94b
SM
4177 * help-fns.el (help-fns--compiler-macro): New function extracted from
4178 describe-function-1; follow aliases and use `compiler-macro' property.
4179 (describe-function-1): Use it.
4180
a6674402
CY
41812012-06-11 Chong Yidong <cyd@gnu.org>
4182
4183 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4184 is uninstalled, if imagemagick is installed.
4185
bb3faf5b
SM
41862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * emacs-lisp/cl-lib.el: Use lexical-binding.
4189 (cl-map-extents, cl-maclisp-member): Remove.
4190 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4191 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4192 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4193 * emacs-lisp/cl-extra.el: Use lexical-binding.
4194 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4195 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4196 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4197 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4198 * emacs-lisp/cl-seq.el: Use lexical-binding.
4199 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4200 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4201 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4202 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4203 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4204 CL's internals.
4205
2fe4b125
MA
42062012-06-11 Michael Albinus <michael.albinus@gmx.de>
4207
4208 Sync with Tramp 2.2.6-pre.
4209
4210 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4211 `print-length' and `print-level' to nil, in order to avoid
4212 truncation. Reported by Christopher Schmidt
4213 <christopher@ristopher.com>.
4214
4215 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4216
4217 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4218 New defmacro.
4219 (tramp-compat-copy-directory): Add optional argument
4220 COPY-CONTENTS. It is not handled yet.
4221
4222 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4223 (tramp-ftp-file-name-p): Simplify.
4224
4225 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4226 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4227 connection vector.
4228
4229 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4230 (tramp-methods): Do not use `tramp-password-end-of-line'.
4231 (tramp-completion-function-alist-putty): Handle UNIX case.
4232 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4233 (tramp-do-file-attributes-with-stat)
4234 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4235 gid as real numbers. They could run out of integer range on cygwin.
4236 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4237 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4238 (tramp-open-connection-setup-interactive-shell):
4239 Use `tramp-cleanup'. Move check for busyboxes ...
4240 (tramp-find-shell): ... here. Simplify implementation.
4241 Set "remote-shell" property also for alternative shells.
4242 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4243 If failing, a regular file would be written otherwise.
4244 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4245 (tramp-find-inline-encoding): Cache the coding commands in the
4246 process cache. Apply test command on the remote side, if defined.
4247 (tramp-find-inline-compress): Cache the compress commands in the
4248 process cache.
4249 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4250 when requested. Handle hops.
4251 (tramp-current-connection): New defvar.
87e6e64f
DA
4252 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4253 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4254 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4255 (tramp-get-inline-compress, tramp-get-inline-coding):
4256 Read connection properties from the process cache.
2fe4b125
MA
4257
4258 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4259 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4260 New defconsts.
2fe4b125
MA
4261 (tramp-smb-prompt): Extend for powershell prompt.
4262 (tramp-smb-file-name-handler-alist): Add handlers for
4263 `process-file', `shell-command' and `start-file-process'.
4264 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4265 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4266 (tramp-smb-file-name-p): Simplify.
4267 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4268 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4269 (tramp-smb-shell-quote-argument): New defuns.
4270 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4271 Implement using "tar". By this, time-stamps are preserved.
4272 (tramp-smb-handle-copy-file): Handle also the case of directories.
4273 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4274 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4275 Use `tramp-get-connection-buffer').
2fe4b125
MA
4276 (tramp-smb-handle-rename-file): Use "rename", when source and
4277 target are on the same share.
87e6e64f
DA
4278 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4279 Use `tramp-smb-server-version'.
2fe4b125
MA
4280 (tramp-smb-wait-for-output): Remove prompt.
4281
4282 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4283 (tramp-methods, tramp-rsh-end-of-line):
4284 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4285 (tramp-save-ad-hoc-proxies): New defcustom.
4286 (tramp-completion-function-alist): Adapt docstring.
4287 (tramp-default-password-end-of-line): Remove defcustom.
4288 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4289 (tramp-user-regexp, tramp-file-name-regexp-unified)
4290 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4291 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4292 (tramp-remote-file-name-spec-regexp): New defconst.
4293 (tramp-file-name-structure): Extend structure for hops.
4294 (tramp-get-method-parameter): Move up.
4295 (tramp-file-name-p, tramp-dissect-file-name)
4296 (with-parsed-tramp-file-name): Handle hops.
4297 (tramp-file-name-hop): New defun.
4298 (tramp-make-tramp-file-name): New optional arg HOP.
4299 (tramp-message-show-progress-reporter-message): New defvar.
4300 (tramp-with-progress-reporter): Use it. We cannot use
4301 `tramp-message-show-message' here, because this suppresses also
4302 error buffers.
4303 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4304 `tramp-message-show-message' is nil.
4305 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4306 (tramp-cleanup): New defun.
4307 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4308 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4309 an error unchanged.
4310 (tramp-completion-handle-file-name-all-completions): Handle hops.
4311 Fix an error when called from ido.
4312 (tramp-completion-dissect-file-name): Use better local variable
4313 name. Add hop to the vector.
4314 (tramp-handle-insert-file-contents): Use progress-reporter for the
4315 whole scenario.
4316 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4317 to `t'.
4318 (tramp-check-for-regexp): Simplify search.
4319 (tramp-enter-password): Remove it. Move implementation ...
4320 (tramp-action-password): ... here.
4321 (tramp-mode-string-to-int, tramp-local-host-p)
4322 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4323 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4324 Set tramp-autoload cookie.
2fe4b125
MA
4325
4326 * net/trampver.el: Update release number.
4327
43282012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4329 Michael Albinus <michael.albinus@gmx.de>
4330
4331 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4332 (tramp-parse-group, tramp-parse-file)
4333 (tramp-parse-shostkeys-sknownhosts): New defuns.
4334 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4335 (tramp-parse-shosts-group, tramp-parse-sconfig)
4336 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4337 (tramp-parse-sknownhosts, tramp-parse-hosts)
4338 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4339 Use them.
4340 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4341 (tramp-parse-putty-group): Don't narrow.
4342 (tramp-parse-putty): Make a loop.
4343 (tramp-file-name-handler): Catch the `suppress' signal.
4344
72834e10
CY
43452012-06-11 Chong Yidong <cyd@gnu.org>
4346
4347 * image.el (imagemagick-register-types): Put the ImageMagick entry
4348 at the end of image-type-file-name-regexps.
4349
a4712e11
JB
43502012-06-11 Johan Bockgård <bojohan@gnu.org>
4351
4352 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4353 (pcase, pcase-let*, pcase-dolist): Use them.
4354
82ad98e3
SM
43552012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/pcase.el (pcase--let*): New function.
4358 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4359 (pcase--expand): Use macroexp-let².
4360
f80efb86
SM
43612012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4364 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4365 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4366 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4367 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4368 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4369
31ca4639 43702012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4371
31ca4639
CY
4372 * mail/rmail.el (rmail-yank-current-message): Leave point at
4373 correct position. (Bug#11660)
94f0aa34 4374
31ca4639 43752012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4376
31ca4639 4377 * allout-widgets.el: Fix code header.
9e1b8ec4 4378
31ca4639 43792012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4380
f80efb86
SM
4381 * cus-edit.el (customize-changed-options-previous-release):
4382 Bump to 24.1.
31ca4639 4383
642b6d30
AS
43842012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4385
4386 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4387
4f5d2ba1
CY
43882012-06-09 Chong Yidong <cyd@gnu.org>
4389
4390 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4391
e75852fd
MR
43922012-06-09 Martin Rudalics <rudalics@gmx.at>
4393
4394 * window.el (special-display-popup-frame): Don't use
4395 window--display-buffer (Bug#11651).
4396
1e48e282
EZ
43972012-06-09 Eli Zaretskii <eliz@gnu.org>
4398
8a26b487
EZ
4399 Fix parallel builds: make sure loaddefs.el is not being written
4400 while Lisp files are compiled.
4401 (compile): Don't depend on 'mh-autoloads'.
4402 (compile-CMD, compile-SH): Depend on 'autoloads'.
4403 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4404
1e48e282
EZ
4405 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4406
6175e34b
CY
44072012-06-09 Chong Yidong <cyd@gnu.org>
4408
4409 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4410 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4411 Doc fixes (Bug#11225).
4412
d9857e53
SM
44132012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4416 a function if there's a clear indication that it has a compiler-macro.
4417 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4418 (macro-declarations-alist): Add arglist to declaration functions.
4419 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4420 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4421 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4422 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4423 Also add autoload to find the compiler macro.
4424 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4425 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4426 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4427 (cl--compiler-macro-get): New functions, replacing calls to
4428 cl-define-compiler-macro.
4429 (cl-typep) [compiler-macro]: Use macroexp-let².
4430
f81298f8 44312012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4432
4433 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4434 string properly, fixes Bug#11473.
4435
4b56d0fe
CY
44362012-06-08 Chong Yidong <cyd@gnu.org>
4437
4438 * faces.el (set-face-attribute): Doc fix.
4439 (modify-face): Don't use :bold and :italic.
4440 (error, warning, success): Tweak definitions.
4441
4442 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4443 (custom-modified, custom-set, custom-changed, custom-themed)
4444 (custom-saved, custom-button, custom-button-mouse)
4445 (custom-button-pressed, custom-state, custom-comment-tag)
4446 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4447 (custom-group-subtitle): Use new-style face specs.
4448 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4449 (custom-set-face, custom-changed-face, custom-saved-face)
4450 (custom-button-face, custom-button-pressed-face)
4451 (custom-documentation-face, custom-state-face)
4452 (custom-comment-face, custom-comment-tag-face)
4453 (custom-variable-tag-face, custom-variable-button-face)
4454 (custom-face-tag-face, custom-group-tag-face-1)
4455 (custom-group-tag-face): Remove obsolete face alias.
4456
4457 * epa.el (epa-validity-high, epa-validity-medium)
4458 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4459 (epa-field-name, epa-field-body):
4460 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4461 (font-lock-keyword-face, font-lock-builtin-face)
4462 (font-lock-function-name-face, font-lock-variable-name-face)
4463 (font-lock-type-face, font-lock-constant-face):
4464 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4465 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4466 * speedbar.el (speedbar-button-face, speedbar-file-face)
4467 (speedbar-directory-face, speedbar-tag-face)
4468 (speedbar-selected-face, speedbar-highlight-face)
4469 (speedbar-separator-face):
4470 * whitespace.el (whitespace-newline, whitespace-space)
4471 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4472 (whitespace-line, whitespace-space-before-tab)
4473 (whitespace-space-after-tab, whitespace-indentation)
4474 (whitespace-empty):
4475 * emulation/cua-base.el (cua-global-mark):
4476 * eshell/em-prompt.el (eshell-prompt):
4477 * net/newst-plainview.el (newsticker-new-item-face)
4478 (newsticker-old-item-face, newsticker-immortal-item-face)
4479 (newsticker-obsolete-item-face, newsticker-date-face)
4480 (newsticker-statistics-face, newsticker-default-face):
4481 * net/newst-reader.el (newsticker-feed-face)
4482 (newsticker-extra-face, newsticker-enclosure-face):
4483 * net/newst-treeview.el (newsticker-treeview-face)
4484 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4485 (newsticker-treeview-immortal-face)
4486 (newsticker-treeview-obsolete-face)
4487 (newsticker-treeview-selection-face):
4488 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4489 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4490 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4491 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4492 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4493 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4494 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4495 (mpuz-text):
4496 * progmodes/vera-mode.el (vera-font-lock-number)
4497 (vera-font-lock-function, vera-font-lock-interface):
4498 * textmodes/table.el (table-cell): Use new-style face specs, and
4499 don't use the old :bold and :italic attributes.
4500
4501 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4502 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4503 (ebrowse-member-class, ebrowse-progress): Likewise.
4504 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4505 (ebrowse-file-name-face, ebrowse-default-face)
4506 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4507 (ebrowse-progress-face): Remove obsolete faces.
4508
4509 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4510 Inherit from error and warning faces respectively.
4511
4512 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4513 Likewise.
f80efb86
SM
4514 (flyspell-incorrect-face, flyspell-duplicate-face):
4515 Remove obsolete aliases.
4b56d0fe 4516
03310646
MA
45172012-06-08 Michael Albinus <michael.albinus@gmx.de>
4518
4519 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4520 Avoid infloop.
4521
513749ee
SM
45222012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * startup.el (argv, argi): Make lexically scoped.
4525 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4526 * emacs-lisp/cl-macs.el: Use lexical-binding.
4527 Rename cl-bind-* to cl--bind-*.
4528 * files.el: Don't require `cl' since it doesn't use it.
4529 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4530
595ef4ad
JB
45312012-06-08 Juanma Barranquero <lekktu@gmail.com>
4532
4533 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4534 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4535 instead of calling external sort utility.
4536 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4537
e9f66fcb
EZ
45382012-06-08 Eli Zaretskii <eliz@gnu.org>
4539
4540 * descr-text.el (describe-char): Mention how to insert the
4541 character, if the current input method doesn't support it.
4542 See the discussion in this thread for the details:
4543 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4544
3d10db47
SS
45452012-06-08 Sam Steingold <sds@gnu.org>
4546
4547 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4548 XF86Back to previous-buffer.
4549 (minibuffer-local-map): Bind them to next-history-element and
4550 previous-history-element respectively.
4551 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4552 help-go-back respectively.
4553 * info.el (Info-mode-map): Bind them to Info-history-forward and
4554 Info-history-back respectively.
4555 These are the keys next to Up on the ThinkPad keyboard.
4556
de7e2b36
SM
45572012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4560 * emacs-lisp/cl-macs.el: Provide itself.
4561 (cl--labels-convert-cache): New var.
4562 (cl--labels-convert): New function.
4563 (cl-flet, cl-labels): New implementation with new semantics, relying on
4564 lexical-binding.
4565 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4566 (cl-closure-vars, cl--function-convert-cache)
4567 (cl--function-convert): Move from cl-macs.el.
4568 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4569 rename by removing the "cl-" prefix.
4570 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4571
6fa6c4ae
SM
45722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4575 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4576 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4577 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4578 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4579 (cl-hash-table-count): Add old compatibility aliases.
4580
4581 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4582 Use macroexpand-all-environment instead.
4583 (cl--old-macroexpand): New var.
4584 (cl--sm-macroexpand): New function.
4585 (cl-symbol-macrolet): Use it during macro expansion.
4586 (cl--function-convert-cache): New var.
4587 (cl--function-convert): New function, extracted from
4588 cl-macroexpand-all.
4589 (cl-lexical-let): Use it.
4590
4591 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4592 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4593 (cl-member): Remove old alias.
4594
4595 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4596 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4597 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4598 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4599 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4600 (cl-macroexpand-cmacs): Remove var.
4601 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4602 Use macroexpand-all instead.
4603
4dd1c416
SM
46042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4607 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4608 (macroexp-copyable-p): New functions and macros.
4609 * emacs-lisp/edebug.el (edebug-unwrap):
4610 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4611 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4612 (pcase--let*): Remove.
4613 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4614 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4615 macroexp-const-p instead.
4616 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4617
4618 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4619 instead of "cl-" for internal definitions. Use macroexp-const-p.
4620 (cl-old-bc-file-form): Remove var.
4621 (cl-const-exprs-p): Remove fun.
4622 (cl-labels, cl-macrolet): Use backquote.
4623 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4624 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4625 (cl-define-setf-expander): Rename from cl-define-setf-method.
4626 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4627
4628 * international/mule-cmds.el: Don't require CL.
4629 (view-hello-file): Don't use `letf'.
4630
ed8bd4d7
SM
46312012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4632
7287f2f3
SM
4633 * tmm.el (tmm-prompt): Use string-prefix-p.
4634 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4635 (tmm-add-prompt): Use minibuffer-completion-help.
4636 (tmm-delete-map): Remove.
4637
ed8bd4d7
SM
4638 * subr.el (kbd): Make it its own function.
4639
7b4cdbf4
SM
46402012-06-07 Stefan Merten <smerten@oekonux.de>
4641
4642 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4643 Silence compiler warnings. Fix versions.
ed8bd4d7 4644 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4645 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4646 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4647 (rst-package-emacs-version-alist): Correct Emacs version to
4648 represent major merge with upstream.
ed8bd4d7 4649 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4650
2b48d721
GM
46512012-06-06 Glenn Morris <rgm@gnu.org>
4652
4653 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4654 Only print environment variables if set.
4655
fa779ab0
SM
46562012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4659 (macroexp--cons): Rename from maybe-cons.
4660 (macroexp--accumulate): Rename from macroexp-accumulate.
4661 (macroexp--all-forms): Rename from macroexpand-all-forms.
4662 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4663 (macroexp--expand-all): Rename from macroexpand-all-1.
4664
628299e0
SS
46652012-06-06 Sam Steingold <sds@gnu.org>
4666
4667 * calendar/calendar.el (calendar-in-read-only-buffer):
4668 Call `special-mode' to enable the standard read-only keybindings.
4669
b7bb5838
SM
46702012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4673 with "loading" messages (bug#11635).
4674
dfb308ba
MA
46752012-06-06 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * files.el (enable-remote-dir-locals): New option.
4678 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4679
0372ee92
MA
4680 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4681 Ensure, that the temp directory is local.
4682
4683 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4684 `temporary-file-directory'.
4685
eed0bb91
MA
4686 * progmodes/python.el (python-send-region): Ensure, that the
4687 temporary file is created also in the remote case.
4688
7a58f64d
GM
46892012-06-06 Glenn Morris <rgm@gnu.org>
4690
f7dd4e98
GM
4691 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4692 (vc-rcs-update-changelog): Use it.
4693
090bd7cb 4694 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4695
7a58f64d
GM
4696 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4697 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4698 (vc-sccs-diff): Replace use of the external vcdiff script.
4699
daed4003
GM
47002012-06-05 Glenn Morris <rgm@gnu.org>
4701
4702 * ledit.el: Move to obsolete/.
4703
48c455c7
SS
47042012-06-05 Sam Steingold <sds@gnu.org>
4705
ed9265fc 4706 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4707 patch (Bug#11140).
4708
57a7d507
SM
47092012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4710
090bd7cb 4711 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4712
53aacf21
SM
4713 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4714 compiler-macro expansion.
4715
57a7d507
SM
4716 Add native compiler-macro support.
4717 * emacs-lisp/macroexp.el (macroexpand-all-1):
4718 Support compiler-macros directly. Properly follow aliases and apply
4719 the compiler macros more thoroughly.
4720 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4721 macroexpand now properly follows aliases.
4722 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4723 (cl-compiler-macroexpand): Use new prop.
4724 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4725
4726 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4727
51a5f9d8
MR
47282012-06-05 Martin Rudalics <rudalics@gmx.at>
4729
4730 * window.el (get-lru-window, get-mru-window, get-largest-window):
4731 New argument NOT-SELECTED to avoid picking the selected window.
4732 (window--display-buffer-1, window--display-buffer-2): Replace by
4733 new function window--display-buffer
4734 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4735 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4736 Use window--display-buffer.
51a5f9d8
MR
4737 (display-buffer-use-some-window): Remove temporary dedication
4738 hack by calling get-lru-window and get-largest-window with
4739 NOT-SELECTED argument non-nil. Call window--display-buffer.
4740
08f9f738
GM
47412012-06-05 Glenn Morris <rgm@gnu.org>
4742
4743 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4744 Replace external vcdiff script.
4745
e364a2b7
SM
47462012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4749
041df390
CY
47502012-06-04 Chong Yidong <cyd@gnu.org>
4751
e364a2b7
SM
4752 * image.el (imagemagick-types-inhibit): Revert last change.
4753 Add INFO and M.
47b36b94 4754 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4755
7c1898a7
SM
47562012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * emacs-lisp/cl-lib.el: Rename from cl.el.
4759 * emacs-lisp/cl.el: New compatibility file.
4760 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4761 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4762 to obey the "cl-" prefix.
4763 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4764
0c3461de
GM
47652012-06-03 Glenn Morris <rgm@gnu.org>
4766
1e266c88
GM
4767 * emacs-lisp/authors.el (authors-aliases): Addition.
4768
0c3461de
GM
4769 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4770 Fix :version.
4771
d8a52e15
SM
47722012-06-03 Stefan Merten <smerten@oekonux.de>
4773
4774 * textmodes/rst.el: Add comments.
4775 (rst-transition, rst-adornment): New faces.
4776 (rst-adornment-faces-alist): Make default safe to reevaluate.
4777 Fixes
4778 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4779 Improve customization tags.
4780 (rst-define-level-faces): Clarify meaning.
4781
5205d6f6
CY
47822012-06-03 Chong Yidong <cyd@gnu.org>
4783
4784 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4785 (compilation-mode-line-run, compilation-mode-line-exit):
4786 New faces.
5205d6f6
CY
4787 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4788
757ee657
JD
47892012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4790
7c1898a7
SM
4791 * progmodes/which-func.el (which-func-update-ediff-windows):
4792 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4793
5f2c76c6
CY
47942012-06-03 Chong Yidong <cyd@gnu.org>
4795
4796 * bindings.el: Remove explicit help text from format-mode-line.
4797 It is now supplied by mode-line-default-help-echo.
4798 (mode-line-front-space, mode-line-end-spaces)
4799 (mode-line-misc-info): New variables.
4800 (mode-line-modes, mode-line-position): Move the default value to
4801 the variable definition.
4802 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4803 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4804 (mode-line-modified-help-echo): New functions.
4805 (mode-line-mule-info, mode-line-modified): Use them.
4806 (mode-line-eol-desc, propertized-buffer-identification):
4807 Consistency fixes for help text.
cbe46e5f
CY
4808 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4809 set-buffer-file-coding-system (Bug#289).
4810 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4811
f2d6a3df
SM
48122012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * simple.el (execute-extended-command): Set real-this-command
4815 (bug#11506).
4816
37269466
CY
48172012-06-02 Chong Yidong <cyd@gnu.org>
4818
4819 Remove incorrect uses of "modeline" in comments, docstrings, and
4820 function/variable names (Bug#10329).
4821
4822 * cus-edit.el (mode-line):
4823 * dframe.el (dframe-mouse-hscroll):
4824 * emacs-lisp/re-builder.el:
4825 * emacs-lisp/easy-mmode.el (define-minor-mode):
4826 * frame.el (set-frame-name):
4827 * help.el (lookup-minor-mode-from-indicator):
4828 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4829 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4830 (c-toggle-hungry-state):
4831 * progmodes/antlr-mode.el (antlr-language-alist):
4832 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4833 * progmodes/vhdl-mode.el (vhdl-mode):
4834 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4835 * term/ns-win.el (ns-face-at-pos):
4836 * term/sup-mouse.el (sup-mouse-report):
4837 * textmodes/flyspell.el (flyspell-mode-line-string):
4838 * textmodes/ispell.el (ispell-highlight-face):
4839 * textmodes/reftex-global.el:
4840 * vc/vc-arch.el (vc-arch-mode-line-string):
4841 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4842 * vc/vc-git.el (vc-git-mode-line-string):
4843 * vc/vc-hooks.el (vc-display-status)
4844 (vc-default-mode-line-string):
4845 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4846
4847 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4848
4849 * dired.el (dired-sort-set-mode-line): Rename from
4850 dired-sort-set-modeline. All callers changed.
4851
4852 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4853 eshell-status-in-modeline.
4854
4855 * foldout.el (foldout-mode-line-string): Rename from
4856 foldout-modeline-string. All callers changed.
4857 (foldout-update-mode-line): Rename from foldout-update-modeline.
4858
4859 * subr.el (redraw-modeline): Make into obsolete alias.
4860
4861 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4862 timeclock-modeline-display. Make old name an alias.
4863 (timeclock-update-mode-line): Likewise. All callers changed.
4864 (timeclock-mode-line-display): No need to check before using
4865 add-hook.
4866 (timeclock-relative, timeclock-day-over-hook)
4867 (timeclock-use-elapsed, timeclock-mode-string)
4868 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4869
4870 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4871 crisp-mode-modeline-string.
4872
4873 * play/solitaire.el (solitaire-build-mode-line): Rename from
4874 solitaire-build-modeline. All callers changed.
4875
4876 * play/zone.el (zone-hiding-mode-line): Rename from
4877 zone-hiding-modeline. All callers changed.
4878 (zone): Remove unusued `modeline-hidden-level' property.
4879
4880 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4881 xscheme-modeline-initialize. All callers changed.
4882
4883 * strokes.el (strokes-lighter): Rename from
4884 strokes-modeline-string.
4885
4886 * textmodes/sgml-mode.el (html-face-tag-alist)
4887 (html-tag-face-alist): Use mode-line face instead of obsolete
4888 alias modeline.
4889
42152ee4
SM
48902012-06-02 Stefan Merten <smerten@oekonux.de>
4891
4892 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4893 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4894
95f520b5
CY
48952012-06-02 Chong Yidong <cyd@gnu.org>
4896
4897 * image.el (imagemagick-enabled-types): Rename from
4898 imagemagick-types-enable. Add many more types.
4899 (imagemagick-types-inhibit): Change default to nil.
4900 (imagemagick-filter-types): Caller changed.
4901
4a5f187a
SM
49022012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4903
03fef3e6
SM
4904 * emacs-lisp/cl-macs.el: Use backquotes.
4905 (cl-transform-function-property): Use eval-and-compile rather than
4906 abusing `require'.
4907 (defstruct): Use declare-function instead of with-no-warnings.
4908
4a5f187a
SM
4909 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4910 (byte-compile-output-docform): Re-add the print-circle bindings.
4911 (byte-compile-fix-header): Use #$ just because it's shorter.
4912 (byte-compile-output-file-form): Remove defun/defmacro.
4913
bd56924f
MR
49142012-06-01 Martin Rudalics <rudalics@gmx.at>
4915
4916 * simple.el (choose-completion): Remove now obsolete binding for
4917 owindow.
4918
046e38ce
MA
49192012-06-01 Michael Albinus <michael.albinus@gmx.de>
4920
4921 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4922 in order to avoid "Stack overflow in regexp matcher".
4923
32d72c2f
GM
49242012-05-31 Glenn Morris <rgm@gnu.org>
4925
4926 * image.el: For clarity, call imagemagick-register-types at
4927 top-level, rather than relying on a custom :initialize.
4928 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4929 (imagemagick-filter-types): New function. (Bug#7406)
4930 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4931 If disabling support, remove elements altogether rather
4932 than using an impossible regexp.
4933 (imagemagick-types-inhibit): Give it the default init function.
4934
dd41169b
SM
49352012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4936
4a5f187a
SM
4937 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4938 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4939
efc00ab1 49402012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4941
4942 * desktop.el (desktop-read): Clear previous and next buffers for
4943 all windows and bury *Messages* buffer (bug#11556).
4944
500fcedc
SM
49452012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 Add `declare' for `defun'. Align `defmacro's with it.
4948 * emacs-lisp/easy-mmode.el (define-minor-mode)
4949 (define-globalized-minor-mode): Don't autoload the var definitions.
4950 * emacs-lisp/byte-run.el: Use lexical-binding.
4951 (defun-declarations-alist, macro-declarations-alist): New vars.
4952 (defmacro, defun): Use them.
4953 (make-obsolete, define-obsolete-function-alias)
4954 (make-obsolete-variable, define-obsolete-variable-alias):
4955 Use `declare'.
4956 (macro-declaration-function): Mark obsolete.
4957 * emacs-lisp/autoload.el: Use lexical-binding.
4958 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4959
6e8a1786
AM
49602012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4961
4962 * textmodes/ispell.el (ispell-with-no-warnings):
4963 Define as a macro.
500fcedc
SM
4964 (ispell-kill-ispell, ispell-change-dictionary):
4965 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4966 `interactive-p'.
4967
61b108cc
SM
49682012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4971 (macro-declaration-function): Move var from C code.
4972 (macro-declaration-function): Define function with defalias.
4973 * emacs-lisp/macroexp.el (macroexpand-all-1):
4974 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4975 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4976 defun/defmacro any more.
4977 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4978 Provide fallback for unknown arglist.
4979 (byte-compile-arglist-warn): Change calling convention.
4980 (byte-compile-output-file-form): Move print-vars binding.
4981 (byte-compile-output-docform): Simplify accordingly.
4982 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4983 (byte-compile-defmacro-declaration): Remove.
4984 (byte-compile-file-form-defmumble): Generalize to defalias.
4985 (byte-compile-output-as-comment): Return byte-positions.
4986 Simplify callers accordingly.
4987 (byte-compile-lambda): Use `assert'.
4988 (byte-compile-defun, byte-compile-defmacro): Remove.
4989 (byte-compile-file-form-defalias):
4990 Use byte-compile-file-form-defmumble.
4991 (byte-compile-defalias-warn): Remove.
4992
6d3f7c2f
SM
49932012-05-29 Stefan Merten <smerten@oekonux.de>
4994
4995 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4996 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4997
4998 (rst-mode-abbrev-table): Merge definition.
4999 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5000 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5001
6dbaa1c7
UJ
50022012-05-29 Ulf Jasper <ulf.jasper@web.de>
5003
5004 * calendar/icalendar.el
5005 (icalendar-export-region): Export UID properly.
5006
d209e2fb 50072012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5008 * calendar/icalendar.el (icalendar-import-format):
5009 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5010 (icalendar-import-format-uid): New.
5011 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5012 Export UID.
5013
6876a58d
SM
50142012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5017 different alternative patterns.
5018 (pcase-codegen): Be more careful to preserve identity.
5019 (pcase--u1): Don't forget to mark vars as used.
5020
5021 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5022 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5023 (byte-compile-from-buffer): ...rather than here.
5024
5025 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5026 functions from byte-compile-function-environment.
5027
46b7967e
TN
50282012-05-29 Troels Nielsen <bn.troels@gmail.com>
5029
5030 * window.el (window-deletable-p): Avoid deleting the root window
5031 of a frame with an active minibuffer.
5032
69d565e2
MR
50332012-05-29 Martin Rudalics <rudalics@gmx.at>
5034
5035 * simple.el (choose-completion): Use quit-window (Bug#11567).
5036
a149fa51
CY
50372012-05-29 Chong Yidong <cyd@gnu.org>
5038
5039 * whitespace.el (whitespace-cleanup): Fix usage of
5040 whitespace-empty-at-bob-regexp (Bug#11492).
5041
2b311310
AH
50422012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5043
5044 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5045 revert (Bug#11488).
5046
b9cb2387
JL
50472012-05-29 Juri Linkov <juri@jurta.org>
5048
5049 * isearch.el (isearch-mode-map): Bind `M-s _' to
5050 `isearch-toggle-symbol'. Bind `M-s c' to
5051 `isearch-toggle-case-fold'.
5052 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5053 (isearch-forward): Add `M-s _' to the docstring.
5054 (isearch-forward-symbol, isearch-toggle-case-fold)
5055 (isearch-symbol-regexp): New functions. (Bug#11381)
5056
d5e61c1c
JL
50572012-05-29 Juri Linkov <juri@jurta.org>
5058
5059 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5060 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5061 a function, call it to get the regexp.
5062 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5063 property `isearch-message-prefix' instead of the string "word ".
5064 (isearch-search-fun-default): For the case of `isearch-word',
5065 return a lambda that calls re-search-forward/re-search-backward
5066 with a regexp returned by `word-search-regexp' or by the function
5067 in `isearch-word'.
5068
8cbd80f7
JL
50692012-05-29 Juri Linkov <juri@jurta.org>
5070
5071 * isearch.el (isearch-search-fun-default): New function.
5072 (isearch-search-fun): Move default part to the new function
5073 `isearch-search-fun-default'.
5074 (isearch-search-fun-function): Set the default value to
5075 `isearch-search-fun-default'. (Bug#11381)
5076
5077 * comint.el (comint-history-isearch-end):
5078 Use `isearch-search-fun-default'.
5079 (comint-history-isearch-search): Use `isearch-search-fun-default'
5080 and remove spacial case for `isearch-word'.
5081 (comint-history-isearch-wrap): Remove spacial case for
5082 `isearch-word'.
5083
5084 * hexl.el (hexl-isearch-search-function):
5085 Use `isearch-search-fun-default'.
5086
5087 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5088 Use `word-search-regexp' for `isearch-word'.
5089
5090 * misearch.el (multi-isearch-search-fun):
5091 Use `isearch-search-fun-default'.
5092
5093 * simple.el (minibuffer-history-isearch-search):
5094 Use `isearch-search-fun-default' and remove spacial case for
5095 `isearch-word'.
5096 (minibuffer-history-isearch-wrap): Remove spacial case for
5097 `isearch-word'.
5098
5099 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5100 Remove spacial case for `isearch-word'.
5101 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5102
85c8c5b6
AM
51032012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5104
5105 Decrease XEmacs incompatibilities.
5106 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5107 Use `string-match'.
5108 (flyspell-delete-region-overlays): Use alternative definition for
5109 XEmacs.
5110 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5111 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5112 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5113 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5114 `define-obsolete-face-alias' under XEmacs, but old method.
5115
5116 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5117 `with-no-warnings' definition or Emacs alias.
5118 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5119 (ispell-word): Do not use `region-p' if XEmacs.
5120
8cab9efc
AM
51212012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5122
5123 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5124 Check for `ispell-dictionary-base-alist' instead of full
5125 `ispell-dictionary-alist'.
5126 (ispell-init-process): Show spellchecker when starting new Ispell
5127 process.
5128
fda91268
RZ
51292012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5132 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5133
694ea8e3
JB
51342012-05-27 Juanma Barranquero <lekktu@gmail.com>
5135
5136 * version.el (motif-version-string, gtk-version-string)
5137 (ns-version-string): Declare.
5138
e4d4f539
JL
51392012-05-27 Juri Linkov <juri@jurta.org>
5140
5141 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5142 after the `eval-defun-1' specialcaseing
5143 like in `edebug-eval-defun' (bug#10181).
5144
5145 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5146 like in `eval-defun-1'.
5147
33017faf 51482012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5149
fda91268
RZ
5150 * mail/sendmail.el (mail-yank-region):
5151 Recognize rmail-yank-current-message in addition to insert-buffer.
5152 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5153 a *mail* buffer created through rmail-start-mail with sendmail as
5154 mail-user-agent.
5155
33017faf
GM
51562012-05-27 Chong Yidong <cyd@gnu.org>
5157
5158 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5159 Default to 256 (Bug#11267).
5160
5161 * help.el (describe-mode): Doc fix.
5162
04188bb9
GM
51632012-05-26 Glenn Morris <rgm@gnu.org>
5164
38264cc9
GM
5165 * w32-fns.el (w32-init-info): Remove.
5166 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5167
eb7afdad
GM
5168 * info.el (info-initialize): For self-contained NS builds, put the
5169 included info/ directory at the front. (Bug#2791)
5170
04188bb9
GM
5171 * paths.el (Info-default-directory-list): Make it a defcustom,
5172 mainly so that we can use custom-initialize-delay.
5173
a179e3f7
SM
51742012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5175
43416392
SM
5176 * subr.el (buffer-has-markers-at): Mark obsolete.
5177
a179e3f7 5178 * subr.el (lambda): Use declare.
43416392 5179
a179e3f7
SM
5180 * emacs-lisp/lisp-mode.el (lambda):
5181 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5182
34a008d9
AH
51832012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5184
5185 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5186
0a3b289f
GM
51872012-05-26 Glenn Morris <rgm@gnu.org>
5188
5189 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5190
758c81e8
GM
51912012-05-25 Glenn Morris <rgm@gnu.org>
5192
f9f334f0
GM
5193 * paths.el: Remove no-byte-compile.
5194 * loadup.el: No need to load paths.el uncompiled.
5195
87eb79c2
GM
5196 * image.el (imagemagick-types-inhibit): Doc fix.
5197
758c81e8
GM
5198 * version.el: Remove no-byte-compile and associated formatting.
5199 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5200 is ancient code from when there was an "inc-vers.el".
5201
e7e85dc0
SM
52022012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * progmodes/gdb-mi.el: Minor style changes.
5205 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5206 Turn into minor modes.
5207 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5208 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5209 (gdb-shell): Remove unneeded let-binding.
5210 (gdb-get-many-fields): Eliminate O(n²) behavior.
5211
f31237a4
EZ
52122012-05-25 Eli Zaretskii <eliz@gnu.org>
5213
5214 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5215 platforms that don't link in fontset.c.
5216
bc1b21bb
JL
52172012-05-25 Juri Linkov <juri@jurta.org>
5218
5219 Use the same diff color scheme as in modern VCSes (bug#10181).
5220
5221 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5222 to avoid confusion with `diff-added' that now uses green colors.
5223 (diff-removed): Use shades of red.
5224 (diff-added): Use shades of green.
5225 (diff-changed): Leave just the yellow color.
5226 (diff-use-changed-face): New variable.
5227 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5228 how to highlight context diff changes.
5229 (diff-refine-change): Use shades of yellow.
5230 (diff-refine-removed): New face that uses shades of red.
5231 (diff-refine-added): New face that uses shades of green.
5232 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5233 `diff-refine-removed' in the call to `smerge-refine-subst'
5234 depending on the value of `diff-use-changed-face'.
5235
5236 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5237 (smerge-other): Use shades of green.
5238 (smerge-base): Use shades of yellow.
5239 (smerge-refined-change): Empty face.
5240 (smerge-refined-removed): New face that uses shades of red.
5241 (smerge-refined-added): New face that uses shades of green.
5242 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5243 args `props-r' and `props-a', and use them. Doc fix.
5244 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5245 on its value use different faces `smerge-refined-change',
5246 `smerge-refined-removed', `smerge-refined-added' in the call to
5247 `smerge-refine-subst'.
5248
5249 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5250 Add face condition `min-colors 88' with shades of red.
5251 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5252 `min-colors 88' with shades of green.
5253 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5254 `min-colors 88' with shades of yellow.
5255
6df9112c
GM
52562012-05-24 Glenn Morris <rgm@gnu.org>
5257
ead5edc0
GM
5258 * paths.el (prune-directory-list, remote-shell-program): Move to...
5259 * files.el (prune-directory-list, remote-shell-program): ...here.
5260 For the latter, delay initialization, prefer ssh, just search PATH.
5261
f18b81e6
GM
5262 * paths.el (term-file-prefix): Move to faces.el (the only user).
5263 * faces.el (term-file-prefix): Move here, make it a defcustom.
5264
ee2f89a6
GM
5265 * paths.el (news-directory, news-path, news-inews-program):
5266 Move to gnus/nnspool.el.
61a583ca 5267
f8815e4c
GM
5268 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5269
c8f3b42c
GM
5270 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5271 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5272 Make the latter a defcustom, with a delayed initialization.
5273
6df9112c
GM
5274 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5275 These were deleted from Gnus itself late 2010.
5276
5dadff36
JB
52772012-05-22 Juanma Barranquero <lekktu@gmail.com>
5278
9e1701c6
JB
5279 * progmodes/which-func.el (which-func-ff-hook):
5280 Check against user-error, not error.
5281
bd7239f5 5282 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5283 cl-specs.el, which no longer exists.
5284
3290526d
GM
52852012-05-22 Glenn Morris <rgm@gnu.org>
5286
5287 * info.el (info-emacs-bug): New command.
5288 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5289 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5290
ff0c3cfb
GM
52912012-05-21 Glenn Morris <rgm@gnu.org>
5292
5293 * makefile.w32-in (update-subdirs-SH):
5294 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5295
5814f126
SM
52962012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5297
a52c0aa0
SM
5298 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5299
5814f126
SM
5300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5301 Simplify Maven regexp, and make sure the file can't start with a space
5302 (bug#11517).
5303
b847032c
GM
53042012-05-21 Glenn Morris <rgm@gnu.org>
5305
5306 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5307 Scrap superfluous subshells.
5308
3858bfe7
SM
53092012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5312 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5313
d14b0029
JB
53142012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5315
5316 * calc/calc.el (calc-ensure-consistent-units): New variable.
5317
a52c0aa0
SM
5318 * calc/calc-units.el (math-consistent-units-p)
5319 (math-check-unit-consistency): New functions.
5320 (calc-quick-units, calc-convert-units):
5321 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5322 is non-nil.
d14b0029
JB
5323 (calc-extract-units): Fix typo.
5324
60c4db3a
SM
53252012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5326
77f3b62e
SM
5327 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5328
60c4db3a
SM
5329 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5330 (flyspell-default-deplacement-commands): Don't spell check after
5331 repeated window/frame switches (e.g. triggered by mouse-movement).
5332 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5333 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5334 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5335 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5336 Remove unused vars.
5337 (flyspell-get-casechars, flyspell-get-not-casechars):
5338 Simplify; Don't bother removing a ] just to add it back.
5339 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5340
d209e2fb 53412012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5342
5343 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5344 New functions.
bd7239f5 5345 (math-function-table): Add support for more C functions.
b1a10716 5346
3f1b25b5
AM
53472012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5348
090bd7cb
JB
5349 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5350 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5351 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5352
b581bb5c
SM
53532012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5356 their respective macro declarations.
5357 * skeleton.el (define-skeleton):
5358 * progmodes/compile.el (define-compilation-mode):
5359 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5360 (define-ibuffer-filter):
5361 * emacs-lisp/generic.el (define-generic-mode):
5362 * emacs-lisp/easy-mmode.el (define-minor-mode)
5363 (define-globalized-minor-mode):
5364 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5365 * emacs-lisp/byte-run.el (defsubst):
5366 * custom.el (deftheme): Add doc-string metadata.
5367
70b8ef8f
SM
53682012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5371
b1198e17
SM
53722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5373
9abdc45d
SM
5374 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5375
b1198e17
SM
5376 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5377 * emacs-lisp/cl-macs.el: Idem.
5378 * emacs-lisp/cl-specs.el: Remove.
5379
4735906a
SM
53802012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 Minor renaming of internal CL functions and variables.
5383 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5384 (cl--position): Rename from cl-position.
5385 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5386 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5387 (cl--random-state): Rename from *random-state*.
5388
ac348012
SM
53892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5392 parens around the arg list (bug#11499).
5393
a0a79cde
JL
53942012-05-17 Juri Linkov <juri@jurta.org>
5395
5396 * isearch.el (word-search-regexp, word-search-backward)
5397 (word-search-forward, word-search-backward-lax)
5398 (word-search-forward-lax): Move functions from search.c
5399 (bug#10145, bug#11381).
5400
65034a51
AM
54012012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5402
090bd7cb
JB
5403 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5404 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5405 Delay for otherchars as for normal word components.
65034a51 5406
1a72a195
SM
54072012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * minibuffer.el (completion--sifn-requote): Fix last change.
5410 (minibuffer-local-must-match-filename-map):
5411 Move define-obsolete-variable-alias before its var.
5412
fdb058c2
SM
54132012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5414
c41045e6
SM
5415 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5416
036dfb8b
SM
5417 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5418 behavior.
5419 (completion--string-equal-p): New function.
5420 (completion--twq-all): Use it to get better assertion failure data.
5421
2473256d
SM
5422 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5423 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5424 (shell--requote-argument): New functions.
5425 (shell-completion-vars): Use them.
5426 (shell--parse-pcomplete-arguments): Rename from
5427 shell-parse-pcomplete-arguments.
5428 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5429 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5430 Obey comint-file-name-quote-list.
5431
fdb058c2
SM
5432 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5433 (smie-indent-keyword): Use it.
5434
51fa99f1
SM
54352012-05-14 Stefan Merten <smerten@oekonux.de>
5436
5437 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5438
e18afed7 54392012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5440
5441 * net/rlogin.el (rlogin-mode-map): Fix last change.
5442
e18afed7 54432012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5444
5445 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5446 the following \r\n using a single `process-send-string', since the
5447 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5448 with two `process-send-string's (Bug#11444).
8633b1f4 5449
e18afed7 54502012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5451
fdb058c2
SM
5452 * shell.el (shell-parse-pcomplete-arguments):
5453 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5454
2d21d7f6
WJ
54552012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5456
e18afed7 5457 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5458 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5459 (image-transform-width, image-transform-fit-width): New functions.
5460 (image-transform-properties): Use them.
5461 (image-transform-check-size): New function.
5462 (image-toggle-display-image): Use it (for testing).
5463 (image-transform-set-rotation): Reduce angle mod 360.
5464 Delete obsolete comment.
5465
7102e6d0
WJ
54662012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5467
5468 * image-mode.el: Fix scaling (bug#11399).
5469 (image-transform-resize): Doc fix.
5470 (image-transform-properties): Default scale is 1 and height should
5471 be an integer.
5472
06bc5e6e
SM
54732012-05-13 Johan Bockgård <bojohan@gnu.org>
5474
5475 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5476 than hard-coding `car', to fix misbehavior when moving forward.
5477
0ae03b6a
CY
54782012-05-13 Chong Yidong <cyd@gnu.org>
5479
5480 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5481 (tabulated-list-entries, tabulated-list-padding)
5482 (tabulated-list-sort-key): Make permanent-local.
5483
5484 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5485 (electric-buffer-list): Put electric buffer menu
5486 command descriptions in this docstring, instead of the docstring
5487 of electric-buffer-menu-mode. Code cleanups.
5488 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5489 Electric-buffer-menu-mode.
5490 (electric-buffer-update-highlight): Minor code cleanup.
5491
205a7391
MA
54922012-05-13 Michael Albinus <michael.albinus@gmx.de>
5493
5494 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5495 (Bug#11447)
5496
e5bd0a28
SM
54972012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 Move define-obsolete-variable-alias before the var's definition.
5500 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5501 * tooltip.el (tooltip-hook):
5502 * textmodes/reftex-toc.el (reftex-toc-map):
5503 * textmodes/reftex-sel.el (reftex-select-label-map)
5504 (reftex-select-bib-map):
5505 * textmodes/reftex-index.el (reftex-index-map)
5506 (reftex-index-phrases-map):
5507 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5508 * progmodes/meta-mode.el (meta-mode-map):
5509 * novice.el (disabled-command-hook):
5510 * loadhist.el (unload-hook-features-list):
5511 * frame.el (blink-cursor):
5512 * files.el (find-file-not-found-hooks, write-file-hooks)
5513 (write-contents-hooks):
5514 * emulation/tpu-edt.el (GOLD-map):
5515 * emacs-lock.el (emacs-lock-from-exiting):
5516 * emacs-lisp/generic.el (generic-font-lock-defaults):
5517 * emacs-lisp/chart.el (chart-map):
5518 * dos-fns.el (register-name-alist):
5519 * dired-x.el (dired-omit-files-p):
5520 * desktop.el (desktop-enable):
5521 * cus-edit.el (custom-mode-hook):
5522 * buff-menu.el (buffer-menu-mode-hook):
5523 * bookmark.el (bookmark-read-annotation-text-func)
5524 (bookmark-exit-hooks):
5525 * allout.el (allout-mode-deactivate-hook)
5526 (allout-exposure-change-hook, allout-structure-added-hook)
5527 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5528 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5529 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5530 comes before the corresponding variable's definition.
5531
ac59c2f6
CY
55322012-05-12 Chong Yidong <cyd@gnu.org>
5533
5534 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5535 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5536 (Buffer-menu-mode-map): Bind it.
5537 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5538
dee6c9a3
SM
55392012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5540
2171cea5
SM
5541 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5542 (prolog-upper-case-string, prolog-lower-case-string)
5543 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5544 (prolog-use-smie, prolog-smie-grammar): New vars.
5545 (prolog-smie-forward-token, prolog-smie-backward-token)
5546 (prolog-smie-rules): New funs.
5547 (prolog-comment-indent): Remove.
5548 (prolog-mode-variables): Use default comment indentation instead.
5549 Setup SMIE.
5550 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5551 (prolog-mode): Don't call them any more.
5552 (prolog-electric-colon, prolog-electric-dash)
5553 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5554
aa0382bd
SM
5555 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5556
dbacb4bd
SM
5557 * minibuffer.el (completion--twq-all): Again, allow case differences.
5558
13bdd94c
SM
5559 * term.el: Move keymap initialization code to be more idiomatic.
5560 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5561 (term-terminal-menu): Move initialization into declaration.
5562 (term-escape-char): Let the user set it in her .emacs.
5563
ff46c759
SM
5564 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5565 Provide SMIE-based indentation (not enabled by default yet).
5566 (sh-mode-map): Don't bind electric keys.
5567 Use electric-pair-mode instead of skeleton-pair.
5568 (sh-assignment-regexp): Fit within 80 columns.
5569 (sh-indent-supported): Specify actual shell name instead of boolean.
5570 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5571 (sh-maybe-here-document): Use it. Make obsolete.
5572 (sh-electric-here-document-mode) New minor mode.
5573 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5574 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5575 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5576 (sh-smie-rc-grammar, sh-use-smie): New vars.
5577 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5578 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5579 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5580 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5581 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5582 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5583 (sh-set-shell): Use smie-setup if requested.
5584
dee6c9a3
SM
5585 * term.el (term-set-escape-char): Properly set term-escape-char.
5586 See http://stackoverflow.com/questions/10524656.
5587
9f9aa044
CY
55882012-05-10 Chong Yidong <cyd@gnu.org>
5589
5590 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5591 Use url-generic-parse-url, and handle host names and Windows
5592 filenames properly.
5593 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5594 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5595 URL schemes to work on.
5596 (ffap--toggle-read-only): New function.
5597 (ffap-read-only, ffap-read-only-other-window)
5598 (ffap-read-only-other-frame): Use it.
5599 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5600 necessary for ffap-url-unwrap-remote.
5601
836d29b3
DA
56022012-05-10 Dave Abrahams <dave@boostpro.com>
5603
5604 * cus-start.el (create-lockfiles): Add it.
5605
00fd78ed
CY
56062012-05-09 Chong Yidong <cyd@gnu.org>
5607
5608 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5609 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5610
666b903b 56112012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5612
5613 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5614
666b903b 56152012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5616
5617 * ansi-color.el (ansi-color-process-output): Check for validity of
5618 comint-last-output-start before using it. This avoids a bad
5619 interaction with gdb-mi's input/output buffer.
5620
666b903b 56212012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5622
5623 * files.el (dir-locals-read-from-file):
5624 Mention dir-locals in any error message.
5625
666b903b 56262012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5627
5628 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5629 package (Bug#11410).
5630
f677562b
CY
5631 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5632 variables into description.
5633
666b903b 56342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5635
5636 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5637 shell-delimiter-argument-list (bug#11348).
5638 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5639
b499d8d0
JB
56402012-05-09 Juanma Barranquero <lekktu@gmail.com>
5641
8f6b6da8
JB
5642 * textmodes/rst.el: Silence byte-compiler warnings.
5643 (rst-re-alist, rst-reset-section-caches): Move around.
5644 (rst-re): Use `characterp', not `char-valid-p'.
5645 (font-lock-beg, font-lock-end): Declare.
5646
4824146a
JB
5647 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5648 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5649
b499d8d0
JB
5650 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5651
ad89bb83
GM
56522012-05-08 Glenn Morris <rgm@gnu.org>
5653
5654 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5655
8bba5a75
SM
56562012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5657
49ed9c8e
SM
5658 * vc/log-edit.el: Add GNU coding standards highlighting.
5659 (log-edit-font-lock-gnu-style)
5660 (log-edit-font-lock-gnu-keywords): New vars.
5661 (log-edit-font-lock-keywords): New fun.
5662 (log-edit-mode): Don't fold case in font-lock.
5663 (log-edit-font-lock-keywords): Do not assume case-folding.
5664
07d00b56
SM
5665 * imenu.el: Misc cleanup. Make docstrings out of comments.
5666 Use lexical-binding.
5667 (imenu--index-alist, imenu--last-menubar-index-alist)
5668 (imenu-menubar-modified-tick): Use defvar-local.
5669 (imenu--split-menu): Remove unused var.
5670 (imenu--cleanup-seen): Declare as global.
5671 (imenu--cleanup): Use dolist.
5672
8bba5a75
SM
5673 * subr.el (defvar-local): Add debug spec and doc-string position.
5674
5075bdb5
GM
56752012-05-08 Glenn Morris <rgm@gnu.org>
5676
090bd7cb 5677 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5678 * language/english.el, language/georgian.el, language/greek.el:
5679 * language/japanese.el, language/khmer.el, language/korean.el:
5680 * language/lao.el, language/misc-lang.el, language/romanian.el:
5681 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5682 * language/thai.el, language/utf-8-lang.el:
5683 Remove no-byte-compile setting.
5684
5075bdb5
GM
5685 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5686
06f679a7
AH
56872012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5688
5689 * progmodes/make-mode.el (makefile-browse):
5690 Remove unnecessary interactive. (Bug#11324)
5691
03794570
GM
56922012-05-07 Glenn Morris <rgm@gnu.org>
5693
af8630f4
GM
5694 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5695
03794570
GM
5696 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5697
f0809a9d
SM
56982012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5699
28be5ce7
SM
5700 * loadup.el: Preload newcomment.el.
5701 * newcomment.el: Move autoload-only code to toplevel.
5702
f0809a9d
SM
5703 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5704 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5705 Handle new :right-align column property.
5706 (tabulated-list-print-col): Idem, plus use `display' text-property to
5707 try and preserve alignment for variable pitch fonts.
5708
1241b724
CY
57092012-05-07 Chong Yidong <cyd@gnu.org>
5710
5711 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5712 (tabulated-list-use-header-line): New var.
5713 (tabulated-list-init-header): Use it.
5714 (tabulated-list-print-fake-header): New function.
5715 (tabulated-list-print): Use it.
5716 (tabulated-list-sort-button-map): Add non-header-line commands.
5717 (tabulated-list-init-header): Add column name property to basic
5718 labels as well.
5719 (tabulated-list-col-sort): Handle non-header-line button case.
5720 (tabulated-list--sort-by-column-name): Fix a corner case.
5721
f0809a9d
SM
5722 * buff-menu.el (list-buffers--refresh):
5723 Handle Buffer-menu-use-header-line.
1241b724 5724
e5f9458f
CY
57252012-05-06 Chong Yidong <cyd@gnu.org>
5726
5727 * buff-menu.el: Convert to Tabulated List mode.
5728 (Buffer-menu-buffer+size-width): Make obsolete.
5729 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5730 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5731 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5732 documentation into docstring of buffer-menu.
5733 (Buffer-menu-toggle-files-only): Add an informative message.
5734 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5735 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5736 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5737 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5738 (Buffer-menu-execute, Buffer-menu-select)
5739 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5740 (Buffer-menu-bury): Use Tabulated List machinery.
5741 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5742 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5743 Delete.
e5f9458f
CY
5744 (list-buffers--refresh): New function.
5745 (list-buffers-noselect): Use it.
5746 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5747 (Buffer-menu--pretty-file-name): New helper functions.
5748
5749 * loadup.el: Preload tabulated-list.
5750
5751 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5752 tabulated-list-sort-column.
5753 (tabulated-list-init-header): Add the initial aligning space even
5754 if tabulated-list-padding is zero.
5755
e129292c
CS
57562012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5757
5758 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5759 whose cdr is not a cons cell correctly (bug#11038).
5760
6632d361
CY
57612012-05-06 Chong Yidong <cyd@gnu.org>
5762
e129292c
CS
5763 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5764 Accept additional plist in column descriptors.
6632d361
CY
5765 (tabulated-list-init-header): Obey it.
5766 (tabulated-list-get-entry): New function.
5767 (tabulated-list-put-tag): Use it. Use string-width instead of
5768 length.
5769 (tabulated-list--column-number): New function.
5770 (tabulated-list-print): Use it.
e129292c
CS
5771 (tabulated-list-print-col): New function.
5772 Set `tabulated-list-column-name' property on each column's text.
6632d361 5773 (tabulated-list-print-entry): Use it.
e129292c
CS
5774 (tabulated-list-delete-entry, tabulated-list-set-col):
5775 New functions.
6632d361
CY
5776 (tabulated-list-sort-column): New command (Bug#11337).
5777
3cc99f68
CY
5778 * buff-menu.el (list-buffers): Move C-x C-b binding from
5779 buff-menu.el to bindings.el.
5780
5781 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5782 :advertised-binding feature.
5783
52b61776
TN
57842012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5785
5786 * progmodes/compile.el (compilation-internal-error-properties):
5787 Calculate start position correctly when end-col is set but
5788 end-line is not (Bug#11382).
5789
ebfe2597
WJ
57902012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5791
5792 * man.el (Man-unindent): Use text-property-default-nonsticky to
5793 prevent untabify from inheriting face properties (Bug#11408).
5794
6d3f7c2f
SM
57952012-05-05 Stefan Merten <smerten@oekonux.de>
5796
5797 * textmodes/rst.el: Major merge with upstream development up to
5798 Docutils SVN r7399 / rst.el V1.2.1.
5799
5800 Clarify maintainership and authors.
5801
5802 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5803 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5804 (rst-official-version, rst-official-cvs-rev, rst-version)
5805 (rst-package-emacs-version-alist): New functions and variables
5806 for version information.
5807
5808 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5809 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5810 (rst-mode-syntax-table, rst-mode): New and corrected functions
5811 and variables representing reStructuredText features.
5812
5813 (rst-re): New function for reStructuredText regexes. Use in
5814 many places.
5815
5816 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5817 (rst-mode-map): Rebind keys.
5818
5819 (rst-mode-lazy, rst-font-lock-keywords)
5820 (rst-font-lock-extend-region)
5821 (rst-font-lock-extend-region-internal)
5822 (rst-font-lock-extend-region-extend)
5823 (rst-font-lock-find-unindented-line-limit)
5824 (rst-font-lock-find-unindented-line-match)
5825 (rst-adornment-level, rst-font-lock-adornment-level)
5826 (rst-font-lock-adornment-match)
5827 (rst-font-lock-handle-adornment-pre-match-form)
5828 (rst-font-lock-handle-adornment-matcher): Major revision of
5829 font-locking. Integrate with other code. Use `jit-lock-mode'.
5830
5831 (rst-preferred-adornments, rst-adjust-hook)
5832 (rst-new-adornment-down, rst-preferred-bullets)
5833 (rst-preferred-bullets, rst-indent, rst-indent-width)
5834 (rst-indent-field, rst-indent-literal-normal)
5835 (rst-indent-literal-minimized, rst-indent-comment): Change,
5836 extend and improve customization.
5837
5838 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5839 (rst-normalize-cursor-position, rst-get-decoration)
5840 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5841 (rst-rstrip, rst-toc-insert-find-delete-contents)
5842 (rst-shift-fill-region, rst-compute-bullet-tabs)
5843 (rst-debug-print-tabs, rst-debug-mark-found)
5844 (rst-shift-region-guts, rst-shift-region-right)
5845 (rst-shift-region-left, rst-use-char-classes)
5846 (rst-font-lock-keywords-function)
5847 (rst-font-lock-indentation-point)
5848 (rst-font-lock-find-unindented-line-begin)
5849 (rst-font-lock-find-unindented-line-end)
5850 (rst-font-lock-find-unindented-line)
5851 (rst-font-lock-adornment-point, rst-font-lock-level)
5852 (rst-adornment-level-alist): Remove functions and variables.
5853
5854 (rst-compare-adornments, rst-get-adornment-match)
5855 (rst-suggest-new-adornment, rst-get-adornments-around)
5856 (rst-adornment-complete-p, rst-get-next-adornment)
5857 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5858 (rst-straighten-adornments): Standardize function names to
5859 use "adornment" instead of "decoration". Correct callers.
5860 Similar standardizing in many places.
5861
5862 (rst-update-section, rst-adjust, rst-promote-region)
5863 (rst-enumerate-region, rst-bullet-list-region)
5864 (rst-repeat-last-character): Correct use of `interactive'.
5865
5866 (rst-classify-adornment, rst-find-all-adornments)
5867 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5868 (rst-find-leftmost-column, rst-repeat-last-character):
5869 Refactor functions.
5870
5871 (rst-find-title-line, rst-reset-section-caches)
5872 (rst-get-adornments-around, rst-adjust-adornment-work)
5873 (rst-arabic-to-roman, rst-roman-to-arabic)
5874 (rst-insert-list-pos, rst-insert-list-new-item)
5875 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5876 New functions.
5877
5878 (rst-all-sections, rst-section-hierarchy)
5879 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5880 New variables.
5881
5882 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5883 configuration instead of only buffer. Change where necessary.
5884
5885 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5886 (rst-shift-region, rst-adaptive-fill): New functions for
5887 indentation and filling.
5888
5889 (rst-comment-line-break, rst-comment-indent)
5890 (rst-comment-insert-comment, rst-comment-region)
5891 (rst-uncomment-region): New functions for handling comments.
5892
5893 (rst-compile): Quote shell arguments.
5894
5895 (rst-compile-pdf-preview, rst-compile-slides-preview):
5896 Delete temporary files after use.
5897
a43f98b3
GM
58982012-05-05 Glenn Morris <rgm@gnu.org>
5899
48176e8b
GM
5900 * calendar/cal-html.el: Optionally include holidays in the output.
5901 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5902 (cal-html-holidays): New option.
5903 (cal-html-css-default): Add holiday entry.
5904 (holiday-in-range): Autoload it.
5905 (cal-html-htmlify-entry): Add optional class argument.
5906 (cal-html-htmlify-list): Add optional holidays argument.
5907 (cal-html-insert-agenda-days): Include holidays in the output.
5908 (cal-html-one-month): Maybe include holidays.
5909
a43f98b3
GM
5910 * calendar/holidays.el (holiday-in-range):
5911 Move here from cal-tex-list-holidays.
5912 * calendar/cal-tex.el (cal-tex-list-holidays):
5913 Make it an obsolete alias for holiday-in-range. Update all callers.
5914
fef9d149 59152012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5916
5917 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5918 Nextstep.
5919
248da2f4
RW
59202012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5921
5922 * files.el (file-auto-mode-skip): New var.
5923 (set-auto-mode-1): Use it.
5924
f95e9344
SM
59252012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5926
df96ab1e
SM
5927 * repeat.el: Use lexical-binding.
5928 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5929 (repeat-undo-count): Remove.
5930 (repeat):
5931 * progmodes/octave-mod.el (octave-abbrev-start):
5932 * progmodes/f90.el (f90-abbrev-start):
5933 * face-remap.el (text-scale-adjust):
5934 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5935
5342bb06
SM
5936 * emacs-lisp/pcase.el (pcase--let*): New function.
5937 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5938 a bit more.
5939 (pcase--split-pred): Be more clever about ruling out overlap between
5940 a predicate and some constant pattern.
5941 (pcase--q1): Use `null' instead of (eq foo nil).
5942
f95e9344
SM
5943 * subr.el (setq-local, defvar-local): New macros.
5944 (kbd): Redefine as an alias.
5945 (with-selected-window): Leave unrelated frames alone.
5946 (set-temporary-overlay-map): New function.
5947
71873e2b
SM
59482012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * subr.el (user-error): New function.
5951 * window.el (switch-to-buffer):
5952 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5953 (smerge-match-conflict):
5954 * simple.el (previous-matching-history-element)
5955 (next-matching-history-element, goto-history-element, undo-more)
5956 (undo-start):
5957 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5958 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5959 (next-file, tags-loop-scan, list-tags, complete-tag):
5960 * progmodes/compile.el (compilation-loop):
5961 * mouse.el (mouse-minibuffer-check):
5962 * man.el (Man-bgproc-sentinel, Man-goto-page):
5963 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5964 (Info-history-forward, Info-follow-reference, Info-menu)
5965 (Info-extract-menu-item, Info-extract-menu-counting)
5966 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5967 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5968 (Info-next-reference, Info-prev-reference, Info-index)
5969 (Info-index-next, Info-follow-nearest-node)
5970 (Info-copy-current-node-name):
5971 * imenu.el (imenu--make-index-alist)
5972 (imenu-default-create-index-function, imenu-add-to-menubar):
5973 * files.el (basic-save-buffer, recover-file):
5974 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5975 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5976 (checkdoc-message-text, checkdoc-defun):
5977 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5978 * cus-edit.el (customize-changed-options, customize-rogue)
5979 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5980 (custom-variable-mark-to-reset-standard)
5981 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5982 (custom-file):
5983 * completion.el (check-completion-length):
5984 * comint.el (comint-search-arg)
5985 (comint-previous-matching-input-string-position)
5986 (comint-previous-matching-input)
5987 (comint-replace-by-expanded-history-before-point, comint-send-input)
5988 (comint-copy-old-input, comint-backward-matching-input)
5989 (comint-goto-process-mark, comint-set-process-mark):
5990 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5991 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5992
8a61ee22
SM
59932012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5994
66408d1e
SM
5995 * dabbrev.el (dabbrev--ignore-case-p): New function.
5996 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5997 Use it.
5998
8a61ee22
SM
5999 * files.el (automount-dir-prefix): Mark as obsolete.
6000
3c74813a
GM
60012012-05-04 Glenn Morris <rgm@gnu.org>
6002
6003 * patcomp.el, play/bruce.el: Move to obsolete/.
6004
0bfcf5c5
PE
60052012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6006
6007 Fix minor Y10k bugs.
6008 * arc-mode.el (archive-unixdate):
6009 * autoinsert.el (auto-insert-alist):
6010 * calc/calc-forms.el (math-this-year):
6011 * emacs-lisp/copyright.el (copyright-current-year)
6012 (copyright-update-year, copyright):
6013 * tar-mode.el (tar-clip-time-string):
6014 * time.el (display-time-update):
6015 Don't assume years have 4 digits.
6016
78f3273a
CY
60172012-05-04 Chong Yidong <cyd@gnu.org>
6018
6019 * dos-w32.el (file-name-buffer-file-type-alist)
6020 (direct-print-region-use-command-dot-com):
6021 * ffap.el (ffap-menu-regexp):
6022 * find-file.el (ff-special-constructs):
6023 * follow.el (follow-debug):
6024 * forms.el (forms--debug):
6025 * iswitchb.el (iswitchb-all-frames):
6026 * ido.el (ido-all-frames):
6027 * emacs-lisp/timer.el (timer-max-repeats):
6028 * mail/feedmail.el (feedmail-mail-send-hook)
6029 (feedmail-mail-send-hook-queued):
6030 * mail/footnote.el (footnote-signature-separator):
6031 * mail/mailabbrev.el (mail-alias-separator-string)
6032 (mail-abbrev-mode-regexp):
6033 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6034 * progmodes/idlwave.el (idlwave-libinfo-file)
6035 (idlwave-default-completion-case-is-down)
6036 (idlwave-library-routines): Convert defvars to defcustoms.
6037
6038 * mail/rmail.el (rmail-decode-mime-charset):
6039 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6040 (idlwave-shell-fix-inserted-breaks)
6041 (idlwave-shell-activate-alt-keybindings)
6042 (idlwave-shell-use-breakpoint-glyph):
6043 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6044
f7ae6719
SM
60452012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6048
47086495
WS
60492012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6050
6051 * progmodes/verilog-mode.el (font-lock-keywords):
6052 Fix mis-highligting auto. Reported by Craig Barner.
6053 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6054 defines from global name space. Reported by Dan Dever.
6055 (verilog-auto-reset, verilog-auto-reset-widths)
6056 (verilog-auto-tieoff): Support using unbased numbers for
6057 AUTORESET and AUTOTIEOFF.
6058 (verilog-submit-bug-report): Update variable list.
6059 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6060 parenthesis from not matching. Reported by Michael Rytting.
6061 (verilog-auto-template-lint): Fix hash error when linting modules
6062 with no used templates.
6063 (verilog-warn, verilog-warn-error)
6064 (verilog-warn-fatal): When non-interactive report multiple
6065 warnings before exiting. Suggested by Brad Dobbie.
6066 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6067 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6068 to report unused template errors. Reported by Brad Dobbie.
6069 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6070 nets, bug438. Reported by Vns Blore.
6071 (verilog-auto-inout-module, verilog-auto-reg)
6072 (verilog-read-decls, verilog-read-sub-decls-sig)
6073 (verilog-signals-edit-wire-reg, verilog-signals-with):
6074 Fix passing of Verilog data types in ANSI input/output ports
6075 such as "output logic" into the AUTOs. Special case "wire" and
6076 "reg" for backwards compatibility presuming Verilog 2001.
6077 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6078 (verilog-preprocess): Fix replication of preprocess output.
6079 Reported by Brad Dobbie.
6080 (verilog-auto-inst-interfaced-ports):
6081 Create verilog-auto-inst-interfaced-ports, bug429.
6082 Reported by Julian Gorfajn.
6083 (verilog-after-save-font-hook)
6084 (verilog-before-save-font-hook): New variable.
6085 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6086 (verilog-save-font-mods): Wrap disabling fontification, reported
6087 by David Rogoff.
6088 (verilog-do-indent, verilog-pretty-declarations-auto)
6089 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6090 Reported by Pierre-David Pfister.
6091 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6092 of class declarations, bug292. Reported by Kevin Heilman.
6093 (verilog-read-decls): Fix 'parameter type' not appearing in
6094 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6095 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6096 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6097 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6098 Reported by David Kravitz.
6099
61002012-05-03 Michael McNamara <mac@mail.brushroad.com>
6101
6102 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6103 assignment with tests in ifs and for loops.
6104 (verilog-extended-complete-re, verilog-complete-reg): Change so
6105 that DPI inport functions don't look like fuction declarations.
6106 (verilog-pretty-expr): Don't line up assignment
6107 operations to the test and increment in if and for loops
6108 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6109 that DPI inport functions don't look like fuction declarations.
47086495 6110
2e51d4b5
KH
61112012-05-03 Kenichi Handa <handa@m17n.org>
6112
6113 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6114 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6115 (Bug#11282).
6116
2bd785a2
SM
61172012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * emacs-lisp/bytecomp.el
6120 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6121 since cconv.el might have introduced :fun-body, internal-make-closure,
6122 and friends for bytecomp to handle (bug#11391).
6123 * custom.el (defcustom): Avoid ((λ ..) ..).
6124
99d27583
SM
61252012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6128
55a71479
JB
61292012-05-02 Juanma Barranquero <lekktu@gmail.com>
6130
6131 * notifications.el (dbus-debug):
6132 * term/linux.el (gpm-mouse-enable):
6133 * term/screen.el (xterm-register-default-colors): Declare.
6134
7b97c764
CY
61352012-05-02 Chong Yidong <cyd@gnu.org>
6136
2bc356d7
CY
6137 * cus-start.el (gc-cons-percentage, exec-suffixes)
6138 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6139 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6140 (make-cursor-line-fully-visible, void-text-area-pointer)
6141 (font-list-limit): Add customization data.
6142
7b97c764
CY
6143 * allout.el (allout-exposure-change-functions)
6144 (allout-structure-added-functions)
6145 (allout-structure-deleted-functions)
6146 (allout-structure-shifted-functions): Rename abnormal hooks from
6147 *-hook, and convert to defcustoms.
5d3385a0
JB
6148 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6149 Convert to defcustoms.
7b97c764
CY
6150 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6151
6152 * allout-widgets.el: Hook callers changed.
6153
90207a15 61542012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6155
6156 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6157 the yanked message in preference to the default value of
6158 buffer-file-coding-system.
6159
90207a15 61602012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6161
5d3385a0
JB
6162 * window.el (display-buffer--action-function-custom-type):
6163 Fix entry.
d9558cad 6164
90207a15 61652012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6166
6167 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6168
d80ac57b
GM
61692012-05-01 Glenn Morris <rgm@gnu.org>
6170
976f7668
GM
6171 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6172
beb83b5a
GM
6173 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6174
d80ac57b
GM
6175 * cus-edit.el (custom-variable-documentation): Simplify with format.
6176
b593d6a9 61772012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6178 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6179
6180 * simple.el (suggest-key-bindings, execute-extended-command):
6181 Move from keyboard.c.
6182
782fbf2a
CY
61832012-05-01 Chong Yidong <cyd@gnu.org>
6184
6185 * follow.el: Eliminate advice.
6186 (set-process-filter, process-filter, sit-for): Advice deleted.
6187 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6188 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6189 Vars deleted.
782fbf2a
CY
6190 (follow-auto): Use a :set function.
6191 (follow-mode): Rewritten. Don't advise process filters.
6192 (follow-switch-to-current-buffer-all, follow-scroll-up)
6193 (follow-scroll-down): Assume follow-mode is bound.
6194 (follow-comint-scroll-to-bottom)
6195 (follow-align-compilation-windows): New functions.
6196 (follow--window-sorter): New function.
6197 (follow-all-followers): Use it to explicitly sort windows by their
6198 positions; don't make assumptions about next-window order.
6199 (follow-windows-start-end, follow-delete-other-windows-and-split)
6200 (follow-calc-win-start): Doc fix.
6201 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6202 vertical-motion unnecessarily.
6203 (follow-adjust-window): New function.
6204 (follow-post-command-hook): Use it.
6205 (follow-call-set-process-filter, follow-call-process-filter)
6206 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6207 (follow-stop-intercept-process-output, follow-generic-filter):
6208 Functions deleted.
6209 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6210 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6211 New functions, replacing advice on scroll-bar-* commands.
87233a14 6212 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6213
6214 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6215 (comint-postoutput-scroll-to-bottom): Use it.
6216 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6217
290af740
GM
62182012-05-01 Glenn Morris <rgm@gnu.org>
6219
6220 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6221 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6222 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6223 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6224 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6225 Remove no-byte-compile setting.
6226
6eac8dc9
SM
62272012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6230 all-completions code to not return a number in the last cdr.
6231
9cc7819c
LL
62322012-04-30 Leo Liu <sdl.web@gmail.com>
6233
6234 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6235 read-only error.
6236
c93b886f
CY
62372012-04-29 Chong Yidong <cyd@gnu.org>
6238
6239 * follow.el (follow-calc-win-end): Rewrite to handle partial
6240 screen lines correctly (Bug#8390).
6241 (follow-avoid-tail-recenter): Minor cleanup.
6242
8b6c19f4
SM
62432012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 Avoid the obsolete `assoc' package.
6246 * speedbar.el (speedbar-refresh): Avoid adelete.
6247 (speedbar-file-lists): Simplify and avoid aput.
6248 * man.el (Man--sections, Man--refpages): New vars, replacing
6249 Man-sections-alist and Man-refpages-alist.
6250 (Man-build-section-alist, Man-build-references-alist):
6251 Use them; avoid aput.
6252 (Man--last-section, Man--last-refpage): New vars.
6253 (Man-follow-manual-reference): Use them.
6254 Use the `default' arg of completing-read.
6255 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6256
c5bb7569
CY
62572012-04-27 Chong Yidong <cyd@gnu.org>
6258
d1d2e2e8
CY
6259 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6260
15cd8efd
CY
6261 * startup.el (x-apply-session-resources): New function.
6262
6263 * term/ns-win.el (ns-initialize-window-system):
6264 * term/w32-win.el (w32-initialize-window-system):
6265 * term/x-win.el (x-initialize-window-system): Use it to properly
6266 set menu-bar-mode and other vars from X resources, even if the
6267 initial frame is not a window-system frame (Bug#2299).
6268
c5bb7569
CY
6269 * subr.el (read-key): Avoid running filter function when setting
6270 up temporary tool bar entries (Bug#9922).
6271
a8e7d6d7 62722012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6273
6274 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6275 (Bug#11344)
6276
a8e7d6d7 62772012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6278
6279 * select.el (xselect--encode-string): New function, split from
6280 xselect-convert-to-string.
6281 (xselect-convert-to-string): Use it.
6282 (xselect-convert-to-filename, xselect-convert-to-os)
6283 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6284 returned strings are properly encoded (Bug#11315).
6285
a8e7d6d7 62862012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6287
6288 * simple.el (delete-active-region): Move to killing custom group.
6289
a8e7d6d7 62902012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6291
6292 * progmodes/which-func.el (which-func-current): Quote %
6293 characters for mode-line processing.
6294
578c1d4b 62952012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6296
6297 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6298 reaching eob (Bug#11286).
6299
a8e7d6d7 63002012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6301
6302 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6303 (gdb): Make it buffer-local and init to zero.
6304 (gdb-control-commands-regexp): New variable.
6305 (gdb-send): Don't wrap in "-interpreter-exec console" if
6306 gdb-control-level is positive. Increment gdb-control-level
6307 whenever the command matches gdb-control-commands-regexp, and
6308 decrement it each time the command is "end". (Bug#11279)
6309
a8e7d6d7 63102012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6311
6312 * window.el (adjust-window-trailing-edge, enlarge-window)
6313 (shrink-window, window-resize):
6314 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6315 windows (Bug#11276).
6316
b3608390
CY
63172012-04-27 Chong Yidong <cyd@gnu.org>
6318
6319 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6320 fix "missing prefix" warning. All callers changed.
b3608390 6321
797e6e88
SM
63222012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/assoc.el: Move to obsolete/.
6325
e95a67dc
SM
63262012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6327
657c21e4 6328 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6329
6330 * term/ns-win.el (ns-define-service):
6331 * progmodes/pascal.el (pascal-goto-defun):
6332 * progmodes/js.el (js--read-tab):
6333 * progmodes/etags.el (tags-lazy-completion-table):
6334 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6335 * emacs-lisp/ewoc.el (ewoc--wrap):
6336 * emacs-lisp/assoc.el (aput, adelete, amake):
6337 * doc-view.el (doc-view-convert-current-doc):
6338 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6339
cb3e7ae0
CY
63402012-04-26 Chong Yidong <cyd@gnu.org>
6341
dce04f7f
CY
6342 * image.el (image-type-from-buffer): Only return supported image
6343 type (Bug#9045).
6344
cb3e7ae0
CY
6345 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6346 value, for symmetry with diff-end-of-hunk.
6347 (diff-split-hunk, diff-find-source-location)
6348 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6349 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6350 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6351 compute the relevant hunk or file properly (Bug#6005).
6352 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6353
0d42eb3e
SM
63542012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * vc/vc-mtn.el:
6357 * vc/vc-hg.el:
6358 * vc/vc-git.el:
6359 * vc/vc-dir.el:
6360 * vc/vc-cvs.el:
6361 * vc/vc-bzr.el:
6362 * vc/vc-arch.el:
6363 * vc/vc.el: Replace lexical-let by lexical-binding.
6364 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6365 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6366 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6367
f08ae1c9
CY
63682012-04-26 Chong Yidong <cyd@gnu.org>
6369
8b71081d
CY
6370 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6371 (diff-mode-shared-map): Bind it to / and [remap undo].
6372
f08ae1c9
CY
6373 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6374 (ediff-window-setup-function): Use it as the default, to set up
6375 windows based on whether the current frame is graphical (Bug#2138).
6376 (ediff-choose-window-setup-function-automatically): Make obsolete.
6377
6378 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6379
ef24141c
SM
63802012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6381
cc356a5d
SM
6382 * ffap.el: Remove old code for obsolete package.
6383 (ffap-complete-as-file-p): Remove.
6384
b4ff4f1f
SM
6385 Use completion-table-with-quoting for comint and pcomplete.
6386 * comint.el (comint--unquote&requote-argument)
6387 (comint--unquote-argument, comint--requote-argument): New functions.
6388 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6389 (comint-quote-filename): Use regexp-opt-charset.
6390 (comint--common-suffix, comint--common-quoted-suffix)
6391 (comint--table-subvert): Remove.
6392 (comint-unquote-function, comint-requote-function): New vars.
6393 (comint--complete-file-name-data): Use them with
6394 completion-table-with-quoting.
6395 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6396 * pcomplete.el (pcomplete-arg-quote-list)
6397 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6398 (pcomplete-unquote-argument-function): Default to non-nil.
6399 (pcomplete-unquote-argument): Simplify.
6400 (pcomplete--common-quoted-suffix): Remove.
6401 (pcomplete-requote-argument-function): New var.
6402 (pcomplete--common-suffix): New function.
6403 (pcomplete-completions-at-point): Use completion-table-with-quoting
6404 and completion-table-subvert.
6405
79c4eeb4
SM
6406 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6407 (minibuffer--double-dollars): Preserve properties.
6408 (completion--sifn-requote): New function.
6409 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6410
ef24141c
SM
6411 * minibuffer.el: Add support for completion of quoted/escaped data.
6412 (completion-table-with-quoting, completion-table-subvert): New funs.
6413 (completion--twq-try, completion--twq-all): New functions.
6414 (completion--nth-completion): New function.
6415 (completion-try-completion, completion-all-completions): Use it.
6416
784e7d6e
LL
64172012-04-25 Leo Liu <sdl.web@gmail.com>
6418
dd2ac746
SM
6419 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6420 Use compilation-message if available to find real filename.
784e7d6e 6421
07875ee7
CY
64222012-04-25 Chong Yidong <cyd@gnu.org>
6423
6424 * vc/diff-mode.el (diff-setup-whitespace): New function.
6425 (diff-mode): Use it.
6426
6427 * vc/diff.el (diff-sentinel):
6428 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6429 Whitespace mode variables based on diff style (Bug#8612).
6430
5055880d
LL
64312012-04-25 Leo Liu <sdl.web@gmail.com>
6432
daf75653
LL
6433 * progmodes/python.el (python-send-region): Add suffix .py to the
6434 temp file.
6435
5055880d
LL
6436 * files.el (auto-mode-alist): Use javascript-mode instead.
6437
db9b177b
AH
64382012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6439
ef24141c 6440 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6441
090bd7cb 6442 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6443 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6444 references, see Bug#9.
ef24141c 6445 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6446 when receiving a fault reply.
ef24141c 6447 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6448
090bd7cb 6449 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6450 (soap-inspect-simple-type): New function.
db9b177b 6451
090bd7cb 6452 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6453 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6454 (soap-decode-basic-type, soap-encode-basic-type):
6455 support unsignedInt and double basic types.
db9b177b 6456 (soap-resolve-references-for-simple-type)
ef24141c
SM
6457 (soap-parse-simple-type, soap-encode-simple-type): New function.
6458 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6459
090bd7cb 6460 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6461 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6462 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6463 the local name of "soapenc:Array".
6464 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6465 decoding integer, byte and anyURI xsd types.
6466
1fc6097b
CY
64672012-04-25 Chong Yidong <cyd@gnu.org>
6468
6469 * cus-edit.el (custom-buffer-create-internal): Update header text.
6470
afc6df87
EZ
64712012-04-25 Eli Zaretskii <eliz@gnu.org>
6472
6473 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6474 settings on 'system-type', not on 'window-system'. On MS-Windows,
6475 set interactive-mode on in GDB.
6476
dfbd787f
SM
64772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6480 (ruby-syntax-propertize-regexp): Remove.
6481 (ruby-syntax-propertize-function): Split regexp into chunks.
6482 Match following code directly.
6483
85222d44
DG
64842012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6485
51a8ea2a
DG
6486 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6487 (ruby-syntax-propertize-regexp): New function.
6488 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6489 by a special keyword.
6490
85222d44
DG
6491 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6492 (ruby-syntax-general-delimiters-goto-beg)
6493 (ruby-syntax-propertize-general-delimiters): New functions.
6494 (ruby-syntax-propertize-function): Use them to handle GDL.
6495 (ruby-font-lock-keywords): Move old handling of GDL...
6496 (ruby-font-lock-syntactic-keywords): .. to here.
6497 (ruby-calculate-indent): Adjust indentation for GDL.
6498
b613912b
MA
64992012-04-24 Michael Albinus <michael.albinus@gmx.de>
6500
b5380639
MA
6501 * notifications.el (top): Remove unneeded declarations.
6502 (notifications-specification-version): Change to "1.2".
e43042fe 6503 (notifications-interface, notifications-notify-method)
b613912b
MA
6504 (notifications-close-notification-method): Fix docstring.
6505 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6506 (notifications-notify): Add :action-items, :resident and
6507 :transient hints. Change "image_data" to "image-data" and
6508 "image_path" to "image-path".
b613912b
MA
6509 (notifications-get-capabilities): New defun.
6510
257440aa
LL
65112012-04-24 Leo Liu <sdl.web@gmail.com>
6512
6513 * progmodes/python.el: Move hideshow setup to the end.
6514
b1bac16e
MR
65152012-04-24 Martin Rudalics <rudalics@gmx.at>
6516
6517 * window.el (handle-select-window): Clear echo area since this is
6518 no more done by read_char (Bug#11304).
6519
d81bd059
SM
65202012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6523 and `/ M' to filter-derived-mode.
6524 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6525 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6526 (ibuffer-mark-by-mode): Use default rather than initial-input.
6527 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6528
c4cf6d91
IA
65292012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6530
6531 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6532 (ibuffer-filter-by-derived-mode): New filter.
6533 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6534
7511ded8
CY
65352012-04-23 Andreas Politz <politza@fh-trier.de>
6536
6537 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6538
775c916b
CY
65392012-04-23 Chong Yidong <cyd@gnu.org>
6540
6541 * cus-edit.el (customize-apropos, customize-apropos-options):
6542 Disable matching of non-option variables (Bug#11176).
6543 (customize-option, customize-option-other-window)
6544 (customize-changed-options): Doc fix.
6545 (customize-apropos-options, customize-apropos-faces)
6546 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6547
6548 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6549 Fix word list splitting (Bug#11132).
46c71e23
CY
6550 (apropos-symbol, apropos-keybinding, apropos-label)
6551 (apropos-property, apropos-function-button)
6552 (apropos-variable-button, apropos-misc-button): New faces.
6553 (apropos-symbol-face, apropos-keybinding-face)
6554 (apropos-label-face, apropos-property-face, apropos-match-face):
6555 Variables removed (Bug#8396).
6556 (apropos-library-button, apropos-format-plist, apropos-print)
6557 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6558
2df41f9c
MA
65592012-04-23 Michael Albinus <michael.albinus@gmx.de>
6560
6561 * net/xesam.el (xesam-mode-map): Use let-bound map in
6562 initialization. (Bug#11292)
6563
da00640a
AM
65642012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6565
6566 Preserve ispell session localwords when switching back to
6567 original buffer.
6568
090bd7cb
JB
6569 * textmodes/ispell.el (ispell-buffer-session-localwords):
6570 New buffer-local variable to hold buffer session localwords.
ed9265fc 6571 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6572 localwords.
6573 (ispell-command-loop, ispell-change-dictionary)
6574 (ispell-buffer-local-words): Preserve session localwords when
6575 needed.
6576
090bd7cb
JB
6577 * textmodes/flyspell.el (flyspell-process-localwords)
6578 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6579
f621ccf5
AM
65802012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6581
090bd7cb
JB
6582 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6583 using obsolete `translation-table-for-input'.
ef24141c
SM
6584 (ispell-word, ispell-process-line, ispell-complete-word):
6585 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6586
c2d1019e
CY
65872012-04-22 Chong Yidong <cyd@gnu.org>
6588
6589 * cus-edit.el (custom-variable-menu)
6590 (custom-variable-reset-saved, custom-face-menu)
6591 (custom-face-reset-saved): If there is no saved value, make the
6592 "reset-saved" operation bring back the default (Bug#9509).
6593 (custom-face-state): Properly detect themed faces.
6594
eeddc531
CY
6595 * faces.el (face-spec-set): Stop supporting deprecated form of
6596 third arg.
6597
dcbf5805
MA
65982012-04-22 Michael Albinus <michael.albinus@gmx.de>
6599
6600 Move functions from C to Lisp. Make non-blocking method calls
6601 the default. Implement further D-Bus standard interfaces.
6602
ef24141c
SM
6603 * net/dbus.el (dbus-message-internal): Declare function.
6604 Remove unneeded function declarations.
dcbf5805
MA
6605 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6606 (dbus-message-type-method-return, dbus-message-type-error)
6607 (dbus-message-type-signal): Declare variables. Remove local
6608 definitions.
6609 (dbus-interface-dbus, dbus-interface-peer)
6610 (dbus-interface-introspectable, dbus-interface-properties)
6611 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6612 Adapt docstring.
6613 (dbus-interface-objectmanager): New defconst.
6614 (dbus-call-method, dbus-call-method-asynchronously)
6615 (dbus-send-signal, dbus-method-return-internal)
6616 (dbus-method-error-internal, dbus-register-service)
6617 (dbus-register-signal, dbus-register-method): New defuns, moved
6618 from dbusbind.c
6619 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6620 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6621 New defuns.
dcbf5805
MA
6622 (dbus-call-method-non-blocking): Make it an obsolete function.
6623 (dbus-unregister-object, dbus-unregister-service)
6624 (dbus-handle-event, dbus-register-property)
6625 (dbus-property-handler): Obey the new structure of
6626 `bus-registered-objects'.
6627 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6628 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6629 Use `dbus-call-method'.
6630
cf20dee0
CY
66312012-04-22 Chong Yidong <cyd@gnu.org>
6632
6633 * cus-edit.el (custom-commands, custom-reset-menu)
6634 (Custom-reset-standard): Tweak labels.
6635 (custom-reset-button-menu): Change default to t.
6636 (custom-buffer-create-internal): For the custom-reset-button-menu
6637 case, put the revert button first.
6638 (custom-group-subtitle): New face.
6639 (custom-group-value-create): Align docstring to a specific column.
6640
6641 * wid-edit.el (widget-documentation-link-add): Don't handle
6642 indentation in this function.
6643 (widget-documentation-string-indent-to): New function.
6644 (widget-documentation-string-value-create): Use it.
6645
6646 * autorevert.el (auto-revert):
6647 * epg-config.el (epg):
6648 * ibuffer.el (ibuffer):
6649 * mpc.el (mpc):
6650 * ses.el (ses):
6651 * eshell/eshell.el (eshell):
6652 * net/ange-ftp.el (ange-ftp):
6653 * progmodes/ebnf2ps.el (postscript):
6654 * progmodes/flymake.el (flymake):
6655 * progmodes/prolog.el (prolog):
6656 * progmodes/verilog-mode.el (verilog-mode):
6657 * progmodes/which-func.el (which-func):
6658 * term/xterm.el (xterm):
6659 * textmodes/picture.el (picture):
6660 * textmodes/tildify.el (tildify):
6661 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6662 customization buffers.
6663
583e23bd
AM
66642012-04-22 Alan Mackenzie <acm@muc.de>
6665
6666 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6667 Adding a ) can hide the resulting (..) from searches. Fix it.
6668 Bound the backward search to the position of the existing (.
6669
7dd51bf1
JB
66702012-04-21 Juanma Barranquero <lekktu@gmail.com>
6671
6672 * progmodes/verilog-mode.el (verilog-mode): Check whether
6673 which-func-modes is t before adding verilog-mode.
6674 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6675
d64a438f
LL
66762012-04-21 Leo Liu <sdl.web@gmail.com>
6677
7dd51bf1 6678 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6679
081e8d65
MV
66802012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6681
6682 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6683 filling of the last column of a table (Bug#5635).
6684 (woman-find-next-control-line): New arg, specifying an additional
6685 regexp component for the control line.
6686 (woman2-roff-buffer): Use it.
6687 (woman-break-table): New function.
6688 (woman2-TS): Use it.
6689
66902012-04-21 Chong Yidong <cyd@gnu.org>
6691
6692 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6693 (woman-horizontal-escapes, woman-negative-vertical-space)
6694 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6695 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6696
ed571ccb
SM
66972012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * minibuffer.el (completion-file-name-table): Complete user names.
6700
39773899
LL
67012012-04-20 Leo Liu <sdl.web@gmail.com>
6702
6703 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6704 and pcase-let*.
6705
de6ff46d
CY
67062012-04-20 Chong Yidong <cyd@gnu.org>
6707
6708 * server.el (server-execute): Respect initial-buffer-choice if it
6709 is a string and there are no files to open (Bug#2825).
6710 (server-create-window-system-frame, server-create-tty-frame):
6711 Don't switch buffers here.
2d0e8e61
CY
6712 (server-process-filter): Only try to open a window system frame if
6713 compiled with graphical support (Bug#8314).
de6ff46d 6714
54071013
DN
67152012-04-20 Dan Nicolaescu <dann@gnu.org>
6716
6717 * battery.el (battery-echo-area-format): Display remaining time
6718 for sysfs backend too (Bug#11269).
6719 (battery-linux-sysfs): Fix conditional for the charge.
6720
f30d612a
CY
67212012-04-20 Chong Yidong <cyd@gnu.org>
6722
c07a4c0b 6723 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6724 (gdb-inferior-io--init-proc): New function.
6725 (gdb-init-1): Use it.
6726 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6727 responsible for allocating a new pty and hooking it to gdb when
6728 the old pty gets an EIO due to process exit.
6729 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6730 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6731 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6732
2116e93c
EZ
67332012-04-20 Eli Zaretskii <eliz@gnu.org>
6734
6735 * window.el (window-min-size, window-sizable, window-min-delta)
6736 (window-max-delta, window--resizable, window-resizable)
6737 (window-total-size, window-full-height-p, window-full-width-p)
6738 (window-in-direction, window--resize-mini-window, window-resize)
6739 (window--resize-child-windows-normal)
6740 (window--resize-child-windows, window--resize-siblings)
6741 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6742 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6743
c07a4c0b 67442012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6745
ef24141c
SM
6746 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6747 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6748 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6749 pty process (Bug#11273).
6750 (gdb-update): New arg to suppress talking to the gdb process.
6751 (gdb-done-or-error): Use it.
6752 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6753 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6754 sentinel not being called.
6755
6756 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6757
d02766ab
CY
6758 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6759
c07a4c0b 67602012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6761
6762 * net/network-stream.el (open-network-stream): Doc fix.
6763
c07a4c0b 67642012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6765
6766 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6767
c07a4c0b 67682012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6769
6770 Ensure searching for keywords is case sensitive.
6771
6772 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6773 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6774 (c-defun-name, c-mark-function, c-cpp-define-name)
6775 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6776 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6777
ef24141c
SM
6778 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6779 Bind case-fold-search to nil.
f0f6bc35 6780
c07a4c0b 67812012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6782
6783 * mail/sendmail.el (mail-bury): Call return action with the right
6784 Rmail buffer (Bug#11242).
6785
9a864fa2
CY
6786 * server.el (server-process-filter): Handle corner case where both
6787 tty and nowait options are present (Bug#11102).
6788
539aa513
EZ
67892012-04-20 Eli Zaretskii <eliz@gnu.org>
6790
6791 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6792 (top level): Put into the executable the ident-style '$Id:' tag on
6793 windows-nt as well.
539aa513 6794
cfc7d5da
SM
67952012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * electric.el (electric-indent-post-self-insert-function): Check that
6798 electric-indent-mode is enabled in current buffer.
6799
5b01685c
JB
68002012-04-19 Juanma Barranquero <lekktu@gmail.com>
6801
6802 * imenu.el (imenu-progress-message): Restore; it is "used" in
6803 erc/erc-imenu.el and net/snmp-mode.el.
6804
4d6769e1
JB
68052012-04-19 Juanma Barranquero <lekktu@gmail.com>
6806
6807 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6808 (mouse-avoidance-nudge-mouse): Remove unused binding.
6809
6810 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6811
6812 * descr-text.el (describe-char):
6813 * progmodes/python.el (python-describe-symbol):
6814 Don't call `toggle-read-only', set `buffer-read-only'.
6815
6816 * imenu.el (imenu-default-goto-function): Mark unused args.
6817 (imenu-progress-message): Remove obsolete macro; all callers changed.
6818
6819 * subr.el (keymap-canonicalize): Remove unused binding.
6820 (read-passwd): Mark unused arg.
6821
6822 * tutorial.el (tutorial--display-changes): Remove unused binding.
6823 (tutorial--save-tutorial-to): Remove unused variable.
6824
6825 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6826 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6827 (package-generate-autoloads, package-menu--generate)
6828 (package-menu--find-upgrades): Remove unused bindings.
6829
6830 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6831 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6832 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6833 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6834 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6835 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6836 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6837 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6838 (cua-delete-char-rectangle): Mark unused args.
6839 (cua-align-rectangle): Remove unused binding.
6840
6841 * mail/rmail.el (compilation--message->loc)
6842 (epa--find-coding-system-for-mime-charset): Declare.
6843
6844 * net/dbus.el (dbus-register-service): Declare.
6845 (dbus-name-owner-changed-handler): Remove unused binding.
6846
6847 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6848 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6849 (nxml-scan-backward-within): Mark unused arg.
6850 (nxml-dynamic-markup-word): Remove unused binding.
6851
6852 * mouse.el (mouse-menu-major-mode-map):
6853 * emacs-lisp/authors.el (authors-scan-change-log)
6854 (authors-add-to-author-list):
6855 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6856 * emacs-lisp/smie.el (smie-auto-fill):
6857 * mail/sendmail.el (mail-bury):
6858 * mail/unrmail.el (unrmail):
6859 * net/tls.el (open-tls-stream):
6860 * textmodes/picture.el (picture-mouse-set-point):
6861 Remove unused bindings.
6862
8c8fc5df
MA
68632012-04-19 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * net/tramp.el (tramp-action-password): Let-bind
6866 `enable-recursive-minibuffers' to t.
6867
a77b0ac9
SS
68682012-04-18 Sam Steingold <sds@gnu.org>
6869
6870 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6871 instead of 'string to accommodate values like [f11].
6872 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6873 * progmodes/gdb-mi.el: Likewise.
6874
12a106a9
LL
68752012-04-18 Leo Liu <sdl.web@gmail.com>
6876
6877 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6878 current buffer.
6879 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6880 LOCAL is nil.
6881
bc6494ef
CY
68822012-04-18 Chong Yidong <cyd@gnu.org>
6883
6884 * simple.el (line-move): Use forward-line if in batch mode
6885 (Bug#11053).
6886
c09c46b2
CS
68872012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6888
6889 * files.el (after-find-file): Do not try to add a final newline if
6890 the buffer is read-only (Bug#11156).
6891
5f6530ea
RS
68922012-04-17 Richard Stallman <rms@gnu.org>
6893
6894 * mail/rmail.el (rmail-start-mail):
6895 Pass (rmail-mail-return...) for the return-action.
6896 Pass (rmail-yank-current-message...) for the yank-action.
6897 (rmail-yank-current-message): New function.
6898 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6899 (rmail-reply): Likewise.
6900 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6901
6902 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6903 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6904 buffer, not newbuf.
6905
197b6f3c
JB
69062012-04-17 Juanma Barranquero <lekktu@gmail.com>
6907
6908 * server.el (server-ensure-safe-dir): Simplify.
6909
2311d8e5 69102012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6911
2311d8e5
GM
6912 * emacs-lisp/smie.el: Provide smarter auto-filling.
6913 (smie-auto-fill): New function.
6914 (smie-setup): Use it.
98fb480e 6915
2311d8e5
GM
6916 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6917
69182012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6919
6920 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6921 (comment-indent): Use it.
6922
2311d8e5 69232012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6924
6925 * ses.el: The overall change is to add cell renaming, that is
6926 setting fancy names for cell symbols other than name matching
6927 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6928 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6929 (ses-create-cell-variable): New defun.
2311d8e5 6930 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6931 (ses-relocate-formula): Relocate formulas only for cells the
6932 symbols of which are not renamed, i.e. symbols whose names do not
6933 match regexp "\\`[A-Z]+[0-9]+\\'".
6934 (ses-relocate-all): Relocate values only for cells the symbols of
6935 which are not renamed.
6936 (ses-load): Create cells variables as the (ses-cell ...) are read,
6937 in order to check row col consistency with cell symbol name only
6938 for cells that are not renamed.
6939 (ses-replace-name-in-formula): New defun.
6940 (ses-rename-cell): New defun.
4bdf2ad2 6941
fc72b15c
PO
69422012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6943
6944 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6945 New option (bug#11118).
6946 (perl-calculate-indent): Respect it.
6947
12e10e61
GM
69482012-04-17 Glenn Morris <rgm@gnu.org>
6949
6950 * dired-aux.el (dired-mark-read-string): Doc fix.
6951
30009afd
DA
69522012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6953
6954 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6955 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6956
41f03f4d
GM
69572012-04-17 Glenn Morris <rgm@gnu.org>
6958
6959 * mouse.el (mouse-drag-track):
6960 * speedbar.el (speedbar-frame-mode):
6961 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6962
f45f90f3
LL
69632012-04-16 Leo Liu <sdl.web@gmail.com>
6964
6965 * progmodes/python.el: Trivial cleanup.
6966
94ee8db5
GM
69672012-04-16 Glenn Morris <rgm@gnu.org>
6968
121b8917
GM
6969 * vc/vc.el (vc-string-prefix-p):
6970 * vc/pcvs-util.el (cvs-string-prefix-p):
6971 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6972 * mpc.el (mpc-string-prefix-p):
6973 Make all of these into obsolete aliases for string-prefix-p.
6974 Update callers.
6975 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6976
1197ecfa
GM
6977 * textmodes/two-column.el: Move custom options to the start.
6978 (frame-width): Remove compat definition.
6979 (2C-associate-buffer, 2C-dissociate):
6980 Use with-current-buffer rather than save-excursion.
6981 (2C-dissociate): Force a mode-line update.
6982 (2C-autoscroll): Use ignore-errors.
6983
099e7202
GM
6984 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6985 Autoload trivia.
6986
bf350d6a
GM
6987 * emacs-lisp/cl-extra.el (*random-state*):
6988 Remove unnecessary declaration.
6989
0e829eab
GM
6990 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6991
e3ad7552
GM
6992 * play/cookie1.el (cookie-snarf):
6993 Give an explicit error if input file cannot be read.
6994
68892d27
GM
6995 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6996
20f0c46d
GM
6997 * progmodes/perl-mode.el (c-macro-expand):
6998 Remove unnecessary autoload (it is in loaddefs.el).
6999
5a0978ce
GM
7000 * textmodes/picture.el (picture-desired-column)
7001 (picture-update-desired-column): Convert comments to doc-strings.
7002 (picture-substitute): Remove function.
7003 (picture-mode-map): Initialize in the defvar.
7004
6b955486
GM
7005 * woman.el: Remove eval-after-load for tar-mode.
7006 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7007 (woman-tar-extract-file): Autoload it.
7008
94ee8db5
GM
7009 * frame.el (automatic-hscrolling): Make this alias obsolete.
7010
177eca34
AM
70112012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7012
090bd7cb 7013 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7014 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7015 (ispell-dictionary-base-alist): Revert to original XEmacs
7016 friendly version for default. [:alpha:] will be added in
090bd7cb 7017 `ispell-set-spellchecker-params' if needed.
177eca34 7018
c505aaeb
CY
70192012-04-16 Chong Yidong <cyd@gnu.org>
7020
b19dd9d1 7021 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7022 (imagemagick-register-types): Use it.
7023 (imagemagick-types-inhibit): Add :set function. Allow new value
7024 of t to inhibit all types.
7025
7026 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7027 so we can preload it.
7028
7029 * loadup.el (fboundp): Preload regexp-opt, needed by
7030 imagemagick-register-types.
7031
60efac0f
CY
70322012-04-15 Chong Yidong <cyd@gnu.org>
7033
7034 * frame.el (scrolling): Remove nearly unused customization group.
7035
7036 * scroll-all.el (scroll-all-mode): Move to windows group.
7037
5dd1713e
CY
70382012-04-15 Chong Yidong <cyd@gnu.org>
7039
7040 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7041
e6fd457e
CY
70422012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7045 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7046
e153c136
GM
70472012-04-15 Glenn Morris <rgm@gnu.org>
7048
7049 * simple.el (process-file-side-effects): Doc fix.
7050
e6fd457e 70512012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7052
7053 * international/mule-cmds.el (set-language-environment): Doc fix.
7054
3603c3b1
JB
70552012-04-14 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * server.el (server-auth-key, server-generate-key): Doc fixes.
7058 (server-get-auth-key): Doc fix. Use `string-match-p'.
7059 (server-start): Reflow docstring.
7060
e6de100c
LI
70612012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7062
7063 * server.el (server-generate-key): `called-interactively-p'
7064 requires a parameter.
7065
29734c21
MN
70662012-04-14 Michal Nazarewicz <mina86@mina86.com>
7067
7068 * server.el (server-auth-key): New variable.
75f1671a 7069 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7070 (server-start): Use the new variable and functions to allow
7071 setting a permanent server key (bug#9423).
7072
d65c9521
LL
70732012-04-14 Leo Liu <sdl.web@gmail.com>
7074
7075 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7076
5ae255c7
PE
70772012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 Spelling fixes.
7080 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7081 Emacs uses American spelling.
7082
d5e6342e
JB
70832012-04-14 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7086 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7087 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7088 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7089
ab036cd7
SM
70902012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * progmodes/which-func.el (which-func-modes): Change default.
7093
35dc09a1 70942012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7095
7096 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7097 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7098
35dc09a1 70992012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7100
7101 * custom.el (custom-theme-set-variables): Doc fix.
7102
35dc09a1 71032012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7104
7105 * international/mule.el (set-auto-coding-for-load): Doc fix.
7106
35dc09a1 71072012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7108
35dc09a1
GM
7109 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7110 imenu work again for Objective C Mode. Correct the *-index values,
7111 these having been disturbed by a previous change in 2011-08.
57f845ee 7112
0de3da9f
AM
7113 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7114 Correct two search limits.
7115
35dc09a1 71162012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7117
7118 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7119
35dc09a1 71202012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7121
7122 * international/characters.el: Fix sorting.
7123
35dc09a1 71242012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7125
7126 * international/characters.el: Add more missing Latin case pairs.
7127
35dc09a1 71282012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7129
7130 * files.el (dir-locals-set-class-variables): Doc fix.
7131
35dc09a1 71322012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7133
3f1b5bf8
EZ
7134 * international/characters.el: Add set-case-syntax-pair call for
7135 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7136 counterpart. (Bug#11209)
7137
9f847f41
EZ
7138 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7139
35dc09a1 71402012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7141
7142 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7143
35dc09a1 71442012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7145
35dc09a1
GM
7146 * textmodes/ispell.el (ispell-dictionary-base-alist):
7147 Add data for Hebrew.
e2627d21 7148
35dc09a1 71492012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7150
35dc09a1
GM
7151 * net/rcirc.el (rcirc-cmd-quit):
7152 Revert 2012-03-18 change (Bug#11192).
5c14e333 7153
35dc09a1 71542012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7155
7156 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7157
35dc09a1 71582012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7159
4517fe3a
SM
7160 * minibuffer.el (completion-in-region-mode-map):
7161 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7162
b472a594
VD
71632012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7164
7165 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7166
09b95ce3
MY
71672012-04-13 Masatake YAMATO <yamato@redhat.com>
7168
7169 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7170 to allow `C-M-f' and `C-M-b' to move to the nearest path
7171 separator (bug#9511).
7172
4b63a9ca
LI
71732012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7174
7175 * avoid.el: Require cl when compiling. And also move the
7176 `provide' to the end.
7177
7b55b8bf
TV
71782012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7179
7180 * avoid.el (mouse-avoidance-banish-position): New variable.
7181 (mouse-avoidance-banish-destination): Use it (bug#10165).
7182
adedaa1f
LL
71832012-04-13 Leo Liu <sdl.web@gmail.com>
7184
7185 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7186
70e74021
KB
71872012-04-13 Ken Brown <kbrown@cornell.edu>
7188
7189 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7190 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7191 (browse-url-filename-alist): For the same reason, don't modify
7192 file:// URLs on Cygwin.
7193
e75e89ba
SM
71942012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7197 the region on shift if the binding is already shifted (bug#11221).
7198
82f289a4
GM
71992012-04-12 Glenn Morris <rgm@gnu.org>
7200
7201 * mail/mailpost.el: Move to obsolete/.
7202
d333dc4c
DA
72032012-04-12 Drew Adams <drew.adams@oracle.com>
7204
7205 * imenu.el (imenu--generic-function): Ignore invisible definitions
7206 (bug#10123).
7207
0d15b5ba
VD
72082012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7209
7210 * hexl.el (hexl-bits): New variable.
7211 (hexl-options): Mention the variable in the doc string.
75f1671a 7212 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7213 (hexl-mode): Mention the new variable.
75f1671a
JB
7214 (hexl-mode, hexl-current-address, hexl-current-address):
7215 Use the displen.
0d15b5ba
VD
7216 (hexl-ascii-start-column): New function.
7217 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7218 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7219
64a440db
AM
72202012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7221
7222 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7223 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7224 the encoding, as expected by hunspell.
7225
6decb6c2
SM
72262012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * battery.el (battery--linux-sysfs-regexp): New const.
7229 (battery-status-function): Use it. Remove yeeloong special case.
7230 (battery-yeeloong-sysfs): Remove.
7231 (battery-echo-area-format): Remove yeeloong special case.
7232
088be6fb
SM
72332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7234
6622e416
SM
7235 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7236 Reported by Noah Friedman.
7237
088be6fb
SM
7238 * subr.el (read-passwd): Use read-string.
7239
b49f886e
LMI
72402012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
7242 * vcursor.el (vcursor-move): Increase the priority of the overlay
7243 (bug#9663).
7244
a63067fc
DD
72452012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7246
7247 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7248 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7249
ac3cf14a
WS
72502012-04-11 William Stevenson <yhvh2000@gmail.com>
7251
7252 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7253 define-minor-mode (bug#10760).
7254
c4fc691b 72552012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7256
4d6769e1 7257 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7258 that directories matching `grep-find-ignored-files' won't be
7259 pruned (bug#10351).
7260
af23e2e5
CY
72612012-04-11 Chong Yidong <cyd@gnu.org>
7262
7263 * startup.el (command-line): Remove support for long-obsolete
7264 variable font-lock-face-attributes.
7265
ab7ce8c1
GM
72662012-04-11 Glenn Morris <rgm@gnu.org>
7267
7268 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7269
de8c03dc
SM
72702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * window.el (window--state-get-1): Obey window-point-insertion-type.
7273
050cc68b
LB
72742012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7275
7276 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7277 to previous function when point is on the first character of a
75f1671a 7278 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7279
a38c310c
GM
72802012-04-11 Glenn Morris <rgm@gnu.org>
7281
effed0c2
GM
7282 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7283 not just file-errors.
7284
a38c310c
GM
7285 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7286 (vc-bzr-sha1): Use internal sha1.
7287
0221e323
SM
72882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7289
7290 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7291
43956923
SG
72922012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7293
7294 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7295 that start in the middle of the line (bug#10496).
7296
6a8c9eaf
DN
72972012-04-10 Dan Nicolaescu <dann@gnu.org>
7298
7299 * battery.el (battery-linux-proc-acpi): Only one battery is
7300 discharged at a time, but that seems to confuse battery.el when
7301 computing `rate-type' for the battery not being discharged
7302 (bug#10332).
7303
1930bf5d
SM
73042012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7305
2a718f6f
SM
7306 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7307
599430d0
SM
7308 * international/quail.el: Use dolist and simplify.
7309 (quail-define-package, quail-update-keyboard-layout)
7310 (quail-define-rules): Use dolist.
7311 (quail-insert-kbd-layout, quail-get-translation): CSE.
7312
a2754b6c
SM
7313 * tmm.el: Use dolist, remove left over hook.
7314 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7315 Use dolist.
7316 (calendar-load-hook): Don't mess with it.
7317
1930bf5d
SM
7318 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7319 Use derived-mode-p. Run the diff asynchronously.
7320
9f67961c
LMI
73212012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7322
7323 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7324
2a8ce227
JB
73252012-04-10 Juanma Barranquero <lekktu@gmail.com>
7326
7327 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7328 (list-dynamic-libraries--loaded): New function.
7329 (list-dynamic-libraries--refresh): Use it.
7330
8f33b5f8
NW
73312012-04-10 Nathan Weizenbaum <nweiz@google.com>
7332
1930bf5d
SM
7333 * progmodes/python.el (python-fill-paragraph):
7334 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7335 disabled (bug#7018).
7336
b12f0439
L
73372012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7338
1930bf5d 7339 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7340 DOS/MS Windows for the Baltic languages. There are still plenty
7341 of texts written in this encoding/codepage (bug#6519).
b12f0439 7342
57c3bd01
GM
73432012-04-10 Glenn Morris <rgm@gnu.org>
7344
7345 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7346 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7347
6c3eab30
FA
73482012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7349
1930bf5d 7350 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7351 next-line "n" and previous-line "p" in order to make recentf more
7352 consistent with ibuffer, dired or org-mode (bug#9387).
7353
24d78a88
LMI
73542012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7355
bc72b5d9
LMI
7356 * image.el (put-image): Return the overlay created instead of the
7357 optional input string (bug#7834). Note that this may break code
7358 that is (for some reason or other) depending on `put-image'
7359 returning the string.
7360
bd2dba5a
LMI
7361 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7362
74beb59f
LMI
7363 * simple.el (zap-to-char): Allow zapping using input methods
7364 (bug#1580).
7365
24d78a88
LMI
7366 * textmodes/fill.el (fill-region): Leave point and mark where they
7367 were before filling (bug#5399).
7368
263f20cd
GM
73692012-04-09 Glenn Morris <rgm@gnu.org>
7370
7371 * version.el (emacs-bzr-get-version):
7372 Handle lightweight checkouts of local branches.
7373
58d1f797
AS
73742012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7375
263f20cd 7376 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7377
b4d3bc10
CY
73782012-04-09 Chong Yidong <cyd@gnu.org>
7379
7380 * custom.el (custom-variable-p): Return nil for non-symbol
7381 arguments instead of signaling an error.
7382 (user-variable-p): Obsolete alias for custom-variable-p.
7383
7384 * apropos.el (apropos-variable):
7385 * files-x.el (read-file-local-variable):
7386 * simple.el (set-variable):
7387 * woman.el (woman-mini-help):
7388 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7389
fd06db5d
GM
73902012-04-09 Glenn Morris <rgm@gnu.org>
7391
e5fcdb5e
GM
7392 * startup.el (normal-top-level): Don't look for leim-list.el
7393 in places where it will not be found. (Bug#910)
7394
fd06db5d
GM
7395 * international/mule-cmds.el (set-default-coding-systems):
7396 * files.el (normal-mode):
7397 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7398 This function was removed with ucs-tables.el in 2008.
7399
b39bb7e1
EZ
74002012-04-08 Eli Zaretskii <eliz@gnu.org>
7401
7402 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7403 ispell-encoding8-command to "-i", without a trailing space.
7404 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7405 separate command-line arguments, to specify the encoding, since
7406 that's how hunspell expects it.
7407
5c5b8e23
GM
74082012-04-08 Glenn Morris <rgm@gnu.org>
7409
7410 * loadup.el: Load bindings before cus-start.
7411 This reduces somewhat the number of "rogue" settings in emacs -Q.
7412
a1ed8b05
GM
74132012-04-07 Glenn Morris <rgm@gnu.org>
7414
7415 * version.el (emacs-bzr-get-version): New function.
dfae128a 7416 (emacs-bzr-version): New variable.
a1ed8b05
GM
7417 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7418 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7419
b142f158
EZ
74202012-04-07 Eli Zaretskii <eliz@gnu.org>
7421
dfae128a
GM
7422 * international/uni-bidi.el, international/uni-category.el:
7423 * international/uni-combining.el, international/uni-decimal.el:
7424 * international/uni-decomposition.el, international/uni-digit.el:
7425 * international/uni-lowercase.el, international/uni-mirrored.el:
7426 * international/uni-name.el, international/uni-numeric.el:
7427 * international/uni-titlecase.el, international/uni-uppercase.el:
7428 Update for Unicode 6.1.
b142f158 7429
9078ead6
EZ
74302012-04-07 Eli Zaretskii <eliz@gnu.org>
7431
7432 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7433
f23d2c7d
LMI
74342012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7435
7436 * window.el (shrink-window): Mention the `window-min-height'
7437 variable in the doc string.
7438
0a0a3573
BG
74392012-04-05 Bastien Guerry <bzg@altern.org>
7440
7441 * color.el (color-lighten-name): Fix typo.
7442
e5248ac9
SM
74432012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7444
7445 * server.el (server--on-display-p): New function.
7446 (server--on-display-p): Use it.
7447
b4243e22
GV
74482012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7449
7450 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7451 (bug#11145).
7452
305d9f44
SM
74532012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * comint.el (comint--common-quoted-suffix): Check string boundary
7456 before comparing (bug#11158).
7457 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7458
3d439cd1
CY
74592012-04-04 Chong Yidong <cyd@gnu.org>
7460
321cc491
CY
7461 * minibuffer.el (completion-extra-properties): Doc fix.
7462
3d439cd1
CY
7463 * subr.el (delayed-warnings-hook): Doc fix.
7464
2d562c0f
DU
74652012-04-04 Daiki Ueno <ueno@unixuser.org>
7466
7467 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7468 selection (Bug#11159).
7469 (epa-insert-keys): Inform that the default public key will be
7470 exported if no key is selected.
7471
4443f204
RS
74722012-04-04 Richard Stallman <rms@gnu.org>
7473
7474 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7475
529c06b6
CY
74762012-04-03 Chong Yidong <cyd@gnu.org>
7477
7478 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7479 mail-insert-file, not its obsolete alias mail-attach-file.
7480
66b907dc
MA
74812012-04-03 Michael Albinus <michael.albinus@gmx.de>
7482
7483 * notifications.el (notifications-notify): Fix docstring.
7484
c0ea195d
GM
74852012-04-02 Glenn Morris <rgm@gnu.org>
7486
7487 * emacs-lisp/authors.el (authors-aliases): Another addition.
7488
5ca64e00
MA
74892012-04-02 Michael Albinus <michael.albinus@gmx.de>
7490
7491 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7492 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7493 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7494
42ee526b
CY
74952012-04-01 Chong Yidong <cyd@gnu.org>
7496
7497 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7498 Handle root directory properly.
7499 (copy-directory): Caller changed.
7500
7501 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7502 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7503
0b021094
GM
75042012-03-31 Glenn Morris <rgm@gnu.org>
7505
40f86458
GM
7506 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7507
7019c177
GM
7508 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7509
a1daddd6
GM
7510 * calendar/calendar.el (calendar-window-list)
7511 (calendar-hide-window): Restore. (Bug#11140)
7512 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7513
0b021094
GM
7514 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7515
40311efc
TV
75162012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7517
7518 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7519 Check if file is a symlink (Bug#10489).
7520
7521 * files.el (copy-directory): Likewise.
7522
5319014e
CY
75232012-03-30 Chong Yidong <cyd@gnu.org>
7524
7525 * image.el (imagemagick-types-inhibit)
7526 (imagemagick-register-types): Doc fix.
7527
935d1290
AM
75282012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7529
090bd7cb 7530 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7531 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7532 and treats ~word as ordinary words in pipe mode.
935d1290 7533
61c6e8fd
GM
75342012-03-30 Glenn Morris <rgm@gnu.org>
7535
7536 * tutorial.el (help-with-tutorial): Ensure local variables don't
7537 happen to make the buffer read-only. (Bug#11127)
7538
81fdff00
SM
75392012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7542 (perl-calculate-indent): Return `noindent' in strings.
7543
6e7a6ec0
SS
75442012-03-28 Sam Steingold <sds@gnu.org>
7545
7546 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7547 instead of the broken adhockery which does not prevent calendar
7548 buffers from being displayed at random after exit.
7549 (calendar-window-list, calendar-hide-window): Remove the broken
7550 adhockery.
7551
fee88ca0
GM
75522012-03-28 Glenn Morris <rgm@gnu.org>
7553
7554 * replace.el (query-replace-map): Doc fix.
7555
38de3354
AS
75562012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7557
7558 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7559 contents. (Bug#11109)
7560
b973155e
SM
75612012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7564 (bug#11077).
7565 (avl-tree--check, avl-tree--check-node): New funs.
7566
dcb6e7b3
MR
75672012-03-27 Martin Rudalics <rudalics@gmx.at>
7568
7569 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7570 (switch-to-prev-buffer, switch-to-next-buffer):
7571 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7572 showing a buffer already is done on the same frame.
7573
b4fa35fa
GM
75742012-03-27 Glenn Morris <rgm@gnu.org>
7575
7576 * startup.el (mail-host-address): Doc fix.
7577
f9210e18
SM
75782012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7581 than 197 variables.
7582
c0bf7753
AF
75832012-03-26 Ami Fischman <ami@fischman.org>
7584
7585 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7586
33da7b16
GM
75872012-03-26 Glenn Morris <rgm@gnu.org>
7588
02243d9d
GM
7589 * files.el (save-buffers-kill-emacs): Doc fix.
7590
33da7b16
GM
7591 * startup.el (normal-top-level, command-line, command-line-1):
7592 Give them doc strings.
7593
e5a69fd0
EZ
75942012-03-25 Eli Zaretskii <eliz@gnu.org>
7595
7596 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7597 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7598
9a69676a
CY
75992012-03-25 Chong Yidong <cyd@gnu.org>
7600
4125cb8b
CY
7601 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7602 theme if it was previously enabled before (Bug#11031).
7603
dd470960
CY
7604 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7605 spec with custom-face-get-current-spec if its :shown-value is not
7606 determined yet (Bug#9337).
4125cb8b 7607 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7608
9a69676a
CY
7609 * button.el (button-at): Minor addition to docstring.
7610
6e7e90fa
SL
76112012-03-24 Simon Leinen <simon.leinen@gmail.com>
7612
7613 * vc/vc.el (vc-merge): Fix a prompt.
7614
f06e2758
CY
76152012-03-24 Chong Yidong <cyd@gnu.org>
7616
7617 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7618 point (Bug#9623).
7619
6e7e90fa
SL
7620 * button.el (button-at): Minor addition to docstring.
7621
b9d0879b
SM
76222012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * newcomment.el (comment-choose-indent): No space after BOL.
7625
e71cebb3
SS
76262012-03-22 Sam Steingold <sds@gnu.org>
7627
7628 * window.el (switch-to-prev-buffer): Revert last patch because the
7629 bug turned out to be an advertised feature (Elisp manual 28.14).
7630
335aff35
GM
76312012-03-22 Glenn Morris <rgm@gnu.org>
7632
7633 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7634 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7635
c676576a
LMI
76362012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637
7638 * net/network-stream.el (network-stream-open-starttls): Make error
7639 message under Windows be less misleading.
7640
126f3d39
LW
76412012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7642
7643 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7644 understands (bug#9942).
7645
64fee311
CY
76462012-03-22 Chong Yidong <cyd@gnu.org>
7647
7648 * simple.el (end-of-visible-line): Handle return value of
7649 next-single-property-change properly (Bug#9371).
7650
a640d29a
KH
76512012-03-22 Kenichi Handa <handa@m17n.org>
7652
7653 * international/quail.el (quail-insert-kbd-layout): Fix previous
7654 change. To avoid unwanted bidi reordering, use
7655 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7656
39675016
DG
76572012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7658
7659 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7660 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7661 (ruby-beginning-of-indent): Be more careful with the difference
7662 between word-boundary and symbol boundary.
7663 (ruby-mode-syntax-table): Make : a symbol constituent.
7664
0a6934fc 76652012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7666
3d008e4f
SM
7667 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7668
0a6934fc
SM
76692012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7670
af67c9d7
SM
7671 * progmodes/etags.el (tags-completion-at-point-function):
7672 Improve last fix.
7673
1acad97c
SM
7674 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7675
e298b5da
SS
76762012-03-21 Sam Steingold <sds@gnu.org>
7677
7678 * progmodes/etags.el (tags-completion-at-point-function):
7679 Avoid the error when point is inside the pattern.
7680
91d82a70
JY
76812012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7682
7683 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7684 line (Bug#10855).
7685
69188b79
CY
76862012-03-21 Drew Adams <drew.adams@oracle.com>
7687
7688 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7689
99fc91fe
AK
76902012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7691
7692 * ido.el (ido-set-current-directory, ido-read-internal)
7693 (ido-choose-completion-string, ido-completion-help): Handle nil
7694 value of ido-completion-buffer (Bug#11008).
7695
087bbb4c
SS
76962012-03-21 Sam Steingold <sds@gnu.org>
7697
7698 * window.el (switch-to-prev-buffer): Do not switch to a visible
7699 window previous buffer, just like with the frame previous buffers.
7700
fb5b8aca
CY
77012012-03-21 Chong Yidong <cyd@gnu.org>
7702
7703 * faces.el (make-face, make-empty-face, copy-face):
7704 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7705 Doc fixes.
7706
dc9924b8
SM
77072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7708
7709 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7710 (widget-complete): Remove broken use of it.
7711
f0bcceb9
CY
77122012-03-20 Chong Yidong <cyd@gnu.org>
7713
dc9924b8
SM
7714 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7715 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7716 characters.
7717
ee52ebf3
TH
77182012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7719
7720 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7721 to draw rectangles, not squares. (Regression introduced by revno
7722 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7723
4c5779ab
CY
77242012-03-18 Chong Yidong <cyd@gnu.org>
7725
7726 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7727 it is not yet defined (for temacs).
7728
15360934
LL
77292012-03-18 Leo Liu <sdl.web@gmail.com>
7730
dc9924b8 7731 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7732
d9a8eb66
EZ
77332012-03-17 Eli Zaretskii <eliz@gnu.org>
7734
7735 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7736 (ispell-choices-win-default-height, ispell-silently-savep)
7737 (ispell-dictionary-alist, ispell-encoding8-command)
7738 (ispell-check-version, ispell-aspell-find-dictionary)
7739 (ispell-valid-dictionary-list, ispell-words-keyword)
7740 (ispell-get-word, ispell-internal-change-dictionary)
7741 (ispell-region, ispell-skip-region-list)
7742 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7743 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7744 (ispell-message-text-end, ispell-message)
7745 (ispell-buffer-local-parsing): Doc fix.
7746
f02ff80d
J
77472012-03-13 Jambunathan K <kjambunathan@gmail.com>
7748
7749 * htmlfontify.el: Add support for code block fontification for ODT
7750 export (Bug #9914).
7751 (hfy-optimisations): Define new option
7752 `body-text-only'
7753 (hfy-fontify-buffer): Honor above setting.
7754 (hfy-begin-span, hfy-end-span): New routines factored out form
7755 `hfy-fontify-buffer'.
7756 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7757 that permit insertion of custom tags.
7758 (hfy-fontify-buffer): Use above handlers.
7759 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7760 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7761 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7762 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7763 bind a special variable `hfy-user-sheet-assoc'.
7764 (htmlfontify-string): New defun.
7765 (hfy-compile-face-map): Make sure that the last char in the
7766 buffer is correctly fontified.
7767 (hfy-face-resolve-face): Whitespace only change.
7768
9ac7a13f
EZ
77692012-03-17 Eli Zaretskii <eliz@gnu.org>
7770
7771 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7772 message more clear.
7773
e2b5bdd7
LL
77742012-03-16 Leo Liu <sdl.web@gmail.com>
7775
7776 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7777
2e492df3
AM
77782012-03-16 Alan Mackenzie <acm@muc.de>
7779
7780 Further optimise the handling of large macros.
7781
7782 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7783 limit to a call of `c-literal-limits'.
7784 (c-determine-+ve-limit): New function.
dc9924b8
SM
7785 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7786 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7787 In CASE 5B, restrict a search limit to 500.
7788 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7789
7790 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7791 Restrict macro bounds to +-500 from after-change's BEG END.
7792
50e94f0c
LL
77932012-03-16 Leo Liu <sdl.web@gmail.com>
7794
7795 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7796
6f09f6ed
AH
77972012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7798
7799 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7800 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7801
c7e73d51
GM
78022012-03-16 Glenn Morris <rgm@gnu.org>
7803
da986230
GM
7804 * view.el (view-buffer, view-buffer-other-window)
7805 (view-buffer-other-frame): Doc fixes re special mode-class.
7806
0835f01e
GM
7807 * subr.el (eval-after-load): If named feature is provided not from
7808 a file, run after-load forms. (Bug#10946)
7809
c7e73d51
GM
7810 * calendar/calendar.el (calendar-insert-at-column):
7811 Handle non-unit-width characters a bit better. (Bug#10978)
7812
3f2eafd1
CY
78132012-03-15 Chong Yidong <cyd@gnu.org>
7814
7815 * emacs-lisp/ring.el (ring-extend): New function.
7816 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7817
7818 * comint.el (comint-read-input-ring)
7819 (comint-add-to-input-history): Grow comint-input-ring lazily.
7820
103af3fe
SM
78212012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7822
663b1677
SM
7823 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7824 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7825
103af3fe
SM
7826 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7827 (imenu-add-to-menubar): Don't add a redundant index.
7828 (imenu-update-menubar): Handle a dynamically composed keymap.
7829
899cb7cb
KY
78302012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7831
7832 * mail/sendmail.el (mail-encode-header):
7833 Bind rfc2047-encode-encoded-words to nil.
7834
3809f91d
GM
78352012-03-13 Glenn Morris <rgm@gnu.org>
7836
7837 * calendar/calendar.el (calendar-string-spread):
7838 Handle non-unit-width characters a bit better. (Bug#10978)
7839
9e345a01
LL
78402012-03-13 Leo Liu <sdl.web@gmail.com>
7841
7842 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7843 directory and file as argument (Bug#10822).
7844
4a07df36
KS
78452012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7846
7847 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7848 For dynamically generated code, follow $PC.
7849 (gdb-disassembly-handler-custom): Handle no function name case.
7850
4aaa9356
TL
78512012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7852
7853 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7854 * emulation/ws-mode.el (ws-query-replace):
7855 * sort.el (sort-regexp-fields):
7856 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7857
225979da
SM
78582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * dabbrev.el: Fix cycle completion order (bug#10963).
7861 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7862 (dabbrev-completion): Don't use an obarray; provide
7863 a cycle-sort-function.
7864
e2f1fdab
LL
78652012-03-12 Leo Liu <sdl.web@gmail.com>
7866
dc9924b8 7867 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7868 (kill-do-not-save-duplicates): Doc fix.
7869
b19490ed
SM
78702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * dabbrev.el: Fix cycle completion (bug#10963).
7873 Use lexical binding and wrap to 80 columns.
7874 (dabbrev-completion): Delay computing the list of completions.
7875
4b05d722
KH
78762012-03-12 Kenichi Handa <handa@m17n.org>
7877
7878 * international/quail.el (quail-insert-kbd-layout): Surround each
7879 row by LRO and PDF instead of inserting many LRMs. Pad the left
7880 and right of each non-spacing marks. Insert invisible space
7881 between lower and upper characters to prevent composition.
7882
dbbc2e69
SM
78832012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * minibuffer.el (minibuffer-complete): Don't get confused when the
7886 function is run twice via different commands (bug#10958).
7887 (complete-with-action): Fix docstring.
7888
292112ed
CY
78892012-03-12 Chong Yidong <cyd@gnu.org>
7890
5d1ac394
CY
7891 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7892 (nxml-completion-at-point-function): New function.
7893 (nxml-mode): Use it.
7894 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7895
292112ed
CY
7896 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7897 Load generated autoloads file before byte compiling (Bug#10970).
7898 (package--make-autoloads-and-compile): New helper fun.
7899
4098f8f7
CS
79002012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7901
7902 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7903
8f754691
MA
79042012-03-11 Michael Albinus <michael.albinus@gmx.de>
7905
7906 * autorevert.el (auto-revert-handler): Ensure, that
7907 file-readable-p is applied only for local files or in
7908 auto-revert-tail-mode.
7909
e29ab36b
AS
79102012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7911
dbbc2e69
SM
7912 * server.el (server-eval-at): Handle non-tcp connections.
7913 Decode result string.
ad0bf5b6 7914
e29ab36b
AS
7915 * server.el (server-msg-size): New constant.
7916 (server-reply-print): New function.
7917 (server-eval-and-print): Use it.
7918 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7919 Handle -print-nonl.
7920
de5939ba
CS
79212012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7922
7923 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7924 (Bug#10987).
7925
0c93eabf
CY
79262012-03-11 Chong Yidong <cyd@gnu.org>
7927
397a688f
CY
7928 * simple.el (goto-line): Doc fix (Bug#9938).
7929
2cc775f9
CY
7930 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7931
0c93eabf
CY
7932 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7933 when finished (Bug#10963).
7934
c491fa41
MR
79352012-03-11 Martin Rudalics <rudalics@gmx.at>
7936
7937 * window.el (split-window-below): Fix bug in case where
7938 split-window-keep-point is nil (Bug#10971).
7939
300e8fa5
JL
79402012-03-11 Juri Linkov <juri@jurta.org>
7941
7942 * replace.el (replace-highlight): Set isearch-word to nil
7943 unconditionally. (Bug#10887)
7944
dbf6c5a1
EZ
79452012-03-10 Eli Zaretskii <eliz@gnu.org>
7946
7947 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7948 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7949 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7950 (mairix-widget-create-query): Add usage information about mairix
7951 search forms: negating words, searching for substrings, etc.
7952
b9e501de
JP
79532012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7954
7955 * international/fontset.el (font-encoding-alist): Add an entry for
7956 ksx1001 (Bug#5667).
7957
92795c91
RS
79582012-03-10 Richard Stallman <rms@gnu.org>
7959
1694e6c1
RS
7960 * mail/sendmail.el (mail-encode-header):
7961 Set rfc2047-encode-encoded-words.
7962
607e8555
RS
7963 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7964
de3bc99a
RS
7965 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7966 view buffer means not swapped.
7967 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7968 (rmail-write-region-annotate): Error if real text has disappeared.
7969
92795c91
RS
7970 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7971
699bd04e
CY
79722012-03-10 Chong Yidong <cyd@gnu.org>
7973
7974 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7975 * emulation/cua-base.el (cua--init-keymaps):
7976 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7977
570a1714
MR
79782012-03-10 Martin Rudalics <rudalics@gmx.at>
7979
dbbc2e69
SM
7980 * speedbar.el (speedbar-unhighlight-one-tag-line):
7981 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7982
82dcf4e4
CY
79832012-03-10 Chong Yidong <cyd@gnu.org>
7984
7a2c7ca7
CY
7985 * minibuffer.el (completion-in-region, completion-help-at-point):
7986 Give the completion field overlay a high priority (Bug#6830).
7987
82dcf4e4
CY
7988 * dired.el (dired-goto-file): Recognize absolute file name
7989 listings (Bug#7126).
7990 (dired-goto-file-1): New helper function.
7991 (dired-toggle-read-only): Inhibit warnings.
7992
052e28ac
MA
79932012-03-09 Michael Albinus <michael.albinus@gmx.de>
7994
75f1671a 7995 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7996 there are no properties.
7997
95d5e396
LL
79982012-03-09 Leo Liu <sdl.web@gmail.com>
7999
8000 * savehist.el (savehist-printable): Stricter check for string
8001 value (Bug#10937).
8002
3f018d6d
EZ
80032012-03-09 Eli Zaretskii <eliz@gnu.org>
8004
dbbc2e69
SM
8005 * mail/smtpmail.el (smtpmail-send-it):
8006 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8007 valid mbox format.
8008
f7fd3d79
GM
80092012-03-09 Glenn Morris <rgm@gnu.org>
8010
8011 * files.el (dir-locals-find-file):
8012 Don't check result is regular, readable.
8013 (dir-locals-read-from-file): Demote errors.
8014
6ff6e72f
EZ
80152012-03-08 Eli Zaretskii <eliz@gnu.org>
8016
dbbc2e69
SM
8017 * international/quail.el (quail-insert-kbd-layout):
8018 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8019 layout cell, to prevent their reordering by bidi display engine.
8020 For details, see the discussion in
8021 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8022
9cec7834
AM
80232012-03-08 Alan Mackenzie <acm@muc.de>
8024
8025 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8026 the starting position; make it extend the marked region when
8027 invoked repeatedly - all under appropriate circumstances.
8028 Fixes bugs #5525, #10906.
8029
9a40b8d4
GM
80302012-03-08 Glenn Morris <rgm@gnu.org>
8031
8032 * files.el (locate-dominating-file, dir-locals-find-file):
8033 Undo 2012-03-06 change.
8034
7a08ed35
EZ
80352012-03-07 Eli Zaretskii <eliz@gnu.org>
8036
dbbc2e69
SM
8037 * international/quail.el (quail-help):
8038 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8039 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8040 for the reason.
8041
5aca4f71 80422012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8043
8044 Avoid superfluous registering of signals. (Bug#10807)
8045
8046 * notifications.el (notifications-on-action-object)
8047 (notifications-on-close-object): New defvars.
8048 (notifications-on-action-signal, notifications-on-closed-signal):
8049 Unregister the signal if not needed any longer.
8050 (notifications-notify): Register `notifications-action-signal' or
8051 `notifications-closed-signal', if :on-action or :on-close has been
8052 passed as argument.
8053
78e8b10a
CY
80542012-03-07 Chong Yidong <cyd@gnu.org>
8055
8056 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8057 non-X platforms.
8058
69481eb8
GM
80592012-03-06 Glenn Morris <rgm@gnu.org>
8060
8061 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8062 (x-disown-selection-internal, x-get-selection-internal):
8063 Doc fix (add arglist signatures). (Bug#10783)
8064
133b8e11
KS
80652012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8066
8067 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8068 Handle breakpoints with no "type".
8069
99a83064
GM
80702012-03-06 Glenn Morris <rgm@gnu.org>
8071
8072 * files.el (locate-dominating-file): Add optional predicate argument.
8073 (dir-locals-find-file): Make use of above change.
8074
17798e78
TTN
80752012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8076
8077 * info.el (Info-insert-dir): Also try "dir.gz".
8078
eb182446
GM
80792012-03-06 Glenn Morris <rgm@gnu.org>
8080
8f2114ee
GM
8081 * files.el (dir-locals-find-file):
8082 Ignore non-readable or non-regular files. (Bug#10928)
8083
eb182446
GM
8084 * files.el (locate-dominating-file): Doc fix.
8085
24679323
AS
80862012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8087
8088 * calendar/calendar.el (calendar-set-mode-line):
8089 `getenv' returns a string. (Bug#10951)
8090
01d972a9
LL
80912012-03-05 Leo Liu <sdl.web@gmail.com>
8092
109aa8a9
LL
8093 * simple.el (backward-delete-char-untabify): Constrain point to
8094 field (Bug#10939).
8095
01d972a9
LL
8096 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8097
10607bea
CY
80982012-03-05 Chong Yidong <cyd@gnu.org>
8099
8100 * simple.el (count-words): If called from Lisp, return the word
8101 count, for symmetry with `count-lines'. Arglist changed.
8102 (count-words--message): Args changed. Consolidate counting code
8103 from count-words and count-words-region.
8104 (count-words-region): Caller changed.
8105 (count-lines-region): Make it an obsolete alias.
8106
5dd11cfe
TH
81072012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8108
8109 * saveplace.el (save-place-to-alist)
8110 (save-place-ignore-files-regexp): Allow value nil to disable this
8111 feature.
8112
c349f4e6
CY
81132012-03-04 Chong Yidong <cyd@gnu.org>
8114
8115 * faces.el (face-spec-reset-face): For the default face, reset the
8116 attributes to default values (Bug#10748).
8117
e627be4c
LMI
81182012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8119
8120 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8121 previous patch: Check `message-send-mail-function', and not the
8122 default function (bug#10897).
8123
ebeabff4
MA
81242012-03-04 Michael Albinus <michael.albinus@gmx.de>
8125
a41a6cf4
MA
8126 * notifications.el (notifications-on-action-signal)
8127 (notifications-on-closed-signal): Check for unique service name of
8128 incoming event. Fix error in removing entry.
ebeabff4 8129 (top): Register for signals with wildcard service name.
a41a6cf4 8130 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8131
c1ca42b4
CY
81322012-03-04 Chong Yidong <cyd@gnu.org>
8133
dc9924b8 8134 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8135
ea16568d
GM
81362012-03-04 Glenn Morris <rgm@gnu.org>
8137
8138 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8139 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8140 (expand-abbrev, define-abbrev-table): Doc fixes.
8141
fbae4637
LMI
81422012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8143
8144 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8145 `message-default-send-mail-function' and not `send-mail-function'
8146 when doing the prompting for `sendmail-query-once' before sending
8147 in Message buffers (bug#10897).
8148
a1e7225c
LMI
8149 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8150 This is inconsistent with all the other stream functions, which leave
8151 the setting up to the higher levels (if so wanted) (bug#10931).
8152
56d093a9
AM
81532012-03-02 Alan Mackenzie <acm@muc.de>
8154
8155 Depessimize the handling of very large macros.
8156
8157 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8158 (c-macro-cache-syntactic): New variables to implement a one
8159 element macro cache.
8160 (c-invalidate-macro-cache): New function.
8161 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8162 Adapt to use the new cache.
8163 (c-state-safe-place): Use better the cache of safe positions.
8164 (c-state-semi-nonlit-pos-cache)
8165 (c-state-semi-nonlit-pos-cache-limit):
8166 New variables for...
8167 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8168 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8169 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8170 Use c-state-semi-safe-place.
56d093a9 8171
dbbc2e69
SM
8172 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8173 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8174
817e5c3d
MA
81752012-03-02 Michael Albinus <michael.albinus@gmx.de>
8176
dbbc2e69
SM
8177 * jka-compr.el (jka-compr-call-process):
8178 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8179 not remote.
8180
a032a702
MA
81812012-03-01 Michael Albinus <michael.albinus@gmx.de>
8182
8183 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8184 access of FILE2, if FILE1 does not exist.
8185
99a54f21
MA
8186 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8187 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8188
8189 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8190 Add "PAGER=" to `process-environment'.
8191
f6561e1f
MM
81922012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8193
8194 * progmodes/sql.el: Bug fix
8195 (sql-get-login-ext): Save login values in globals.
8196 (sql-get-login): Use new version of `sql-get-login-ext'.
8197 (sql-interactive-mode): Set global `sql-connection' to nil.
8198 (sql-connect): Set global values for connection.
8199 (sql-product-interactive): Save global values as buffer local.
8200
2d44d9cc
LL
82012012-02-29 Leo Liu <sdl.web@gmail.com>
8202
8203 * abbrev.el (define-abbrevs): Reset sys to nil.
8204
96b49301 82052012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8206
bf7f9bc5
JB
8207 * files.el (file-equal-p): Rename from `files-equal-p'.
8208 Return nil when one or both files don't exist.
96b49301 8209 (file-subdir-of-p): Now only top directory must exists,
8210 return nil if it doesn't.
bf7f9bc5
JB
8211 (copy-directory): No need to test with `file-subdir-of-p' after
8212 creating dir.
8213 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8214 to `file-equal-p'.
96b49301 8215
44e97401
GM
82162012-02-28 Glenn Morris <rgm@gnu.org>
8217
8218 * shell.el (shell-mode):
8219 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8220 * play/landmark.el (landmark-font-lock-face-O):
8221 * play/handwrite.el (handwrite):
8222 * play/gomoku.el (gomoku-O):
8223 * net/browse-url.el (browse-url-browser-display):
8224 * international/mule.el (define-charset):
8225 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8226 * filesets.el (filesets-find-file-delay):
8227 * eshell/em-xtra.el (eshell-xtra):
8228 * eshell/em-unix.el (eshell-grep):
8229 * emulation/viper.el (viper-mode):
8230 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8231 * emacs-lisp/easymenu.el (easy-menu-define):
8232 * calendar/timeclock.el (timeclock-use-display-time):
8233 * bs.el (bs-mode):
8234 * bookmark.el (bookmark-save-flag):
8235 Doc fix (standardize possessive apostrophe usage).
8236
c98c6276
CY
82372012-02-27 Chong Yidong <cyd@gnu.org>
8238
bf7f9bc5
JB
8239 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8240 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8241
c98c6276
CY
8242 * font-lock.el (font-lock-specified-p): Rename from
8243 font-lock-spec-present. Callers changed.
8244
9c62cd04 82452012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8246
bf7f9bc5
JB
8247 * emacs-lisp/package.el (package-compute-transaction):
8248 Handle holding a package version to t in package-load-list.
8ac9e529 8249
530739c9
MA
82502012-02-26 Michael Albinus <michael.albinus@gmx.de>
8251
8252 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8253 (tramp-get-inode, tramp-get-device): Use cached values.
8254
487915d7
AM
82552012-02-26 Alan Mackenzie <acm@muc.de>
8256
8257 Check there is a font-lock specification before doing initial
8258 fontification.
8259
8260 * font-core.el (font-lock-mode): Move the conditional from
8261 :after-hook to font-lock-initial-fontify.
8262 (font-lock-default-function): Move the check for a specification
8263 to font-lock-spec-present.
8264
dc9924b8 8265 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8266 (font-lock-spec-present): New function.
8267
4fd96557
JB
82682012-02-26 Jim Blandy <jimb@red-bean.com>
8269
8270 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8271 (gdb-send): Apply it to the operand of the '-interpreter-exec
8272 console' command, so that we can pass arguments with (say) quotes
8273 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8274
9a4888c0
CY
82752012-02-26 Chong Yidong <cyd@gnu.org>
8276
07498861
CY
8277 * help-fns.el (describe-function-1): Clarify description of
8278 remapping (Bug#10844).
8279
9a4888c0
CY
8280 * files.el (files-equal-p): Doc fix.
8281 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8282 and quit the loop once a mismatch is found.
8283
ea8fb88d
JB
82842012-02-25 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * bs.el (bs--show-with-configuration): Don't throw an error
8287 if the window cannot be split; otherwise, subsequent calls to
8288 bs-show fail, restoring a stale window config. (Bug#10882)
8289
525795c1
JD
82902012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8291
8292 * term/ns-win.el (global-map): Bind ns-drag-file to
8293 ns-find-file (Bug#5855, Bug#10050).
8294
f008086f
AS
82952012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8296
8297 * calendar/parse-time.el (parse-time-string): Allow extractor to
8298 return nil.
8299
a3fcfa99
MA
83002012-02-25 Michael Albinus <michael.albinus@gmx.de>
8301
91027d08
JB
8302 * net/tramp.el (tramp-file-name-for-operation):
8303 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8304
8305 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8306 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8307 Add COPY-CONTENTS argument.
a3fcfa99 8308
67b0de11
CY
83092012-02-25 Chong Yidong <cyd@gnu.org>
8310
8311 Add custom groups for VC backends, for consistency with vc-bzr.
8312
8313 * vc/vc-arch.el (vc-arch):
8314 * vc/vc-cvs.el (vc-cvs):
8315 * vc/vc-git.el (vc-git):
8316 * vc/vc-hg.el (vc-hg):
8317 * vc/vc-mtn.el (vc-mtn):
8318 * vc/vc-rcs.el (vc-rcs):
8319 * vc/vc-sccs.el (vc-sccs):
8320 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8321 All relevant defcustoms reassigned.
8322
3c9dfce6
CY
83232012-02-25 Chong Yidong <cyd@gnu.org>
8324
1339bf43
CY
8325 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8326
3c9dfce6
CY
8327 * term/x-win.el (x-initialize-window-system): Reduce default for
8328 x-selection-timeout to 5 seconds (Bug#8869).
8329
25b2e303 83302012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8331
ec70a47d
GM
8332 * files.el (files-equal-p, file-subdir-of-p): New functions.
8333 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8334 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8335 * dired-aux.el (dired-copy-file-recursive): Same.
8336 (dired-create-files): Modify destination when source is equal to
8337 dest when copying files.
53a46cd0 8338 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8339
914260cd
MA
83402012-02-24 Michael Albinus <michael.albinus@gmx.de>
8341
8342 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8343 (Bug#10874)
8344
2cb228f7
AM
83452012-02-23 Alan Mackenzie <acm@muc.de>
8346
8347 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8348 parameter "after-hook:" to allow the expansion to run code after
8349 the execution of the mode hooks.
8350
8351 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8352 from font-lock-mode-internal.
2cb228f7 8353
91027d08 8354 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8355 :after-hook.
8356
8f0fde21
SM
83572012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8358
3e88618b
SM
8359 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8360 (completion--cache-all-sorted-completions): New function.
8361 (completion-all-sorted-completions): Use it.
8362 (completion--do-completion, minibuffer-force-complete):
8363 Use it to re-instate the flush hook.
8364
8f0fde21
SM
8365 * icomplete.el (icomplete-completions): Replace last fix with a better
8366 one (bug#10850).
8367
8e911f6f
DG
83682012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8369
8370 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8371 when it might call us back infinitely (bug#10797).
8372
49fe4321
GM
83732012-02-23 Glenn Morris <rgm@gnu.org>
8374
8375 * minibuffer.el (completion-category-overrides): Doc fix.
8376
b291b572
SM
83772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8380 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8381
31a9ef2e
GM
83822012-02-23 Glenn Morris <rgm@gnu.org>
8383
5e6e6794 8384 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8385 (authors-obsolete-files-regexps, authors-ignored-files)
8386 (authors-ambiguous-files, authors-renamed-files-alist):
8387 Add more entries.
8388
0bd1e074
JL
83892012-02-23 Juri Linkov <juri@jurta.org>
8390
8391 * isearch.el (isearch-occur): Sync interactive spec with occur's
8392 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8393
b617673c
JL
8394 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8395
19e9789e
JL
83962012-02-22 Juri Linkov <juri@jurta.org>
8397
8398 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8399 (ucs-insert): Doc fix. Check for hex digits in the string.
8400 Don't display `nil' in the error message. (Bug#10857)
8401
f41ce09d
AM
84022012-02-22 Alan Mackenzie <acm@muc.de>
8403
7a71b18d 8404 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8405
ac2eceee
GM
84062012-02-22 Glenn Morris <rgm@gnu.org>
8407
8408 * ffap.el (ffap-c-path):
8409 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8410
abd1f678
CY
84112012-02-22 Chong Yidong <cyd@gnu.org>
8412
8413 * custom.el (load-theme): Doc fix.
8414
f25aef2e
GM
84152012-02-22 Glenn Morris <rgm@gnu.org>
8416
8417 * dired-x.el (dired-guess-shell-alist-default):
8418 Remove escape sequences from nroff output. (Bug#172)
8419
5f8dc2ca
GM
84202012-02-21 Glenn Morris <rgm@gnu.org>
8421
6ff86ec4
GM
8422 * vc/emerge.el (emerge-defvar-local):
8423 Set `permanent-local' property rather than unused `preserved'.
8424
be3223a3 8425 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8426 (picture-mode-map): Use it. (Bug#10860)
8427 (picture-mode): Doc fix.
8428
3fe58f4f
JB
84292012-02-21 Juanma Barranquero <lekktu@gmail.com>
8430
8431 * newcomment.el (uncomment-region-default): Remove unused binding.
8432
f9a998c3
GM
84332012-02-21 Glenn Morris <rgm@gnu.org>
8434
8435 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8436 (picture-self-insert, picture-tab-chars): Doc fix.
8437 (picture-mode-map): Fix C-a, C-e.
8438
c6029348
GM
84392012-02-20 Glenn Morris <rgm@gnu.org>
8440
8441 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8442
ab1ce9d7
LL
84432012-02-20 Leo Liu <sdl.web@gmail.com>
8444
8445 * icomplete.el (icomplete-completions): Check FROM arg before
8446 passing to substring (Bug#10850).
8447
0fd40f89
CY
84482012-02-19 Chong Yidong <cyd@gnu.org>
8449
8450 * comint.el: Require ansi-color.
8451 (comint-output-filter-functions): Add ansi-color-process-output.
8452
8453 * ansi-color.el: Don't set comint-output-filter-functions; it is
8454 now in the initial value defined in comint.el.
8455 (ansi-color-apply-face-function): New variable.
8456 (ansi-color-apply-on-region): Use it.
8457 (ansi-color-apply-overlay-face): New function.
8458
8459 * shell.el (shell): No need to require ansi-color.
8460 (shell-mode): Use ansi-color-apply-face-function to highlight
8461 color escapes using font-lock-face property (Bug#10835).
8462
20af2394
CY
84632012-02-19 Chong Yidong <cyd@gnu.org>
8464
8465 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8466 mode-line formats (Bug#10839).
8467
e23a3fbe
GM
84682012-02-18 Glenn Morris <rgm@gnu.org>
8469
b474519e
GM
8470 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8471
8472 * mail/undigest.el (unforward-rmail-message): Doc fix.
8473
e23a3fbe
GM
8474 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8475
57939ff4
EZ
84762012-02-18 Eli Zaretskii <eliz@gnu.org>
8477
8478 * international/characters.el (script-list): Sync with the latest
8479 Unicode Character Database.
8480
0c23686e
AS
84812012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8482
8483 * international/titdic-cnv.el: Remove duplicate coding tag.
8484 * language/cham.el: Likewise.
8485 * language/tai-viet.el: Likewise.
8486
6818b449
GM
84872012-02-18 Glenn Morris <rgm@gnu.org>
8488
8489 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8490 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8491 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8492 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8493 * calendar/holidays.el (holiday-bahai-holidays)
8494 (calendar-holidays, list-holidays):
8495 Use utf-8 Bahá'í in doc-strings, menus, etc.
8496
0311a3fc
TH
84972012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8498
8499 * saveplace.el (save-place-ignore-files-regexp): New variable
8500 allowing for excluding files from saving their location of point.
8501 The default value matches the temporary commit message editing
8502 files from Git, SVN, Bazaar, and Mercurial.
8503 (save-place-to-alist): Use it.
8504
d209e2fb 85052012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8506 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8507
8508 * newcomment.el (uncomment-region-default): Don't leave extra space
8509 when an arg is provided (bug#8150).
8510
ee0ce425
TZ
85112012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8512
eb864a71 8513 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8514
95ddf442
GM
85152012-02-17 Glenn Morris <rgm@gnu.org>
8516
8517 * net/socks.el: Require network-stream. (Bug#10599)
8518
48dd1e39 85192012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8520
8521 * international/charprop.el:
8522 * international/uni-name.el:
8523 * international/uni-old-name.el:
8524 * international/uni-comment.el: Regenerate.
8525
d68cd087
GM
85262012-02-16 Glenn Morris <rgm@gnu.org>
8527
8528 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8529 Interactively in calendar buffer, give an error if not on a date.
8530
13932042
GM
85312012-02-15 Glenn Morris <rgm@gnu.org>
8532
8533 * shell.el (shell-delimiter-argument-list):
8534 Revert 2011-02-17 change. (Bug#8027)
8535
c3a70e2b
CY
85362012-02-15 Chong Yidong <cyd@gnu.org>
8537
60236b0d
CY
8538 * minibuffer.el (completion-at-point-functions): Doc fix.
8539
c3a70e2b
CY
8540 * custom.el (defcustom): Doc fix; note use of defvar.
8541
9f26dc24
GM
85422012-02-15 Glenn Morris <rgm@gnu.org>
8543
8544 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8545 Doc fixes.
8546
6546b134
GM
85472012-02-14 Glenn Morris <rgm@gnu.org>
8548
8549 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8550
d29b2b4c
LI
85512012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8552
8553 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8554 way the ports list is computed.
835bdcba
LI
8555 (smtpmail-query-smtp-server): Prompt the user for a port number if
8556 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8557
08dcdbc9
TZ
85582012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8559
8560 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8561
2605051a
GM
85622012-02-13 Glenn Morris <rgm@gnu.org>
8563
8564 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8565
7ee99f32
TZ
85662012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8567
8568 * net/gnutls.el (gnutls-trustfiles): New variable.
8569 (gnutls-negotiate): Use it.
8570
5f0af64f
LI
85712012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8572
8573 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8574 does its stuff if Gnus is running.
8575
c14fcc95
AM
85762012-02-13 Alan Mackenzie <acm@muc.de>
8577
8578 Fix a loop in c-set-fl-decl-start.
8579
7a71b18d 8580 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8581 c-backward-syntactic-ws actually moves backwards.
8582
142b4d90
LL
85832012-02-13 Leo Liu <sdl.web@gmail.com>
8584
8585 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8586 beginning so that all \C-o chars are removed.
8587
fa9958a6
TZ
85882012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8589
dc9924b8 8590 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8591
0bc5886a
AM
85922012-02-12 Alan Mackenzie <acm@muc.de>
8593
8594 Fix infinite loop with long macros.
4d6769e1 8595 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8596
d4bd55e7
CY
85972012-02-12 Chong Yidong <cyd@gnu.org>
8598
8599 * window.el (display-buffer): Doc fix (Bug#10785).
8600
66f3fe22
GM
86012012-02-12 Glenn Morris <rgm@gnu.org>
8602
bd7da63e
GM
8603 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8604 (x-disown-selection-internal, x-get-selection-internal):
8605 Sync docs with the xselect.c versions.
8606
66f3fe22
GM
8607 * allout-widgets.el: Add missing license notice.
8608
3e0d2fa7
GM
86092012-02-11 Glenn Morris <rgm@gnu.org>
8610
cfecdf09
GM
8611 * select.el (x-get-selection-internal, x-own-selection-internal)
8612 (x-disown-selection-internal):
8613 * x-dnd.el (x-get-selection-internal): Update declarations.
8614
6d216d7f
GM
8615 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8616
2bed3f04
GM
8617 * window.el (window-sides-slots):
8618 * tool-bar.el (tool-bar-position):
8619 * term/xterm.el (xterm-extra-capabilities):
8620 * ses.el (ses-self-reference-early-detection):
8621 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8622 (verilog-auto-wire-type)
8623 (verilog-auto-delete-trailing-whitespace)
8624 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8625 (verilog-auto-tieoff-declaration):
8626 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8627 (sql-oracle-statement-starters, sql-oracle-scan-on):
8628 * progmodes/prolog.el (prolog-align-comments-flag)
8629 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8630 (prolog-left-indent-regexp, prolog-paren-indent-p)
8631 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8632 (prolog-types, prolog-mode-specificators)
8633 (prolog-determinism-specificators, prolog-directives)
8634 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8635 (prolog-electric-dot-flag)
8636 (prolog-electric-dot-full-predicate-template)
8637 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8638 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8639 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8640 (prolog-program-switches, prolog-prompt-regexp)
8641 (prolog-debug-on-string, prolog-debug-off-string)
8642 (prolog-trace-on-string, prolog-trace-off-string)
8643 (prolog-zip-on-string, prolog-zip-off-string)
8644 (prolog-use-standard-consult-compile-method-flag)
8645 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8646 (prolog-imenu-max-lines, prolog-info-predicate-index)
8647 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8648 (prolog-char-quote-workaround):
8649 * progmodes/cc-vars.el (c-defun-tactic):
8650 * net/tramp.el (tramp-encoding-command-interactive)
8651 (tramp-local-end-of-line):
8652 * net/soap-client.el (soap-client):
8653 * net/netrc.el (netrc-file):
8654 * net/gnutls.el (gnutls):
8655 * minibuffer.el (completion-category-overrides)
8656 (completion-cycle-threshold)
8657 (completion-pcm-complete-word-inserts-delimiters):
8658 * man.el (Man-name-local-regexp):
8659 * mail/feedmail.el (feedmail-display-full-frame):
8660 * international/characters.el (glyphless-char-display-control):
8661 * eshell/em-ls.el (eshell-ls-date-format):
8662 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8663 (lisp-lambda-list-keyword-parameter-indentation)
8664 (lisp-lambda-list-keyword-parameter-alignment):
8665 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8666 * dired-x.el (dired-omit-verbose):
8667 * cus-theme.el (custom-theme-allow-multiple-selections):
8668 * calc/calc.el (calc-highlight-selections-with-faces)
8669 (calc-lu-field-reference, calc-lu-power-reference)
8670 (calc-note-threshold):
8671 * battery.el (battery-mode-line-limit):
8672 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8673 (archive-7z-update):
8674 * allout.el (allout-prefixed-keybindings)
8675 (allout-unprefixed-keybindings)
8676 (allout-inhibit-auto-fill-on-headline)
8677 (allout-flattened-numbering-abbreviation):
8678 * allout-widgets.el (allout-widgets-auto-activation)
8679 (allout-widgets-icons-dark-subdir)
8680 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8681 (allout-widgets-theme-dark-background)
8682 (allout-widgets-theme-light-background)
8683 (allout-widgets-item-image-properties-emacs)
8684 (allout-widgets-item-image-properties-xemacs)
8685 (allout-widgets-run-unit-tests-on-load)
8686 (allout-widgets-time-decoration-activity)
8687 (allout-widgets-hook-error-post-time)
8688 (allout-widgets-track-decoration):
8689 Add missing :version tags to new defcustoms and defgroups.
8690
5fec1b8e
GM
8691 * progmodes/sql.el (sql-ansi-statement-starters)
8692 (sql-oracle-statement-starters): Add custom type.
8693
3e0d2fa7
GM
8694 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8695 (prolog-system-version): Give it a type.
8696
90b671e2
EZ
86972012-02-11 Eli Zaretskii <eliz@gnu.org>
8698
8699 * term/pc-win.el (x-select-text, x-selection-owner-p)
8700 (x-own-selection-internal, x-disown-selection-internal)
8701 (x-get-selection-internal): Sync doc strings and argument lists
8702 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8703
5eac0c02
LL
87042012-02-11 Leo Liu <sdl.web@gmail.com>
8705
8706 * progmodes/python.el (python-end-of-statement): Fix infinite
8707 loop. (Bug#10788)
8708
f82cb659
GM
87092012-02-10 Glenn Morris <rgm@gnu.org>
8710
8711 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8712 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8713
cc26d239
LI
87142012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8717 about SMTP before checking the From header.
8718
91027d08 8719 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8720 into own function for reuse by emacsbug.el.
8721
1be3ca5a
LL
87222012-02-10 Leo Liu <sdl.web@gmail.com>
8723
8724 * subr.el (condition-case-unless-debug): Rename from
8725 condition-case-no-debug. All callers changed.
8726 (with-demoted-errors): Fix caller.
8727
8728 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8729 * nxml/rng-valid.el (rng-do-some-validation):
8730 * emacs-lisp/package.el (package-refresh-contents)
8731 (package-menu-execute):
8732 * desktop.el (desktop-create-buffer):
91027d08 8733 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8734
b011fbfe
GM
87352012-02-10 Glenn Morris <rgm@gnu.org>
8736
b2096d72
GM
8737 * textmodes/bibtex.el:
8738 Add missing :version tags for new/changed defcustoms.
8739
b011fbfe
GM
8740 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8741
4c7e65bf
LI
87422012-02-09 Lars Ingebrigtsen <larsi@rusty>
8743
8744 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8745 (smtpmail-via-smtp): Use it, or fall back on the From address.
8746 (smtpmail-send-it): Ditto.
8747
f3934f6f
SM
87482012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8751 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8752 (byte-compile-tmp-var): New const.
8753 (byte-compile-defvar): Use it to minimize .elc size.
8754 Just use `defvar' rather than simulate it (bug#10761).
8755
a075a2c5
GM
87562012-02-09 Glenn Morris <rgm@gnu.org>
8757
cf3aa21b
GM
8758 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8759
354998cd
GM
8760 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8761 Add :version tags.
8762
dc9924b8
SM
8763 * progmodes/compile.el (compilation-error-screen-columns)
8764 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8765
dab3703d
GM
8766 * vc/log-view.el (log-view-toggle-entry-display):
8767 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8768
3f88cd72
GM
8769 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8770 (report-emacs-bug-can-use-xdg-email):
8771 (report-emacs-bug-insert-to-mailer): Doc fixes.
8772 (report-emacs-bug): Message fix.
8773
d95b247d
GM
8774 * net/browse-url.el (browse-url-can-use-xdg-open)
8775 (browse-url-xdg-open): Doc fixes.
8776
a075a2c5
GM
8777 * electric.el (electric-indent-mode, electric-pair-mode)
8778 (electric-layout-rules, electric-layout-mode): Doc fixes.
8779 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8780
ffb6157e
MR
87812012-02-08 Martin Rudalics <rudalics@gmx.at>
8782
8783 * server.el (server-unselect-display): Don't inadvertently kill
8784 the current buffer. (Bug#10729)
8785
e1ac4066
GM
87862012-02-08 Glenn Morris <rgm@gnu.org>
8787
34e8a2da
GM
8788 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8789 (sql-list-table): Doc fixes.
8790
b4ac6e8c
GM
8791 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8792 Comment out (does nothing).
8793
e1ac4066
GM
8794 * completion.el (dynamic-completion-mode):
8795 * dirtrack.el (dirtrack-debug-mode):
8796 * electric.el (electric-layout-mode):
8797 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8798 * face-remap.el (text-scale-mode, buffer-face-mode):
8799 * iimage.el (iimage-mode):
8800 * image-mode.el (image-transform-mode):
8801 * minibuffer.el (completion-in-region-mode):
8802 * scroll-lock.el (scroll-lock-mode):
8803 * simple.el (next-error-follow-minor-mode):
8804 * tar-mode.el (tar-subfile-mode):
8805 * tooltip.el (tooltip-mode):
8806 * vcursor.el (vcursor-use-vcursor-map):
8807 * wid-browse.el (widget-minor-mode):
8808 * emulation/tpu-edt.el (tpu-edt-mode):
8809 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8810 * international/iso-ascii.el (iso-ascii-mode):
8811 * language/thai-util.el (thai-word-mode):
8812 * mail/supercite.el (sc-minor-mode):
8813 * net/goto-addr.el (goto-address-mode):
8814 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8815 * progmodes/cwarn.el (cwarn-mode):
8816 * progmodes/flymake.el (flymake-mode):
8817 * progmodes/glasses.el (glasses-mode):
8818 * progmodes/hideshow.el (hs-minor-mode):
8819 * progmodes/pascal.el (pascal-outline-mode):
8820 * textmodes/enriched.el (enriched-mode):
8821 * vc/smerge-mode.el (smerge-mode):
8822 Doc fixes (minor mode argument).
8823
5e0d957f
EZ
88242012-02-07 Eli Zaretskii <eliz@gnu.org>
8825
8826 * ls-lisp.el (ls-lisp-sanitize): New function.
8827 (ls-lisp-insert-directory): Use it to fix or remove any elements
8828 in file-alist with missing attributes. (Bug#4673)
8829
98d7371e
AM
88302012-02-07 Alan Mackenzie <acm@muc.de>
8831
8832 Fix spurious recognition of c-in-knr-argdecl.
8833
8834 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8835 putative K&R region.
8836
667ced3a
AM
88372012-02-07 Alan Mackenzie <acm@muc.de>
8838
eb864a71
LM
8839 * progmodes/cc-engine.el (c-forward-objc-directive):
8840 Prevent looping in "#pragma mark @implementation".
667ced3a 8841
5b77774d
MA
88422012-02-07 Michael Albinus <michael.albinus@gmx.de>
8843
8844 * notifications.el (notifications-on-closed-signal): Make `reason'
8845 optional. (Bug#10744)
8846
af008560
GM
88472012-02-07 Glenn Morris <rgm@gnu.org>
8848
60d47423
GM
8849 * emacs-lisp/easy-mmode.el (define-minor-mode):
8850 Doc fixes for the macro and the mode it defines.
8851
dd605cc4
GM
8852 * image.el (imagemagick-types-inhibit): Doc fix.
8853
af008560
GM
8854 * cus-start.el (imagemagick-render-type): Add it.
8855
5cc59a37
LI
88562012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8857
4d6769e1
JB
8858 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8859 Set the default at load time, too, so that `font-lock-fontify-buffer'
8860 can be called without setting up the entire mode first. This fixes
8861 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8862
9a6dd747
CY
88632012-02-06 Chong Yidong <cyd@gnu.org>
8864
2d16b285
CY
8865 * simple.el (list-processes--refresh): Delete exited processes
8866 (Bug#8094).
8867
171e9b6e
CY
8868 * comint.el (comint-next-prompt): next-single-char-property-change
8869 and prev-single-char-property-change never return nil (Bug#8657).
8870
9a6dd747
CY
8871 * custom.el (defcustom): Doc fix (Bug#9711).
8872
aa4589a7
CY
88732012-02-05 Chong Yidong <cyd@gnu.org>
8874
5c2a252f
CY
8875 * cus-edit.el (custom-variable-reset-backup): Quote the value
8876 before storing it in the customized-value property (Bug#6712).
4aab9006 8877 (custom-display): Add a customization type tag.
983b9602 8878 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8879
aa4589a7
CY
8880 * wid-edit.el (widget-field-value-get): New optional arg to
8881 suppress trailing whitespace truncation.
8882 (character): Use it (Bug#2689).
8883
1ff980ae
AS
88842012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8887 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8888
03988c98
CY
88892012-02-05 Chong Yidong <cyd@gnu.org>
8890
eeb6cc88
CY
8891 * cus-edit.el (custom-variable-value-create): For mismatched
8892 types, show the current value (Bug#7600).
8893
03988c98
CY
8894 * custom.el (defcustom): Doc fix.
8895
f8cdeef0
GM
88962012-02-05 Glenn Morris <rgm@gnu.org>
8897
8898 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8899
0696d255
JB
89002012-02-05 Juanma Barranquero <lekktu@gmail.com>
8901
8902 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8903 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8904 (pp-last-sexp): Use `looking-at-p'.
8905
34c99998
GM
89062012-02-04 Glenn Morris <rgm@gnu.org>
8907
8f05da42
GM
8908 * files.el (revert-buffer):
8909 Doc fix (mention revert-buffer-in-progress-p).
8910
f160676e
GM
8911 * emacs-lisp/ert-x.el (ert-simulate-command):
8912 Check deferred-action-list (which is obsolete) is bound.
8913
c7291ad9
GM
8914 * subr.el (with-wrapper-hook): Doc fixes.
8915
34c99998
GM
8916 * simple.el (filter-buffer-substring-functions)
8917 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8918
6283a7d3
LL
89192012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8920
8921 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8922 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8923
e96e3013
LL
89242012-02-04 Leo Liu <sdl.web@gmail.com>
8925
8926 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8927
8ded50f2
GM
89282012-02-04 Glenn Morris <rgm@gnu.org>
8929
82ff1d13
GM
8930 * image.el (image-extension-data): Add obsolete alias.
8931
987a0a16
GM
8932 * isearch.el (isearch-update): Doc fix.
8933
ea32ef46
GM
8934 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8935
8ded50f2
GM
8936 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8937
eea14f31
GM
89382012-02-03 Glenn Morris <rgm@gnu.org>
8939
8940 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8941 (image-animate-timeout): Doc fix.
8942
8943 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8944
12f381b7
GM
89452012-02-02 Glenn Morris <rgm@gnu.org>
8946
953cebf5
GM
8947 * server.el (server-auth-dir): Doc fix.
8948 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8949
12f381b7
GM
8950 * subr.el (run-mode-hooks): Doc fix.
8951
953a8c3b
JL
89522012-02-02 Juri Linkov <juri@jurta.org>
8953
8954 * image-mode.el (image-toggle-display-image): Remove tautological
8955 `major-mode' from the `derived-mode-p' test.
8956
c5d3843c
KH
89572012-02-02 Kenichi Handa <handa@m17n.org>
8958
9f6e692e 8959 * composite.el (compose-region): Cancel previous change.
c5d3843c 8960
159462d4 89612012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8962
8963 * composite.el (compose-region, compose-string): Signal error for
8964 a null string component (Bug#6988).
8965
9f562668
CY
89662012-02-01 Chong Yidong <cyd@gnu.org>
8967
e2cef717
CY
8968 * view.el (view-buffer-other-window, view-buffer-other-frame):
8969 Handle special modes like view-buffer (Bug#10650).
8970 (view-buffer): Simplify.
8971
9f562668
CY
8972 * frame.el (set-frame-font): Tweak meaning of third argument.
8973
9f6e692e
JB
8974 * dynamic-setting.el (font-setting-change-default-font):
8975 Use set-frame-font (Bug#9982).
9f562668 8976
781acb9f
GM
89772012-02-01 Glenn Morris <rgm@gnu.org>
8978
6035be52
GM
8979 * progmodes/compile.el (compilation-internal-error-properties):
8980 Respect compilation-first-column in the "*compilation*" buffer.
8981
781acb9f
GM
8982 * emacs-lisp/easy-mmode.el (define-minor-mode):
8983 Relax :variable's test for a named function.
8984
abbceb00
AM
89852012-01-31 Alan Mackenzie <acm@muc.de>
8986
8987 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8988 off by one error.
8989
fce3fdeb
CY
89902012-01-31 Chong Yidong <cyd@gnu.org>
8991
8992 * frame.el (set-frame-font): New arg ALL-FRAMES.
8993
8994 * menu-bar.el (menu-set-font): Use set-frame-font.
8995
8996 * faces.el (face-spec-reset-face): Don't apply unspecified
8997 attribute values to the default face.
8998
47893581
JB
89992012-01-31 Juanma Barranquero <lekktu@gmail.com>
9000
9001 * progmodes/cwarn.el (cwarn): Remove dead link.
9002 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9003 Remove * from defcustom docstrings.
9004 (turn-on-cwarn-mode): Make obsolete.
9005 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9006 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9007
e58e988a
GM
90082012-01-31 Glenn Morris <rgm@gnu.org>
9009
60dc2671 9010 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9011 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9012 Allow named functions to be used as the cdr of :variable.
e58e988a 9013
7a3f511d
GM
90142012-01-30 Glenn Morris <rgm@gnu.org>
9015
9016 * emacs-lisp/authors.el (authors-fixed-entries):
9017 Remove reference to deleted file rnewspost.el.
9018
cb882333
JB
90192012-01-29 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * window.el (window-with-parameter): Remove unused variable `windows'.
9022 (window--side-check): Remove unused variable `code'.
9023 (window--resize-siblings): Remove unused variable `first'.
9024 (adjust-window-trailing-edge): Remove unused variable `failed'.
9025 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9026 Use `let', not `let*'.
9027 (balance-windows-2): Remove unused variable `found'.
9028 (window--state-put-2): Remove unused variable `splits'.
9029 (window-state-put): Remove unused variable `selected'.
9030 (same-window-p): Use `string-match-p'.
9031 (display-buffer-assq-regexp): Remove unused variable `value'.
9032 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9033 Mark argument ALIST as ignored.
9034 (pop-to-buffer): Remove unused variable `old-window'.
9035
907201af
EZ
90362012-01-29 Eli Zaretskii <eliz@gnu.org>
9037
9038 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9039 and .lzma compressed files.
9040
ea162670
CY
90412012-01-29 Chong Yidong <cyd@gnu.org>
9042
5b95ee8a
CY
9043 * frame.el (window-system-default-frame-alist): Doc fix.
9044
ea162670
CY
9045 * dynamic-setting.el (font-setting-change-default-font): Don't
9046 change the default face if SET-FONT argument is non-nil (Bug#9982).
9047
d6e6f4b1
SB
90482012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9049
9050 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9051
0f29fa41 90522012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9053
9054 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9055 breakpoints in files outside current directory (Bug#6098).
9056
db174434
CY
90572012-01-29 Chong Yidong <cyd@gnu.org>
9058
6b25e4e2
SE
9059 * progmodes/python.el: Require ansi-color at top-level.
9060
6df6ae42
JB
9061 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9062 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9063 (lisp-mode-abbrev-table): Add doc.
9064 (lisp-mode-variables): Don't set local-abbrev-table.
9065 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9066
e70ee681
RW
90672012-01-28 Roland Winkler <winkler@gnu.org>
9068
9069 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9070
ace88aa2
RW
90712012-01-28 Roland Winkler <winkler@gnu.org>
9072
9073 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9074 (bibtex-set-dialect): Use it. Either set global values of
9075 dialect-dependent variables or bind these variables buffer-locally
9076 (Bug#10254).
9077 (bibtex-mode): Call bibtex-set-dialect via
9078 hack-local-variables-hook.
eb864a71
LM
9079 (bibtex-dialect): Update docstring.
9080 Add safe-local-variable predicate.
ace88aa2
RW
9081 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9082 bibtex-set-dialect.
9083 (bibtex-mode-map): Define menu for each dialect.
9084 (bibtex-entry): Fix docstring.
9085
93376c5b
CY
90862012-01-28 Chong Yidong <cyd@gnu.org>
9087
9088 * eshell/esh-arg.el (eshell-quote-argument): New function.
9089
9090 * eshell/esh-ext.el (eshell-invoke-batch-file):
9091 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9092 first arg to eshell-parse-command (Bug#10523).
9093
4372494f
DA
90942012-01-28 Drew Adams <drew.adams@oracle.com>
9095
9096 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9097 `default-directory' is non-nil.
9098
4d4ec1f8
EZ
90992012-01-28 Eli Zaretskii <eliz@gnu.org>
9100
9101 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9102 line that displays system-configuration-options. (Bug#9924)
9103
7c188927
DA
91042012-01-28 Drew Adams <drew.adams@oracle.com>
9105
9106 * descr-text.el (describe-char): Show information about POS, in
9107 addition to information about the character at POS. Improve and
9108 update the doc string. Change "code point" to "code point in
9109 charset", to avoid confusion with the character's Unicode code
9110 point shown above that. (Bug#10129)
9111
e0da685a
EZ
91122012-01-28 Eli Zaretskii <eliz@gnu.org>
9113
9114 * descr-text.el (describe-char): Show the raw character, not only
9115 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9116 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9117 for the reasons.
9118
70550acf
PH
91192012-01-28 Phil Hagelberg <phil@hagelb.org>
9120
eb864a71
LM
9121 * emacs-lisp/package.el (package-install):
9122 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9123
0ce8e868
CY
91242012-01-28 Chong Yidong <cyd@gnu.org>
9125
cb882333
JB
9126 * emacs-lisp/package.el (package-maybe-load-descriptor):
9127 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9128 (package-maybe-load-descriptor): Use it.
9129 (package-download-transaction): Fully load required packages
9130 inside the loop, so that `require' calls work (Bug#10593).
9131 (package-install): No need to call package-initialize now.
9132
2e7f3bea
CY
91332012-01-28 Chong Yidong <cyd@gnu.org>
9134
6e9bad14
CY
9135 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9136
f823b8ca
CY
9137 * tooltip.el (tooltip-mode): Doc fix.
9138 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9139
2680c309
CY
9140 * frame.el (set-cursor-color): Doc fix (Bug#352).
9141
d7a9e63b
CY
9142 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9143 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9144
2e7f3bea
CY
9145 * cus-edit.el (custom-buffer-create-internal): Fix search button
9146 action (Bug#10542).
2ae01800 9147 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9148
fc4f7a23
EW
91492012-01-27 Eduard Wiebe <usenet@pusto.de>
9150
9151 * dired.el (dired-mark-files-regexp):
9152 Include any subdirectory components. (Bug#10445)
9153
7dd37071
ML
91542012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9155
9156 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9157 Handle [host]:port syntax. (Bug#10533)
9158
a268160b
AH
91592012-01-27 Alex Harsanyi <harsanyi@mac.com>
9160
9161 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9162
e43273ef
GM
91632012-01-26 Glenn Morris <rgm@gnu.org>
9164
9165 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9166 * term.el (term-raw-escape-map): Use Control-X-prefix.
9167 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9168
1edf595d
MR
91692012-01-25 Martin Rudalics <rudalics@gmx.at>
9170
9171 * window.el (window-state-get, window--state-get-1): Don't deal
9172 with fixed-sizeness of windows. Simplify code.
9173
fa8eafef
JC
91742012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9175
6df6ae42
JB
9176 * window.el (window--state-get-1, window--state-put-2):
9177 Don't save and restore the mark.
fa8eafef 9178
0b21c100
CY
91792012-01-25 Chong Yidong <cyd@gnu.org>
9180
9181 * custom.el (custom-variable-p): Doc fix.
9182
5ae1a6c8
GM
91832012-01-25 Glenn Morris <rgm@gnu.org>
9184
40047858
GM
9185 * dired.el (dired-goto-file): Handle some of the more common
9186 characters that `ls -b' escapes. (Bug#10596)
9187
5ddce96c
GM
9188 * progmodes/compile.el (compilation-next-error-function):
9189 Respect compilation-first-column in the "*compilation*" buffer.
9190 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9191
5ae1a6c8
GM
9192 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9193
b559f1a9
GM
91942012-01-24 Glenn Morris <rgm@gnu.org>
9195
9196 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9197
6725d21a
JD
91982012-01-24 Julien Danjou <julien@danjou.info>
9199
9200 * color.el (color-rgb-to-hsl): Fix value computing.
9201 (color-hue-to-rgb): New function.
9202 (color-hsl-to-rgb): New function.
9203 (color-clamp, color-saturate-hsl, color-saturate-name)
9204 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9205 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9206
70df4bbe
GM
92072012-01-24 Glenn Morris <rgm@gnu.org>
9208
9209 * vc/vc-rcs.el (vc-rcs-create-tag):
9210 * vc/vc-sccs.el (vc-sccs-create-tag):
9211 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9212
802a2ae2
ML
92132012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9214
9215 * eshell/esh-util.el (eshell-read-hosts-file):
9216 Skip comment lines. (Bug#10549)
9217
d7128bb1
ML
9218 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9219
d1a5c3b4
JB
92202012-01-23 Juanma Barranquero <lekktu@gmail.com>
9221
2724d9c7
JB
9222 * subr.el (display-delayed-warnings): Doc fix.
9223 (collapse-delayed-warnings): New function to collapse identical
9224 adjacent warnings.
9225 (delayed-warnings-hook): Add it.
d1a5c3b4 9226
a5509865
MA
92272012-01-22 Michael Albinus <michael.albinus@gmx.de>
9228
9229 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9230
a5509865
MA
9231 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9232 (tramp-default-user-alist): Don't add "pscp".
9233 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9234 property "login-as", if set. (Bug#10530)
9235
cc6d5805
MA
92362012-01-21 Michael Albinus <michael.albinus@gmx.de>
9237
9238 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9239 "plink1" and "psftp". (Bug#10530)
9240
92412012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9242
9243 * international/mule-cmds.el (prefer-coding-system): Show a
9244 warning message if the default value of file-name-coding-system
9245 was not changed.
9246
f0960428
JC
92472012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9248
cb882333
JB
9249 * windmove.el (windmove-reference-loc):
9250 Fix windmove-reference-loc miscalculation.
f0960428 9251
dd6f2a63
JB
92522012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9253
9254 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9255 default unit.
9256
7b447e9b
GM
92572012-01-21 Glenn Morris <rgm@gnu.org>
9258
117a9ea1
GM
9259 * international/mule.el (auto-coding-alist): Add .tbz.
9260
7b447e9b
GM
9261 * files.el (local-enable-local-variables): Doc fix.
9262 (inhibit-local-variables-regexps): Rename from
9263 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9264 Doc fix. Add some extensions from auto-coding-alist.
9265 (inhibit-local-variables-suffixes):
9266 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9267 (inhibit-local-variables-p):
9268 New function, extracted from set-auto-mode-1.
9269 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9270 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9271 (hack-local-variables): Doc fix. Make the mode-only case
9272 respect enable-local-variables and friends.
9273 Respect inhibit-local-variables-regexps for file-locals, but
9274 not for directory-locals.
9275 (set-visited-file-name):
9276 Take account of inhibit-local-variables-regexps.
9277 Whether it applies may change as the file name is changed.
9278 * jka-cmpr-hook.el (jka-compr-install):
9279 * jka-compr.el (jka-compr-uninstall):
9280 Update for inhibit-first-line-modes-suffixes name change.
9281
dd6e3cdd
MR
92822012-01-20 Martin Rudalics <rudalics@gmx.at>
9283
9284 * help-macro.el (make-help-screen): Temporarily restore original
9285 binding for minor-mode-map-alist (Bug#10454).
9286
0d0deb38
JD
92872012-01-19 Julien Danjou <julien@danjou.info>
9288
9289 * color.el (color-name-to-rgb): Use the white color to find the max
9290 color component value and return correctly computed values.
9291 (color-name-to-rgb): Add missing float conversion for max value.
9292
34a02f46
MR
92932012-01-19 Martin Rudalics <rudalics@gmx.at>
9294
9295 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9296 special state value for window-persistent-parameters.
9297 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9298 (window--state-put-2): Reset all window parameters to nil before
9299 assigning values of persistent parameters.
9300
606c44c4
AM
93012012-01-18 Alan Mackenzie <acm@muc.de>
9302
9303 Eliminate sluggishness and hangs in fontification of "semicolon
9304 deserts".
9305
cb882333
JB
9306 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9307 Change value 10000 -> 3000.
606c44c4
AM
9308 (c-state-safe-place): Reformulate so it doesn't stack up an
9309 infinite number of wrong entries in c-state-nonlit-pos-cache.
9310 (c-determine-limit-get-base, c-determine-limit): New functions to
9311 determine backward search limits disregarding literals.
9312 (c-find-decl-spots): Amend commenting.
9313 (c-cheap-inside-bracelist-p): New function which detects "={".
9314
9315 * progmodes/cc-fonts.el
9316 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9317 backward search.
9318 (c-font-lock-declarations): Fix an occurrence of point being
9319 undefined. Check additionally for point being in a bracelist or
9320 near a macro invocation without a semicolon so as to avoid a
9321 fruitless time consuming search for a declarator. Give a more
9322 precise search limit for declarators using the new
9323 c-determine-limit.
9324
f3860cea
GM
93252012-01-18 Glenn Morris <rgm@gnu.org>
9326
9327 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9328 (set-auto-mode): Doc fixes.
9329
1db03b16
GM
93302012-01-17 Glenn Morris <rgm@gnu.org>
9331
0e6038be
GM
9332 * isearch.el (search-nonincremental-instead): Fix doc typo.
9333
1db03b16
GM
9334 * dired.el (dired-insert-directory): Handle newlines in directory name.
9335 (dired-build-subdir-alist): Unescape newlines in directory name.
9336
4cb0aa75
MA
93372012-01-17 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9340 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9341 (tramp-action-terminal): Use it. (Bug#10530)
9342
1d00653d
SM
93432012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9346
6a6ee00d
MR
93472012-01-16 Martin Rudalics <rudalics@gmx.at>
9348
9349 * window.el (window-state-ignored-parameters): Remove variable.
9350 (window--state-get-1): Rename argument MARKERS to IGNORE.
9351 Handle persistent window parameters. Make copy of clone-of
9352 parameter only if requested. (Bug#10348)
9353 (window--state-put-2): Install a window parameter only if it has
9354 a non-nil value or an existing parameter shall be overwritten.
9355
97912def
MA
93562012-01-15 Michael Albinus <michael.albinus@gmx.de>
9357
9358 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9359
688070a5
EZ
93602012-01-14 Eli Zaretskii <eliz@gnu.org>
9361
9362 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9363 don't pass the (nil) value of `upnode' to string-match.
9364
301afadc
CY
93652012-01-14 Chong Yidong <cyd@gnu.org>
9366
9367 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9368 Fix values recognized by the cursorBlink resource.
301afadc 9369
9e5788aa
PE
93702012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9371
9372 * epg.el (epg--make-temp-file): Avoid permission race condition
9373 when running on old Emacs versions (bug#10403).
9374
3cdb7f5a
GM
93752012-01-14 Glenn Morris <rgm@gnu.org>
9376
9377 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9378
8c82b1b4
AM
93792012-01-13 Alan Mackenzie <acm@muc.de>
9380
9381 Fix filling for when filladapt mode is enabled.
9382
9383 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9384 c-mask-paragraph, pass in `fill-paragraph' rather than
9385 `fill-region-as-paragraph'. (This is a reversion of a previous
9386 change.)
eb864a71
LM
9387 * progmodes/cc-mode.el (c-basic-common-init):
9388 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9389
e517eda4
GM
93902012-01-13 Glenn Morris <rgm@gnu.org>
9391
1498536e
GM
9392 * dired.el (dired-switches-escape-p): New function.
9393 (dired-insert-directory): Use dired-switches-escape-p.
9394 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9395
e517eda4
GM
9396 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9397
328f984d
GM
93982012-01-12 Glenn Morris <rgm@gnu.org>
9399
9400 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9401 changes in adaptive-fill-regexp. (Bug#10276)
9402
2cc769a8
AM
94032012-01-11 Alan Mackenzie <acm@muc.de>
9404
9405 Fix Emacs bug #10463 - put `widen's around the critical spots.
9406
1d00653d 9407 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9408 widen around each invocation of c-state-pp-to-literal. Remove an
9409 unused let variable.
9410
e52c37fa
GM
94112012-01-11 Glenn Morris <rgm@gnu.org>
9412
9413 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9414 Doc fix.
e52c37fa 9415
96f8741e
CY
94162012-01-10 Chong Yidong <cyd@gnu.org>
9417
1d00653d
SM
9418 * net/network-stream.el (network-stream-open-starttls):
9419 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9420 response to the capability command.
9421
b09a806e
GM
94222012-01-10 Glenn Morris <rgm@gnu.org>
9423
9424 * mail/unrmail.el (unrmail): Tweak previous change.
9425
7655cb66
CY
94262012-01-09 Chong Yidong <cyd@gnu.org>
9427
9428 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9429
9d5a8f0b
AM
94302012-01-08 Alan Mackenzie <acm@muc.de>
9431
9432 Optimise font locking in long enum definitions.
9433
9434 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9435 arm to a cond form to handle enums.
9436 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9437 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9438
9a0115ab 94392012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9440
9441 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9442 (Bug#10401)
6bb72cbd 9443
f186bb95
LMI
94442012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9445
29232a68
LMI
9446 * faces.el (set-face-attribute): Clarify the meaning of the nil
9447 frame (bug#10294).
9448
4e5d086d
LMI
9449 * subr.el (with-selected-frame): Mention that the selected frame
9450 is restored (bug#9980).
9451
8e66aebe
LMI
9452 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9453 (bug#9759).
9454
cd394be1 9455 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9456 (password-read): Don't autoload unused function.
9457
adf4e762
JB
94582012-01-07 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * progmodes/which-func.el (which-func-mode): Turn into a
9461 non-interactive function and mark as obsolete (bug#10428).
9462
89bd9ccd
CY
94632012-01-06 Chong Yidong <cyd@gnu.org>
9464
9465 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9466 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9467 functions, along with 1 and -1.
9468
4afee9d5
EZ
94692012-01-06 Eli Zaretskii <eliz@gnu.org>
9470
9471 * time.el (display-time-load-average)
9472 (display-time-default-load-average): Doc fixes. See the thread
9473 starting at
9474 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9475 for the details.
9476
536aea70
GM
94772012-01-06 Glenn Morris <rgm@gnu.org>
9478
665ae865
GM
9479 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9480 has no messages. (Bug#10377)
9481
c869783d
GM
9482 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9483 than Info-edit. (Bug#10385)
9484
2bb4227e
GM
9485 * time.el (display-time-load-average, display-time-next-load-average):
9486 Doc fixes.
9487
7d5944b9
GM
9488 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9489 local setting of buffer-read-only to the input buffer. (Bug#10419)
9490
536aea70
GM
9491 * calendar/calendar.el (calendar-mode):
9492 Locally set scroll-margin to 0. (Bug#10379)
9493
7dccca16
UM
94942012-01-06 Ulrich Mueller <ulm@gentoo.org>
9495
9496 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9497
afbb7930
GM
94982012-01-05 Glenn Morris <rgm@gnu.org>
9499
9500 * eshell/em-unix.el (diff-no-select): Autoload it.
9501 (eshell/diff): Use diff-no-select. (Bug#10420)
9502
04482335
CY
95032012-01-05 Chong Yidong <cyd@gnu.org>
9504
7baca3bc
CY
9505 * shell.el (shell-dynamic-complete-functions): Revert last change.
9506 (shell-command-completion-function): New function.
9507 (shell-completion-vars): Use it to implement
9508 shell-completion-execonly (Bug#10417).
9509
04482335
CY
9510 * custom.el (enable-theme): Don't set custom-safe-themes.
9511
1d00653d
SM
9512 * cus-theme.el (custom-theme-merge-theme):
9513 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9514
bb5aa5d6
MM
95152012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9516
9517 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9518 first prompt in `sql-interacive-mode'.
9519 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9520 keywords.
6df6ae42 9521 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9522 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9523 context of original buffer. Invoke `sql-login-hook'.
9524
a7183d7c
EZ
95252012-01-04 Eli Zaretskii <eliz@gnu.org>
9526
9527 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9528 letters in cite-prefix.
9529
a1eacd1e
LMI
95302012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9531
9532 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9533
787cdb34
CY
95342012-01-03 Chong Yidong <cyd@gnu.org>
9535
1d00653d
SM
9536 * shell.el (shell-dynamic-complete-functions):
9537 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9538 comint-filename-completion first (Bug#10417).
9539
30710442
RS
95402012-01-02 Richard Stallman <rms@gnu.org>
9541
9542 * battery.el (battery-status-function):
9543 Detect when to use battery-yeeloong-sysfs.
9544 (battery-echo-area-format): Add string for Yeeloong.
9545 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9546 (battery-yeeloong-sysfs): New function.
9547
f75bfc33
CY
95482012-01-02 Chong Yidong <cyd@gnu.org>
9549
9550 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9551 (dirtrack): Merge code for handling relative filenames in prompt
9552 from shell-dir-cookie-watcher.
9553 (dirtrack-debug-message): New arg to avoid excess format calls.
9554
9555 * shell.el (shell-dir-cookie-re): Variable deleted.
9556 (shell-dir-cookie-watcher): Function deleted.
9557 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9558 with dirtrack-mode.
9559
651e947e
EZ
95602012-01-01 Eli Zaretskii <eliz@gnu.org>
9561
1d00653d
SM
9562 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9563 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9564 libgnutls-26.dll.
9565
94d4c7dc
AS
95662011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9567
9568 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9569
8d43f3cd
EZ
95702011-12-31 Eli Zaretskii <eliz@gnu.org>
9571
9572 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9573 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9574
98c8795a
MA
95752011-12-29 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9578 also for alternative shells.
9579 (tramp-open-connection-setup-interactive-shell): Check, whether
9580 the shell is a busybox.
9581 (tramp-send-command): Don't suppress multiple prompts for
9582 busyboxes, it hurts.
9583
51281b32
CY
95842011-12-28 Chong Yidong <cyd@gnu.org>
9585
9586 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9587 (gdb-get-source-file): Move mode line update to
9588 gdb-get-source-file (Bug#10087).
9589
2170cb53
CY
95902011-12-25 Chong Yidong <cyd@gnu.org>
9591
9592 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9593 gud-gdb-marker-filter without taking it as an argument.
9594 (gud-gdb-run-command-fetch-lines): Caller changed.
9595 (gud-gdb-completion-function): New variable.
9596 (gud-gdb-completion-at-point): Use it.
9597 (gud-gdb-completions-1): Split from gud-gdb-completions.
9598
9599 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9600 function as separate arguments.
9601 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9602 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9603 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9604 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9605 (gdb-stopped, def-gdb-auto-update-trigger)
9606 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9607 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9608 Callers changed.
2170cb53
CY
9609 (gud-gdbmi-completions): New function.
9610 (gdb): Use it for generating the completion table.
9611
be8b11bb
AM
96122011-12-24 Alan Mackenzie <acm@muc.de>
9613
9614 Introduce a mechanism to widen the region used in context font
1d00653d 9615 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9616
1d00653d
SM
9617 * progmodes/cc-langs.el (c-before-font-lock-functions):
9618 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9619 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9620 functions to be run just before context (etc.) font locking.
9621
9622 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9623 New, functionality extracted from
be8b11bb 9624 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9625 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9626 (c-after-change): Set c-in-after-change-fontification.
9627 (c-set-fl-decl-start): Rejig its interface, so it can be called
9628 from both after-change and context fontifying.
b81d40f0
JB
9629 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9630 New functions.
9631 (c-standard-font-lock-fontify-region-function): New variable.
9632 (c-font-lock-fontify-region): New function.
be8b11bb 9633
341cf6ac
JL
96342011-12-24 Juri Linkov <juri@jurta.org>
9635
9636 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9637 (Bug#10348)
9638
bffcee0a
MA
96392011-12-23 Michael Albinus <michael.albinus@gmx.de>
9640
9641 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9642 existence of source file. (Bug#10325)
9643
cb5e207c
AM
96442011-12-23 Alan Mackenzie <acm@muc.de>
9645
9646 Fix unstable fontification inside templates.
9647
b81d40f0
JB
9648 * progmodes/cc-langs.el (c-before-font-lock-functions):
9649 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9650 additionally has c-set-fl-decl-start. The other languages (apart
9651 from AWK) have that as a single entry.
9652
b81d40f0
JB
9653 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9654 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9655 c-set-fl-decl-start.
9656
b81d40f0
JB
9657 * progmodes/cc-mode.el (c-common-init, c-after-change):
9658 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9659 (c-set-fl-decl-start): New function, extracted from
9660 c-font-lock-enclosing-decls and enhanced.
9661
60ff536c
JB
96622011-12-23 Juanma Barranquero <lekktu@gmail.com>
9663
9664 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9665
1c4757d6
JL
96662011-12-22 Juri Linkov <juri@jurta.org>
9667
9668 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9669
d031f2c7
CY
96702011-12-22 Chong Yidong <cyd@gnu.org>
9671
9672 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9673
bace743a
DA
96742011-12-21 Drew Adams <drew.adams@oracle.com>
9675
9676 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9677
728a1f2b
JC
96782011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9679
9680 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9681
0d373f73
TZ
96822011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9683
fec0aaa4
TZ
9684 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9685 highlighting and support. Fix up comments for capitalization.
9686 (cfengine-mode-debug): New var.
9687 (cfengine3-mode): Change the modeline indicator to "CFE3".
9688 (cfengine3-font-lock-keywords): Improve defun highlighting.
9689 (cfengine2-actions): Rename from `cfengine-actions'.
9690 (cfengine2-font-lock-keywords): Rename from
9691 `cfengine-font-lock-keywords'.
9692 (cfengine2-imenu-expression): Rename from
9693 `cfengine-imenu-expression'.
9694 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9695 (cfengine2-beginning-of-defun): Rename from
9696 `cfengine-beginning-of-defun'.
9697 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9698 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9699 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9700 modeline indicator to "CFE2".
9701 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9702 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9703
bc86f573
CY
97042011-12-21 Chong Yidong <cyd@gnu.org>
9705
9706 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9707 filename argument.
9708
d45ba96b
MR
97092011-12-20 Martin Rudalics <rudalics@gmx.at>
9710
9711 * window.el (window-normalize-buffer-to-display): Remove.
9712 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9713
a6198c90
CY
97142011-12-19 Chong Yidong <cyd@gnu.org>
9715
9716 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9717 Don't signal an error in a predicate function; return non-nil.
9718 (vc-dir-mark-file): Move the error here.
9719 (vc-dir-mark-unmark): If acting on the region, keep going if one
9720 of the entries cannot be marked/unmarked.
9721 (vc-dir-mark-all-files): If current entry is a directory, mark
9722 only child files, as documented.
9723
34c5fb55
VB
97242011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9725
9726 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9727 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9728 addition.
9729
c803b2b7
JD
97302011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9731
9732 * term/ns-win.el (ns-get-selection-internal)
9733 (ns-store-selection-internal): Declare.
1154d12e
JB
9734 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9735 Declare as obsolete.
9736 (ns-get-pasteboard, ns-paste-secondary):
9737 Use ns-get-selection-internal.
9738 (ns-set-pasteboard, ns-copy-including-secondary):
9739 Use ns-store-selection-internal.
c803b2b7 9740
9cff91f8 97412011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9742
9743 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9744 (vc-deduce-fileset): Doc fix.
99a289d9 9745
f16c898a
AS
97462011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9747
9748 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9749
763237c4
SS
97502011-12-13 Sam Steingold <sds@gnu.org>
9751
9752 * man.el (Man-getpage-in-background): When running under a
9753 window-system, ignore $MANWIDTH and $COLUMNS.
9754
5fc1c122
KH
97552011-12-15 Kenichi Handa <handa@m17n.org>
9756
9757 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9758 (setup-ethiopic-environment-internal): Comment out key-binding for
9759 ethio-toggle-punctuation.
9760
13d49cbb
AM
97612011-12-13 Alan Mackenzie <acm@muc.de>
9762
898169a2
AM
9763 Add the switch statement to AWK Mode.
9764
7a71b18d 9765 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9766 "default" to the keywords regexp.
9767
7a71b18d 9768 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9769 expression as the rest.
1d00653d
SM
9770 (c-nonlabel-token-key): Allow string literals for AWK.
9771 Refactor for the other modes.
898169a2 9772
13d49cbb 9773 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9774 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9775 routines. Limit backward searching in c-font-lock-enclosing.decl.
9776
9777 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9778 pp-state and literal type in addition to the limits.
1d00653d 9779 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9780 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9781 (c-slow-in-literal, c-fast-in-literal): Remove.
9782 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9783
9784 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9785 being in a literal. Add a limit for backward searching.
9786
9787 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9788 c-slow-in-literal.
9789
15e0efc7
SM
97902011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9793
454592a6
MR
97942011-12-13 Martin Rudalics <rudalics@gmx.at>
9795
9796 * window.el (delete-other-windows): Use correct frame in call to
9797 window-with-parameter.
9798
87393f26
DP
97992011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9800
9801 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9802 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9803 (makefile-gmake-statements, makefile-makepp-statements):
9804 Use it and add new makepp keywords.
9805 (makefile-makepp-font-lock-keywords): Add new patterns.
9806 (makefile-match-function-end): Match new [...] and [[...]].
9807
11636b22
JB
98082011-12-11 Juanma Barranquero <lekktu@gmail.com>
9809
9810 * ses.el (ses-call-printer-return, ses-cell-property-get)
9811 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9812 (ses-create-cell-variable, ses-reset-header-string)
9813 (ses-cell-set-formula, ses-repair-cell-reference-all)
9814 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9815 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9816 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9817 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9818 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9819 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9820 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9821 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9822 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9823 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9824 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9825 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9826
cf018193
VB
98272011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9828
9829 * ses.el: The overall change is to add cell renaming, that is
9830 setting fancy names for cell symbols other than name matching
9831 "\\`[A-Z]+[0-9]+\\'" regexp .
9832 (ses-create-cell-variable): New defun.
9833 (ses-relocate-formula): Relocate formulas only for cells the
9834 symbols of which are not renamed, i.e. symbols whose names do not
9835 match regexp "\\`[A-Z]+[0-9]+\\'".
9836 (ses-relocate-all): Relocate values only for cells the symbols of
9837 which are not renamed.
9838 (ses-load): Create cells variables as the (ses-cell ...) are read,
9839 in order to check row col consistency with cell symbol name only
9840 for cells that are not renamed.
9841 (ses-replace-name-in-formula): New defun.
9842 (ses-rename-cell): New defun.
9843
ee957461
CY
98442011-12-11 Chong Yidong <cyd@gnu.org>
9845
9846 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9847 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9848
9a9e9ef0
MR
98492011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9850
9851 * window.el (other-window): Fix docstring.
9852
92a8eba5
EZ
98532011-12-10 Eli Zaretskii <eliz@gnu.org>
9854
9855 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9856 `from' or `to' address before taking its substring.
9857 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9858 encoded name is chopped in the middle of the encoded string, and
9859 thus displayed encoded.
9860
e152e577
JB
98612011-12-10 Juanma Barranquero <lekktu@gmail.com>
9862
9863 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9864
e5d84bfe
EZ
98652011-12-10 Eli Zaretskii <eliz@gnu.org>
9866
9867 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9868 to use texinfo-update-node and commands that call it if the
9869 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9870 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9871 (texinfo-all-menus-update, texinfo-master-menu)
9872 (texinfo-update-node, texinfo-every-node-update)
9873 (texinfo-multiple-files-update): Doc fix. Warn against updating
9874 all the @node lines.
9875 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9876 argument is numeric. Explain better in the doc string what the
9877 function really does.
9878 (texinfo-insert-master-menu-list): Improve the error message
9879 displayed if there's no menu in the Top node.
9880 (Bug#2975) See also this thread:
e5d84bfe
EZ
9881 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9882
1d84e9bb
MG
98832011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9884
9885 * speedbar.el (speedbar-supported-extension-expressions):
9886 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9887
382c953b
JB
98882011-12-09 Juanma Barranquero <lekktu@gmail.com>
9889
9890 * printing.el (pr-mode-alist):
9891 * simple.el (filter-buffer-substring-functions)
9892 (completion-list-insert-choice-function):
9893 * window.el (window-with-parameter, window-atom-root)
9894 (window-sides-slots, window-size-fixed, window-min-delta)
9895 (window-max-delta, window--resize-mini-window)
9896 (window--resize-child-windows-normal, window-tree)
9897 (delete-other-windows, quit-window, split-window)
9898 (display-buffer-record-window, special-display-buffer-names)
9899 (special-display-regexps, special-display-popup-frame)
9900 (same-window-p, split-window-sensibly)
9901 (display-buffer-overriding-action, display-buffer-alist)
9902 (display-buffer-base-action, display-buffer, switch-to-buffer)
9903 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9904 (fit-window-to-buffer, recenter-positions)
9905 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9906 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9907 and remove unneeded backslashes in docstrings.
9908
39c9faef
SM
99092011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9910
98449af8
SM
9911 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9912
39c9faef
SM
9913 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9914 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9915 end in ".mk".
9916 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9917 when reading the makefile (bug#10116).
9918
86ed9fdc
SM
99192011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9922 (bug#10116).
9923
5580f89d
GM
99242011-12-06 Glenn Morris <rgm@gnu.org>
9925
9926 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9927
28d3917c
CY
99282011-12-06 Chong Yidong <cyd@gnu.org>
9929
9930 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9931
a98edce9
JB
99322011-12-06 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * textmodes/table.el (table-shorten-cell): Fix typo.
9935
e65adfac
CG
99362011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9937
9938 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9939
71cc0b74
EZ
99402011-12-05 Eli Zaretskii <eliz@gnu.org>
9941
9942 * descr-text.el (describe-char): Fix display of strong
9943 right-to-left characters and directional embeddings and overrides.
9944
9945 * simple.el (what-cursor-position): Fix display of codepoints of
9946 strong right-to-left characters.
9947
315bc30d
CY
99482011-12-05 Chong Yidong <cyd@gnu.org>
9949
9950 * faces.el (read-color): Doc fix.
9951
58a70b94
GM
99522011-12-05 Glenn Morris <rgm@gnu.org>
9953
9954 * align.el (align--set-marker): Add doc-string.
9955 Don't try to move something that is not a marker. (Bug#10216)
9956
5158face
GM
99572011-12-04 Glenn Morris <rgm@gnu.org>
9958
9959 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9960 overly zealous deletion of trailing whitespace.
9961
520fca41
JB
99622011-12-04 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * server.el (server-delete-client): On Windows, do not try to delete
9965 the only terminal.
9966 (server-process-filter): On Windows, treat requests for a tty frame as
9967 if they were for a GUI frame if the running server is in GUI mode.
9968
5e605a2e
GM
99692011-12-03 Glenn Morris <rgm@gnu.org>
9970
9971 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9972
5c3fe83f
SM
99732011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9974
6f5e57e7
SM
9975 * electric.el: Streamline electric-indent's hook.
9976 (electric-indent-chars): Revert to simple list.
9977 (electric-indent-functions): New var.
9978 (electric-indent-post-self-insert-function): Use it.
9979
5c3fe83f
SM
9980 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9981 there's no inferior buffer (bug#10196).
9982 (prolog-consult-compile): Don't use toggle-read-only.
9983
6bdac736
MA
99842011-12-02 Michael Albinus <michael.albinus@gmx.de>
9985
9986 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9987 interrupt. (Bug#10187)
9988
6131ba7f
SM
99892011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9990
99c79fee
SM
9991 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9992 (bug#9160).
9993
6131ba7f
SM
9994 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9995 (bug#10191).
9996
cb0a02ea
JL
99972011-12-02 Juri Linkov <juri@jurta.org>
9998
9999 * info.el (Info-search): Display "end of manual" when Isearch
10000 reaches the end of single-file Info manual. (Bug#9918)
10001
66e0570c
EZ
100022011-12-02 Eli Zaretskii <eliz@gnu.org>
10003
10004 * isearch.el (isearch-message-prefix): Run the input method part
10005 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10006
02b16839
JL
100072011-12-02 Juri Linkov <juri@jurta.org>
10008
10009 * isearch.el (isearch-occur): Use `word-search-regexp' for
10010 `isearch-word'.
10011 (isearch-search-and-update): Add condition for `isearch-word' and
10012 call `word-search-regexp'. (Bug#10145)
10013
0b950688
GM
100142011-12-01 Glenn Morris <rgm@gnu.org>
10015
10016 * eshell/em-hist.el (eshell-hist-initialize):
10017 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10018 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10019
9505c3c7
SM
100202011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10023
1bbe96b2 100242011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10025
a1beca85
SM
10026 * progmodes/verilog-mode.el (verilog-pretty-expr):
10027 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10028 verilog, such as += *= and the like.
10029 (verilog-assignment-operator-re): Regular expression to find the
10030 assigment operator in a verilog assignment.
10031 (verilog-assignment-operation-re): Regular expression to find an
10032 assignment statement for pretty-expr.
10033 (verilog-in-attribute-p): Query returns true if point is in an
10034 attribute context; used to skip these for expression line up from
10035 pretty-expr.
10036 (verilog-in-parameter-p): Query returns true if point is in an
10037 parameter definition context; used to skip these for expression
10038 line up from pretty-expr.
10039 (verilog-in-parenthesis-p): Query returns true if point is in a
10040 parenthetical expression, specifically ( ) but not [ ] or { };
10041 used by pretty-expr.
10042 (verilog-just-one-space): If there is no space, don't add one.
10043 (verilog-get-lineup-indent-2): Specifically skip just attribute
10044 contexts for expression lineup, rather than skipping all
10045 parenthetical expressions.
10046 (verilog-calculate-indent): Fix comment, and fix indent.
10047 (verilog-do-indent): Indent declarations in lists (suggested by
10048 Joachim Lechner).
10049 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10050 skeleton items.
10051 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10052 by Alain Mellan).
10053
1bbe96b2 100542011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10055
10056 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10057 parameters with embedded comments. Reported by Ray Stevens.
10058 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10059 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10060 Reported by Tim Holt.
10061 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10062 instantiated by upper module causing wrong expansion until AUTOed a
10063 second time. Reported by K C Buckenmaier.
10064 (verilog-diff-auto): Fix showing .* as a difference when
10065 `verilog-auto-star-save' off. Reported by Dan Dever.
10066 (verilog-auto-reset, verilog-read-always-signals)
10067 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10068 temporary signals in reset list if
10069 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10070 style to each signal's assignment type, bug381.
10071 Reported by Thomas Esposito.
6288f0ca
WS
10072 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10073 (verilog-uvm-statement-re): Support UVM indentation and
10074 highlighting, with old OVM keywords only.
a1beca85 10075 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10076 Support AUTOTIEOFF creating non-wire data types.
10077 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10078 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10079 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10080 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10081 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10082 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10083 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10084 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10085 non-numeric vector width. Reported by Alex Reed.
10086 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10087 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10088 (verilog-auto-delete-trailing-whitespace):
10089 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10090 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10091 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10092 Fix verilog-scan-cache corruption when running user AUTO expansion
10093 hooks that call indentation routines.
10094 (verilog-simplify-range-expression): Fix typo ignoring lower case
10095 identifiers.
10096 (verilog-delete-auto): Fix delete-autos to also remove user created
10097 automatics, as long as they start with AUTO.
10098 (verilog-batch-diff-auto, verilog-diff-auto)
10099 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10100 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10101 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10102 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10103 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10104 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10105 is disabled and its cache will get corrupt, causing AUTOS not to
10106 expand. Instead use only -quick functions.
10107 (verilog-scan-region): Fix scanning over escaped quotes.
10108 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10109 (verilog-re-search-backward-quick)
10110 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10111 related functions now ignore strings, to fix misparsing of strings
10112 with magic comments embedded in them.
a1beca85
SM
10113 (verilog-read-auto-template):
10114 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10115 Reported by Brad Dobbie.
10116 (verilog-read-auto-template):
10117 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10118 Reported by Brad Dobbie.
6288f0ca
WS
10119 (verilog-auto-inst, verilog-auto-inst-param)
10120 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10121 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10122 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10123 debugging templates without merge conflicts, bug357.
10124 Reported by Brad Dobbie.
10125 (verilog-read-auto-template):
10126 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10127 Reported by Brad Dobbie.
10128 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10129 abbrevs so user won't be asked to save.
10130 (verilog-read-auto-lisp-present): Fix to start at beginning of
10131 buffer in case called outside of verilog-auto.
10132 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10133 to "X-2". Reported by Matthew Myers.
10134 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10135 all inputs from module templates. Reported by Leith Johnson.
10136 (verilog-module-inside-filename-p): Fix locating programs as with
10137 modules.
10138 (verilog-auto-inst-port): Fix vl-width expressions when using
10139 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10140 (verilog-decls-get-regs, verilog-decls-get-signals,
10141 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10142 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10143 verilog-read-decls): Combine reg and wire structures into one var
10144 structure to represent SystemVerilog concepts.
10145 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10146 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10147 (verilog-auto-wire-type, verilog-insert-definition):
10148 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10149 SystemVerilog "logic" keyword instead of "wire"/"reg".
10150 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10151 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10152 ifdef or generate if so there's not a driver conflict).
10153 Reported by Matthew Myers.
10154 (verilog-auto-declare-nettype, verilog-insert-definition):
10155 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10156 `default_nettype none. Reported by Julian Gorfajn.
10157 (verilog-read-always-signals-recurse, verilog-read-decls)
10158 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10159 malformed end statement, bug325. Reported by Joshua Wise and
10160 Andrew Drake.
10161 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10162 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10163 when expanding .* in interfaces, bug320.
10164 Reported by Pierre-David Pfister.
6288f0ca 10165 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10166 name and open parenthesis, bug317.
10167 Reported by Pierre-David Pfister.
6288f0ca
WS
10168 (verilog-simplify-range-expression): Fix simplification of
10169 multiplications inside AUTOWIRE connections, bug303.
10170 (verilog-auto-inst-port): Support parameter expansion in
10171 multidimensional arrays.
10172 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10173 after "assert property". Reported by Julian Gorfajn.
10174 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10175 with multiplication, bug303.
10176 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10177 Reported by Jan Frode Lonnum.
10178
1bbe96b2
GM
101792011-11-30 Juanma Barranquero <lekktu@gmail.com>
10180
10181 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10182 (hfy-shell-file-name, hfy-shell):
10183 * international/fontset.el (x-decompose-font-name): Fix typos.
10184
101852011-11-29 Ken Brown <kbrown@cornell.edu>
10186
10187 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10188 (gdb-version): Remove defvar.
10189 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10190 (gdb-gud-context-command, gdb-non-stop-handler)
10191 (gdb-current-context-command, gdb-stopped): Use it.
10192 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10193 (gdb-non-stop-handler): Don't enable pretty-printing here.
10194 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10195 non-stop mode. Use the following.
10196 (gdb-check-target-async): New defun.
10197 (gud-watch, gdb-stopped): Fix whitespace.
10198 (gdb-get-source-file): Don't try to display the source file if
10199 `gdb-main-file' is nil.
10200
102012011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * align.el: Try to generate fewer markers (bug#10047).
10204 (align--set-marker): New macro.
10205 (align-region): Use it.
10206
c935221f
SM
102072011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10210
e70b5064
CY
102112011-11-29 Chong Yidong <cyd@gnu.org>
10212
10213 * indent.el (indent-for-tab-command, indent-according-to-mode):
10214 Doc fix.
10215 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10216
f3af92b7
MA
102172011-11-29 Michael Albinus <michael.albinus@gmx.de>
10218
10219 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10220 aware of remote file names. (Bug#10124)
10221
ed472be9
CY
102222011-11-29 Chong Yidong <cyd@gnu.org>
10223
10224 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10225
24510c22
SM
102262011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * files.el (find-file): Don't use force-same-window (bug#10144).
10229 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10230 use pop-to-buffer if the selected window can't be used.
10231 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10232
c60c3703
EZ
102332011-11-28 Eli Zaretskii <eliz@gnu.org>
10234
10235 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10236 special-mode-map.
10237
e95def75
CY
102382011-11-28 Chong Yidong <cyd@gnu.org>
10239
10240 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10241
c3f1c606
NR
102422011-11-27 Nick Roberts <nickrob@snap.net.nz>
10243
10244 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10245 gdb-get-source-file-list on gdb-create-source-file-list.
10246
00db469c
EZ
102472011-11-26 Eli Zaretskii <eliz@gnu.org>
10248
10249 * whitespace.el (whitespace-newline): Use a different foreground
10250 color for 16-color light-background displays.
10251
4ad3bc2a
CY
102522011-11-24 Chong Yidong <cyd@gnu.org>
10253
10254 * window.el (display-buffer--special-action): Doc fix.
10255
e9fce1ac
JB
102562011-11-25 Juanma Barranquero <lekktu@gmail.com>
10257
10258 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10259 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10260 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10261 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10262 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10263 (avl-tree-stack-first):
10264 * emacs-lisp/cconv.el (cconv--analyse-use):
10265 * net/gnutls.el (gnutls-negotiate): Fix typos.
10266
cb825e5d
GM
102672011-11-24 Glenn Morris <rgm@gnu.org>
10268
3adbe224
GM
10269 * lpr.el (lpr-windows-system, lpr-lp-system):
10270 * mail/binhex.el (binhex-begin-line):
10271 * progmodes/grep.el (grep-history, grep-find-history):
10272 * textmodes/flyspell.el:
10273 * vc/pcvs-defs.el (cvs-global-menu):
10274 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10275 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10276 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10277
321decc8
GM
10278 * net/tls.el: Fix case of "GnuTLS".
10279
420b63ad
GM
10280 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10281
cb825e5d
GM
10282 * version.el (emacs-build-system): Give it a doc-string.
10283
a0649f08
JL
102842011-11-24 Juri Linkov <juri@jurta.org>
10285
10286 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10287
c0bc0fd4
GM
102882011-11-24 Glenn Morris <rgm@gnu.org>
10289
10290 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10291 if called on a non-mime message just toggle the headers. (Bug#8006)
10292
20db1522
JB
102932011-11-24 Juanma Barranquero <lekktu@gmail.com>
10294
10295 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10296 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10297 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10298 (allout-rebullet-heading, allout-open-sibtopic)
10299 (allout-toggle-current-subtree-encryption)
10300 (allout-toggle-subtree-encryption, allout-encrypt-string)
10301 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10302 (allout-distinctive-bullets-string, allout-auto-activation):
10303 * window.el (window-normalize-buffer-to-display):
10304 * progmodes/verilog-mode.el (verilog-batch-indent):
10305 * textmodes/bibtex.el (bibtex-field-braces-opt)
10306 (bibtex-field-strings-opt):
10307 * vc/cvs-status.el (cvs-tree-merge):
10308 Fix typos.
10309
7262a87c
MA
103102011-11-23 Michael Albinus <michael.albinus@gmx.de>
10311
10312 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10313 `non-essential' to t, in order to avoid remote connections.
10314
283430a1
EZ
103152011-11-23 Eli Zaretskii <eliz@gnu.org>
10316
a1beca85
SM
10317 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10318 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10319 case-insensitively.
10320
d2992a38
ML
103212011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10322
10323 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10324
50419064
GM
103252011-11-23 Glenn Morris <rgm@gnu.org>
10326
da94eca1
GM
10327 * paths.el (rmail-file-name): Reformat the doc-string so that it
10328 is picked up.
10329
9aac4de2
GM
10330 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10331 (rmail-auto-file): Ignore case in the "special" field names,
10332 as mail-fetch-field does for all others.
10333
8038d2d2
GM
10334 * mail/rmail.el (rmail-forward):
10335 * mail/rmailkwd.el (rmail-set-label):
10336 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10337 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10338
f3fe222a
GM
10339 * mail/rmail.el (rmail-current-message): Doc fix.
10340
50419064
GM
10341 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10342
28109f49
SM
103432011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10344
10345 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10346
394c65f1
GM
103472011-11-22 Glenn Morris <rgm@gnu.org>
10348
10349 * mail/rmailmm.el (test-rmail-mime-handler)
10350 (test-rmail-mime-bulk-handler)
10351 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10352
f2a0aa3a
JL
103532011-11-21 Juri Linkov <juri@jurta.org>
10354
1154d12e
JB
10355 * calc/calc.el (calc-read-key-sequence):
10356 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10357
9c34a344
LMI
103582011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10359
10360 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10361 Tell the caller that the next line needs recomputation, even
10362 though it doesn't start a sexp (bug#10094).
10363
f04a3be9
SM
103642011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10367
7978747f
SM
103682011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10369
f04a3be9
SM
10370 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10371 Use force-same-window.
7978747f 10372
fe7a3057
JB
103732011-11-20 Juanma Barranquero <lekktu@gmail.com>
10374
10375 * descr-text.el (describe-char-unicode-data):
10376 * json.el (json-string-escape):
10377 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10378 (Footnote-unicode, Footnote-style-p):
10379 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10380
24901d61
CY
103812011-11-20 Chong Yidong <cyd@gnu.org>
10382
10383 * window.el (replace-buffer-in-windows): Restore interactive spec.
10384
bac7ff22
SM
103852011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10386
24f3d7b9
SM
10387 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10388
bac7ff22
SM
10389 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10390 (byte-compile-global-not-obsolete-vars): New var.
10391 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10392 Use it.
10393 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10394
cd1181db
JB
103952011-11-20 Juanma Barranquero <lekktu@gmail.com>
10396
10397 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10398 * progmodes/pascal.el (electric-pascal-equal):
10399 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10400 * xml.el (xml-substitute-special): Fix typos.
10401
7fb18e9e
GM
104022011-11-20 Glenn Morris <rgm@gnu.org>
10403
10404 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10405 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10406 Doc fixes.
10407 (rmail-decode-mime-charset): Mark as obsolete.
10408
10409 * mail/rmailsum.el (rmail-message-regexp-p-1):
10410 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10411 Before using mime functions, check they are set. (Bug#10077)
10412
d5a6b3ba
JL
104132011-11-19 Juri Linkov <juri@jurta.org>
10414
10415 * info.el (Info-finder-find-node): Use `package--builtins' instead
10416 of `package-alist'. Use node names formed by the pattern "Keyword "
10417 and the keyword name.
10418
e981b61f
AS
104192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10420
1d00653d 10421 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10422
3ffbc301
JL
104232011-11-19 Juri Linkov <juri@jurta.org>
10424
10425 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10426 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10427 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10428 `old-history', `old-history-forward'. Add let-binding
10429 `window-selected'. Remove calls to `kill-buffer',
10430 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10431 before calling `Info-find-node', so `Info-find-node-2' will reread
10432 the Info file. Restore window positions only when `window-selected'
10433 is non-nil.
10434
30c62133
JL
104352011-11-19 Juri Linkov <juri@jurta.org>
10436
10437 * isearch.el (isearch-lazy-highlight-new-loop):
10438 Remove condition `(not isearch-error)'. (Bug#9918)
10439
10440 * misearch.el (multi-isearch-search-fun): Add condition
10441 `(not bound)' to ignore lazy-highlighting search.
10442 Add the search-failed message "end of multi" when the end of
10443 multi-sequence is reached. Uncapitalize the search-failed
10444 message "Repeat for next buffer".
10445
10446 * info.el (Info-search): Add the search-failed message
10447 "end of the manual" when the end of the manual is reached
10448 in Isearch mode.
10449
645ca9cf
JL
104502011-11-19 Juri Linkov <juri@jurta.org>
10451
10452 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10453 Use non-destructive `remove' instead of `delete' because
10454 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10455 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10456
df754f66
JL
104572011-11-19 Juri Linkov <juri@jurta.org>
10458
10459 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10460 to nil instead of binding `search-ring' and `regexp-search-ring'.
10461 (Bug#9185)
10462
0e23d96a
EZ
104632011-11-19 Eli Zaretskii <eliz@gnu.org>
10464
10465 * simple.el (line-move): Force movement by logical lines for any
10466 hscrolled window, not only when auto-hscroll-mode is on.
10467 (line-move-visual): Update doc string to that effect. (Bug#10076)
10468
8a6ccb66
AS
104692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10470
10471 * language/european.el (macintosh): Define as alias for mac-roman.
10472
49ae5b39
EZ
104732011-11-19 Eli Zaretskii <eliz@gnu.org>
10474
10475 * mail/rmailmm.el (rmail-mime-display-header)
10476 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10477 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10478 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10479 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10480 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10481 of a raw aref.
10482 (rmail-mime-entity-segment): To get past the tagline, move forward
10483 2 more lines, to account for the 2 empty lines that precede and
10484 follow the line with the buttons.
10485 (rmail-mime-update-tagline): Move one more line, to get past the
10486 empty line that follows the buttons in the tagline. (Bug#9520)
10487
c56cad4a
MR
104882011-11-19 Martin Rudalics <rudalics@gmx.at>
10489
10490 * window.el (window-max-delta-1, window-min-delta-1)
10491 (window-min-size-1, window-state-get-1, window-state-put-1)
10492 (window-state-put-2): Use "window--" prefix.
10493
cbe71af3
SM
104942011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10495
2ad52c60
SM
10496 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10497 (smie-warning-count): New var.
10498 (smie-set-prec2tab): Use it.
10499 (smie-bnf->prec2): Improve warnings. Add docstring.
10500 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10501 (smie-bnf--set-class): New function.
10502 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10503 corner case.
10504
6944dbc1
SM
10505 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10506 (compilation-error-properties, compilation-move-to-column):
10507 Handle compilation-first-column while in the target buffer.
10508
c400c4d7
SM
10509 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10510 Don't hardcode point-min==1.
10511
6dbe3e96
SM
10512 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10513 (eshell-rewrite-for-command): Remove workaround.
10514 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10515 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10516 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10517
cbe71af3
SM
10518 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10519
a8e1496d
GM
105202011-11-17 Glenn Morris <rgm@gnu.org>
10521
10522 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10523 Ignore buffer-local generated-autoload-file if it is the same
10524 as the global value. (Bug#10049)
10525
df85d315
JB
105262011-11-17 Juanma Barranquero <lekktu@gmail.com>
10527
10528 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10529 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10530 (reftex-toc-previous-heading, reftex-toc-max-level)
10531 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10532 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10533 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10534 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10535 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10536 (reftex-toc-rename-label, reftex-toc-visit-location)
10537 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10538 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10539 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10540 leaving "*toc*" only for references to the buffer.
10541
a0c2d0ae
MR
105422011-11-17 Martin Rudalics <rudalics@gmx.at>
10543
10544 * window.el (window-resize, delete-window, split-window):
10545 Replace window-splits by window-combination-resize.
1d00653d 10546 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10547
35c0bac8
GM
105482011-11-17 Glenn Morris <rgm@gnu.org>
10549
10550 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10551 Make bash entry derive from sh entry, not shell entry.
10552
d0c8fc8a
MA
105532011-11-16 Michael Albinus <michael.albinus@gmx.de>
10554
7262a87c
MA
10555 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10556 local file name.
10557
7877f373
JB
105582011-11-16 Juanma Barranquero <lekktu@gmail.com>
10559
10560 * menu-bar.el (menu-bar-file-menu):
10561 * printing.el (pr-ps-utility):
10562 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10563 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10564 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10565 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10566 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10567 (icalendar--convert-cyclic-to-ical)
10568 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10569 (icalendar--convert-ical-to-diary)
10570 (icalendar--convert-recurring-to-diary)
10571 (icalendar--convert-non-recurring-all-day-to-diary)
10572 (icalendar-import-format-sample):
10573 * progmodes/idlw-shell.el (idlwave-shell-mode):
10574 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10575 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10576 (vhdl-ps-print-init): Fix typos.
10577
10649b82
KM
105782011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10579
9d0cfcd6
GM
10580 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10581 FSF and collapse date sequence, obscure author/maintainer email address
10582 better, remove extra version line, track relocation of author's webpage.
10649b82 10583
9d0cfcd6
GM
10584 * progmodes/python.el (python-pdbtrack-input-prompt)
10585 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10586 regular python pdb prompts. Adjustments shamelessly taken exactly as
10587 suggested in EmacsWiki page (tiny change):
10588 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10589
58179cce
JB
105902011-11-16 Juanma Barranquero <lekktu@gmail.com>
10591
10592 * expand.el (expand-pos, expand-index, expand-point):
10593 Remove redundant info from docstring.
10594 (expand-add-abbrevs): Doc fix.
10595 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10596 (expand-sample-perl-mode-expand-list): Fix typos.
10597
10598 * net/dbus.el (dbus-event-member-name):
10599 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10600 * term/pc-win.el (msdos-create-frame-with-faces):
10601 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10602
b6f67890
MR
106032011-11-16 Martin Rudalics <rudalics@gmx.at>
10604
10605 * window.el (split-window, window-state-get-1)
10606 (window-state-put-1, window-state-put-2): Rename occurrences of
10607 window-nest to window-combination-limit.
1d00653d 10608 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10609
ce7ddba0
CY
106102011-11-16 Chong Yidong <cyd@gnu.org>
10611
10612 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10613 regexp (Bug#10033).
10614
3ae704f4
SM
106152011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10616
10617 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10618 `completing-read' will remove *Completions* and will preserve
10619 current-buffer for us.
10620 (tmm-add-prompt): Users of *Completions* will always (re)set its
10621 major mode.
10622 (tmm-old-comp-map): Remove.
10623
6ad1cdde
GM
106242011-11-16 Glenn Morris <rgm@gnu.org>
10625
10626 * mail/rmailedit.el: Require rmailmm when compiling.
10627 (rmail-old-mime-state): New declaration.
10628 (rmail-edit-current-message): If editing a mime message,
10629 edit the "raw" message from the mbox buffer.
10630 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10631
d20faa20
GM
106322011-11-15 Glenn Morris <rgm@gnu.org>
10633
10634 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10635 which wasn't being used. Add optional arg to force given state.
10636 (rmail-mime): Add optional arg to force given state.
10637
c7015153
JB
106382011-11-15 Juanma Barranquero <lekktu@gmail.com>
10639
10640 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10641 * frame.el (display-mm-dimensions-alist):
10642 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10643 (outline-move-subtree-down):
10644 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10645 (newsticker--treeview-do-get-node):
10646 * net/quickurl.el (quickurl-list-buffer-name):
10647 * progmodes/dcl-mode.el (dcl-mode):
10648 * progmodes/gdb-mi.el (gdb-mapcar*):
10649 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10650
45261b50
GM
106512011-11-15 Glenn Morris <rgm@gnu.org>
10652
10653 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10654 in a boolean sense, so just make it a boolean, and fix the doc.
10655 (rmail-show-mime-function, rmail-mime-feature)
10656 (rmail-require-mime-maybe): Doc fixes.
10657 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10658
10659 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10660
0d26e0b6
JB
106612011-11-15 Juanma Barranquero <lekktu@gmail.com>
10662
10663 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10664 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10665 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10666 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10667
447f30f6
GM
106682011-11-15 Glenn Morris <rgm@gnu.org>
10669
672b871d
GM
10670 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10671 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10672 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10673 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10674 (rmail-mime, rmail-show-mime): Doc fixes.
10675
f6aa5bb1
GM
10676 * term/ns-win.el (mode-line-frame-identification):
10677 Leave it alone. (Bug#10051)
10678
947cd66b
GM
10679 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10680
447f30f6
GM
10681 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10682 Handle empty buffers. (Bug#9978)
10683
0b381c7e
JB
106842011-11-14 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * international/mule.el (define-charset):
10687 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10688 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10689 * progmodes/verilog-mode.el (verilog-backward-token):
10690 * textmodes/ispell.el (lookup-words):
10691 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10692
71e027ac
GM
106932011-11-14 Glenn Morris <rgm@gnu.org>
10694
56632ce4
GM
10695 * progmodes/executable.el
10696 (executable-make-buffer-file-executable-if-script-p):
10697 Handle file-modes returning nil.
10698
40500957
GM
10699 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10700 message - not necessary, and causes problems. (Bug#9831)
10701
071c2340
GM
10702 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10703
d3cfca60
GM
10704 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10705
71e027ac
GM
10706 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10707 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10708 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10709
89d61221
MR
107102011-11-12 Martin Rudalics <rudalics@gmx.at>
10711
10712 * window.el (window-resize, delete-window): Use window-splits
10713 variable instead of function.
10714 (window-state-get-1, window-state-put-2, window-state-put):
10715 Don't deal with windows' splits status.
10716
98282f6f
GM
107172011-11-12 Glenn Morris <rgm@gnu.org>
10718
10719 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10720 (apropos-documentation): Doc fixes.
10721
40a8bdf6
JB
107222011-11-11 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10725 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10726
65bd19ff
SM
107272011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * electric.el (electric-indent-post-self-insert-function): Make it
10730 possible for a char to only indent in some circumstances.
10731 (electric-indent-mode): Simplify.
10732
54f9154c
MR
107332011-11-11 Martin Rudalics <rudalics@gmx.at>
10734
10735 * window.el (windows-with-parameter): Remove unused function.
10736 (windows-at-side): Rename to window-at-side-list.
10737 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10738 (window-side-check, window-size-ignore, window-size-fixed-1)
10739 (window-in-direction-2): Prefix with "window--".
10740 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10741
68cbc58b
GM
107422011-11-11 Glenn Morris <rgm@gnu.org>
10743
10744 * subr.el (eval-after-load): If FILE is already loaded,
10745 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10746
b2621720
GM
107472011-11-10 Glenn Morris <rgm@gnu.org>
10748
9a4de110
GM
10749 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10750 Call svn via vc-svn-command rather than vc-do-command.
10751 (vc-svn-command): Add --non-interactive. (Bug#9993)
10752 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10753
b2621720
GM
10754 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10755 Add toggle-read-only. (Bug#7292)
10756 * files.el (toggle-read-only): Mention that it should only
10757 be used interactively. (Bug#10006)
10758
1dce7193
SM
107592011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10760
d9ac1a1e
SM
10761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10762 Adjust regexp for OCaml warnings.
10763
0c325082
SM
10764 * electric.el (electric-pair-post-self-insert-function): Let user
10765 turn it off buffer-locally (bug#9932).
10766
90132c14
SM
10767 * progmodes/python.el (python-beginning-of-statement):
10768 Rewrite (bug#2703).
10769
1dce7193
SM
10770 * progmodes/compile.el: Better handle TABs (bug#9749).
10771 (compilation-internal-error-properties)
10772 (compilation-next-error-function): Obey the target buffer's
10773 compilation-error-screen-columns.
10774
c4e7c63a
JB
107752011-11-09 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * progmodes/meta-mode.el: Remove obsolete comments.
10778 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10779 Fix typos in docstrings.
10780
2cffd681
MR
107812011-11-09 Martin Rudalics <rudalics@gmx.at>
10782
10783 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10784 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10785 (window--resizable): New function. Make all callers of
10786 window-resizable call window--resizable instead.
10787 (window-resizable): Rewrite in terms of window--resizable.
10788
0edcba87
GM
107892011-11-08 Glenn Morris <rgm@gnu.org>
10790
10791 * progmodes/delphi.el (delphi-mode-syntax-table):
10792 Let define-derived-mode define a proper syntax table. (Bug#9994)
10793
4b0d61e3
SM
107942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * window.el: Stay away from defsubst.
10797 (window-list-no-nils): Remove.
10798 (window-state-get-1, window-state-get): Use backquote instead.
10799
cd394be1 108002011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10801
4b0d61e3 10802 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10803 Fix incorrect use of default argument in `completing-read'.
10804
e1c2c6f2
MR
108052011-11-08 Martin Rudalics <rudalics@gmx.at>
10806
10807 * window.el (display-buffer-function, special-display-function):
10808 Mention display-buffer-record-window but do not mention
10809 help-setup parameter in doc-strings.
b3f4a882 10810 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10811
105216ed
CY
108122011-11-08 Chong Yidong <cyd@gnu.org>
10813
10814 * window.el (window-total-height, window-total-width): Doc fix.
10815 (window-body-size): Move from C.
10816 (window-body-height, window-body-width): Move to C.
10817
0a9f9ab5
SM
108182011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * window.el: Make special-display like display-buffer-alist (bug#9532).
10821 (display-buffer--special-action): New function, morphed
10822 from display-buffer--special.
10823 (display-buffer): Use it to handle special-display-buffers at higher
10824 priority (just after display-buffer-alist).
10825 (display-buffer-fallback-action, display-buffer--other-frame-action)
10826 (pop-to-buffer-same-window): Remove display-buffer--special.
10827
a769dd15
GM
108282011-11-07 Glenn Morris <rgm@gnu.org>
10829
10830 * calendar/cal-menu.el (cal-menu-set-date-title):
10831 Do nothing if not in a calendar. (Bug#9976)
10832
05a61ee3
SM
108332011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10834
10835 * files.el (find-file): Always use selected-window.
10836
be7f5545
MR
108372011-11-07 Martin Rudalics <rudalics@gmx.at>
10838
10839 * window.el (window-combinations): Make WINDOW argument
10840 mandatory. Rewrite doc-string.
10841 (walk-window-subtree, window-atom-check, window-min-delta)
10842 (window-max-delta, window--resize-this-window)
10843 (window--resize-root-window-vertically, window-tree)
10844 (balance-windows, window-state-put): Rewrite doc-strings as to
10845 not mention the term "subwindow".
10846 (window--resize-subwindows-skip-p): Rename to
10847 window--resize-child-windows-skip-p.
10848 (window--resize-subwindows-normal): Rename to
10849 window--resize-child-windows-normal.
10850 (window--resize-subwindows): Rename to
10851 window--resize-child-windows.
10852 (window-or-subwindow-p): Rename to window--in-subtree-p.
10853
3c6702ef
ML
108542011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10855
10856 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10857 Ensure that mbox format messages end in two newlines (Bug#9974).
10858
49745b39
CY
108592011-11-06 Chong Yidong <cyd@gnu.org>
10860
10861 * window.el (window-combination-p): Function deleted; its
10862 side-effect is not used in any existing code.
10863 (window-combinations, window-combined-p): Call window-*-child
10864 directly.
10865
24300f5f
CY
108662011-11-05 Chong Yidong <cyd@gnu.org>
10867
10868 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10869 (window-size-ignore, window-state-get): Callers changed.
10870 (window-normalize-window): Rename from window-normalize-any-window.
10871 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10872 (window-normalize-live-window): Delete.
447f16b8
CY
10873 (window-combination-p, window-combined-p, window-combinations)
10874 (walk-window-subtree, window-atom-root, window-min-size)
10875 (window-sizable, window-sizable-p, window-size-fixed-p)
10876 (window-min-delta, window-max-delta, window-resizable)
10877 (window-resizable-p, window-full-height-p, window-full-width-p)
10878 (window-current-scroll-bars, window-point-1, set-window-point-1)
10879 (window-at-side-p, window-in-direction, window-resize)
10880 (adjust-window-trailing-edge, maximize-window, minimize-window)
10881 (window-deletable-p, delete-window, delete-other-windows)
10882 (record-window-buffer, unrecord-window-buffer)
10883 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10884 (quit-window, split-window, window-state-put)
10885 (set-window-text-height, fit-window-to-buffer)
10886 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10887
89bd5ee1
EZ
108882011-11-04 Eli Zaretskii <eliz@gnu.org>
10889
53479029
EZ
10890 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10891 rfc2047-decode-string.
10892 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10893 warnings.
10894
89bd5ee1
EZ
10895 * window.el (window-body-height, window-body-width): Mention in
10896 the doc string that the return values are in frame's canonical
10897 units. (Bug#9949)
10898
bd17fdee
AM
108992011-11-03 Alan Mackenzie <acm@muc.de>
10900
10901 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10902 change in cc-engine.el.
10903
acc825c5
SM
109042011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10907
1885e5b8
MR
109082011-11-02 Martin Rudalics <rudalics@gmx.at>
10909
10910 * window.el (quit-window): Call unrecord-window-buffer after
10911 showing another buffer in the window. (Bug#9937)
acc825c5 10912 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10913
ebe06da9
JB
109142011-11-02 Juanma Barranquero <lekktu@gmail.com>
10915
10916 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10917 Accept status with more than 9 shelves. (Bug#9935)
10918 Reported by Colin D Bennett <colin@gibibit.com>.
10919
4ee88440
MR
109202011-11-01 Martin Rudalics <rudalics@gmx.at>
10921
10922 * help.el (with-help-window): Don't reference
10923 temp-buffer-show-specifiers in doc-string.
10924
08e1d82c
AS
109252011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10926
10927 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10928 menu-item.
10929
84bd6e9e
VJL
109302011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10931
10932 * whitespace.el: New version 13.2.2.
10933 (whitespace-newline-mode): Disable properly. Reported by Sarah
10934 <EmacsWiki>.
10935
dba0634a
UJ
109362011-10-30 Ulf Jasper <ulf.jasper@web.de>
10937
10938 * net/newst-treeview.el: Remove "Time-stamp".
10939 (newsticker--group-manage-orphan-feeds): Do not call
10940 newsticker--treeview-tree-update.
db22a3c2
JB
10941 (newsticker-treeview-update, newsticker-treeview):
10942 Call newsticker--treeview-tree-update if necessary.
dba0634a 10943
3d8daefe
MR
109442011-10-30 Martin Rudalics <rudalics@gmx.at>
10945
10946 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10947 (window-iso-combinations): Remove "iso-" infix.
10948 Suggested by Chong Yidong.
3d8daefe
MR
10949 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10950 (window-max-delta-1, window-resize, window--resize-siblings)
10951 (window--resize-this-window, adjust-window-trailing-edge)
10952 (split-window, balance-windows-1)
10953 (shrink-window-if-larger-than-buffer):
10954 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10955 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10956
1bc4c3ae
SM
109572011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10960 in place (bug#9907).
10961 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10962 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10963 (eshell-structure-basic-command, eshell-rewrite-while-command)
10964 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10965 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10966 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10967 (eshell-do-pipelines-synchronously, eshell-eval-command):
10968 Use backquotes and prefer setq to set.
10969 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10970 (eshell-macrop): Use functionp.
c1e2f5fa 10971 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10972
30b65d9c
CY
109732011-10-30 Chong Yidong <cyd@gnu.org>
10974
10975 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10976 instead of set-mark (Bug#9810).
10977
2d197ffb
CY
109782011-10-30 Chong Yidong <cyd@gnu.org>
10979
10980 * window.el (split-window-below, split-window-right): Rename from
10981 split-window-above-each-other and split-window-side-by-side
10982 respectively. All callers changed.
10983 (split-window-sensibly, split-window-sensibly): Use them.
10984 (split-window-keep-point): Doc fix.
10985
10986 * isearch.el: Add isearch-scroll property to split-window-below
10987 and split-window-right.
10988
10989 * follow.el (follow-mode):
10990 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10991 * progmodes/ada-xref.el (ada-gdb-application):
10992 * emulation/vip.el (vip-buffer-in-two-windows):
10993 * image-dired.el (image-dired-dired-with-window-configuration):
10994 * dired-x.el (dired-do-find-marked-files):
10995 * dired.el (dired-pop-to-buffer):
10996 * bs.el (bs--show-with-configuration):
10997 * vc/emerge.el (emerge-setup-windows):
10998 * textmodes/two-column.el (2C-two-columns):
10999 * textmodes/reftex-toc.el (reftex-toc):
11000 * progmodes/gdb-mi.el (gdb-setup-windows):
11001 * progmodes/fortran.el (fortran-window-create):
11002 * net/newst-treeview.el (newsticker--treeview-window-init):
11003 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11004 * emulation/tpu-edt.el (tpu-gold-map):
11005 * emulation/crisp.el (crisp-mode-map):
11006 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11007
38bb2ca8
CY
110082011-10-29 Chong Yidong <cyd@gnu.org>
11009
aa4de341
CY
11010 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11011
e1eb5385
CY
11012 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11013
5d2ece3c
CY
11014 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11015 forged Ispell output (Bug#7904).
11016
38bb2ca8
CY
11017 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11018
d0af9f77
SM
110192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * doc-view.el: Avoid ugly errors about not finding nil.
11022 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11023 (doc-view-dvipdf-program, doc-view-unoconv-program)
11024 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11025 Avoid nil or absolute file name as default value.
11026 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11027
52bedd34
AM
110282011-10-28 Alan Mackenzie <acm@muc.de>
11029
db22a3c2 11030 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11031
7e43cfa5
AM
110322011-10-28 Alan Mackenzie <acm@muc.de>
11033
11034 Amend the handling of c-beginning/end-of-defun in nested declaration
11035 scopes.
11036
52bedd34
AM
11037 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11038 cc-langs.el. Change it to a defcustom.
7e43cfa5 11039
52bedd34
AM
11040 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11041 cc-vars.el.
7e43cfa5 11042
d0af9f77
SM
11043 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11044 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11045
52bedd34 11046 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11047 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11048 (c-widen-to-enclosing-decl-scope): New function.
11049 (c-while-widening-to-decl-block): New macro.
11050 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11051 outward for defun boundaries, and correspondingly change symbol
11052 `respect-enclosure' to `go-outward'.
11053 (c-declaration-limits): Change algorithm to report only the "innermost"
11054 defun's boundaries.
11055
1a2ce9ee
DD
110562011-10-28 Deniz Dogan <deniz@dogan.se>
11057
11058 * net/rcirc.el (rcirc-mode): Use hard newlines.
11059
bc97a826
AM
110602011-10-28 Alan Mackenzie <acm@muc.de>
11061
11062 Amend to indent and fontify macros "which include their own semicolon"
11063 correctly, using the "virtual semicolon" mechanism.
11064
52bedd34 11065 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11066
d0af9f77 11067 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11068 Recode to scan one line at a time rather than having \n and \r
58179cce 11069 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11070 (c-forward-label): Amend for virtual semicolons.
58179cce 11071 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11072
52bedd34
AM
11073 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11074 of the new C macros.
bc97a826 11075
52bedd34 11076 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11077 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11078 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11079 (c-opt-cpp-macro-define): Make into a full language variable.
11080 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11081 AWK Mode (including \n, \r) removed, no longer needed.
11082
d0af9f77
SM
11083 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11084 Invoke c-make-macro-with-semi-re.
bc97a826 11085
52bedd34
AM
11086 * progmodes/cc-vars.el (c-macro-with-semi-re):
11087 (c-macro-names-with-semicolon): New variables.
58179cce 11088 (c-make-macro-with-semi-re): New function.
bc97a826 11089
7a6c0941
SM
110902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * vc/log-edit.el: Fill empty field rather than adding new one.
11093 (log-edit-add-field): New function.
11094 (log-edit-insert-changelog): Use it.
11095
b0c4cdcf
ML
110962011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11097
11098 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11099
ee1f1da9
SM
111002011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11103 (gdb--check-interpreter): New function.
11104 (gdb): Use it.
11105
51bc5f8b
GM
111062011-10-27 Glenn Morris <rgm@gnu.org>
11107
416a2c45
GM
11108 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11109 (least-positive-float, least-negative-float)
11110 (least-positive-normalized-float, least-negative-normalized-float)
11111 (float-epsilon, float-negative-epsilon):
11112 Remove unnecessary declarations.
11113
11114 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11115 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11116 (least-positive-float, least-negative-float)
11117 (least-positive-normalized-float, least-negative-normalized-float)
11118 (float-epsilon, float-negative-epsilon): Add doc-strings,
11119 based on those in cl.texi.
11120
51bc5f8b
GM
11121 * files.el (set-visited-file-name): If the major-mode changed,
11122 reload the local variables. (Bug#9796)
11123
15de15c6
CY
111242011-10-27 Chong Yidong <cyd@gnu.org>
11125
11126 * subr.el (change-major-mode-after-body-hook): New hook.
11127 (run-mode-hooks): Run it.
11128
ee1f1da9
SM
11129 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11130 Use change-major-mode-before-body-hook.
15de15c6
CY
11131
11132 * simple.el (fundamental-mode):
11133 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11134 change introducing fundamental-mode-hook.
11135
5430d399
JB
111362011-10-26 Juanma Barranquero <lekktu@gmail.com>
11137
acc825c5 11138 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11139
ad74a69e
MA
111402011-10-26 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11143 tramp.el explicitly. (Bug#7583)
ad74a69e 11144
71d4c2a5
SM
111452011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * progmodes/octave-mod.el:
11148 * progmodes/octave-inf.el: Update maintainer.
11149
b1f6fa26
CY
111502011-10-26 Chong Yidong <cyd@gnu.org>
11151
11152 * subr.el (with-wrapper-hook): Rewrite doc.
11153
3f04efd6
MA
111542011-10-25 Michael Albinus <michael.albinus@gmx.de>
11155
11156 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11157 filenames "/method:foo:". (Bug#9793)
3f04efd6 11158
410488d3
SM
111592011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11160
11161 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11162 (bug#9865).
11163
c1ebb47e
GM
111642011-10-24 Glenn Morris <rgm@gnu.org>
11165
11166 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11167
7f5c46c7
MA
111682011-10-24 Michael Albinus <michael.albinus@gmx.de>
11169
11170 * notifications.el: Add the requirement of a running D-Bus session
11171 bus to the Commentary.
11172
db2440b6
JL
111732011-10-24 Juri Linkov <juri@jurta.org>
11174
11175 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11176 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11177 (Bug#9364)
11178
feecf435
JL
111792011-10-24 Juri Linkov <juri@jurta.org>
11180
11181 * info.el (Info-following-node-name-re): Add newline to the list
11182 of allowed characters for leading space. (Bug#9824)
11183
a3839de2
SM
111842011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11185
acc825c5
SM
11186 * progmodes/octave-inf.el (inferior-octave-mode-map):
11187 Fix C-c C-h binding.
a3839de2
SM
11188 * progmodes/octave-mod.el (octave-help): Remove.
11189
09388e76
MA
111902011-10-23 Michael Albinus <michael.albinus@gmx.de>
11191
11192 Sync with Tramp 2.2.3.
11193
11194 * net/tramp-cache.el (top): Pacify byte-compiler using
11195 `init-file-user' and `site-run-file'.
11196
11197 * net/trampver.el: Update release number.
11198
86c60681
CY
111992011-10-23 Chong Yidong <cyd@gnu.org>
11200
11201 * files.el (toggle-read-only): Remove obsolete comment about
11202 version control.
11203
11204 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11205 for toggle-read-only. Note that this hasn't called vc-next-action
11206 since 2008-05-02, though it wasn't documented at the time.
11207
a3839de2
SM
11208 * vc/ediff-init.el (ediff-toggle-read-only-function):
11209 Use toggle-read-only.
86c60681 11210
cd5495ff
AM
112112011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11212
11213 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11214 of c-parse-state.
11215
00b77525 11216 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11217 correct faulty logical expression.
cd5495ff
AM
11218 (c-parse-state-state, c-record-parse-state-state):
11219 (c-replay-parse-state-state): New defvar/defuns.
11220 (c-debug-parse-state): Use new functions.
11221
42ee24ed
MR
112222011-10-22 Martin Rudalics <rudalics@gmx.at>
11223
11224 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11225 last fix. Use window-in-direction correctly.
42ee24ed 11226
a7dee7e7
CY
112272011-10-21 Chong Yidong <cyd@gnu.org>
11228
11229 * progmodes/idlwave.el (idlwave-mode):
11230 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11231 require-final-newline; that's done in prog-mode.
11232 Suggested by Stefan Monnier.
a7dee7e7 11233
e07b9a6d
MR
112342011-10-21 Martin Rudalics <rudalics@gmx.at>
11235
11236 * mouse.el (mouse-drag-window-above)
11237 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11238 (mouse-drag-mode-line-1, mouse-drag-header-line)
11239 (mouse-drag-vertical-line-rightward-window): Remove.
11240 (mouse-drag-line): New function.
11241 (mouse-drag-mode-line, mouse-drag-header-line)
11242 (mouse-drag-vertical-line): Call mouse-drag-line.
11243 * window.el (window-at-side-p, windows-at-side): New functions.
11244
7e1361d9
UM
112452011-10-21 Ulrich Mueller <ulm@gentoo.org>
11246
11247 * tar-mode.el (tar-grind-file-mode):
11248 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11249
30fcaf3a
CY
112502011-10-21 Chong Yidong <cyd@gnu.org>
11251
11252 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11253 * progmodes/vera-mode.el (vera-mode):
11254 Use mode-require-final-newline.
30fcaf3a 11255
516eddb0
GM
112562011-10-20 Glenn Morris <rgm@gnu.org>
11257
db22a3c2 11258 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11259
10d5f513
CS
112602011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11261
11262 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11263
ac6c8639
CY
112642011-10-20 Chong Yidong <cyd@gnu.org>
11265
11266 * emulation/cua-base.el (cua-mode):
11267 * mail/footnote.el (footnote-mode):
11268 * mail/mailabbrev.el (mail-abbrevs-mode):
11269 * net/xesam.el (xesam-minor-mode):
11270 * progmodes/bug-reference.el (bug-reference-mode):
11271 * progmodes/cap-words.el (capitalized-words-mode):
11272 * progmodes/compile.el (compilation-minor-mode)
11273 (compilation-shell-minor-mode):
11274 * progmodes/gud.el (gud-tooltip-mode):
11275 * progmodes/hideif.el (hide-ifdef-mode):
11276 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11277 * progmodes/subword.el (subword-mode):
11278 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11279 * progmodes/which-func.el (which-function-mode):
11280 * term/tvi970.el (tvi970-set-keypad-mode):
11281 * term/vt100.el (vt100-wide-mode):
11282 * textmodes/flyspell.el (flyspell-mode):
11283 * textmodes/ispell.el (ispell-minor-mode):
11284 * textmodes/nroff-mode.el (nroff-electric-mode):
11285 * textmodes/paragraphs.el (use-hard-newlines):
11286 * textmodes/refill.el (refill-mode):
11287 * textmodes/reftex.el (reftex-mode):
11288 * textmodes/rst.el (rst-minor-mode):
11289 * textmodes/sgml-mode.el (html-autoview-mode)
11290 (sgml-electric-tag-pair-mode):
11291 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11292 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11293 * emulation/crisp.el (crisp-mode):
11294 * emacs-lisp/eldoc.el (eldoc-mode):
11295 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11296 minor mode behavior.
11297
aa42ab43
JL
112982011-10-19 Juri Linkov <juri@jurta.org>
11299
11300 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11301 the list of hard-coded chars with escape-glyph face.
11302
89400f1d
SM
113032011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11306
305c07f6
MA
113072011-10-19 Michael Albinus <michael.albinus@gmx.de>
11308
11309 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11310 running process.
11311
13754b54
GM
113122011-10-19 Glenn Morris <rgm@gnu.org>
11313
11314 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11315 Ignore ignored files. (Bug#9726)
11316
06e21633
CY
113172011-10-19 Chong Yidong <cyd@gnu.org>
11318
11319 Doc fix for minor modes, stating that an omitted argument enables
11320 the mode unconditionally when called from Lisp.
11321
11322 * abbrev.el (abbrev-mode):
11323 * allout.el (allout-mode):
11324 * autoinsert.el (auto-insert-mode):
11325 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11326 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11327 (global-auto-revert-mode):
11328 * battery.el (display-battery-mode):
11329 * composite.el (global-auto-composition-mode)
11330 (auto-composition-mode):
11331 * delsel.el (delete-selection-mode):
11332 * desktop.el (desktop-save-mode):
11333 * dired-x.el (dired-omit-mode):
11334 * dirtrack.el (dirtrack-mode):
11335 * doc-view.el (doc-view-minor-mode):
11336 * double.el (double-mode):
11337 * electric.el (electric-indent-mode, electric-pair-mode):
11338 * emacs-lock.el (emacs-lock-mode):
11339 * epa-hook.el (auto-encryption-mode):
11340 * follow.el (follow-mode):
11341 * font-core.el (font-lock-mode):
11342 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11343 * help.el (temp-buffer-resize-mode):
11344 * hilit-chg.el (highlight-changes-mode)
11345 (highlight-changes-visible-mode):
11346 * hi-lock.el (hi-lock-mode):
11347 * hl-line.el (hl-line-mode, global-hl-line-mode):
11348 * icomplete.el (icomplete-mode):
11349 * ido.el (ido-everywhere):
11350 * image-file.el (auto-image-file-mode):
11351 * image-mode.el (image-minor-mode):
11352 * iswitchb.el (iswitchb-mode):
11353 * jka-cmpr-hook.el (auto-compression-mode):
11354 * linum.el (linum-mode):
11355 * longlines.el (longlines-mode):
11356 * master.el (master-mode):
11357 * mb-depth.el (minibuffer-depth-indicate-mode):
11358 * menu-bar.el (menu-bar-mode):
11359 * minibuf-eldef.el (minibuffer-electric-default-mode):
11360 * mouse-sel.el (mouse-sel-mode):
11361 * msb.el (msb-mode):
11362 * mwheel.el (mouse-wheel-mode):
11363 * outline.el (outline-minor-mode):
11364 * paren.el (show-paren-mode):
11365 * recentf.el (recentf-mode):
11366 * reveal.el (reveal-mode, global-reveal-mode):
11367 * rfn-eshadow.el (file-name-shadow-mode):
11368 * ruler-mode.el (ruler-mode):
11369 * savehist.el (savehist-mode):
11370 * scroll-all.el (scroll-all-mode):
11371 * scroll-bar.el (scroll-bar-mode):
11372 * server.el (server-mode):
11373 * shell.el (shell-dirtrack-mode):
11374 * simple.el (auto-fill-mode, transient-mark-mode)
11375 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11376 (line-number-mode, column-number-mode, size-indication-mode)
11377 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11378 * strokes.el (strokes-mode):
11379 * time.el (display-time-mode):
11380 * t-mouse.el (gpm-mouse-mode):
11381 * tool-bar.el (tool-bar-mode):
11382 * tooltip.el (tooltip-mode):
11383 * type-break.el (type-break-mode-line-message-mode)
11384 (type-break-query-mode):
11385 * view.el (view-mode):
11386 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11387 (global-whitespace-mode, global-whitespace-newline-mode):
11388 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11389
a3839de2
SM
11390 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11391 Fix autogenerated docstring.
06e21633 11392
5214e501
JL
113932011-10-19 Juri Linkov <juri@jurta.org>
11394
11395 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11396 by checking environment variables "DESKTOP_SESSION" and
11397 "XDG_CURRENT_DESKTOP". (Bug#9779)
11398
195f8db9
JL
113992011-10-19 Juri Linkov <juri@jurta.org>
11400
11401 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11402 (browse-url-chromium-program, browse-url-chromium-arguments):
11403 New defcustoms.
11404 (browse-url-default-browser): Check for `browse-url-chromium' and
11405 call `browse-url-chromium-program'.
11406 (browse-url-chromium): New command. (Bug#9779)
11407
343a34ff
JB
114082011-10-18 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * facemenu.el (list-colors-duplicates): On Windows, detect more
11411 duplicates by assuming that only colors matching "^System" are
11412 special "system colors". (Bug#9722)
11413
6978a151
SM
114142011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11417 to distinguish the author from the committer.
11418
6a80b297
MA
114192011-10-18 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11422
b31a5677
JK
114232011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11424
11425 * international/mule.el (sgml-html-meta-auto-coding-function):
11426 Add support for detecting encoding in HTML5 specified only as
11427 <meta charset="UTF-8">. Implementation just makes http-equiv and
11428 content-type parts from HTML4 encoding string optional. (Bug#9716)
11429
80c6d77f
GM
114302011-10-18 Glenn Morris <rgm@gnu.org>
11431
11432 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11433
08b0fee8
CY
114342011-10-18 Chong Yidong <cyd@gnu.org>
11435
11436 * faces.el (cursor): Doc fix.
11437
67e729a5
CY
114382011-10-17 Chong Yidong <cyd@gnu.org>
11439
11440 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11441
343a34ff 114422011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11443
11444 * dirtrack.el (dirtrack): Support shell buffers with path
11445 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11446
0bc06380
TZ
114472011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11448
11449 * json.el: Bump version to 1.3 and note change in History.
11450 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11451
8b79f3e0
SM
114522011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11453
5a7c536b
SM
11454 * comint.el (comint-insert-input, comint-send-input)
11455 (comint-get-old-input-default, comint-backward-matching-input)
11456 (comint-next-prompt): Use nil instead of `input' for field property of
11457 past user input (bug#114).
11458
96a8a0df
SM
11459 * minibuffer.el (completion--replace): Inherit surrounding properties
11460 (bug#114).
11461 (minibuffer-complete-and-exit): Use it.
11462
8b79f3e0
SM
11463 * comint.el (comint--table-subvert): Quote the all-completions output
11464 (bug#9160).
11465
b8f7ff0d
MR
114662011-10-17 Martin Rudalics <rudalics@gmx.at>
11467
8b79f3e0 11468 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11469
b8f7ff0d 11470 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11471 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11472 entries and separate them from frame entries.
11473
c235b555
GM
114742011-10-15 Glenn Morris <rgm@gnu.org>
11475
11476 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11477 Doc fixes.
11478
6bbfa6e1
CY
114792011-10-15 Chong Yidong <cyd@stupidchicken.com>
11480
8b79f3e0
SM
11481 * net/network-stream.el (network-stream-open-starttls):
11482 Improve detection of failure due to lack of TLS support.
ec5c990d 11483
6bbfa6e1
CY
11484 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11485 putting the input text in front and in bold.
11486
98488977
SM
114872011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11488
3d1337be
SM
11489 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11490
ee0b45e4
SM
11491 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11492 empty buffer.
11493
98488977
SM
11494 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11495 unread-command-events rather than pushing yet-another event.
11496
186f4720
EZ
114972011-10-14 Eli Zaretskii <eliz@gnu.org>
11498
11499 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11500 the explanation of the possible choices. Make the options passed
11501 to completing-read shorter.
11502
8b7a997c
AM
115032011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11504
11505 * textmodes/flyspell.el (flyspell-large-region): Make sure
11506 extended character mode is used if defined (Bug#1339).
11507
12587bbb
EZ
115082011-10-13 Eli Zaretskii <eliz@gnu.org>
11509
11510 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11511 character info for LRE, LRO, RLE, and RLO characters by appending
11512 an invisible PDF.
12587bbb 11513
bad41229
SM
115142011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11517 even in case of error; add debug spec; simplify data flow.
11518 (with-timeout-handler): Remove.
11519
28dbc92f
MA
115202011-10-12 Michael Albinus <michael.albinus@gmx.de>
11521
11522 Fix Bug#6019, Bug#9315.
11523
11524 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11525 complete `buffer-file-name', the local file name part could look
11526 remotely (for example on VMS).
11527
11528 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11529 `tramp-run-real-handler'.
11530 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11531 already quoted by '"'.
11532
11533 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11534 Let `file-name-handler-alist' be nil, the local file name part
11535 could look remotely (for example on VMS).
11536
e1b0b23a
SM
115372011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11540 from here...
11541 (flyspell-post-command-hook): ...to here.
11542
a120bde9
SM
115432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11546 if not needed.
11547 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11548 using completion. Protect against "slow" callers.
11549 Remove the "message hack".
11550
7ce7717b
JL
115512011-10-11 Juri Linkov <juri@jurta.org>
11552
11553 * isearch.el (isearch-lazy-highlight-word): New variable.
11554 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11555 Use it. (Bug#9727)
11556
c02ee9d6
GM
115572011-10-11 Glenn Morris <rgm@gnu.org>
11558
11559 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11560 like f90-previous-statement does.
11561
93e616fd 115622011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11563
1f190e73 11564 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11565 only in interactive use, to avoid error.
11566
af7b6078
SM
115672011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * minibuffer.el (completion-file-name-table): Fix last change,
11570 i.e. ignore normal errors but not the other ones.
11571
0563dae9
MR
115722011-10-10 Martin Rudalics <rudalics@gmx.at>
11573
11574 * window.el (special-display-buffer-names)
11575 (special-display-regexps): Remove some remnants of earlier
11576 changes from doc-strings.
366ca7f3
MR
11577 (quit-windows-on): New function.
11578
11579 * vc/vc.el (vc-revert, vc-rollback):
11580 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11581 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11582 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11583
49677495
MR
115842011-10-09 Martin Rudalics <rudalics@gmx.at>
11585
11586 * window.el (frame-auto-hide-function): Add version tag.
11587 (Bug#9699)
11588
56f2d1e1
MA
115892011-10-09 Michael Albinus <michael.albinus@gmx.de>
11590
11591 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11592 condition.
11593
112a6592
LL
115942011-10-09 Leo Liu <sdl.web@gmail.com>
11595
11596 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11597 (Bug#9701)
11598
0812589b
GM
115992011-10-08 Glenn Morris <rgm@gnu.org>
11600
11601 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11602 before the first code statement zero indent. (Bug#9690)
11603
b2b0776e
CY
116042011-10-08 Chong Yidong <cyd@stupidchicken.com>
11605
11606 * simple.el (count-words-region): Always count in the region.
11607 Report the number of lines and characters too.
11608 (count-words): New command, which counts in the buffer if the
11609 region is inactive, as count-words-region used to.
11610 (count-words--message): New function. Handle plurals.
11611 (count-lines-region): Make it an alias for count-words-region.
11612
11613 * bindings.el (esc-map): Replace count-lines-region with
11614 count-words-region.
11615
c557cd6b
MR
116162011-10-08 Martin Rudalics <rudalics@gmx.at>
11617
11618 * window.el (window--delete): Delete dedicated frame
11619 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11620 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11621
61a57ef4 116222011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11623
3a7d293b 11624 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11625
c3833279
CY
116262011-10-07 Chong Yidong <cyd@stupidchicken.com>
11627
11628 * bindings.el ([M-left],[M-right]): Bind to left-word and
11629 right-word respectively.
11630
21ce8245
GM
116312011-10-07 Glenn Morris <rgm@gnu.org>
11632
11633 * cus-start.el (debug-on-quit): Fix custom type.
11634
6d823bb2
LMI
116352011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11636
0181e193
LMI
11637 * subr.el (define-key-after): Clarify that the function is not
11638 useful for non-menu keymaps.
11639
6d823bb2
LMI
11640 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11641
8e3459ce 116422011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11643
21ce8245 11644 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11645 in current minibuffer (Fix bug with recursive minibuffers).
11646
a1c2d21e
CY
116472011-10-06 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * progmodes/gdb-mi.el (gdb): Doc fix.
11650
5a4cf282
MR
116512011-10-05 Martin Rudalics <rudalics@gmx.at>
11652
11653 * window.el (frame-auto-hide-function): New option replacing
11654 frame-auto-delete. Suggested by Stefan Monnier.
11655 (window--delete): Call frame-auto-hide-function instead of
11656 investigating frame-auto-delete.
c96111ea
MR
11657 (window-point-1, set-window-point-1): New functions.
11658 (window-in-direction, record-window-buffer, window-state-get-1)
11659 (display-buffer-record-window): Use window-point-1 instead of
11660 window-point.
11661 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11662
9854542e
SM
116632011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11664
11665 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11666
8943cfb0
GM
116672011-10-05 Glenn Morris <rgm@gnu.org>
11668
11669 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11670 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11671
647ab967
LL
116722011-10-05 Leo Liu <sdl.web@gmail.com>
11673
11674 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11675 works with buffer object.
11676
3ddfbced
SM
116772011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * mpc.el (mpc-tool-bar-map): Add labels.
11680
bdfa5dd2
GM
116812011-10-04 Glenn Morris <rgm@gnu.org>
11682
11683 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11684
0e2070b5
MR
116852011-10-04 Martin Rudalics <rudalics@gmx.at>
11686
11687 * window.el (window--delete): New function.
11688 (frame-auto-delete): Resuscitate option.
11689 (bury-buffer, replace-buffer-in-windows)
11690 (quit-window): Rewrite using window--delete.
11691 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11692 Pass display-buffer-mark-dedicated to window--display-buffer-2
11693 (Bug#9639).
11694
3dc61a09
SM
116952011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11696
915a9b64
SM
11697 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11698 returns a list (bug#9554). Add remote file name completion.
11699 * comint.el (comint--table-subvert): Curry and get quote&unquote
11700 functions as arguments.
11701 (comint--complete-file-name-data): Adjust call accordingly.
11702 * pcomplete.el (pcomplete--table-subvert): Remove.
11703 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11704
3dc61a09
SM
11705 * minibuffer.el (completion-table-case-fold): Use currying.
11706 (completion--styles-type, completion--cycling-threshold-type):
11707 New constants.
11708 (completion-styles, completion-category-overrides)
11709 (completion-cycle-threshold): Use them.
11710 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11711 completion-table-case-fold.
11712
8ea0a993
SB
117132011-10-03 Stephen Berman <stephen.berman@gmx.net>
11714
11715 * minibuffer.el (completion-category-overrides): Fix type of styles
11716 and add more user friendly tags (bug#9660).
11717
8c24b7f6
SM
117182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11721 (mule-input-method-string): New widget.
11722 (default-input-method, language-info-custom-alist): Use it.
11723
428fe61a
SM
117242011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11725
32c1fffd
SM
11726 * pcomplete.el: Require comint.
11727 (pcomplete--common-suffix): Remove.
11728 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11729 (pcomplete--table-subvert): Sync with comint--table-subvert.
11730 (pcomplete--entries): Use comint-completion-file-name-table.
11731 * comint.el (comint-unquote-filename): Simplify.
11732 (comint-completion-file-name-table): New function (bug#9616).
11733 (comint--complete-file-name-data): Use it.
11734
428fe61a
SM
11735 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11736 (pcmpl-gnu-tar-buffer): Remove.
11737 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11738 around. Make sure pcomplete-suffix-list is only changed temporarily.
11739 Don't look inside the tar's file if it's too large.
428fe61a 11740
04c52e2f
CY
117412011-10-01 Chong Yidong <cyd@stupidchicken.com>
11742
ce3cefcc
CY
11743 * cus-edit.el (custom-mode-map):
11744 * epa.el (epa-key-list-mode-map):
11745 * man.el (Man-mode-map):
11746 * startup.el (splash-screen-keymap):
11747 * simple.el (special-mode-map): Use scroll-up-command and
11748 scroll-down-command.
11749
11750 * progmodes/idlw-help.el (idlwave-help-mode-map):
11751 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11752 * net/newst-plainview.el (newsticker-mode-map):
11753 * emulation/ws-mode.el (wordstar-mode-map):
11754 * emulation/vi.el (vi-com-map):
11755 * calc/calc-graph.el (calc-graph-show-dumb):
11756 * term/sun.el (terminal-init-sun):
11757 * term/ns-win.el (global-map):
11758 * progmodes/grep.el (grep-mode-map):
11759 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11760 * mail/rmail.el (rmail-mode-map):
11761 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11762
04c52e2f
CY
11763 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11764 custom-safe-themes as special.
11765
79adf8c8
JD
117662011-10-01 Julien Danjou <julien@danjou.info>
11767
11768 * notifications.el (notifications-notify): Fix docstring.
11769
63bd50d3
PS
117702011-10-01 Per Starbäck <per@starback.se>
11771
11772 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11773
199e4c7e
MR
117742011-09-30 Martin Rudalics <rudalics@gmx.at>
11775
11776 * startup.el (command-line-1): Fix last fix by inserting
11777 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11778 (Bug#9605) and (Bug#9636)
199e4c7e 11779
fe5f08dd
EZ
117802011-09-29 Eli Zaretskii <eliz@gnu.org>
11781
11782 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11783 window is hscrolled, move by logical lines. (Bug#9607)
11784 (line-move-visual): Update the doc string to the above effect.
11785
b5516bbd
MR
117862011-09-29 Martin Rudalics <rudalics@gmx.at>
11787
ccee00c0
MR
11788 * window.el (display-buffer-record-window): When WINDOW is the
11789 selected window use `point' instead of `window-point'. (Bug#9626)
11790
b5516bbd
MR
11791 * startup.el (command-line-1): Use insert-before-markers when
11792 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11793
b5516bbd
MR
11794 * help.el (help-window): Remove variable.
11795
52aa0014
GM
117962011-09-29 Glenn Morris <rgm@gnu.org>
11797
11798 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11799
df9a7357
JB
118002011-09-29 Juanma Barranquero <lekktu@gmail.com>
11801
11802 * descr-text.el (describe-char-categories): Accept category
11803 descriptions more than one line long.
11804
a8406c20
SM
118052011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11806
88d9610c
SM
11807 * simple.el (delete-trailing-whitespace): Fix last change.
11808
a5daf810
SM
11809 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11810 Don't confuse "y => 3" as the beginning of a `y' operation.
11811
a8406c20
SM
11812 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11813 object has more than 4 slots (bug#9613).
11814
a239d4e9
JB
118152011-09-28 Juanma Barranquero <lekktu@gmail.com>
11816
11817 * subr.el (with-output-to-temp-buffer):
11818 * net/quickurl.el (quickurl, quickurl-browse-url):
11819 Fix typos in docstrings.
11820
693fbdb6
EZ
118212011-09-27 Eli Zaretskii <eliz@gnu.org>
11822
11823 * minibuffer.el (completion-styles)
11824 (completion-category-overrides): Cross reference each other in doc
11825 strings.
11826
8b457e28
GM
118272011-09-27 Glenn Morris <rgm@gnu.org>
11828
11829 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11830 to split-string. (Bug#9606)
11831
85a16208
LMI
118322011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833
11834 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11835 (bug#9615).
11836
502f9ebd
CY
118372011-09-27 Chong Yidong <cyd@stupidchicken.com>
11838
11839 * emacs-lisp/package.el (list-packages): Fix echo area message.
11840
7690bdea
LL
118412011-09-27 Leo Liu <sdl.web@gmail.com>
11842
11843 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11844
e2ee6f30
MA
118452011-09-25 Michael Albinus <michael.albinus@gmx.de>
11846
11847 * net/dbus.el (dbus-unregister-object): Don't release services for
11848 registered signals. (Bug#9581)
11849
f3f98342
TZ
118502011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11851
11852 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11853 function that picks between cfengine 2 and 3 support
11854 automatically. Update docs accordingly.
11855
dd7aa8dd
KH
118562011-09-22 Kenichi Handa <handa@m17n.org>
11857
11858 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11859 ZERO.
11860 (indian-itrans-v5-table-for-tamil): New variable.
11861 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11862
3f2b07f8
KM
118632011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11864
11865 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11866 that's true if the current command involved collapsing of text.
11867 It's reset to false at the beginning of the next command.
11868 (allout-post-command-business): Move the cursor to the beginning
11869 of entry if the cursor is hidden and collapsing activity just
11870 happened.
11871
371d6a61
CY
118722011-09-24 Chong Yidong <cyd@stupidchicken.com>
11873
11874 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11875 tracking (Bug#9541).
11876
2ac2721a
UJ
118772011-09-24 Ulf Jasper <ulf.jasper@web.de>
11878
11879 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11880 (newsticker-show-news): Automatically load html rendering package
11881 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11882 because w3m-fill-column is let-bound" and the error "Symbol's value
11883 as variable is void: w3m-fill-column".
2ac2721a 11884
fac7ae53
MA
118852011-09-24 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11888 Release services only if they are defined. (Bug#9581)
11889
e08b633b
RS
118902011-09-23 Richard Stallman <rms@gnu.org>
11891
e488d29c
RS
11892 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11893 distinguish start of paragraph from start of its text.
11894
19c38752
RS
11895 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11896
e08b633b
RS
11897 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11898 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11899 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11900
0a39f27e
AS
119012011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11902
11903 * international/mule-diag.el (mule-diag): Insert a newline after
11904 each fontset description.
11905
db4e950d
SM
119062011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * simple.el (delete-trailing-whitespace):
11909 Document last change; simplify.
11910
eca3f3ea
PW
119112011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11912
d68e189a
PW
11913 * simple.el (delete-trailing-whitespace): Also delete
11914 extra newlines at the end of the buffer.
11915
eca3f3ea
PW
11916 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11917 (picture-newline): Use forward-line so as to ignore fields.
11918
01c157cc
SM
119192011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * subr.el (with-wrapper-hook): Fix edebug spec.
11922
022de23e
LMI
119232011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11924
11925 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11926 (bug#4538).
11927
91683089
MA
119282011-09-23 Michael Albinus <michael.albinus@gmx.de>
11929
eca3f3ea
PW
11930 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11931 Fix nasty bug using wrong cached values.
91683089 11932
5bdd6fa4
AM
119332011-09-23 Alan Mackenzie <acm@muc.de>
11934
11935 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11936
97adfb97
CY
119372011-09-23 Chong Yidong <cyd@stupidchicken.com>
11938
11939 * window.el (pop-to-buffer): Ensure right window is selected if we
11940 chose another frame.
11941
d4ef2b50
EZ
119422011-09-22 Eli Zaretskii <eliz@gnu.org>
11943
11944 * simple.el (what-cursor-position): Use get-char-property-change
11945 and next-single-char-property-change, to be able to show display
11946 properties that come from overlays as well as text properties.
11947
72258fe5
CY
119482011-09-22 Chong Yidong <cyd@stupidchicken.com>
11949
11950 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11951
11952 * cmuscheme.el (run-scheme, switch-to-scheme):
11953 * cus-edit.el (customize-group, custom-buffer-create)
11954 (customize-browse):
11955 * info.el (info):
11956 * shell.el (shell):
11957 * mail/sendmail.el (mail):
11958 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11959
8f098516
RS
119602011-09-22 Richard Stallman <rms@gnu.org>
11961
11962 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11963 move back only to line beg, don't move back over blank lines.
11964
e74f1bb6
MA
119652011-09-22 Michael Albinus <michael.albinus@gmx.de>
11966
11967 * files.el (copy-directory): Set directory attributes only in case
11968 they could be retrieved from the source directory. (Bug#9565)
11969
bfeef8b6
DK
119702011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11971
11972 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11973 (hs-find-block-beginning, hs-hide-level-recursive):
11974 Ignore strings as well as comments. (Bug#9502)
11975
7e423bb8
AS
119762011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11977
11978 * progmodes/sql.el (sql-comint-postgres):
11979 Convert port number to a string. (Bug#9566)
11980
b4d72fcf
MR
119812011-09-22 Martin Rudalics <rudalics@gmx.at>
11982
11983 * window.el (quit-window): Undedicate window when switching to
11984 previous buffer. Reported by Thierry Volpiatto
11985 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11986 (special-display-popup-frame): When popping up a new frame reset
11987 its previous buffers to nil. Simplify code.
b4d72fcf 11988
a7b88dc6
MA
119892011-09-21 Michael Albinus <michael.albinus@gmx.de>
11990
11991 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11992 and process filter, as done also in `shell-command'.
11993
cf4eacfd
MR
119942011-09-21 Martin Rudalics <rudalics@gmx.at>
11995
eca3f3ea 11996 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11997 Call set-window-start with NOFORCE argument t.
11998 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11999 (quit-window): Reword doc-string. Handle new format of
12000 quit-restore parameter. Don't delete window if it has a
12001 previous buffer we can show instead of the present one.
12002 (display-buffer-record-window): Rewrite using a new format for
12003 the quit-restore window parameter
12004 (special-display-popup-frame, display-buffer-same-window)
12005 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12006 (display-buffer-pop-up-window, display-buffer-use-some-window):
12007 Adapt symbol passed to display-buffer-record-window.
12008 * help.el (help-window-setup): Handle new format of quit-restore
12009 parameter.
12010
8d28cb95
SM
120112011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12012
94ab793f
SM
12013 * faces.el (face-list): Fix docstring (bug#9564).
12014
8d28cb95
SM
12015 * window.el (display-buffer--action-function-custom-type):
12016 Don't include internal functions in the Custom interface.
12017
3820edeb
JL
120182011-09-20 Juri Linkov <juri@jurta.org>
12019
12020 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12021 (Info-forward-node, Info-backward-node, Info-next-preorder)
12022 (Info-last-preorder): Use it. (Bug#9528)
12023
5147931d
JL
120242011-09-20 Juri Linkov <juri@jurta.org>
12025
12026 * info.el (Info-last-preorder): Visit last menu item only when
12027 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12028
cf499a1a
JD
120292011-09-20 Julien Danjou <julien@danjou.info>
12030
12031 * password-cache.el (password-cache-remove): Remove entries even if the
12032 value is nil, so that password with a nil value (negative caching) is
12033 possible to invalidate.
12034
f84e2fe2
LM
120352011-09-20 Lawrence Mitchell <wence@gmx.li>
12036
12037 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12038 all whitespace around breakpoint. (Bug#9553)
12039 (f90-find-breakpoint): Only break at whitespace inside a comment.
12040
78054a46
SM
120412011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * minibuffer.el (completion-file-name-table): Keep track of errors.
12044 (completion-table-with-predicate): Handle the case where pred1 is nil.
12045 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12046
345083b2
SM
120472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12048
e24e27be
SM
12049 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12050 (debugger-return-value): Signal an error if the debugging context does
12051 not await any return value.
12052
345083b2
SM
12053 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12054 * image-mode.el (image-toggle-display-text)
12055 (image-toggle-display-image): Stay away from evil `intangible'.
12056
08d355e3
LL
120572011-09-19 Leo Liu <sdl.web@gmail.com>
12058
12059 * replace.el (occur-revert-arguments): Make it permanent-local.
12060 (occur-mode): Don't call font-lock-defontify.
12061
f01da43f
CY
120622011-09-19 Chong Yidong <cyd@stupidchicken.com>
12063
12064 * net/ldap.el (ldap-search-internal): Don't push empty search
12065 result (Bug#9508).
12066
b6072fa6
SM
120672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12070
443d6696
MA
120712011-09-19 Michael Albinus <michael.albinus@gmx.de>
12072
12073 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12074 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12075
7cc6e154
JL
120762011-09-18 Juri Linkov <juri@jurta.org>
12077
12078 * buff-menu.el (Buffer-menu-mode-map):
12079 * dired.el (dired-mode-map):
12080 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12081 (lisp-interaction-mode-map):
12082 * emacs-lisp/package.el (package-menu-mode-map):
12083 * epa.el (epa-key-list-mode-map):
12084 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12085 (menu-bar-options-menu):
12086 * outline.el (outline-mode-menu-bar-map):
12087 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12088 * vc/vc-dir.el (vc-dir-menu-map):
12089 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12090 Capitalize non-function content words in menu item strings.
12091
12092 * dired.el (dired-mode-map): Add menu item for
12093 `image-dired-dired-toggle-marked-thumbs'.
12094
80302a81
JL
120952011-09-18 Juri Linkov <juri@jurta.org>
12096
12097 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12098 to `isearch-case-fold-search' and restore its original value
12099 after the `isearch-mode' call.
12100
46c5cf66
JL
121012011-09-18 Juri Linkov <juri@jurta.org>
12102
12103 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12104 because `zgrep' returns 1 for successful matches (bug#9226).
12105
d18b513b
JL
121062011-09-18 Juri Linkov <juri@jurta.org>
12107
12108 * info.el (Info-extract-menu-node-name): Check the second match
12109 for empty string (second test-case of bug#9528).
12110 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12111 intermediate nodes to the history (first test-case of bug#9528).
12112
72753f87
JL
121132011-09-18 Juri Linkov <juri@jurta.org>
12114
12115 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12116 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12117
c9384295
JL
121182011-09-18 Juri Linkov <juri@jurta.org>
12119
1154d12e
JB
12120 * info.el (Info-file-supports-index-cookies):
12121 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12122 outputs one more line for long file names (bug#4142).
c9384295 12123
d473dce8
CY
121242011-09-18 Chong Yidong <cyd@stupidchicken.com>
12125
12126 * newcomment.el (comment-normalize-vars): If prompting for
12127 comment-start, set comment-start-skip too (Bug#8424).
12128
2176854d
JB
121292011-09-18 Johan Bockgård <bojohan@gnu.org>
12130
12131 * icomplete.el: Fix previous fix of Bug#5849.
12132 (icomplete-mode): Don't set completion-show-inline-help.
12133 (icomplete-minibuffer-setup): Set completion-show-inline-help
12134 locally during icompletion.
12135
3aace4e4
CY
121362011-09-18 Chong Yidong <cyd@stupidchicken.com>
12137
c940224f
CY
12138 * woman.el (woman2-process-escapes): Don't delete unrecognized
12139 escapes (Bug#7843).
12140
3aace4e4
CY
12141 * files.el (inhibit-first-line-modes-regexps): Add image files.
12142 (hack-local-variables-prop-line): Return nil for malformed
12143 prop-lines (Bug#9044).
12144
710dec63
MA
121452011-09-18 Michael Albinus <michael.albinus@gmx.de>
12146
12147 * net/tramp.el (top): Don't require 'shell.
12148 (tramp-methods): Fix docstring.
12149 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12150 Return complete remote file name. Handle "smb" case.
12151 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12152 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12153
12154 * net/tramp-compat.el (top): Require 'shell.
12155
12156 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12157 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12158 `tramp-current-host'.
12159 (tramp-get-remote-tmpdir): Remove.
12160
12161 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12162 `tramp-tmpdir' entries.
12163 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12164 (tramp-smb-handle-file-attributes): Ignore errors.
12165 (tramp-smb-wait-for-output): Check also for process end.
12166
5d5ac8ec
LMI
121672011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12168
12169 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12170 when sending QUIT (bug#9312).
12171
8c0f49f0
CY
121722011-09-17 Chong Yidong <cyd@stupidchicken.com>
12173
12174 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12175 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12176 occur-mode-display-occurrence.
12177 (occur-edit-mode): Add usage message.
12178 (occur-cease-edit): New command.
12179 (occur-after-change-function): Use text properties to find the
12180 position of the prefix text.
12181 (occur-engine): Set stickiness of prefix text properties.
12182
8f1383f7
GM
121832011-09-17 Glenn Morris <rgm@gnu.org>
12184
12185 * progmodes/etags.el (complete-tag):
12186 Fix call to completion-in-region. (Bug#9526)
12187
744ba0e3
JL
121882011-09-17 Juri Linkov <juri@jurta.org>
12189
12190 * textmodes/ispell.el (ispell-word): Add to the error message
12191 the word, ispell program name and current dictionary (bug#9121).
12192 (ispell-tex-arg-end): Capitalize "error" in the error message.
12193
d9bbf400
AS
121942011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12195
12196 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12197 check. (Bug#4251)
12198
8da11505
JL
121992011-09-17 Juri Linkov <juri@jurta.org>
12200
12201 * window.el (window-safe-min-height, window-safe-min-width):
12202 Fix typos (followup to bug#9522).
12203
a91adc7e
SJ
122042011-09-17 Sven Joachim <svenjoac@gmx.de>
12205
12206 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12207
064f328a
EZ
122082011-09-16 Eli Zaretskii <eliz@gnu.org>
12209
12210 * simple.el (line-move): If goal-column is set, move by logical
12211 lines, not by display lines. (Bug#971)
12212 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12213 to reflect the above change.
12214
e69df516
SM
122152011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * image.el (imagemagick-register-types): Use regexp-opt.
12218
cbb0f9ab
CY
122192011-09-15 Chong Yidong <cyd@stupidchicken.com>
12220
12221 * window.el (display-buffer-base-action): Rename from
12222 display-buffer-default-action. Make default value empty.
12223 (display-buffer-overriding-action): Convert to defvar.
12224 (display-buffer-fallback-action): New var.
12225
25322144
CY
122262011-09-15 Chong Yidong <cyd@stupidchicken.com>
12227
12228 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12229 declaration.
12230 (package--add-to-archive-contents): If there is a duplicate entry
12231 with an older version, remove it.
12232 (package-menu-mark-delete, package-menu-mark-install)
12233 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12234 (package-menu-mark-obsolete-for-deletion):
12235 Use package-menu-get-status instead of a regexp search.
25322144
CY
12236 (package-menu-get-status): Use tabulated-list-entry.
12237 (package-menu-mark-upgrades): New command.
d770725a 12238 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12239 (package-menu-execute): Do installation before deletion.
12240 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12241 instead of checking major-mode.
12242 (package-menu--find-upgrades): New function.
12243
7520339c
LMI
122442011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12245
12246 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12247 passwords in the log buffer.
65a046c4
LMI
12248 (smtpmail-process-filter): Update the process marker so that the
12249 "broken by peer" status message is inserted in the right place.
7520339c 12250
d3c30954
SM
122512011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12252
3fe48822
SM
12253 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12254 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12255 bibtex-completion-at-point-function.
12256 (bibtex-completion-at-point-function): Use them.
12257
1b8b3954
SM
12258 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12259
d3c30954
SM
12260 * mpc.el (mpc-constraints-tag-lookup): New function.
12261 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12262 also to browser "album|playlist".
12263
72779976
JL
122642011-09-14 Juri Linkov <juri@jurta.org>
12265
12266 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12267 (isearch-edit-string): Use length of `isearch-string' when
12268 `isearch-fail-pos' returns nil.
12269 (isearch-message): Remove duplicate code and call
12270 `isearch-fail-pos' with arg `t'.
12271
a0bf2bcd
CY
122722011-09-14 Chong Yidong <cyd@stupidchicken.com>
12273
17bb0a2d
CY
12274 * replace.el (occur-mode-goto-occurrence): Don't force using other
12275 window (Bug#9499).
12276
a0bf2bcd
CY
12277 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12278
f678e0b6
MR
122792011-09-14 Martin Rudalics <rudalics@gmx.at>
12280
12281 * window.el (display-buffer-window): Remove.
12282 (display-buffer-record-window): Use help-setup window parameter
12283 instead of variable display-buffer-window.
12284 (display-buffer-function, special-display-buffer-names)
12285 (special-display-function): Mention help-setup parameter instead
12286 of display-buffer-window in doc-string.
d3c30954
SM
12287 * help.el (help-window-setup): New argument help-window.
12288 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12289 Reword some messages.
12290 (with-help-window): Pass window used for displaying the buffer
12291 to help-window-setup. Don't set display-buffer-window.
12292
8e39b2e8
GM
122932011-09-13 Glenn Morris <rgm@gnu.org>
12294
12295 * emacs-lisp/debug.el (debugger-make-xrefs):
12296 Preserve point. (Bug#9462)
12297
85e9c04b
CY
122982011-09-13 Chong Yidong <cyd@stupidchicken.com>
12299
12300 * window.el (window-deletable-p): Use next-frame.
12301
1b36ed6a
MR
123022011-09-13 Martin Rudalics <rudalics@gmx.at>
12303
12304 * window.el (window-auto-delete): Remove.
12305 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12306 dedication and previous buffers.
1b36ed6a
MR
12307 (switch-to-prev-buffer): Don't delete window.
12308 (delete-windows-on): Delete a window's frame if and only if the
12309 window is dedicated.
12310 (replace-buffer-in-windows): Delete buffer's window or frame if
12311 and only if window is dedicated.
12312 (quit-window): Handle quit-restore as before last change.
4d61f28d 12313 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12314
ef8ef9fb
CY
123152011-09-13 Chong Yidong <cyd@stupidchicken.com>
12316
12317 * window.el (window-deletable-p): Never delete the last frame on a
12318 given terminal.
12319
b2cba41e
GM
123202011-09-13 Glenn Morris <rgm@gnu.org>
12321
12322 * help.el (describe-key-briefly): Copy previous standard-output change.
12323
51553db6 123242011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12325
12326 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12327
b7556719
GM
123282011-09-13 Glenn Morris <rgm@gnu.org>
12329
12330 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12331 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12332
64b51947
CY
123332011-09-12 Chong Yidong <cyd@stupidchicken.com>
12334
12335 * dired-aux.el (dired-mark-read-string): Don't return default
12336 value on empty input (Bug#9361).
12337 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12338 Omit initial minibuffer contents.
12339 (dired-do-chmod): Signal an error on empty input.
12340 (dired-mark-read-string): Don't return default on empty input.
12341
12342 * files.el (file-modes-symbolic-to-number): Doc fix.
12343
393a301e
SM
123442011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * international/mule-cmds.el (ucs-completions): Remove.
12347 (read-char-by-name): Use complete-with-action instead; add metadata.
12348
fa5660f9
CY
123492011-09-11 Chong Yidong <cyd@stupidchicken.com>
12350
12351 * window.el (display-buffer--action-function-custom-type)
12352 (display-buffer--action-custom-type): New vars.
12353 (display-buffer-alist, display-buffer-default-action)
12354 (display-buffer-overriding-action): Add defcustom types.
12355
4a592f66
CY
12356 * frame.el (delete-other-frames): Doc fix (Bug#276).
12357
73d56dbd
LMI
123582011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12359
12360 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12361
37ac18a3
CY
123622011-09-11 Chong Yidong <cyd@stupidchicken.com>
12363
12364 Change modes that used same-window-* vars to use switch-to-buffer.
12365
12366 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12367 Use switch-to-buffer.
12368
12369 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12370 (customize-browse, custom-buffer-create-other-window):
12371 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12372
12373 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12374 (Info-prev, Info-up, Info-speedbar-goto-node)
12375 (info-display-manual): Use switch-to-buffer.
12376 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12377
12378 * mail/sendmail.el (mail): Use switch-to-buffer.
12379 (mail-recover): Use switch-to-buffer-other-window.
12380
12381 * cmuscheme.el (run-scheme, switch-to-scheme):
12382 * ielm.el (ielm):
12383 * shell.el (shell):
12384 * net/rlogin.el (rlogin):
12385 * net/telnet.el (telnet, rsh):
12386 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12387
10195bd6
AS
123882011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12389
12390 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12391
b322f63a
LMI
123922011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12393
39d7fed6
LMI
12394 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12395 so don't mention it (bug#9301).
ba5a81f1 12396 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12397
ee0e9f11
LMI
12398 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12399 match `x', `w32' and `ns', like the manual says (bug#9029).
12400
0b1c89c1 12401 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12402 (process-kill-buffer-query-function): Mention the buffer name in
12403 the query.
0b1c89c1 12404
77549ea8
LMI
12405 * image-mode.el (image-next-line): The line parameter is mandatory
12406 (bug#9258).
12407
803ef892
LMI
12408 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12409 which can be useful (bug#9301).
12410
12980837
LMI
12411 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12412
91054f8f
LMI
12413 * subr.el (match-string): Mention that the current buffer should
12414 be the same as the search was done in (bug#9282).
12415
b322f63a
LMI
12416 * facemenu.el: Disable the remove-* commands if the mark isn't
12417 active (bug#9162).
12418
3199b96f
CY
124192011-09-10 Chong Yidong <cyd@stupidchicken.com>
12420
12421 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12422 of display-buffer.
12423 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12424
12425 * replace.el (occur-mode-goto-occurrence)
12426 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12427 and display-buffer.
12428
12429 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12430 display-buffer.
12431
12432 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12433 special-display and same-window variables.
12434 (mail-other-window): Use switch-to-buffer-other-window.
12435 (mail-other-frame): USe switch-to-buffer-other-frame.
12436
393a301e
SM
12437 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12438 Use display-buffer-other-frame.
3199b96f
CY
12439 (gdb-display-gdb-buffer): Use pop-to-buffer.
12440
12441 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12442
12443 * progmodes/python.el: Don't set same-window-buffer-names.
12444
12445 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12446
12447 * window.el (display-buffer-alist): Add *Python*.
12448
8319e0bf
CY
124492011-09-10 Chong Yidong <cyd@stupidchicken.com>
12450
12451 * window.el (display-buffer-alist): Add entry for buffers
12452 previously handled same-window-*.
12453 (display-buffer-alist, display-buffer-default-action)
12454 (display-buffer-overriding-action): Mark as risky.
12455 (display-buffer-alist): Document action function changes.
12456 (display-buffer--same-window-action)
12457 (display-buffer--other-frame-action): New variables.
12458 (switch-to-buffer, display-buffer-other-frame): Use them.
12459 (display-buffer): Rename reuse-frame entry to reusable-frames.
12460 (display-buffer-reuse-selected-window): Function deleted.
12461 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12462 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12463 (display-buffer-special): New function.
12464 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12465 display-buffer-reuse-or-pop-window. Split off special-display
12466 part into display-buffer-special.
12467 (display-buffer-use-some-window): Don't perform any special
12468 pop-up-frames handling.
12469 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12470 (display-buffer--maybe-same-window): Rename from
0d3ff375 12471 display-buffer-maybe-same-window.
8319e0bf 12472
919a69aa
CY
12473 * info.el: Don't set same-window-regexps.
12474 (info-setup): New function.
12475 (info-other-window, info): Call it.
12476
12477 * cus-edit.el: Don't set same-window-regexps.
12478 (customize-group): New argument.
12479 (customize-group-other-window): Use it.
12480 (customize-face, customize-face-other-window): Likewise.
12481 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12482
8319e0bf
CY
12483 * net/rlogin.el:
12484 * net/telnet.el:
12485 * progmodes/gud.el: Don't set same-window-regexps.
12486
12487 * cmuscheme.el:
12488 * ielm.el:
12489 * shell.el:
12490 * mail/sendmail.el:
12491 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12492
25173000
JL
124932011-09-10 Juri Linkov <juri@jurta.org>
12494
12495 * isearch.el (isearch-edit-string): Remove obsolete mention of
12496 `C-w' (`isearch-yank-word-or-char') from docstring.
12497 (isearch-query-replace): Fix typo in docstring (bug#9466).
12498
056e44ef
JL
124992011-09-10 Juri Linkov <juri@jurta.org>
12500
12501 * paren.el (show-paren-function): Don't show escaped parens.
12502 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12503
c3760c17
EZ
125042011-09-10 Eli Zaretskii <eliz@gnu.org>
12505
12506 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12507 (mm-default-file-encoding): Remove autoload forms, they are
12508 replaced with autoload cookies in mml.el and mm-encode.el.
12509 (mail-add-attachment): New command.
12510 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12511 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12512 the doc string.
12513 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12514
fece895e
RT
125152011-09-10 Reuben Thomas <rrt@sc3d.org>
12516
e69df516
SM
12517 * simple.el (count-words-region): Use buffer if there's no region
12518 (bug#9429).
fece895e 12519
5e68ce4a
JL
125202011-09-09 Juri Linkov <juri@jurta.org>
12521
12522 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12523 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12524 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12525
0a6b9622
AM
125262011-09-09 Alan Mackenzie <acm@muc.de>
12527
12528 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12529 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12530
14a29deb
EZ
125312011-09-09 Eli Zaretskii <eliz@gnu.org>
12532
12533 Fix for Savannah bug#9392.
12534 * simple.el (mail-encode-mml): New defvar.
12535
12536 * mail/rmail.el (mail-encode-mml): Add a defvar.
12537 (rmail-enable-mime-composing): Default to t.
12538 (rmail-forward): Use MIME method of forwarding only if both
12539 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12540 Set mail-encode-mml non-nil if the MIME method was used.
12541
12542 * mail/sendmail.el (mml-to-mime): Add autoload form.
12543 (mail-encode-mml): Add a defvar.
12544 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12545 to nil.
12546 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12547 message through mml-to-mime, and reset mail-encode-mml to nil.
12548
28c45130
GM
125492011-09-09 Glenn Morris <rgm@gnu.org>
12550
12551 * woman.el (woman-if-body): When processing an .el block,
12552 do not delete the next .el block as well. (Bug#9447)
69f4b618 12553 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12554
9b1c252e
MR
125552011-09-08 Martin Rudalics <rudalics@gmx.at>
12556
12557 * window.el (window-deletable-p): Make sure window is live before
12558 invoking window-prev-buffers.
12559
567457e3
LL
125602011-09-08 Leo Liu <sdl.web@gmail.com>
12561
12562 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12563
97f05794
JL
125642011-09-08 Juri Linkov <juri@jurta.org>
12565
12566 * progmodes/compile.el (compilation-environment): Make it
12567 a defcustom (bug#8340).
12568
8b0874b5
MR
125692011-09-08 Martin Rudalics <rudalics@gmx.at>
12570
12571 * window.el (frame-auto-delete): Rename to window-auto-delete.
12572 Make it control auto-deletion of windows and/or frames.
12573 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12574 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12575 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12576 Rewrite handling of case when window/frame can be deleted.
12577 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12578 argument t. (Bug#9456)
8b0874b5 12579
4feb6e73
CY
125802011-09-07 Chong Yidong <cyd@stupidchicken.com>
12581
12582 * help-mode.el (help-mode): Restore autoload.
12583
91ab9c13
JL
125842011-09-07 Juri Linkov <juri@jurta.org>
12585
12586 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12587 `compilation-environment'. Set buffer-local
12588 `compilation-environment' to `thisenv' later after (funcall mode).
12589 (Bug#8340)
12590
12591 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12592 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12593 instead of replacing its value. (Bug#8340)
12594
0527e251
JL
125952011-09-07 Juri Linkov <juri@jurta.org>
12596
12597 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12598 based on text properties put by `grep-filter' instead of matching
12599 escape sequences.
12600 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12601 to the value of `grep-error-screen-columns' (bug#9438).
12602
249f792c
JL
126032011-09-07 Juri Linkov <juri@jurta.org>
12604
12605 * simple.el (next-error-highlight, next-error-highlight-no-select):
12606 Doc fix (bug#9432).
12607
ff7271b9
OT
126082011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12609
12610 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12611 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12612
183fc730
LL
126132011-09-07 Leo Liu <sdl.web@gmail.com>
12614
12615 * net/rcirc.el (rcirc-mode): Conditionally initialize
12616 rcirc-input-ring.
12617
77694924
SM
126182011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * emacs-lisp/find-func.el (find-function-C-source): Only set
12621 find-function-C-source-directory after checking that we found a source
12622 file there (bug#9440).
12623
d809b8eb
AM
126242011-09-06 Alan Mackenzie <acm@muc.de>
12625
12626 * isearch.el (isearch-other-meta-char): Wherever a key list is
12627 unread, "unread" the prefix arg, too. This fixes bug #8901.
12628
453de99f
OG
126292011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12630
12631 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12632
90439906
JL
126332011-09-05 Juri Linkov <juri@jurta.org>
12634
12635 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12636
f62bd846
JL
126372011-09-05 Juri Linkov <juri@jurta.org>
12638
12639 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12640 keeping point where processing of grep matches begins, and
12641 continue to delete remaining escape sequences from the same point.
12642 (grep-filter): Make leading zero optional in "0?1;31m" because
12643 git-grep emits "\033[1;31m" escape sequences unlike expected
12644 "\033[01;31m" as GNU Grep does (bug#9408).
12645 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12646
045820ec
JL
126472011-09-05 Juri Linkov <juri@jurta.org>
12648
12649 * subr.el (y-or-n-p): Capitalize "yes".
12650
f5e29b9b
MA
126512011-09-04 Michael Albinus <michael.albinus@gmx.de>
12652
12653 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12654 `tramp-cache-unload-hook' where appropriate.
12655 (tramp-methods): Rename `tramp-remote-sh' to
12656 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12657 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12658
12659 * net/tramp-sh.el (top): Don't require 'shell.
12660 (tramp-methods): Add `tramp-remote-shell' and
12661 `tramp-remote-shell-args' entries.
12662 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12663 (tramp-sh-handle-shell-command): Remove.
12664 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12665 Use `tramp-remote-shell'.
12666
2784c434
CY
126672011-09-03 Chong Yidong <cyd@stupidchicken.com>
12668
393a301e 12669 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12670 (sendmail-query-once): Save directly to send-mail-function.
12671 Update message-send-mail-function too.
12672
12673 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12674
464cdf56
CS
126752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12676
12677 * progmodes/python.el (python-mode-map): Use correct function to
12678 start python interpreter from menu-bar (as reported by Geert
12679 Kloosterman).
12680 (inferior-python-mode-map): Fix typo.
393a301e 12681 (python-shell-map): Remove.
464cdf56 12682
d37e5c87
DD
126832011-09-03 Deniz Dogan <deniz@dogan.se>
12684
12685 * net/rcirc.el (rcirc-print): Simplify code for
12686 rcirc-scroll-show-maximum-output. There is no need to walk
12687 through all windows to find the right one.
12688
f3ada0ee
CS
126892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12690
12691 * help.el (help-return-method): Doc fix.
12692
1f3c99ca
MR
126932011-09-03 Martin Rudalics <rudalics@gmx.at>
12694
12695 * window.el (window-deletable-p): Don't return a non-nil value
12696 when there's a buffer that was shown in the window before.
12697 (Bug#9419)
393a301e
SM
12698 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12699 Set window's previous buffers to nil.
1f3c99ca 12700
a3cf097f
EZ
127012011-09-03 Eli Zaretskii <eliz@gnu.org>
12702
12703 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12704 newline before and after the tag line, so it doesn't interfere
12705 with determining the paragraph direction of bidirectional text.
12706
3d03de90
LL
127072011-09-03 Leo Liu <sdl.web@gmail.com>
12708
12709 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12710
c3313451
CY
127112011-09-02 Chong Yidong <cyd@stupidchicken.com>
12712
393a301e 12713 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12714 (pop-to-buffer): Change interactive spec. Pass second argument
12715 directly to display-buffer.
12716 (display-buffer): Fix interactive spec. Use functionp to
12717 distinguish between a function and a list of functions.
12718
12719 * abbrev.el (edit-abbrevs):
12720 * arc-mode.el (archive-extract):
12721 * autoinsert.el (auto-insert):
12722 * bookmark.el (bookmark-bmenu-list):
12723 * files.el (find-file):
12724 * view.el (view-buffer):
12725 * progmodes/compile.el (compilation-goto-locus):
12726 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12727
89894cd8
CY
127282011-09-02 Chong Yidong <cyd@stupidchicken.com>
12729
12730 * window.el (display-buffer-alist): Doc fix.
12731 (display-buffer): Add docstring. Don't treat
12732 display-buffer-default specially.
12733 (display-buffer-reuse-selected-window)
12734 (display-buffer-same-window, display-buffer-maybe-same-window)
12735 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12736 (display-buffer-pop-up-window)
12737 (display-buffer-reuse-or-pop-window)
12738 (display-buffer-use-some-window): New functions.
12739 (display-buffer-default-action): Use them.
393a301e 12740 (display-buffer-default): Delete.
89894cd8
CY
12741 (pop-to-buffer-1): Fix choice of actions.
12742
ae0bc9fb
SM
127432011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * minibuffer.el (completion--insert-strings): Don't get confused by
12746 completion entries that end with an LF char.
12747
e9d90883
EZ
127482011-09-01 Eli Zaretskii <eliz@gnu.org>
12749
12750 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12751
437014c8
CY
127522011-09-01 Chong Yidong <cyd@stupidchicken.com>
12753
12754 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12755 (display-buffer-same-window, display-buffer-other-window):
12756 New functions.
437014c8
CY
12757 (pop-to-buffer-1): New function. Use the above.
12758 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12759 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12760
12761 * view.el (view-buffer-other-window, view-buffer-other-frame):
12762 Just use pop-to-buffer.
12763
a5e063d5
TV
127642011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
12766 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12767
793d32bb
WH
127682011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12769
12770 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12771
d65e4c15
RS
127722011-08-31 Richard Stallman <rms@gnu.org>
12773
12774 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12775 of the separation of rmail-view-buffer from rmail-buffer.
12776 If you say no to "replace original", the decrypt is in the
12777 view buffer. If you say yes, the decrypt goes into the
12778 rmail buffer also.
12779
f818cd2a
MR
127802011-08-31 Martin Rudalics <rudalics@gmx.at>
12781
12782 * window.el (display-buffer-window): Rewrite doc-string.
12783 (display-buffer-record-window): New function.
12784 (display-buffer-macro-specifiers)
12785 (display-buffer-even-window-sizes, display-buffer-set-height)
12786 (display-buffer-set-width, display-buffer-in-window)
12787 (display-buffer-reuse-window, display-buffer-split-specifiers)
12788 (display-buffer-side-specifiers, display-buffer-split-window-1)
12789 (display-buffer-split-window, display-buffer-split-atom-window)
12790 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12791 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12792 (display-buffer-other-window-means-other-frame)
12793 (display-buffer-normalize-special)
12794 (display-buffer-normalize-default)
12795 (display-buffer-normalize-argument)
12796 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12797 (display-buffer-normalize-specifiers, display-buffer-frame)
12798 (display-buffer-same-window, display-buffer-same-frame)
12799 (display-buffer-other-window)
12800 (display-buffer-same-frame-other-window)
12801 (display-buffer-other-frame, pop-to-buffer-same-window)
12802 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12803 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12804 (switch-to-buffer-same-frame)
12805 (switch-to-buffer-other-window-same-frame)
12806 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12807 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12808 (display-buffer-alist-set): Remove.
12809 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12810 (special-display-regexps, special-display-function):
12811 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12812 parameter.
12813 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12814 (special-display-frame-alist, special-display-popup-frame)
12815 (same-window-buffer-names, same-window-regexps, same-window-p)
12816 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12817 (split-window-preferred-function, split-height-threshold)
12818 (split-width-threshold, window-splittable-p)
12819 (split-window-sensibly, window--try-to-split-window)
12820 (window--frame-usable-p, even-window-heights)
12821 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12822 (window--display-buffer-2, display-buffer-other-frame):
12823 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12824 (display-buffer-default, display-buffer-assq-regexp): New functions.
12825 (display-buffer-alist): Rewrite doc-string.
12826 (display-buffer-default-action)
12827 (display-buffer-overriding-action): New variables.
12828 (display-buffer, switch-to-buffer): Rewrite.
12829 (pop-to-buffer): Restore Emacs 23 behavior but use
12830 window-normalize-buffer-to-display.
12831 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12832 Restore Emacs 23 behavior but use
12833 window-normalize-buffer-to-switch-to.
12834 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12835 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12836 Rewrite using Emacs 23 options.
f818cd2a 12837
5bc3b51d
MA
128382011-08-31 Michael Albinus <michael.albinus@gmx.de>
12839
12840 * net/tramp.el (tramp-root-regexp): Remove.
12841 (tramp-completion-file-name-regexp-unified)
12842 (tramp-completion-file-name-regexp-separate)
12843 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12844 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12845 (tramp-drop-volume-letter): Simplify definition.
12846 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12847
b1a4f8e1
SM
128482011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12851 (bug#9356).
12852
5664fa7b
RT
128532011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12854
b1a4f8e1 12855 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12856
9a45d6c3
JL
128572011-08-29 Juri Linkov <juri@jurta.org>
12858
12859 * isearch.el (isearch-done): Don't display message "Mark saved"
12860 when arg `edit' is non-nil to prevent its flicker in the echo area.
12861
fb87e0fb
CY
128622011-08-28 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12865 obsolete packages for deletion.
12866
09ac1c2a
CS
128672011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12868
12869 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12870 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12871 view-mode from help-mode.
12872 (help-xref-override-view-map): Remove.
12873 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12874 view-mode is not used anymore.
12875
7a1ff57f
CY
128762011-08-28 Chong Yidong <cyd@stupidchicken.com>
12877
12878 * server.el (server-port): Doc fix.
12879
b9696605
CY
12880 * cus-theme.el (custom-theme-choose-mode): Inherit from
12881 special-mode (Bug#9124).
12882 (custom-theme-choose-mode-map): Add special-mode to parent.
12883
ef8cdf8c
AM
128842011-08-28 Alan Mackenzie <acm@muc.de>
12885
12886 * progmodes/cc-fonts.el
12887 (c-make-font-lock-BO-decl-search-function): New function.
12888 (c-basic-matchers-after - "Fontify the clauses after various
12889 keywords"): Extract the three keyword lists for the 3 erroneous
12890 constructs from the list of four, and use the new function above
12891 in place of an old one.
12892
27de4e20
DD
128932011-08-28 Deniz Dogan <deniz@dogan.se>
12894
12895 * net/rcirc.el (rcirc-insert-prev-input)
12896 (rcirc-insert-next-input): Remove unused argument.
12897
356a3681
SM
128982011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12901
3fc9b218
AM
129022011-08-27 Alan Mackenzie <acm@muc.de>
12903
12904 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12905 handle function pointer parameters properly.
12906
538a061c
MR
129072011-08-27 Martin Rudalics <rudalics@gmx.at>
12908
12909 * window.el (display-buffer-reuse-window): Fix case where
12910 selected window was reused with non-nil OTHER-WINDOW argument.
12911 (Bug#9381)
12912
35b1c40c
DD
129132011-08-27 Deniz Dogan <deniz@dogan.se>
12914
12915 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12916 oftc's NickServ messages.
12917
2f6a3e79
GM
129182011-08-27 Glenn Morris <rgm@gnu.org>
12919
12920 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12921
7254299e
CY
129222011-08-26 Chong Yidong <cyd@stupidchicken.com>
12923
12924 * emacs-lisp/package.el (package-install): Call package-initialize
12925 if called interactively.
12926
f8ccf167
LL
129272011-08-26 Leo Liu <sdl.web@gmail.com>
12928
12929 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12930
3e8cd5ce
JL
129312011-08-25 Juri Linkov <juri@jurta.org>
12932
12933 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12934 `search-whitespace-regexp' (bug#9364).
12935
93eb7113
JL
129362011-08-25 Juri Linkov <juri@jurta.org>
12937
12938 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12939 `regexp-search-ring' to their global values to protect from
12940 updating by `read-from-minibuffer' (bug#9185).
12941
f65d1611
JL
129422011-08-25 Juri Linkov <juri@jurta.org>
12943
12944 * textmodes/ispell.el (ispell-command-loop): Add newline
12945 at the end of the "Use option `i'..." line.
12946
f1cf7a31
JL
129472011-08-25 Juri Linkov <juri@jurta.org>
12948
12949 * battery.el (display-battery-mode): If `battery-status-function'
12950 or `battery-mode-line-format' is nil, display the message and set
12951 `display-battery-mode' to nil (bug#9363).
12952
0c95fcf7
EZ
129532011-08-25 Eli Zaretskii <eliz@gnu.org>
12954
12955 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12956 bidi-string-mark-left-to-right; they are unnecessary now.
12957
a2ebe600
DD
129582011-08-25 Deniz Dogan <deniz@dogan.se>
12959
12960 * net/quickurl.el: Documentation typo fixes.
12961
e4ed06f1
CY
129622011-08-25 Chong Yidong <cyd@stupidchicken.com>
12963
12964 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12965
e5f1c99e
GM
129662011-08-25 Glenn Morris <rgm@gnu.org>
12967
b2948976
GM
12968 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12969
e5f1c99e
GM
12970 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12971 (smtpmail-via-smtp): Handle nil response from smtp.
12972
f22f4808
JL
129732011-08-24 Juri Linkov <juri@jurta.org>
12974
12975 * proced.el (proced-marked): Inherit from `error' instead of
12976 `font-lock-warning-face'.
12977
12978 * ibuffer.el (ibuffer-marked-face): Change default face from
12979 `font-lock-warning-face' to `warning'.
12980 (ibuffer-deletion-face): Change default face from
12981 `font-lock-type-face' to `error'.
12982
12983 * battery.el (battery-update): Use the face `error' instead of
12984 `font-lock-warning-face' (bug#6117).
12985
6a93965e
JL
129862011-08-24 Juri Linkov <juri@jurta.org>
12987
12988 * faces.el (success): Change face color from "Green3" to
12989 "ForestGreen" on light background (bug#9353).
12990
1ed43b09
CY
129912011-08-24 Chong Yidong <cyd@stupidchicken.com>
12992
5664fa7b
RT
12993 * window.el (quit-window): Rename from quit-restore-window.
12994 Use same arglist as old quit-window.
1ed43b09
CY
12995 (frame-auto-delete): Doc fix.
12996
12997 * view.el (view-mode-exit): Use quit-window.
12998
11dcdbb2
JL
129992011-08-24 Juri Linkov <juri@jurta.org>
13000
13001 * isearch.el (isearch-ring-adjust1): Start visiting previous
13002 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13003 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13004 for empty search string (when the last search string is reused
13005 automatically) to adjust the isearch ring to the last element and
13006 prepare the correct index for further M-p commands (bug#9185).
13007
de62b4df
KH
130082011-08-24 Kenichi Handa <handa@m17n.org>
13009
13010 * international/ucs-normalize.el: If decomposition property of
13011 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13012 nil.
13013 (nfd, nfkd): Likewise.
13014
963b492b
SM
130152011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13016
13017 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13018 from process filters aren't reliably transmitted to the surrounding
13019 accept-process-output.
13020 (mpc-proc-check): New function.
13021 (mpc-proc-sync): Use it (bug#8293)
13022
93b6b5e1
SM
130232011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13026 Add compatibility functions (bug#9313).
13027
bca633fb
EZ
130282011-08-23 Eli Zaretskii <eliz@gnu.org>
13029
b177498a
EZ
13030 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13031
6df6ae42 13032 * international/uni-bidi.el: Regenerate.
bca633fb 13033
0902a04e
KH
130342011-08-23 Kenichi Handa <handa@m17n.org>
13035
13036 * international/charprop.el:
13037 * international/uni-bidi.el:
13038 * international/uni-category.el:
13039 * international/uni-combining.el:
13040 * international/uni-comment.el:
13041 * international/uni-decimal.el:
13042 * international/uni-decomposition.el:
13043 * international/uni-digit.el:
13044 * international/uni-lowercase.el:
13045 * international/uni-mirrored.el:
13046 * international/uni-name.el:
13047 * international/uni-numeric.el:
13048 * international/uni-old-name.el:
13049 * international/uni-titlecase.el:
13050 * international/uni-uppercase.el: Regenerate.
13051
3bbf23bc
MR
130522011-08-23 Martin Rudalics <rudalics@gmx.at>
13053
13054 * help.el (help-window-setup): Fix message displayed when other
13055 window is reused. (Bug#9341)
13056
b3fd59bd
SM
130572011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13058
1802e444
SM
13059 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13060 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13061
b3fd59bd
SM
13062 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13063 Mark obsolete.
13064 * shell.el (shell-parse-pcomplete-arguments): New function.
13065 (shell-completion-vars): Use it instead (bug#9160).
13066
4eb61348
SM
130672011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13068
867cab74
SM
13069 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13070 strings and comments (bug#9333).
13071
4eb61348
SM
13072 * emacs-lisp/debug.el (debug-arglist): New function.
13073 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13074 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13075
262a1439
JL
130762011-08-22 Juri Linkov <juri@jurta.org>
13077
56ee679c
JL
13078 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13079 Revert regexp that highlights output switches to its old
13080 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13081
262a1439
JL
13082 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13083 to check for empty output (bug#9226).
13084
f13f86fb
CY
130852011-08-22 Chong Yidong <cyd@stupidchicken.com>
13086
13087 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13088 symbol-constituent as the default, as that stops font-lock from
13089 working properly (Bug#8843).
13090
c65c9622
LMI
130912011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13092
13093 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13094 `coding-system-for-*' around the process open call to avoid
13095 auth-source side effects.
e7f2c178 13096 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13097 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13098 probe hangs.
c65c9622 13099
23a8a5ab
CY
131002011-08-21 Chong Yidong <cyd@stupidchicken.com>
13101
ff98b2dd
CY
13102 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13103
23a8a5ab
CY
13104 * emacs-lisp/find-func.el (find-function-noselect): New arg
13105 lisp-only.
13106
13107 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13108 signal an error for built-in functions (Bug#6664).
13109
f5e3c598
LMI
131102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13111
13112 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13113 (smtpmail-try-auth-methods): Use it.
13114
a3f2468a
CY
131152011-08-21 Chong Yidong <cyd@stupidchicken.com>
13116
2c34e8da
CY
13117 * font-lock.el (font-lock-fontify-region)
13118 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13119 (font-lock-default-unfontify-buffer)
13120 (font-lock-default-fontify-region)
13121 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13122
b3fd59bd
SM
13123 * progmodes/compile.el (compilation-error-properties):
13124 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13125 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13126 `ant' regexp.
ee31aabc 13127
a3f2468a
CY
13128 * net/browse-url.el (browse-url-firefox): Don't call
13129 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13130
8e999f70
GM
131312011-08-20 Glenn Morris <rgm@gnu.org>
13132
c21a496a
GM
13133 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13134
59ee0542
GM
13135 * tutorial.el (tutorial--default-keys): Update some default bindings.
13136
8e999f70
GM
13137 * files.el (hack-local-variables): Fully ignore case for "mode:".
13138
e3715033
AM
131392011-08-20 Alan Mackenzie <acm@muc.de>
13140
13141 Resolve invalid use of a regexp in regexp-opt.
13142
4d61f28d
JB
13143 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13144 detection for a java annotation.
e3715033 13145
4d61f28d 13146 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13147 detection for a java annotation.
13148
4d61f28d
JB
13149 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13150 handling for java.
e3715033
AM
13151 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13152
04ed2e9c
CY
131532011-08-20 Chong Yidong <cyd@stupidchicken.com>
13154
13155 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13156 (Bug#9274).
13157
826cee64
AM
131582011-08-20 Alan Mackenzie <acm@muc.de>
13159
58179cce 13160 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13161 such a construct. Mainly for when jit-lock etc. starts a chunk
13162 here.
13163
58179cce 13164 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13165 variable.
58179cce 13166 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13167 c-make-font-lock-search-function.
13168 (c-make-font-lock-search-function): Use the above function.
13169 (c-make-font-lock-context-search-function): New function.
13170 (c-cpp-matchers): Enhance the preprocessor expression case with
13171 the above function
13172 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13173 which takes an expression.
13174
13175 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13176
13009bd8
MR
131772011-08-20 Martin Rudalics <rudalics@gmx.at>
13178
13179 * window.el (display-buffer-reuse-window)
13180 (display-buffer-pop-up-window): Don't reuse or split a side
13181 window.
13182
9234ff7f
GM
131832011-08-19 Glenn Morris <rgm@gnu.org>
13184
13185 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13186 Downcase "Mode:". (Bug#9331)
9234ff7f 13187
f635daa1
CY
131882011-08-18 Chong Yidong <cyd@stupidchicken.com>
13189
13190 * international/characters.el: Add L and R categories.
13191
13192 * subr.el (bidi-string-mark-left-to-right): Rename from
13193 string-mark-left-to-right. Use category search.
13194
13195 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13196
bc987f8b
JL
131972011-08-18 Juri Linkov <juri@jurta.org>
13198
13199 * faces.el (error, warning, success): New faces with definitions
13200 copied from old default values of `font-lock-warning-face',
13201 `compilation-warning', `compilation-info' (bug#6117).
13202
13203 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13204
13205 * progmodes/compile.el (compilation-error): Inherit from `error'.
13206 (compilation-warning): Inherit from `warning'.
13207 (compilation-info): Inherit from `success'.
13208
13209 * dired.el (dired-marked): Inherit from `warning'.
13210 (dired-flagged): Inherit from `error'.
13211
57173b96
LMI
132122011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13213
3e79eb87
LMI
13214 * mail/smtpmail.el (auth-source): Require to avoid problems with
13215 binding variables (bug#9298). Also clean up some unused
13216 autoloads.
13217
b3fd59bd
SM
13218 * net/network-stream.el (network-stream-open-starttls):
13219 Support using starttls.el without using gnutls-cli.
57173b96 13220
02b404de
JL
132212011-08-17 Juri Linkov <juri@jurta.org>
13222
13223 * progmodes/grep.el (rgrep): Handle the case when
13224 `grep-find-command' is a cons cell (bug#9278).
13225
8c9177f2
MR
132262011-08-17 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (display-buffer-pop-up-frame): Run frame creation
13229 function with BUFFER current (as special-display-popup-frame
13230 does). Reported by Drew Adams.
13231
3644a0ab
DU
132322011-08-17 Daiki Ueno <ueno@unixuser.org>
13233
13234 * epa-mail.el: Simplify GnuPG group expansion using
13235 epg-expand-group.
13236 (epa-mail-group-alist, epa-mail-group-modtime)
13237 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13238 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13239 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13240 Remove.
13241
5e617bc2 132422011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13243
13244 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13245
9c4aeabf
AM
132462011-08-16 Alan Mackenzie <acm@muc.de>
13247
13248 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13249 Correct, to avoid the inside of macros.
13250
3a99bf64
RS
132512011-08-16 Richard Stallman <rms@gnu.org>
13252
04963aa8
RS
13253 * epa-mail.el: Handle GnuPG group definitions.
13254 (epa-mail-group-alist, epa-mail-group-modtime)
13255 (epa-mail-gnupg-conf-file): New variables.
13256 (epa-mail-parse-groups, epa-mail-sync-groups)
13257 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13258 (epa-mail-expand-recipients): New functions.
13259 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13260
177549d0
RS
13261 * mail/rmail.el (rmail-epa-decrypt): New command.
13262
fe38beef
RS
13263 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13264 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13265 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13266 (epa-decrypt-armor-in-region): Make error message clearer.
13267
934eacb9
SM
132682011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13271 and "a2b" to "ab" for `prefix'.
13272
d024fb4e
CY
132732011-08-14 Chong Yidong <cyd@stupidchicken.com>
13274
13275 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13276 filter groups.
de148fee
CY
13277 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13278 Fourquet (Bug#8804).
d024fb4e 13279
62f1ca49
JB
132802011-08-12 Juanma Barranquero <lekktu@gmail.com>
13281
13282 * startup.el (argi): Declare as global variable (bug#9275).
13283
9ccaaa4b
CY
132842011-08-12 Chong Yidong <cyd@stupidchicken.com>
13285
13286 * subr.el (string-mark-left-to-right): Search the entire string
13287 for RTL script, not just the terminating character. Doc fix.
13288
a3dae87a
SM
132892011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13290
6cd18349
SM
13291 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13292 New function.
13293 (js--regexp-literal, js-syntax-propertize-function): Remove.
13294 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13295 (js-mode-map): Don't rebind electric keys.
13296 (js-insert-and-indent): Remove.
13297 (js-mode): Setup electric-layout and electric-indent instead.
13298
a3dae87a
SM
13299 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13300
9d5cb631
DU
133012011-08-12 Daiki Ueno <ueno@unixuser.org>
13302
13303 * epa.el (epa-progress-callback-function): Fix the logic of
13304 displaying progress.
13305 * epa-file.el (epa-file-insert-file-contents): Make progress
13306 display more user-friendly.
13307 (epa-file-write-region): Ditto.
13308
3e26a4a2
CY
133092011-08-10 Chong Yidong <cyd@stupidchicken.com>
13310
13311 * subr.el (string-mark-left-to-right): New function.
13312
13313 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13314 Use string-mark-left-to-right.
13315 (list-buffers-noselect): Caller changed.
13316
a3dae87a
SM
13317 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13318 Use string-mark-left-to-right.
3e26a4a2
CY
13319 (tabulated-list-print): Recenter after moving point.
13320
ac8cf6e6
JL
133212011-08-10 Juri Linkov <juri@jurta.org>
13322
13323 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13324 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13325 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13326
8d96c9a4
CY
133272011-08-09 Chong Yidong <cyd@stupidchicken.com>
13328
13329 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13330 (Bug#7554).
13331
7be1c708 133322011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13333
13334 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13335 character. (Bug#6594)
13336
37e11a63
CY
133372011-08-08 Chong Yidong <cyd@stupidchicken.com>
13338
839dde57
CY
13339 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13340 (image-dired--with-db-file): New macro.
13341 (image-dired-write-tags, image-dired-remove-tag)
13342 (image-dired-create-gallery-lists, image-dired-write-comments)
13343 (image-dired-get-comment, image-dired-mark-tagged-files)
13344 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13345 (image-dired-gallery-generate): Use insert-file-contents.
13346
37e11a63
CY
13347 * time.el (display-time-world-list, display-time-world-display):
13348 * time-stamp.el (time-stamp-string):
13349 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13350 set-time-zone-rule (Bug#7337).
13351
0b4946c4
DU
133522011-08-08 Daiki Ueno <ueno@unixuser.org>
13353
13354 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13355 (epg-error-to-string, epg-errors-to-string): New function.
13356 (epg-wait-for-completion): Reverse errors list.
13357 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13358 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13359 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13360 (epg-sign-keys, epg-generate-key-from-file)
13361 (epg-generate-key-from-string): Format errors by using
13362 epg-errors-to-string (bug#9255).
13363 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13364
75bfc667
JL
133652011-08-07 Juri Linkov <juri@jurta.org>
13366
13367 * faces.el (list-faces-display): Remove extra angle bracket
13368 from `help-mode-map'.
13369
13370 * info.el (Info-history-toc-nodes): Doc fix.
13371
13372 * longlines.el (longlines-mode): Doc fix.
13373
673e08bb
SM
133742011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13375
4640dd88
SM
13376 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13377 of statements and in a few more cases (bug#9183).
13378
673e08bb
SM
13379 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13380 New functions.
13381 (cl-transform-lambda): Use them (bug#9239).
13382
89b3f019
MR
133832011-08-05 Martin Rudalics <rudalics@gmx.at>
13384
13385 * window.el (display-buffer-same-window)
13386 (display-buffer-same-frame, display-buffer-other-window)
13387 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13388 (pop-to-buffer-other-window)
13389 (pop-to-buffer-same-frame-other-window)
13390 (pop-to-buffer-other-frame): Make them defuns.
13391 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13392
640c8776
SM
133932011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * subr.el (make-composed-keymap): Move from C. Change calling
13396 convention, and improve docstring to bring attention to a subtle point.
13397 * minibuffer.el (completing-read-default): Adjust accordingly.
13398
63648a95
MA
133992011-08-03 Michael Albinus <michael.albinus@gmx.de>
13400
13401 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13402 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13403
13404 * net/trampver.el: Update release number.
13405
b796c9b7
SM
134062011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13409 "in" (bug#9190).
13410
2239d7d5
LMI
134112011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
e07dd7c3
LMI
13413 * mail/sendmail.el (sendmail-query-once): Restore the current
13414 buffer after querying (bug#9074).
13415
0e6a2bd7
LMI
13416 * dired.el (dired-flagged): Use different faces for marked and
13417 flagged files (bug#6117).
13418
ce887515
LMI
13419 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13420 (bug#4433).
13421
92f2affc
LMI
13422 * ido.el (ido-mode): Switch off the message if called
13423 non-interactively.
13424
57d5aff0
LMI
13425 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13426 before 587, since it appears that that's more likely to work for
13427 more people.
13428
98cd6c18 13429 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13430 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13431 exist.
13432
b96dec83
LMI
13433 * info.el: Remove the `Info-beginning-of-buffer' function
13434 (bug#8325).
13435
b796c9b7
SM
13436 * net/network-stream.el (network-stream-open-starttls):
13437 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13438
d90e2ea0
MR
134392011-08-01 Martin Rudalics <rudalics@gmx.at>
13440
13441 * window.el (display-buffer-in-window): Don't set dedicated status
13442 of window here (Bug#9215).
13443 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13444 (display-buffer-pop-up-side-window)
b796c9b7 13445 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13446
cca09170
SM
134472011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13450 before binding generated-autoload-file.
13451
027b979c
DD
134522011-08-01 Deniz Dogan <deniz@dogan.se>
13453
13454 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13455
3c7ee4f3
MA
134562011-07-30 Michael Albinus <michael.albinus@gmx.de>
13457
13458 Sync with Tramp 2.2.2.
13459
13460 * net/trampver.el: Update release number.
13461
2cc8e51a
JL
134622011-07-30 Juri Linkov <juri@jurta.org>
13463
13464 * dired-aux.el (dired-touch-initial): Remove function.
13465 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13466 current time, and `default' to the last modification time of the
13467 current marked file (bug#6887).
13468
a514d856
JM
134692011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13470
13471 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13472 numeric argument to read-number (bug#9163).
a514d856 13473
8a7eddd7
MA
134742011-07-27 Michael Albinus <michael.albinus@gmx.de>
13475
13476 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13477 connection process, it could be nil.
13478
1ddd96f5
LL
134792011-07-27 Leo Liu <sdl.web@gmail.com>
13480
13481 Simplify url handling in rcirc-mode.
13482
13483 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13484 (rcirc-browse-url-at-mouse): Remove.
13485 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13486
b248a85d
AM
134872011-07-26 Alan Mackenzie <acm@muc.de>
13488
13489 Fontify bitfield declarations properly.
13490
13491 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13492 (c-symbol-chars): Now exported as a lang variable.
13493 (c-not-primitive-type-keywords): New lang variable.
13494
13495 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13496 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13497 parsed as a bitfield declaration.
b248a85d 13498
b796c9b7
SM
13499 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13500 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13501 (c-punctuation-in): New function.
13502 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13503 declarations properly.
13504
68575ab0
UJ
135052011-07-26 Ulf Jasper <ulf.jasper@web.de>
13506
13507 * calendar/icalendar.el (icalendar--all-events): Take care of
13508 multiple vcalendars in a single file.
b796c9b7 13509 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13510
0f0a88b9
DD
135112011-07-25 Deniz Dogan <deniz@dogan.se>
13512
13513 * image.el (insert-image): Clarifying docstring.
13514
0b3f36df
MA
135152011-07-24 Michael Albinus <michael.albinus@gmx.de>
13516
13517 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13518 `tramp-send-command-and-check' if there is no error.
13519 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13520
a9901f61
AM
135212011-07-22 Alan Mackenzie <acm@muc.de>
13522
13523 Prevent cc-langs.elc being loaded at run time.
13524
13525 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13526 cc-langs.
13527
4d61f28d 13528 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13529 "(require 'cc-langs)". Quote a form so it will evaluate at
13530 (cc-mode's) compilation time.
13531
11d074b2
MA
135322011-07-22 Michael Albinus <michael.albinus@gmx.de>
13533
13534 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13535 loading. (Bug#9114)
13536
938b94c8
MR
135372011-07-21 Martin Rudalics <rudalics@gmx.at>
13538
13539 * window.el (display-buffer-pop-up-window)
13540 (display-buffer-pop-up-side-window)
13541 (display-buffer-in-side-window): Call display-buffer-set-height
13542 and display-buffer-set-width after setting the new window's
b796c9b7 13543 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13544
bfa4f190
SS
135452011-07-20 Sam Steingold <sds@gnu.org>
13546
13547 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13548 (etags-tags-included-tables): Call `convert-standard-filename' on
13549 the file names contained in TAGS so that windows Emacs can handle
13550 TAGS files created by cygwin ctags.
13551
8ca42262
LMI
135522011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13553
13554 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13555 which apparently didn't work.
13556
5db2afd2 135572011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13558
5db2afd2
RW
13559 * proced.el (proced-send-signal): For *Marked Processes* buffer
13560 put point at beginning of buffer.
13561
92e15d10
SB
135622011-07-19 Stephen Berman <stephen.berman@gmx.net>
13563
13564 * proced.el (proced-format): Make header lines align with the text
13565 (bug#1779).
13566
1bfd59e5
LMI
135672011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13568
13569 * view.el (view-buffer): Allow running in `special' modes if we're
13570 visiting a file (bug#8615).
13571
f5aae37c
MR
135722011-07-19 Martin Rudalics <rudalics@gmx.at>
13573
13574 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13575 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13576 New functions.
f5aae37c
MR
13577 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13578 more accurately.
13579
bf2c1571
AM
135802011-07-18 Alan Mackenzie <acm@muc.de>
13581
13582 Fontify declarators properly when, e.g., a jit-lock chunk begins
13583 inside a declaration.
13584
13585 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13586
b796c9b7
SM
13587 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13588 New function.
bf2c1571
AM
13589 (c-complex-decl-matchers): Insert reference to
13590 c-font-lock-enclosing-decls.
13591
13592 * progmodes/cc-engine.el (c-backward-single-comment):
13593 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13594 to nil around calls to (forward-comment -1).
13595
4e190b80
LMI
135962011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13597
12dc863d
LMI
13598 * image.el (put-image): Doc typo fix.
13599
a762e966
LMI
13600 * progmodes/etags.el (tags-search): Doc typo fix.
13601
4e190b80
LMI
13602 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13603 password if we get errors 550 to 554.
13604
f019fb21
LMI
136052011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13606
b796c9b7 13607 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13608
81746738
LMI
13609 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13610 indentation character (bug#6380).
13611
3ee3a1b5
LMI
13612 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13613
c82f64de
LMI
13614 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13615 to clarify what the problem is (bug#4291).
13616
f019fb21
LMI
13617 * simple.el (current-kill): Clarify what
13618 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13619 (auto-fill-mode): Document `auto-fill-function' in relation to
13620 `auto-fill-mode' (bug#2470).
f019fb21 13621
0794775d
LM
136222011-07-16 Lawrence Mitchell <wence@gmx.li>
13623
13624 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13625 method if slot is read-only (bug#9035).
13626
be39b8cc
MR
136272011-07-16 Martin Rudalics <rudalics@gmx.at>
13628
b796c9b7 13629 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13630 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13631 selected before, see discussion of (Bug#8615), (Bug#6954).
13632 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13633
6ccf7859
GM
136342011-07-15 Glenn Morris <rgm@gnu.org>
13635
13636 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13637 Respect help-form.
6ccf7859 13638
87e86684
LM
136392011-07-09 Lawrence Mitchell <wence@gmx.li>
13640
13641 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13642 (gnutls-negotiate): Use it.
13643
d6066239
LMI
136442011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13645
b796c9b7
SM
13646 * net/gnutls.el (gnutls-negotiate):
13647 Upcase `gnutls-algorithm-priority'.
d6066239 13648
bd23ebc0
GM
136492011-07-15 Glenn Morris <rgm@gnu.org>
13650
c65bca65
GM
13651 * jka-compr.el (jka-compr-verbose): Move from here...
13652 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13653 Add missing :version tag.
13654 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13655
478615cc
LMI
136562011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13657
7b41decb
LMI
13658 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13659 (gnutls-negotiate): Use it.
13660
dbc44fcd
LMI
13661 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13662
06789f97
LMI
13663 * info.el (Info-beginning-of-buffer): New command.
13664 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13665 announcing `b' as the key (bug#8325).
ab896c37 13666 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13667
c39da690
LMI
13668 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13669
3aa5f34b
LMI
13670 * international/mule-cmds.el
13671 (describe-specified-language-support): Make the error message
13672 clearer (bug#8905).
13673
4bf0979f
LMI
13674 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13675
478615cc
LMI
13676 * isearch.el (isearch-barrier): Add a doc string, since it's
13677 mentioned in a function doc string (bug#8678).
13678
75c68aa1
MR
136792011-07-15 Martin Rudalics <rudalics@gmx.at>
13680
13681 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13682 buffer argument (Bug#9083) and self-identifying label argument.
13683
a7c33da2
GM
136842011-07-15 Glenn Morris <rgm@gnu.org>
13685
13686 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13687
2f5c6024
LMI
136882011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13689
13690 * man.el (Man-fontify-manpage): Fix message when formatting the
13691 man page (bug#7929).
13692
0bb23927 136932011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13694
13695 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13696 argument LRM; if non-nil, append an invisible LRM character to the
13697 buffer name.
13698 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13699 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13700 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13701 paragraph direction.
cce4b0a7 13702
621ef9ab
LMI
137032011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13704
d1583c48
LMI
13705 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13706 the man page name (bug#7929).
13707
6a57fb5f
LMI
13708 * image.el (put-image): Mention the `put-image' overlay property
13709 (bug#7834).
13710
d7956b14
LMI
13711 * scroll-bar.el (set-scroll-bar-mode): Mention that
13712 `scroll-bar-mode' lists the values (bug#7772).
13713
5b2d4a66
LMI
13714 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13715 command (bug#7729).
13716
7509a874
LMI
13717 * rect.el (apply-on-rectangle): Return the point after the last
13718 operation.
13719 (string-rectangle): Go to the point after the last operation
13720 (bug#7522).
13721
4fe74b19
LMI
13722 * printing.el (pr-toggle-region): Clarify the documentation
13723 slightly (bug#7493).
13724
b796c9b7
SM
13725 * time.el (display-time-update):
13726 Allow `display-time-mail-function' to return nil (bug#7158).
13727 Fix suggested by Detlev Zundel.
ab283561 13728
fc233c9d
LMI
13729 * vc/diff.el (diff): Clarify the order the file names are read
13730 (bug#7111).
13731
43f5740b
LMI
13732 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13733 the doc string (bug#7015).
13734
f2182a76
LMI
13735 * font-lock.el (font-lock-maximum-decoration): Mention what
13736 numeric levels mean (bug#6935).
13737
621ef9ab
LMI
13738 * startup.el (initial-buffer-choice): Don't mention the `none'
13739 selection, which is against policy.
13740
adc47434
MR
137412011-07-14 Martin Rudalics <rudalics@gmx.at>
13742
b796c9b7
SM
13743 * window.el (display-buffer-normalize-special):
13744 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13745
7e5bfb8f
EZ
137462011-07-14 Eli Zaretskii <eliz@gnu.org>
13747
13748 * subr.el (version<, version<=, version=): Mention "-CVS" and
13749 "-12345" alpha version numbers.
13750
27fa387a
CY
137512011-07-14 Chong Yidong <cyd@stupidchicken.com>
13752
13753 * bindings.el: Add advertised binding for set-mark-command
13754 (Bug#5772).
13755
8bdfa064
CY
137562011-07-14 Chong Yidong <cyd@stupidchicken.com>
13757
13758 * bindings.el (mode-line-other-buffer):
13759 * bookmark.el (bookmark-bmenu-2-window):
13760 * bs.el (bs-cycle-next, bs-cycle-previous):
13761 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13762 switch-to-buffer.
13763
13764 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13765 Delete.
8bdfa064 13766
5eba16a3
JB
137672011-07-14 Juanma Barranquero <lekktu@gmail.com>
13768
13769 * follow.el (follow-debug-message, follow-redisplay):
13770 * jka-cmpr-hook.el (with-auto-compression-mode):
13771 Fix typos in docstrings.
13772
15853710
LMI
137732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
a28e4607
LMI
13775 * subr.el (with-silent-modifications): Clarify somewhat what the
13776 macro inhibits (bug#6525).
13777
15853710
LMI
13778 * simple.el (eval-expression): Note what it does if called
13779 interactively (bug#6495).
13780
bee0fcef
CY
137812011-07-13 Chong Yidong <cyd@stupidchicken.com>
13782
b796c9b7
SM
13783 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13784 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13785
13786 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13787 Remove switch-to-buffer.
13788
58274504
LMI
137892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13790
bd2fcc8d
LMI
13791 * files.el (make-directory): Clarify that an error will be raised
13792 if there's an error (bug#6397).
13793
0f04b32c
LMI
13794 * startup.el (initial-buffer-choice): Add `none' as a choice
13795 (bug#6234).
13796
465c5fc8
LMI
13797 * subr.el (add-hook): Clarify section about buffer-local hooks
13798 (bug#6218).
13799
58274504
LMI
13800 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13801
bead9a43
JB
138022011-07-13 Juanma Barranquero <lekktu@gmail.com>
13803
13804 * tabify.el (untabify): Preserve the current column so that point
13805 doesn't move (bug#6032).
13806
3af98a7b
LMI
138072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13808
b796c9b7
SM
13809 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13810 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13811
6240145a
GM
138122011-07-13 Glenn Morris <rgm@gnu.org>
13813
13814 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13815 (dired-insert-directory): Give a message the first time
13816 if ls is found not to support --dired.
13817
1d8c2ccc
LMI
138182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13819
13820 * simple.el (toggle-truncate-lines): Clarify what is toggled
13821 (bug#5580). Text by Drew Adams.
13822
5fc4038e
CY
138232011-07-13 Chong Yidong <cyd@stupidchicken.com>
13824
13825 * simple.el (blink-matching-open): Make the error message from the
13826 last change less verbose.
13827
bf6012e5
DN
138282011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13829
13830 * font-lock.el (font-lock-comment-face): Use the high contrast
13831 "yellow" color for font-lock-comment-face on low color terminals
13832 using a dark background color (bug#4221).
13833
343c3b5a
LMI
138342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13835
7e9505c5
LMI
13836 * dired.el (dired-insert-set-properties): Make the doc string
13837 reflect what it does now (bug#5325).
13838
c26fdcf5
LMI
13839 * simple.el (blink-matching-open): Say that we were unable to find
13840 the match within the limit, if we're limited (bug#5122).
13841
bb388cc5
LMI
13842 * international/mule-cmds.el (prefer-coding-system): Add an
13843 example (bug#4869).
13844
343c3b5a
LMI
13845 * progmodes/etags.el (tags-search): Document `file-list-form'
13846 (bug#4731).
13847
2a517d45
LM
138482011-07-13 Lawrence Mitchell <wence@gmx.li>
13849
13850 * net/browse-url.el (browse-url-default-browser)
13851 (browse-url-browser-function): Make the default browser choice a
13852 bit more logical (bug#4300). Also clean up the doc string.
13853
b6c78ef2
JB
138542011-07-13 Juanma Barranquero <lekktu@gmail.com>
13855
13856 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13857 binary endings (bug#4440).
13858
1c4dd947
LMI
138592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13860
a2014063
LMI
13861 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13862 which can be pretty annoying (bug#8971).
13863
9c9c2d88
LMI
13864 * jka-compr.el (jka-compr-verbose): New variable, and use
13865 throughout (bug#8971).
13866
1c4dd947
LMI
13867 * info.el (Info-find-file): Fall back on the installation
13868 directory if we can't find the info node anywhere else.
13869
a1c9f41b
SO
138702011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13871
13872 * vc/vc.el (vc-revert-file):
13873 Don't set file time-stamp in the past. (Bug#5181)
13874
536f3d36
LMI
138752011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13876
7152b011
LMI
13877 * files.el (after-find-file): Give a better error message when
13878 trying to find a symlink that points to a file that doesn't exist
13879 (bug#4398).
13880
536f3d36
LMI
13881 * progmodes/cc-vars.el: Remove (probably) misleading comment
13882 (bug#4396).
13883
460c0fba
JB
138842011-07-12 Johan Bockgård <bojohan@gnu.org>
13885
13886 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13887
7a6bda45
CY
138882011-07-12 Chong Yidong <cyd@stupidchicken.com>
13889
13890 * mouse-sel.el: Hack restoring functionality, while keeping
13891 compatibility with 2010-07-03 changes to mouse selection.
13892 (mouse-sel-primary-overlay): New var.
13893 (mouse-sel-selection-alist): Use it.
13894 (mouse-sel-mode): Doc fix; remove points that are default features
13895 of mouse.el.
13896
c79598ef
JB
138972011-07-12 Johan Bockgård <bojohan@gnu.org>
13898
13899 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13900 Fix previous fix (bug#2490).
13901
ff8be6ef
RW
139022011-07-12 Roland Winkler <winkler@gnu.org>
13903
b796c9b7
SM
13904 * textmodes/bibtex.el (bibtex-initialize):
13905 Use pop-to-buffer-same-window.
ff8be6ef
RW
13906 (bibtex-search-entries): Fix interactive call.
13907
296ba3ee
LMI
139082011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13909
f5242a02 13910 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13911 Fontise bytecomp Error lines more correctly (bug#2490).
13912 Fix suggested by Johan Bockgård.
f5242a02 13913
296ba3ee
LMI
13914 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13915
13916 * dired-x.el (dired-guess-default): Use `delete-dups'.
13917
f69fd0d2
CY
139182011-07-12 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * dired.el (dired-mark-prompt):
13921 * dired-aux.el (dired-read-shell-command): Doc fix.
13922
eab5dc07
LMI
139232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13924
b796c9b7
SM
13925 * mail/sendmail.el (sendmail-query-once):
13926 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13927 emacs -Q.
13928
13929 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13930
eab5dc07
LMI
13931 * cus-edit.el (custom-file): Take an optional no-error variable.
13932 (customize-save-variable): Set the variable, and give a warning if
13933 running under "emacs -q".
13934
a1e65d42
JB
139352011-07-11 Juanma Barranquero <lekktu@gmail.com>
13936
13937 * loadhist.el (unload-feature-special-hooks):
13938 Add `auto-coding-functions', `fill-nobreak-predicate' and
13939 `find-directory-functions' (bug#5327).
13940
1d52da10
LMI
139412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13942
be958f1d
LMI
13943 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13944
5bedb26c
LMI
13945 * cus-edit.el (custom-guess-name-alist): -alist variables should
13946 use the `alist' type (bug#3120). Suggested by Drew Adams.
13947
1d52da10
LMI
13948 * printing.el: Add documentation to all the `pr-toggle-' commands.
13949
cd394be1 139502011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13951
13952 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13953 backends where it makes sense (bug#2623).
13954
dcc88d8a
LMI
139552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13956
c3de9feb
LMI
13957 * dired-x.el (dired-guess-default): Remove duplicate shell command
13958 entries (bug#2028).
8a93078b 13959 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13960 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13961
dcc88d8a
LMI
13962 * subr.el (remove-duplicates): New conveniency function.
13963
505e3645
LMI
139642011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13965
13966 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13967 (bug#1526).
13968
139692011-07-10 Martin Rudalics <rudalics@gmx.at>
13970
13971 * window.el (display-buffer-normalize-default): Don't invert
13972 meaning of even-window-heights. Reported by Eli Zaretskii
13973 <eliz@gnu.org>.
13974
455e4fa1
BR
139752011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13976
13977 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13978
8e0bc3e9
CY
139792011-07-10 Chong Yidong <cyd@stupidchicken.com>
13980
13981 * window.el (display-buffer): Fix arguments to
13982 display-buffer-reuse-window in last change.
13983
fa7c3228
CY
13984 * faces.el (link): Use a less saturated blue on light backgrounds.
13985
13986 * startup.el (fancy-startup-text, fancy-about-text)
13987 (fancy-startup-tail): Use font-lock faces, for background safety.
13988
c0a7f300
BN
139892011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13990
b796c9b7
SM
13991 * emulation/viper-cmd.el (viper-change-state-to-vi):
13992 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13993
4dc2a129
MR
139942011-07-09 Martin Rudalics <rudalics@gmx.at>
13995
13996 * window.el (display-buffer-default-specifiers): Remove.
13997 (display-buffer-macro-specifiers): Remove default specifiers.
13998 (display-buffer-alist): Default to nil.
b796c9b7 13999 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14000 (display-buffer-pop-up-window): Allow splitting internal
14001 windows. Check whether a live window was created.
14002 (display-buffer-other-window-means-other-frame)
14003 (display-buffer-normalize-arguments): Rename to
14004 display-buffer-normalize-argument and rewrite. Set the
14005 other-window specifier.
14006 (display-buffer-normalize-special): New function.
14007 (display-buffer-normalize-options): Rename to
14008 display-buffer-normalize-default and rewrite.
14009 (display-buffer-normalize-options-inhibit): Remove.
14010 (display-buffer-normalize-specifiers): Rewrite.
14011 (display-buffer): Process other-window specifier and call
14012 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14013 more faithfully.
b796c9b7 14014 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14015 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14016 (display-buffer-in-window, display-buffer-alist-set):
14017 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14018 <tassilo@member.fsf.org>.
14019
2d43b8c9
LL
140202011-07-09 Leo Liu <sdl.web@gmail.com>
14021
14022 * register.el (insert-register): Restore accidental change on
14023 2011-06-26. (Bug#9028)
14024
7f9b7c53
GM
140252011-07-09 Glenn Morris <rgm@gnu.org>
14026
14027 * subr.el (remq): Handle the empty list. (Bug#9024)
14028
f042cfd8
AS
140292011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14030
14031 * mail/sendmail.el (send-mail-function): No longer delay custom
14032 initialization.
14033 * custom.el (custom-initialize-delay): Doc fix.
14034
856b2f11
SM
140352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14038
afae1d68
MA
140392011-07-08 Michael Albinus <michael.albinus@gmx.de>
14040
14041 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14042 human-friendly prompt.
14043
0757af94
SM
140442011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14047 provided by a particular plugin.
14048
d760b731
LMI
140492011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14050
14051 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14052 save customizations (with "emacs -Q"), just set the variable
14053 instead of erroring out.
14054
14055 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14056
cd79ce90
JL
140572011-07-08 Juri Linkov <juri@jurta.org>
14058
14059 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14060 (archive-zip-update-case): Use 7z if found by `executable-find'.
14061 The order of searching the available programs is the same as in
14062 `archive-zip-extract' (bug#8968).
14063
14cc04aa
CY
140642011-07-07 Chong Yidong <cyd@stupidchicken.com>
14065
14066 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14067 (menu-bar-options-menu): Tweak descriptions.
14068
0a1848ec
LMI
140692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14070
14071 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14072 menu items into verb phrases (bug#1421). Also refill to fit under
14073 80 columns.
14074
f5bd0689
CY
140752011-07-07 Chong Yidong <cyd@stupidchicken.com>
14076
538e85c6
CY
14077 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14078 (Info-read-node-name): Doc fix (Bug#1084).
14079
f5bd0689
CY
14080 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14081 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14082 (end-of-sexp, beginning-of-sexp)
14083 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14084 (forward-symbol, forward-same-syntax, word-at-point)
14085 (sentence-at-point): Doc fix (Bug#1144).
14086
56ec5115
LMI
140872011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14088
f3f8e37f
LMI
14089 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14090 should cover it (bug#1281).
14091
0757af94 14092 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14093
e9fce1ac 14094 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14095 negotiation fails, then possibly try again with a non-encrypted
14096 connection (bug#9017).
14097
56ec5115
LMI
14098 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14099 be used.
14100
c2f9aec8
RS
141012011-07-07 Richard Stallman <rms@gnu.org>
14102
14103 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14104 property, and handle its changed format.
14105 Look for the correct line number.
14106 Use file's line contents (but not past first =) to find
14107 correct line in message.
14108
ef7b981d 141092011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14110
14111 * international/characters.el (build-unicode-category-table):
14112 Delete it.
0757af94 14113 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14114
0757af94 14115 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14116 to src/chartab.c.
14117 (get-char-code-property): Call unicode-property-table-internal to
14118 load a file. Call get-unicode-property-internal where necessary.
14119 (put-char-code-property): Call unicode-property-table-internal to
14120 load a file. Call put-unicode-property-internal where necessary.
14121 put-unicode-property-internal where necessary.
0757af94
SM
14122 (char-code-property-description):
14123 Call unicode-property-table-internal to load a file.
c805dec0
KH
14124
14125 * international/charprop.el:
14126 * international/uni-bidi.el:
14127 * international/uni-category.el:
14128 * international/uni-combining.el:
14129 * international/uni-comment.el:
14130 * international/uni-decimal.el:
14131 * international/uni-decomposition.el:
14132 * international/uni-digit.el:
14133 * international/uni-lowercase.el:
14134 * international/uni-mirrored.el:
14135 * international/uni-name.el:
14136 * international/uni-numeric.el:
14137 * international/uni-old-name.el:
14138 * international/uni-titlecase.el:
14139 * international/uni-uppercase.el: Regenerate.
14140
14141 * loadup.el: Load international/charprop.el before
14142 international/characters.
14143
e14b388a
CY
141442011-07-07 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * window.el (next-buffer, previous-buffer): Signal an error if
14147 called from a minibuffer window.
14148
14149 * bindings.el: Revert 2011-07-04 change.
14150
354cf0ba
RS
141512011-07-06 Richard Stallman <rms@gnu.org>
14152
14153 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14154 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14155 Treat markers like ints.
14156 (rmail-mime-entity): Doc fix.
14157
a48868a7
LMI
141582011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14159
4906cd3d
LMI
14160 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14161 defcustom again for backwards compatibility.
14162
e0457abe
LMI
14163 * simple.el (shell-command-on-region): Fill.
14164
d67f7e1f
LMI
14165 * dired-aux.el (dired-kill-line): Add a doc string.
14166
fe204702
LMI
14167 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14168 to "\\sw\\|\\s_" (bug#358).
14169
a48868a7
LMI
14170 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14171 (dired-unmark-backward): Ditto.
14172 (dired-flag-backup-files): Ditto.
14173
14174 * dired-x.el (dired-mark-sexp): Ditto.
14175
aa8a705c
RS
141762011-07-06 Richard Stallman <rms@gnu.org>
14177
14178 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14179 (rmail-mime-entity): New arg TRUNCATED.
14180 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14181 New functions.
14182 (rmail-mime-save): Warn if entity is truncated.
14183 (rmail-mime-toggle-hidden): Likewise, for showing.
14184 (rmail-mime-process-multipart): Record when an entity is truncated.
14185
a9a936b9
RS
14186 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14187 if ENTITY is a string.
14188
1f2b92cb
LMI
141892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14190
f4f73198 14191 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14192 of faces when `M-C-x'-ing their definitions (bug#8378).
14193 Also clean up the code slightly.
f4f73198 14194
12b16734 14195 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14196 because that makes the colors go away.
12b16734 14197
f0691d22
LMI
14198 * mail/sendmail.el (send-mail-function): Change the default to
14199 `sendmail-query-once'.
9e87df06 14200 (sendmail-query-once): Add an autoload cookie.
f0691d22 14201
1f2b92cb
LMI
14202 * net/network-stream.el (network-stream-open-starttls): Try using
14203 a plain connection even if the server offered STARTTLS, and we
14204 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14205 capability. This should make smtpmail.el work in slightly more
14206 configurations.
14207
1cdd2a1b
MA
142082011-07-06 Michael Albinus <michael.albinus@gmx.de>
14209
14210 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14211 New defun.
14212 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14213
fbcc67e2
MM
142142011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14215
14216 * progmodes/sql.el: Version 3.0
0757af94 14217 (sql-product-alist): Add product :completion-object,
fbcc67e2 14218 :completion-column, and :statement attributes.
0757af94 14219 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14220 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14221 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14222 ansi keywords.
14223 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14224 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14225 (sql-oracle-show-reserved-words): New function for development.
14226 (sql-product-font-lock): Simplify for source code buffers.
14227 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14228 New functions.
14229 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14230 (sql-mode-map): Add statement movement functions.
14231 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14232 New variable.
fbcc67e2
MM
14233 (sql-statement-regexp, sql-beginning-of-statement)
14234 (sql-end-of-statement, sql-signum): New functions.
0757af94 14235 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14236 (sql-show-sqli-buffer): Bug fix.
14237 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14238 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14239 with sql-interactive-mode.
14240 (sql-save-connection): Save buffer local settings.
0757af94 14241 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14242 (sql-product-interactive): Bug fix.
14243 (sql-preoutput-hold): New variable.
14244 (sql-interactive-remove-continuation-prompt): Bug fixes.
14245 (sql-debug-redirect): New variable.
14246 (sql-str-literal): New function.
14247 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14248 Redesign.
fbcc67e2
MM
14249 (sql-oracle-save-settings, sql-oracle-restore-settings)
14250 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14251 (sql-completion-object, sql-completion-column)
14252 (sql-completion-sqlbuf): New variables.
14253 (sql-build-completions-1, sql-build-completions)
14254 (sql-try-completion): New functions.
14255 (sql-read-table-name): Use them.
14256 (sql-contains-names): New buffer local variable.
14257 (sql-list-all, sql-list-table): Use it.
14258 (sql-oracle-completion-types): New variable.
14259 (sql-oracle-completion-object, sql-sqlite-completion-object)
14260 (sql-postgres-completion-object): New functions.
14261
d4eaeab1
GM
142622011-07-06 Glenn Morris <rgm@gnu.org>
14263
14264 * window.el (pop-to-buffer): Doc fix.
14265
322b7dab 142662011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14267
14268 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14269
322b7dab 142702011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14271
322b7dab 14272 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14273
322b7dab 14274 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14275
605dd5bf
CY
142762011-07-05 Chong Yidong <cyd@stupidchicken.com>
14277
14278 * button.el (button): Inherit from link face. Suggested by Dan
14279 Nicolaescu.
14280
7dbfa719
SM
142812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14282
3db614b0
SM
14283 * progmodes/gdb-mi.el: Fit in 80 columns.
14284 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14285 switch-to-buffer.
14286
7dbfa719
SM
14287 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14288 if imenu is simply not configured (bug#8941).
14289
919d884a
KM
142902011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14291
14292 * allout.el (allout-post-undo-hook): New allout outline-change
14293 event hook to signal undo activity.
14294 (allout-post-command-business): Run allout-post-undo-hook if an
14295 undo just occurred.
7dbfa719
SM
14296 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14297 * allout-widgets.el (allout-widgets-after-undo-function):
14298 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14299 in the vicinity of an undo.
14300 (allout-widgets-mode): Include allout-widgets-after-undo-function
14301 on the new allout-post-undo-hook.
14302
450a0f09
SM
143032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14306 Let define-derived-mode define it.
14307 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14308 cycles of abbrev-table inheritance (bug#8998).
14309
2de69e00
RW
143102011-07-05 Roland Winkler <winkler@gnu.org>
14311
14312 * textmodes/bibtex.el: Add support for biblatex.
14313 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14314 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14315 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14316 (bibtex-entry-alist, bibtex-field-alist): New variables.
14317 (bibtex-entry-field-alist): Obsolete alias for
14318 bibtex-BibTeX-entry-alist.
14319 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14320 (bibtex-set-dialect): New command.
14321 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14322 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14323 Bind via bibtex-set-dialect.
2de69e00
RW
14324 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14325 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14326 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14327 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14328 Define via bibtex-set-dialect.
450a0f09
SM
14329 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14330 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14331 (bibtex-vec-push, bibtex-vec-incr): New functions.
14332 (bibtex-format-entry, bibtex-field-list)
14333 (bibtex-print-help-message, bibtex-validate)
14334 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14335
2dcdbdd9
SM
143362011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14337
14338 * progmodes/compile.el (compilation-goto-locus):
14339 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14340 * bs.el (bs-cycle-next, bs-cycle-previous):
14341 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14342 * bindings.el (mode-line-other-buffer):
14343 * autoinsert.el (auto-insert):
14344 * arc-mode.el (archive-extract):
14345 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14346
b27640fe
JB
143472011-07-05 Juanma Barranquero <lekktu@gmail.com>
14348
14349 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14350 Fix check of `emacs-lock-unlockable-modes'.
14351 Coerce true values of `emacs-lock--try-unlocking' to t.
14352
53bbe3ad
JB
143532011-07-05 Juanma Barranquero <lekktu@gmail.com>
14354
14355 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14356 * emacs-lock.el: New file.
14357
1d3cdbc7
JD
143582011-07-05 Julien Danjou <julien@danjou.info>
14359
14360 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14361 than `boundp' to check if face is set.
14362
9173deec
JB
143632011-07-05 Juanma Barranquero <lekktu@gmail.com>
14364
14365 * register.el (registerv-make):
14366 * window.el (window-min-height): Fix typos in docstrings.
14367
869795d6
JD
143682011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14369
9173deec 14370 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14371 Update doc string.
14372
b768cdcd
JB
143732011-07-04 Juanma Barranquero <lekktu@gmail.com>
14374
14375 * server.el (server-execute): Catch quit and call
14376 `server-return-error' to pass the error back to emacsclient and
14377 close the connection (bug#8942).
14378
13aa217b
KM
143792011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14380
14381 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14382 insecure exception for current topic. Also note that auto-saves
14383 are handled differently.
14384
5d3385a0 14385 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14386 State variables for tracking auto-save inhibition situation.
14387
14388 (allout-write-contents-hook-handler): Rename from
14389 'allout-write-file-hook-handler', and describe how it depends on
14390 write-contents-functions sensitivity to non-nil value to prevent
14391 file write.
14392
14393 (allout-auto-save-hook-handler): Remove. auto-save does not check
14394 this in individual buffers, only in the starting buffer, so this
14395 is not the right way for us to inhibit auto-save in a buffer
14396 according to its condition.
14397
14398 (allout-mode): Use new allout-write-contents-hook-handler, and
14399 only with write-contents-functions. Remove auto-save provisions -
14400 they're implemented elsewhere.
14401
14402 (allout-before-change-handler): If undo is in progress, note that
14403 for attention of allout-post-command-business.
14404
14405 (allout-post-command-business): If the command we're following was
14406 an undo, check for change in the status of encrypted items and
14407 adjust auto-save inhibitions accordingly.
14408
14409 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14410 according to whether there are or aren't any plain-text topics
14411 pending encryption.
14412
2dcdbdd9 14413 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14414 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14415 if there are plain-text topics pending encryption.
13aa217b
KM
14416
14417 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14418 buffer-saved-size and some allout state to not inhibit auto-saves
14419 if there are no longer any plain-text topics pending encryption.
14420
0757af94
SM
14421 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14422 No longer provide for exemption of the current topic.
13aa217b 14423
ac89b32c
JL
144242011-07-04 Juri Linkov <juri@jurta.org>
14425
14426 Add 7z operations to delete and save changed members (bug#8968).
14427 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14428 New defcustoms.
14429 (archive-7z-write-file-member): New function.
14430 (archive-7z-summarize): Fix the number of dashes in the
14431 listing output.
14432
8fa39615
SM
144332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14434
14435 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14436 (bug#8958).
14437
2f11b3f1
CY
144382011-07-04 Chong Yidong <cyd@stupidchicken.com>
14439
d66fef2b
CY
14440 * bindings.el: Ignore next-buffer and previous-buffer in
14441 minibuffer-local-map.
14442
2f11b3f1
CY
14443 * font-lock.el (font-lock-builtin-face): Change light background
14444 color to dark slate blue (Bug#6693).
14445
f932a347
WD
144462011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14447
14448 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14449
c8af70e1
SM
144502011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14451
14452 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14453 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14454 Add switch-to-buffer.
14455
f158badc
LMI
144562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14457
14458 * isearch.el (isearch-search-fun-function): Clarify further the
14459 meaning of the function returned.
14460
6d95bd46
MA
144612011-07-04 Michael Albinus <michael.albinus@gmx.de>
14462
14463 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14464
14465 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14466 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14467 Use it.
14468 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14469 `tramp-default-remote-path' does not exist.
14470 (tramp-send-command-and-read): New optional argument NOERROR.
14471 (tramp-open-connection-setup-interactive-shell)
14472 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14473 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14474 (tramp-process-sentinel): Flush also process' connection property.
14475 (tramp-sh-handle-start-file-process): Do not set process
14476 sentinel. It is done now ...
14477 (tramp-maybe-open-connection): ... here. (Bug#8929)
14478
909e6b67
MK
144792011-07-04 MON KEY <monkey@sandpframing.com>
14480
14481 * play/animate.el (animate-string): Doc fixes and allow changing
14482 the buffer name (bug#5417).
14483
144842011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14485
c8af70e1 14486 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14487
f34755dc
PE
144882011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14489
396cec72
PE
14490 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14491 This is simpler and helps future-proof the code.
14492 (timer-until): Use time-subtract and float-time.
08235028 14493 (timer--time-less-p): Use time-less-p.
f34755dc 14494
56e6cc31
JB
144952011-07-04 Juanma Barranquero <lekktu@gmail.com>
14496
3abb79e5
JB
14497 * type-break.el (timep): Use the value of `float-time' to avoid a
14498 byte-compiler warning.
14499
56e6cc31
JB
14500 * server.el (server-eval-and-print): Return any result, even nil.
14501
7b9430b4
PE
145022011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14503
14504 * type-break.el: Accept time formats that the builtins accept.
14505 (timep, type-break-time-difference): Accept any format that
14506 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14507 This is simpler and helps future-proof the code.
14508 (type-break-time-difference): Round rather than ignoring
14509 subseconds components.
14510
3034e9e7
LMI
145112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14512
14513 * info.el (Info-apropos-matches): Make non-interactive, since it
14514 doesn't seem to do anything useful as a command (bug#8829).
14515
1485f4c0
CY
145162011-07-03 Chong Yidong <cyd@stupidchicken.com>
14517
14518 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14519 Move from faces.el.
1485f4c0
CY
14520 (frame-default-terminal-background): New function.
14521
14522 * custom.el (custom-push-theme): Don't record faces in `changed'
14523 theme; this doesn't work correctly for per-frame face settings.
14524 (disable-theme): Use face-set-after-frame-default to reset faces.
14525 (custom--frame-color-default): New function.
14526
9fa3dd45
LMI
145272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14528
c8af70e1 14529 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14530 (bug#8769).
14531
6cbbc20c
KR
145322011-03-29 Kevin Ryde <user42@zip.com.au>
14533
14534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14535 `perl-Test2' extend to match possible "fail #N" rep count
14536 (bug#8377).
14537
c7f98048
LMI
145382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14539
65676592
LMI
14540 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14541 `smtpmail-via-smtp' now returns the error instead of nil.
14542
c7f98048
LMI
14543 * isearch.el (isearch-search-fun-function): Clarify the doc string
14544 (bug#8101).
14545
56e6cc31 145462011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14547
14548 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14549 unnecessary spaces (bug#8987).
14550
2b216704
LMI
145512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14552
14553 * net/network-stream.el (open-network-stream): Use the
14554 :end-of-capability command thoughout.
14555
145562011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14557
14558 * net/network-stream.el (open-network-stream): Add the
14559 :end-of-capability command parameter, used by pop3.el.
14560
36adf6ce
LMI
145612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562
1ca0da0e
LMI
14563 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14564
fc00f69c
LMI
14565 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14566 for list)" (bug#6475).
14567
28fd8759 14568 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14569 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14570 an error (bug#6297).
14571
0dd8b6da
LMI
14572 * man.el (Man-reference-regexp): Allow matching possible
14573 word-wrapped references (bug#6289).
14574
ce1438d6
LMI
14575 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14576 for consistency with the other vc buffers (bug#6197).
14577 (vc-checkin): Ditto.
14578
14579 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14580
36adf6ce
LMI
14581 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14582
e83cc1f7
LMI
145832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14584
8a20ca4c
LMI
14585 * custom.el (defcustom): Clarify that :set is only used in the
14586 Customize user interface (bug#6089).
14587
83319045
LMI
14588 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14589 associated with a file, refuse to run instead of erroring out
14590 (bug#6084).
14591
a8392169
LMI
14592 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14593 the doc string, since it appears that using `fill-column' always
14594 controls the width (bug#7845).
14595
e83cc1f7
LMI
14596 * simple.el (shell-command-on-region): Say where the error output
14597 went if `shell-command-default-error-buffer' is set (bug#6857).
14598
e47ca23b
KM
145992011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14600
14601 * allout.el (allout-yank-processing): Adjust cursor position for
14602 backwards-deleted space.
14603
14604 (allout-rebullet-heading): Register changes with
14605 allout-exposure-changed-hook, so the modified topic is properly
14606 decorated.
14607
5cf56143
LMI
146082011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14609
08549772
LMI
14610 * minibuffer.el (completion-in-region): Document PREDICATE
14611 (bug#7136).
14612
48e96771
LMI
14613 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14614 of keyword/argument pairs (bug#6904).
14615
c8af70e1
SM
14616 * replace.el (multi-occur):
14617 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14618
e17d05e2
LMI
146192011-07-02 Drew Adams <drew.adams@oracle.com>
14620
14621 * dired.el (dired-mark-if): Make the message about whether it's
14622 marking or unmarking clearer (bug#8523).
14623
063b0e45
LMI
146242011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14625
14626 * disp-table.el (display-table-print-array): New function.
14627 (describe-display-table): Use it to print the vectors more pretty
14628 (Bug#8859).
14629
28545e04
MR
146302011-07-02 Martin Rudalics <rudalics@gmx.at>
14631
14632 * window.el (window-state-get-1): Don't assign clone numbers.
14633 Add clone-of item to list of window parameters.
14634 (window-state-put-2): Don't process clone numbers.
14635 (display-buffer-alist): Fix doc-string.
14636
3349e122
SM
146372011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * subr.el (remq): Don't allocate if it's not needed.
14640 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14641 (keymap--merge-bindings): New functions.
14642 (keymap-canonicalize): Use them to refine the canonicalization.
14643 * minibuffer.el (minibuffer-local-completion-map)
14644 (minibuffer-local-must-match-map): Move initialization from C.
14645 (minibuffer-local-filename-completion-map): Move initialization from C;
14646 don't inherit from anything here.
14647 (minibuffer-local-filename-must-match-map): Make obsolete.
14648 (completing-read-default): Use make-composed-keymap to combine
14649 minibuffer-local-filename-completion-map with either
14650 minibuffer-local-must-match-map or
14651 minibuffer-local-filename-completion-map.
14652
d224ac83
GM
146532011-07-01 Glenn Morris <rgm@gnu.org>
14654
3de63bf8
GM
14655 * type-break.el (type-break-time-sum): Use dolist.
14656
d224ac83
GM
14657 * textmodes/flyspell.el (flyspell-word-search-backward):
14658 Replace CL function.
14659
1a1e3f32
SM
146602011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14661
fe3f64d5
SM
14662 * mouse.el (mouse--strip-first-event): New function.
14663 (function-key-map): Use it to map fringe clicks to normal clicks
14664 by default.
14665
eb604e34
SM
14666 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14667 (vc-bzr-revision-completion-table): Add support for annotate and date.
14668
1a1e3f32
SM
14669 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14670 inherit from parent.
14671
5bd35902
LMI
146722011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14673
ace6c69c 14674 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14675 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14676
191e2bed
LMI
14677 * dired.el (dired-mode): Fix up the doc string as suggested by
14678 Drew Adams (bug#8817).
14679
5bd35902
LMI
14680 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14681 cookie, since the manual says that it should be possible to add
14682 this function to `find-file-hook' (bug#8709).
14683
eee8207a
TZ
146842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14685
14686 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14687 here. Noted Ted Zlatanov as the maintainer.
14688 (cfengine-common-settings, cfengine-common-syntax): New functions
14689 to set up common things between `cfengine-mode' and
14690 `cfengine3-mode'.
14691 (cfengine3-mode): New mode.
14692 (cfengine3-defuns cfengine3-defuns-regex
14693 (cfengine3-class-selector-regex cfengine3-category-regex)
14694 (cfengine3-vartypes cfengine3-font-lock-keywords)
14695 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14696 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14697
36b148cf
MA
146982011-07-01 Michael Albinus <michael.albinus@gmx.de>
14699
14700 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14701
14702 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14703
0bf4ba9a
MR
147042011-07-01 Martin Rudalics <rudalics@gmx.at>
14705
14706 * window.el (same-window-buffer-names, same-window-regexps)
14707 (same-window-p, special-display-frame-alist)
14708 (special-display-popup-frame, special-display-function)
14709 (special-display-buffer-names, special-display-regexps)
14710 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14711 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14712 (split-window-preferred-function, split-height-threshold)
14713 (split-width-threshold, even-window-heights)
14714 (display-buffer-mark-dedicated, window-splittable-p)
14715 (split-window-sensibly, window-safely-shrinkable-p):
14716 Un-obsolete.
14717 (display-buffer): Don't spread args with function specifier
14718 because special-display-popup-frame won't like it.
14719
35837f51
PE
147202011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14721
d0672f86
PE
14722 Time-stamp simplifications and fixes.
14723 These improve accuracy slightly, and future-proof the code
14724 against some potential changes to current-time format.
14725
b9444d97
PE
14726 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14727 by using time-since and float-time.
14728
0ef923dc
PE
14729 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14730 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14731 + NNN microseconds".
14732
2f81380d
PE
14733 * type-break.el (type-break-time-sum): Rewrite using time-add.
14734
845b5c3e
PE
14735 * play/hanoi.el (hanoi-current-time-float): Remove.
14736 All uses replaced by float-time.
14737
ee6f1be0
PE
14738 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14739 This yields a more-accurate answer.
14740 (rng-time-to-float): Remove; no longer needed.
14741
fe955043
PE
14742 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14743
5777162a
PE
14744 * calendar/timeclock.el (timeclock-seconds-to-time):
14745 Defalias to seconds-to-time, since they're the same thing.
14746
3103f8b6 14747 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14748 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14749 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14750
0e61a35f
SM
147512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14752
14753 * window.el (bury-buffer): Don't iconify the only frame.
14754 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14755 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14756
ddd63a1e
CY
147572011-07-01 Chong Yidong <cyd@stupidchicken.com>
14758
0e61a35f
SM
14759 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14760 Add mouse-yank-primary.
ddd63a1e 14761
055f4923
TZ
147622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14763
14764 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14765
6a2fb145
SM
147662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14769 (find-library-name): Use it to find relative load names when provided
14770 absolute file name (bug#8803).
14771
fd4983f2
LMI
147722011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14773
887d14ad
LMI
14774 * textmodes/flyspell.el (flyspell-word): Consider words that
14775 differ only in case as potential doublons (bug#5687).
14776
c53dc7fc
LMI
14777 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14778 Remove two rather uninteresting debugging-like messages to make
14779 debbugs.el more silent.
14780
fd4983f2
LMI
14781 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14782 a password-like phrase.
14783
7a71b18d 147842011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14785
14786 * progmodes/cc-guess.el: New file.
14787
6a2fb145 14788 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14789
14790 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14791 derived from `c-basic-common-init'.
14792
14793 * progmodes/cc-mode.el (top-level): Require cc-guess.
14794 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14795
1fa280a3
LM
147962011-06-30 Lawrence Mitchell <wence@gmx.li>
14797
14798 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14799
e6597158
AM
148002011-06-30 Alan Mackenzie <acm@muc.de>
14801
1fa280a3
LM
14802 * progmodes/cc-engine.el (c-guess-continued-construct):
14803 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14804 lock is disabled. Name this case as "CASE G".
14805
68ba37fb
KM
148062011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14807
14808 * allout.el (allout-yank-processing): Fix injection of extra space
14809 between bullet and non-whitespace character in first topic when
14810 pasting, ensuring that the actual spacing in the pasted topic
14811 following the bullet char is preserved. This extra space was
14812 causing pasted encrypted topics to get a decrypted status even
14813 when the content was actually still encrypted. Now the decryption
14814 status from before the paste is preserved.
14815
14816 (allout-flag-region): Set all allout overlays so they evaporate
14817 when reduced to zero length (evanescent), to prevent overlay
14818 leakage.
14819
887a0b34
GM
148202011-06-30 Glenn Morris <rgm@gnu.org>
14821
94b9acce
GM
14822 * w32-fns.el (w32-charset-info-alist): Declare.
14823
1d9b46d4
GM
14824 * find-dired.el (find-grep-options): Simplify.
14825
cc232200
GM
14826 * term/ns-win.el (ns-set-resource): Declare.
14827
28e77c46
GM
14828 * ses.el (row, col): Declare dynamic variables honestly.
14829
887a0b34
GM
14830 * textmodes/reftex-parse.el (index-tags): Declare.
14831
658d8eb8
CY
148322011-06-30 Chong Yidong <cyd@stupidchicken.com>
14833
14834 * cus-edit.el (customize-push-and-save): New function.
14835
14836 * files.el (hack-local-variables-confirm): Use it.
14837
1fa280a3
LM
14838 * custom.el (load-theme): New arg NO-CONFIRM.
14839 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14840 (custom-enabled-themes): Doc fix.
14841
14842 * cus-theme.el (customize-create-theme)
14843 (custom-theme-merge-theme): Callers to load-theme changed.
14844
bb617717
LMI
148452011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
d61bdd5d
LMI
14847 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14848 short URLs have at least one dot in them (bug #7614).
14849
bb617717
LMI
14850 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14851 nil, because using a pty is apparently too slow (bug #895).
14852
2f31f37a
LMI
148532011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14854
14855 * mail/sendmail.el (sendmail-query-once): New function.
14856 (sendmail-query-once-function): New variable.
14857
3076b24e
GM
148582011-06-29 Glenn Morris <rgm@gnu.org>
14859
faf2a174
GM
14860 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14861
3076b24e
GM
14862 * ses.el (top-level): Require cl when compiling.
14863 (ses-set-localvars): Fix error statement.
14864 Call it at compile time to silence a storm of warnings.
14865
5386012d
MR
148662011-06-29 Martin Rudalics <rudalics@gmx.at>
14867
14868 * window.el (normalize-live-buffer): Rename to
14869 window-normalize-buffer.
14870 (normalize-live-frame): Rename to window-normalize-frame.
14871 (normalize-any-window): Rename to window-normalize-any-window.
14872 (normalize-live-window): Rename to window-normalize-live-window.
14873 (make-window-atom): Rename to window-make-atom.
14874 (window-resize-reset): Rename to window--resize-reset.
14875 (window-resize-reset-1): Rename to window--resize-reset-1.
14876 (resize-mini-window): Rename to window--resize-mini-window.
14877 (resize-subwindows-skip-p): Rename to
14878 window--resize-subwindows-skip-p.
14879 (resize-subwindows-normal): Rename to
14880 window--resize-subwindows-normal.
14881 (resize-subwindows): Rename to window--resize-subwindows.
14882 (resize-other-windows): Rename to window--resize-siblings.
14883 (resize-this-window): Rename to window--resize-this-window.
14884 (resize-root-window): Rename to window--resize-root-window.
14885 (resize-root-window-vertically): Rename to
14886 window--resize-root-window-vertically.
14887 (normalize-buffer-to-display): Rename to
14888 window-normalize-buffer-to-display.
14889 (normalize-buffer-to-switch-to): Rename to
14890 window-normalize-buffer-to-switch-to.
14891 Correspondingly update all callers of the functions listed
14892 above.
14893 (display-buffer-alist, display-buffer-normalize-arguments)
14894 (display-buffer-normalize-options, display-buffer)
14895 (display-buffer-alist-set): Use "function" instead of
14896 "fun-with-args".
14897
1176868d
CY
148982011-06-28 Chong Yidong <cyd@stupidchicken.com>
14899
14900 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14901 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14902 debbugs.gnu.org. Mention acknowledgment email.
14903
20a7a65f
LMI
149042011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14905
14906 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14907 buffer multibyteness, since it shouldn't matter.
14908
5f45cca5
MR
149092011-06-28 Martin Rudalics <rudalics@gmx.at>
14910
14911 * window.el (display-buffer-in-side-window): Handle dedicated
14912 windows as in display-buffer-reuse-window.
14913 (display-buffer-normalize-alist): Use value of override
14914 specifier.
14915 (display-buffer-normalize-specifiers): Use value of
14916 other-window-means-other-frame specifier.
14917 (display-buffer-alist): Rewrite some texts in widgets.
14918 (display-buffer): Spread arguments when calling function
14919 specified by fun-with-args.
14920
ad85fe1f
DD
149212011-06-28 Deniz Dogan <deniz@dogan.se>
14922
1fa280a3
LM
14923 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14924 Unnest `let'.
da68c4c8 14925
ad85fe1f
DD
14926 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14927 selectors (Bug#5732).
ec49bd31 14928 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14929
a08cc025
JA
149302011-06-27 Jari Aalto <jari.aalto@cante.net>
14931
14932 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14933 (eshell-ls-date-format): New defcustom.
14934 (eshell-ls-file): Use it.
14935
e2b551c5
SM
149362011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14939
8982b231
KY
149402011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14941
14942 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14943 (ange-ftp-make-tmp-name): New arg.
14944 (ange-ftp-file-local-copy): Use it.
14945
36c9fa27
J
149462011-06-27 Jambunathan K <kjambunathan@gmail.com>
14947
14948 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14949 no-conversion (Bug#8870).
14950
d68443dc
MR
149512011-06-27 Martin Rudalics <rudalics@gmx.at>
14952
14953 * window.el (window-right, window-left, window-child)
14954 (window-child-count, window-last-child)
14955 (window-iso-combination-p, walk-window-tree-1)
14956 (window-atom-check-1, window-tree-1, delete-window)
14957 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14958 new naming conventions - window-vchild, window-hchild,
14959 window-next and window-prev are now called window-top-child,
14960 window-left-child, window-next-sibling and window-prev-sibling
14961 respectively.
d615d6d2
MR
14962 (resize-window-reset): Rename to window-resize-reset.
14963 (resize-window-reset-1): Rename to window-resize-reset-1.
14964 (resize-window): Rename to window-resize.
14965 (window-min-height, window-min-width)
14966 (resize-mini-window, resize-this-window, resize-root-window)
14967 (resize-root-window-vertically, adjust-window-trailing-edge)
14968 (enlarge-window, shrink-window, maximize-window)
14969 (minimize-window, delete-window, quit-restore-window)
14970 (split-window, balance-windows, balance-windows-area-adjust)
14971 (balance-windows-area, window-state-put-2)
14972 (display-buffer-even-window-sizes, display-buffer-set-height)
14973 (display-buffer-set-width, set-window-text-height)
14974 (fit-window-to-buffer): Rename all "resize-window" prefixed
14975 calls to use the "window-resize" prefix convention.
14976 (display-buffer-alist): Fix symbol for label specifier.
14977 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14978 corresponding specifier.
14979 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14980
b6458526
VB
149812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14982
14983 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14984 convention.
14985 (ses-call-printer): Does not pass an empty string to formatter when the
14986 cell is empty to keep from barking printer Calc math-format-value.
14987
d31fd9ac
RS
149882011-06-27 Richard Stallman <rms@gnu.org>
14989
43d5bf84
RS
14990 * battery.el (battery-mode-line-limit): New variable.
14991 (battery-update): Handle it.
14992
d31fd9ac
RS
14993 * mail/rmailmm.el (rmail-mime-process-multipart):
14994 Handle truncated messages.
14995
819a6054
GM
149962011-06-27 Glenn Morris <rgm@gnu.org>
14997
14998 * progmodes/flymake.el (flymake-err-line-patterns):
14999 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15000
cedc73f2
VB
150012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15002
819a6054 15003 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15004 (ses--clean-!, ses--clean-_): New functions.
15005 (ses-range): Add configurability of readout order, and conversion
15006 to Calc vector.
15007
5e5d49b6
VB
15008 * ses.el (ses-repair-cell-reference-all): New function.
15009 (ses-cell-symbol): Set macro as safe, so that it can be used in
15010 formulas.
15011
56e6cc31 15012 * ses.el: Update cycle detection algorithm.
90ca8b49 15013 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15014 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15015 (ses-set-localvars): New function.
15016 (ses-make-cell): Add property-list as a cell element.
15017 (ses-cell-property-get-fun, ses-cell-property-get)
15018 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15019 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15020 New functions.
90ca8b49
VB
15021 (ses-cell-property-set, ses-cell-property-pop)
15022 (ses-cell-property-get-handle): New macro.
15023 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15024 New aliases, used for code readability.
15025 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15026 cycle detection.
15027 (ses-self-reference-early-detection): New defcustom.
fac916bf 15028 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15029 (ses-mode): Use ses-set-localvars.
15030 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15031 before lauching the update processing.
15032 (ses-initialize-Dijkstra-attempt): New function.
15033 (ses-recalculate-cell): Update for cycle detection based on
15034 Dijkstra algorithm.
15035
2bb63e81
VB
15036 * ses.el: Fix commenting and indenting convention.
15037
c9d29fb8
SM
150382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15039
15040 * bs.el (bs-cycle-next): Complete last change.
15041
d8e4b68b
JB
150422011-06-27 Drew Adams <drew.adams@oracle.com>
15043
15044 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15045
40098786
LMI
150462011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15047
c9d29fb8
SM
15048 * net/network-stream.el (network-stream-open-starttls):
15049 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15050 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15051
40098786
LMI
15052 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15053 to binary to possibly avoid line encoding issues on Windows (among
15054 other things).
15055
468d09d4
LMI
150562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15057
15058 * net/network-stream.el (open-network-stream): Return an :error
15059 saying what the problem was, if possible.
15060
15061 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15062 server.
15063
15064 * net/network-stream.el (network-stream-open-starttls): If we
15065 wanted to use STARTTLS, and the server offered it, but we weren't
15066 able to because we had no STARTTLS support, then close the connection.
15067 (open-network-stream): Return an :error element, if present.
15068
16f07dd7
CY
150692011-06-26 Chong Yidong <cyd@stupidchicken.com>
15070
88821ca0
CY
15071 * hl-line.el (hl-line-sticky-flag): Doc fix.
15072 (global-hl-line-sticky-flag): New option (Bug#8323).
15073 (global-hl-line-highlight): Obey it.
15074
16f07dd7
CY
15075 * vc/vc.el (vc-revert-show-diff): Default to t.
15076
6b5ccddf
KM
150772011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15078
c9d29fb8
SM
15079 * allout-widgets.el (allout-widgets-post-command-business):
15080 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15081 undecorated when an isearch is continued past, and isearch
15082 automatically collapses them. This leads to "widget leaks", where
15083 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15084 hidden widgets can slow down cursor travel, substantially.
15085 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15086 so we're doing without this nicety.
15087
15088 (allout-widgets-tally-string): Don't try to do a hash-table-count
15089 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15090 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15091 *Messages* when allout-widgets-maintain-tally is t.
15092
355f2e07
MR
150932011-06-26 Martin Rudalics <rudalics@gmx.at>
15094
15095 * window.el (display-buffer-normalize-argument): Rename to
15096 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15097 LABEL argument. Respect special-display-function when popping up
15098 a new frame. Fix code searching for a window showing the buffer
15099 on another frame.
c9d29fb8
SM
15100 (display-buffer-normalize-specifiers):
15101 Call display-buffer-normalize-arguments.
355f2e07
MR
15102 (display-buffer-in-window): Don't undedicate the window if its
15103 buffer remains the same.
15104 Reported by Drew Adams <drew.adams@oracle.com>.
15105 (display-buffer-alist): Add choice for same-window macro
15106 specfier.
15107 (display-buffer): Mention special meaning of LABEL argument in
15108 doc-string. Fix quoting. Don't pop up a new frame even as
15109 fallback.
15110
7ca8fc42
JB
151112011-06-26 Juanma Barranquero <lekktu@gmail.com>
15112
15113 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15114 avoid deleting the current window in some cases (bug#8911).
15115
bc312254
AS
151162011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15117
15118 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15119 (Bug#8934)
15120
2db18f3f
LMI
151212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15122
c9d29fb8
SM
15123 * net/network-stream.el (network-stream-open-starttls):
15124 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15125 (network-stream-open-tls): Ditto.
15126
6302e0d3
LL
151272011-06-26 Leo Liu <sdl.web@gmail.com>
15128
15129 * register.el (registerv): New struct.
15130 (registerv-make): New function.
c9d29fb8
SM
15131 (jump-to-register, describe-register-1, insert-register):
15132 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15133 struct. (Bug#8415)
15134
5fdd4046
CY
151352011-06-26 Chong Yidong <cyd@stupidchicken.com>
15136
2afef60a
CY
15137 * vc/vc.el (vc-revert-show-diff): New defcustom.
15138 (vc-diff-internal): New arg specifying diff buffer.
15139 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15140 reuse an existing *vc-diff* buffer (Bug#8927).
15141
5fdd4046
CY
15142 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15143
e93db24a
GM
151442011-06-26 Glenn Morris <rgm@gnu.org>
15145
15146 * progmodes/f90.el (f90-critical-indent): New option.
15147 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15148 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15149 (f90-mode): Doc fix.
15150 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15151 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15152 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15153 (f90-match-end): Handle block, critical.
15154
eefff499
GM
151552011-06-25 Glenn Morris <rgm@gnu.org>
15156
f6ba4cc9
GM
15157 * calendar/diary-lib.el (diary-included-files): Doc fix.
15158 (diary-include-files): New function, extracted from
15159 diary-include-other-diary-files and diary-mark-included-diary-files.
15160 (diary-include-other-diary-files, diary-mark-included-diary-files):
15161 Just call diary-include-files.
15162 (diary-mark-entries): Reset diary-included-files on first call.
15163
16712304
GM
15164 * calendar/diary-lib.el (diary-mark-entries)
15165 (diary-mark-included-diary-files):
15166 Visit included diary-files in temp buffers.
15167
5d8e0d43
GM
15168 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15169 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15170 (f90-start-block-re, f90-imenu-generic-expression)
15171 (f90-looking-at-program-block-start, f90-no-block-limit):
15172 Add support for submodules.
15173
ccf7a5d5
GM
15174 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15175 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15176
11fdef7d 151772011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15178
15179 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15180 buffer-file-type before setting its value, to avoid disastrous
eefff499 15181 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15182
74f53697
JB
151832011-06-25 Juanma Barranquero <lekktu@gmail.com>
15184
15185 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15186
15187 * ses.el (ses-unload-function):
15188 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15189
15190 * proced.el (proced-unload-function):
15191 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15192
18a4ce5e
AR
151932011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15194
15195 * server.el (server-create-window-system-frame): Add parameters arg.
15196 (server-process-filter): Doc fix. Handle frame-parameters.
15197
519d22cc
JB
151982011-06-25 Juanma Barranquero <lekktu@gmail.com>
15199
15200 Fix bug#8730, bug#8781.
15201
15202 * loadhist.el (unload--set-major-mode): New function.
15203 (unload-feature): Use it.
15204
15205 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15206 (python-unload-function): New function.
15207
c206f5b0
SM
152082011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15211
f9ad64f3
GS
152122011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15213
15214 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15215 the candidates list.
15216
7d0da90e
JB
152172011-06-24 Juanma Barranquero <lekktu@gmail.com>
15218
15219 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15220
14b4e83d
RS
152212011-06-23 Richard Stallman <rms@gnu.org>
15222
15223 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15224 (rmail-variables): Set next-error-move-function.
15225 (rmail-what-message): Take argument POS.
15226 (rmail-next-error-move): New function.
15227
273d2baf
SM
152282011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15229
15230 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15231 messages for adjacent non-terminals.
15232
56c2cc9a
RS
152332011-06-23 Richard Stallman <rms@gnu.org>
15234
15235 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15236 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15237 (rmail-start-mail): Don't specify use of rmail-mail-return;
15238 that's done by mail-bury now.
15239 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15240
d59eb518
MA
152412011-06-23 Michael Albinus <michael.albinus@gmx.de>
15242
15243 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15244 SIZE is a number.
15245
02cfc6d6
MR
152462011-06-23 Martin Rudalics <rudalics@gmx.at>
15247
15248 * window.el (get-lru-window, get-mru-window)
15249 (get-largest-window): Never return a minibuffer window.
15250 (display-buffer-pop-up-window): Fix a bug that could lead to
15251 reusing the minibuffer window.
15252 (display-buffer): Pass original specifier argument to
15253 display-buffer-function instead of the normalized one.
15254 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15255
4e323265
LL
152562011-06-22 Leo Liu <sdl.web@gmail.com>
15257
15258 * minibuffer.el (completing-read-function)
15259 (completing-read-default): Move from minibuf.c
15260
7a70468f
RS
152612011-06-22 Richard Stallman <rms@gnu.org>
15262
50718fc2
RS
15263 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15264 to Rmail even if not started by a special Rmail command.
15265
7a70468f
RS
15266 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15267 Copy the buffer currently showing just one message.
15268
297dde5a
RW
152692011-06-22 Roland Winkler <winkler@gnu.org>
15270
15271 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15272 (bibtex-clean-entry): First delete the old key so that a
15273 customized algorithm for generating the new key does not get
15274 confused by the old key.
15275 (bibtex-url): Obey regexp of first step.
15276 (bibtex-search-entries): Do not use add-to-list with local
15277 list-var.
15278
97bb1093
LMI
152792011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15280
15281 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15282 stored a user name, then query for the password first, instead of
15283 waiting for SMTP to give an error message and the trying again.
15284
1c0f1a19
JD
152852011-06-22 Lawrence Mitchell <wence@gmx.li>
15286
15287 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15288 BUFFER in call-process.
15289
396f7c9d
LMI
152902011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15291
15292 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15293 QUIT twice.
ddb7ffee
LMI
15294 (smtpmail-try-auth-methods): Require user name and password from
15295 auth-source.
396f7c9d 15296
8998d1b3
MR
152972011-06-22 Martin Rudalics <rudalics@gmx.at>
15298
15299 * window.el (display-buffer-default-specifiers)
15300 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15301 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15302 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15303
15304 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15305 (special-display-frame-alist, special-display-popup-frame):
15306 Remove duplicate declarations. These are now in window.el.
15307
4ea31e07
LMI
153082011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
c9d29fb8
SM
15310 * mail/smtpmail.el (smtpmail-via-smtp):
15311 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15312 server supports it. SMTP servers that support STARTTLS commonly
15313 require it.
15314
15315 * net/network-stream.el (network-stream-open-starttls): Support
15316 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15317 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15318
95f41d9a
LMI
15319 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15320 upgrades with `open-network-stream', and rely solely on
15321 auth-source for all credentials. Big changes throughout the file,
15322 but in particular:
c9d29fb8
SM
15323 (smtpmail-auth-credentials): Remove.
15324 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15325 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15326 MAIL FROM, too.
95f41d9a 15327
c9d29fb8
SM
15328 * net/network-stream.el (network-stream-open-starttls):
15329 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15330 STARTTLS.
15331 (auth-source): Require.
15332 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15333 (network-stream-certificate): Change cert-cert to cert and
15334 cert-key to key.
4ea31e07 15335
065ec2c7
MA
153362011-06-21 Michael Albinus <michael.albinus@gmx.de>
15337
15338 * net/tramp-cache.el (top): Don't load the persistency file when
15339 "emacs -Q" has been called.
15340
cd93b359
DR
153412011-06-21 Tim Harper <timcharper@gmail.com>
15342
d8e4b68b
JB
15343 * term/ns-win.el (ns-initialize-window-system):
15344 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15345 resource to NO as it is not yet supported by the NS port.
15346
ae9c0411
JB
153472011-06-21 Juanma Barranquero <lekktu@gmail.com>
15348
15349 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15350 (list-dynamic-libraries): ...not here.
15351
7f3f739f
LL
153522011-06-21 Leo Liu <sdl.web@gmail.com>
15353
15354 * subr.el (sha1): Implement sha1 using secure-hash.
15355
327c8fb1
MR
153562011-06-21 Martin Rudalics <rudalics@gmx.at>
15357
15358 * window.el (display-buffer-alist): In default value do not
15359 enforce searching a window on any but the selected frame.
15360 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15361 (display-buffer-select-window): Remove function.
15362 (display-buffer-in-window): When a window on another frame gets
15363 reused, do not select it any more but just raise its frame if
15364 necessary (Bug#8851) and (Bug#8856).
15365 (display-buffer-normalize-options): Handle pop-up-frames related
15366 options more faithfully.
15367 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15368 window if it is on another frame.
c9d29fb8
SM
15369 (display-buffer-alist, display-buffer-default-specifiers):
15370 Don't make new frame unsplittable by default.
9e9de014
MR
15371 (display-buffer-normalize-argument): Fix doc-string typo and use
15372 'same-frame-other-window instead of 'other-window when associating
15373 with display-buffer-macro-specifiers.
327c8fb1 15374
7cf3f556
VB
153752011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15376
15377 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15378 New functions.
15379 (5x5-mode-map, 5x5-mode-menu): Bind them.
15380 (5x5-draw-grid): Tweak the solver's rendering.
15381
60a406cf
SM
153822011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15385 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15386
d8e4b68b 153872011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15388
15389 * menu-bar.el: Use function variable instead of switch-to-buffer.
15390 (menu-bar-select-buffer-function): New variable.
60a406cf 15391 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15392
478d6f95
SM
153932011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15394
15395 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15396 variable's status.
15397
ca530739
JD
153982011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15399
15400 * x-dnd.el (x-dnd-version-from-flags)
15401 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15402 and long as number (Bug#8899).
15403 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15404
bcd70d97
SM
154052011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15406
60a406cf 15407 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15408 (completion-try-completion, completion-all-completions): Compute the
15409 metadata argument if it's missing; make it optional (bug#8795).
15410
60a406cf 15411 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15412 (widget-complete): Use new :completion-function property.
15413 (widget-completions-at-point): New function.
15414 (default): Use :completion-function instead of :complete.
60a406cf
SM
15415 (widget-default-completions): Rename from widget-default-complete;
15416 Rewrite.
bcd70d97
SM
15417 (widget-string-complete, widget-file-complete, widget-color-complete):
15418 Remove functions.
15419 (file, symbol, function, variable, coding-system, color):
15420 * international/mule-cmds.el (default-input-method, charset)
15421 (language-info-custom-alist):
15422 * cus-edit.el (face): Use new property :completions.
15423
15424 * progmodes/pascal.el (pascal-completions-at-point): New function.
15425 (pascal-mode): Use it.
15426 (pascal-mode-map): Use completion-at-point.
15427 (pascal-toggle-completions): Make obsolete.
15428 (pascal-complete-word, pascal-show-completions):
15429 * progmodes/octave-mod.el (octave-complete-symbol):
15430 Redefine as obsolete alias.
15431 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15432 Signal absence of completion info for old Octave,
15433 (inferior-octave-complete): Redefine as obsolete alias.
15434 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15435 (meta-completions-at-point): Rename from meta-complete-symbol and
15436 adapt it for use on completion-at-point-functions.
15437 (meta-common-mode): Use it.
15438 (meta-looking-at-backward, meta-match-buffer): Remove.
15439 (meta-complete-symbol): Redefine as obsolete alias.
15440 (meta-common-mode-map): Use completion-at-point.
15441 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15442 (makefile-mode-map): Use completion-at-point.
15443 (makefile-completions-at-point): Rename from makefile-complete and
15444 adapt it for use on completion-at-point-functions.
15445 (makefile-mode): Use it.
15446 (makefile-complete): Redefine as obsolete alias.
15447
aebf69c8
DD
154482011-06-20 Deniz Dogan <deniz@dogan.se>
15449
15450 * net/rcirc.el: Delete trailing whitespaces once and for all.
15451
bfbbb27d
DC
154522011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15453
15454 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15455
d264a46b
CY
154562011-06-19 Chong Yidong <cyd@stupidchicken.com>
15457
4ca009e5
CY
15458 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15459
d264a46b
CY
15460 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15461
fbf5b3ce
MR
154622011-06-19 Martin Rudalics <rudalics@gmx.at>
15463
15464 * window.el (display-buffer-other-window-means-other-frame):
15465 Call display-buffer-normalize-alist.
15466 (display-buffer-normalize-specifiers-1): Rename to
15467 display-buffer-normalize-argument. New argument other-frame.
15468 Rewrite.
15469 (display-buffer-normalize-specifiers-2): Rename to
15470 display-buffer-normalize-options.
15471 (display-buffer-normalize-alist-1): New function.
15472 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15473 display-buffer-normalize-alist.
15474 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15475 (display-buffer-normalize-options-inhibit): New variable.
15476 (display-buffer-normalize-specifiers): Rewrite calling
15477 display-buffer-normalize-alist,
15478 display-buffer-normalize-argument, and
15479 display-buffer-normalize-options. Don't call the latter if
15480 display-buffer-normalize-options-inhibit is non-nil.
15481 (frame-auto-delete): New option.
15482 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15483 (window-list-no-nils, window-state-ignored-parameters)
15484 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15485 (window-state-put-1, window-state-put-2, window-state-put):
15486 New functions.
9a028c23
MR
15487 (display-buffer-normalize-options): Move special-display-p group
15488 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15489
6d10d800
CY
154902011-06-18 Chong Yidong <cyd@stupidchicken.com>
15491
6420d28b
CY
15492 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15493 groups (Bug#8776).
15494 (rx-submatch-n): New function.
15495 (rx): Document it.
15496
ddb8b596
CY
15497 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15498 (Bug#8768).
15499
15500 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15501
77080289
CY
15502 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15503
61dfb316
CY
15504 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15505 anytime existing face settings are present (Bug#8889).
15506
6d10d800
CY
15507 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15508 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15509 Remove unused argument.
15510
be3fb2b8
MR
155112011-06-18 Martin Rudalics <rudalics@gmx.at>
15512
bcd70d97
SM
15513 * window.el (display-buffer-default-specifiers):
15514 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15515 pop-up-window-min-width, and another reuse-window specifier
15516 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15517 (display-buffer-normalize-specifiers-2):
15518 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15519 pop-up-windows is unset. Add a reuse-window specifier for the
15520 case popping up a new window fails.
15521 (special-display-popup-frame): Remove double quoting.
28dec25a 15522 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15523
1c6d8c76
SM
155242011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15525
15526 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15527 according to comint-completion-addsuffix.
15528
15529 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15530 (pcomplete-suffix-list): Mark as obsolete.
15531 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15532 pcomplete-seen in the closure.
15533 (pcomplete-comint-setup): Setup completion-at-point as well.
15534 (pcomplete--entries): New function.
15535 (pcomplete--env-regexp): New var.
15536 (pcomplete-entries): Rewrite to work with partial-completion and
15537 without relying on pcomplete-suffix-list.
15538 (pcomplete-pare-list): Remove, unused.
15539
25aef8b8
MR
155402011-06-17 Martin Rudalics <rudalics@gmx.at>
15541
15542 * window.el (display-buffer-alist): Set pop-up-window-min-height
15543 and pop-up-window-min-width in default value. Reported by
15544 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15545 other-window-means-other-frame.
15546 (display-buffer-macro-specifiers): Comment out entry for
15547 other-window specifier.
15548 (display-buffer-other-window-means-other-frame): New function.
15549 (display-buffer-normalize-specifiers-1): New arguments
15550 buffer-name and label. Treat other-window case specially.
15551 (display-buffer-normalize-specifiers-2): Treat other-window case
15552 specially.
15553 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15554 (display-buffer-normalize-specifiers):
15555 Call display-buffer-normalize-specifiers-3.
25aef8b8 15556
dbad4f69
MR
155572011-06-17 Martin Rudalics <rudalics@gmx.at>
15558
15559 * window.el (same-window-p): Fix two typos introduced when
15560 adding with-no-warnings.
d1067961
MR
15561 (display-buffer-normalize-specifiers-1): Don't check
15562 pop-up-frames for 'unset initialization.
15563 (display-buffer-normalize-specifiers-2): Major rewrite using
15564 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15565 (pop-up-frames, display-buffer-reuse-frames)
15566 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15567 Suggested by David Engster <deng@randomsample.de>.
15568 (even-window-heights): Initialize to 'unset.
15569 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15570 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15571 other window case.
dbad4f69 15572
9b9c9e3a
MR
155732011-06-16 Martin Rudalics <rudalics@gmx.at>
15574
bcd70d97
SM
15575 * window.el (display-buffer-normalize-specifiers-1):
15576 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15577 second argument of display-buffer (Bug#8865).
981d5c09
MR
15578 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15579 (switch-to-buffer-other-window-same-frame)
15580 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15581 Adams (Bug#8875).
9c2755e9
MR
15582 (display-buffer): Don't check noninteractive when calling
15583 display-buffer-pop-up-frame.
15584 (display-buffer-pop-up-frame): Never pop up a frame in
15585 noninteractive mode (Bug#8857).
67222e1d
MR
15586 (enlarge-window, shrink-window): Don't report an error when the
15587 window can't be resized as requested (Bug#8862).
9b9c9e3a 15588
2b75be67
SM
155892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15590
9ffdd3ba
SM
15591 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15592
cb581a67
SM
15593 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15594
2b75be67
SM
15595 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15596
8c0e3589
AM
155972011-06-15 Alan Mackenzie <acm@muc.de>
15598
cb581a67
SM
15599 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15600 for declarators, disable knr checking to speed up for normal files.
15601 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15602
b96e6cde
LMI
156032011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15604
4bba86e6
LMI
15605 * net/network-stream.el (open-network-stream): Add the keyword
15606 :always-query-capabilities for the case where you want to force a
15607 `plain' network connection, but the protocol still requires the
15608 capabilitiy command (i.e., SMTP and EHLO).
15609
2b75be67 15610 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15611 consistency with other `-live-p' functions.
15612
efdcdbf8
SM
156132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * window.el (same-window-buffer-names, same-window-regexps)
15616 (special-display-frame-alist, special-display-popup-frame)
15617 (special-display-function, special-display-buffer-names)
15618 (special-display-regexps, pop-up-frame-alist)
15619 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15620 (pop-up-windows, split-window-preferred-function)
15621 (split-height-threshold, split-width-threshold, even-window-heights)
15622 (display-buffer-mark-dedicated): Don't encourage the use of
15623 display-buffer-alist from Elisp code.
15624
c5cde042
DN
156252011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15626
15627 * progmodes/python.el (python-mode): Derive from prog-mode.
15628 * progmodes/ps-mode.el (ps-mode):
15629 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15630 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15631 * progmodes/ld-script.el (ld-script-mode): Likewise.
15632
baa1c9ab
MR
156332011-06-15 Martin Rudalics <rudalics@gmx.at>
15634
15635 * window.el (display-buffer-alist): Trim default value to avoid
15636 popping up a new frame (Bug#8857) or reusing an arbitrary window
15637 on another frame.
15638 (display-buffer): Do not fall back on popping up a new frame in
15639 batch mode (Bug#8857).
15640
c5dd5a51
CY
156412011-06-14 Chong Yidong <cyd@stupidchicken.com>
15642
15643 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15644 (custom-theme-summary): New function.
15645 (customize-themes): Use it.
15646
d647b7c4
GM
156472011-06-13 Glenn Morris <rgm@gnu.org>
15648
15649 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15650
9481c002
MR
156512011-06-13 Martin Rudalics <rudalics@gmx.at>
15652
357f93d2
MR
15653 * help.el (help-window): Remove variable.
15654 (help-window-point-marker, temp-buffer-max-height)
15655 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15656 (help-print-return-message): Don't set help-window.
15657 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15658 (help-window-setup-finish): Remove.
15659 (help-window-display-message, help-window-setup)
15660 (with-help-window): Major rewrite based on new
15661 display-buffer-window variable.
15662
15663 * help-mode.el (help-mode-finish): Remove help-window related
15664 code.
15665
15666 * view.el (view-exits-all-viewing-windows): Remove reference to
15667 view-return-to-alist in doc-string.
15668 (view-return-to-alist): Make obsolete.
15669 (view-buffer): Call pop-to-buffer-same-window and remove
15670 undo-window code.
15671 (view-buffer-other-window): Call pop-to-buffer-other-window and
15672 simplify code. Ignore second argument.
15673 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15674 simplify code. Ignore second argument.
15675 (view-return-to-alist-update): Make obsolete.
15676 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15677 Rewrite using quit-restore window parameters.
2b75be67
SM
15678 (view-mode-exit): Rename second argument to EXIT-ONLY.
15679 Rewrite using quit-restore-window.
357f93d2
MR
15680 (View-exit, View-exit-and-edit, View-leave, View-quit)
15681 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15682 appropriate arguments.
15683 (view-end-message): Use quit-restore window parameter.
15684
9481c002
MR
15685 * window.el (display-buffer-function): Rewrite doc-string.
15686 (display-buffer-window, display-buffer-alist): New variables.
15687 (display-buffer-split-specifiers)
15688 (display-buffer-side-specifiers)
15689 (display-buffer-macro-specifiers): New constants.
15690 (display-buffer-even-window-sizes, display-buffer-set-height)
15691 (display-buffer-set-width, display-buffer-select-window)
15692 (display-buffer-in-window, display-buffer-reuse-window)
15693 (display-buffer-split-window-1, display-buffer-split-window)
15694 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15695 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15696 (display-buffer-in-side-window, normalize-buffer-to-display)
15697 (display-buffer-normalize-specifiers-1)
15698 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15699 (display-buffer-normalize-specifiers, display-buffer-frame):
15700 New functions.
9481c002
MR
15701 (display-buffer): Major rewrite.
15702 (display-buffer-other-window, display-buffer-other-frame)
15703 (pop-to-buffer, switch-to-buffer-other-window)
15704 (switch-to-buffer-other-frame): Rewrite.
15705 (display-buffer-same-window, display-buffer-same-frame)
15706 (display-buffer-same-frame-other-window)
15707 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15708 (pop-to-buffer-other-window)
15709 (pop-to-buffer-same-frame-other-window)
15710 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15711 (switch-to-buffer-other-window-same-frame): New functions.
15712 (same-window-p, special-display-p): Rewrite disabling warnings.
15713 Make obsolete.
15714 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15715 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15716 Make obsolete
15717 (same-window-buffer-names, same-window-regexps)
15718 (special-display-frame-alist, special-display-popup-frame)
15719 (special-display-function, special-display-buffer-names)
15720 (special-display-regexps, pop-up-frame-alist)
15721 (pop-up-frame-function, split-window-preferred-function)
15722 (split-height-threshold, split-width-threshold)
15723 (even-window-heights): Make obsolete.
15724
9db51aca
GM
157252011-06-12 Glenn Morris <rgm@gnu.org>
15726
15727 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15728 Misc simplifications.
9db51aca 15729
39cffb44
MR
157302011-06-12 Martin Rudalics <rudalics@gmx.at>
15731
15732 * window.el (window-safely-shrinkable-p): Restore function which
15733 was inadvertently removed in change from 2011-06-11. Declare as
15734 obsolete.
15735
2b75be67
SM
15736 * calendar/calendar.el (calendar-generate-window):
15737 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15738 window-safely-shrinkable-p.
15739
a8955be7
GM
157402011-06-12 Glenn Morris <rgm@gnu.org>
15741
15742 * progmodes/fortran.el (fortran-mode-syntax-table):
15743 * progmodes/f90.el (f90-mode-syntax-table):
15744 Set % to punctuation. (Bug#8820)
15745 (f90-find-tag-default): Remove, no longer needed.
15746
f0d4059d
DC
157472011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15748
15749 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15750
1100a63c
CY
157512011-06-11 Chong Yidong <cyd@stupidchicken.com>
15752
15753 * image.el (image-animated-p): Return animation delay in seconds.
15754 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15755 (image-animate-timeout): Remove DELAY argument. Don't assume
15756 every subimage has the same delay; get it from image-animated-p.
15757 (image-animate): Caller changed.
15758
def722bf
MA
157592011-06-11 Michael Albinus <michael.albinus@gmx.de>
15760
15761 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15762 to ignored backtrace functions.
15763
0a2bb1a9
GM
157642011-06-11 Glenn Morris <rgm@gnu.org>
15765
15766 * calendar/appt.el (appt-disp-window-function): Doc fix.
15767 (appt-check): Handle overlapping appointments. (Bug#8337)
15768
6198ccd0
MR
157692011-06-11 Martin Rudalics <rudalics@gmx.at>
15770
15771 * window.el (window-tree-1, window-tree): New functions, moving
15772 the latter to window.el.
15773 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15774 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15775 (bw-refresh-edges): Remove.
15776 (balance-windows-1, balance-windows-2): New functions.
15777 (balance-windows): Rewrite in terms of window tree functions,
15778 balance-windows-1 and balance-windows-2.
15779 (bw-adjust-window): Remove.
15780 (balance-windows-area-adjust): New function with functionality of
15781 bw-adjust-window but using resize-window.
2b75be67
SM
15782 (set-window-text-height): Rewrite doc-string.
15783 Use normalize-live-window and resize-window.
15784 (enlarge-window-horizontally, shrink-window-horizontally):
15785 Rename argument to DELTA.
6198ccd0
MR
15786 (window-buffer-height): New function.
15787 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15788 Rewrite using new window resize routines.
2b75be67
SM
15789 (kill-buffer-and-window, mouse-autoselect-window-select):
15790 Use ignore-errors instead of condition-case.
6198ccd0
MR
15791 (quit-window): Call delete-frame instead of delete-windows-on
15792 for the only buffer on frame.
15793
9397e56f
MR
157942011-06-10 Martin Rudalics <rudalics@gmx.at>
15795
15796 * loadup.el (top-level): Load window before files for the sake
15797 of replace-buffer-in-windows.
15798
15799 * files.el (read-buffer-to-switch)
15800 (switch-to-buffer-other-window)
2b75be67
SM
15801 (switch-to-buffer-other-frame, display-buffer-other-frame):
15802 Move to window.el.
9397e56f
MR
15803
15804 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15805 (previous-buffer): Move to window.el.
15806
15807 * bindings.el (unbury-buffer): Move to window.el.
15808
15809 * window.el (delete-other-windows-vertically): Move after
15810 definition of delete-other-windows.
15811 (other-window, delete-windows-on, replace-buffer-in-windows):
15812 Move here from window.c.
15813 (record-window-buffer, unrecord-window-buffer)
15814 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15815 (switch-to-next-buffer): New functions.
15816 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15817 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15818 (previous-buffer): Move here from simple.el.
15819 Call switch-to-prev-buffer.
9397e56f
MR
15820 (bury-buffer): Move here from buffer.c. Switch to previous
15821 buffer when window cannot be deleted.
15822 (unbury-buffer): Move here from bindings.el.
15823 (ctl-x-map): Move binding for other-window from window.c to
15824 here.
15825 (read-buffer-to-switch, switch-to-buffer-other-window)
15826 (switch-to-buffer-other-frame): Move here from files.el.
15827 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15828 (switch-to-buffer): Move here from buffer.c.
15829 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15830
562dd5e9
MR
158312011-06-10 Martin Rudalics <rudalics@gmx.at>
15832
15833 * window.el (window-min-height, window-min-width): Move here
15834 from window.c. Add defcustoms and rewrite doc-strings.
15835 (resize-mini-window, resize-window): New functions.
15836 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15837 Move here from window.c.
15838 (maximize-window, minimize-window): New functions.
15839 (delete-window, delete-other-windows, split-window): Move here
15840 from window.c.
15841 (window-split-min-size): New function.
15842 (split-window-keep-point): Mention split-window-above-each-other
15843 instead of split-window-vertically.
2b75be67 15844 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15845 Rename split-window-vertically to split-window-above-each-other
15846 and provide defalias for old definition.
15847 (split-window-side-by-side, split-window-horizontally):
15848 Rename split-window-horizontally to split-window-side-by-side
15849 and provide defalias for the old definition.
562dd5e9
MR
15850 (ctl-x-map): Move bindings for delete-window,
15851 delete-other-windows and enlarge-window here from window.c.
15852 Replace bindings for split-window-vertically and
15853 split-window-horizontally by bindings for
15854 split-window-above-each-other and split-window-side-by-side.
15855
15856 * cus-start.el (all): Remove entries for window-min-height and
15857 window-min-width. Add entries for window-splits and
15858 window-nest.
15859
f0da764a
GM
158602011-06-09 Glenn Morris <rgm@gnu.org>
15861
80675c21
GM
15862 * calendar/appt.el (appt-mode-line): New function.
15863 (appt-check, appt-disp-window): Use it.
15864
f0da764a
GM
15865 * files.el (hack-one-local-variable-eval-safep):
15866 Allow minor-modes with explicit +/-1 arguments.
15867
59f623b7
TZ
158682011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15869
15870 * term/xterm.el (xterm): Add defgroup.
15871 (xterm-extra-capabilities): Add defcustom to supply known xterm
15872 capabilities, skip querying them, or query them (default).
15873 (terminal-init-xterm): Use it.
15874 (terminal-init-xterm-modify-other-keys): New function to set up
15875 modifyOtherKeys support to simplify `terminal-init-xterm'.
15876
9aab8e0d
MR
158772011-06-09 Martin Rudalics <rudalics@gmx.at>
15878
15879 * window.el (resize-window-reset, resize-window-reset-1)
15880 (resize-subwindows-skip-p, resize-subwindows-normal)
15881 (resize-subwindows, resize-other-windows, resize-this-window)
15882 (resize-root-window, resize-root-window-vertically)
15883 (window-deletable-p, window-or-subwindow-p)
15884 (frame-root-window-p): New functions.
15885
e8b08aee
GM
158862011-06-09 Glenn Morris <rgm@gnu.org>
15887
15888 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15889 (ange-ftp-get-files): Use it.
15890
254c37a5
AK
158912011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15892
15893 * mail/sendmail.el (mail-recover-1, mail-recover):
15894 * files.el (recover-file, recover-session):
15895 Handle dired-listing-switches not being just a single short option.
15896
35d7dbd3
GM
158972011-06-09 Glenn Morris <rgm@gnu.org>
15898
15899 * calendar/appt.el (appt-display-message, appt-disp-window):
15900 Handle lists of appointments.
15901
387522b2
MR
159022011-06-08 Martin Rudalics <rudalics@gmx.at>
15903
2b75be67
SM
15904 * window.el (one-window-p): Move down in code.
15905 Rewrite doc-string.
15906 (window-current-scroll-bars): Rewrite doc-string.
15907 Normalize live window argument.
387522b2
MR
15908 (walk-windows, get-window-with-predicate, count-windows):
15909 Rewrite doc-string. Use window-list-1.
15910 (window-in-direction-2, window-in-direction, get-mru-window):
15911 New functions.
15912
d8e4b68b 159132011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15914
15915 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15916 Doc fix (Bug#8713).
15917
159182011-06-08 Chong Yidong <cyd@stupidchicken.com>
15919
15920 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15921
159222011-06-08 Juanma Barranquero <lekktu@gmail.com>
15923
15924 * loadhist.el (unload-feature-special-hooks):
15925 Add `comint-output-filter-functions'.
15926
0de12c52
IK
159272011-06-08 Ivan Kanis <gnu@kanis.fr>
15928
15929 * calendar/appt.el (appt-check): Move some initializations into the let.
15930
f3d1777e
MR
159312011-06-08 Martin Rudalics <rudalics@gmx.at>
15932
15933 * window.el (window-height): Defalias to window-total-height.
15934 (window-width): Defalias to window-body-width.
15935
18af70d0
CY
159362011-06-07 Chong Yidong <cyd@stupidchicken.com>
15937
15938 * image-mode.el (image-toggle-animation): New command.
15939 (image-mode-map): Bind it to RET.
15940 (image-mode): Update message.
15941 (image-toggle-display-image): Avoid a spurious cache flush.
15942 (image-transform-rotation): Doc fix.
15943 (image-transform-properties): Return quickly in the normal case.
15944 (image-animate-loop): Rename from image-animate-max-time.
15945
2b75be67 15946 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15947 (create-animated-image): Remove unnecessary function.
15948 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15949 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15950 (image-animate-timer): Use car-safe.
15951 (image-animate-timeout): Rename argument.
15952
190b47e6
MR
159532011-06-07 Martin Rudalics <rudalics@gmx.at>
15954
15955 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15956 window.c. Rename first argument to ALL-FRAMES.
15957 Rephrase doc-strings.
15958 (get-buffer-window-list): Rewrite using window-list-1.
15959 Rephrase doc-string.
a1511caf
MR
15960 (window-safe-min-height, window-safe-min-width): New constants.
15961 (window-size-ignore, window-min-size, window-min-size-1)
15962 (window-sizable, window-sizable-p, window-size-fixed-1)
15963 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15964 (window-max-delta-1, window-max-delta, window-resizable)
15965 (window-resizable-p, window-total-height, window-total-width)
15966 (window-body-width): New functions.
15967 (window-full-height-p, window-full-width-p): Rewrite using
15968 window-total-size.
15969 (window-body-height): Rewrite using window-body-size.
190b47e6 15970
85cc1f11
MR
159712011-06-06 Martin Rudalics <rudalics@gmx.at>
15972
15973 * window.el (window-right, window-left, window-child)
15974 (window-child-count, window-last-child, window-any-p)
15975 (normalize-live-buffer, normalize-live-frame)
15976 (normalize-any-window, normalize-live-window)
15977 (window-iso-combination-p, window-iso-combined-p)
15978 (window-iso-combinations)
15979 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15980 (windows-with-parameter, window-with-parameter)
15981 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15982 (window-atom-check, window-side-check, window-check):
15983 New functions.
85cc1f11
MR
15984 (ignore-window-parameters, window-sides, window-sides-vertical)
15985 (window-sides-slots): New variables.
15986 (window-size-fixed): Move down in code. Minor doc-string fix.
15987
e7156492
AS
159882011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15989
15990 * comint.el (comint-dynamic-complete-as-filename)
15991 (comint-dynamic-complete-filename): Correctly call
15992 completion-in-region.
15993
7e821d0d
DD
159942011-06-05 Deniz Dogan <deniz@dogan.se>
15995
15996 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15997 in last change.
15998
ac09b8a1
DD
159992011-06-05 Deniz Dogan <deniz@dogan.se>
16000
16001 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16002 (rcirc): Use it to prompt for encryption.
16003
34699b85
RW
160042011-06-05 Roland Winkler <winkler@gnu.org>
16005
16006 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16007 (bibtex-search-entries): New command bound to C-c C-a.
16008 (bibtex-display-entries): New function.
16009
004dedd3
RW
160102011-06-05 Roland Winkler <winkler@gnu.org>
16011
16012 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16013 (bibtex-insert-kill): After yanking insert newline if necessary.
16014 (bibtex-initialize): Call bibtex-string-files-init only once.
16015 (bibtex-mode): Do not call easy-menu-add.
16016 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16017 (bibtex-yank): Set arg properly if nil.
16018
022fe7ce
RW
160192011-06-05 Roland Winkler <winkler@gnu.org>
16020
2b75be67
SM
16021 * textmodes/bibtex.el (bibtex-search-entry-globally):
16022 New variable.
022fe7ce
RW
16023 (bibtex-search-entry): Use it.
16024
b7c3692a
RW
160252011-06-05 Roland Winkler <winkler@gnu.org>
16026
16027 * textmodes/bibtex.el (bibtex-entry-format): New option
16028 sort-fields.
16029 (bibtex-format-entry, bibtex-reformat): Honor this option.
16030 (bibtex-parse-entry): Return fields in proper order.
16031
8eda563d
JB
160322011-06-05 Juanma Barranquero <lekktu@gmail.com>
16033
16034 * doc-view.el (doc-view-remove-if): Move computation of result out
16035 of `dolist' to silence misleading lexical-binding warning.
16036
7dbe3dbc
CY
160372011-06-04 Chong Yidong <cyd@stupidchicken.com>
16038
16039 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16040 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16041
0c33dd17
MA
160422011-06-04 Michael Albinus <michael.albinus@gmx.de>
16043
16044 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16045 "SunOS 5.10".
16046
f8f91c2b
MA
160472011-06-04 Michael Albinus <michael.albinus@gmx.de>
16048
16049 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16050 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16051 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16052 (tramp-parse-putty):
16053 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16054 (tramp-completion-function-alist-ssh)
16055 (tramp-completion-function-alist-telnet)
16056 (tramp-completion-function-alist-su)
16057 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16058 cookie.
16059
16060 * net/tramp-ftp.el:
16061 * net/tramp-sh.el:
16062 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16063 load "tramp.el" `tramp-set-completion-function'.
16064
e17d9003
SM
160652011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16066
16067 * shell.el: Require and use pcomplete.
16068 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16069 (shell-completion-vars): Set pcomplete-default-completion-function.
16070
6c4cab03
DD
160712011-06-04 Deniz Dogan <deniz@dogan.se>
16072
16073 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16074 `memq' (Bug#8799).
16075
ea9fafe0
SM
160762011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16077
16078 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16079
b3e945d3
JB
160802011-06-02 Juanma Barranquero <lekktu@gmail.com>
16081
16082 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16083 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16084 * vc/log-view.el (log-view-beginning-of-defun):
16085 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16086 (smerge-refine-forward, smerge-refine-chopup-region):
16087 Silence warning for unused `dotimes' counter variables.
16088
7d520089
SM
160892011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16090
16091 * net/tramp.el (tramp-with-progress-reporter): Rename from
16092 with-progress-reporter. Use `declare'.
16093 * net/tramp-smb.el:
16094 * net/tramp-sh.el:
16095 * net/tramp-gvfs.el: Update all uses.
16096
a1c2400f
JB
160972011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16098
16099 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16100 buffer isn't killed before making it current.
16101
2403c841
SM
161022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 Silence various byte-compiler warnings.
16105 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16106 `access-type' and new obsolescence format.
16107 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16108 new format.
16109 (byte-compile-check-variable): New `access-type' argument.
16110 Only warn if the access-type is obsolete.
16111 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16112 (byte-compile-variable-set): Adjust callers.
16113 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16114 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16115 setting it as obsolete.
16116 * simple.el (minibuffer-completing-symbol):
16117 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16118 access as obsolete.
16119 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16120 obsolete yet.
16121 * international/quail.el (quail-mouse-choose-completion): Remove unused
16122 code referring to obsolete var.
16123 (quail-choose-completion-string): Remove.
16124 * server.el (server-clients-with, server-kill-buffer-query-function)
16125 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16126 * proced.el (proced-send-signal):
16127 * emacs-lisp/lisp.el (lisp-complete-symbol):
16128 Replace completion-annotate-function with completion-extra-properties.
16129
2462470b
SM
161302011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16131
fb5b2591
SM
16132 * simple.el (goto-line): Use read-number.
16133 (overriding-map-is-bound): Remove.
16134 (saved-overriding-map): Change default.
16135 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16136 Take the map as argument.
16137 (universal-argument, negative-argument, digit-argument): Use it.
16138 (restore-overriding-map): Adjust.
16139 (do-auto-fill): Use fill-forward-paragraph.
16140 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16141
fd6fa53f
SM
16142 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16143 (minibuffer-inactive-mode): New major mode.
16144 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16145 the *Messages* buffer" hack.
16146 (mouse-popup-menubar): Don't burp if the event is a normal key.
16147
2462470b
SM
16148 Miscellaneous tweaks.
16149 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16150 lexical scoping as in subr.el's dolist and dotimes.
16151 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16152 Silence compiler warning.
16153 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16154 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16155 * international/ccl.el (ccl-compile): Trivial simplification.
16156 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16157 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16158 `printflag' argument.
16159 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16160 Purecopy the whole obsolescence data.
16161
108bf785
LL
161622011-06-01 Leo Liu <sdl.web@gmail.com>
16163
16164 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16165 improve doc-string as suggested by Marco Pessotto
16166 <melmothx@gmail.com>.
16167 (rcirc-print): Fix last change.
16168
30a23501
SM
161692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * minibuffer.el (complete-with-action): Return nil for the metadata and
16172 boundaries of non-functional tables.
16173 (completion-table-dynamic): Return nil for the metadata.
16174 (completion-table-with-terminator): Add default case, using
16175 complete-with-action.
16176 (completion--metadata): New function.
16177 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16178 to try and avoid pathological performance problems.
16179 (completion--embedded-envvar-table): Return `category' metadata.
16180
bcd54f83
LMI
161812011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16182
16183 * subr.el (process-alive-p): New tiny convenience function.
16184
e227544d
SM
161852011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16186
16187 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16188 content but also its previous major mode.
16189
e8296fdc
HE
161902011-05-31 Helmut Eller <eller.helmut@gmail.com>
16191
4d61f28d 16192 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16193 *Backtrace* buffer when we exit with C-M-c.
16194
620c53a6
SM
161952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16196
16197 * minibuffer.el: Add metadata method to completion tables.
16198 (completion-category-overrides): New defcustom.
16199 (completion-metadata, completion--field-metadata)
16200 (completion-metadata-get, completion--styles)
16201 (completion--cycle-threshold): New functions.
16202 (completion-try-completion, completion-all-completions):
16203 Add `metadata' argument to choose completion-styles.
16204 (completion--do-completion): Use metadata to choose cycling.
16205 (completion-all-sorted-completions): Use metadata for sorting.
16206 Remove :completion-cycle-penalty which is not needed any more.
16207 (completion--try-word-completion): Add `metadata' argument.
16208 (minibuffer-completion-help): Check metadata for annotation function
16209 and sorting.
16210 (completion-file-name-table): Return `category' metadata.
16211 (minibuffer-completing-file-name): Make obsolete.
16212 * simple.el (minibuffer-completing-symbol): Make obsolete.
16213 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16214 completion-try-completion.
16215
1257e755
SM
162162011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16217
16218 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16219
3767e706
LL
162202011-05-30 Leo Liu <sdl.web@gmail.com>
16221
16222 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16223 (rcirc-print): Decode all incoming messages (bug#8744).
16224 (rcirc-decode-coding-system): Allow value nil for automatic coding
16225 system detection.
3767e706 16226
d1a5d56a
GM
162272011-06-01 Glenn Morris <rgm@gnu.org>
16228
16229 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16230
e8cbec34
CY
162312011-05-29 Chong Yidong <cyd@stupidchicken.com>
16232
16233 * image.el (image-animate-max-time): Allow nil and t values.
16234 Default to nil.
16235 (create-animated-image): Doc fix.
16236 (image-animate-start): Remove second arg; just use
16237 image-animate-max-time.
16238 (image-animate-timeout): Doc fix. Args changed.
16239
16240 * image-mode.el (image-toggle-display-image): Ensure that the
16241 image spec passed to the animate timer is the same object as in
58179cce 16242 the buffer's display property (Bug#6981).
e8cbec34
CY
16243 (image-transform-properties): Doc fix.
16244
16245 * image.el (image-animate-max-time): Default to nil.
16246
159daf87
MR
162472011-05-29 Martin Rudalics <rudalics@gmx.at>
16248
16249 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16250 entire buffer list (Bug#8184).
16251
d66c4c7c
CY
162522011-05-29 Chong Yidong <cyd@stupidchicken.com>
16253
16254 * image.el (imagemagick-types-inhibit)
16255 (imagemagick-register-types): Doc fix.
16256
80aec780
DD
162572011-05-29 Deniz Dogan <deniz@dogan.se>
16258
16259 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16260 default.
16261
1dd3c2d9
CY
162622011-05-29 Chong Yidong <cyd@stupidchicken.com>
16263
16264 * select.el: Don't perform clipboard-manager saving in hooks;
16265 leave the hooks empty.
16266
60e56523
LL
162672011-05-28 Leo Liu <sdl.web@gmail.com>
16268
16269 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16270 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16271 (occur-edit-mode): New major mode (Bug#8463).
16272 (occur-after-change-function): New function.
16273 (occur-engine): Give Occur tags a read-only property.
16274
2b1e1a22
KR
162752011-05-28 Kevin Ryde <user42@zip.com.au>
16276
16277 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16278
5d344e88
CY
162792011-05-28 Chong Yidong <cyd@stupidchicken.com>
16280
8e6ca83d
CY
16281 * bindings.el (help-echo): Make the initial non-indicator dash
16282 empty on graphical terminals (Bug#7295).
16283
5d344e88
CY
16284 * files.el (auto-mode-alist): Move config rule after the
16285 in-stripping one (Bug#8547).
16286
bfbbace7
CY
16287 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16288
fbeba6e2
CY
16289 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16290 setting (Bug#8740).
16291
60ed8c72
AA
162922011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16293
4ac619f0
AA
16294 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16295 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16296 (Bug#8539).
60ed8c72 16297
23db196e
CY
162982011-05-28 Chong Yidong <cyd@stupidchicken.com>
16299
16300 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16301
5012f24c
DK
163022011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16303
16304 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16305 (hs-hide-block-at-point, hs-find-block-beginning)
16306 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16307 (Bug#8279).
16308
6a639b16
GM
163092011-05-28 Glenn Morris <rgm@gnu.org>
16310
16311 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16312
d43eaf2c
CY
163132011-05-28 Chong Yidong <cyd@stupidchicken.com>
16314
5199bde1
CY
16315 * help-fns.el (describe-function-1): If the function is a derived
16316 major mode, print the parent mode.
16317
d43eaf2c
CY
16318 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16319 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16320
423428a8
SM
163212011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16322
0ff8e1ba 16323 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16324 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16325 * progmodes/etags.el (tags-completion-at-point-function):
16326 * info-look.el (info-lookup-completions-at-point): Mark as
16327 non-exclusive.
16328 (info-complete): Adjust accordingly.
16329
423428a8
SM
16330 * info-look.el: Convert to lexical-binding and completion-at-point.
16331 (info-lookup-completions-at-point): New function.
16332 (info-complete): Use it and completion-in-region.
16333
b74aa22b
DA
163342011-05-28 Drew Adams <drew.adams@oracle.com>
16335
16336 * isearch.el: Let M-e start with point at the first mismatched char.
16337 (isearch-fail-pos): New function.
16338 (isearch-edit-string): Use it.
16339
66e2e71d
DK
163402011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16341
16342 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16343
b1890b0f 163442011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16345
16346 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16347 traversal functions for avl-trees.
16348 (avl-tree--stack): New struct.
16349 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16350 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16351 (avl-tree--do-enter): Add optional `updatefun' arg.
16352 Change return value.
eb95d01d 16353 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16354 (avl-tree--do-delete): Add `test' and `nilflag' args.
16355 Change return value.
eb95d01d
TC
16356 (avl-tree-member): Add optional `nilflag'
16357 (avl-tree-member-p): New function.
16358 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16359 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16360 (avl-tree-stack-empty-p): New functions.
16361
3769ddcf
TC
16362 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16363 avl-tree--del-balance1 and make it work both ways.
16364 (avl-tree--del-balance2): Remove.
16365 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16366 make it work both ways.
16367 (avl-tree--enter-balance2): Remove.
16368 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16369 New macros.
16370 (avl-tree--mapc, avl-tree-map): Add direction argument.
16371
eb95d01d 163722011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16373
16374 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16375
a9f737ee
CY
163762011-05-27 Chong Yidong <cyd@stupidchicken.com>
16377
16378 * select.el: Support clipboard managers with built-in function
16379 x-clipboard-manager-save, via delete-frame-functions and
16380 kill-emacs-hook.
16381 (xselect-convert-to-targets): Add MULTIPLE target to list.
16382 (xselect-convert-to-save-targets): New function.
16383
c92a1e54
KH
163842011-05-27 Kenichi Handa <handa@m17n.org>
16385
16386 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16387 let-binding rfc2047-encode-encoded-words to nil.
16388
e145f188
GM
163892011-05-27 Glenn Morris <rgm@gnu.org>
16390
5ec8a862
GM
16391 * mail/emacsbug.el: Don't require url-util.
16392
4b29d9fb
GM
16393 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16394
e145f188
GM
16395 * files.el (set-auto-mode):
16396 Also respect mode: entries at the end of the file. (Bug#8586)
16397
7d15102b
GM
163982011-05-26 Glenn Morris <rgm@gnu.org>
16399
98f593b8
GM
16400 * files.el (hack-local-variables-prop-line, hack-local-variables):
16401 Downcase mode names, as seems to be traditional.
27b48e63 16402 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16403
7d15102b
GM
16404 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16405 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16406
51d5b4ec
JD
164072011-05-25 Julien Danjou <julien@danjou.info>
16408
16409 * textmodes/rst.el (rst-define-level-faces): Do not define face
16410 symbol if it is already defined.
16411
91513f63
VB
164122011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16413
16414 * play/5x5.el (5x5-new-game, 5x5-randomize):
16415 Reset 5x5-solver-output to nil when a new grid is cast.
16416 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16417 these debugging traces, as defmacro breaks the compiled code.
16418
4d90d6d0
DK
164192011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16420
16421 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16422
e1b90ef6
LL
164232011-05-24 Leo Liu <sdl.web@gmail.com>
16424
16425 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16426 (vc-bzr-sha1): Adapt.
16427
d8e4b68b 16428 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16429
16430 * bindings.el: Provide sha1 feature.
16431
db0406bb 164322011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16433
16434 * mail/sendmail.el: Require `rfc2047'.
16435 (mail-insert-from-field): Do not perform RFC2047 encoding.
16436 (mail-encode-header): New function.
16437 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16438 buffer to the return value of select-message-coding-system.
16439 Call mail-encode-header.
b8d747b9
KH
16440
16441 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16442
db0406bb 164432011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16444
4d90d6d0
DK
16445 * mail/supercite.el (sc-default-cite-frame):
16446 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16447
eb8a5e9b
GM
164482011-05-24 Glenn Morris <rgm@gnu.org>
16449
f8630703
GM
16450 * progmodes/python.el (brm-menu): Declare.
16451
8831bbed
GM
16452 * emulation/viper.el (viper-set-hooks): Declare.
16453
eb8a5e9b
GM
16454 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16455 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16456 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16457 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16458 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16459 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16460
a2a25d24
SM
164612011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16462
16463 Add an :exit-function for completion-at-point.
16464
16465 * minibuffer.el (completion--done): New fun.
16466 (completion--do-completion): Use it. New arg `expect-exact'.
16467 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16468 since completion--do-completion does it for us now.
16469 (minibuffer-force-complete): Use completion--done and
16470 completion--replace. Handle sole-completion case with more care.
16471 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16472 (completion-extra-properties): New var.
16473 (completion-annotate-function): Make obsolete.
16474 (minibuffer-completion-help): Adjust accordingly.
16475 Use completion-list-insert-choice-function.
16476 (completion-at-point, completion-help-at-point):
16477 Bind completion-extra-properties.
16478 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16479 * simple.el (completion-list-insert-choice-function): New var.
16480 (completion-setup-function): Preserve it.
16481 (choose-completion): Pay attention to it, shuffle the code a bit.
16482 (choose-completion-string): New arg `insert-function'.
16483
16484 * textmodes/bibtex.el: Convert to lexical binding.
16485 (bibtex-mode-map): Use completion-at-point.
16486 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16487 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16488 (bibtex-complete): Define as obsolete alias.
16489 (bibtex-complete-internal): Remove.
16490 (bibtex-format-entry): Remove unused sub-group in regexp.
16491 * shell.el (shell--command-completion-data)
16492 (shell-environment-variable-completion):
16493 * pcomplete.el (pcomplete-completions-at-point):
16494 * comint.el (comint--complete-file-name-data): Use :exit-function
16495 instead of completion-table-with-terminator so it also works for
16496 choose-completion.
16497
e44e373d
SM
164982011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16499
4f91a816
SM
16500 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16501
782fc819
SM
16502 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16503 (bug#8710).
16504
e44e373d
SM
16505 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16506
381987c3
KM
165072011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16508
16509 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16510 customization variable and implement: If non-nil, auto-fill will
16511 be inhibited while on topic's header line.
16512
b776bc70
VB
165132011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16514
16515 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16516 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16517 always have a solution in grid size = 5 cases.
16518 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16519 (5x5-solver-output, 5x5-log-buffer): New vars.
16520 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16521 Make these variables buffer local to achieve 5x5 multi-session-ness.
16522 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16523 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16524 (5x5-solve-suggest): New funs.
16525 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16526 randomize a grid so that we ensure that there is always a solution.
16527 (5x5-make-random-grid): Allow other movement than flipping.
16528
7de88b6e
KR
165292011-05-23 Kevin Ryde <user42@zip.com.au>
16530
16531 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16532 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16533 advice and passes PREDICATE.
16534
b1ef1257
SM
165352011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16536
bbca48fe
SM
16537 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16538 byte-compile-lambda if it's actually a lambda.
16539
b1ef1257
SM
16540 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16541 Fix function quoting. Use backquote better.
16542
92a9cc65
YS
165432011-05-22 Yuanle Song <sylecn@gmail.com>
16544
16545 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16546 matching (Bug#8516).
16547
f0fb8059
JA
165482011-01-22 Jari Aalto <jari.aalto@cante.net>
16549
16550 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16551 different face (Bug#8178).
16552
d5b44c93
CY
165532011-05-22 Chong Yidong <cyd@stupidchicken.com>
16554
16555 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16556 defface (Bug#8144).
16557
79106a44
SM
165582011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16559
9c848d8a
SM
16560 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16561 funcall as well (bug#8712). Warn when performing those conversions.
16562 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16563
79106a44
SM
16564 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16565
88dfa756
GM
165662011-05-22 Glenn Morris <rgm@gnu.org>
16567
16568 * files.el (hack-local-variables-prop-line): Small simplifications.
16569 (hack-local-variables, hack-local-variables-prop-line):
16570 If MODE-ONLY, return the mode, rather than just `t'.
16571
b7cf2c79
SM
165722011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16575
3f1a8558
GM
165762011-05-21 Glenn Morris <rgm@gnu.org>
16577
7e4ccca3
GM
16578 * files.el (hack-local-variables-prop-line, hack-local-variables):
16579 If only interested in the mode, don't bother doing the other stuff.
16580
637d46ca
GM
16581 * image-mode.el (image-after-revert-hook):
16582 Redraw all frames on which the image is visible. (Bug#8567)
16583
973d955b
GM
16584 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16585
3f1a8558
GM
16586 * wid-edit.el (widget-checklist-match-inline):
16587 Fix 2011-04-19 change. (Bug#8649)
16588
96479927
SM
165892011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16590
1dcf791f
SM
16591 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16592 Also allow singlespace after single-letter capitals followed by a dot.
16593
96479927
SM
16594 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16595 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16596
35fd0881
N
165972011-05-20 Nix <nix@esperi.org.uk>
16598
16599 * files.el (basic-save-buffer-2):
16600 Fix handling of break-hardlink-on-save with non-existent files.
16601
82745640
DD
166022011-05-19 Deniz Dogan <deniz@dogan.se>
16603
16604 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16605 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16606
4a720484
GM
166072011-05-19 Glenn Morris <rgm@gnu.org>
16608
d1f21341
GM
16609 * progmodes/f90.el (f90-type-def-re):
16610 Handle "type, bind(c)". (Bug#8691)
16611
4a720484
GM
16612 * emacs-lisp/autoload.el (batch-update-autoloads):
16613 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16614
2fb0a219
MA
166152011-05-18 Michael Albinus <michael.albinus@gmx.de>
16616
16617 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16618 property for the correct connection in case of multihops.
16619
e565dd37
GM
166202011-05-18 Glenn Morris <rgm@gnu.org>
16621
c2571358 16622 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16623 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16624
e565dd37
GM
16625 Rationalize calendar handling of day and month abbrev-arrays.
16626 * calendar/calendar.el (calendar-customized-p): New function.
16627 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16628 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16629 Add :set function.
16630 (calendar-abbrev-length, calendar-day-abbrev-array)
16631 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16632 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16633 Elements may no longer be nil.
16634 (calendar-day-name, calendar-month-name):
16635 Update for changed nature of abbrev arrays.
16636 * calendar/diary-lib.el (diary-name-pattern):
16637 Update for changed nature of abbrev arrays.
16638 (diary-mark-entries-1): Update calendar-make-alist calls.
16639 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16640 * calendar/cal-html.el (cal-html-day-abbrev-array):
16641 Simply inherit from calendar-day-abbrev-array.
16642
1d99a745
SM
166432011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * progmodes/grep.el (grep-mode): Disable default
16646 compilation-directory-matcher setting (bug#8684).
16647
7c1d9aa0
MA
166482011-05-17 Michael Albinus <michael.albinus@gmx.de>
16649
16650 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16651 instead of "head" and "tail". There were problems with SunOS 5.9,
16652 and it performs better.
16653
3952e9d8
GM
166542011-05-17 Glenn Morris <rgm@gnu.org>
16655
2dd12e7f
GM
16656 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16657
e4157b9c
GM
16658 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16659 Replace obsolete function.
16660
8e249bbd
GM
16661 * shell.el (pcomplete-parse-arguments-function): Declare.
16662
3952e9d8
GM
16663 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16664 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16665 (appt-check): Doc fixes.
16666 (appt-disp-window-function, appt-delete-window-function):
16667 Remove needless special case in custom :type.
16668 (appt-display-count): Default to 0, not nil.
16669 (appt-check): Reset appt-display-count to 0, not nil.
16670
c71a0d48 166712011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16672
c71a0d48
GM
16673 * progmodes/python.el (python-font-lock-keywords):
16674 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16675
31d55be9
SM
166762011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16677
16678 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16679
3bfacb2f
KR
166802011-05-16 Kevin Ryde <user42@zip.com.au>
16681
16682 * info-look.el (makefile-automake-mode): New setups, looking in
16683 automake manual, then makefile-mode.
16684 (makefile-mode): Remove automake manual, have it just in
16685 makefile-automake-mode since there's various things different or
16686 not relevant to plain make.
16687 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16688 believe a hypothetical automake-mode would go to makefile-mode,
16689 not the other way around.
16690
c8e83751
CY
166912011-05-15 Chong Yidong <cyd@stupidchicken.com>
16692
5e9e35cd
CY
16693 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16694 hunk-end tags (Bug#8672).
16695
c8e83751
CY
16696 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16697 vc-annotate-show-diff-revision-at-line (Bug#8671).
16698
50b23e5a
GM
166992011-05-14 Glenn Morris <rgm@gnu.org>
16700
7210a739
GM
16701 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16702 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16703 (change-log-font-lock-keywords): Also handle multiple author lines
16704 with leading tabs. (Bug#8644)
7210a739 16705
4691905a
GM
16706 * calendar/appt.el (appt-check): Rename some local variables.
16707 Some simplification/reordering.
16708
50b23e5a
GM
16709 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16710 (feedmail-sendmail-f-doesnt-sell-me-out)
16711 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16712 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16713 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16714 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16715 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16716 (feedmail-binmail-gnulinuxish-template):
16717 Rename from feedmail-binmail-linuxish-template.
16718 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16719 Use insert-buffer-substring.
16720
215cda7c
BC
167212011-05-14 Bill Carpenter <bill@carpenter.org>
16722
16723 * mail/feedmail.el (feedmail-patch-level): Increase.
16724 (feedmail-debug): New custom group.
16725 (feedmail-confirm-outgoing-timeout)
16726 (feedmail-sendmail-f-doesnt-sell-me-out)
16727 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16728 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16729 (feedmail-sender-line, feedmail-from-line)
16730 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16731 (feedmail-spray-this-address)
215cda7c
BC
16732 (feedmail-spray-address-fiddle-plex-list)
16733 (feedmail-queue-use-send-time-for-date)
16734 (feedmail-queue-use-send-time-for-message-id)
16735 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16736 (feedmail-buffer-eating-function):
16737 Doc fixes.
16738 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16739 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16740 (feedmail-message-action-scroll-down): New functions.
16741 (feedmail-queue-directory, feedmail-queue-draft-directory):
16742 Use expand-file-name.
16743 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16744 Remove C-v help entry.
16745 (feedmail-queue-buffer-file-name): New variable.
16746 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16747 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16748 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16749 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16750 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16751 (feedmail-message-action-toggle-spray)
16752 (feedmail-run-the-queue-no-prompts)
16753 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16754 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16755 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16756 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16757 (feedmail-envelope-deducer, feedmail-fiddle-from)
16758 (feedmail-fiddle-sender, feedmail-default-date-generator)
16759 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16760 (feedmail-fiddle-spray-address)
16761 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16762 (feedmail-fiddle-list-of-fiddle-plexes)
16763 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16764 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16765 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16766 Change default. Doc fix.
16767 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16768 (feedmail-binmail-linuxish-template): New constant.
16769 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16770 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16771 (feedmail-send-it): Add debug call.
16772 Use feedmail-queue-buffer-file-name, and
16773 feedmail-send-it-immediately-wrapper.
16774 (feedmail-message-action-send): Add debug call.
16775 Use feedmail-send-it-immediately-wrapper.
16776 (feedmail-queue-express-to-queue): Add debug call.
16777 Run feedmail-queue-express-hook.
16778 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16779 (feedmail-message-action-help-blat):
16780 Rename from feedmail-queue-send-edit-prompt-help-first.
16781 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16782 Check line-endings. Handle errors better.
16783 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16784 Doc fix. Add debug call.
16785 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16786 Use feedmail-queue-send-edit-prompt-inner.
16787 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16788 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16789 from feedmail-queue-send-edit-prompt.
16790 (feedmail-queue-send-edit-prompt-help)
16791 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16792 (feedmail-tidy-up-slug): Add debug call.
16793 Respect feedmail-queue-slug-suspect-regexp.
16794 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16795 (feedmail-dump-message-to-queue): Add debug call.
16796 Expand queue-directory.
16797 (feedmail-dump-message-to-queue): Change message slightly.
16798 Use feedmail-say-chatter.
16799 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16800 (feedmail-send-it-immediately-wrapper): New function.
16801 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16802 Insert empty string rather than newline. Handle full-frame case.
16803 Use catch/throw. Use feedmail-say-chatter.
16804 (feedmail-fiddle-from): Try mail-host-address.
16805 (feedmail-default-message-id-generator): Doc fix.
16806 Bind system-time-locale. Handle missing end.
16807 (feedmail-fiddle-x-mailer): Add debug call.
16808 Handle feedmail-x-mailer-line being nil.
16809 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16810 Add debug call. Use buffer-substring-no-properties.
16811 (feedmail-say-debug, feedmail-say-chatter): New functions.
16812 (feedmail-find-eoh): Give an explicit error.
16813
42c7e61e
UJ
168142011-05-13 Ulf Jasper <ulf.jasper@web.de>
16815
c2571358 16816 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16817 family from helvetica to sans.
c2571358 16818 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16819 etc/images/newsticker.
16820
c2571358 16821 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16822 family from helvetica to sans.
16823
16824 * net/newst-plainview.el (newsticker-new-item-face)
16825 (newsticker-old-item-face, newsticker-immortal-item-face)
16826 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16827 (newsticker-statistics-face): Change default family from
42c7e61e 16828 helvetica to sans.
c2571358 16829 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16830 etc/images/newsticker.
16831
5d3385a0
JB
16832 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16833 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16834 auto-marking.
16835
8497a297
DV
168362011-05-13 Didier Verna <didier@xemacs.org>
16837
16838 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16839 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16840 TODO entries.
8497a297
DV
16841 (lisp-lambda-list-keyword-parameter-indentation)
16842 (lisp-lambda-list-keyword-parameter-alignment)
16843 (lisp-lambda-list-keyword-alignment): New customizable user options.
16844 (lisp-indent-defun-method): Improve docstring.
16845 (extended-loop-p): Fix comment.
16846 (lisp-indent-lambda-list-keywords-regexp): New variable.
16847 (lisp-indent-lambda-list): New function.
16848 (lisp-indent-259): Use it.
16849 (lisp-indent-defmethod): Support for more than one
16850 method qualifier and properly indent methods lambda-lists.
16851 (defgeneric): Provide a missing common-lisp-indent-function property.
16852
f278f87f
SM
168532011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16854
16855 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16856 bounds for the empty string (bug#8667).
16857
5233edd7
GM
168582011-05-13 Glenn Morris <rgm@gnu.org>
16859
5237a44f
GM
16860 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16861
8340026c 16862 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16863 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16864
5233edd7 16865 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16866 (appt-time-msg-list): Doc fix.
a5464014 16867 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16868
92d10796
AS
168692011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16870
16871 * progmodes/ld-script.el (ld-script-keywords)
16872 (ld-script-builtins): Update keywords list.
16873
914a0ae1
SM
168742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16875
c89be45f
SM
16876 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16877
914a0ae1
SM
16878 * shell.el (shell-completion-vars): New function.
16879 (shell-mode):
16880 * simple.el (read-shell-command): Use it.
16881 (blink-matching-open): No need for " [...]" in minibuffer-message.
16882
98dc3df3
GM
168832011-05-12 Glenn Morris <rgm@gnu.org>
16884
16885 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16886 (appt-check): Simplify.
16887
d2fc7e3d 168882011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16889
4d61f28d 16890 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16891 literal "/dev/null".
16892
d2fc7e3d 168932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16894
16895 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16896 Fix typo.
16897
d2fc7e3d 168982011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16899
3f254caa
SM
16900 * progmodes/which-func.el (which-function):
16901 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16902 which might not be defined (Bug#8260).
16903
d45885f7
GM
169042011-05-12 Glenn Morris <rgm@gnu.org>
16905
16906 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16907 Let byte-compile-initial-macro-environment always take precedence.
16908
488086f4
SM
169092011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * net/rcirc.el: Add support for SSL/TLS connections.
16912 (rcirc-server-alist): New field `encryption'.
16913 (rcirc): Check `encryption' settings.
16914 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16915 Merge make-local-variable into `set'.
16916 (rcirc--connection-open-p): New function.
16917 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16918 the process is not a network process (e.g. running gnutls-cli).
16919 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16920 Make rcirc-(en|de)code-coding-system local here.
16921 (rcirc-mode): Merge make-local-variable into `set'.
16922 (rcirc-parent-buffer): Make permanent buffer-local.
16923 (rcirc-multiline-minor-mode): Don't do it here.
16924 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16925 there's no server buffer.
16926
7d3b9d44
GM
169272011-05-11 Glenn Morris <rgm@gnu.org>
16928
f64049c6
GM
16929 * newcomment.el (comment-kill): Prefix "unused" local.
16930
93c9df73
GM
16931 * term/w32console.el (get-screen-color): Declare.
16932
7d3b9d44
GM
16933 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16934 Handle symbol elements of byte-compile-initial-macro-environment.
16935
9e2dd53f
LL
169362011-05-10 Leo Liu <sdl.web@gmail.com>
16937
488086f4
SM
16938 * bookmark.el (bookmark-bmenu-mode-map):
16939 Bind bookmark-bmenu-search to `/'.
8b340240 16940
9e2dd53f 16941 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16942 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16943 (Footnote-unicode): New function.
16944 (footnote-style-alist): Add unicode style to the list.
16945 (footnote-style): Doc fix.
9e2dd53f 16946
79b70037
GM
169472011-05-10 Jim Meyering <meyering@redhat.com>
16948
16949 Fix doubled-word typos.
16950 * international/quail.el (quail-insert-kbd-layout): and and -> and
16951 * kermit.el: and and -> and
16952 * net/ldap.el (ldap-search-internal): to to -> to
16953 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16954 * progmodes/js.el (js-mode): and and -> and
16955 * textmodes/artist.el (artist-move-to-xy): at at -> at
16956 (artist-draw-region-trim-line-endings): if if -> if
16957 And Safetyc -> Safety.
16958 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16959
b8f82dc1 169602011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16961 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16962
16963 * files.el (hack-one-local-variable-eval-safep):
16964 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16965
4f99f44b
GM
169662011-05-10 Glenn Morris <rgm@gnu.org>
16967
16968 * calendar/diary-lib.el (diary-list-entries-hook)
16969 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16970 (diary-nongregorian-marking-hook, diary-list-entries)
16971 (diary-include-other-diary-files, diary-mark-entries)
16972 (diary-mark-included-diary-files): Doc fixes.
16973
84f29e6b
JB
169742011-05-09 Juanma Barranquero <lekktu@gmail.com>
16975
16976 * misc.el: Require tabulated-list.el during compilation.
16977
9bedd73a
CY
169782011-05-09 Chong Yidong <cyd@stupidchicken.com>
16979
488086f4
SM
16980 * progmodes/compile.el (compilation-start):
16981 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16982 (compilation-filter-hook): Doc fix.
16983
797c735c
DD
169842011-05-09 Deniz Dogan <deniz@dogan.se>
16985
16986 * wdired.el: Remove outdated installation comment. Fix usage
16987 comment.
16988
5f4b1dfe
JB
169892011-05-09 Juanma Barranquero <lekktu@gmail.com>
16990
16991 * misc.el: Implement new command `list-dynamic-libraries'.
16992 (list-dynamic-libraries--loaded-only-p): New variable.
16993 (list-dynamic-libraries--refresh): New function.
16994 (list-dynamic-libraries): New command.
16995
4c44026c
CY
169962011-05-09 Chong Yidong <cyd@stupidchicken.com>
16997
488086f4
SM
16998 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16999 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17000 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17001 higher priority to avoid clobbering by gnu.
17002
027f966d
CY
170032011-05-08 Chong Yidong <cyd@stupidchicken.com>
17004
17005 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17006 if the face has existing theme settings (Bug#8454).
17007
085f5d7d
CY
170082011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17009
488086f4
SM
17010 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17011 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17012
2a86a00c
RS
17013 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17014 special file names `.' and `..' (Bug#8259).
17015
d9c54a06
CY
170162011-05-08 Chong Yidong <cyd@stupidchicken.com>
17017
488086f4
SM
17018 * progmodes/grep.el (grep-mode-font-lock-keywords):
17019 Remove buffer-changing entries.
d9c54a06
CY
17020 (grep-filter): New function.
17021 (grep-mode): Add it to compilation-filter-hook.
17022
17023 * progmodes/compile.el (compilation-filter-hook)
17024 (compilation-filter-start): New defvars.
17025 (compilation-filter): Call compilation-filter-hook prior to
17026 updating the process mark.
17027
c4662635
SM
170282011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17029
17030 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17031
b0512a1d
EZ
170322011-05-07 Eli Zaretskii <eliz@gnu.org>
17033
605c9376
EZ
17034 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17035 mailclient-send-it even if window-system is nil. (Bug#8595)
17036
c4662635
SM
17037 * term/w32console.el (terminal-init-w32console):
17038 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17039 background-mode. (Bug#8597)
17040
d1dc2cc2
SM
170412011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17042
17043 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17044 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17045 New functions.
17046 (defgeneric, eieio--defmethod): Use them.
17047 (eieio-defgeneric): Remove.
17048 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17049
915d1300
GM
170502011-05-07 Glenn Morris <rgm@gnu.org>
17051
a3961c3e
GM
17052 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17053 Use let rather than let*.
17054 (timeclock-find-discrep): Remove unused local.
17055
314347b9
GM
17056 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17057
915d1300
GM
17058 * calendar/appt.el (appt-time-msg-list): Doc fix.
17059
275b59b0
NF
170602011-05-06 Noah Friedman <friedman@splode.com>
17061
17062 * apropos.el (apropos-print-doc): Only use
17063 emacs-lisp-docstring-fill-column when it is bound to an integer,
17064 per that variable's documentation.
17065
6c19f744
SM
170662011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17067
17068 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17069 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17070
60f884b2
GM
170712011-05-06 Glenn Morris <rgm@gnu.org>
17072
5006e634
GM
17073 * calendar/appt.el (appt-message-warning-time): Doc fix.
17074 (appt-warning-time-regexp): New option.
17075 (appt-make-list): Respect appt-message-warning-time.
17076
548d0a63
GM
17077 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17078 New options.
17079 (diary-add-to-list): Strip comments from the displayed string.
17080 (diary-mode): Set comment-start and comment-end.
17081
60f884b2
GM
17082 * vc/diff-mode.el (smerge-refine-subst): Declare.
17083 (diff-refine-hunk): Don't require smerge-mode when compiling.
17084
989681bb
JB
170852011-05-06 Juanma Barranquero <lekktu@gmail.com>
17086
17087 * simple.el (list-processes): Return nil as the docstring says.
17088
a6bc05e1
MA
170892011-05-05 Michael Albinus <michael.albinus@gmx.de>
17090
17091 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17092 to "".
17093 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17094 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17095 determining of binary transfer. (Bug#7383)
17096
23c22e9a
MA
170972011-05-05 Michael Albinus <michael.albinus@gmx.de>
17098
c4662635
SM
17099 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17100 Fix port computation bug. (Bug#8618)
23c22e9a 17101
0bff894f
GM
171022011-05-05 Glenn Morris <rgm@gnu.org>
17103
b8296902
GM
17104 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17105
1f522ce8
GM
17106 * simple.el (shell-dynamic-complete-functions)
17107 (comint-dynamic-complete-functions): Declare.
17108
cf5bee67
GM
17109 * net/network-stream.el (gnutls-negotiate):
17110 * simple.el (tabulated-list-print): Fix declarations.
17111
17112 * progmodes/gud.el (syntax-symbol, syntax-point):
17113 Remove unnecessary and incorrect declarations.
17114
0bff894f
GM
17115 * emacs-lisp/check-declare.el (check-declare-scan):
17116 Handle byte-compile-initial-macro-environment in bytecomp.el
17117
9869b3ae
SM
171182011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17119
17120 Fix earlier half-done eieio-defmethod change (bug#8338).
17121 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17122 Streamline and change calling convention.
17123 (defmethod): Adjust accordingly and simplify.
17124 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17125 new eieio--defmethod.
17126 (slot-boundp): Minor CSE simplification.
17127
9c1d5ac5
MZ
171282011-05-05 Milan Zamazal <pdm@zamazal.org>
17129
17130 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17131 (glasses-make-readable): Use glasses-separate-capital-groups.
17132
455c834e
JB
171332011-05-05 Juanma Barranquero <lekktu@gmail.com>
17134
17135 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17136 (warning-series): Doc fix.
17137 (display-warning): Don't try to create the buffer if we just found it.
17138
9ed7c8cb
CY
171392011-05-04 Chong Yidong <cyd@stupidchicken.com>
17140
17141 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17142 (autoload-find-generated-file): New function.
17143 (generate-file-autoloads): Bind generated-autoload-file to
17144 buffer-file-name.
9869b3ae
SM
17145 (update-file-autoloads, update-directory-autoloads):
17146 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17147 output file (Bug#7989).
17148 (batch-update-autoloads): Doc fix.
17149
0898ca10
JB
171502011-05-04 Juanma Barranquero <lekktu@gmail.com>
17151
17152 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17153
31dfb76c
GM
171542011-05-04 Glenn Morris <rgm@gnu.org>
17155
f330b642
GM
17156 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17157 function, so it follows changes in calendar-date-style.
17158 (diary-fancy-date-matcher): New function.
17159 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17160 (diary-fancy-font-lock-fontify-region-function):
17161 Use diary-fancy-date-pattern as a function.
17162
31dfb76c
GM
17163 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17164 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17165
48e79d6a
TZ
171662011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17167
17168 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17169 instead of positional arguments. Allow :keylist and :crlfiles
17170 arguments.
17171 (open-gnutls-stream): Call it.
17172
17173 * net/network-stream.el (network-stream-open-starttls): Adjust to
17174 call `gnutls-negotiate' with :process and :hostname arguments.
17175
dd5a5ee0
SM
171762011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17177
ef80fc09
SM
17178 * minibuffer.el (completion--message): New function.
17179 (completion--do-completion, minibuffer-complete)
17180 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17181 (completion--do-completion): Don't ignore completion-auto-help when in
17182 icomplete-mode.
17183
dd5a5ee0
SM
17184 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17185 internal encoding (e.g. tibetan zero is not whitespace).
17186 (global-whitespace-mode): Prefer save-current-buffer.
17187 (whitespace-trailing-regexp): Remove useless save-match-data.
17188 (whitespace-empty-at-bob-regexp): Minor simplification.
17189
b7d22a83
CY
171902011-05-03 Chong Yidong <cyd@stupidchicken.com>
17191
17192 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17193
5192af46
AM
171942011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17195
17196 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17197 Use `concat' to create string for insertion.
5192af46 17198
5767d190
SM
171992011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17202 Avoid open-line which runs post-self-insert-hook.
17203 (bibtex-fill-entry): Remove unused `end' var.
17204
bf242939
AM
172052011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17206
5767d190
SM
17207 * textmodes/ispell.el (ispell-add-per-file-word-list):
17208 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17209
25666126
LL
172102011-05-03 Leo Liu <sdl.web@gmail.com>
17211
17212 * isearch.el (isearch-yank-pop): New command.
5767d190 17213 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17214 (isearch-forward): Mention it.
17215
52d3c2d0
SM
172162011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17217
1bcace58
SM
17218 * simple.el (minibuffer-complete-shell-command): Remove.
17219 (minibuffer-local-shell-command-map): Use completion-at-point.
17220 (read-shell-command): Setup completion vars here instead.
17221 (read-expression-map): Bind TAB to symbol completion.
17222
52d3c2d0
SM
17223 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17224 error directly rather via storing it into `results'.
17225
35813471
LL
172262011-05-02 Leo Liu <sdl.web@gmail.com>
17227
17228 * vc/diff.el: Fix description.
17229
e793a940
LMI
172302011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17231
17232 * server.el (server-eval-at): New function.
17233
8de66e05
LMI
172342011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17235
17236 * net/network-stream.el (open-network-stream): Take a :nowait
17237 parameter and pass it on to `make-network-process'.
17238 (network-stream-open-plain): Ditto.
17239
dcb79f20
AS
172402011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17241
17242 * faces.el (face-spec-set-match-display): Don't match toolkit
17243 options on terminal frames.
17244
14a7fbd8
SM
172452011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17246
7eabc1be
SM
17247 * progmodes/pascal.el: Use lexical binding.
17248 (pascal-mode-map): Remove author preferences.
17249
14a7fbd8
SM
17250 * pcomplete.el (pcomplete-std-complete): Don't abuse
17251 completion-at-point.
17252
50f84510
JB
172532011-04-28 Juanma Barranquero <lekktu@gmail.com>
17254
6e087a44
JB
17255 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17256 removing code that has been dead since 1991 or so.
17257
50f84510
JB
17258 * startup.el (command-line): When warning about "_emacs", use a
17259 delayed warning to allow the user to filter it out.
17260
0ba690bd
DD
172612011-04-28 Deniz Dogan <deniz@dogan.se>
17262
17263 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17264 user has not joined.
17265
08abfaad
SM
172662011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17267
17268 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17269 aren't any completions at point.
17270
638f053a
JB
172712011-04-28 Juanma Barranquero <lekktu@gmail.com>
17272
17273 * subr.el (display-delayed-warnings): New function.
17274 (delayed-warnings-hook): New variable.
17275
8fff8daa
SM
172762011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17277
08abfaad
SM
17278 * minibuffer.el (completion-at-point, completion-help-at-point):
17279 Don't presume that a given completion-at-point-function will always
17280 use the same calling convention.
17281
8fff8daa
SM
17282 * pcomplete.el (pcomplete-completions-at-point):
17283 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17284 pcomplete-seen is non-nil.
17285 (pcomplete-comint-setup): Also recognize the new comint/shell
17286 completion functions.
17287 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17288 pcomplete-seen is non-nil.
17289
841a1577 172902011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17291
841a1577 17292 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17293 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17294 the first character in the entry. This allows for code to add its
211ec907
UJ
17295 own uid to the entry.
17296 (icalendar--convert-float-to-ical): Add export of
17297 `diary-float'-entries save for those with the optional DAY
17298 argument.
17299
2a782793
DC
173002011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17301
17302 * subr.el (shell-quote-argument): Use alternate escaping strategy
17303 when we spot a variable reference in a string.
17304
0438ce91
DC
173052011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17306
17307 * cus-start.el (all): Define customization for debug-on-event.
17308
841a1577 173092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17310
17311 * subr.el (shell-quote-argument): Escape correctly under Windows.
17312
d090ed6c
SM
173132011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17314
17315 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17316
bfd31217
MA
173172011-04-25 Michael Albinus <michael.albinus@gmx.de>
17318
d090ed6c
SM
17319 * net/tramp.el (tramp-process-actions): Add POS argument.
17320 Delete region between POS and (pos).
bfd31217 17321
d090ed6c
SM
17322 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17323 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17324 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17325
17326 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17327 position in `tramp-process-actions' call.
17328
17329 * net/trampver.el: Update release number.
17330
e92f3bd3
SM
173312011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17332
850256b5
SM
17333 * custom.el (defcustom): Obey lexical-binding.
17334
e92f3bd3
SM
17335 Fix octave-inf completion problems reported by Alexander Klimov.
17336 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17337 Inherit from octave-mode-syntax-table.
17338 (inferior-octave-mode): Set info-lookup-mode.
17339 (inferior-octave-completion-at-point): New function.
17340 (inferior-octave-complete): Use it and completion-in-region.
17341 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17342 comint-filename-completion.
17343 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17344 symbol elements which shouldn't be word elements.
17345 (octave-font-lock-keywords, octave-beginning-of-defun)
17346 (octave-function-header-regexp): Adjust regexps accordingly.
17347 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17348
cd22b309
JB
173492011-04-25 Juanma Barranquero <lekktu@gmail.com>
17350
17351 * net/gnutls.el (gnutls-errorp): Declare before first use.
17352
8b492194
TZ
173532011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17354
17355 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17356 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17357 default trustfile exists before going to use it. Add missing
5a5fa834 17358 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17359 Reported by Claudio Bley <claudio.bley@gmail.com>.
17360 (open-gnutls-stream): Add usage example.
17361
17362 * net/network-stream.el (network-stream-open-starttls): Give host
17363 parameter to `gnutls-negotiate'.
17364 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17365 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17366
841a1577 173672011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17368
cd22b309
JB
17369 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17370 Use correct match group (bug#8438).
05842630 17371
3ba7869c
CY
173722011-04-24 Chong Yidong <cyd@stupidchicken.com>
17373
512e3ae1
CY
17374 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17375 (package-menu--generate): New arg specifying packages to show.
17376 (package-menu-refresh, package-menu-execute, list-packages):
17377 Callers changed.
17378 (package-show-package-list): New function, replacing deleted
17379 package--list-packages (renamed because it is non-internal).
17380
17381 * finder.el (finder-list-matches): Use package-show-package-list
17382 instead of deleted package--list-packages.
17383
e92f3bd3
SM
17384 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17385 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17386 (vc-annotate-mode-map): Bind it to RET.
17387
7031be6d
UR
173882011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17389
17390 * progmodes/etags.el (next-file): Don't use set-buffer to change
17391 buffers (Bug#8478).
17392
4ef177aa
CY
173932011-04-24 Chong Yidong <cyd@stupidchicken.com>
17394
c8d173eb
CY
17395 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17396
4ef177aa
CY
17397 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17398 (apropos-accumulator): Doc fix.
17399 (apropos-function, apropos-macro, apropos-command)
17400 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17401 (apropos-plist): Add face property.
17402 (apropos-symbols-internal): Fix indentation.
17403 (apropos-print): Simplify help, and recognize apropos-multi-type.
17404 (apropos-print-doc): Use button-type-get to extract the button's
17405 face property. Fill docstring (Bug#8352).
17406
4ffd0d6b 174072011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17408
17409 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17410
c6c32125 17411 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17412 (mpuz-mode-map): Use mapc.
c6c32125
JB
17413 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17414 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17415 Fix typos in docstrings.
17416
58d468b4
JB
17417 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17418 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17419
6470c3c6
JB
17420 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17421
4ffd0d6b 174222011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17423
17424 * minibuffer.el (completion--do-completion): Avoid the "Next char
17425 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17426
3ad8bad0
CY
17427 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17428 mouse-2 into unread-command-events, it is interpreted correctly.
17429
71d73c9c 17430 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17431 (image-toggle-display): Doc fix.
71d73c9c 17432
841a1577 174332011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17434
4ffd0d6b
GM
17435 * textmodes/page.el (what-page): Use line-number-at-pos to
17436 calculate line number (Bug#6825).
6e1dbaa9 17437
c2fb1b60
JB
174382011-04-22 Juanma Barranquero <lekktu@gmail.com>
17439
17440 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17441 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17442 Pass argument NO-DEFAULT to `find-tag-interactive'.
17443
e02f48d7
JB
174442011-04-22 Juanma Barranquero <lekktu@gmail.com>
17445
17446 Lexical-binding cleanup.
17447
17448 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17449 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17450 * progmodes/ada-prj.el (ada-prj-initialize-values)
17451 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17452 (ada-prj-show-value):
17453 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17454 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17455 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17456 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17457 * progmodes/bug-reference.el (bug-reference-push-button):
17458 * progmodes/fortran.el (fortran-line-length):
17459 * progmodes/glasses.el (glasses-change):
17460 * progmodes/octave-mod.el (octave-fill-paragraph):
17461 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17462 (python-pdbtrack-grub-for-buffer, python-sentinel):
17463 * progmodes/sql.el (sql-save-connection):
17464 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17465 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17466 Mark unused parameters.
17467
17468 * progmodes/compile.el (compilation--flush-directory-cache)
17469 (compilation--flush-parse, compile-internal): Mark unused parameters.
17470 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17471 (compilation-next-error-function): Remove unused variable `timestamp'.
17472
17473 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17474 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17475
17476 * progmodes/dcl-mode.el (dcl-end-of-command):
17477 Remove unused variable `start'.
17478 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17479 (dcl-option-value-basic, dcl-option-value-offset)
17480 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17481 Mark unused parameters.
17482 (dcl-save-local-variable): Remove unused variable `val'.
17483 (mode): Declare.
17484
17485 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17486 Mark unused parameters.
17487 (delphi-ignore-changes): Move before first use.
17488 (delphi-charset-token-at): Remove unused variable `start'.
17489 (delphi-else-start): Remove unused variable `if-count'.
17490 (delphi-comment-block-start, delphi-comment-block-end):
17491 Remove unused variable `kind'.
17492 (delphi-indent-line): Remove unused variable `new-point'.
17493
17494 * progmodes/ebrowse.el (ebrowse-files-list)
17495 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17496 Mark unused parameters. Don't quote `lambda'.
17497 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17498 Don't quote `lambda'.
17499 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17500 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17501 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17502 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17503 Use `ignore-errors'.
17504 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17505 (ebrowse-view/find-file-and-search-pattern)
17506 (ebrowse-view/find-member-declaration/definition):
17507 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17508 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17509 Rename parameter PREFIX-ARG to PREFIX.
17510 (ebrowse-tags-read-name): Remove unused variables `start' and
17511 `member-info'.
17512 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17513 to `tags-file'.
17514
17515 * progmodes/etags.el (local-find-tag-hook): Declare.
17516 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17517 Mark unused parameters.
17518
17519 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17520 (executable-interpret): Mark unused parameter.
17521
17522 * progmodes/flymake.el (flymake-process-sentinel)
17523 (flymake-after-change-function)
17524 (flymake-create-temp-with-folder-structure)
17525 (flymake-get-include-dirs-dot): Mark unused parameters.
17526 (flymake-safe-delete-directory): Remove unused variable `err'.
17527
17528 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17529 (speedbar-timer-fn, speedbar-line-text)
17530 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17531 (speedbar-center-buffer-smartly): Declare functions.
17532 (gdb-find-watch-expression): Remove unused variable `array'.
17533 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17534 (gdb-starting): Mark unused parameters.
17535 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17536 (gdb-table-string): Remove unused variable `res'.
17537 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17538 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17539 (gdb-display-buffer): Remove unused variable `cur-size'.
17540
17541 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17542 allow lexical-binding compilation.
17543 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17544 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17545 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17546 Mark unused parameters.
17547 (gud-gdb-marker-filter): Remove unused variable `match'.
17548 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17549 lambda expressions and funcall them, instead of using `fset'.
17550
17551 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17552 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17553
17554 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17555 variable `header-beg'; use `let'.
17556
17557 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17558 `restart', `last-sexp' and `at-do'.
17559
17560 * progmodes/js.el (js--debug): Mark unused parameter.
17561 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17562 (js--splice-into-items): Remove unused variable `item'.
17563 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17564
17565 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17566 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17567 (makefile-complete): Remove unused variable `try'.
17568 (makefile-fill-paragraph, makefile-match-function-end):
17569 Mark unused parameters.
17570
17571 * progmodes/octave-inf.el (inferior-octave-complete):
17572 Remove unused variable `proc'.
17573 (inferior-octave-output-digest): Mark unused parameter.
17574
17575 * progmodes/perl-mode.el (perl-calculate-indent):
17576 Remove unused variable `err'.
17577
17578 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17579 (prolog-indent-line): Mark unused parameters.
17580 (prolog-indent-line): Remove unused variable `beg'.
17581
17582 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17583 (reporter-dont-compact-list): Declare.
17584
17585 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17586 Remove unused variable `char'.
17587 (sh-debug): Mark unused parameter.
17588 (sh-get-indent-info): Remove unused variable `start'.
17589 (sh-calculate-indent): Remove unused variable `var'.
17590
17591 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17592 (simula-electric-keyword): Remove unused variable `null'.
17593 (simula-search-backward, simula-search-forward): Remove unused
17594 variables `begin' and `end'.
17595
17596 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17597 Remove unused variable `pos'.
17598 (vera-electric-tab, vera-comment-uncomment-region):
17599 Mark unused parameters.
17600 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17601
7ede3b65
CY
176022011-04-22 Chong Yidong <cyd@stupidchicken.com>
17603
17604 * emacs-lisp/package.el (package--builtins, package-alist)
17605 (package-load-descriptor, package-built-in-p, package-activate)
17606 (define-package, package-installed-p)
17607 (package-compute-transaction, package-buffer-info)
17608 (package--push): Doc fix. Distinguish more clearly between
17609 version strings and version lists.
17610
121656e9
JB
176112011-04-21 Juanma Barranquero <lekktu@gmail.com>
17612
17613 Lexical-binding cleanup.
17614
17615 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17616 (5x5-make-mutate-best):
17617 * play/fortune.el (fortune-in-buffer):
17618 * play/gomoku.el (gomoku-init-display):
17619 * play/solitaire.el (solitaire, solitaire-do-check):
17620 * play/tetris.el (tetris-default-update-speed-function):
17621 Mark unused parameters.
17622
17623 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17624 (bubbles--shift): Remove unused variable `char-org'.
17625 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17626 (bubbles--show-images): Remove unused variable `char'.
17627
17628 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17629 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17630 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17631 (decipher-analyze-buffer): Use ?\s.
17632 (decipher-make-checkpoint): Remove unused variable `mapping'.
17633
17634 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17635
17636 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17637 Remove unused variable `result'; use `let'.
17638
17639 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17640 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17641 (gametree-children-shown-p, gametree-compute-reduced-score):
17642 Use `ignore-errors'.
17643
17644 * play/handwrite.el (ps-lpr-switches): Declare.
17645 (handwrite): Remove unused variables `pmin' and `lastp'.
17646
17647 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17648
17649 * play/landmark.el (landmark-init-display)
17650 (landmark-update-naught-weights): Mark unused parameters.
17651 (landmark-y): Remove unused variable `noise'. Simplify.
17652 (landmark-human-plays): Remove unused variable `score'.
17653
17654 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17655 (mpuz-try-proposal): Remove unused variable `game'.
17656
17657 * play/zone.el (life-patterns): Declare.
17658
80f499c7
JB
176592011-04-20 Juanma Barranquero <lekktu@gmail.com>
17660
17661 * vc/vc.el (ediff-vc-internal): Declare function.
17662
024ff170
SM
176632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17664
c0a193ea
SM
17665 * shell.el: Use lexical-binding and std completion UI.
17666 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17667 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17668 comint-preoutput-filter-functions rather than on
17669 comint-output-filter-functions.
17670 (shell-command-completion, shell--command-completion-data)
17671 (shell-filename-completion, shell-environment-variable-completion)
17672 (shell-c-a-p-replace-by-expanded-directory): New functions.
17673 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17674 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17675 (shell-dynamic-complete-environment-variable): Use them.
17676 (shell-dynamic-complete-as-environment-variable)
17677 (shell-dynamic-complete-as-command): Remove.
17678 (shell-match-partial-variable): Match past point.
17679 * comint.el: Clean up use of completion-at-point-functions.
17680 (comint-completion-at-point): New function.
17681 (comint-mode): Use it completion-at-point-functions.
17682 (comint-dynamic-complete): Make it obsolete.
17683 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17684 (comint-c-a-p-replace-by-expanded-history): New function.
17685 (comint-dynamic-complete-functions)
17686 (comint-replace-by-expanded-history): Use it.
17687 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17688 termination strings. Try harder to avoid second try-completion.
17689 (completion-in-region-mode-map): Disable bindings that don't work yet.
17690
2dbaa080
SM
17691 * comint.el: Use lexical-binding. Require CL.
17692 (comint-dynamic-complete-functions): Use comint-filename-completion.
17693 (comint-completion-addsuffix): Tweak custom type.
17694 (comint-filename-completion, comint--common-suffix)
17695 (comint--common-quoted-suffix, comint--table-subvert)
17696 (comint--complete-file-name-data): New functions.
17697 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17698 (comint-dynamic-list-filename-completions): Use them.
17699 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17700
2dbaa080
SM
17701 * minibuffer.el (completion-in-region-mode):
17702 Keep completion-in-region-mode--predicate global.
17703 (completion-in-region--postch):
17704 Assume completion-in-region-mode--predicate is not null.
17705
c79a6f38
SM
17706 * progmodes/flymake.el (flymake-start-syntax-check-process):
17707 Obey `dir'. Simplify.
17708
024ff170
SM
17709 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17710 we're in VC after all.
17711
1c6c854e
CS
177122011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17713
17714 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17715 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17716 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17717
bed7f140
SM
177182011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17719
332e62ab
SM
17720 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17721 add sanity check.
17722
bed7f140
SM
17723 * obsolete/erc-hecomplete.el: Make obsolete.
17724 * obsolete/: Standardize obsolescence info in the header.
17725
f195c582
GM
177262011-04-20 Glenn Morris <rgm@gnu.org>
17727
17728 * calendar/solar.el (solar-horizontal-coordinates):
17729 Use the longitude argument rather than `calendar-longitude'.
17730 (solar-date-next-longitude): Remove unused locals.
17731
cb79b8c0
VJL
177322011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17733
17734 * whitespace.el: New version 13.2.1.
17735
177362011-04-20 felix <EmacsWiki> (tiny change)
17737
d8e4b68b 17738 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17739 switching between major modes on a file.
17740
602ea69d
SM
177412011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17742
17743 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17744 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17745 multi-line comments as well.
17746
06b60517
JB
177472011-04-19 Juanma Barranquero <lekktu@gmail.com>
17748
17749 Lexical-binding cleanup.
17750
17751 * arc-mode.el (archive-mode-revert):
17752 * cmuscheme.el (scheme-interactively-start-process):
17753 * custom.el (custom-initialize-delay):
17754 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17755 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17756 * emacs-lock.el (emacs-lock-clear-sentinel):
17757 * ezimage.el (defezimage):
17758 * follow.el (follow-avoid-tail-recenter):
17759 * fringe.el (set-fringe-mode-1):
17760 * generic-x.el (bat-generic-mode-compile):
17761 * help-mode.el (help-info-variable, help-do-xref)
17762 (help-mode-revert-buffer):
17763 * help.el (view-emacs-todo):
17764 * iswitchb.el (iswitchb-completion-help):
17765 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17766 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17767 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17768 * locate.el (locate-update):
17769 * longlines.el (longlines-encode-region)
17770 (longlines-after-change-function):
17771 * outline.el (outline-isearch-open-invisible):
17772 * ps-def.el (declare-function, charset-dimension, char-width)
17773 (encode-char):
17774 * ps-mule.el (ps-mule-plot-string):
17775 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17776 (recentf-edit-list-select, recentf-edit-list-validate)
17777 (recentf-open-files-action):
17778 * rect.el (delete-whitespace-rectangle-line)
17779 (rectangle-number-line-callback):
17780 * register.el (window-configuration-to-register)
17781 (frame-configuration-to-register):
17782 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17783 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17784 (xselect-convert-to-targets, xselect-convert-to-delete)
17785 (xselect-convert-to-filename, xselect-convert-to-charpos)
17786 (xselect-convert-to-lineno, xselect-convert-to-colno)
17787 (xselect-convert-to-os, xselect-convert-to-host)
17788 (xselect-convert-to-user, xselect-convert-to-class)
17789 (xselect-convert-to-name, xselect-convert-to-integer)
17790 (xselect-convert-to-atom, xselect-convert-to-identity):
17791 * subr.el (declare, ignore, process-kill-without-query)
17792 (text-clone-maintain):
17793 * terminal.el (te-get-char, te-tic-sentinel):
17794 * tool-bar.el (tool-bar-make-keymap):
17795 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17796 * type-break.el (type-break-mode, type-break-noninteractive-query):
17797 * view.el (View-back-to-mark):
17798 * wid-browse.el (widget-browse-action, widget-browse-widget)
17799 (widget-browse-widgets, widget-browse-sexp):
17800 * widget.el (define-widget-keywords):
17801 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17802 Mark unused parameters.
17803
17804 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17805 (align-areas): Remove unused variable `look'.
17806 (align-region): Remove unused variables `real-end' and `pos-list'.
17807
17808 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17809
17810 * bindings.el (mode-line-modified, mode-line-remote):
17811 Mark unused parameters.
17812 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17813
17814 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17815 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17816
17817 * comint.el (comint-history-isearch-pop-state)
17818 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17819 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17820 (comint-substitute-in-file-name): Doc fix.
17821
17822 * completion.el (cmpl-statistics-block): Mark unused parameter.
17823 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17824 (save-completions-to-file, load-completions-from-file):
17825 Remove unused local variable `e'.
17826
17827 * composite.el (compose-chars): Remove unused variable `len'.
17828 (lgstring-insert-glyph): Remove unused variable `g'.
17829 (compose-glyph-string): Remove unused variables `ascent',
17830 `descent', `lbearing' and `rbearing'.
17831 (compose-glyph-string-relative): Remove unused variables
17832 `lbearing', `rbearing' and `wadjust'.
17833 (compose-gstring-for-graphic): Remove unused variables `header',
17834 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17835 (compose-gstring-for-terminal): Remove unused variables `header'
17836 and `nchars'. Use `let', not `let*'.
17837
17838 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17839 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17840 (Custom-buffer-done, custom-buffer-create-internal)
17841 (custom-browse-visibility-action, custom-browse-group-tag-action)
17842 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17843 (widget-magic-mouse-down-action, custom-toggle-parent)
17844 (custom-add-parent-links, custom-toggle-hide-variable)
17845 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17846 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17847 (custom-face-menu-create, custom-variable-menu-create, get)
17848 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17849 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17850 (customize-apropos): Remove unused variable `tests'.
17851 (custom-group-value-create): Remove unused variable `hidden-p'.
17852 (sort-fold-case): Declare.
17853
17854 * cus-theme.el (custom-reset-standard-faces-list)
17855 (custom-reset-standard-variables-list): Declare.
17856 (customize-create-theme, custom-theme-revert, custom-theme-write)
17857 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17858 Mark unused parameters.
17859
17860 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17861
17862 * delim-col.el (delimit-columns-max): Move defvar before first use.
17863
17864 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17865 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17866
17867 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17868 (auto-insert): Declare.
17869 (desktop-restore-file-buffer): Rename desktop-* parameters;
17870 mark unused ones.
17871 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17872 (desktop-buffer): Rename desktop-* parameters.
17873
17874 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17875 (dframe-reposition-frame-xemacs, dframe-help-echo)
17876 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17877 Mark unused parameters.
17878
17879 * dired-aux.el (backup-extract-version-start, overwrite-query)
17880 (overwrite-backup-query, rename-regexp-query)
17881 (rename-non-directory-query): Declare.
17882 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17883 (dired-add-entry): Remove unused variable `orig-file-name'.
17884 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17885 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17886 `dired-copy-preserve-time' directly.
17887 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17888 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17889
17890 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17891 (dired-virtual-revert, dired-make-relative-symlink):
17892 Mark unused parameters.
17893 (manual-program): Declare.
17894 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17895 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17896 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17897
17898 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17899
17900 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17901
17902 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17903 Declare.
17904
17905 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17906
17907 * electric.el (Electric-command-loop): Rename parameter
17908 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17909
17910 * expand.el (expand-in-literal): Remove unused variable `here'.
17911
17912 * facemenu.el (facemenu-add-new-color):
17913 Remove unused variable `docstring'.
17914
17915 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17916 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17917 (face-attr-construct): Mark unused parameter. Doc fix.
17918 (read-color): Remove unused variable `hex-string'.
17919
17920 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17921 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17922 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17923 (display-buffer-other-frame): Remove unused variable `old-window'.
17924 (kill-buffer-hook): Declare.
17925 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17926 Mark unused parameters.
17927 (after-find-file): Pass 1 to `auto-save-mode', not t.
17928
17929 * files-x.el (auto-insert): Declare.
17930 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17931
17932 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17933 variable `buf'. Mark unused parameter.
06b60517
JB
17934 (find-lisp-insert-directory): Mark unused parameter.
17935
17936 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17937 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17938 (format-common-tail): Remove, unused.
17939 (format-deannotate-region): Remove unused variable `loc'.
17940 (format-annotate-region): Remove unused variable `p'.
17941 (format-annotate-single-property-change): Remove unused variables
17942 `default' and `tail'.
17943
17944 * forms.el (read-file-filter): Declare.
17945 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17946
17947 * frame.el (frame-creation-function-alist): Mark unused parameter.
17948 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17949
17950 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17951 Remove unused parameters.
17952 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17953 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17954
17955 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17956 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17957 (hfy-prepare-tag-map): Mark unused parameters.
17958 (htmlfontify-buffer): Use `called-interactively-p'.
17959
17960 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17961 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17962 (ibuffer-do-occur): Mark unused parameters.
17963 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17964 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17965
17966 * ibuffer.el: Don't quote `lambda'.
17967 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17968 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17969 Mark unused parameters.
17970
17971 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17972 (ido-completing-read): Mark unused parameters.
17973 (ido-copy-current-word): Mark unused parameters;
17974 remove unused variable `name'.
17975 (ido-sort-merged-list): Remove unused parameter `dirs'.
17976
17977 * ielm.el (ielm-input-sender): Mark unused parameter.
17978 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17979 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17980 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17981 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17982 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17983
17984 * image-dired.el (image-dired-display-thumbs): Remove unused
17985 variables `curr-file' and `count'.
17986 (image-dired-remove-tag): Remove unused variable `start'.
17987 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17988 variable `curr-file'
17989 (image-dired-rotate-original): Remove unused variable `temp-file'.
17990 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17991 Remove unused variable `file'.
17992 (image-dired-gallery-generate): Remove unused variable `curr'.
17993 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17994
17995 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17996
17997 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17998
17999 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18000
18001 * isearch.el (minibuffer-history-symbol): Declare.
18002 (isearch-edit-string): Remove unused variable `err'.
18003 (isearch-message-prefix, isearch-message-suffix):
18004 Mark unused parameters.
18005
18006 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18007
18008 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18009
18010 * makesum.el (double-column): Remove unused variable `cnt'.
18011
18012 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18013 (ido-ignore-item-temp-list): Declare.
18014
18015 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18016 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18017 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18018 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18019 `mouse-col-delta'.
18020
18021 * mouse-sel.el (mouse-extend-internal):
18022 Remove unused variable `orig-window-frame'.
18023
18024 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18025 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18026 Move declarations before first use.
18027 (pcomplete-opt): Mark unused parameters; doc fix.
18028
18029 * proced.el (proced-revert): Mark unused parameter.
18030 (proced-send-signal): Remove unused variable `err'.
18031
18032 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18033 Rename parameter PREFIX-ARG to ARG.
18034 (ps-basic-plot-string, ps-basic-plot-whitespace):
18035 Mark unused parameters.
18036
18037 * replace.el (replace-count): Define.
18038 (occur-revert-function): Mark unused parameters.
18039 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18040 (isearch-case-fold-search, isearch-string): Declare.
18041 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18042 bind `case-fold-search'. Remove unused variables `beg' and `end',
18043 and simplify.
18044 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18045 COUNT and bind `replace-count'.
18046 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18047 to COUNT.
18048
18049 * savehist.el (print-readably, print-string-length): Declare.
18050
18051 * shadowfile.el (shadow-expand-cluster-in-file-name):
18052 Remove unused variable `cluster'.
18053 (shadow-copy-file): Remove unused variable `i'.
18054 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18055 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18056 (shadow-define-literal-group, shadow-define-regexp-group)
18057 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18058
18059 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18060 (shell): Use `called-interactively-p'.
18061 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18062
18063 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18064 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18065 (delete-backward-char): Remove unused variable `ocol'.
18066 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18067 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18068 (event-apply-hyper-modifier, event-apply-shift-modifier)
18069 (event-apply-control-modifier, event-apply-meta-modifier):
18070 Mark unused parameters.
18071 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18072 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18073
18074 * speedbar.el (speedbar-ignored-directory-expressions)
18075 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18076 (speedbar-find-file, speedbar-dir-follow)
18077 (speedbar-directory-buttons-follow, speedbar-tag-find)
18078 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18079 (speedbar-buffers-line-directory, speedbar-buffer-click):
18080 Mark unused parameters.
18081 (speedbar-tag-file): Remove unused variable `mode'.
18082 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18083
18084 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18085
18086 * talk.el (talk): Remove unused variable `display'.
18087
18088 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18089 (tar-write-region-annotate): Mark unused parameter.
18090
18091 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18092 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18093 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18094 warning by another.
18095
18096 * time-stamp.el (time-stamp-string-preprocess):
18097 Remove unused variable `require-padding'.
18098
18099 * tree-widget.el (widget-glyph-enable): Declare.
18100 (tree-widget-action): Mark unused parameter.
18101
18102 * w32-fns.el (x-get-selection): Mark unused parameter.
18103 (autoload-make-program, generated-autoload-file): Declare.
18104
18105 * wdired.el (wdired-revert): Mark unused parameters.
18106 (wdired-xcase-word): Remove unused variable `err'.
18107
18108 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18109 (whitespace-help-scroll): Remove unused variable `data-help'.
18110
18111 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18112 (widget-image-insert, widget-after-change, default)
18113 (widget-default-format-handler, widget-default-notify)
18114 (widget-default-prompt-value, widget-info-link-action)
18115 (widget-url-link-action, widget-function-link-action)
18116 (widget-variable-link-action, widget-file-link-action)
18117 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18118 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18119 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18120 (widget-insert-button-action, widget-delete-button-action, visibility)
18121 (widget-documentation-link-action, widget-documentation-string-action)
18122 (widget-const-prompt-value, widget-regexp-match, symbol)
18123 (widget-coding-system-prompt-value)
18124 (widget-key-sequence-value-to-external, sexp)
18125 (widget-sexp-value-to-internal, character, vector, cons)
18126 (widget-choice-prompt-value, widget-boolean-prompt-value)
18127 (widget-color--choose-action): Mark unused parameters.
18128 (widget-item-match-inline, widget-choice-match-inline)
18129 (widget-checklist-match, widget-checklist-match-inline)
18130 (widget-group-match): Rename parameter VALUES to VALS.
18131 (widget-field-value-set): Remove unused variable `size'.
18132 (widget-color-action): Remove unused variables `value' and `start'.
18133
18134 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18135 variable `dir'. Doc fix.
06b60517
JB
18136 (windmove-find-other-window): Don't pass it.
18137
18138 * window.el (count-windows): Mark unused parameter.
18139 (bw-adjust-window): Remove unused variable `err'.
18140
18141 * woman.el (woman-file-name): Remove unused variable `default'.
18142 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18143 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18144 (global-font-lock-mode): Declare.
18145 (woman-decode-region): Mark unused parameter.
18146 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18147
18148 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18149 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18150 (x-dnd-handle-moz-url): Remove unused variable `title'.
18151 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18152
18153 * xml.el (xml-parse-tag, xml-parse-attlist):
18154 Remove unused variable `pos'.
18155
bc4f7f3d
GM
181562011-04-19 Glenn Morris <rgm@gnu.org>
18157
18158 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18159 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18160 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18161 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18162 * calendar/cal-html.el (cal-html-insert-minical):
18163 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18164 (calendar-mark-date-pattern):
18165 Prefix "unused" locals.
18166
18167 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18168 optional argument `style'.
18169
18170 * calendar/appt.el (appt-make-list):
18171 * calendar/cal-china.el (calendar-chinese-date-string):
18172 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18173 (diary-hebrew-yahrzeit):
18174 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18175 * calendar/calendar.el (calendar-generate-window):
18176 * calendar/time-date.el (time-to-days):
18177 Remove unused local variables.
18178
16a43933
CY
181792011-04-18 Chong Yidong <cyd@stupidchicken.com>
18180
18181 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18182 glyphless-char-display table.
18183 (tabulated-list-glyphless-char-display): New var.
18184
7eed1860
SS
181852011-04-18 Sam Steingold <sds@gnu.org>
18186
18187 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18188 to acknowledgments.
18189
4d2d1ccd
GM
181902011-04-17 Glenn Morris <rgm@gnu.org>
18191
18192 * calendar/diary-lib.el (diary-sexp-entry):
18193 * calendar/holidays.el (holiday-sexp):
18194 Set debug-on-error rather than the removed stack-trace-on-error.
18195
239da61d
GM
181962011-04-16 Glenn Morris <rgm@gnu.org>
18197
18198 * progmodes/f90.el: Use lexical-binding.
18199 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18200
8b05752a
SM
182012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18202
daca8ba5
SM
18203 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18204 (mail-mode): Setup mailalias completion here instead.
18205 * mail/mailalias.el: Use lexical-binding.
18206 (pattern, mailalias-done): Declare dynamic.
18207 (mail-completion-at-point-function): New function, from mail-complete.
18208 (mail-complete): Use it.
18209 (mail-completion-expand): New function.
18210 (mail-get-names): Use it.
18211 (mail-directory, mail-directory-process, mail-directory-stream):
18212 Don't use `pattern' for lexically bound arg.
18213
6f542485
SM
18214 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18215
037e7c3f
SM
18216 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18217 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18218 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18219
8b05752a
SM
18220 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18221 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18222 (byte-interactive-p): Define them again, for use when inlining
18223 old code.
18224
49093f60
JB
182252011-04-15 Juanma Barranquero <lekktu@gmail.com>
18226
18227 * loadup.el: Use `string-to-number', not `string-to-int'.
18228
b5b8e7de
SM
182292011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18230
18231 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18232 gud-gdb-complete-command.
18233 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18234 (gud-gdb-completion-at-point): New function.
18235 (gud-gdb-completions): Remove.
18236
f42efeb5
MA
182372011-04-14 Michael Albinus <michael.albinus@gmx.de>
18238
49093f60
JB
18239 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18240 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18241 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18242 whether `executable-find' is bound.
f42efeb5
MA
18243
18244 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18245
e240cc21
SM
182462011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18247
18248 * minibuffer.el (completion-in-region-mode-predicate)
18249 (completion-in-region-mode--predicate): New vars.
18250 (completion-in-region, completion-in-region--postch)
18251 (completion-in-region-mode): Use them.
18252 (completion--capf-wrapper): Also return the hook function.
18253 (completion-at-point, completion-help-at-point):
18254 Adjust and provide a predicate.
c2bd2ab0
SM
18255
18256 Preserve arg names for advice of subr and lexical functions (bug#8457).
18257 * help-fns.el (help-function-arglist): Consolidate the subr and
18258 new-byte-code cases. Add argument `preserve-names' to extract names
18259 from the docstring when needed.
18260 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18261 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18262 (ad-arglist): Use help-function-arglist's new arg.
18263 (ad-definition-type): Use cond.
18264
c183f693
JB
182652011-04-13 Juanma Barranquero <lekktu@gmail.com>
18266
06641a47
JB
18267 * autorevert.el (auto-revert-handler):
18268 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18269 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18270 Don't quote lambda.
18271
c183f693
JB
18272 * image-mode.el (image-transform-set-scale):
18273 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18274
1e3b6001
G
182752011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18276
18277 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18278 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18279 Upgrades via gnutls-cli are too slow to be done opportunistically.
18280
2d6af8dd
JB
182812011-04-12 Juanma Barranquero <lekktu@gmail.com>
18282
18283 * dframe.el (dframe-current-frame): Remove spurious quote.
18284
c0749a51
GM
182852011-04-12 Glenn Morris <rgm@gnu.org>
18286
088d0d61
GM
18287 * calendar/cal-tex.el (cal-tex-end-document):
18288 Try to automatically use latin1 input if needed.
18289
c0749a51
GM
18290 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18291 Don't try to cons a mark onto an empty element.
18292
5c90fde0
LL
182932011-04-11 Leo Liu <sdl.web@gmail.com>
18294
18295 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18296 buffers.
18297 (ido-kill-buffer-at-head): Support killing virtual buffers.
18298
369e974d
CY
182992011-04-10 Chong Yidong <cyd@stupidchicken.com>
18300
18301 * minibuffer.el (completion-show-inline-help): New var.
18302 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18303 (minibuffer-force-complete, minibuffer-complete-word):
18304 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18305
18306 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18307 to avoid interference from inline help (Bug#5849).
18308
37f1c930
LL
183092011-04-10 Leo Liu <sdl.web@gmail.com>
18310
099c39a4
JB
18311 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18312 Fix typo.
37f1c930 18313
a32d4040
CY
183142011-04-09 Chong Yidong <cyd@stupidchicken.com>
18315
18316 * image-mode.el (image-toggle-display-image): Signal an error if
18317 not in Image mode.
18318 (image-transform-mode, image-transform-resize)
18319 (image-transform-set-rotation): Doc fix.
daca8ba5 18320 (image-transform-set-resize): Delete.
a32d4040
CY
18321 (image-transform-set-scale, image-transform-fit-to-height)
18322 (image-transform-fit-to-width): Handle image-toggle-display-image
18323 and image-transform-resize directly.
18324
099c39a4 183252011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18326
18327 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18328 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18329 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18330 (doc-view-mode-map): Add bindings for the new functions.
18331
099c39a4 183322011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18333
4d61f28d 18334 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18335 Fix typo in docstring.
18336
3726838a
EZ
183372011-04-08 Eli Zaretskii <eliz@gnu.org>
18338
04f33f1e
EZ
18339 * files.el (file-size-human-readable): Produce one digit after
18340 decimal, like "ls -lh" does.
18341
18342 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18343 the file size representation.
18344
3726838a
EZ
18345 * simple.el (list-processes): If async subprocesses are not
18346 available, error out with a clear error message.
18347
cbb59342
CY
183482011-04-08 Chong Yidong <cyd@stupidchicken.com>
18349
18350 * help.el (help-form-show): New function, to be called from C.
18351 Put help-form output in a buffer named differently than *Help*.
18352
e3971c44
EZ
183532011-04-08 Eli Zaretskii <eliz@gnu.org>
18354
18355 * files.el (file-size-human-readable): New function.
18356
18357 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18358 computing the representation inline. Don't require `cl'.
18359
12544bbe
GM
183602011-04-08 Glenn Morris <rgm@gnu.org>
18361
a1de6c6a
GM
18362 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18363
3c4671f4
GM
18364 * net/browse-url.el (browse-url-firefox):
18365 Test system-type, not system-configuration.
18366
b605679c
GM
18367 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18368 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18369 Use log-edit-empty-buffer-p. (Bug#7598)
18370
56442f0c
GM
18371 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18372 (rlogin-mode-map): Initialize in the defvar.
18373 (rlogin): Use ignore-errors.
18374
12544bbe
GM
18375 * replace.el (occur-mode-map): Some fixes for menu items.
18376
eb237b0f
AH
183772011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18378
18379 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18380
7d668f2c
CY
183812011-04-06 Chong Yidong <cyd@stupidchicken.com>
18382
e67a13ab
CY
18383 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18384 issuing unused warnings.
18385
18386 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18387 macro directly.
18388
7d668f2c
CY
18389 * simple.el: Lisp reimplement of list-processes. Based on an
18390 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18391 (process-menu-mode): New major mode.
18392 (list-processes--refresh, list-processes):
18393 (process-menu-visit-buffer): New functions.
18394
18395 * files.el (save-buffers-kill-emacs): Don't assume any return
18396 value of list-processes, which is undocumented anyway.
18397
a83ec3c9
CY
183982011-04-06 Chong Yidong <cyd@stupidchicken.com>
18399
18400 * emacs-lisp/tabulated-list.el: New file.
18401
e91a96fe
CY
18402 * emacs-lisp/package.el: Use Tabulated List mode.
18403 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18404 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18405 table format using Tabulated List mode variables.
18406 (package--push): New macro, replacing package-list-maybe-add.
18407 (package-menu--generate): Use package--push. Renamed from
18408 package--generate-package-list.
18409 (package-menu-refresh, list-packages): Use it.
daca8ba5 18410 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18411 Return insertion data instead of inserting it directly.
099c39a4
JB
18412 (package-menu-describe-package, package-menu-execute):
18413 Use tabulated-list-get-id.
e91a96fe
CY
18414 (package-menu-mark-delete, package-menu-mark-install)
18415 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18416 (package-menu-mark-obsolete-for-deletion):
18417 Use tabulated-list-put-tag.
e91a96fe
CY
18418 (package--list-packages, package-menu-revert)
18419 (package-menu-get-package, package-menu-get-version)
18420 (package-menu-sort-by-column): Functions deleted.
18421 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18422 (package-menu--status-predicate, package-menu--version-predicate)
18423 (package-menu--name-predicate)
18424 (package-menu--description-predicate): Handle arguments in the
18425 Tabulated List format.
18426 (package-list-packages-no-fetch): Call list-packages.
18427
3e214b50
JB
184282011-04-06 Juanma Barranquero <lekktu@gmail.com>
18429
18430 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18431 (after-find-file): Don't bind it.
3e214b50
JB
18432 (revert-buffer-in-progress-p): New variable.
18433 (revert-buffer): Bind it.
18434 Pass nil for `after-find-file-from-revert-buffer'.
18435
18436 * saveplace.el (save-place-find-file-hook): Use new variable
18437 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18438
3f0f1700
GM
184392011-04-06 Glenn Morris <rgm@gnu.org>
18440
c0274801
GM
18441 * Makefile.in (AUTOGEN_VCS): New variable.
18442 (autoloads): Use $AUTOGEN_VCS.
18443
3f0f1700
GM
18444 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18445 * calendar/calendar.el (calendar-mode-map):
18446 Check for toolkit scroll bars. (Bug#8305)
18447
41ea9e48
CY
184482011-04-05 Chong Yidong <cyd@stupidchicken.com>
18449
18450 * minibuffer.el (completion-in-region--postch)
18451 (completion-in-region-mode): Remove unnecessary messages.
18452
6194c800
JB
184532011-04-05 Juanma Barranquero <lekktu@gmail.com>
18454
33256f14
JB
18455 * font-lock.el (font-lock-refresh-defaults):
18456 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18457 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18458
6194c800
JB
18459 * info.el (Info-directory-list, Info-read-node-name-2)
18460 (Info-split-parameter-string): Doc fixes.
18461 (Info-virtual-nodes): Reflow docstring.
18462 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18463 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18464 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18465 Fix typos in docstrings.
18466 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18467 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18468 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18469 (Info-restore-desktop-buffer): Mark unused parameters.
18470 (Info-directory-find-file, Info-directory-find-node)
18471 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18472 (Info-virtual-index-find-node, Info-apropos-find-file)
18473 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18474 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18475 (Info-virtual-index): Remove unused local variable `nodename'.
18476
b87a8200 184772011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18478
b87a8200
DD
18479 * net/rcirc.el: Update my e-mail address.
18480 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18481
3b2ff876
CY
184822011-04-05 Chong Yidong <cyd@stupidchicken.com>
18483
18484 * startup.el (command-line): Save the cursor's theme-face
18485 directly, instead of using face-override-spec.
18486
18487 * custom.el (load-theme): Minor optimization in assigning faces.
18488
8d17e7ca
JB
184892011-04-04 Juanma Barranquero <lekktu@gmail.com>
18490
18491 * help-fns.el (describe-variable): Complete all variables having
18492 documentation, including keywords.
18493 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18494
2fbc1934
JB
184952011-04-04 Juanma Barranquero <lekktu@gmail.com>
18496
18497 Convert to lexical-binding.
18498
18499 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18500 (bs--get-marked-string, bs--get-modified-string)
18501 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18502 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18503 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18504
18505 * ehelp.el (electric-help-execute-extended)
18506 (electric-help-ctrl-x-prefix):
18507 * hexl.el (hexl-revert-buffer-function):
18508 * linum.el (linum-after-change, linum-after-scroll):
18509 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18510
18511 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18512
74f50695
DU
185132011-04-04 Daiki Ueno <ueno@unixuser.org>
18514
18515 * epa-dired.el:
18516 * epa-mail.el:
18517 * epa-hook.el:
18518 * epa-file.el:
18519 * epa.el:
18520 * epg.el: Use lexical binding.
18521
c11325f7
CY
185222011-04-03 Chong Yidong <cyd@stupidchicken.com>
18523
0d9e9a12
CY
18524 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18525
c11325f7 18526 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18527 dictionary case for flyspell-mark-duplications-exceptions.
18528 Use regexp matching for languages.
c11325f7
CY
18529 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18530 default dictionary (Bug#7926).
18531
da91b5f2
CY
185322011-04-02 Chong Yidong <cyd@stupidchicken.com>
18533
099c39a4
JB
18534 * emacs-lisp/package.el (package--with-work-buffer):
18535 Recognize https URLs.
da91b5f2 18536
099c39a4
JB
18537 * net/network-stream.el: Move from gnus/proto-stream.el.
18538 Change prefix to network-stream throughout.
da91b5f2
CY
18539 (open-protocol-stream): Merge into open-network-stream, leaving
18540 open-protocol-stream as an alias. Handle nil BUFFER args.
18541
18542 * subr.el (open-network-stream): Move to net/network-stream.el.
18543
afa8e9f6
GM
185442011-04-02 Glenn Morris <rgm@gnu.org>
18545
1d2e369d
GM
18546 * find-dired.el (find-exec-terminator): New option.
18547 (find-ls-option): Test for -ls support.
18548 (find-ls-subdir-switches): Test for -b in find-ls-option.
18549 (find-dired, find-grep-dired): Doc fixes.
18550 (find-dired): Use find-exec-terminator.
18551
8abb7da8 18552 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18553 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18554 (find-name-arg): Remove purecopy.
8abb7da8 18555
f3ca7378
GM
18556 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18557 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18558 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18559 accordingly. Don't add the null-device if not needed.
18560
afa8e9f6
GM
18561 * files.el (save-some-buffers): Doc fix.
18562
35eae264
EZ
185632011-04-02 Eli Zaretskii <eliz@gnu.org>
18564
18565 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18566
26b51db5
JB
185672011-04-01 Juanma Barranquero <lekktu@gmail.com>
18568
18569 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18570 Use `dolist' rather than `mapcar'.
18571
7200d79c
SM
185722011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18573
03408648 18574 Add lexical binding.
7200d79c 18575
03408648
SM
18576 * subr.el (apply-partially): Use new closures rather than CL.
18577 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18578 (dolist, dotimes): Use slightly different expansion for lexical code.
18579 (functionp): Move to C.
18580 (letrec): New macro.
18581 (with-wrapper-hook): Use it and apply-partially instead of CL.
18582 (eval-after-load): Preserve lexical-binding.
18583 (save-window-excursion, with-output-to-temp-buffer): Turn them
18584 into macros.
7200d79c 18585
03408648
SM
18586 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18587
18588 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18589 than the arglist.
18590 (help-add-fundoc-usage): Don't add `Not documented'.
18591 (help-function-arglist): Handle closures, subroutines, and new
18592 byte-code-functions.
18593 (help-make-usage): Remove leading underscores.
18594 (describe-function-1): Handle closures.
18595 (describe-variable): Use special-variable-p for completion.
18596
18597 * files.el (lexical-binding): Declare safe.
f488fb65 18598
03408648
SM
18599 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18600 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18601 (pcase): Add `let' pattern.
18602 Change memoization so it actually works.
18603 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18604 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18605 <let>: New case.
f488fb65 18606
03408648
SM
18607 * emacs-lisp/macroexp.el: Use lexical binding.
18608 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18609 Don't convert ' to #' without checking that it's indeed quoting
18610 a lambda.
18611
18612 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18613 Use eval-sexp-add-defvars.
03408648
SM
18614 (eval-sexp-add-defvars): New fun.
18615
18616 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18617
18618 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18619 Don't autoload.
18620 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18621 than the internal `byte-compile-lambda'.
18622 (defmethod): Don't hide code under quotes.
18623 (eieio-defmethod): New `code' argument.
18624
18625 * emacs-lisp/eieio-comp.el: Remove.
18626
18627 * emacs-lisp/edebug.el (edebug-eval-defun)
18628 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18629 (edebug-toggle): Avoid `eval'.
18630
18631 * emacs-lisp/disass.el (disassemble-internal): Handle new
18632 `closure' objects.
18633 (disassemble-1): Handle new byte codes.
18634
18635 * emacs-lisp/cl.el (pushnew): Silence warning.
18636
18637 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18638 (cl-byte-compile-throw): Remove.
18639 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18640
18641 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18642 closures.
18643
18644 * emacs-lisp/cconv.el: New file.
18645
18646 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18647 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18648 (byte-compile-initial-macro-environment):
18649 Handle declare-function here.
18650 (byte-compile--lexical-environment): New var.
18651 (byte-stack-ref, byte-stack-set, byte-discardN)
18652 (byte-discardN-preserve-tos): New lap codes.
18653 (byte-interactive-p): Don't use any more.
18654 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18655 New macros.
18656 (byte-compile-lapcode): Use them and handle new lap codes.
18657 (byte-compile-obsolete): Remove.
18658 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18659 (byte-compile-arglist-warn): Check late def of inlinable funs.
18660 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18661 since they should have been expanded by now.
18662 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18663 (byte-compile-from-buffer): Remove unused second arg.
18664 (byte-compile-preprocess): New function.
18665 (byte-compile-toplevel-file-form): New function to distinguish
18666 file-form calls from outside from file-form calls from hunk-handlers.
18667 (byte-compile-file-form): Simplify.
18668 (byte-compile-file-form-defsubst): Remove.
18669 (byte-compile-file-form-defmumble): Simplify now that
18670 byte-compile-lambda always returns a byte-code-function.
18671 (byte-compile): Preprocess.
18672 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18673 Remove, not used any more.
18674 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18675 (byte-compile-make-args-desc): New funs.
18676 (byte-compile-lambda): Handle lexical functions. Always return
18677 a byte-code-function.
18678 (byte-compile-reserved-constants): New var, to make up room for
18679 closed-over variables.
18680 (byte-compile-constants-vector): Obey it.
18681 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18682 (byte-compile-macroexpand-declare-function): New function.
18683 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18684 byte-code-functions.
18685 (byte-compile-form): Check obsolescence here.
18686 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18687 (byte-compile-variable-ref): Remove.
18688 (byte-compile-dynamic-variable-op): New fun.
18689 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18690 (byte-compile-variable-set): New funs.
18691 (byte-compile-discard): Add 2 args.
18692 (byte-compile-stack-ref, byte-compile-stack-set)
18693 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18694 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18695 macroexpand-all instead.
18696 (byte-compile-quote-form): Remove.
18697 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18698 (byte-compile-bind, byte-compile-unbind): New funs.
18699 (byte-compile-let): Handle let* and lexical binding.
18700 (byte-compile-let*): Remove.
18701 (byte-compile-catch, byte-compile-unwind-protect)
18702 (byte-compile-track-mouse, byte-compile-condition-case):
18703 Handle a new :fun-body form, used for lexical scoping.
18704 (byte-compile-save-window-excursion)
18705 (byte-compile-with-output-to-temp-buffer): Remove.
18706 (byte-compile-defun): Simplify.
18707 (byte-compile-stack-adjustment): New fun.
18708 (byte-compile-out): Use it.
18709 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18710
18711 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18712 handler any more.
18713
18714 * emacs-lisp/byte-opt.el: Use lexical binding.
18715 (byte-inline-lapcode): Remove (to bytecomp).
18716 (byte-compile-inline-expand): Pay attention to inlining to/from
18717 lexically bound code.
18718 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18719 any more.
18720 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18721 any more and don't call compiler-macros.
18722 (byte-compile-splice-in-already-compiled-code): Remove.
18723 (byte-code): Don't inline any more.
18724 (disassemble-offset): Receive `bytes' as argument rather than via
18725 dynamic scoping.
18726 (byte-compile-tag-number): Declare before first use.
18727 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18728 `return' even if make-spliceable.
18729 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18730 obsolete interactive-p.
18731 (byte-optimize-lapcode): Optimize new lap-codes.
18732 Don't trip up on new form of `byte-constant' lap code.
18733
18734 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18735
18736 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18737
18738 * custom.el (custom-initialize-default, custom-declare-variable):
18739 Use `defvar'.
18740
18741 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18742 New variables.
18743 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18744 (COMPILE_FIRST): Add macroexp and cconv.
18745 * makefile.w32-in: Mirror changes in Makefile.in.
18746
18747 * vc/cvs-status.el:
18748 * vc/diff-mode.el:
18749 * vc/log-edit.el:
18750 * vc/log-view.el:
18751 * vc/smerge-mode.el:
18752 * textmodes/bibtex-style.el:
090bd7cb 18753 * textmodes/css-mode.el:
03408648
SM
18754 * startup.el:
18755 * uniquify.el:
da91b5f2
CY
18756 * minibuffer.el:
18757 * newcomment.el:
18758 * reveal.el:
18759 * server.el:
18760 * mpc.el:
18761 * emacs-lisp/smie.el:
18762 * doc-view.el:
18763 * dired.el:
03408648
SM
18764 * abbrev.el: Use lexical binding.
18765
0f0c1f27
EZ
187662011-04-01 Eli Zaretskii <eliz@gnu.org>
18767
18768 * info.el (info-display-manual): New function.
18769
c82b2579
SM
187702011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18771
18772 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18773
221ddf68
TH
187742011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18775
18776 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18777 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18778
cba6e77e
GM
187792011-03-31 Glenn Morris <rgm@gnu.org>
18780
e040639f
GM
18781 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18782
cba6e77e
GM
18783 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18784
6d0f1c9e
CS
187852011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18786
18787 * progmodes/python.el (python-default-interpreter)
18788 (python-python-command-args, python-jython-command-args)
18789 (python-which-shell, python-which-args, python-which-bufname)
18790 (python-file-queue, python-comint-output-filter-function)
18791 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18792 variables and functions.
18793
3e2d70fd
SM
187942011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18795
18796 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18797 (completion-in-region-mode): New minor mode.
18798 (completion-in-region): Use it.
18799 (completion-in-region--data, completion-in-region-mode-map): New vars.
18800 (completion-in-region--postch): New function.
18801 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18802 New vars.
18803 (completion--capf-wrapper): New function.
18804 (completion-at-point): Use it to track well-behavedness of
18805 hook functions.
18806 (completion-help-at-point): New command.
18807
f3e4086c
JM
188082011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18809
18810 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18811 syntax class to search for whitespace on a single line
18812 (Message-ID: <4D938140.4030905@redhat.com>).
18813
eb7ffc14
LL
188142011-03-30 Leo Liu <sdl.web@gmail.com>
18815
18816 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18817 New commands.
18818 (edit-abbrevs-map): Bind them here.
18819 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18820
d806ab68
KM
188212011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18822
18823 * allout.el (allout-hide-by-annotation, allout-flag-region):
18824 Reduce possibility of overlay leakage by making them volatile.
18825
18826 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18827 hash is not shared between buffers. Mode initialization is
18828 responsible for giving it a useful starting value.
18829 (allout-item-span): Reduce possibility of overlay leakage by
18830 making them volatile.
18831 (allout-widgets-count-buttons-in-region): Add diagnostic function
18832 for tracking down button overlay leaks.
18833
ea622834
LL
188342011-03-29 Leo Liu <sdl.web@gmail.com>
18835
18836 * ido.el (ido-read-internal): Use the default history var
18837 minibuffer-history if no HISTORY is specified.
18838
b62f8267
G
188392011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18840
03408648
SM
18841 * net/imap.el (imap-shell-open, imap-process-connection-type):
18842 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18843 Kerberos, SSL, other subprocesses.
18844
947b6566
LL
188452011-03-28 Leo Liu <sdl.web@gmail.com>
18846
18847 * abbrev.el (abbrev-table-empty-p): New function.
18848 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18849 nonempty ones. (Bug#5937)
18850
5ffb62aa
JD
188512011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18852
18853 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18854
7a097943
LL
188552011-03-27 Leo Liu <sdl.web@gmail.com>
18856
18857 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18858 for foreground and background colors.
18859 (ansi-color-make-color-map): Adapt.
18860
c5b40130
LL
188612011-03-25 Leo Liu <sdl.web@gmail.com>
18862
1f48f7d2
LL
18863 * midnight.el (midnight-time-float): Remove. Note it calculates
18864 the microsecond component incorrectly and seconds-to-time does the
18865 same job.
625897ec 18866 Remove redundant (require 'timer).
1f48f7d2 18867
c5b40130
LL
18868 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18869 (ido-completions): Remove unused arguments. (Bug#8329)
18870
d86d2721
SM
188712011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18872
18873 * minibuffer.el (completion--flush-all-sorted-completions):
18874 Remove itself from hook.
18875 (completion-at-point): Let the functions perform the completion
18876 immediately and return nil or t.
18877 * comint.el (comint-dynamic-complete-functions): Now identical to
18878 completion-at-point-functions.
18879 (comint-dynamic-list-input-ring): Remove unused var `index'.
18880 (comint--match-partial-filename, comint--unquote&expand-filename):
18881 New funs, split from comint-match-partial-filename.
18882 (comint-dynamic-complete): Use completion-at-point.
18883 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18884
e8974c48
DA
188852011-03-24 Drew Adams <drew.adams@oracle.com>
18886
18887 * thingatpt.el: Support `defun'.
18888
def71b5e
LL
188892011-03-23 Leo Liu <sdl.web@gmail.com>
18890
cb5af48e
LL
18891 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18892
def71b5e
LL
18893 * help-mode.el (help-mode-finish): Tweak regexp.
18894
927c53e7
GM
188952011-03-23 Glenn Morris <rgm@gnu.org>
18896
18d05bed
GM
18897 * eshell/esh-opt.el (eshell-eval-using-options):
18898 Do not bind unused local variable `eshell-option-stub'.
18899
927c53e7
GM
18900 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18901
9d0da923
JB
189022011-03-22 Juanma Barranquero <lekktu@gmail.com>
18903
18904 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18905 keymap variable in `with-no-warnings' to avoid a warning when the
18906 keymap has been already `defconst'ed.
18907
4b978a67
LL
189082011-03-22 Leo Liu <sdl.web@gmail.com>
18909
18910 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18911 encode all chars in abbrevs; otherwise use emacs-mule or
18912 utf-8-emacs. (Bug#8308)
18913
5fd62452
JB
189142011-03-22 Juanma Barranquero <lekktu@gmail.com>
18915
0b1596c6
JB
18916 * simple.el (backward-delete-char-untabify):
18917 Avoid warning about using `delete-backward-char'.
18918
5fd62452
JB
18919 * image.el (image-type-file-name-regexps): Make it variable.
18920 `imagemagick-register-types' modifies it, and the user may want
18921 to add new extensions for known image types.
18922 (imagemagick-register-types): Throw error if not using ImageMagick.
18923
0b4e93f1
LL
189242011-03-22 Leo Liu <sdl.web@gmail.com>
18925
18926 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18927 located before rcirc-prompt-end-marker.
18928 (rcirc-complete): Error if point is not after rcirc prompt.
18929 Handle the case when table is nil.
9882e214 18930 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18931
fccee4ab
CY
189322011-03-22 Chong Yidong <cyd@stupidchicken.com>
18933
18934 * custom.el (custom--inhibit-theme-enable): Make it affect only
18935 custom-theme-set-variables and custom-theme-set-faces.
18936 (provide-theme): Ignore custom--inhibit-theme-enable.
18937 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18938 (custom-enabling-themes): Delete variable.
d86d2721
SM
18939 (enable-theme): Accept only loaded themes as arguments.
18940 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18941 (custom-enabled-themes): Forbid themes from setting this.
18942 Eliminate use of custom-enabling-themes.
18943 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18944
af896da6
LL
189452011-03-21 Leo Liu <sdl.web@gmail.com>
18946
18947 * ido.el (ido-read-internal): Add ido-selected to history instead
18948 of user input.
18949
78f64af0
SM
189502011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * subr.el (deferred-action-list, deferred-action-function):
18953 Mark obsolete.
18954
b16ac1ec
LL
189552011-03-21 Leo Liu <sdl.web@gmail.com>
18956
810f7698
LL
18957 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18958 change on 2011-02-13 (bug#8309).
18959
b16ac1ec
LL
18960 * minibuffer.el (read-file-name-function): Change default value.
18961 (read-file-name--defaults): Rename from read-file-name-defaults.
18962 (read-file-name-default): Rename from read-file-name.
18963 (read-file-name): Call read-file-name-function.
18964
4e05e67e
GM
189652011-03-21 Glenn Morris <rgm@gnu.org>
18966
18967 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18968 Doc fixes.
18969
4359915b
CY
189702011-03-21 Chong Yidong <cyd@stupidchicken.com>
18971
18972 * cus-theme.el: Add missing provide statement.
18973 (customize-create-theme): Extract theme value correctly.
18974 (custom-theme-visit-theme): Autoload.
18975 (customize-create-theme): Prompt before inserting default faces.
18976
1fe275ee
JB
189772011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18978
18979 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18980 units and musical notes.
18981
cd394be1 189822011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18983
18984 * ido.el (ido-read-internal): Use completing-read-default.
18985 (ido-completing-read): Fix compatibility with completing-read.
18986
7d476bde
CO
189872011-03-20 Christian Ohler <ohler@gnu.org>
18988
18989 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18990 (ert-delete-all-tests): Use `called-interactively-p' rather than
18991 `interactive-p'.
18992 (ert--make-xrefs-region): Respect END.
18993
fe0fb33e
CY
189942011-03-19 Chong Yidong <cyd@stupidchicken.com>
18995
ff854b0b
CY
18996 * dired-aux.el (dired-create-directory): Signal an error if the
18997 directory already exists (Bug#8246).
18998
fe0fb33e
CY
18999 * facemenu.el (list-colors-display): Call list-faces-display
19000 inside with-help-window.
19001 (list-colors-print): Use display property to align the final
19002 column, instead of checking window-width.
19003
576bce32
EZ
190042011-03-19 Eli Zaretskii <eliz@gnu.org>
19005
4d61f28d 19006 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19007 windows-nt systems.
19008 (emerge-protect-metachars): Quote correctly for ms-dos and
19009 windows-nt systems.
19010
89c41d68 190112011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19012
19013 * info.el (info-initialize): Replace all uses of `:' with
19014 path-separator for compatibility with non-Unix systems.
19015 Cache quoting of path-separator. (Bug#8258)
19016
b14e3e21 190172011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19018
19019 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19020 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19021 (mouse-avoidance-mode): Fix typos in docstrings.
19022
4525ce3e
CY
190232011-03-19 Chong Yidong <cyd@stupidchicken.com>
19024
19025 * startup.el (package-subdirectory-regexp): Move from package.el.
19026 Omit \\` and \\', and let callers add them.
19027
19028 * emacs-lisp/package.el (package-strip-version)
19029 (package-load-all-descriptors): Add \\` and \\' to
19030 package-subdirectory-regexp before using it.
19031 (package-untar-buffer): New arg DIR; ensure that file untars only
19032 into this expected directory. Remove superfluous delete-region.
19033 (package-unpack): Caller changed.
19034 (package-tar-file-info): Use package-subdirectory-regexp.
19035
a904a09a 190362011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19037
a904a09a
SM
19038 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19039 diff-mode-shared-map (bug#8284).
19040 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19041
190422011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19043
19044 * calendar/time-date.el (format-seconds): Use assoc instead of
19045 assoc-string, since assoc-string doesn't exist in XEmacs.
19046
171fc304
JB
190472011-03-17 Juanma Barranquero <lekktu@gmail.com>
19048
19049 * custom.el (custom-known-themes): Reflow docstring.
19050 (custom-theme-load-path): Fix typo in docstring.
19051 (load-theme): Fix typo in error message.
19052 (custom-available-themes, custom-variable-theme-value):
19053 Use `let', not `let*'.
19054
d71990a1
JB
190552011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19056
19057 * calc/README: Mention inclusion of musical notes.
19058
19059 * calc/calc-units.el (calc-lu-quant): Rename from
19060 `calc-logunits-quantity'.
19061 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19062 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19063 (calc-db): Rename from `calc-dblevel'.
19064 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19065 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19066 (calc-np): Rename from `calc-nplevel'.
19067 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19068 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19069 (calc-lu-plus): Rename from `calc-logunits-add'.
19070 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19071 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19072 (calc-lu-minus): Rename from `calc-logunits-sub'.
19073 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19074 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19075 (calc-lu-times): Rename from `calc-logunits-mul'.
19076 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19077 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19078 (calc-lu-divide): Rename from `calc-logunits-div'.
19079 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19080 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19081
19082 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19083 functions being autoloaded.
19084
19085 * calc/calc.el (calc-lu-power-reference): Rename from
19086 `calc-logunits-power-reference'.
19087 (calc-lu-field-reference): Rename from
19088 `calc-logunits-field-reference'.
19089
7a71b18d
GM
19090 * calc/calc-help.el (calc-l-prefix-help):
19091 Mention musical note functions.
d71990a1 19092
40c2934b
SM
190932011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19094
19095 * minibuffer.el (completion-all-sorted-completions):
19096 Use :completion-cycle-penalty text property if present.
19097
b0911414
KM
190982011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19099
19100 * allout.el (allout-yank-processing): Adjust for new rebulleting
19101 regime so bullet being yanked is used without prompting the user
19102 for a choice.
19103
8a05b668
JB
191042011-03-16 Juanma Barranquero <lekktu@gmail.com>
19105
19106 * startup.el (command-line): Warn the user that _emacs is deprecated.
19107
5ba5fb81
JB
191082011-03-16 Juanma Barranquero <lekktu@gmail.com>
19109
19110 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19111 (delphi-verbose, delphi-comment-face, delphi-string-face)
19112 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19113 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19114 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19115 (delphi-new-comment-line, delphi-font-lock-defaults)
19116 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19117 Fix typos in docstrings.
19118
2dab465b
KM
191192011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19120
5ba5fb81 19121 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19122 Invert the roles of character and string values for INSTEAD, so a
19123 string is used for the more common case of a defaulting prompt.
19124
0adf5618
SM
191252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19126
19127 * progmodes/ruby-mode.el (ruby-backward-sexp):
19128 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19129 * play/gamegrid.el (gamegrid-make-face):
19130 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19131 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19132 * notifications.el (notifications-notify):
19133 * net/xesam.el (xesam-search-engines):
19134 * net/quickurl.el (quickurl-list-insert):
19135 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19136
d72700e5
CY
191372011-03-15 Chong Yidong <cyd@stupidchicken.com>
19138
19139 * startup.el (command-line): Update package subdirectory regexp.
19140
49c5410a
SM
191412011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19142
c6eee9aa
SM
19143 * allout.el (allout-abbreviate-flattened-numbering)
19144 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19145
49c5410a
SM
19146 * subr.el (read-char-choice): Only show the cursor after the prompt,
19147 not after the answer.
19148
047b2bb9
KR
191492011-03-15 Kevin Ryde <user42@zip.com.au>
19150
19151 * help-fns.el (variable-at-point): Skip leading quotes, if any
19152 (bug#8253).
19153
0a57d256
SM
191542011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19155
19156 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19157 warning message.
19158
77c992bc
MA
191592011-03-14 Michael Albinus <michael.albinus@gmx.de>
19160
19161 * shell.el (shell): When called interactively, offer to change the
19162 shell file name on remote hosts.
19163
eebc475d
TZ
191642011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19165
19166 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19167 integration for LDAP parameters. The host, base, user or binddn,
19168 and secret tokens can be specified in a netrc file, for instance.
19169 This is optional because an `auth-source' parameter must be
19170 specified in the search attributes.
19171
9d05d1ba
JB
191722011-03-13 Juanma Barranquero <lekktu@gmail.com>
19173
19174 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19175
09d9db2c
GM
191762011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19177
19178 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19179 into declaration. Remove redundant and harmful binding.
19180
191812011-03-12 Eli Zaretskii <eliz@gnu.org>
19182
19183 * files.el (file-ownership-preserved-p): Pass `integer' as an
19184 explicit 2nd argument to `file-attributes'. If the file's owner
19185 is the Administrators group on Windows, and the current user is
19186 Administrator, consider that a match.
19187
19188 * server.el (server-ensure-safe-dir): Consider server directory
19189 safe on MS-Windows if its owner is the Administrators group while
19190 the current Emacs user is Administrator. Use `=' to compare
19191 numerical UIDs, since they could be integers or floats.
19192
219bd536
JB
191932011-03-12 Juanma Barranquero <lekktu@gmail.com>
19194
19195 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19196
f3afd36b
MA
191972011-03-12 Michael Albinus <michael.albinus@gmx.de>
19198
19199 Sync with Tramp 2.2.1.
19200
19201 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19202
19203 * net/trampver.el: Update release number.
19204
3aaaa6f1
SM
192052011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19206
94642599
SM
19207 * progmodes/compile.el (compilation--previous-directory): Fix up
19208 various nil/dead-marker mismatches (bug#8014).
19209 (compilation-directory-properties, compilation-error-properties):
19210 Don't call it at a position past the one we're about to change.
19211
3aaaa6f1
SM
19212 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19213 Disable obsolescence warnings in the file that declares it.
19214
14239447
KM
192152011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19216
099c39a4
JB
19217 * allout-widgets.el (allout-widgets-tally):
19218 Initialize allout-widgets-tally as a hash table rather than nil to
19219 prevent mode-line redisplay warnings. Also, clarify the module
19220 description and fix a comment typo.
14239447 19221
135e287c
JB
192222011-03-11 Juanma Barranquero <lekktu@gmail.com>
19223
19224 * help-fns.el (describe-variable): Don't complete keywords.
19225 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19226
ffbf300e
CY
192272011-03-10 Chong Yidong <cyd@stupidchicken.com>
19228
ba08b241
CY
19229 * emacs-lisp/package.el (package-version-join): Impose a standard
19230 string representation for pre/alpha/beta version lists.
19231 (package-unpack-single): Standardize the directory name by passing
19232 it through package-version-join.
19233 (package-strip-rcs-id): Accept any version string that does not
19234 signal an error in version-to-list.
ffbf300e 19235
f346fd6b
MA
192362011-03-10 Michael Albinus <michael.albinus@gmx.de>
19237
19238 * simple.el (delete-trailing-whitespace): Return nil for the
19239 benefit of `write-file-functions'.
19240
ccb55d27
GM
192412011-03-10 Glenn Morris <rgm@gnu.org>
19242
5ceaac0c
GM
19243 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19244
02da65ff
GM
19245 * vc/vc-git.el (vc-git-program): New option.
19246 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19247 (vc-git--call): Use it.
19248
b2f603cc
GM
19249 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19250
5772caab
GM
19251 * cus-edit.el (Custom-newline): If no button at point, look
19252 for a subgroup button at start-of-line. (Bug#2298)
19253
ccb55d27
GM
19254 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19255
ec6ecaed
JD
192562011-03-10 Julien Danjou <julien@danjou.info>
19257
19258 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19259 `cursor-type' is nil.
19260
9d5aa01d
JB
192612011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19262
19263 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19264
b6a5875b
KM
192652011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19266
7a71b18d 19267 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19268 preserves the existing header prefix, rebulleting it if necessary,
19269 rather than replacing it. This is necessary for proper operation
19270 of cooperative addons like allout-widgets.
1154d12e
JB
19271 (allout-make-topic-prefix, allout-rebullet-heading):
19272 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19273 value as alternate bullet to be used, instead of prompting the user
19274 for a bullet character.
b6a5875b 19275
ee545c35
MA
192762011-03-09 Michael Albinus <michael.albinus@gmx.de>
19277
d86d2721
SM
19278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19279 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19280 `tramp-default-port'.
19281
c47971d7
DD
192822011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19283
19284 * net/rcirc.el (rcirc-handler-001): Remove useless
19285 with-rcirc-process-buffer.
19286 (rcirc-check-auth-status): Swap arguments to string-match.
19287
13522cb4
GM
192882011-03-09 Glenn Morris <rgm@gnu.org>
19289
0be6f4f1
GM
19290 * shell.el (shell-mode):
19291 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19292
13522cb4
GM
19293 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19294 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19295
515de2e3
CY
192962011-03-08 Chong Yidong <cyd@stupidchicken.com>
19297
19298 * emacs-lisp/package.el (package-refresh-contents)
19299 (package-menu-execute): Use condition-case-no-debug.
19300
b511b994
MA
193012011-03-08 Michael Albinus <michael.albinus@gmx.de>
19302
19303 * simple.el (shell-command-to-string): Use `process-file'.
19304
19305 * emacs-lisp/package.el (package-tar-file-info): Handle also
19306 remote files.
19307
d86d2721
SM
19308 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19309 Use `equal' for upload base check.
b511b994 19310
25bbfb31
AM
193112011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19312
19313 * textmodes/texinfo.el (texinfo-environments):
19314 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19315
be996521
GM
193162011-03-08 Glenn Morris <rgm@gnu.org>
19317
e9c8529f
GM
19318 * cus-start.el (cursor-in-non-selected-windows):
19319 Fix :set quoting oddness. (Bug#8192)
19320
be996521
GM
19321 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19322 in some setf expressions. (Bug#2159)
19323
2bb5649e
CY
193242011-03-08 Chong Yidong <cyd@stupidchicken.com>
19325
19326 * custom.el (custom-available-themes): Return themes in
19327 alphabetical order.
19328
33383987 19329See ChangeLog.15 for earlier changes.
e3d51b27
MR
19330
19331;; Local Variables:
19332;; coding: utf-8
e3d51b27
MR
19333;; End:
19334
acaf905b 19335 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19336
19337 This file is part of GNU Emacs.
19338
19339 GNU Emacs is free software: you can redistribute it and/or modify
19340 it under the terms of the GNU General Public License as published by
19341 the Free Software Foundation, either version 3 of the License, or
19342 (at your option) any later version.
19343
19344 GNU Emacs is distributed in the hope that it will be useful,
19345 but WITHOUT ANY WARRANTY; without even the implied warranty of
19346 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19347 GNU General Public License for more details.
19348
19349 You should have received a copy of the GNU General Public License
19350 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.