]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* calendar/todos.el: Add and revise further doc strings and
[gnu-emacs] / lisp / ChangeLog
1 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Add and revise further doc strings and
4 comments.
5 (todos-filter-function, todos-custom-items)
6 (todos-custom-items-multifile): Remove.
7 (todos-filter-done-items): New defcustom.
8 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
9 (todos-filter-items): Check return value of caller first; tag
10 archived items for todos-jump-to-item; delete categories sexp
11 before processing filter; check todos-filter-done-items for
12 whether to leave done items; remove custom filter; fix regexp for
13 file and category tags; don't invoke buffer fontification.
14 (powerset-recursive): Fix typo.
15 (todos-key-bindings): Remove unused bindings.
16 (todos-top-priorities-multifile, todos-diary-items-multifile)
17 (todos-regexp-items-multifile): Use variable todos-multiple-files.
18 (todos-jump-to-item): Fix regexp; handle archive tags; take
19 todos-filter-done-items into account.
20 (todos-insert-item-from-calendar): Relocate to end of file
21 together with key-binding as addition to calendar.el.
22
23 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
24
25 * calendar/todos.el: Add and revise further doc strings and
26 comments; major code rearrangement.
27 (todos-merged-files, todos-prompt-merged-files)
28 (todos-print-priorities, todos-tmp-buffer-name)
29 (todos-top-priorities-widgets, todos-update-merged-files)
30 (todos-merged-top-priorities, todos-merged-diary-items)
31 (todos-merged-regexp-items, todos-merged-custom-items)
32 (todos-raw-mode, todos-change-default-file)
33 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
34 (todos-toggle-diary-nonmarking, todos-validate-category-name):
35 Remove.
36 (todos-category-string-matcher): Comment out.
37 (todos-categories): New defgroup.
38 (todos-initial-file, todos-filter-buffer)
39 (todos-top-priorities-buffer, todos-categories-category-label)
40 (todos-diary-items-buffer, todos-regexp-items-buffer)
41 (todos-custom-items-buffer, todos-filter-files)
42 (todos-highlight-item, todos-todo-mode-date-time-regexp):
43 New defcustoms.
44 (todos-diary-expired): New face.
45 (todos-print-buffer, todos-multiple-files)
46 (todos-multiple-files-widget, todos-key-bindings): New variables.
47 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
48 (todos-special-buffer-name)
49 (todos-reevaluate-filter-files-defcustom)
50 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
51 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
52 (todos-diary-expired-matcher, todos-category-string-matcher-1)
53 (todos-category-string-matcher-2, todos-repair-categories-sexp)
54 (todos-validate-name, todos-multiple-files)
55 (todos-display-categories-1, todos-update-categories-display)
56 (todos-modes-set-3, todos-mode-external-set): New functions.
57 (todos-set-top-priorities-in-file)
58 (todos-set-top-priorities-in-category)
59 (todos-top-priorities-multifile, todos-diary-items-multifile)
60 (todos-regexp-items-multifile, todos-custom-items-multifile)
61 (todos-convert-legacy-files, todos-jump-to-item)
62 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
63 (todos-edit-item-diary-inclusion)
64 (todos-edit-category-diary-inclusion)
65 (todos-edit-item-diary-nonmarking)
66 (todos-edit-category-diary-nonmarking): New commands.
67 (todos, todos-faces): Update :version.
68 (todos-done-separator, todos-completion-ignore-case):
69 Change default value.
70 (todos-done-separator): Change :set function.
71 (todos-indent-to-here): Add :validate function to :type.
72 (todos-prefix-string, todos-mark, todos-button)
73 (todos-sorted-column, todos-archived-only, todos-search)
74 (todos-done, todos-done-sep): Provide full face definitions
75 instead of inheriting.
76 (todos-edit-buffer, todos-categories-buffer): Change from
77 defcustom to defvar.
78 (todos-category-beg, todos-category-done): Change from defvar to
79 defconst.
80 (todos-files): Check if todos-files-directory exists.
81 (todos-default-todos-file, todos-mode-line-control, todos-print):
82 Use todos-short-file-name.
83 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
84 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
85 todos-category-string-matcher-2, todos-diary-expired-matcher.
86 (todos-category-select): Use todos-done-string-start, and
87 condition search on todos-show-with-done; don't make display
88 overlay for done items separator string if there already is one;
89 use todos-highlight-item, require hl-line and activate
90 hl-line-mode here in order to avoid a hang if done in todos-mode
91 or the mode hook.
92 (todos-update-categories-sexp): Use todos-categories-full if set,
93 otherwise todos-categories.
94 (todos-make-categories-list): Don't test for archive file when
95 processing a legacy todo-mode file.
96 (todos-check-format): Add check for todos-categories sexp.
97 (todos-diary-item-p): Use todos-nondiary-start instead of
98 todos-date-pattern.
99 (todos-marked-item-p): Rename from todos-item-marked-p.
100 (todos-read-file-name): Don't accept empty name; validate.
101 (todos-read-category): Validate new name before prompting whether
102 to add new category; force quit if user answers no.
103 (todos-filter-items): Improve implementation.
104 (todos-set-top-priorities): Rewrite as a noninteractive function
105 using minibuffer input instead of widgets.
106 (todos-insert-sort-button): Call todos-display-sorted with
107 argument nil to display categories in numerical order, instead of
108 calling todos-display-categories.
109 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
110 Common Lisp powerset function at
111 http://rosettacode.org/wiki/Power_set#Common_Lisp.
112 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
113 powerset function at http://rosettacode.org/wiki/Power_set#C.
114 (todos-powerset): Defalias to powerset-bitwise.
115 (todos-mode-map): Generate from todos-key-bindings instead of
116 listing each key definition.
117 (todos-categories-mode-map): Add two bindings.
118 (todos-filter-items-mode-map): Add some bindings, remove others.
119 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
120 function setting todos-done-separator to
121 window-configuration-change-hook.
122 (todos-unload-hook): Remove function setting todos-done-separator
123 from window-configuration-change-hook.
124 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
125 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
126 (todos-categories-mode): Derive from special-mode; use
127 todos-mode-external-set.
128 (todos-filter-items-mode): Derive from special-mode.
129 (todos-quit): Save archive file if it hasn't yet been saved.
130 (todos-display-categories): Delegate all functionality to
131 todos-display-categories-1 and todos-update-categories-display.
132 (todos-toggle-view-done-items): Improve implementation.
133 (todos-highlight-item): Require hl-line.
134 (todos-toggle-display-date-time): Remove argument and make it
135 apply only to whole file.
136 (todos-top-priorities, todos-diary-items, todos-regexp-items)
137 (todos-custom-items): Use todos-special-buffer-name.
138 (todos-add-file): Use todos-short-file-name and
139 todos-reevaluate-defcustoms; remove validation, since it's now
140 done in todos-read-file-name.
141 (todos-add-category): Also update todos-categories-full if non-nil.
142 (todos-delete-category): Delete file after confirmation if only
143 category is deleted.
144 (todos-move-category): Use todos-short-file-name and
145 todos-reevaluate-defcustoms.
146 (todos-insert-item): Fix getting date from the calendar and
147 insertion of time string.
148 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
149 display of diary entries.
150 (todos-edit-multiline): Add optional argument to restrict editing
151 buffer to current item, otherwise make entire buffer (i.e. whole
152 file) editable.
153 (todos-edit-quit): When whole file is editable, check file format
154 validity before killing buffer, and if valid, recalculate
155 categories sexp to be safe.
156 (todos-edit-item-header): Allow choosing date from calendar.
157 (todos-item-done): Handle marked items.
158
159 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
160
161 * calendar/todos.el (todos-item-start): Restore commented out code
162 to prevent wrongly moving point in widened buffer.
163
164 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
165
166 * calendar/todos.el: Remove old commentary from todo-mode.el; add
167 and revise further doc strings and comments; require cl.el at
168 compile time for remove-duplicates; use function powerset from
169 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
170 code rearrangement. Add adapted version of diary-goto-entry as comment.
171 (todos-file-top, todos-archived-categories-buffer)
172 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
173 (todos-save-top-priorities, todos-reset-separator)
174 (todos-switch-todos-file, todos-item-string-start, todos-counts)
175 (todos-string-count-lines, todos-string-multiline-p)
176 (todos-display-categories-alphabetically): Remove.
177 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
178 (todos-insert-item-ask-date-time-for-diary)
179 (todos-insert-item-ask-date-time-for-diary-here)
180 (todos-insert-item-ask-date-time-here)
181 (todos-insert-item-ask-date-maybe-notime)
182 (todos-insert-item-ask-date-maybe-notime-for-diary)
183 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
184 (todos-insert-item-ask-date-maybe-notime-here)
185 (todos-insert-item-ask-date-for-diary)
186 (todos-insert-item-ask-date-for-diary-here)
187 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
188 (todos-insert-item-ask-dayname-time)
189 (todos-insert-item-ask-dayname-time-for-diary)
190 (todos-insert-item-ask-dayname-time-for-diary-here)
191 (todos-insert-item-ask-dayname-time-here)
192 (todos-insert-item-ask-dayname-maybe-notime)
193 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
194 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
195 (todos-insert-item-ask-dayname-maybe-notime-here)
196 (todos-insert-item-ask-dayname-for-diary)
197 (todos-insert-item-ask-dayname-for-diary-here)
198 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
199 (todos-insert-item-ask-time-for-diary)
200 (todos-insert-item-ask-time-for-diary-here)
201 (todos-insert-item-ask-time-here)
202 (todos-insert-item-maybe-notime)
203 (todos-insert-item-maybe-notime-for-diary)
204 (todos-insert-item-maybe-notime-for-diary-here)
205 (todos-insert-item-maybe-notime-here)
206 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
207 (todos-insert-item-here): Remove; all of these are now generated
208 on loading (some with the same name, most with other names.)
209 (todos-item-counts, todos-display-categories-alphabetically)
210 (todos-display-categories-sorted-by-todo)
211 (todos-display-categories-sorted-by-diary)
212 (todos-display-categories-sorted-by-done)
213 (todos-display-categories-sorted-by-archived): Comment out.
214 (todos-comment-string, todos-mode-line-function)
215 (todos-filter-function, todos-priorities-rules)
216 (todos-visit-files-commands, todos-categories-totals-label)
217 (todos-use-only-highlighted-region, todos-diary-nonmarking):
218 New defcustoms.
219 (todos-mark, todos-comment): New faces.
220 (todos-comment-face): Corresponding new variable.
221 (todos-categories-full, todos-global-current-todos-file)
222 (todos-first-visit, todos-insertion-commands-args-genlist)
223 (todos-insertion-commands-args, todos-insertion-commands-names)
224 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
225 (todos-top-priorities-widgets, todos-date-from-calendar)
226 (todos-item-mark, todos-categories-with-marks): New variables.
227 (todos-mode-line-control, todos-reset-global-current-todos-file)
228 (todos-gen-arglists, todos-insertion-command-name)
229 (todos-insertion-key-bindings, todos-unload-hook)
230 (todos-filter-items, todos-set-date-from-calendar)
231 (todos-comment-string-matcher, todos-after-find-file)
232 (todos-reset-nondiary-marker, todos-reset-done-string)
233 (todos-reset-comment-string, todos-show-current-file)
234 (todos-item-marked-p, todos-total-item-counts): New functions.
235 (todos-define-insertion-command): New macro.
236 (todos-toggle-mark-item, todos-mark-category)
237 (todos-unmark-category, todos-set-top-priorities)
238 (todos-merged-diary-items, todos-regexp-items)
239 (todos-merged-regexp-items, todos-custom-items)
240 (todos-merged-custom-items, todos-comment-done-item)
241 (todos-archive-category-done-items, todos-unarchive-items)
242 (todos-print-to-file): New commands.
243 (todos-done-separator): Change :set function.
244 (todos-done-string): Uncomment :initialize and :set functions.
245 (todos-files): Use file-truename.
246 (todos-show-current-file): Rename from
247 todos-auto-switch-todos-file and change :set function accordingly.
248 (todos-font-lock-keywords): Use todos-comment-string-matcher;
249 change names of other matcher functions to new *-matcher.
250 (todos-category-number): Change initial value.
251 (todos-insertion-map): Use todos-insertion-key-bindings to
252 generate key definitions.
253 (todos-mode-map): Don't suppress digit keys, so they can supply
254 prefix arguments; add new and change some existing bindings.
255 (todos-archive-mode-map): Change a key binding.
256 (todos-categories-mode-map): Comment out a key binding.
257 (todos-filter-items-mode-map): Rename from
258 todos-top-priorities-mode-map.
259 (todos-mode): Make todos-current-todos-file,
260 todos-categories-full, todos-categories, todos-first-visit,
261 todos-category-number, todos-show-done-only,
262 todos-categories-with-marks local variables and set them; add
263 todos-show-current-file to pre-command-hook, todos-after-find-file
264 to post-command-hook and todos-reset-global-current-todos-file to
265 kill-buffer-hook.
266 (todos-archive-mode): Make todos-current-todos-file,
267 todos-categories and todos-category-number local variables and set
268 them; add todos-after-find-file to post-command-hook.
269 (todos-raw-mode): New derived major mode.
270 (todos-categories-mode): Don't set font-lock-defaults and
271 buffer-read-only; make todos-current-todos-file and
272 todos-categories local variables and set them.
273 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
274 (todos-quit): Don't reset todos-categories on quitting
275 todos-categories-mode; handle quitting todos-filter-items-mode.
276 (todos-show): Simplify; when visiting an archive file switch to
277 corresponding Todos file; use todos-first-visit.
278 (todos-view-archived-items): Simplify; call todos-category-number.
279 (todos-show-archive): Rename from todos-switch-to-archive and
280 adjust callers; simplify.
281 (todos-toggle-display-date-time): Add optional argument to toggle
282 display in entire file.
283 (todos-top-priorities): Use todos-filter-items, which now contains
284 the previous core of this command.
285 (todos-merged-top-priorities, todos-diary-items):
286 Use todos-filter-items.
287 (todos-forward-category): Add optional argument to go to the
288 previous category.
289 (todos-backward-category): Use todos-forward-category.
290 (todos-jump-to-category): Refine implementation.
291 (todos-forward-item, todos-backward-item): Fix movement from todo
292 to done item and vice versa.
293 (todos-add-file): Remove argument and simplify.
294 (todos-rename-category): Use todos-current-todos-file and
295 todos-mode-line-function; set todos-categories with
296 todos-set-categories.
297 (todos-delete-category): Ask what to do if category has archived items.
298 (todos-raise-category): Ensure modified todos-categories is added
299 to file's categories sexp.
300 (todos-move-category): Improve implementation, especially handling
301 of archived categories.
302 (todos-merge-category): Tweak; set item counts.
303 (todos-insert-item): Improve handling of various argument values;
304 add new argument values to control marking of diary items and to
305 use region for item body.
306 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
307 (todos-delete-item, todos-edit-item-header): Handle marked items.
308 (todos-edit-item): Incorporate functionality of removed
309 todos-string-multiline-p.
310 (todos-edit-multiline): Use set-window-buffer instead of
311 switch-to-buffer.
312 (todos-edit-quit): Don't save on quitting; use todos-show instead
313 of todos-category-select.
314 (todos-raise-item-priority): Add argument to lower priority;
315 improve handling of top priority items in todos-filter-items-mode;
316 restore marks.
317 (todos-lower-item-priority): Use todos-raise-item-priority.
318 (todos-set-item-priority): Increment maximum number if item is new.
319 (todos-move-item): Handle marked items; delay changing category
320 moved from till after movement to avoid restoring if user cancels
321 before insertion.
322 (todos-item-done): Add optional argument to insert comment; fix
323 item counts and update sexp.
324 (todos-item-undo): Fix item counts and update.
325 (todos-archive-done-item-or-items): Rename from
326 todos-archive-done-items; add optional argument to archive all
327 items in category; handle marked items.
328 (todos-unarchive-category): Use todos-unarchive-items.
329 (todos-toggle-diary-inclusion): Incorporate functionality of
330 removed todos-toggle-item-diary-inclusion; handle marked items.
331 (todos-print): Add optional argument to print to file.
332 (todos-done-string-start): Don't use todos-nondiary-start.
333 (todos-date-string-matcher, todos-time-string-matcher)
334 (todos-done-string-matcher, todos-category-string-matcher): Rename
335 from *-match and adjust callers.
336 (todos-wrap-and-indent): Use set instead of setq for local variables.
337 (todos-prefix-overlays): Improve overlay handling.
338 (todos-reset-categories): Fix and complete implementation.
339 (todos-toggle-show-current-file): Rename from
340 todos-toggle-switch-todos-file-noninteractively.
341 (todos-category-select): Use todos-mode-line-function.
342 (todos-item-start): Comment out code used by removed function.
343 (todos-remove-item): Handle presence of both prefix/number and
344 mark overlays.
345 (todos-get-count): Simplify.
346 (todos-set-count): Change argument list and adjust callers; simplify.
347 (todos-set-categories): Handle new archive files; use
348 todos-categories-full and todos-ignore-archived-categories.
349 (todos-truncate-categories-list): Use todos-categories-full.
350 (todos-update-categories-sexp): Use kill-region instead of
351 kill-line; use todos-categories-full.
352 (todos-read-file-name): Add argument to require existing file and
353 adjust callers; use file-truename.
354 (todos-read-category): Remove argument to require existing
355 category and delegate it to completing-read in function body.
356 (todos-validate-category-name): Make empty string prompt only for
357 initial category name.
358 (todos-read-date): Use = instead of eq for testing if month = 13,
359 and if it is, set monthname to *.
360 (todos-display-categories): Use todos-global-current-todos-file;
361 use set-window-buffer instead of switch-to-buffer; add a line
362 showing item count totals.
363 (todos-padded-string): Use the longest of category name or label.
364 (todos-descending-counts): Rename from
365 todos-descending-counts-store and adjust users.
366 (todos-insert-category-line): Adjust format; use mapconcat; kill
367 buffer after jumping to category.
368
369 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
370
371 * calendar/todos.el Add and revise various doc strings, remove
372 further commented out code; add further comments; further code
373 rearrangement.
374 (todos-file-do, todos-archive-file, todos-mode-hook)
375 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
376 (todos-view-archive, todos-search-string)
377 (todos-jump-to-category-noninteractively, todos-initial-setup):
378 Remove.
379 (todos-files): Remove this defcustom.
380 (todos-initial-category, todos-display-categories-first)
381 (todos-auto-switch-todos-file, todos-default-todos-file)
382 (todos-categories-category-label, todos-categories-todo-label)
383 (todos-categories-diary-label, todos-categories-done-label)
384 (todos-categories-archived-label)
385 (todos-categories-number-separator, todos-categories-align)
386 (todos-ignore-archived-categories, todos-nondiary-marker):
387 New defcustoms.
388 (todos-prefix, todos-done-separator, todos-file-top)
389 (todos-categories-buffer, todos-archived-categories-buffer)
390 (todos-edit-buffer, todos-always-add-time-string, todos-button):
391 Change default value.
392 (todos-done-string): Add todos-reset-done-string as :set function,
393 but keep this commented out.
394 (todos-files, todos-archives, todos-insertion-map)
395 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
396 (todos-show-done-only, todos-date-string-start)
397 (todos-done-string-start): New variables.
398 (todos-files-directory, todos-files-function, todos-merged-files)
399 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
400 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
401 (todos-toggle-switch-todos-file-noninteractively)
402 (todos-switch-todos-file, todos-counts, todos-get-count)
403 (todos-set-count, todos-set-categories)
404 (todos-truncate-categories-list, todos-update-categories-sexp)
405 (todos-read-file-name, todos-sort, todos-display-sorted)
406 (todos-label-to-key, todos-insert-sort-button): New functions.
407 (todos-display-categories-sorted-by-todo)
408 (todos-display-categories-sorted-by-diary)
409 (todos-display-categories-sorted-by-done)
410 (todos-display-categories-sorted-by-archived)
411 (todos-update-merged-files, todos-switch-to-archive)
412 (todos-choose-archive, todos-merged-top-priorities)
413 (todos-jump-to-category-other-file, todos-clear-matches)
414 (todos-add-file, todos-change-default-file, todos-move-category)
415 (todos-merge-category, todos-merge-categories)
416 (todos-edit-item-time, todos-move-item-to-file)
417 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
418 (todos-toggle-diary-nonmarking): New commands.
419 (todos-toggle-show-done-only): New command replacing todos-view-archive.
420 (todos-faces): New defgroup; use in all face definitions.
421 (todos-sorted-column, todos-archived-only, todos-search): New faces.
422 (todos-font-lock-keywords): Use subexpression 1 with matcher
423 todos-category-string-match.
424 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
425 (todos-categories-mode-map): Add new key bindings; change some
426 existing bindings.
427 (todos-top-priorities-mode-map): New keymap.
428 (todos-menu): Add submenues and new entries.
429 (auto-mode-alist): Add extension of Todos and Todos archive files.
430 (todos-mode, todos-archive-mode): Make derived mode; use
431 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
432 and todos-switch-todos-file; make todos-show-done-only local
433 variable.
434 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
435 (todos-categories-mode): Make derived mode.
436 (todos-top-priorities-mode): New derived major mode.
437 (todos-save): Remove unused code.
438 (todos-quit): Handle todos-categories-mode; save archive buffer.
439 (todos-show): Add optional argument to prompt for a Todos file; if
440 called interactively or with prefix arg or from an archive, don't
441 make a no-op but reset todos-current-todos-file, todos-categories
442 and todos-category-number; use todos-read-file-name,
443 todos-display-categories-first, todos-ignore-archived-categories.
444 (todos-display-categories): Change argument name; refactor code
445 for inserting table labels and lines, using
446 todos-ignore-archived-categories, todos-sort,
447 todos-categories-number-separator, todos-insert-sort-button,
448 todos-categories-*-labels, and todos-insert-category-line.
449 (todos-display-categories-alphabetically): Use todos-display-sorted.
450 (todos-toggle-view-done-items): Use todos-done-string-start and
451 todos-get-count.
452 (todos-toggle-display-date-time): Use todos-done-string-start.
453 (todos-top-priorities): Remove autoload cookie; partially rewrite:
454 new argument list; allow combining top priorities of multiple
455 Todos files; change display to include category (and file) name as
456 part of item header; use todos-top-priorities-mode.
457 (todos-diary-items): Reimplement using only todos-top-priorities.
458 (todos-forward-category, todos-backward-category): Adjust to
459 1-based numbering of categories; move point to top of category.
460 (todos-jump-to-category): Rewrite, adding optional arguments to
461 provide a category in non-interactive uses and to prompt for which
462 Todos file to jump to.
463 (todos-search): Reimplement; highlight each match as found, say
464 how many matches remain and prompt whether to go to next one; at
465 end of search prompt whether to remove highlighting.
466 (todos-add-category): Remove autoload cookie; assign new category
467 the highest category number; associate zero-initialized vector of
468 item counts, instead of property list, with new category; use
469 todos-validate-category-name and todos-update-categories-sexp.
470 (todos-rename-category): Use todos-validate-category-name and
471 todos-update-categories-sexp; take archive files into account.
472 (todos-delete-category): Use todos-get-count and
473 todos-update-categories-sexp, let-bind variable that were
474 mistakenly global; use delete-region instead of kill-region;
475 adjust to 1-based numbering of categories; move point to top of
476 category.
477 (todos-raise-category): Handle item count vectors; use
478 todos-insert-category-line and todos-update-categories-sexp.
479 (todos-insert-item): Use nil time-string argument to omit time
480 string; use todos-nondiary-start and todos-nondiary-end and
481 todos-update-categories-sexp; if category named to insert into
482 does not exist, add it; take new diary items into account.
483 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
484 (todos-insert-item-ask-date-time-for-diary)
485 (todos-insert-item-ask-date-time-for-diary-here)
486 (todos-insert-item-ask-date-time-here)
487 (todos-insert-item-ask-date-maybe-notime)
488 (todos-insert-item-ask-date-maybe-notime-for-diary)
489 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
490 (todos-insert-item-ask-date-maybe-notime-here)
491 (todos-insert-item-ask-date-for-diary)
492 (todos-insert-item-ask-date-for-diary-here)
493 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
494 (todos-insert-item-ask-dayname-time)
495 (todos-insert-item-ask-dayname-time-for-diary)
496 (todos-insert-item-ask-dayname-time-for-diary-here)
497 (todos-insert-item-ask-dayname-time-here)
498 (todos-insert-item-ask-dayname-maybe-notime)
499 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
500 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
501 (todos-insert-item-ask-dayname-maybe-notime-here)
502 (todos-insert-item-ask-dayname-for-diary)
503 (todos-insert-item-ask-dayname-for-diary-here)
504 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
505 (todos-insert-item-ask-time-for-diary)
506 (todos-insert-item-ask-time-for-diary-here)
507 (todos-insert-item-ask-time-here)
508 (todos-insert-item-maybe-notime)
509 (todos-insert-item-maybe-notime-for-diary)
510 (todos-insert-item-maybe-notime-for-diary-here)
511 (todos-insert-item-maybe-notime-here)
512 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
513 New insertion commands.
514 (todos-insert-item-from-calendar): Use todos-current-todos-file.
515 (todos-delete-item): Handle diary items;
516 use todos-update-categories-sexp.
517 (todos-edit-item): Check if point is with item string;
518 use read-string instead of read-from-minibuffer;
519 use todos-date-string-start; after editing put point at start of
520 item text.
521 (todos-edit-multiline): Narrow to item before invoking
522 todos-edit-mode; show key binding of todos-edit-quit in a message.
523 (todos-edit-quit): Use todos-save; kill buffer.
524 (todos-edit-item-header): Add optional argument to prompt for
525 editing only date string or only time string;
526 use todos-date-string-start.
527 (todos-edit-item-date, todos-edit-item-date-is-today)
528 (todos-raise-item-priority, todos-lower-item-priority): Rename
529 from todos-{raise, lower}-item and make them DTRT in
530 todos-top-priorities-mode.
531 (todos-set-item-priority): Make interactive; use todos-get-count
532 and todos-insert-with-overlays; interactively, just relocate the
533 item within its category.
534 (todos-move-item): Add optional argument to prompt for a category
535 in another Todos file; handle diary items; fix restoration after
536 cancelling before inserting.
537 (todos-item-done): Handle diary items; simplify handling of
538 insertion in done items section.
539 (todos-item-undo): Handle diary items.
540 (todos-archive-done-items): Adjust to new handling of archive
541 files (in parallel with Todos files); handle diary items; use
542 todos-done-string-start.
543 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
544 todos-nondiary-end and todos-item-counts.
545 (todos-toggle-diary-inclusion): Use todos-category-done instead of
546 todos-category-end.
547 (todos-print): Remove autoload cookie; rewrite to make overlays,
548 line wrapping and wrap prefixes printable.
549 (todos-date-pattern): Make parenthesized groups shy.
550 (todos-date-string-match): Use todos-date-string-start; make
551 todos-date-pattern an explicitly numbered group.
552 (todos-time-string-match): Use todos-date-string-start.
553 (todos-done-string-match): Use todos-done-string-start.
554 (todos-category-string-match): Rewrite to match new category and
555 category+filename patterns in todos-top-priorities-mode.
556 (todos-prefix-overlays): Use todos-done-string-start and
557 todos-category-done.
558 (todos-reset-prefix): Handle archive files; restore point after
559 changing prefix.
560 (todos-reset-separator): Handle archive files.
561 (todos-category-number): Make category number one more than its
562 list index.
563 (todos-current-category): Adjust to 1-based numbering of categories.
564 (todos-category-select): Simplify handling of done items and done
565 separator string overlay.
566 (todos-item-start): Use todos-date-string-start and
567 todos-done-string-start.
568 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
569 (todos-item-string): Restore point after getting item bounds; use
570 buffer-substring-no-properties.
571 (todos-done-item-p): Use todos-done-string-start.
572 (todos-make-categories-list): Add optional argument to force
573 looping through file to get categories and their item counts,
574 otherwise set todos-categories from sexp in first line; use
575 vectors of item counts instead of plists; count diary items.
576 (todos-item-counts): Use todos-counts, todos-set-counts,
577 todos-get-counts, and todos-update-categories-sexp instead of
578 getting and setting properties; handle diary items.
579 (todos-read-category): Add argument to set prompt; don't offer
580 default category.
581 (todos-validate-category-name): Rename from
582 todos-check-category-name; take into account whether there are
583 already categories or not.
584 (todos-read-date): Accept `*' as an unspecified month, day, or year.
585 (todos-padded-string): Accommodate new structure of
586 todos-categories as alists; use todos-categories-align.
587 (todos-descending-counts-store): New variable.
588 (todos-insert-category-line): Rename from
589 todos-insert-category-name and reimplement using labels and
590 todos-get-counts instead of properties; use
591 todos-ignore-archived-categories; highlight sorted column.
592
593 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
594
595 * calendar/todos.el Remove lots of commented out code; add various
596 comments; further code rearrangement.
597 (todos-insert-item-here-ask-date-time)
598 (todos-insert-item-ask-date-time)
599 (todos-insert-item-ask-dayname-time)
600 (todos-insert-item-for-diary)
601 (todos-insert-item-for-diary-ask-date-time)
602 (todos-make-categories-alist, todos-categories-alist): Remove.
603 (todos-categories-list): Comment out.
604 (todos-make-categories-list): New function replacing
605 todos-make-categories-alist, using category plists to get item
606 counts and taking archive into account.
607 (todos-current-todos-file): New variable.
608 (todos-mode-map): Update key bindings.
609 (todos-save): Add as comment code to make sure todos-categories
610 sexp is current on saving.
611 (todos-quit): Call todos-show on quitting Todos archive buffer.
612 (todos-show): If todos-current-todos-file is not set to Todos
613 file, set it as a new file; set todos-categories from
614 todos-make-categories-alist.
615 (todos-display-categories): Use a different display format for
616 archive file; put point initially on the first button.
617 (todos-toggle-view-done-items): Check the category's `done'
618 property to determine if there are done items.
619 (todos-view-archive): Set todos-current-todos-file to the archive
620 file; jump from the Todos file to the same category in the
621 archive, if it exists, else jump to the first category; use
622 message instead of error.
623 (todos-add-category): Intern a special symbol for the new category
624 and set its property list to holds counts of the numbers of todo,
625 done and archived items in the category; assign the new category
626 the current highest category number.
627 (todos-rename-category): Don't use todos-categories-alist.
628 (todos-delete-category): Check the category's `todo' and `done'
629 properties to determine if it is empty; ensure that the end of the
630 last category is found; after deleting the category, empty its
631 plist and unintern its special symbol.
632 (todos-insert-item-here): Fix argument list of todos-insert-item.
633 (todos-delete-item, todos-raise-item, todos-lower-item):
634 Use message instead of error.
635 (todos-move-item): If the category to be moved to does not exist,
636 add it as a new category.
637 (todos-item-done, todos-reset-separator):
638 Use todos-category-select instead of todos-show.
639 (todos-archive-done-items): Make buffer writeable; conditionalize
640 search for end of category; save after adding to archive in case
641 the file is new, so it can be found.
642 (todos-category-select): Wrap search in if instead of or+and;
643 don't hide done items in an archive.
644 (todos-set-item-priority): Check the category's `todo'
645 property to determine if there are not done todo items.
646 (todos-jump-to-category-noninteractively): Just switch to buffer
647 visiting todos-current-todos-file, since this can be either a
648 Todos file or an archive.
649 (todos-item-counts): Use category's plist instead of an alist.
650 (todos-longest-category-name-length): Argument is now a list of
651 category names, not an alist, so just test each element, not each
652 element's the car.
653 (todos-padded-string): Use todos-categories instead of
654 todos-categories-alist.
655 (todos-insert-category-name): Use category plist to get item
656 counts; take archived items into account.
657
658 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
659
660 * calendar/todos.el: Numerous spelling and comment fixes, doc
661 string fixes to conform with checkdoc, further rearrangement of
662 definitions, etc.
663 (todos-previous-line, todos-previous-answer)
664 (todos-insert-item-ask-date, todos-change-date)
665 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
666 (todos-count-items-in-category, todos-count-all-items): Remove.
667 (todos-update-numbered-prefix, todos-item-start-overlays)
668 (todos-add-item-non-interactively): Comment out, also in uses.
669 (todos-done-separator): Change default value.
670 (todos-always-add-time-string): Rename from todos-add-time-string
671 and adjust uses.
672 (todos-read-category): Rename from todos-completing-read and
673 adjust callers; use todos-current-category.
674 (todos-make-categories-alist): Rename from function
675 todos-categories-alist.
676 (todos-categories-alist): New variable.
677 (todos-indent-to-here): New defcustom.
678 (todos-button): New face.
679 (todos-display-categories-alphabetically, todos-raise-category)
680 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
681 (todos-insert-item-here-ask-date-time)
682 (todos-insert-item-ask-date-time)
683 (todos-insert-item-ask-dayname-time): New commands.
684 (todos-edit-item-header): New command replacing todos-change-date.
685 (todos-category-number, todos-indent, todos-item-counts)
686 (todos-check-category-name, todos-read-date, todos-read-dayname)
687 (todos-read-time, todos-padded-string)
688 (todos-insert-category-name): New functions.
689 (todos-set-item-priority): New function replacing
690 todos-add-item-non-interactively.
691 (todos-mode-map): Remap newline to newline-and-indent.
692 (todos-edit-mode-map): Make sparse keymap; remap newline to
693 newline-and-indent.
694 (todos-categories-mode-map): New keymap.
695 (todos-mode, todos-edit-mode): Make indent-line-function local
696 variable and set to todos-indent.
697 (todos-categories-mode): New major mode.
698 (todos-display-categories): List categories initially in their
699 numerical order; add optional argument to switch to alphabetical
700 listing.
701 (todos-toggle-view-done-items): Simplify implementation.
702 (todos-toggle-display-date-time): Fix regexp search string.
703 (todos-backward-item, todos-forward-item): Use variable
704 todos-item-start.
705 (todos-add-category): Use todos-check-category-name and
706 todos-categories-alist.
707 (todos-rename-category): Use todos-current-category,
708 todos-check-category-name and todos-categories-alist.
709 (todos-delete-category): Use todos-check-category-name and
710 todos-categories-alist and take done items into account.
711 (todos-insert-item): Use separate arguments to handle insertion of
712 date/dayname and time strings, add new argument to mark item for
713 diary inclusion, use new todos-read-* functions,
714 todos-set-item-priority and todos-item-counts.
715 (todos-insert-item-here, todos-insert-item-for-diary)
716 (todos-insert-item-from-calendar): Adapt to new version of
717 todos-insert-item.
718 (todos-delete-item, todos-item-done): Use todos-item-counts.
719 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
720 char follows.
721 (todos-lower-item): Ensure only not-done items can be lowered.
722 (todos-move-item): Use todos-current-category, todos-read-category
723 and todos-item-counts.
724 (todos-archive-done-items): Use todos-current-category and
725 todos-item-counts; fix regexp search string.
726 (todos-item-undo): Use todos-current-category,
727 todos-set-item-priority, todos-insert-with-overlays and
728 todos-item-counts; restore if user quits before inserting undone
729 item.
730 (todos-date-pattern): Rewrite without using
731 todos-date-nodayname-pattern and todos-dayname-date-pattern.
732 (todos-date-string-match): Do not make todos-date-pattern an
733 unnumbered group.
734 (todos-time-string-match): Make todos-date-pattern a shy group.
735 (todos-wrap-and-indent): Use todos-indent-to-here.
736 (todos-reset-prefix): Revert to using todos-show instead of
737 todos-category-select.
738 (todos-prefix-overlays): Fix numbering of done items and updating
739 of prefix.
740 (todos-category-select): Use todos-current-category; fix display
741 of separator string; don't move point to top of category.
742 (todos-jump-to-category-noninteractively): Use todos-category-number.
743 (todos-insert-with-overlays): Use todos-item-start unconditionally.
744 (todos-item-start): New variable.
745 (todos-item-start): Use it to define this function.
746 (todos-item-end): Adjust if item is last unfinished one before
747 displayed done items.
748 (todos-remove-item): Use todos-item-start and todos-item-end
749 instead of todos-forward-item and todos-backward-item.
750 (todos-longest-category-name-length): Add argument for list of
751 categories.
752
753 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
754
755 * calendar/todos.el: Comment out calendar require, since diary-lib
756 requires calendar. Rearrange file to group definitions according
757 to their use (types of commands, internal functions, etc.)
758 (todos-file-done, todos-insert-threshold, todos-remove-separator)
759 (todos-date-string, todos-time-string, todos-check-overlay)
760 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
761 Comment out.
762 (todos-current-date, todos-item-end-overlays)
763 (todos-list-categories): Remove.
764 (todos-item-end): Remove (the variable, not the function).
765 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
766 callers.
767 (todos-done-separator, todos-done-string, todos-show-with-done)
768 (todos-files, todos-archive-file, todos-categories-buffer)
769 (todos-archived-categories-buffer, todos-wrap-lines)
770 (todos-line-wrapping-function): New defcustoms.
771 (todos-done, todos-done-sep): New faces.
772 (todos-done-face, todos-done-sep-face): Corresponding new variables.
773 (todos-search-string, todos-date-nodayname-pattern)
774 (todos-dayname-date-pattern, todos-date-pattern): New variables.
775 (todos-done-string-match, todos-category-string-match)
776 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
777 (todos-current-category, todos-count-items-in-category)
778 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
779 (todos-longest-category-name-length): New functions.
780 (todos-categories-list): New buffer-specific function replacing
781 todos-list-categories.
782 (todos-toggle-item-numbering, todos-toggle-view-done-items)
783 (todos-search, todos-view-archive, todos-diary-items)
784 (todos-toggle-display-date-time, todos-insert-item-no-time)
785 (todos-insert-item-ask-date, todos-insert-item-for-diary)
786 (todos-insert-item-from-calendar, todos-edit-quit)
787 (todos-change-date, todos-item-done, todos-archive-done-items)
788 (todos-item-undo): New commands.
789 (todos-archive-mode): New major mode.
790 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
791 (todos-category-beg): Change value.
792 (todos-number-prefix): Change default value.
793 (todos-edit-buffer): Change from defvar to defcustom.
794 (todos-font-lock-keywords): Use todos-done-string-match and
795 todos-category-string-match.
796 (todos-backward-item, todos-forward-item): Use todos-done-string
797 and todos-date-pattern.
798 (todos-display-categories): Reimplement using buttons from
799 button.el instead of widgets.
800 (todos-top-priorities): Use with-current-buffer; take done items
801 into account; ensure buffers gets fontified.
802 (todos-add-category): Ensure new category does not begin with
803 empty lines.
804 (todos-jump-to-category): Use todos-category-select instead of
805 todos-show.
806 (todos-rename-category): Prompt for new name in body instead of in
807 interactive spec.
808 (todos-insert-item): Don't insert in done items section of
809 category. Add two optional arguments to control insertion: (i) to
810 insert near point without prompting for priority; (ii) to use
811 defaults for date and time strings, to prompt for these, or to
812 choose date from the Calendar.
813 (todos-insert-item-here): Reimplement using todos-insert-item.
814 (todos-delete-item): Don't move point after deleting last item.
815 (todos-raise-item, todos-lower-item): Take done items into account.
816 (todos-move-item): Don't move done items; update item numbering;
817 restore if user quits before inserting moved item.
818 (todos-print): Prompt for confirmation to print.
819 (todos-reset-prefix): Search backward from end of file instead of
820 forward from top.
821 (todos-jump-to-category-noninteractively): Take Todos archive into
822 account.
823 (todos-category-select): Show or hide done items according to
824 todos-show-with-done; if shown, coordinate separator and prefix
825 overlays.
826 (todos-add-item-non-interactively): Replace binary insertion
827 algorithm with prompting for numerical priority.
828 (todos-insert-with-overlays): Remove use of variable todos-item-end.
829 (todos-item-start): Take done items into account; use
830 todos-date-pattern.
831 (todos-item-end): Reimplement using todos-forward-item.
832 (todos-remove-item): Reimplement using todos-forward-item and
833 todos-backward-item; redo overlay handling.
834 (todos-mode-map): Add some new key bindings and change numerous
835 existing bindings; use "i" as prefix key for item insertion
836 commands.
837 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
838 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
839 spec; set buffer-read-only to t and consequently let-bind this
840 variable in all Todos commands that change buffer content.
841 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
842 (todos-save): Don't save top priorities buffer.
843 (todos-show): Make a no-op if called interactively in narrowed
844 Todos mode, since, also to work around item prefix reduplication
845 bug with show-paren-mode enabled; use todos-categories-list.
846
847 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
848
849 * calendar/todos.el: Comment out time-stamp require; require
850 calendar and diary-lib.
851 (todos-prefix): Change default value and doc string to reflect new
852 meaning; add :initialize and :set functions.
853 (todos-time-string-format, todos-entry-prefix-function)
854 (todos-initials, todos-entry-timestamp-initials)
855 (todos-prefix-face, todos-category-sep, todos-category-end)
856 (todos-cp): Comment out.
857 (todos-prefix-string): Inherit from font-lock-comment-face.
858 (todos-item-header, todos-item-header-face): Remove.
859 (todos-date, todos-time): New faces.
860 (todos-date-face, todos-time-face): Corresponding new variables.
861 (todos-add-time-string, todos-include-in-diary)
862 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
863 New defcustoms.
864 (todos-item-end, todos-item-start-overlays)
865 (todos-item-end-overlays): New variables.
866 (todos-date-string-match, todos-time-string-match): New functions.
867 (todos-font-lock-keywords): Use them.
868 (todos-current-date, todos-date-string, todos-time-string)
869 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
870 (todos-reset-prefix, todos-update-numbered-prefix)
871 (todos-check-overlay, todos-item-overlays)
872 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
873 (todos-highlight-item): New command.
874 (todos-category-beg): Change value.
875 (todos-category-select): Use todos-category-beg and todos-item-overlays.
876 (todos-backward-item): Add optional count argument; use it and
877 todos-item-start.
878 (todos-forward-item): Use todos-check-overlay, todos-item-start
879 and variable todos-item-end.
880 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
881 todos-update-numbered-prefix, todos-item-overlays.
882 (todos-add-category, todos-rename-category)
883 (todos-list-categories): Use new category format.
884 (todos-delete-category): Allow deleting non-empty category;
885 use new category format.
886 (todos-add-item-non-interactively): Comment out unnecessary
887 save-excursion; use todos-insert-with-overlays.
888 (todos-insert-item): Comment out unnecessary save-excursion; use
889 new item format for date/time header and diary inclusion marking.
890 (todos-insert-item-here): Use new item format for date/time header
891 and diary inclusion marking; use todos-insert-with-overlays.
892 (todos-raise-item): Make a no-op if point is on an empty line; use
893 todos-insert-with-overlays.
894 (todos-lower-item): Use todos-insert-with-overlays.
895 (todos-top-priorities): Move call to todos-show inside
896 save-excursion; add save-current-buffer after save-restriction.
897 (todos-item-start): Use variable todos-item-end.
898 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
899 (todos-remove-item): Take item overlays into account.
900 (todos-mode): Change calculation of wrap-prefix; make
901 hl-line-range-function a local variable and set it to highlight
902 todo item.
903 (todos-show): Ensure point stays at top of category.
904
905 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
906
907 * calendar/todos.el (todos-window-configuration): Comment out.
908 (todos-display-categories): Comment out use of
909 todos-window-configuration; use switch-to-buffer instead of
910 pop-to-buffer.
911 (todos-jump-to-category-noninteractively): Comment out use of
912 todos-window-configuration.
913 (todos-edit-item): Don't allow editing of date/time item header.
914 (todos-insert-item, todos-insert-item-here): Insert date/time
915 header in front of new item string.
916 (todos-mode): Tweak wrap-prefix.
917
918 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
919
920 * calendar/todos.el (todos-file-do, todos-file-done):
921 Change default location to directory "~/.emacs.d/".
922 (todos-completion-ignore-case, todos-categories-buffer):
923 New defcustoms.
924 (todos-prefix-string, todos-item-header): New faces.
925 (todos-prefix-face, todos-item-header-face): Corresponding
926 new variables.
927 (todos-rename-category, todos-delete-category)
928 (todos-display-categories, todos-move-item): New commands.
929 (todos-mode-map): Add key bindings for new commands and for
930 todos-add-category, which had no key binding.
931 (todos-jump-to-category-noninteractively): New function.
932 (todos-top-priorities): Comment out code using a previously
933 deleted variable.
934 (todos-completing-read): Allow SPC to insert a space when entering
935 a new category name; use todos-completion-ignore-case.
936 (todos-font-lock-keywords, todos-window-configuration):
937 New variables.
938 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
939 word-wrap, and wrap-prefix local variables.
940
941 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
942
943 * calendar/todos.el (todos-list-categories): Fix typos.
944 (todos-show): Ensure file is in todos-mode.
945
946 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
947
948 * calendar/todos.el (todos-header): Remove defvar.
949 (todos-add-category): Comment out code that inserts and updates
950 the file local variables first line of the file todos-file-do.
951 (todos-list-categories): New function.
952 (todos-show): Use it; remove use of a previously deleted variable.
953
954 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
955
956 * calendar/todos.el: New file. This is a copy of todo-mode.el
957 from revision 94343 except for the following changes: replace all
958 occurrences of the namespace prefix "todo-" with "todos-", delete
959 the defvar todo-cats (the old name of todo-categories) and its use
960 in todos-add-category, delete all defaliases of old command names.
961
962 2012-09-11 Bastien Guerry <bzg@gnu.org>
963
964 * subr.el (set-temporary-overlay-map): Add a docstring.
965 (bug#12346)
966
967 2012-09-11 Bastien Guerry <bzg@gnu.org>
968
969 * minibuffer.el (completion-table-subvert): Fix docstring.
970 (bug#12347)
971
972 2012-09-11 Bastien Guerry <bzg@gnu.org>
973
974 * help-fns.el (describe-variable): Fix typo. (bug#12346)
975
976 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
977
978 * progmodes/sql.el: Version 3.1
979 (sql-db2-escape-newlines): New variable.
980 (sql-escape-newlines-filter): Use it.
981
982 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
983
984 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
985
986 2012-09-10 Dan Nicolaescu <dann@gnu.org>
987
988 * vc/diff-mode.el (diff-mode-menu): Bind
989 diff-remove-trailing-whitespace.
990
991 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
994 (emacs-lisp-byte-code-comment)
995 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
996 New functions.
997 (eval-sexp-add-defvars): Don't skip defvars in column >0.
998 (eval-defun-2): Remove bogus interactive spec.
999 (lisp-indent-line): Remove redundant whole-exp code, now done in
1000 indent-according-to-mode.
1001 (save-match-data): Remove redundant indent data.
1002
1003 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1004 Use `declare'.
1005
1006 2012-09-09 Juri Linkov <juri@jurta.org>
1007
1008 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1009 (replace-lax-whitespace, query-replace-regexp)
1010 (query-replace-regexp-eval, replace-regexp): Doc fix.
1011 (perform-replace, replace-highlight): Let-bind
1012 isearch-lax-whitespace to replace-lax-whitespace and
1013 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1014
1015 * isearch.el (isearch-query-replace): Let-bind
1016 replace-lax-whitespace to isearch-lax-whitespace and
1017 replace-regexp-lax-whitespace to
1018 isearch-regexp-lax-whitespace. (Bug#10885)
1019
1020 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1023
1024 2012-09-09 Alan Mackenzie <acm@muc.de>
1025
1026 * progmodes/cc-engine.el (c-state-cache-init):
1027 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1028 (c-record-parse-state-state):
1029 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1030
1031 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1032
1033 * register.el (register-separator): Rename from
1034 separator-register. All uses changed. Doc fix.
1035 (register): Fix version.
1036
1037 2012-09-09 Chong Yidong <cyd@gnu.org>
1038
1039 * replace.el (query-replace-map): Bind four new symbols for
1040 requesting window scrolling.
1041
1042 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1043 query-replace-map (Bug#8948).
1044
1045 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1046
1047 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1048 since they are now in query-replace-map.
1049
1050 * window.el (scroll-other-window-down): Make the arg optional.
1051
1052 2012-09-09 Chong Yidong <cyd@gnu.org>
1053
1054 * files.el (hack-local-variables-confirm): Use quit-window to kill
1055 the *Local Variables* buffer.
1056
1057 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1058
1059 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1060 not just expect to be at its beginning. Adjust callees.
1061 Succeed when do-end block has no space before the pipe character.
1062 (ruby-brace-to-do-end): When the original block is one-liner,
1063 convert to multiline. Reindent the result.
1064
1065 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1066
1067 * register.el (register): New group.
1068 (register-separator): New user option.
1069 (increment-register): Route it to `append-to-register', if
1070 register contains text. Implication is that `C-x r +' can now be
1071 used for appending to a text register (bug#12217).
1072 (append-to-register, prepend-to-register): Add separator based on
1073 `register-separator.
1074
1075 2012-09-08 Alan Mackenzie <acm@muc.de>
1076
1077 AWK Mode: make auto-newline work when there's "==" in the pattern.
1078 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1079 correctly.
1080 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1081 Test more rigorously for "=" token.
1082
1083 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1086 Only fail when reached LIMIT.
1087
1088 2012-09-08 Chong Yidong <cyd@gnu.org>
1089
1090 * dired.el (dired-mode-map): Don't bind M-=.
1091
1092 * dired-aux.el (dired-diff): Use backup file as default.
1093
1094 2012-09-08 Drew Adams <drew.adams@oracle.com>
1095
1096 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1097
1098 2012-09-08 Chong Yidong <cyd@gnu.org>
1099
1100 * subr.el (syntax-after, syntax-class): Doc fix.
1101
1102 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (display-buffer-in-previous-window): New buffer
1105 display action function.
1106
1107 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1108 (debugger-previous-window): New variable.
1109 (debug): Rewrite using display-buffer-in-previous-window,
1110 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1111
1112 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1115
1116 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1117
1118 * progmodes/python.el (python-shell-send-string):
1119 When default-directory is remote, create temp file on remote
1120 filesystem.
1121 (python-shell-send-file): When file is remote, pass local view of
1122 file paths to remote Python interpreter. (Bug#12340)
1123
1124 2012-09-07 Chong Yidong <cyd@gnu.org>
1125
1126 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1127
1128 * files.el (after-find-file): Don't fail on a read-only buffer if
1129 require-final-newline is `visit' or `visit-save' (Bug#11156).
1130
1131 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1132
1133 * userlock.el (ask-user-about-supersession-threat):
1134 Use read-char-choice (Bug#12093).
1135
1136 2012-09-07 Chong Yidong <cyd@gnu.org>
1137
1138 * subr.el (buffer-narrowed-p): New function.
1139
1140 * ses.el (ses-widen):
1141 * simple.el (count-words--buffer-message):
1142 * net/browse-url.el (browse-url-of-buffer): Use it
1143
1144 * simple.el (count-words-region): Don't signal an error if there
1145 is a non-nil prefix arg and the mark is not set.
1146
1147 * help.el (describe-key-briefly): Allow the message to be seen
1148 when invoked from the minibuffer (Bug#7014).
1149
1150 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1151
1152 * progmodes/ruby-mode.el (ruby-end-of-defun)
1153 (ruby-beginning-of-defun): Simplify, allow indentation before
1154 block beginning and end keywords.
1155 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1156 (ruby-end-of-defun): Expect that the point is at the beginning of
1157 the defun.
1158
1159 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1162 (bug#12367).
1163 (cl--make-usage-args): Strip _ from argument names.
1164
1165 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1166
1167 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1168 obsolete alias speedbar-key-map.
1169 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1170 (vhdl-index-menu-init): Don't use obsolete variable
1171 font-lock-maximum-size.
1172
1173 2012-09-06 Chong Yidong <cyd@gnu.org>
1174
1175 * frame.el (window-system-version): Mark as obsolete.
1176
1177 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1178 of obsolete variable speedbar-key-map.
1179
1180 2012-09-06 Juri Linkov <juri@jurta.org>
1181
1182 * replace.el (replace-lax-whitespace): New defcustom.
1183 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1184 (replace-string, replace-regexp): Mention it in docstrings.
1185 (perform-replace, replace-highlight): Let-bind
1186 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1187 to the values of replace-lax-whitespace and regexp-flag.
1188 Don't let-bind search-whitespace-regexp. (Bug#10885)
1189
1190 * isearch.el (isearch-query-replace): Let-bind
1191 replace-lax-whitespace instead of let-binding
1192 replace-search-function and replace-re-search-function.
1193 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1194 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1195 (isearch-toggle-symbol): Set isearch-regexp to nil
1196 in isearch-word mode (like in isearch-toggle-word).
1197
1198 2012-09-06 Juri Linkov <juri@jurta.org>
1199
1200 * replace.el (replace-search-function)
1201 (replace-re-search-function): Set default values to nil.
1202 (perform-replace): Let-bind isearch-related variables based on
1203 replace-related values, call `isearch-search-fun' and let-bind
1204 the result to `search-function'. Remove code that sets
1205 `search-function' and `search-string' separately for
1206 `delimited-flag'.
1207 (replace-highlight): Add new argument `delimited-flag' and
1208 rename other arguments to the names used in `perform-replace'.
1209 Let-bind `isearch-word' to the argument `delimited-flag'.
1210 (Bug#10885, bug#10887)
1211
1212 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1213
1214 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1215 ruby-beginning-of-indent, simplify, allow all keywords to have
1216 indentation before them.
1217 (ruby-beginning-of-indent): Adjust for above. Search until the
1218 found point is not inside a string or comment.
1219 (ruby-font-lock-keywords): Allow symbols to start with "@"
1220 character, give them higher priority than variables.
1221 (ruby-syntax-propertize-function)
1222 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1223 matchers. Expression expansions are not comments when inside a
1224 string, and there comment syntax status is irrelevant.
1225 (ruby-match-expression-expansion): New function. Check that
1226 expression expansion is inside a string, and it's not escaped.
1227 (ruby-font-lock-keywords): Use it.
1228
1229 2012-09-05 Martin Rudalics <rudalics@gmx.at>
1230
1231 * help.el (temp-buffer-max-height): New default value.
1232 (temp-buffer-resize-frames): New option.
1233 (resize-temp-buffer-window): Optionally resize frame.
1234
1235 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1236 (fit-frame-to-buffer): New function.
1237
1238 2012-09-05 Glenn Morris <rgm@gnu.org>
1239
1240 * emulation/cua-rect.el (cua--init-rectangles):
1241 * textmodes/picture.el (picture-mode-map):
1242 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1243 like forward-char and backward-char. (Bug#12317)
1244
1245 2012-09-05 Leo Liu <sdl.web@gmail.com>
1246
1247 * progmodes/flymake.el (flymake-warning-re): New variable.
1248 (flymake-parse-line): Use it.
1249
1250 2012-09-05 Glenn Morris <rgm@gnu.org>
1251
1252 * calendar/holidays.el (holiday-christian-holidays):
1253 Rename an entry. (Bug#12289)
1254
1255 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1258 (bug#12222).
1259
1260 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * loadup.el: Load macroexp. Remove hack.
1263 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1264 (macroexp--expand-all): Use it to get better warnings.
1265 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1266 (internal-macroexpand-for-load): New functions.
1267 (macroexp--pending-eager-loads): New var.
1268 (emacs-startup-hook): New hack to replace one in loadup.el.
1269 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1270 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1271 (cl-psetf): Simplify.
1272 (cl-defstruct): Add indent rule.
1273
1274 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1275
1276 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1277 over `user-mail-address' for the SMTP MAIL FROM envelope.
1278 (smtpmail-via-smtp): Ditto.
1279
1280 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * progmodes/ruby-mode.el: Clean up keybindings.
1283 (ruby-mode-map): Don't bind ruby-electric-brace,
1284 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1285 backward-kill-word, reindent-then-newline-and-indent.
1286 (ruby-mark-defun): Remove.
1287 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1288 (ruby-mode): Set local beginning-of-defun-function and
1289 end-of-defun-function values.
1290
1291 2012-09-03 Martin Rudalics <rudalics@gmx.at>
1292
1293 * window.el (temp-buffer-window-setup-hook)
1294 (temp-buffer-window-show-hook): New hooks.
1295 (temp-buffer-window-setup, temp-buffer-window-show)
1296 (with-temp-buffer-window): New functions.
1297 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1298 (special-display-popup-frame): Make sure the window used shows BUFFER.
1299
1300 * help.el (temp-buffer-resize-mode): Fix doc-string.
1301 (resize-temp-buffer-window): New optional argument WINDOW.
1302
1303 * files.el (recover-file, save-buffers-kill-emacs):
1304 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1305
1306 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1309 remote definition of `default-directory', ensure we can connect.
1310
1311 2012-09-02 Juri Linkov <juri@jurta.org>
1312
1313 Toggle whitespace matching mode with M-s SPC.
1314 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1315
1316 * isearch.el (search-whitespace-regexp): Doc fix.
1317 Remove cons cell customization.
1318 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1319 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1320 New variables.
1321 (isearch-forward, isearch-forward-regexp): Doc fix.
1322 (isearch-toggle-lax-whitespace): New command.
1323 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1324 (re-search-forward-lax-whitespace)
1325 (re-search-backward-lax-whitespace): New functions.
1326 (isearch-whitespace-regexp): Remove function.
1327 (isearch-query-replace): Let-bind replace-search-function and
1328 replace-re-search-function.
1329 (isearch-occur): Let-bind search-spaces-regexp according to the
1330 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1331 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1332 condition for C-q SPC.
1333 (isearch-search-fun-default): Use new functions mentioned above.
1334 (isearch-search-forward, isearch-search-backward): Remove functions.
1335 (isearch-search): Don't let-bind search-spaces-regexp.
1336 (isearch-lazy-highlight-space-regexp): Remove variable.
1337 (isearch-lazy-highlight-lax-whitespace)
1338 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1339 (isearch-lazy-highlight-new-loop): Use them.
1340 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1341
1342 2012-09-02 Chong Yidong <cyd@gnu.org>
1343
1344 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1345
1346 2012-09-02 Glenn Morris <rgm@gnu.org>
1347
1348 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1349
1350 2012-09-01 Glenn Morris <rgm@gnu.org>
1351
1352 * term.el: Tidy up menu definitions.
1353 (term-mode-map): Use easymenu for In/Out, Complete menus.
1354 (term-pager-break-map): Initialize in the defvar.
1355 (term-terminal-menu, term-signals-menu): Define with easymenu.
1356 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1357 (term-pager-menu): New, extracted from term-process-pager.
1358 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1359 (term-update-mode-line): Propertize line/char and page items.
1360 (term-process-pager): Move keymap initialization elsewhere.
1361
1362 2012-09-01 Martin Rudalics <rudalics@gmx.at>
1363
1364 * window.el (switch-to-prev-buffer): Handle additional values of
1365 BURY-OR-KILL argument. Don't switch in minibuffer window.
1366 (switch-to-next-buffer): Don't switch in minibuffer window.
1367 (quit-restore-window): New function based on quit-window.
1368 Handle additional values of former KILL argument.
1369 (quit-window): Call quit-restore-window with appropriate
1370 interpretation of KILL argument.
1371 (display-buffer-below-selected): New buffer display action
1372 function.
1373
1374 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * minibuffer.el (completion-at-point-functions): Complete docstring
1377 (bug#12254).
1378
1379 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1380
1381 Better seed support for (random).
1382 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1383 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1384 * play/mpuz.el, play/tetris.el, play/zone.el:
1385 * calc/calc-comb.el (math-init-random-base):
1386 * play/blackbox.el (bb-init-board):
1387 * play/life.el (life):
1388 * server.el (server-use-tcp):
1389 * type-break.el (type-break):
1390 Remove unnecessary call to (random t).
1391 * net/sasl.el (sasl-unique-id-function):
1392 Change (random t) to (random), now that the latter is more random.
1393 * play/life.el (life-initialized): Remove no-longer-needed var.
1394
1395 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1396
1397 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1398 Consider frame's buffer predicate when choosing the buffer.
1399 (Bug#12081)
1400
1401 2012-08-30 Richard Stallman <rms@gnu.org>
1402
1403 * simple.el (special-mode-map): Delete binding for `z'.
1404
1405 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1406
1407 * progmodes/compile.el (compilation-always-kill): Doc fix.
1408
1409 2012-08-30 Chong Yidong <cyd@gnu.org>
1410
1411 * window.el (display-buffer-reuse-frames): Make the obsolescence
1412 message more informative.
1413
1414 2012-08-30 Glenn Morris <rgm@gnu.org>
1415
1416 * paren.el (show-paren-delay):
1417 Add a :set function. Doc fix. (Bug#12297)
1418
1419 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1420
1421 * progmodes/compile.el (compilation-always-kill): New var.
1422 (compilation-start): Use it.
1423
1424 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1425
1426 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1427 * files.el (read-only-mode): Move to simple.el.
1428
1429 * files.el (read-only-mode): New minor mode.
1430 (toggle-read-only): Use it and mark obsolete.
1431 (find-file--read-only):
1432 * vc/vc.el (vc-next-action, vc-checkout):
1433 * vc/vc-cvs.el (vc-cvs-checkout):
1434 * obsolete/vc-mcvs.el (vc-mcvs-update):
1435 * ffap.el (ffap--toggle-read-only): Update callers.
1436
1437 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
1438
1439 * eshell/esh-ext.el (eshell-external-command): Do not examine
1440 remote shell scripts.
1441 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1442
1443 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1444 "/usr/local/sbin".
1445
1446 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1449
1450 2012-08-28 Leo Liu <sdl.web@gmail.com>
1451
1452 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1453 completion-at-point. (Bug#12220)
1454
1455 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1456
1457 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1458
1459 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1462 be buffer-local; add delete-trailing-whitespace (bug#12259).
1463
1464 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
1465
1466 * progmodes/hideif.el (hif-compress-define-list):
1467 Fix typo. (Bug#11951)
1468
1469 2012-08-28 Dan Nicolaescu <dann@gnu.org>
1470
1471 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1472 buffer local setting.
1473
1474 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1475 rcirc-encode-coding-system.
1476
1477 2012-08-28 Leo Liu <sdl.web@gmail.com>
1478
1479 * net/rcirc.el (rcirc-split-message): New function.
1480 (rcirc-send-message): Use it. (Bug#12051)
1481
1482 2012-08-28 Juri Linkov <juri@jurta.org>
1483
1484 * info.el (Info-fontify-node): Hide empty lines at the end of
1485 the node. (Bug#12272)
1486
1487 2012-08-27 Drew Adams <drew.adams@oracle.com>
1488
1489 * dired.el (dired-pop-to-buffer): Make window start at beginning
1490 of buffer (Bug#12281).
1491
1492 2012-08-26 Chong Yidong <cyd@gnu.org>
1493
1494 * window.el (special-display-regexps, special-display-frame-alist)
1495 (special-display-buffer-names, special-display-function)
1496 (display-buffer-reuse-frames): Mark as obsolete.
1497
1498 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1499
1500 * help.el (help-print-return-message): Don't treat
1501 display-buffer-reuse-frames specially.
1502
1503 2012-08-26 Chong Yidong <cyd@gnu.org>
1504
1505 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1506 New variable, replacing gdb-frame-parameters.
1507 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1508 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1509 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1510 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1511 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1512 the functions directly with gdb-display-buffer-other-frame-action.
1513 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1514 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1515 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1516 (gdb-display-registers-buffer): Define directly.
1517 (def-gdb-display-buffer): Macro deleted.
1518 (gdb-display-buffer): Remove second and third args, callers don't
1519 use them. Defer to the default display-buffer behavior, apart
1520 from making windows dedicated.
1521 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1522
1523 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1524
1525 * window.el (display-buffer-pop-up-frame): Handle a
1526 pop-up-frame-parameters alist entry.
1527 (display-buffer): Document it.
1528
1529 2012-08-26 Chong Yidong <cyd@gnu.org>
1530
1531 * isearch.el (search-whitespace-regexp): Make string and nil
1532 values apply to both ordinary and regexp search. Allow a cons
1533 cell value to distinguish between the two.
1534 (isearch-whitespace-regexp, isearch-search-forward)
1535 (isearch-search-backward): New functions.
1536 (isearch-occur, isearch-search-fun-default, isearch-search)
1537 (isearch-lazy-highlight-new-loop): Use them.
1538 (isearch-forward, isearch-forward-regexp): Doc fix.
1539
1540 2012-08-26 Chong Yidong <cyd@gnu.org>
1541
1542 * faces.el (help-argument-name): Always inherit from italic
1543 (Bug#12213).
1544
1545 2012-08-25 Martin Rudalics <rudalics@gmx.at>
1546
1547 * window.el (window--even-window-heights): Even heights when
1548 WINDOW and the selected window form a vertical combination.
1549 (display-buffer-use-some-window): Provide that window used gets
1550 sized back by quit-window. (Bug#11880) and (Bug#12091)
1551
1552 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1553
1554 Fix file time stamp problem with bzr and CVS (Bug#12001).
1555 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1556 in the file's time stamp, since the version control system loses
1557 that information.
1558
1559 2012-08-22 Juri Linkov <juri@jurta.org>
1560
1561 * info.el (Info-fontify-node): Hide the suffix of the
1562 Info file name in the header line. (Bug#12187)
1563
1564 2012-08-22 Glenn Morris <rgm@gnu.org>
1565
1566 * calendar/cal-tex.el (cal-tex-weekly-common):
1567 Restore leading blank page.
1568
1569 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
1570
1571 * misc.el (forward-to-word, backward-to-word): Activate or extend
1572 the region under `shift-select-mode'. (Bug#12231)
1573
1574 2012-08-22 Bastien Guerry <bzg@gnu.org>
1575
1576 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1577 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1578 gives details on why the space is never needed.
1579
1580 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1581
1582 * window.el (walk-window-tree, window-with-parameter):
1583 New optional argument MINIBUF to control whether these functions
1584 should run on the minibuffer window.
1585 (window-at-side-list): Don't operate on minibuffer window.
1586 (window-in-direction): Simplify and rewrite doc-string.
1587 (window--size-ignore): Rename to window--size-ignore-p.
1588 Update callers.
1589 (display-buffer-in-atom-window, window--major-non-side-window)
1590 (window--major-side-window, display-buffer-in-major-side-window)
1591 (delete-side-window, display-buffer-in-side-window):
1592 New functions.
1593 (window--side-check, window-deletable-p, delete-window)
1594 (delete-other-windows, split-window): Handle side windows and
1595 atomic windows appropriately.
1596 (window--display-buffer): Call display-buffer-record-window also
1597 when the window buffer did not change.
1598
1599 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1600
1601 * help-fns.el (help-fns--key-bindings):
1602 Abbreviate non-symbol remap targets. (Bug#12174)
1603
1604 2012-08-22 Martin Rudalics <rudalics@gmx.at>
1605
1606 * dired.el (dired-mark-remembered): Don't clobber point.
1607 (Bug#11795)
1608
1609 2012-08-22 Glenn Morris <rgm@gnu.org>
1610
1611 * progmodes/bug-reference.el (bug-reference): New custom group.
1612 (bug-reference-bug-regexp): Make it a defcustom.
1613
1614 2012-08-22 Daiki Ueno <ueno@unixuser.org>
1615
1616 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1617 (js-paren-indent-offset, js-square-indent-offset)
1618 (js-curly-indent-offset): Add :safe (Bug#12257).
1619
1620 2012-08-22 Edward O'Connor <hober0@gmail.com>
1621
1622 * json.el (json-key-format): Add error properties.
1623 (json-encode-key): New function.
1624 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1625 Use json-encode-key.
1626
1627 2012-08-22 Glenn Morris <rgm@gnu.org>
1628
1629 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1630 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1631 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1632 Update for above change.
1633
1634 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1635
1636 * cus-face.el (custom-face-attributes): Fix customize type for the
1637 :underline attribute. (Bug#11805)
1638
1639 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1640
1641 * window.el (window-point-1, set-window-point-1): Remove.
1642 (window-in-direction, record-window-buffer)
1643 (set-window-buffer-start-and-point, split-window-below)
1644 (window--state-get-1, display-buffer-record-window):
1645 Replace calls to window-point-1 and set-window-point-1 by calls to
1646 window-point and set-window-point respectively.
1647
1648 2012-08-21 Glenn Morris <rgm@gnu.org>
1649
1650 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1651 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1652 Use it.
1653
1654 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1655 (cal-tex-shortday): New function.
1656 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1657 (cal-tex-cursor-filofax-daily): Use the above.
1658
1659 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1660 New functions.
1661 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1662 (cal-tex-cursor-filofax-week): Use them.
1663
1664 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1665 New constants.
1666 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1667 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1668
1669 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1670 (cal-tex-end-document): Don't rely on buffer name.
1671
1672 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1673 Use cal-tex-vspace.
1674 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1675 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1676 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1677 Use cal-tex-arg.
1678
1679 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1680 (cal-tex-cursor-week, cal-tex-cursor-week2)
1681 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1682 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1683 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1684 (cal-tex-insert-preamble, cal-tex-b-document)
1685 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1686 Improve cal-tex-cmd usage.
1687
1688 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1689 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1690 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1691 (cal-tex-weekly-paper): New function.
1692 (cal-tex-cursor-week, cal-tex-cursor-week2)
1693 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1694 (cal-tex-cursor-day): Use it.
1695
1696 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1697 (cal-tex-cursor-filofax-week): Remove leading blank page.
1698
1699 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1700 Add autoload cookie. For now at least, don't use color, since
1701 no other cal-tex function does.
1702
1703 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1704 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1705 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1706
1707 2012-08-21 Juri Linkov <juri@jurta.org>
1708
1709 * info.el (Info-file-attributes): New variable.
1710 (info-insert-file-contents): Add file attributes to
1711 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1712 `Info-toc-nodes' when previous modtime of the Info file is less
1713 than new modtime.
1714 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1715 of info.el. (Bug#12230)
1716
1717 2012-08-20 Glenn Morris <rgm@gnu.org>
1718
1719 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1720 * calendar/holidays.el (calendar-holiday-list):
1721 Report errors with display-warning rather than beep'n'sleep.
1722
1723 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1724
1725 * net/tramp.el (tramp-accept-process-output): Accept only output
1726 from PROC. Otherwise, process filters and sentinels might be
1727 confused. (Bug#12145)
1728
1729 2012-08-20 Chong Yidong <cyd@gnu.org>
1730
1731 * descr-text.el (describe-text-properties-1): Use overlays-in to
1732 report on empty overlays (Bug#3322).
1733
1734 2012-08-20 Glenn Morris <rgm@gnu.org>
1735
1736 * mail/rmailout.el (rmail-output-read-file-name):
1737 Trap and report errors in rmail-output-file-alist elements.
1738
1739 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1740 since most non-font-lock faces are not also variables).
1741
1742 2012-08-20 Edward Reingold <reingold@iit.edu>
1743
1744 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1745 New function. (Bug12160)
1746
1747 2012-08-19 Glenn Morris <rgm@gnu.org>
1748
1749 * mail/rmailout.el (rmail-output-read-file-name):
1750 Fix previous change (when the alist is nil or does not match).
1751
1752 2012-08-19 Chong Yidong <cyd@gnu.org>
1753
1754 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1755 (Bug#12228).
1756
1757 2012-08-18 Chong Yidong <cyd@gnu.org>
1758
1759 * simple.el (yank-handled-properties): New defcustom.
1760 (yank-excluded-properties): Add font-lock-face and category.
1761 (yank): Doc fix.
1762
1763 * subr.el (remove-yank-excluded-properties):
1764 Obey yank-handled-properties. The special handling of font-lock-face
1765 and category is now done this way, instead of being hard-coded.
1766 (insert-for-yank-1): Remove font-lock-face handling.
1767 (yank-handle-font-lock-face-property)
1768 (yank-handle-category-property): New function.
1769
1770 2012-08-17 Glenn Morris <rgm@gnu.org>
1771
1772 * mail/rmailout.el (rmail-output-read-file-name):
1773 Check rmail-output-file-alist against the full message body
1774 in the correct rmail buffer. (Bug#12214)
1775
1776 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1779 Eliminate superfluous prompt. (Bug#12203)
1780
1781 2012-08-17 Chong Yidong <cyd@gnu.org>
1782
1783 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1784 font spec, set the font directly (Bug#3228).
1785
1786 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1787
1788 * window.el (delete-window): Fix last fix.
1789
1790 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1791
1792 * window.el (window-valid-p): Move to window.c.
1793 (window-child, window-child-count, window-last-child)
1794 (window-normalize-window, window-combined-p)
1795 (window-combinations, window-atom-root, window-min-size)
1796 (window-sizable, window-sizable-p, window-size-fixed-p)
1797 (window-min-delta, window-max-delta, window--resizable)
1798 (window--resizable-p, window-resizable, window-total-size)
1799 (window-full-height-p, window-full-width-p, window-body-size)
1800 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1801 (minimize-window, window-deletable-p, delete-window)
1802 (delete-other-windows, set-window-buffer-start-and-point)
1803 (next-buffer, previous-buffer, split-window, balance-windows-2)
1804 (set-window-text-height, window-buffer-height)
1805 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1806 (truncated-partial-width-window-p): Minor code adjustments.
1807 In doc-strings state whether the argument window has to denote a
1808 live, valid or any window.
1809
1810 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1811
1812 * progmodes/subword.el (subword-forward-function)
1813 (subword-backward-function, subword-forward-regexp)
1814 (subword-backward-regexp): New variables.
1815 (subword-forward, subword-forward-internal, subword-backward-internal):
1816 Use new variables, eg so that different "word" definitions
1817 can be easily used. (Bug#11411)
1818
1819 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1822 for composite selectors.
1823 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1824 operation just because we can't find a previous revision.
1825
1826 2012-08-15 Chong Yidong <cyd@gnu.org>
1827
1828 * frame.el (set-frame-font): Accept font objects.
1829
1830 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1833
1834 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1835
1836 * man.el (Man-overstrike-face, Man-underline-face)
1837 (Man-reverse-face): Remove variables.
1838 (Man-overstrike, Man-underline, Man-reverse): New faces.
1839 (Man-fontify-manpage): Use them instead of the variables.
1840 (Man-cleanup-manpage): Comment change.
1841 (Man-ansi-color-map): New variable.
1842 (Man-fontify-manpage): Use it.
1843 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1844
1845 Implement ANSI SGR parameters 22-27 (bug#12146).
1846 * ansi-color.el (ansi-colors): Doc fix.
1847 (ansi-color-context, ansi-color-context-region): Doc fix.
1848 (ansi-color--find-face): New function.
1849 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1850 Rename the local variable `face' to `codes' since it is now a list of
1851 ansi codes. Doc fix.
1852 (ansi-color-get-face): Remove.
1853 (ansi-color-parse-sequence): New function, derived from
1854 ansi-color-get-face.
1855 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1856 codes 22-27.
1857
1858 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1859
1860 * subr.el (read-passwd): Allow use from a minibuffer.
1861
1862 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1863
1864 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1865 inside comments and strings as identifiers.
1866
1867 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1868 expression to evaluate. This allows to evaluate expressions with
1869 embedded whitespace.
1870 (gud-tooltip-tips): Add a blank before the newline in the
1871 message-box text, for the benefit of message-box emulation on
1872 MS-Windows.
1873
1874 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1875 messages from GDB, pop them up in a tooltip to give feedback to
1876 user.
1877 (gdb-tooltip-print-1): Quote the expression to evaluate.
1878 This allows to evaluate expressions with embedded whitespace.
1879 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1880 if the TTY name is nil or empty (which happens when communicating
1881 with the inferior via pipes, e.g. on MS-Windows).
1882 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1883 don't send that to the GUD buffer.
1884
1885 2012-08-14 Glenn Morris <rgm@gnu.org>
1886
1887 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1888 Optimize away setq-default with no args, as for setq. (Bug#12195)
1889
1890 2012-08-14 Chong Yidong <cyd@gnu.org>
1891
1892 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1893
1894 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1895 (Bug#12085).
1896
1897 2012-08-14 Glenn Morris <rgm@gnu.org>
1898
1899 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1900
1901 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1904 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1905 Use cached shell name.
1906
1907 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1908
1909 * progmodes/python.el (python-shell-send-string):
1910 (python-shell-send-setup-code): Do not use `format' with `message'.
1911
1912 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1913
1914 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1915 (ruby-percent-literal-beg-re): New constant.
1916 (ruby-syntax-general-delimiters-goto-beg): Rename to
1917 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1918 (ruby-syntax-propertize-general-delimiters): Rename to
1919 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1920 popular term. Adjust comments everywhere.
1921 (ruby-syntax-propertize-percent-literal): Only propertize when not
1922 inside a simple string or comment. When the literal is unclosed,
1923 leave the text after it unpropertized.
1924 (ruby-syntax-methods-before-regexp): New constant.
1925 (ruby-syntax-propertize-function): Use it to recognize regexps.
1926 Don't look at the text after regexp, just use the whitelist.
1927
1928 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1929
1930 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1931 non-nil always load the compiled file if it exists. (Bug#12197)
1932
1933 2012-08-14 Chong Yidong <cyd@gnu.org>
1934
1935 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1936 (hi-lock-set-pattern): When deciding whether to use font lock or
1937 overlays, look at font-lock-mode instead of font-lock-fontified
1938 (Bug#12168).
1939 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1940 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1941
1942 2012-08-14 Daiki Ueno <ueno@unixuser.org>
1943
1944 * subr.el (internal--after-with-selected-window): Fix typo
1945 (Bug#12193).
1946
1947 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1948
1949 Use `completion-table-dynamic' for completion functions.
1950 * progmodes/python.el
1951 (python-shell-completion--do-completion-at-point)
1952 (python-shell-completion--get-completions):
1953 Remove functions.
1954 (python-shell-completion-complete-at-point): New function.
1955 (python-completion-complete-at-point): Use it.
1956
1957 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
1958
1959 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1960 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1961
1962 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * subr.el (function-get): Refine `autoload' arg so it can also
1965 autoload functions for gv.el (bug#12191).
1966 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1967 autoloads macros.
1968
1969 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1970 Prefer pcase-let over destructuring-bind.
1971 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1972 Also, remove whitespace as we go, rather than after accumulating the
1973 various places.
1974
1975 * subr.el (internal--before-with-selected-window)
1976 (internal--after-with-selected-window): Fix typo seleted->selected.
1977 (with-selected-window): Adjust callers.
1978 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1979
1980 2012-08-13 Bastien Guerry <bzg@gnu.org>
1981
1982 * window.el (special-display-popup-frame): Minor docstring
1983 enhancement. (Bug#12172)
1984
1985 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1986
1987 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1988 type 1-6.
1989 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1990 extended headers.
1991
1992 * files.el (hack-local-variables-filter): Remove useless eval.
1993
1994 2012-08-13 Martin Rudalics <rudalics@gmx.at>
1995
1996 * subr.el (with-selected-window): Fix last change.
1997
1998 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * subr.el (internal--before-with-seleted-window)
2001 (internal--after-with-seleted-window): New functions.
2002 (with-selected-window): Use them, to replace dependency on
2003 tty-top-frame.
2004
2005 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2006
2007 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2008 binding for `newline'.
2009 (ruby-move-to-block): When moving backward, stop at block opening,
2010 not indentation.
2011 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2012 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2013 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2014 `ruby-toggle-block'.
2015
2016 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * ibuffer.el (ibuffer-do-toggle-read-only):
2019 * dired.el (dired-toggle-read-only):
2020 * buff-menu.el (Buffer-menu-toggle-read-only):
2021 * bindings.el (mode-line-toggle-read-only):
2022 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2023
2024 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2025
2026 * descr-text.el (describe-char): Put the overlays over the
2027 "displayed as" character.
2028
2029 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2030
2031 * calc/calc-units.el (math-default-units-table): Give an
2032 initial value.
2033 (math-put-default-units): Add options to put composite units and
2034 unit systems in the default units table.
2035 (calc-convert-units): Send composite units to
2036 `math-put-default-units' when appropriate.
2037
2038 2012-08-11 Glenn Morris <rgm@gnu.org>
2039
2040 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2041
2042 * tutorial.el (help-with-tutorial):
2043 * emacs-lisp/copyright.el (copyright-update-directory):
2044 * emacs-lisp/autoload.el (autoload-find-generated-file)
2045 (autoload-find-file): Disable local eval: (for insurance).
2046
2047 * files.el (hack-local-variables-filter): If an eval: form is not
2048 known to be safe, and enable-local-variables is :safe, then ignore
2049 the form totally, as is done for non-eval forms. (Bug#12155)
2050 This is CVE-2012-3479.
2051
2052 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2053
2054 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2055 (rx-form): Simplify.
2056
2057 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2058
2059 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2060 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2061 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2062 (ruby-syntax-propertize-function): Adjust for changes in
2063 `ruby-syntax-propertize-heredoc'.
2064
2065 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2066
2067 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2068 binding (use `M-;' instead).
2069 (ruby-singleton-class-p): New function.
2070 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2071
2072 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2075
2076 2012-08-10 Chong Yidong <cyd@gnu.org>
2077
2078 * progmodes/python.el (python-shell-get-process-name): Don't mess
2079 with same-window-buffer-names.
2080
2081 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2082 (eshell-remove-from-window-buffer-names): Make obsolete.
2083 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2084 (eshell): Just use pop-to-buffer-same-window instead.
2085
2086 2012-08-10 Chong Yidong <cyd@gnu.org>
2087
2088 * bindings.el: Bind M-= back to count-words-region.
2089
2090 * simple.el (count-words-region): Accept a prefix arg for acting
2091 on the entire buffer.
2092 (count-words--buffer-message): New helper function.
2093
2094 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2095
2096 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2097 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2098 (event-start, event-end): Use posn-at-point to return a more
2099 informative posn.
2100 (posnp): New function.
2101 * mouse.el (popup-menu-normalize-position): Use it.
2102
2103 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2104
2105 * mouse.el (popup-menu-normalize-position): New function.
2106 (popup-menu): Use `popup-menu-normalize-position' to normalize
2107 the form for POSITION argument.
2108
2109 * term/x-win.el (x-menu-bar-open):
2110 Use the value returend from (posn-at-point) as position
2111 passed to `popup-menu'.
2112
2113 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2114
2115 * calc/calccomp.el (math-compose-expr): Add extra argument
2116 indicating that parentheses should be put around products in
2117 denominators. Give multiplication precedence over division during
2118 composition.
2119
2120 2012-08-09 Chong Yidong <cyd@gnu.org>
2121
2122 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2123 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2124 (Man-untabify-command, manual-program): Convert to defcustom
2125 (Bug#10429).
2126
2127 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2128
2129 * descr-text.el (describe-char): Don't insert extra newlines
2130 (Bug#10127).
2131
2132 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2133 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2134
2135 * align.el (align-region): Delete temporary markers (Bug#10047).
2136 Plus some code cleanups.
2137
2138 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2139
2140 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2141 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2142 (python-shell-internal-last-output): Use make-local-variable
2143 instead of make-variable-buffer-local.
2144
2145 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2146
2147 * progmodes/python.el: Enhancements to forward-sexp.
2148 (python-nav-forward-sexp): Rename from
2149 python-nav-forward-sexp-function.
2150 (python-nav--forward-sexp, python-nav--backward-sexp):
2151 New functions.
2152
2153 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2154
2155 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2156 modes and simplification modes.
2157
2158 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * delsel.el (delete-selection-pre-hook): Don't propagate the
2161 file-supersession signals (bug#12161).
2162
2163 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2164
2165 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2166 (cl-map-extents): Add compatibility aliases (bug#12135).
2167
2168 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2171 tests by `ignore-error'.
2172 (tramp-find-shell): Open also a new shell, when cache is already
2173 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2174
2175 2012-08-08 Juri Linkov <juri@jurta.org>
2176
2177 * bookmark.el: Add `defaults' property to the bookmark record.
2178 (bookmark-current-buffer): Doc fix.
2179 (bookmark-make-record): Add `defaults' property with default values
2180 to the bookmark record.
2181 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2182 with `bookmark-insert-current-bookmark'.
2183 (bookmark-set): Get `defaults' property from the bookmark record
2184 and use it in `read-from-minibuffer'.
2185 (bookmark-insert-current-bookmark): Remove function.
2186
2187 * info.el (Info-bookmark-make-record): Add `defaults' property
2188 with values of canonical Info node name, the current Info file
2189 name and the current Info node name. (Bug#12107)
2190
2191 2012-08-08 Juri Linkov <juri@jurta.org>
2192
2193 * files.el (basic-save-buffer): Use `buffer-name' as the default
2194 of `read-file-name' when buffer is not visiting a file (bug#12128).
2195
2196 2012-08-08 Juri Linkov <juri@jurta.org>
2197
2198 * info.el (Info-isearch-search): Doc fix.
2199 (Info-search): Change search-failed message from "initial node" to
2200 "end of node" (bug#12078).
2201 (Info-isearch-search): Change `isearch-string-state' to
2202 `isearch--state-string'.
2203
2204 2012-08-08 Glenn Morris <rgm@gnu.org>
2205
2206 * language/persian.el: Remove file.
2207 * language/misc-lang.el: Move unique part of persian.el here.
2208 * loadup.el: Remove language/persian.
2209
2210 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2211
2212 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2213
2214 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2215
2216 * progmodes/python.el Fixed defsubst warning.
2217 (python-syntax-context) Rename from python-info-ppss-context.
2218 (python-syntax-context-type): Rename from
2219 python-info-ppss-context-type.
2220 (python-syntax-comment-or-string-p): Rename from
2221 python-info-ppss-comment-or-string-p.
2222
2223 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2224
2225 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2226
2227 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2228
2229 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2230 a defcustom that is quoted with backquote.
2231
2232 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2233 Fix handling of interactive spec when the body uses return.
2234 (math-do-arg-check, math-define-function-body): Use backquote forms.
2235 * calc/calc-ext.el (math-defcache): Likewise.
2236 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2237 * allout.el (allout-new-exposure): Likewise.
2238 * calc/calcalg2.el (math-tracing-integral): Likewise.
2239 * info.el (Info-last-menu-item): Likewise.
2240 * emulation/vip.el (vip-loop): Likewise.
2241 * textmodes/artist.el (artist-funcall): Likewise.
2242 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2243 Construct menu-item directly.
2244
2245 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2246 Don't declare.
2247
2248 2012-08-07 Chong Yidong <cyd@gnu.org>
2249
2250 * simple.el (deactivate-mark): Preserve text properties when
2251 saving the primary selection (Bug#8384).
2252
2253 2012-08-07 Kevin Ryde <user42@zip.com.au>
2254
2255 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2256 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2257 and continue processing (Bug#12110).
2258
2259 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2262 syntax-propertize-function (bug#10095).
2263
2264 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2267 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2268 describe-function-1.
2269 (describe-function-1): Use them. Move compiler macro after sig.
2270 (help-fns--compiler-macro): Use function-get. Assume we're already in
2271 standard-output. Adjust layout to new call order.
2272
2273 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2274 re-binding a symbol that has a symbol-macro (bug#12119).
2275
2276 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2277
2278 * language/persian.el: New file. (Bug#11812)
2279 * loadup.el: Add language/persian.el.
2280
2281 2012-08-06 Chong Yidong <cyd@gnu.org>
2282
2283 * window.el (window--maybe-raise-frame): New function.
2284 (window--display-buffer): Split off from here.
2285 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2286 (display-buffer-pop-up-window, display-buffer-use-some-window):
2287 Obey an inhibit-switch-frame action alist entry.
2288 (display-buffer): Update doc.
2289
2290 * replace.el (occur-after-change-function): Avoid losing focus by
2291 using the inhibit-switch-frame display parameter (Bug#12139).
2292
2293 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2294
2295 Make internal shell process buffer names start with space.
2296 * progmodes/python.el (python-shell-make-comint): Add optional
2297 argument INTERNAL.
2298 (run-python-internal): Use it.
2299 (python-shell-internal-get-or-create-process): Check for new
2300 internal buffer names.
2301
2302 2012-08-06 Glenn Morris <rgm@gnu.org>
2303
2304 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2305 Do less getting and setting of environment variables.
2306
2307 2012-08-05 Chong Yidong <cyd@gnu.org>
2308
2309 * proced.el (proced): Add substitution string to docstring to
2310 trigger autoloading of the proced library on C-h f (Bug#1768).
2311
2312 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2313 Don't show defvars which have no second argument (Bug#8638).
2314
2315 * imenu.el (imenu-generic-expression): Move documentation here
2316 from imenu--generic-function.
2317 (imenu--generic-function): Refer to imenu-generic-expression.
2318
2319 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
2320
2321 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2322 indentation declaration.
2323 (viper-loop): Add indentation declaration (Bug#7025).
2324
2325 2012-08-05 Chong Yidong <cyd@gnu.org>
2326
2327 * help-fns.el (describe-variable): Add hyperlink for
2328 directory-local variables files. Improve buffer-local and
2329 permanent-local reporting; suggested by MON KEY (Bug#6644).
2330
2331 * help-mode.el (help-dir-local-var-def): New button type.
2332
2333 * files.el (kill-buffer-hook): Provide a defvar.
2334
2335 2012-08-05 Glenn Morris <rgm@gnu.org>
2336
2337 * eshell/esh-ext.el (eshell/addpath):
2338 Also update eshell-path-env. (Bug#12013)
2339
2340 2012-08-05 Chong Yidong <cyd@gnu.org>
2341
2342 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2343
2344 * fringe.el (fringe-styles): Add docstring.
2345 (fringe--check-mode): New function.
2346 (set-fringe-mode, set-fringe-style): Use it.
2347 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2348
2349 * files.el (set-auto-mode): Fix invalid setq call.
2350
2351 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * isearch.el: Misc simplification; use defstruct.
2354 (isearch-mode-map): Dense maps now work like sparse ones.
2355 (isearch--state): New defstruct.
2356 (isearch-string-state, isearch-message-state, isearch-point-state)
2357 (isearch-success-state, isearch-forward-state)
2358 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2359 (isearch-wrapped-state, isearch-barrier-state)
2360 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2361 replaced by defstruct's accessors.
2362 (isearch--set-state): Rename from isearch-top-state and change
2363 calling convention.
2364 (isearch-push-state): Use new isearch--get-state.
2365 (isearch-toggle-word): Disable regexp when enabling word.
2366 (isearch-message-prefix): Remove unused arg _c-q-hack.
2367 (isearch-message-suffix): Remove unused arg _ellipsis.
2368
2369 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2370
2371 * simple.el (list-processes--refresh): For a server use :host or
2372 :local as the address.
2373 (list-processes): Doc fix.
2374
2375 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
2376
2377 * lisp/mpc.el: Support password in host argument.
2378 (mpc--proc-connect): Parse and use new password element.
2379 Set mpc-proc variable instead of returning process.
2380 (mpc-proc): Adjust accordingly.
2381
2382 2012-08-03 Eli Zaretskii <eliz@gnu.org>
2383
2384 * whitespace.el (whitespace-display-mappings): Use Unicode
2385 codepoints, instead of emacs-mule codepoints. See
2386 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2387 for the details.
2388
2389 * files.el (file-truename): Don't skip symlink-chasing part on
2390 windows-nt. Incorporate the resolution of 8+3 short aliases on
2391 Windows into the loop that recursively chases symlinks.
2392 Compare directory and its parent case-insensitively on MS-Windows and
2393 MS-DOS.
2394
2395 2012-08-03 Chong Yidong <cyd@gnu.org>
2396
2397 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2398
2399 * sort.el (sort-regexp-fields): Doc fix.
2400
2401 2012-08-03 Tassilo Horn <tsdh@gnu.org>
2402
2403 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2404 labels regex position point at the expected place.
2405
2406 2012-08-03 MON KEY <monkey@sandpframing.com>
2407
2408 * net/imap.el (imap-interactive-login, imap-authenticate)
2409 (imap-mailbox-lsub, imap-mailbox-list)
2410 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2411 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2412 (imap-parse-response): Doc fix.
2413
2414 2012-08-03 João Távora <joaotavora@gmail.com>
2415
2416 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2417 if sexp scanning does not move point (Bug#5734).
2418
2419 2012-08-02 Tassilo Horn <tsdh@gnu.org>
2420
2421 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2422 Add listings, minted, and ctable packages.
2423 (reftex-label-alist-builtin): Move listings, minted, and ctable
2424 entries before LaTeX.
2425 (reftex-label-alist): Docfix.
2426
2427 2012-08-02 Bastien Guerry <bzg@gnu.org>
2428
2429 * replace.el (occur): Fix docstring (bug#12122).
2430
2431 2012-08-02 Glenn Morris <rgm@gnu.org>
2432
2433 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2434
2435 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2436
2437 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2438 * international/mule-cmds.el: Create
2439 inactivate-current-input-method-function as an obsolete alias for
2440 deactivate-current-input-method-function. See Katsumi Yamaoka in
2441 <http://bugs.gnu.org/10150#46>.
2442
2443 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2444
2445 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2446 of nested `if's.
2447
2448 2012-08-01 Glenn Morris <rgm@gnu.org>
2449
2450 * progmodes/autoconf.el (autoconf-definition-regexp):
2451 Add AH_TEMPLATE, adjust submatch numbering.
2452 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2453 (autoconf-current-defun-function): Update for above change.
2454 (autoconf-current-defun-function): First skip to end of current word.
2455
2456 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2457
2458 * calendar/cal-html.el (cal-html-insert-agenda-days):
2459 Fix typo. (Bug#12018)
2460
2461 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2462
2463 Shell processes: enhancements to startup and CEDET compatibility.
2464 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2465 (python-shell-make-comint): accept-process-output at startup.
2466 (run-python-internal): Set inferior-python-mode-hook to nil.
2467 (python-shell-internal-get-or-create-process): call sit-for.
2468 (python-preoutput-result): Add obsolete alias.
2469 (python-shell-internal-send-string): Use it.
2470 (python-shell-send-setup-code): Remove call to
2471 accept-process-output.
2472
2473 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2474
2475 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2476 (Bug#12108)
2477
2478 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2479
2480 * calc-mode.el (calc-basic-simplification-mode): Rename from
2481 `calc-limited-simplification-mode'.
2482 (calc-alg-simplification-mode): New function.
2483 (calc-set-simplify-mode): Adjust message.
2484
2485 * calc.el (calc-set-mode-line): Adjust mode line display for
2486 basic simplification mode.
2487
2488 * calc-help.el (calc-m-prefix-help): Update help message.
2489
2490 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2491 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2492
2493 2012-07-31 Bastien Guerry <bzg@gnu.org>
2494
2495 * man.el (man): Fix comment. (bug#12101)
2496
2497 2012-07-31 Martin Rudalics <rudalics@gmx.at>
2498
2499 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2500 Don't return a non-nil value when no suitable buffer was found.
2501
2502 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2503
2504 * progmodes/python.el (run-python-internal): Disable font lock for
2505 internal shells.
2506
2507 2012-07-30 Stefan Merten <smerten@oekonux.de>
2508
2509 * rst.el: Silence `checkdoc-ispell'.
2510 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2511 (rst-official-version, rst-official-cvs-rev)
2512 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2513 (rst-mode-map): New key binding.
2514
2515 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2516
2517 Update .PHONY listings in makefiles.
2518 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2519 autoloads, update-subdirs, updates, bzr-update, update-authors,
2520 compile-onefile, compile-calc, backup-compiled-files,
2521 compile-after-backup, compile-one-process, mh-autoloads,
2522 bootstrap-clean, distclean, maintainer-clean.
2523
2524 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2525
2526 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2527 (calc-set-mode-line): Don't display "AlgSimp ".
2528
2529 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2530 (calc-lim-simplify-mode): New function.
2531 (calc-set-simplify-mode): Default to 'alg.
2532 (calc-default-simplify-mode): Make algebraic simplifications
2533 the default.
2534
2535 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2536 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2537
2538 * calc/calc-help.el (calc-m-prefix-help): Change messages to
2539 indicate new simplification modes.
2540
2541 * calc/README: Mention new default simplification mode.
2542
2543 * calc/calc.el (math-normalize-error): New variable.
2544 (math-normalize): Set `math-normalize-error' to t
2545 when there's an error.
2546
2547 * calc/calc-alg.el (math-simplify): Don't simplify when
2548 `math-normalize' returns an error.
2549
2550 2012-07-29 Eli Zaretskii <eliz@gnu.org>
2551
2552 * international/mule-cmds.el (set-locale-environment): Revert last
2553 change, since display-graphic-p returns nil when this function is
2554 called during startup. Instead...
2555
2556 * term/w32console.el (terminal-init-w32console): ...setup the
2557 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2558
2559 2012-07-29 Juri Linkov <juri@jurta.org>
2560
2561 * simple.el (goto-line): Don't display default line number in the
2562 prompt because it should be displayed by `read-number' (bug#9952).
2563 Add the current line number to the defaults of `goto-line' to
2564 allow its easier modification by users with `M-n' (bug#9201).
2565
2566 * subr.el (read-number): Support multiple default values like in
2567 other minibuffer reading functions. Replace `read' with
2568 `string-to-number' for consistency with `number-to-string'.
2569
2570 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2571
2572 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2573 * emulation/viper-init.el (viper-deactivate-input-method-action):
2574 Rename from viper-inactivate-input-method-action.
2575 (viper-deactivate-input-method):
2576 Rename from viper-inactivate-input-method.
2577 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2578 * international/mule-cmds.el (deactivate-input-method):
2579 Rename from inactivate-input-method.
2580 Also run input-method-deactivate-hook.
2581 (deactivate-current-input-method-function):
2582 Rename from inactivate-current-input-method-function.
2583 (input-method-deactivate-hook): New hook.
2584 (input-method-inactivate-hook): Mark obsolete.
2585 (inactivate-input-method): Mark obsolete.
2586
2587 * international/quail.el (quail-activate):
2588 Also run quail-deactivate-hook.
2589 (quail-deactivate): Rename from quail-inactivate.
2590 * international/robin.el (robin-activate):
2591 Also run robin-deactivate-hook.
2592 (robin-deactivate): Rename from robin-inactivate.
2593
2594 2012-07-29 Chong Yidong <cyd@gnu.org>
2595
2596 * simple.el (indicate-copied-region): New function.
2597 (kill-ring-save): Split off from here.
2598
2599 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2600 (kill-rectangle): Set deactivate-mark to t on read-only error.
2601
2602 * register.el (copy-to-register, copy-rectangle-to-register):
2603 Deactivate the mark, and use indicate-copied-region (Bug#10056).
2604 (append-to-register, prepend-to-register):
2605 Call 2012-07-29 Juri Linkov <juri@jurta.org>
2606
2607 * simple.el (async-shell-command-buffer): New defcustom.
2608 (shell-command): Use it. (Bug#4719)
2609
2610 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2611
2612 * international/mule-cmds.el (set-locale-environment): In a
2613 console session on MS-Windows, set up keyboard and terminal
2614 encoding from the OEM codepage, not the ANSI codepage.
2615 (Bug#12055)
2616
2617 2012-07-28 Chong Yidong <cyd@gnu.org>
2618
2619 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2620 gdb-get-location.
2621
2622 2012-07-28 Leo Liu <sdl.web@gmail.com>
2623
2624 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2625 the alist (bug#12029).
2626
2627 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2628
2629 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2630 (compile-always, compile-first)
2631 ($(lisp)/calendar/cal-loaddefs.el)
2632 ($(lisp)/calendar/diary-loaddefs.el)
2633 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2634 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2635 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2636 instead of on update-subdirs.
2637 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2638
2639 2012-07-28 Chong Yidong <cyd@gnu.org>
2640
2641 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2642 directory if vc-deduce-backend returns nil (Bug#7350).
2643
2644 * simple.el (delete-trailing-lines): New option.
2645 (delete-trailing-whitespace): Obey it (Bug#11879).
2646
2647 2012-07-28 David Engster <deng@randomsample.de>
2648
2649 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2650 Explanation of new 'symbol-qnames feature in doc-strings.
2651 (xml-maybe-do-ns): Return expanded names as plain symbols if
2652 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2653 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2654
2655 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2656
2657 Consistent completion in inferior python with emacs -nw.
2658 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2659 binding in inferior-python-mode-map with "\t".
2660 (python-shell-completion-complete-at-point)
2661 (python-completion-complete-at-point): Remove interactive spec.
2662
2663 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2664
2665 * calc/calccomp.el (math-compose-expr): Undo previous change.
2666
2667 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2668
2669 * progmodes/python.el (python-mode-map): Add keybinding for
2670 run-python.
2671 (python-shell-make-comint): Fix pop-to-buffer call.
2672 (run-python): Autoload. New arg SHOW.
2673 (python-shell-get-or-create-process): Do not pop python process
2674 buffer.
2675
2676 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2677
2678 * notifications.el (notifications-on-action-signal)
2679 (notifications-on-closed-signal): Use also the bus address for the map.
2680 (notifications-notify, notifications-close-notification)
2681 (notifications-get-capabilities): Add optional argument BUS.
2682
2683 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2684
2685 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2686 Add support for the lstlisting and minted environments, and for the
2687 ctable macro.
2688 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2689 labels written in keyvals syntax.
2690
2691 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2692
2693 * calc/calccomp.el (math-compose-expr): Use parentheses when
2694 there is a product in the denominator of a fraction.
2695
2696 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2697
2698 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2699 ($(lisp)/calendar/diary-loaddefs.el)
2700 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2701 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2702 Fixes failures in parallel bootstrap because subdirs.el is being
2703 rewritten while the autoload files are built at the same time,
2704 which needs to load subdirs.el.
2705
2706 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2707
2708 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2709 (mouse-drag-line): Don't exit tracking when a switch-frame or
2710 switch-window event occurs (Bug#12006).
2711
2712 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * mouse.el (popup-menu): Fix last change.
2715
2716 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 Autoload from Lisp with more care. Follow aliases when looking for
2719 function properties.
2720 * subr.el (autoloadp): New function.
2721 (symbol-file): Use it.
2722 (function-get): New function.
2723 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2724 autoload-do-load.
2725 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2726 (lisp-indent-function):
2727 * emacs-lisp/gv.el (gv-get):
2728 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2729 * emacs-lisp/byte-opt.el (byte-optimize-form):
2730 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2731 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2732 Use function-get.
2733 * emacs-lisp/cl.el: Don't propagate function properties any more.
2734
2735 * speedbar.el (speedbar-add-localized-speedbar-support):
2736 * emacs-lisp/disass.el (disassemble-internal):
2737 * desktop.el (desktop-load-file):
2738 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2739 (describe-function-1):
2740 * emacs-lisp/find-func.el (find-function-noselect):
2741 * emacs-lisp/elp.el (elp-instrument-function):
2742 * emacs-lisp/advice.el (ad-has-proper-definition):
2743 * apropos.el (apropos-safe-documentation, apropos-macrop):
2744 * emacs-lisp/debug.el (debug-on-entry):
2745 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2746 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2747 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2748
2749 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2750
2751 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2752 function, not an obsolete variable (Bug#12046).
2753
2754 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2755
2756 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2757
2758 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2759
2760 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2761 window only if it is still live (Bug#12034).
2762
2763 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2764
2765 * subr.el (redirect-frame-focus): Add advertised calling
2766 convention (Bug#12030).
2767
2768 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2769
2770 Prefer typical American spelling for "acknowledgment".
2771 * vc/add-log.el (change-log-acknowledgment): Rename from
2772 change-log-acknowledgement, with an alias for the old name.
2773
2774 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2775
2776 * calc-alg.el (math-simplify-divide): Don't cross multiply
2777 in an equation when the lhs is a variable.
2778
2779 2012-07-24 Julien Danjou <julien@danjou.info>
2780
2781 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2782 Remove, unused.
2783
2784 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2785
2786 * startup.el (command-line): Don't display an empty user name in
2787 the error message about non-existent home directory, when
2788 init-file-user was set to an empty string. See
2789 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2790 for the details and context.
2791
2792 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2793
2794 * ses.el (ses-cell-formula-aset): New macro.
2795 (ses-cell-references-aset): New macro.
2796 (ses-cell-p): New function.
2797 (ses-rename-cell): Do no longer rely on complex operations like
2798 ses-cell-set-formula or ses-set-cell to change the cell and handle
2799 the undo at the same time, but rather use lower level new macros
2800 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2801 the undo directly. Refresh the mode line.
2802
2803 2012-07-21 Leo Liu <sdl.web@gmail.com>
2804
2805 * progmodes/cc-cmds.el (c-defun-name):
2806 Use match-string-no-properties instead for consistency.
2807
2808 2012-07-20 Leo Liu <sdl.web@gmail.com>
2809
2810 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2811 (Bug#7879)
2812
2813 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2814
2815 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2818 * progmodes/bug-reference.el, misearch.el: Provide themselves
2819 (bug#11915).
2820
2821 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2822 of narrowed buffer (bug#11966).
2823
2824 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2825
2826 * ses.el (ses-rename-cell): Set new name also in reference list of
2827 cells of which the renamed cell depends.
2828
2829 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2830
2831 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2832 to check whether menu-bar is shown or not. If not shown,
2833 show the menu-bar as a popup menu instead of using tmm.
2834 * mouse.el (popup-menu): Accept `point' as `position' argument.
2835
2836 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2837
2838 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2839 up inside string symbol literal (bug#11923).
2840
2841 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2842
2843 * startup.el (fancy-startup-text): Read the whole tutorial, not
2844 just its first 256 bytes. Prevents gibberish in display of the
2845 tutorial title.
2846
2847 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2848
2849 Drop idle buffer compaction due to an absence of the
2850 proved efficiency.
2851 * compact.el: Remove.
2852
2853 2012-07-19 Sam Steingold <sds@gnu.org>
2854
2855 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2856 vc-bzr-pull & vc-bzr-merge-branch.
2857 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2858 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2859 for consistency with compilation-error-regexp-alist.
2860 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2861 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2862 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2863 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2864
2865 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/chart.el: Use lexical-binding.
2868 (chart-emacs-storage): Don't hardcode the list of entries.
2869
2870 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2871
2872 Next round of tweaks caused by Fgarbage_collect changes.
2873 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2874
2875 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2876
2877 Compact buffers when idle.
2878 * compact.el: New file.
2879
2880 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * subr.el (eventp): Presume that if it looks vaguely like an event,
2883 it's an event (bug#10190).
2884
2885 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2886
2887 Enhancements to ppss related code (thanks Stefan).
2888 * progmodes/python.el (python-indent-context)
2889 (python-indent-calculate-indentation, python-indent-dedent-line)
2890 (python-indent-electric-colon, python-nav-forward-block)
2891 (python-mode-abbrev-table)
2892 (python-info-assignment-continuation-line-p): Simplify checks
2893 for ppss context.
2894 (python-info-continuation-line-p): Cleanup.
2895 (python-info-ppss-context): Do not catch 'quote.
2896 (python-info-ppss-context-type)
2897 (python-info-ppss-comment-or-string-p): Simplify.
2898
2899 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2900
2901 * progmodes/python.el: Enhancements to eldoc support.
2902 (python-info-current-symbol): New function.
2903 (python-eldoc-at-point): Use python-info-current-symbol.
2904 (python-info-current-defun): Fix cornercase on first defun scan.
2905 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2906 and signal error when no inferior python process is available.
2907
2908 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2909
2910 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2911 assume it's always t.
2912 (vc-git-registered): Remove caching, the function is only called
2913 once.
2914 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2915
2916 2012-07-18 Chong Yidong <cyd@gnu.org>
2917
2918 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2919
2920 * simple.el (count-words): Report on narrowing (Bug#9959).
2921
2922 * bindings.el: Bind M-= to count-words.
2923
2924 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2925
2926 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2927
2928 * progmodes/sh-script.el (sh-imenu-generic-expression):
2929 Capture a function with `function' keyword and without parentheses
2930 like "function FOO" (bug#11856).
2931
2932 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2933
2934 * window.el (split-window-sensibly): Make WINDOW argument
2935 optional.
2936
2937 2012-07-18 Chong Yidong <cyd@gnu.org>
2938
2939 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2940
2941 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2942 and make C-x 8 RET exit isearch (Bug#11439).
2943
2944 * international/iso-transl.el: Move isearch-mode-map key
2945 definitions to isearch.el.
2946
2947 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2948
2949 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2950 (eieio-defclass): Use gv-define-setter when possible.
2951
2952 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2953
2954 Reflect recent changes in Fgarbage_collect.
2955 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2956 reflect new format of data returned by Fgarbage_collect.
2957
2958 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2959
2960 New utility functions + python-info-ppss-context fix (Bug#11910).
2961 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2962 (python-info-ppss-comment-or-string-p): New functions.
2963 (python-info-ppss-context): Small fix for string check.
2964
2965 2012-07-17 Juri Linkov <juri@jurta.org>
2966
2967 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2968 (dired-do-async-shell-command): Don't add `*' at the end of the
2969 command (Bug#11815).
2970 (dired-do-shell-command): Doc fix.
2971 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2972 Join the individual commands using either "&" or ";" as the
2973 separator depending on the values of these trailing characters.
2974 At the end re-add the trailing "&". (Bug#10598)
2975
2976 * simple.el (async-shell-command): Sync the interactive spec with
2977 `shell-command'. Doc fix.
2978 (shell-command): Doc fix.
2979
2980 2012-07-17 Juri Linkov <juri@jurta.org>
2981
2982 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2983
2984 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2985
2986 Final renames and doc fixes for movement commands (bug#11899).
2987 * progmodes/python.el (python-nav-beginning-of-statement):
2988 Rename from python-nav-statement-start.
2989 (python-nav-end-of-statement): Rename from
2990 python-nav-statement-end.
2991 (python-nav-beginning-of-block): Rename from
2992 python-nav-block-start.
2993 (python-nav-end-of-block): Rename from python-nav-block-end.
2994
2995 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2996
2997 * progmodes/python.el (python-shell-send-string-no-output):
2998 Allow accept-process-output to quit, keeping shell process ready for
2999 future interactions (Bug#11868).
3000
3001 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3004
3005 * emacs-lisp/elint.el (elint-find-args-in-code):
3006 Use help-function-arglist, so as to handle lexical byte-code.
3007
3008 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3009 change (bug#11826).
3010
3011 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3014 Avoid spuriously marking the buffer as modified because of c-is-sws.
3015
3016 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3017 as not-a-comment (bug#11946).
3018
3019 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3020 for uninterned vars.
3021
3022 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3023 Use read-event since we don't really want to read chars but bytes.
3024
3025 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3026 $$..$$ but also $..$ using regexps (bug#11953).
3027 Use tex-verbatim for \url and \path.
3028 (tex-font-lock-keywords): Define as defconst like the others.
3029 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3030
3031 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3032
3033 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3034 alias for insert-char.
3035
3036 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3037
3038 * progmodes/python.el: Simplified imenu implementation.
3039 (python-nav-jump-to-defun): Remove command.
3040 (python-mode-map): Use `imenu' instead.
3041 (python-nav-list-defun-positions-cache)
3042 (python-imenu-include-defun-type, python-imenu-make-tree)
3043 (python-imenu-subtree-root-label, python-imenu-index-alist):
3044 Remove vars.
3045 (python-nav-list-defun-positions, python-nav-read-defun)
3046 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3047 (python-imenu-make-tree, python-imenu-create-index):
3048 Remove functions.
3049 (python-mode): Update to interact with imenu by setting
3050 `imenu-extract-index-name-function' only.
3051
3052 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3053
3054 * progmodes/python.el: Enhancements to navigation commands.
3055 (python-nav-backward-sentence)
3056 (python-nav-forward-sentence): Remove.
3057 (python-nav-backward-statement, python-nav-forward-statement)
3058 (python-nav-statement-start, python-nav-statement-end)
3059 (python-nav-backward-block, python-nav-forward-block)
3060 (python-nav-block-start, python-nav-block-end)
3061 (python-nav-forward-sexp-function)
3062 (python-info-current-line-comment-p)
3063 (python-info-current-line-empty-p): New functions.
3064 (python-indent-context): Use `python-nav-statement-start'.
3065
3066 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3067
3068 * eshell/em-ls.el (eshell/ls): Use `apply'.
3069
3070 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3071 multi-hops, instead of Tramp internals.
3072
3073 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3074
3075 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3076 when F1 and F2 are located on different hosts.
3077
3078 2012-07-14 Chong Yidong <cyd@gnu.org>
3079
3080 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3081 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3082 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3083 (xterm-mouse--read-event-sequence-1000)
3084 (xterm-mouse--read-event-sequence-1006): New functions. For old
3085 mouse protocol, handle M-mouse-X events correctly.
3086 (xterm-mouse-event): New arg specifying mouse protocol.
3087 (turn-on-xterm-mouse-tracking-on-terminal)
3088 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3089 sequence to toggle extended coordinates on newer XTerms.
3090 This appears to be harmless on terminals which do not support this.
3091
3092 2012-07-14 Leo Liu <sdl.web@gmail.com>
3093
3094 Add fringe bitmap indicators for flymake. (Bug#11253)
3095 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3096 (flymake-make-overlay): New arg BITMAP.
3097 (flymake-error-bitmap, flymake-warning-bitmap)
3098 (flymake-fringe-indicator-position): New user variables.
3099
3100 * fringe.el: New bitmap exclamation-mark.
3101
3102 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3103
3104 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3105 also (Bug#7879).
3106
3107 2012-07-14 Chong Yidong <cyd@gnu.org>
3108
3109 * electric.el (electric-pair-post-self-insert-function): Fix pair
3110 insertion in empty-region case (Bug#11520).
3111
3112 2012-07-14 Chong Yidong <cyd@gnu.org>
3113
3114 * bindings.el: Consolidate ctl-x-r-map bindings.
3115 Bind copy-rectangle-as-kill to C-x r w.
3116
3117 * rect.el, register.el: Move bindings to bindings.el.
3118
3119 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3120
3121 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3122
3123 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3124
3125 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3126
3127 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * bindings.el (top): Use `mapc' instead of `mapcar'.
3130
3131 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3132
3133 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * progmodes/sql.el (sql-comint): Suppress the check for program on
3136 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3137 (Bug#11908)
3138
3139 2012-07-13 Chong Yidong <cyd@gnu.org>
3140
3141 * bindings.el: Assign a non-nil permanent-local property to
3142 per-buffer variables which lack a default value (Bug#11930).
3143
3144 * help-fns.el (describe-variable): In the "automatically becomes
3145 local" notice, take note of permanent-local variables.
3146
3147 2012-07-13 Chong Yidong <cyd@gnu.org>
3148
3149 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3150 to allow printing the message when called from Lisp.
3151
3152 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3153 Remove toggle-read-only.
3154
3155 * bs.el (bs-toggle-readonly):
3156 * buff-menu.el (Buffer-menu-toggle-read-only):
3157 Remove with-no-warnings around toggle-read-only.
3158
3159 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3160 Remove with-no-warnings around toggle-read-only.
3161 (ffap-read-only, ffap-read-only-other-window)
3162 (ffap-read-only-other-frame): Callers changed.
3163
3164 * help-mode.el: Don't require view package.
3165 (help-mode-finish): Set buffer-read-only instead of calling
3166 toggle-read-only.
3167
3168 * bindings.el (mode-line-toggle-read-only):
3169 * dired.el (dired-toggle-read-only):
3170 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3171 with non-nil second arg.
3172
3173 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3174 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3175 directly.
3176
3177 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3178
3179 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3180 not incf.
3181
3182 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 More CL cleanups and reduction of use of cl.el.
3185 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3186 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3187 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3188 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3189 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3190 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3191 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3192 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3193 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3194 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3195 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3196 * eshell/em-cmpl.el, eshell/em-banner.el:
3197 * calendar/parse-time.el: Use cl-lib.
3198 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3199 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3200 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3201 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3202 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3203 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3204 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3205 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3206 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3207 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3208 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3209 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3210 `lambda' rather than with `quote'.
3211 (eshell-do-opt): Adjust accordingly.
3212 (eshell-process-option): Simplify.
3213 * eshell/esh-var.el:
3214 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3215 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3216 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3217 to `pcase--dontcare'.
3218 * emacs-lisp/cl.el (labels): Mark obsolete.
3219 (cl--letf, letf): Move to cl-lib.
3220 (cl--letf*, letf*): Remove.
3221 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3222 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3223 (cl-progv): Rewrite.
3224 (cl--letf, cl-letf): Move from cl.el.
3225 (cl-letf*): New macro.
3226 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3227
3228 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3231
3232 2012-07-11 Chong Yidong <cyd@gnu.org>
3233
3234 * vc/log-edit.el (log-edit-vc-backend): New variable.
3235 (log-edit): Doc fix.
3236
3237 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3238 argument of log-edit to set up all local variables.
3239 (vc-start-logentry): New optional arg specifying VC backend.
3240
3241 * vc/vc.el (vc-checkin): Use it.
3242 (vc-deduce-fileset): Handle Log Edit buffers.
3243 (vc-diff): Make first argument optional too.
3244
3245 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3246
3247 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3250 command, just in case. The function is not needed anymore.
3251 (eshell-external-command): Do not call `eshell-remote-command'.
3252
3253 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 Reduce use of (require 'cl).
3256 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3257 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3258 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3259 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3260 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3261 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3262 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3263 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3264 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3265 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3266 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3267 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3268 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3269 (byte-compile-unfold-bcf, byte-compile-check-variable):
3270 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3271 (byte-compile-nilconstp):
3272 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3273 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3274
3275 * emacs-lisp/gv.el (cond): Make it a valid place.
3276 (if): Simplify slightly.
3277
3278 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3279 (pcase--self-quoting-p): New function.
3280 (pcase--u1): Use it.
3281
3282 2012-07-10 Glenn Morris <rgm@gnu.org>
3283
3284 * emacs-lisp/authors.el (authors-fixed-entries):
3285 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3286
3287 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3288
3289 Rename configure.in to configure.ac (Bug#11603).
3290 * emacs-lisp/authors.el (authors-canonical-file-name):
3291 * progmodes/autoconf.el (autoconf-mode):
3292 Prefer configure.ac to configure.in.
3293
3294 2012-07-08 Chong Yidong <cyd@gnu.org>
3295
3296 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3297 Implement the mouse-1-click-follows-link handling properly.
3298
3299 * info.el (Info-link-keymap): Use follow-link mechanism for
3300 header-line links (Bug#374).
3301
3302 * simple.el (deactivate-mark): Do not set the primary selection
3303 if another program has acquired it (Bug#11772).
3304
3305 2012-07-07 Kevin Ryde <user42@zip.com.au>
3306
3307 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3308 (woman-decode-region): Replace escaped-escapes without destroying
3309 bold or underline (Bug#11552).
3310 (woman2-process-escapes): Handle nofill regions (Bug#11591).
3311
3312 2012-07-07 Chong Yidong <cyd@gnu.org>
3313
3314 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3315 (interprogram-cut-function, interprogram-paste-function):
3316 Mention that we typically mean the clipboard.
3317
3318 2012-07-06 Glenn Morris <rgm@gnu.org>
3319
3320 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3321
3322 * files.el (toggle-read-only): Restrict message to interactive use.
3323
3324 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
3325
3326 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3327
3328 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3329
3330 2012-07-06 Glenn Morris <rgm@gnu.org>
3331
3332 * Makefile.in (compile-one-process): Rename from "recompile".
3333
3334 * Makefile.in (bzr-update): "compile" is the same as "recompile
3335 autoloads", but parallelizable, so use that instead.
3336
3337 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3338
3339 * window.el (quit-window): Always restore window height when
3340 it's saved in quit-restore parameter (Bug#11810).
3341
3342 2012-07-06 Glenn Morris <rgm@gnu.org>
3343
3344 * simple.el (kill-whole-line): Doc tweak.
3345
3346 2012-07-06 Eli Zaretskii <eliz@gnu.org>
3347
3348 * files.el (file-relative-name): Compare file names
3349 case-insensitively if on MS-Windows or MS-DOS, or if
3350 read-file-name-completion-ignore-case is non-nil. Don't use
3351 case-fold-search for this purpose. (Bug#11827)
3352
3353 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3354
3355 * calendar/cal-dst.el (calendar-current-time-zone):
3356 Return calendar-current-time-zone-cache if non-nil.
3357
3358 2012-07-17 Masatake YAMATO <yamato@redhat.com>
3359 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3360
3361 * calendar/cal-dst.el (calendar-current-time-zone):
3362 Return calendar-current-time-zone-cache if non-nil.
3363
3364 2012-07-06 Glenn Morris <rgm@gnu.org>
3365
3366 * Makefile.in (cvs-update): Remove old alias.
3367
3368 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
3369
3370 Sync with Tramp 2.2.6-pre.
3371
3372 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3373 compatible declaration.
3374
3375 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3376 Protect `list-load-path-shadows' call.
3377
3378 * net/tramp-compat.el (top): Require packages, which aren't
3379 autoloaded anymore for XEmacs. Protect call of
3380 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3381 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3382 it hurts at least for SXEmacs.
3383 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3384 standard-value for `temporary-file-directory'.
3385
3386 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3387 Redirect stderr to /dev/null.
3388 (tramp-sh-handle-write-region): uid and gid can be floats.
3389 Reported by Russell Sim <russell.sim@gmail.com>.
3390 (tramp-sh-handle-vc-registered): Hide errors.
3391 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3392 and `start-file-process'.
3393 (tramp-maybe-open-connection): Check also whether `non-essential'
3394 is bound.
3395
3396 2012-07-04 Chong Yidong <cyd@gnu.org>
3397
3398 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3399 (xml-parse-tag): Likewise, and avoid changing entity tables.
3400 (xml-syntax-table): Define from scratch, making sure not to give
3401 x2000 and other Unicode spaces whitespace syntax, since those are
3402 not spaces in XML.
3403 (xml-parse-fragment): Delete unused function.
3404 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3405 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3406 (xml-entity-ref, xml-pe-reference-re)
3407 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3408 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3409 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3410 (xml-entity-value-re): Use syntax references in regexps where
3411 possible; no need to define inside a let-binding.
3412 (xml-parse-dtd): Use xml-pe-reference-re.
3413 (xml-entity-or-char-ref-re): New defconst.
3414 (xml-parse-string, xml-substitute-special): Use it.
3415
3416 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3419 (find-file--read-only): New function.
3420 (find-file-read-only, find-file-read-only-other-window)
3421 (find-file-read-only-other-frame): Use it.
3422 (insert-file-contents-literally): Don't `fset'.
3423 (get-free-disk-space): Use locate-dominating-file.
3424
3425 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3426 function is already compiled.
3427
3428 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3429
3430 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3433 files on the same host.
3434
3435 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * help-fns.el (describe-function-1): Only call
3438 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3439
3440 2012-07-03 Chong Yidong <cyd@gnu.org>
3441
3442 * xml.el: Protect parser against XML bombs.
3443 (xml-entity-expansion-limit): New variable.
3444 (xml-parse-string, xml-substitute-special): Use it.
3445 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3446
3447 2012-07-03 Glenn Morris <rgm@gnu.org>
3448
3449 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3450 Allow linking to specific messages in debbugs reports (eg 123#5).
3451
3452 2012-07-02 Chong Yidong <cyd@gnu.org>
3453
3454 * xml.el: Fix entity and character reference expansion, allowing
3455 them to expand into markup as per XML spec.
3456 (xml-default-ns): New variable.
3457 (xml-entity-alist): Use XML spec definitions for lt and amp.
3458 (xml-parse-region): Make first two arguments optional.
3459 Discard text properties.
3460 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3461 All callers changed.
3462 (xml-parse-tag): Call xml-parse-tag-1. For backward
3463 compatibility, this function should not modify buffer contents.
3464 (xml-parse-tag-1): Fix opening-tag regexp.
3465 (xml-parse-string): Rewrite, handling entity and character
3466 references properly.
3467 (xml--entity-replacement-text): Signal an error if a parameter
3468 entity is undefined.
3469
3470 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3471
3472 * comint.el (comint-output-filter): Filter out repeated prompts.
3473
3474 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3475 and file-name-absolute-p.
3476 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3477 internal calls.
3478
3479 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3480
3481 Spelling fixes.
3482 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3483 Rename from byte-compile--refiy-function. All uses changed.
3484
3485 2012-07-01 Chong Yidong <cyd@gnu.org>
3486
3487 * xml.el (xml--parse-buffer): New function. Move most of
3488 xml-parse-region here.
3489 (xml-parse-region): Copy region into a temporary buffer, since
3490 parameter entity substitution requires changing buffer contents.
3491 Use xml--parse-buffer.
3492 (xml-parse-file): Use xml--parse-buffer.
3493 (xml-parse-dtd): Make parameter entity substitution work right.
3494 Use proper regexps for ELEMENT declarations (Bug#7172).
3495
3496 2012-06-30 Glenn Morris <rgm@gnu.org>
3497
3498 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3499
3500 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3501 Remove outdated and unnecessary dbus declarations.
3502
3503 2012-06-30 Eli Zaretskii <eliz@gnu.org>
3504
3505 * emacs-lisp/timer.el (timer-until): Subtract results of
3506 float-time, instead of taking float-time of the result of
3507 time-subtract, since float-time signals an error for negative time
3508 arguments.
3509
3510 2012-06-30 Chong Yidong <cyd@gnu.org>
3511
3512 * xml.el (xml-*-re): Convert defvars into defconsts, and
3513 eval-and-compile them so eval-and-compile works on derivatives.
3514 (xml--entity-replacement-text): Use eval-and-comple.
3515
3516 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * vc/vc-git.el (vc-git-registered): Use cache property
3519 `git-registered'.
3520 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3521 `vc-git-working-revision' in order to benefit from the cache.
3522 (vc-git-root): Use cache property `git-root'. (Bug#11757)
3523
3524 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3525
3526 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3527 removed (likely outside Emacs). (Bug#11757)
3528
3529 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * emacs-lisp/cl-lib.el: Require macroexp.
3532
3533 2012-06-30 Chong Yidong <cyd@gnu.org>
3534
3535 * xml.el: Implement XML parameter entities.
3536 (xml-parameter-entity-alist): New variable.
3537 (xml-parse-region, xml-parse-fragment): Preserve previous values
3538 of xml-entity-alist and xml-parameter-entity-alist, so that
3539 repeated calls on different documents do not change them.
3540 (xml-parse-tag): Fix doctype regexp.
3541 (xml--entity-replacement-text): New function.
3542 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3543 properly requires url retrieval which is unimplemented.
3544 (xml-escape-string): Doc fix.
3545
3546 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3549
3550 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3551
3552 * fringe.el (fringe-mode): Doc fix.
3553
3554 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3557 is non-nil.
3558 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3559 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3560
3561 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3562
3563 * calendar/cal-dst.el (calendar-current-time-zone):
3564 Return calendar-current-time-zone-cache if non-nil.
3565
3566 2012-06-29 Masatake YAMATO <yamato@redhat.com>
3567
3568 * progmodes/which-func.el (which-func-format):
3569 Add mouse-face. (Bug#11698)
3570
3571 2012-06-29 Leo Liu <sdl.web@gmail.com>
3572
3573 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3574
3575 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * minibuffer.el (minibuffer-confirm-exit-commands):
3578 Add completion-at-point (bug#11725).
3579
3580 2012-06-29 Glenn Morris <rgm@gnu.org>
3581
3582 * progmodes/f90.el (f90-font-lock-keywords-2):
3583 Add some preprocessor elements. (Bug#10499)
3584
3585 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3586
3587 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3588 Use syntax-propertize (bug#11739).
3589
3590 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
3591
3592 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3593
3594 2012-06-28 Julien Danjou <julien@danjou.info>
3595
3596 * term.el (term-handle-colors-array): Use a set of new faces to
3597 color the terminal. Also uses :inverse-video property.
3598 (term-default-fg-color): Set to nil by default, deprecate in favor
3599 of `term-face'.
3600 (term-default-bg-color): Set to nil by default, deprecate in favor
3601 of `term-face'.
3602 (term-current-face): Use `term-face' by default.
3603 (term-bold-attribute): Variable deleted.
3604
3605 2012-06-28 Glenn Morris <rgm@gnu.org>
3606
3607 * simple.el (completion-list-mode-finish):
3608 Don't use toggle-read-only. (Since completion-list-mode has
3609 a special mode-class, it wasn't doing anything extra anyway.)
3610
3611 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 Make inlining of other-mode interpreted functions work (bug#11799).
3614 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3615 (byte-compile): Use it to fix compilation of lexical-binding closures.
3616 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3617 function, if needed.
3618
3619 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3620
3621 * help-mode.el (help-make-xrefs): Don't just withstand
3622 cyclic-variable-indirection but any error in documentation-property.
3623
3624 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3625 memory use.
3626 * bindings.el (bindings--define-key): New function.
3627 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3628 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3629 * bindings.el: Use it to purecopy define-key bindings.
3630
3631 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3632
3633 * emacs-lisp/cl.el (flet): Mark obsolete.
3634 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3635 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3636 * progmodes/js.el (js-c-fill-paragraph):
3637 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3638 (ebrowse-switch-member-buffer-to-derived-class):
3639 * play/5x5.el (5x5-solver): Use cl-flet.
3640
3641 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3642 (cl--symbol-function): New macro.
3643 (cl--letf, cl--letf*): Use it.
3644
3645 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3646 Strip "toggle-" if any.
3647
3648 2012-06-27 Glenn Morris <rgm@gnu.org>
3649
3650 * info.el (Info-default-directory-list): Move here from paths.el.
3651 * paths.el: Remove file, which is now empty.
3652 * loadup.el: No longer load "paths".
3653
3654 * custom.el (custom-initialize-delay): Doc fix.
3655
3656 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3657 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3658 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3659 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3660 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3661 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3662 * eshell/eshell.el (eshell-defgroup): Remove alias.
3663
3664 2012-06-27 Chong Yidong <cyd@gnu.org>
3665
3666 * help.el (help-enable-auto-load): New variable.
3667
3668 * help-fns.el (help-fns--autoloaded-p): New function.
3669 (describe-function-1): Refer to a function as "autoloaded" if it
3670 was autoloaded at any time in the past. Perform autoloading if
3671 help-enable-auto-load is non-nil.
3672
3673 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3674
3675 * makefile.w32-in (compile, compile-always): Depend on
3676 update-subdirs, not on subdirs.el. Otherwise, several different
3677 sub-targets of 'bootstrap' running in parallel could
3678 simultaneously write to subdirs.el, producing a garbled file.
3679
3680 2012-06-26 Sam Steingold <sds@gnu.org>
3681
3682 * files.el (file-name-base): New convenience function.
3683 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3684 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3685 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3686 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3687 * textmodes/ispell.el, textmodes/reftex-ref.el:
3688 * textmodes/tex-mode.el: Use it.
3689 Did not touch cedet and org because they are maintained elsewhere.
3690
3691 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3692
3693 * calendar/calendar.el (calendar-exit): Don't try to delete or
3694 iconify last frame. See:
3695 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3696
3697 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3698
3699 * server.el (server-process-filter): Remember dir in the
3700 process's `server-client-directory' properties.
3701
3702 2012-06-24 Chong Yidong <cyd@gnu.org>
3703
3704 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3705 non-tag text.
3706
3707 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3708
3709 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3710
3711 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * help-fns.el (describe-variable): Don't croak when doc is not found.
3714 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3715 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3716 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3717 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3718 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3719 ((lambda ..) ..).
3720 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3721
3722 2012-06-23 Chong Yidong <cyd@gnu.org>
3723
3724 * info.el (Info-mouse-follow-link): Accept symbol values of
3725 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3726 (Info-fontify-node): Use Info-link-keymap for all navigation
3727 buttons, with link-args property to perform the desired action.
3728 (Info-link-keymap): Doc fix.
3729 (Info-next-link-keymap, Info-prev-link-keymap)
3730 (Info-up-link-keymap): Delete now-unused keymaps.
3731
3732 2012-06-23 Chong Yidong <cyd@gnu.org>
3733
3734 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3735
3736 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3737 system abbrevs.
3738
3739 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3740
3741 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3744 (bug#11719).
3745
3746 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3747 the requote function doesn't work properly (bug#11714).
3748
3749 2012-06-23 Glenn Morris <rgm@gnu.org>
3750
3751 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3752
3753 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 Further GV/CL cleanups.
3756 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3757 gv-expander.
3758 (gv--defun-declaration): New function.
3759 (defun-declarations-alist): Use it.
3760 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3761 (gv-place): Autoload.
3762 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3763 original definition of dotimes and dolist.
3764 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3765 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3766 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3767 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3768 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3769 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3770 to the function's definition.
3771 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3772 * window.el:
3773 * files.el:
3774 * faces.el:
3775 * env.el: Don't use CL.
3776
3777 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3778
3779 Support higher-resolution time stamps (Bug#9000).
3780
3781 * calendar/time-date.el (with-decoded-time-value): New arg
3782 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3783 (encode-time-value): New optional arg PICO. New type 3.
3784 (time-to-seconds) [!float-time]: Support the new picoseconds
3785 component if it's used.
3786 (seconds-to-time, time-subtract, time-add):
3787 Support ps-resolution time stamps as well.
3788
3789 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3790 (timerp): Timer vectors now have length 9, not 8.
3791 (timer--time): Support new-style (4-part) time stamps.
3792 (timer-next-integral-multiple-of-time): Time stamps now have
3793 picosecond resolution, so take a bit more care about rounding.
3794 (timer-relative-time, timer-inc-time): New optional arg psecs.
3795 (timer-set-time-with-usecs): Set psecs to 0.
3796 (timer--activate): Check psecs component, too.
3797
3798 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3799
3800 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3803 Move the non-essential binding to the post/pre-command-hook where it is
3804 more obviously correct.
3805
3806 * subr.el (read-passwd): Don't use a history at all.
3807 * savehist.el (savehist-save): Remove password saved accidentally
3808 because of the above bug.
3809
3810 2012-06-22 Bastien Guerry <bzg@gnu.org>
3811
3812 * files.el (toggle-read-only): Display a message telling whether
3813 the buffer is read-only or not (bug#11726).
3814
3815 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3816
3817 * emacs-lisp/gv.el: New file.
3818 * subr.el (push, pop): Extend to generalized variables.
3819 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3820 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3821 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3822 gv-define-simple-setter, and gv-define-expander.
3823 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3824 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3825 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3826 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3827 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3828 gv-letplace.
3829 (cl-defstruct): Don't define setf-method any more.
3830 * emacs-lisp/cl.el (flet): Don't autoload.
3831 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3832 (define-setf-expander, defsetf, define-modify-macro)
3833 (cl-struct-setf-expander): Move from cl-lib.el.
3834 * emacs-lisp/syntax.el:
3835 * emacs-lisp/ewoc.el:
3836 * emacs-lisp/smie.el:
3837 * emacs-lisp/cconv.el:
3838 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3839 (timer--time): Use gv-define-simple-setter.
3840 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3841 to avoid coding-system problems in subr.el. Adjust all users.
3842 (macroexp--maxsize, macroexp-small-p): New functions.
3843 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3844 * scroll-bar.el (scroll-bar-mode):
3845 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3846 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3847 * winner.el (winner-configuration, winner-make-point-alist)
3848 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3849 * files.el (locate-file-completion-table): Avoid list*.
3850
3851 2012-06-22 Chong Yidong <cyd@gnu.org>
3852
3853 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3854 (dired-create-files): Doc fix (Bug#11329).
3855 (dired-do-copy): Doc fix (Bug#11334).
3856 (dired-mark-read-string): Doc fix (Bug#11553).
3857
3858 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3859 Doc fix (Bug#11326).
3860 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3861 (dired-dwim-target): Doc fix.
3862
3863 * wdired.el (wdired-mode): Doc fix.
3864
3865 2012-06-22 Glenn Morris <rgm@gnu.org>
3866
3867 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3868 (pcmpl-rpm-cache-stamp-file): New constant.
3869 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3870 (pcmpl-rpm-packages): Optionally cache list of packages.
3871
3872 * pcmpl-rpm.el (pcmpl-rpm): New group.
3873 (pcmpl-rpm-query-options): New option.
3874 (pcmpl-rpm-packages): No need to inline it.
3875 Use pcmpl-rpm-query-options.
3876
3877 * calendar/calendar.el (calendar-in-read-only-buffer):
3878 Avoid some needless mode changes.
3879
3880 2012-06-21 Chong Yidong <cyd@gnu.org>
3881
3882 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3883 (desktop-path): Remove . from the default value (Bug#10977).
3884 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3885
3886 2012-06-20 Chong Yidong <cyd@gnu.org>
3887
3888 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3889
3890 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3891
3892 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3893 (bug#11201).
3894
3895 2012-06-20 Chong Yidong <cyd@gnu.org>
3896
3897 * term.el (term-window-width): Handle the case of a missing right
3898 fringe (Bug#8837).
3899 (term-check-size): Use window-text-height (Bug#5445).
3900 (term-mode): Use define-derived-mode. Minor cleanups.
3901 Set font-lock-defaults (Bug#7692).
3902 (term-move-columns, term-insert-char, term-emulate-terminal)
3903 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3904
3905 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/ange-ftp.el (ange-ftp-get-passwd):
3908 Bind `enable-recursive-minibuffers'.
3909 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3910
3911 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3912
3913 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3914
3915 2012-06-19 Glenn Morris <rgm@gnu.org>
3916
3917 * progmodes/python.el (python-mode): Derive from prog-mode.
3918
3919 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3920
3921 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3922 (edt-user-menu-bar-update-buffers): New functions.
3923 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3924
3925 2012-06-19 Chong Yidong <cyd@gnu.org>
3926
3927 * subr.el (with-selected-window): Preserve the selected window's
3928 terminal's top-frame (Bug#4702).
3929
3930 * window.el (save-selected-window): Likewise.
3931
3932 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * progmodes/python.el (python-rx-constituents): Move backquote.
3935 (python-skeleton-define, python-define-auxiliary-skeleton):
3936 Use `declare'.
3937
3938 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * minibuffer.el (read-file-name-default): Revert the patch from
3941 2012-06-17.
3942
3943 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3946 (pcase--u1, pcase--q1): Don't use apply-partially.
3947
3948 2012-06-18 Glenn Morris <rgm@gnu.org>
3949
3950 * progmodes/python.el (python-proc, python-buffer)
3951 (python-send-receive, python-send-string): Fix obsolete versions.
3952
3953 2012-06-18 Martin Rudalics <rudalics@gmx.at>
3954
3955 * window.el (special-display-p): Completely remove stringp
3956 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3957
3958 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
3959
3960 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3961
3962 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3963
3964 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3965 * net/tramp-sh.el (tramp-maybe-open-connection):
3966 Throw if `non-essential' is non-nil.
3967
3968 2012-06-17 Martin Rudalics <rudalics@gmx.at>
3969
3970 * window.el (special-display-p): Signal an error if BUFFER-NAME
3971 is not a string (Bug#11713).
3972
3973 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3974
3975 * progmodes/python.el (python-info-beginning-of-backslash):
3976 Rename from python-info-beginning-of-backlash, as a spelling fix.
3977
3978 2012-06-17 Chong Yidong <cyd@gnu.org>
3979
3980 * term.el (term-emulate-terminal): If term-check-size is called,
3981 move point to the process mark without resetting point (Bug#4635).
3982
3983 2012-06-17 Glenn Morris <rgm@gnu.org>
3984
3985 * international/mule-cmds.el (mule-menu-keymap)
3986 (set-language-environment, set-locale-environment): Doc tweaks.
3987
3988 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3989
3990 * cus-face.el (custom-face-attributes): Add wave-style underline
3991 attribute.
3992 * faces.el (set-face-attribute): Update docstring to describe
3993 wave-style underline attribute.
3994
3995 2012-06-16 Chong Yidong <cyd@gnu.org>
3996
3997 * term/xterm.el (terminal-init-xterm): Discard input before
3998 querying background mode (Bug#10959).
3999
4000 2012-06-16 Stefan Merten <smerten@oekonux.de>
4001
4002 * textmodes/rst.el: Added and corrected some comments.
4003 (rst-re-alist-def): Improve symbol syntax.
4004 (rst-mode-syntax-table): Correct syntax entries.
4005 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4006 (rst-official-version, rst-official-cvs-rev): Update version
4007 information.
4008
4009 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4010
4011 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4012 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4013
4014 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4015
4016 * progmodes/python.el: New python.el merge.
4017 (python-guess-indent): Obsolete var.
4018 (python-indent-guess-indent-offset): New defcustom.
4019 (python-indent): Obsolete var.
4020 (python-indent-offset): New defcustom.
4021 (python-python-command, python-jython-command): Delete var.
4022 (python-shell-interpreter): New defcustom.
4023 (python-pdbtrack-do-tracking-p): Delete var.
4024 (python-pdbtrack-activate): New defcustom.
4025 (python-use-skeletons): Obsolete var.
4026 (python-skeleton-autoinsert): New defcustom.
4027 (inferior-python-filter-regexp, python-continuation-offset)
4028 (python-honour-comment-indentation, python-indent-string-contents)
4029 (python-jython-packages, python-mode-hook)
4030 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4031 (python-shell-prompt-alist)
4032 (python-source-modes): Delete defcustoms.
4033 (python-check-buffer-name, python-eldoc-setup-code)
4034 (python-eldoc-string-code, python-ffap-setup-code)
4035 (python-ffap-string-code, python-fill-comment-function)
4036 (python-fill-decorator-function, python-fill-paren-function)
4037 (python-fill-string-function, python-imenu-include-defun-type)
4038 (python-imenu-make-tree, python-imenu-subtree-root-label)
4039 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4040 (python-shell-compilation-regexp-alist)
4041 (python-shell-completion-module-string-code)
4042 (python-shell-completion-pdb-string-code)
4043 (python-shell-completion-setup-code)
4044 (python-shell-completion-string-code)
4045 (python-shell-enable-font-lock, python-shell-exec-path)
4046 (python-shell-extra-pythonpaths)
4047 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4048 (python-shell-process-environment)
4049 (python-shell-prompt-block-regexp)
4050 (python-shell-prompt-output-regexp)
4051 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4052 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4053 (python-shell-virtualenv-path): New defcustoms.
4054 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4055 (inferior-python-mode-syntax-table, python--prompt-regexp)
4056 (python-buffer, python-command python-python-command)
4057 (python-default-template, python-imports, python-indent-index)
4058 (python-indent-list, python-indent-list-length)
4059 (python-mode-running, python-pdbtrack-is-tracking-p)
4060 (python-preoutput-continuation, python-preoutput-leftover)
4061 (python-preoutput-result, python-preoutput-skip-next-prompt)
4062 (python-prev-dir/file, python-recursing)
4063 (python-saved-check-command, python-version-checked)
4064 (python-which-func-length-limit)
4065 (view-return-to-alist): Delete vars.
4066 (python-check-custom-command, python-dotty-syntax-table)
4067 (python-imenu-index-alist, python-indent-current-level)
4068 (python-indent-dedenters, python-indent-levels)
4069 (python-nav-beginning-of-defun-regexp)
4070 (python-nav-list-defun-positions-cache)
4071 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4072 (python-shell-internal-buffer)
4073 (python-skeleton-available): New vars.
4074 (def-python-skeleton): Delete macro.
4075 (python-skeleton-define): New macro.
4076 (python-define-auxiliary-skeleton, python-rx): New macros.
4077 (python-insert-class): Delete command.
4078 (python-skeleton-class): New command.
4079 (python-insert-def): Delete command.
4080 (python-skeleton-def): New command.
4081 (python-insert-for): Delete command.
4082 (python-skeleton-for): New command.
4083 (python-insert-if): Delete command.
4084 (python-skeleton-if): New command.
4085 (python-insert-try/except, python-insert-try/finally): Delete commands.
4086 (python-skeleton-try): New command.
4087 (python-insert-while): Delete command.
4088 (python-skeleton-while): New command.
4089 (python-backspace): Delete command.
4090 (python-indent-dedent-line-backspace): New command.
4091 (python-electric-colon): Delete command.
4092 (python-indent-electric-colon): New command.
4093 (python-guess-indent): Delete command.
4094 (python-indent-guess-indent-offset): New command.
4095 (python-shift-left): Delete command.
4096 (python-indent-shift-left): New command.
4097 (python-shift-right): Delete command.
4098 (python-indent-shift-right): New command.
4099 (python-find-function): Delete command.
4100 (python-nav-jump-to-defun): New command.
4101 (python-next-statement): Delete command.
4102 (python-nav-forward-sentence): New command.
4103 (python-previous-statement): Delete command.
4104 (python-nav-backward-sentence): New command.
4105 (python-fill-paragraph): Delete command.
4106 (python-fill-paragraph-function): New command.
4107 (python-send-buffer): Delete command.
4108 (python-shell-send-buffer): New command.
4109 (python-send-defun): Delete command.
4110 (python-shell-send-defun): New command.
4111 (python-send-region, python-send-region-and-go): Delete commands.
4112 (python-shell-send-region)
4113 (python-shell-switch-to-shell): New commands.
4114 (python-send-string): Delete command.
4115 (python-shell-send-string): New command.
4116 (python-switch-to-python): Delete command.
4117 (python-shell-switch-to-shell): New command.
4118 (python-describe-symbol): Delete command.
4119 (python-eldoc-at-point): New command.
4120 (python--set-prompt-regexp, python-args-to-list)
4121 (python-after-info-look, python-check-version)
4122 (python-check-comint-prompt, python-find-imports)
4123 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4124 (python-unload-function, python-expand-template)
4125 (python-maybe-jython, python-preoutput-filter)
4126 (python-pdbtrack-get-source-buffer)
4127 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4128 (python-pdbtrack-toggle-stack-tracking)
4129 (python-pdbtrack-track-stack-file, python-initial-text)
4130 (python-first-word, python-comment-line-p, python-send-command)
4131 (python-setup-brm, python-sentinel, python-set-proc)
4132 (python-skip-out, python-input-filter, python-outdent-p)
4133 (python-outline-level, python-backslash-continuation-line-p)
4134 (python-end-of-block, python-end-of-statement, python-mark-block)
4135 (python-beginning-of-block, python-beginning-of-statement)
4136 (python-blank-line-p, python-beginning-of-string)
4137 (python-open-block-statement-p): Delete functions.
4138 (python-indent-line, python-indent-line-1): Delete functions.
4139 (python-indent-line): New function.
4140 (python-indentation-levels): Delete function.
4141 (python-indent-calculate-levels): New function.
4142 (python-proc): Delete function.
4143 (python-shell-get-process): New function.
4144 (python-send-receive): Delete function.
4145 (python-shell-send-string-no-output): New function.
4146 (python-module-path): Delete function.
4147 (python-ffap-module-path): New function.
4148 (python-completion-at-point)
4149 (python-symbol-completions): Delete functions.
4150 (python-completion-complete-at-point): New function.
4151 (python-load-file): Delete function.
4152 (python-shell-send-file): New function.
4153 (python-calculate-indentation): Delete function.
4154 (python-indent-calculate-indentation): New function.
4155 (python-skip-comments/blanks): Delete function.
4156 (python-util-forward-comment): New function.
4157 (python-continuation-line-p): Delete function.
4158 (python-info-continuation-line-p): New function.
4159 (python-which-func, python-current-defun): Delete function.
4160 (python-info-current-defun): New function.
4161 (python-beginning-of-defun): Delete function.
4162 (python-nav-beginning-of-defun): New function.
4163 (python-close-block-statement-p)
4164 (python-block-end-p): Delete function.
4165 (python-info-closing-block): New function.
4166 (python-comint-output-filter-function)
4167 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4168 (python-fill-comment, python-fill-decorator, python-fill-paren)
4169 (python-fill-string, python-imenu-make-element-tree)
4170 (python-imenu-make-tree, python-imenu-tree-assoc)
4171 (python-indent-context, python-indent-dedent-line)
4172 (python-indent-line-function)
4173 (python-indent-post-self-insert-function)
4174 (python-indent-toggle-levels)
4175 (python-info-assignment-continuation-line-p)
4176 (python-info-beginning-of-backlash)
4177 (python-info-block-continuation-line-p)
4178 (python-info-closing-block-message)
4179 (python-info-line-ends-backslash-p)
4180 (python-info-looking-at-beginning-of-defun)
4181 (python-info-ppss-context, python-info-ppss-context-type)
4182 (python-nav-list-defun-positions, python-nav-read-defun)
4183 (python-nav-sentence-end, python-nav-sentence-start)
4184 (python-pdbtrack-comint-output-filter-function)
4185 (python-pdbtrack-set-tracked-buffer)
4186 (python-shell-calculate-exec-path)
4187 (python-shell-calculate-process-environment)
4188 (python-shell-completion--do-completion-at-point)
4189 (python-shell-completion--get-completions)
4190 (python-shell-completion-complete-at-point)
4191 (python-shell-completion-complete-or-indent)
4192 (python-shell-get-or-create-process)
4193 (python-shell-get-process-name)
4194 (python-shell-internal-get-or-create-process)
4195 (python-shell-internal-get-process-name)
4196 (python-shell-internal-send-string, python-shell-make-comint)
4197 (python-shell-parse-command, python-shell-send-setup-code)
4198 (python-skeleton-add-menu-items)
4199 (python-util-clone-local-variables, python-util-position)
4200 (run-python-internal, python-indentation-levels)
4201 (python-nav-beginning-of-defun)
4202 (python-completion-complete-at-point): New functions.
4203 (run-python): Change arguments. New API requirements.
4204
4205 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4208 (bug#11649).
4209
4210 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4211 (macroexp--expand-all): Use it.
4212
4213 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4214 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4215 Use `cl-function' instead.
4216
4217 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4218
4219 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4220 Suggested by Stefan Monnier while discussing bug#11657.
4221
4222 2012-06-14 Sam Steingold <sds@gnu.org>
4223
4224 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4225
4226 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4227
4228 * play/doctor.el (doctor-doc): Remove parameter and use
4229 doctor-sent instead of sent.
4230 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4231
4232 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * files.el: Require cl-lib.
4235 (file-name-non-special): Replace case -> cl-case.
4236
4237 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4238
4239 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4240 mapping from #' to function*.
4241
4242 2012-06-13 Chong Yidong <cyd@gnu.org>
4243
4244 * mouse.el (mouse-drag-track): Do not set the mark if the user
4245 releases the mouse without selecting anything (Bug#11588).
4246
4247 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4250 as well (bug#11646).
4251
4252 * loadup.el: Count byte-code functions as well.
4253
4254 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4255 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4256
4257 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4258 (bug#11649). Add cl-defun and cl-defmacro.
4259
4260 2012-06-13 Drew Adams <drew.adams@oracle.com>
4261
4262 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4263 Fix last change.
4264
4265 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
4266
4267 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4268 Otherwise, it blocks in batch mode.
4269
4270 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
4271
4272 * help-mode.el (bookmark-make-record-default): Declare.
4273
4274 2012-06-13 Chong Yidong <cyd@gnu.org>
4275
4276 * emacs-lisp/package.el (list-packages): Compute a list of
4277 packages that are newly-available since the last list-packages
4278 invocation.
4279 (package-menu--new-package-list): New var.
4280 (package-menu--generate, package-menu--print-info)
4281 (package-menu--status-predicate, package-menu-mark-install):
4282 Handle new status label "new".
4283
4284 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4287 conversion to backquotes.
4288
4289 2012-06-12 Chong Yidong <cyd@gnu.org>
4290
4291 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4292 Rename from gud-inhibit-global-bindings.
4293
4294 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4295
4296 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4297 hook from nxml-glyph-set-hook.
4298
4299 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4300 declaration.
4301
4302 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4303
4304 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4305 Convert to defcustom.
4306
4307 2012-06-12 Drew Adams <drew.adams@oracle.com>
4308
4309 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4310 New functions.
4311 (help-mode): Use them.
4312
4313 2012-06-11 Glenn Morris <rgm@gnu.org>
4314
4315 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4316 Use preprocessor face for directives.
4317 (fortran-directive-re): Doc fix.
4318
4319 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4322 conversion to backquotes (bug#11652).
4323
4324 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4325 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4326 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4327 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4328 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4329 (cl-ninth, cl-tenth): Mark them as inlinable.
4330 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4331 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4332 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4333 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4334 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4335 (cl-list*, cl-adjoin): Don't put an autoload manually.
4336 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4337 (cl--compiler-macro-list*): Add autoload cookie.
4338 (cl--compiler-macro-cXXr): New function.
4339
4340 * help-fns.el (help-fns--compiler-macro): New function extracted from
4341 describe-function-1; follow aliases and use `compiler-macro' property.
4342 (describe-function-1): Use it.
4343
4344 2012-06-11 Chong Yidong <cyd@gnu.org>
4345
4346 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4347 is uninstalled, if imagemagick is installed.
4348
4349 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * emacs-lisp/cl-lib.el: Use lexical-binding.
4352 (cl-map-extents, cl-maclisp-member): Remove.
4353 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4354 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4355 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4356 * emacs-lisp/cl-extra.el: Use lexical-binding.
4357 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4358 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4359 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4360 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4361 * emacs-lisp/cl-seq.el: Use lexical-binding.
4362 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4363 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4364 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4365 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4366 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4367 CL's internals.
4368
4369 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
4370
4371 Sync with Tramp 2.2.6-pre.
4372
4373 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4374 `print-length' and `print-level' to nil, in order to avoid
4375 truncation. Reported by Christopher Schmidt
4376 <christopher@ristopher.com>.
4377
4378 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4379
4380 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4381 New defmacro.
4382 (tramp-compat-copy-directory): Add optional argument
4383 COPY-CONTENTS. It is not handled yet.
4384
4385 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4386 (tramp-ftp-file-name-p): Simplify.
4387
4388 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4389 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4390 connection vector.
4391
4392 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4393 (tramp-methods): Do not use `tramp-password-end-of-line'.
4394 (tramp-completion-function-alist-putty): Handle UNIX case.
4395 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4396 (tramp-do-file-attributes-with-stat)
4397 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4398 gid as real numbers. They could run out of integer range on cygwin.
4399 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4400 (tramp-sh-handle-expand-file-name): Handle hops.
4401 (tramp-open-connection-setup-interactive-shell):
4402 Use `tramp-cleanup'. Move check for busyboxes ...
4403 (tramp-find-shell): ... here. Simplify implementation.
4404 Set "remote-shell" property also for alternative shells.
4405 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4406 If failing, a regular file would be written otherwise.
4407 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4408 (tramp-find-inline-encoding): Cache the coding commands in the
4409 process cache. Apply test command on the remote side, if defined.
4410 (tramp-find-inline-compress): Cache the compress commands in the
4411 process cache.
4412 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4413 when requested. Handle hops.
4414 (tramp-current-connection): New defvar.
4415 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4416 Throw `suppress', if there was a failed connection shortly before.
4417 Handle user interrupt. (Bug#10187)
4418 (tramp-get-inline-compress, tramp-get-inline-coding):
4419 Read connection properties from the process cache.
4420
4421 * net/tramp-smb.el (tramp-smb-server-version)
4422 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4423 New defconsts.
4424 (tramp-smb-prompt): Extend for powershell prompt.
4425 (tramp-smb-file-name-handler-alist): Add handlers for
4426 `process-file', `shell-command' and `start-file-process'.
4427 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4428 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4429 (tramp-smb-file-name-p): Simplify.
4430 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4431 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4432 (tramp-smb-shell-quote-argument): New defuns.
4433 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4434 Implement using "tar". By this, time-stamps are preserved.
4435 (tramp-smb-handle-copy-file): Handle also the case of directories.
4436 (tramp-smb-do-file-attributes-with-stat)
4437 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4438 Use `tramp-get-connection-buffer').
4439 (tramp-smb-handle-rename-file): Use "rename", when source and
4440 target are on the same share.
4441 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4442 Use `tramp-smb-server-version'.
4443 (tramp-smb-wait-for-output): Remove prompt.
4444
4445 * net/tramp.el (top): Require 'cl.
4446 (tramp-methods, tramp-rsh-end-of-line):
4447 Remove `tramp-password-end-of-line' from docstring.
4448 (tramp-save-ad-hoc-proxies): New defcustom.
4449 (tramp-completion-function-alist): Adapt docstring.
4450 (tramp-default-password-end-of-line): Remove defcustom.
4451 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4452 (tramp-user-regexp, tramp-file-name-regexp-unified)
4453 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4454 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4455 (tramp-remote-file-name-spec-regexp): New defconst.
4456 (tramp-file-name-structure): Extend structure for hops.
4457 (tramp-get-method-parameter): Move up.
4458 (tramp-file-name-p, tramp-dissect-file-name)
4459 (with-parsed-tramp-file-name): Handle hops.
4460 (tramp-file-name-hop): New defun.
4461 (tramp-make-tramp-file-name): New optional arg HOP.
4462 (tramp-message-show-progress-reporter-message): New defvar.
4463 (tramp-with-progress-reporter): Use it. We cannot use
4464 `tramp-message-show-message' here, because this suppresses also
4465 error buffers.
4466 (tramp-error-with-buffer): Suppress buffer view, if
4467 `tramp-message-show-message' is nil.
4468 Use `tramp-get-connection-buffer'.
4469 (tramp-cleanup): New defun.
4470 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4471 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4472 an error unchanged.
4473 (tramp-completion-handle-file-name-all-completions): Handle hops.
4474 Fix an error when called from ido.
4475 (tramp-completion-dissect-file-name): Use better local variable
4476 name. Add hop to the vector.
4477 (tramp-handle-insert-file-contents): Use progress-reporter for the
4478 whole scenario.
4479 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4480 to `t'.
4481 (tramp-check-for-regexp): Simplify search.
4482 (tramp-enter-password): Remove it. Move implementation ...
4483 (tramp-action-password): ... here.
4484 (tramp-mode-string-to-int, tramp-local-host-p)
4485 (tramp-make-tramp-temp-file, tramp-read-passwd)
4486 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4487 Set tramp-autoload cookie.
4488
4489 * net/trampver.el: Update release number.
4490
4491 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4492 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4495 (tramp-parse-group, tramp-parse-file)
4496 (tramp-parse-shostkeys-sknownhosts): New defuns.
4497 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4498 (tramp-parse-shosts-group, tramp-parse-sconfig)
4499 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4500 (tramp-parse-sknownhosts, tramp-parse-hosts)
4501 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4502 Use them.
4503 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4504 (tramp-parse-putty-group): Don't narrow.
4505 (tramp-parse-putty): Make a loop.
4506 (tramp-file-name-handler): Catch the `suppress' signal.
4507
4508 2012-06-11 Chong Yidong <cyd@gnu.org>
4509
4510 * image.el (imagemagick-register-types): Put the ImageMagick entry
4511 at the end of image-type-file-name-regexps.
4512
4513 2012-06-11 Johan Bockgård <bojohan@gnu.org>
4514
4515 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4516 (pcase, pcase-let*, pcase-dolist): Use them.
4517
4518 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/pcase.el (pcase--let*): New function.
4521 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4522 (pcase--expand): Use macroexp-let².
4523
4524 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4527 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4528 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4529 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4530 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4531 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4532
4533 2012-06-10 Glenn Morris <rgm@gnu.org>
4534
4535 * mail/rmail.el (rmail-yank-current-message): Leave point at
4536 correct position. (Bug#11660)
4537
4538 2012-06-10 Chong Yidong <cyd@gnu.org>
4539
4540 * allout-widgets.el: Fix code header.
4541
4542 2012-06-10 Chong Yidong <cyd@gnu.org>
4543
4544 * cus-edit.el (customize-changed-options-previous-release):
4545 Bump to 24.1.
4546
4547 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4548
4549 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4550
4551 2012-06-09 Chong Yidong <cyd@gnu.org>
4552
4553 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4554
4555 2012-06-09 Martin Rudalics <rudalics@gmx.at>
4556
4557 * window.el (special-display-popup-frame): Don't use
4558 window--display-buffer (Bug#11651).
4559
4560 2012-06-09 Eli Zaretskii <eliz@gnu.org>
4561
4562 Fix parallel builds: make sure loaddefs.el is not being written
4563 while Lisp files are compiled.
4564 (compile): Don't depend on 'mh-autoloads'.
4565 (compile-CMD, compile-SH): Depend on 'autoloads'.
4566 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4567
4568 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4569
4570 2012-06-09 Chong Yidong <cyd@gnu.org>
4571
4572 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4573 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4574 Doc fixes (Bug#11225).
4575
4576 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4579 a function if there's a clear indication that it has a compiler-macro.
4580 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4581 (macro-declarations-alist): Add arglist to declaration functions.
4582 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4583 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4584 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4585 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4586 Also add autoload to find the compiler macro.
4587 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4588 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4589 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4590 (cl--compiler-macro-get): New functions, replacing calls to
4591 cl-define-compiler-macro.
4592 (cl-typep) [compiler-macro]: Use macroexp-let².
4593
4594 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
4595
4596 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4597 string properly, fixes Bug#11473.
4598
4599 2012-06-08 Chong Yidong <cyd@gnu.org>
4600
4601 * faces.el (set-face-attribute): Doc fix.
4602 (modify-face): Don't use :bold and :italic.
4603 (error, warning, success): Tweak definitions.
4604
4605 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4606 (custom-modified, custom-set, custom-changed, custom-themed)
4607 (custom-saved, custom-button, custom-button-mouse)
4608 (custom-button-pressed, custom-state, custom-comment-tag)
4609 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4610 (custom-group-subtitle): Use new-style face specs.
4611 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4612 (custom-set-face, custom-changed-face, custom-saved-face)
4613 (custom-button-face, custom-button-pressed-face)
4614 (custom-documentation-face, custom-state-face)
4615 (custom-comment-face, custom-comment-tag-face)
4616 (custom-variable-tag-face, custom-variable-button-face)
4617 (custom-face-tag-face, custom-group-tag-face-1)
4618 (custom-group-tag-face): Remove obsolete face alias.
4619
4620 * epa.el (epa-validity-high, epa-validity-medium)
4621 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4622 (epa-field-name, epa-field-body):
4623 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4624 (font-lock-keyword-face, font-lock-builtin-face)
4625 (font-lock-function-name-face, font-lock-variable-name-face)
4626 (font-lock-type-face, font-lock-constant-face):
4627 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4628 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4629 * speedbar.el (speedbar-button-face, speedbar-file-face)
4630 (speedbar-directory-face, speedbar-tag-face)
4631 (speedbar-selected-face, speedbar-highlight-face)
4632 (speedbar-separator-face):
4633 * whitespace.el (whitespace-newline, whitespace-space)
4634 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4635 (whitespace-line, whitespace-space-before-tab)
4636 (whitespace-space-after-tab, whitespace-indentation)
4637 (whitespace-empty):
4638 * emulation/cua-base.el (cua-global-mark):
4639 * eshell/em-prompt.el (eshell-prompt):
4640 * net/newst-plainview.el (newsticker-new-item-face)
4641 (newsticker-old-item-face, newsticker-immortal-item-face)
4642 (newsticker-obsolete-item-face, newsticker-date-face)
4643 (newsticker-statistics-face, newsticker-default-face):
4644 * net/newst-reader.el (newsticker-feed-face)
4645 (newsticker-extra-face, newsticker-enclosure-face):
4646 * net/newst-treeview.el (newsticker-treeview-face)
4647 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4648 (newsticker-treeview-immortal-face)
4649 (newsticker-treeview-obsolete-face)
4650 (newsticker-treeview-selection-face):
4651 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4652 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4653 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4654 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4655 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4656 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4657 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4658 (mpuz-text):
4659 * progmodes/vera-mode.el (vera-font-lock-number)
4660 (vera-font-lock-function, vera-font-lock-interface):
4661 * textmodes/table.el (table-cell): Use new-style face specs, and
4662 don't use the old :bold and :italic attributes.
4663
4664 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4665 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4666 (ebrowse-member-class, ebrowse-progress): Likewise.
4667 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4668 (ebrowse-file-name-face, ebrowse-default-face)
4669 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4670 (ebrowse-progress-face): Remove obsolete faces.
4671
4672 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4673 Inherit from error and warning faces respectively.
4674
4675 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4676 Likewise.
4677 (flyspell-incorrect-face, flyspell-duplicate-face):
4678 Remove obsolete aliases.
4679
4680 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4681
4682 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4683 Avoid infloop.
4684
4685 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * startup.el (argv, argi): Make lexically scoped.
4688 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4689 * emacs-lisp/cl-macs.el: Use lexical-binding.
4690 Rename cl-bind-* to cl--bind-*.
4691 * files.el: Don't require `cl' since it doesn't use it.
4692 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4693
4694 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4695
4696 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4697 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4698 instead of calling external sort utility.
4699 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4700
4701 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4702
4703 * descr-text.el (describe-char): Mention how to insert the
4704 character, if the current input method doesn't support it.
4705 See the discussion in this thread for the details:
4706 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4707
4708 2012-06-08 Sam Steingold <sds@gnu.org>
4709
4710 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4711 XF86Back to previous-buffer.
4712 (minibuffer-local-map): Bind them to next-history-element and
4713 previous-history-element respectively.
4714 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4715 help-go-back respectively.
4716 * info.el (Info-mode-map): Bind them to Info-history-forward and
4717 Info-history-back respectively.
4718 These are the keys next to Up on the ThinkPad keyboard.
4719
4720 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4723 * emacs-lisp/cl-macs.el: Provide itself.
4724 (cl--labels-convert-cache): New var.
4725 (cl--labels-convert): New function.
4726 (cl-flet, cl-labels): New implementation with new semantics, relying on
4727 lexical-binding.
4728 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4729 (cl-closure-vars, cl--function-convert-cache)
4730 (cl--function-convert): Move from cl-macs.el.
4731 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4732 rename by removing the "cl-" prefix.
4733 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4734
4735 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4738 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4739 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4740 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4741 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4742 (cl-hash-table-count): Add old compatibility aliases.
4743
4744 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4745 Use macroexpand-all-environment instead.
4746 (cl--old-macroexpand): New var.
4747 (cl--sm-macroexpand): New function.
4748 (cl-symbol-macrolet): Use it during macro expansion.
4749 (cl--function-convert-cache): New var.
4750 (cl--function-convert): New function, extracted from
4751 cl-macroexpand-all.
4752 (cl-lexical-let): Use it.
4753
4754 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4755 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4756 (cl-member): Remove old alias.
4757
4758 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4759 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4760 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4761 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4762 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4763 (cl-macroexpand-cmacs): Remove var.
4764 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4765 Use macroexpand-all instead.
4766
4767 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4768
4769 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4770 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4771 (macroexp-copyable-p): New functions and macros.
4772 * emacs-lisp/edebug.el (edebug-unwrap):
4773 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4774 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4775 (pcase--let*): Remove.
4776 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4777 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4778 macroexp-const-p instead.
4779 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4780
4781 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4782 instead of "cl-" for internal definitions. Use macroexp-const-p.
4783 (cl-old-bc-file-form): Remove var.
4784 (cl-const-exprs-p): Remove fun.
4785 (cl-labels, cl-macrolet): Use backquote.
4786 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4787 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4788 (cl-define-setf-expander): Rename from cl-define-setf-method.
4789 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4790
4791 * international/mule-cmds.el: Don't require CL.
4792 (view-hello-file): Don't use `letf'.
4793
4794 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * tmm.el (tmm-prompt): Use string-prefix-p.
4797 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4798 (tmm-add-prompt): Use minibuffer-completion-help.
4799 (tmm-delete-map): Remove.
4800
4801 * subr.el (kbd): Make it its own function.
4802
4803 2012-06-07 Stefan Merten <smerten@oekonux.de>
4804
4805 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4806 Silence compiler warnings. Fix versions.
4807 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4808 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4809 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4810 (rst-package-emacs-version-alist): Correct Emacs version to
4811 represent major merge with upstream.
4812 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4813
4814 2012-06-06 Glenn Morris <rgm@gnu.org>
4815
4816 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4817 Only print environment variables if set.
4818
4819 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4822 (macroexp--cons): Rename from maybe-cons.
4823 (macroexp--accumulate): Rename from macroexp-accumulate.
4824 (macroexp--all-forms): Rename from macroexpand-all-forms.
4825 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4826 (macroexp--expand-all): Rename from macroexpand-all-1.
4827
4828 2012-06-06 Sam Steingold <sds@gnu.org>
4829
4830 * calendar/calendar.el (calendar-in-read-only-buffer):
4831 Call `special-mode' to enable the standard read-only keybindings.
4832
4833 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4836 with "loading" messages (bug#11635).
4837
4838 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * files.el (enable-remote-dir-locals): New option.
4841 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4842
4843 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4844 Ensure, that the temp directory is local.
4845
4846 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4847 `temporary-file-directory'.
4848
4849 * progmodes/python.el (python-send-region): Ensure, that the
4850 temporary file is created also in the remote case.
4851
4852 2012-06-06 Glenn Morris <rgm@gnu.org>
4853
4854 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4855 (vc-rcs-update-changelog): Use it.
4856
4857 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4858
4859 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4860 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4861 (vc-sccs-diff): Replace use of the external vcdiff script.
4862
4863 2012-06-05 Glenn Morris <rgm@gnu.org>
4864
4865 * ledit.el: Move to obsolete/.
4866
4867 2012-06-05 Sam Steingold <sds@gnu.org>
4868
4869 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4870 patch (Bug#11140).
4871
4872 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/cust-print.el: Move to obsolete.
4875
4876 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4877 compiler-macro expansion.
4878
4879 Add native compiler-macro support.
4880 * emacs-lisp/macroexp.el (macroexpand-all-1):
4881 Support compiler-macros directly. Properly follow aliases and apply
4882 the compiler macros more thoroughly.
4883 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4884 macroexpand now properly follows aliases.
4885 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4886 (cl-compiler-macroexpand): Use new prop.
4887 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4888
4889 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4890
4891 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4892
4893 * window.el (get-lru-window, get-mru-window, get-largest-window):
4894 New argument NOT-SELECTED to avoid picking the selected window.
4895 (window--display-buffer-1, window--display-buffer-2): Replace by
4896 new function window--display-buffer
4897 (display-buffer-same-window, display-buffer-reuse-window)
4898 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4899 Use window--display-buffer.
4900 (display-buffer-use-some-window): Remove temporary dedication
4901 hack by calling get-lru-window and get-largest-window with
4902 NOT-SELECTED argument non-nil. Call window--display-buffer.
4903
4904 2012-06-05 Glenn Morris <rgm@gnu.org>
4905
4906 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4907 Replace external vcdiff script.
4908
4909 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4912
4913 2012-06-04 Chong Yidong <cyd@gnu.org>
4914
4915 * image.el (imagemagick-types-inhibit): Revert last change.
4916 Add INFO and M.
4917 (imagemagick-enabled-types): Remove CIN and EPS*.
4918
4919 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * emacs-lisp/cl-lib.el: Rename from cl.el.
4922 * emacs-lisp/cl.el: New compatibility file.
4923 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4924 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4925 to obey the "cl-" prefix.
4926 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4927
4928 2012-06-03 Glenn Morris <rgm@gnu.org>
4929
4930 * emacs-lisp/authors.el (authors-aliases): Addition.
4931
4932 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4933 Fix :version.
4934
4935 2012-06-03 Stefan Merten <smerten@oekonux.de>
4936
4937 * textmodes/rst.el: Add comments.
4938 (rst-transition, rst-adornment): New faces.
4939 (rst-adornment-faces-alist): Make default safe to reevaluate.
4940 Fixes
4941 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4942 Improve customization tags.
4943 (rst-define-level-faces): Clarify meaning.
4944
4945 2012-06-03 Chong Yidong <cyd@gnu.org>
4946
4947 * progmodes/compile.el (compilation-mode-line-fail)
4948 (compilation-mode-line-run, compilation-mode-line-exit):
4949 New faces.
4950 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4951
4952 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4953
4954 * progmodes/which-func.el (which-func-update-ediff-windows):
4955 New function. Use it in ediff-select-hook (Bug#11478).
4956
4957 2012-06-03 Chong Yidong <cyd@gnu.org>
4958
4959 * bindings.el: Remove explicit help text from format-mode-line.
4960 It is now supplied by mode-line-default-help-echo.
4961 (mode-line-front-space, mode-line-end-spaces)
4962 (mode-line-misc-info): New variables.
4963 (mode-line-modes, mode-line-position): Move the default value to
4964 the variable definition.
4965 (mode-line-default-help-echo): New defcustom.
4966 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4967 (mode-line-modified-help-echo): New functions.
4968 (mode-line-mule-info, mode-line-modified): Use them.
4969 (mode-line-eol-desc, propertized-buffer-identification):
4970 Consistency fixes for help text.
4971 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4972 set-buffer-file-coding-system (Bug#289).
4973 (mode-line-mule-info-help-echo): Update help text.
4974
4975 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * simple.el (execute-extended-command): Set real-this-command
4978 (bug#11506).
4979
4980 2012-06-02 Chong Yidong <cyd@gnu.org>
4981
4982 Remove incorrect uses of "modeline" in comments, docstrings, and
4983 function/variable names (Bug#10329).
4984
4985 * cus-edit.el (mode-line):
4986 * dframe.el (dframe-mouse-hscroll):
4987 * emacs-lisp/re-builder.el:
4988 * emacs-lisp/easy-mmode.el (define-minor-mode):
4989 * frame.el (set-frame-name):
4990 * help.el (lookup-minor-mode-from-indicator):
4991 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4992 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4993 (c-toggle-hungry-state):
4994 * progmodes/antlr-mode.el (antlr-language-alist):
4995 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4996 * progmodes/vhdl-mode.el (vhdl-mode):
4997 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4998 * term/ns-win.el (ns-face-at-pos):
4999 * term/sup-mouse.el (sup-mouse-report):
5000 * textmodes/flyspell.el (flyspell-mode-line-string):
5001 * textmodes/ispell.el (ispell-highlight-face):
5002 * textmodes/reftex-global.el:
5003 * vc/vc-arch.el (vc-arch-mode-line-string):
5004 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5005 * vc/vc-git.el (vc-git-mode-line-string):
5006 * vc/vc-hooks.el (vc-display-status)
5007 (vc-default-mode-line-string):
5008 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5009
5010 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5011
5012 * dired.el (dired-sort-set-mode-line): Rename from
5013 dired-sort-set-modeline. All callers changed.
5014
5015 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5016 eshell-status-in-modeline.
5017
5018 * foldout.el (foldout-mode-line-string): Rename from
5019 foldout-modeline-string. All callers changed.
5020 (foldout-update-mode-line): Rename from foldout-update-modeline.
5021
5022 * subr.el (redraw-modeline): Make into obsolete alias.
5023
5024 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5025 timeclock-modeline-display. Make old name an alias.
5026 (timeclock-update-mode-line): Likewise. All callers changed.
5027 (timeclock-mode-line-display): No need to check before using
5028 add-hook.
5029 (timeclock-relative, timeclock-day-over-hook)
5030 (timeclock-use-elapsed, timeclock-mode-string)
5031 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5032
5033 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5034 crisp-mode-modeline-string.
5035
5036 * play/solitaire.el (solitaire-build-mode-line): Rename from
5037 solitaire-build-modeline. All callers changed.
5038
5039 * play/zone.el (zone-hiding-mode-line): Rename from
5040 zone-hiding-modeline. All callers changed.
5041 (zone): Remove unusued `modeline-hidden-level' property.
5042
5043 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5044 xscheme-modeline-initialize. All callers changed.
5045
5046 * strokes.el (strokes-lighter): Rename from
5047 strokes-modeline-string.
5048
5049 * textmodes/sgml-mode.el (html-face-tag-alist)
5050 (html-tag-face-alist): Use mode-line face instead of obsolete
5051 alias modeline.
5052
5053 2012-06-02 Stefan Merten <smerten@oekonux.de>
5054
5055 * textmodes/rst.el: Always require `cl'.
5056 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5057
5058 2012-06-02 Chong Yidong <cyd@gnu.org>
5059
5060 * image.el (imagemagick-enabled-types): Rename from
5061 imagemagick-types-enable. Add many more types.
5062 (imagemagick-types-inhibit): Change default to nil.
5063 (imagemagick-filter-types): Caller changed.
5064
5065 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * emacs-lisp/cl-macs.el: Use backquotes.
5068 (cl-transform-function-property): Use eval-and-compile rather than
5069 abusing `require'.
5070 (defstruct): Use declare-function instead of with-no-warnings.
5071
5072 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5073 (byte-compile-output-docform): Re-add the print-circle bindings.
5074 (byte-compile-fix-header): Use #$ just because it's shorter.
5075 (byte-compile-output-file-form): Remove defun/defmacro.
5076
5077 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5078
5079 * simple.el (choose-completion): Remove now obsolete binding for
5080 owindow.
5081
5082 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5085 in order to avoid "Stack overflow in regexp matcher".
5086
5087 2012-05-31 Glenn Morris <rgm@gnu.org>
5088
5089 * image.el: For clarity, call imagemagick-register-types at
5090 top-level, rather than relying on a custom :initialize.
5091 (imagemagick-types-enable): New option. (Bug#11557)
5092 (imagemagick-filter-types): New function. (Bug#7406)
5093 (imagemagick-register-types): Use imagemagick-filter-types.
5094 If disabling support, remove elements altogether rather
5095 than using an impossible regexp.
5096 (imagemagick-types-inhibit): Give it the default init function.
5097
5098 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5101 Handle arbitrary file name lengths (Bug#11585).
5102
5103 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5104
5105 * desktop.el (desktop-read): Clear previous and next buffers for
5106 all windows and bury *Messages* buffer (bug#11556).
5107
5108 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 Add `declare' for `defun'. Align `defmacro's with it.
5111 * emacs-lisp/easy-mmode.el (define-minor-mode)
5112 (define-globalized-minor-mode): Don't autoload the var definitions.
5113 * emacs-lisp/byte-run.el: Use lexical-binding.
5114 (defun-declarations-alist, macro-declarations-alist): New vars.
5115 (defmacro, defun): Use them.
5116 (make-obsolete, define-obsolete-function-alias)
5117 (make-obsolete-variable, define-obsolete-variable-alias):
5118 Use `declare'.
5119 (macro-declaration-function): Mark obsolete.
5120 * emacs-lisp/autoload.el: Use lexical-binding.
5121 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5122
5123 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5124
5125 * textmodes/ispell.el (ispell-with-no-warnings):
5126 Define as a macro.
5127 (ispell-kill-ispell, ispell-change-dictionary):
5128 Use `called-interactively-p' for Emacs instead of obsolete
5129 `interactive-p'.
5130
5131 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5134 (macro-declaration-function): Move var from C code.
5135 (macro-declaration-function): Define function with defalias.
5136 * emacs-lisp/macroexp.el (macroexpand-all-1):
5137 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5138 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5139 defun/defmacro any more.
5140 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5141 Provide fallback for unknown arglist.
5142 (byte-compile-arglist-warn): Change calling convention.
5143 (byte-compile-output-file-form): Move print-vars binding.
5144 (byte-compile-output-docform): Simplify accordingly.
5145 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5146 (byte-compile-defmacro-declaration): Remove.
5147 (byte-compile-file-form-defmumble): Generalize to defalias.
5148 (byte-compile-output-as-comment): Return byte-positions.
5149 Simplify callers accordingly.
5150 (byte-compile-lambda): Use `assert'.
5151 (byte-compile-defun, byte-compile-defmacro): Remove.
5152 (byte-compile-file-form-defalias):
5153 Use byte-compile-file-form-defmumble.
5154 (byte-compile-defalias-warn): Remove.
5155
5156 2012-05-29 Stefan Merten <smerten@oekonux.de>
5157
5158 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5159 possible. Fix authors. Improve comments. Improve loading of `cl'.
5160
5161 (rst-mode-abbrev-table): Merge definition.
5162 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5163 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5164
5165 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5166
5167 * calendar/icalendar.el
5168 (icalendar-export-region): Export UID properly.
5169
5170 2012-05-29 Leo Liu <sdl.web@gmail.com>
5171 * calendar/icalendar.el (icalendar-import-format):
5172 Add `icalendar-import-format-uid' (Bug#11525).
5173 (icalendar-import-format-uid): New.
5174 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5175 Export UID.
5176
5177 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5180 different alternative patterns.
5181 (pcase-codegen): Be more careful to preserve identity.
5182 (pcase--u1): Don't forget to mark vars as used.
5183
5184 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5185 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5186 (byte-compile-from-buffer): ...rather than here.
5187
5188 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5189 functions from byte-compile-function-environment.
5190
5191 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5192
5193 * window.el (window-deletable-p): Avoid deleting the root window
5194 of a frame with an active minibuffer.
5195
5196 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5197
5198 * simple.el (choose-completion): Use quit-window (Bug#11567).
5199
5200 2012-05-29 Chong Yidong <cyd@gnu.org>
5201
5202 * whitespace.el (whitespace-cleanup): Fix usage of
5203 whitespace-empty-at-bob-regexp (Bug#11492).
5204
5205 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5206
5207 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5208 revert (Bug#11488).
5209
5210 2012-05-29 Juri Linkov <juri@jurta.org>
5211
5212 * isearch.el (isearch-mode-map): Bind `M-s _' to
5213 `isearch-toggle-symbol'. Bind `M-s c' to
5214 `isearch-toggle-case-fold'.
5215 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5216 (isearch-forward): Add `M-s _' to the docstring.
5217 (isearch-forward-symbol, isearch-toggle-case-fold)
5218 (isearch-symbol-regexp): New functions. (Bug#11381)
5219
5220 2012-05-29 Juri Linkov <juri@jurta.org>
5221
5222 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5223 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5224 a function, call it to get the regexp.
5225 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5226 property `isearch-message-prefix' instead of the string "word ".
5227 (isearch-search-fun-default): For the case of `isearch-word',
5228 return a lambda that calls re-search-forward/re-search-backward
5229 with a regexp returned by `word-search-regexp' or by the function
5230 in `isearch-word'.
5231
5232 2012-05-29 Juri Linkov <juri@jurta.org>
5233
5234 * isearch.el (isearch-search-fun-default): New function.
5235 (isearch-search-fun): Move default part to the new function
5236 `isearch-search-fun-default'.
5237 (isearch-search-fun-function): Set the default value to
5238 `isearch-search-fun-default'. (Bug#11381)
5239
5240 * comint.el (comint-history-isearch-end):
5241 Use `isearch-search-fun-default'.
5242 (comint-history-isearch-search): Use `isearch-search-fun-default'
5243 and remove spacial case for `isearch-word'.
5244 (comint-history-isearch-wrap): Remove spacial case for
5245 `isearch-word'.
5246
5247 * hexl.el (hexl-isearch-search-function):
5248 Use `isearch-search-fun-default'.
5249
5250 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5251 Use `word-search-regexp' for `isearch-word'.
5252
5253 * misearch.el (multi-isearch-search-fun):
5254 Use `isearch-search-fun-default'.
5255
5256 * simple.el (minibuffer-history-isearch-search):
5257 Use `isearch-search-fun-default' and remove spacial case for
5258 `isearch-word'.
5259 (minibuffer-history-isearch-wrap): Remove spacial case for
5260 `isearch-word'.
5261
5262 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5263 Remove spacial case for `isearch-word'.
5264 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5265
5266 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5267
5268 Decrease XEmacs incompatibilities.
5269 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5270 Use `string-match'.
5271 (flyspell-delete-region-overlays): Use alternative definition for
5272 XEmacs.
5273 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5274 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5275 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5276 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5277 `define-obsolete-face-alias' under XEmacs, but old method.
5278
5279 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5280 `with-no-warnings' definition or Emacs alias.
5281 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5282 (ispell-word): Do not use `region-p' if XEmacs.
5283
5284 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5285
5286 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5287 Check for `ispell-dictionary-base-alist' instead of full
5288 `ispell-dictionary-alist'.
5289 (ispell-init-process): Show spellchecker when starting new Ispell
5290 process.
5291
5292 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5295 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5296
5297 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
5298
5299 * version.el (motif-version-string, gtk-version-string)
5300 (ns-version-string): Declare.
5301
5302 2012-05-27 Juri Linkov <juri@jurta.org>
5303
5304 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5305 after the `eval-defun-1' specialcaseing
5306 like in `edebug-eval-defun' (bug#10181).
5307
5308 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5309 like in `eval-defun-1'.
5310
5311 2012-05-27 Eli Zaretskii <eliz@gnu.org>
5312
5313 * mail/sendmail.el (mail-yank-region):
5314 Recognize rmail-yank-current-message in addition to insert-buffer.
5315 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5316 a *mail* buffer created through rmail-start-mail with sendmail as
5317 mail-user-agent.
5318
5319 2012-05-27 Chong Yidong <cyd@gnu.org>
5320
5321 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5322 Default to 256 (Bug#11267).
5323
5324 * help.el (describe-mode): Doc fix.
5325
5326 2012-05-26 Glenn Morris <rgm@gnu.org>
5327
5328 * w32-fns.el (w32-init-info): Remove.
5329 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5330
5331 * info.el (info-initialize): For self-contained NS builds, put the
5332 included info/ directory at the front. (Bug#2791)
5333
5334 * paths.el (Info-default-directory-list): Make it a defcustom,
5335 mainly so that we can use custom-initialize-delay.
5336
5337 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * subr.el (buffer-has-markers-at): Mark obsolete.
5340
5341 * subr.el (lambda): Use declare.
5342
5343 * emacs-lisp/lisp-mode.el (lambda):
5344 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5345
5346 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5347
5348 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5349
5350 2012-05-26 Glenn Morris <rgm@gnu.org>
5351
5352 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5353
5354 2012-05-25 Glenn Morris <rgm@gnu.org>
5355
5356 * paths.el: Remove no-byte-compile.
5357 * loadup.el: No need to load paths.el uncompiled.
5358
5359 * image.el (imagemagick-types-inhibit): Doc fix.
5360
5361 * version.el: Remove no-byte-compile and associated formatting.
5362 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5363 is ancient code from when there was an "inc-vers.el".
5364
5365 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * progmodes/gdb-mi.el: Minor style changes.
5368 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5369 Turn into minor modes.
5370 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5371 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5372 (gdb-shell): Remove unneeded let-binding.
5373 (gdb-get-many-fields): Eliminate O(n²) behavior.
5374
5375 2012-05-25 Eli Zaretskii <eliz@gnu.org>
5376
5377 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5378 platforms that don't link in fontset.c.
5379
5380 2012-05-25 Juri Linkov <juri@jurta.org>
5381
5382 Use the same diff color scheme as in modern VCSes (bug#10181).
5383
5384 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5385 to avoid confusion with `diff-added' that now uses green colors.
5386 (diff-removed): Use shades of red.
5387 (diff-added): Use shades of green.
5388 (diff-changed): Leave just the yellow color.
5389 (diff-use-changed-face): New variable.
5390 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5391 how to highlight context diff changes.
5392 (diff-refine-change): Use shades of yellow.
5393 (diff-refine-removed): New face that uses shades of red.
5394 (diff-refine-added): New face that uses shades of green.
5395 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5396 `diff-refine-removed' in the call to `smerge-refine-subst'
5397 depending on the value of `diff-use-changed-face'.
5398
5399 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5400 (smerge-other): Use shades of green.
5401 (smerge-base): Use shades of yellow.
5402 (smerge-refined-change): Empty face.
5403 (smerge-refined-removed): New face that uses shades of red.
5404 (smerge-refined-added): New face that uses shades of green.
5405 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5406 args `props-r' and `props-a', and use them. Doc fix.
5407 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5408 on its value use different faces `smerge-refined-change',
5409 `smerge-refined-removed', `smerge-refined-added' in the call to
5410 `smerge-refine-subst'.
5411
5412 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5413 Add face condition `min-colors 88' with shades of red.
5414 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5415 `min-colors 88' with shades of green.
5416 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5417 `min-colors 88' with shades of yellow.
5418
5419 2012-05-24 Glenn Morris <rgm@gnu.org>
5420
5421 * paths.el (prune-directory-list, remote-shell-program): Move to...
5422 * files.el (prune-directory-list, remote-shell-program): ...here.
5423 For the latter, delay initialization, prefer ssh, just search PATH.
5424
5425 * paths.el (term-file-prefix): Move to faces.el (the only user).
5426 * faces.el (term-file-prefix): Move here, make it a defcustom.
5427
5428 * paths.el (news-directory, news-path, news-inews-program):
5429 Move to gnus/nnspool.el.
5430
5431 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5432
5433 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5434 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5435 Make the latter a defcustom, with a delayed initialization.
5436
5437 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5438 These were deleted from Gnus itself late 2010.
5439
5440 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * progmodes/which-func.el (which-func-ff-hook):
5443 Check against user-error, not error.
5444
5445 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5446 cl-specs.el, which no longer exists.
5447
5448 2012-05-22 Glenn Morris <rgm@gnu.org>
5449
5450 * info.el (info-emacs-bug): New command.
5451 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5452 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5453
5454 2012-05-21 Glenn Morris <rgm@gnu.org>
5455
5456 * makefile.w32-in (update-subdirs-SH):
5457 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5458
5459 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5462
5463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5464 Simplify Maven regexp, and make sure the file can't start with a space
5465 (bug#11517).
5466
5467 2012-05-21 Glenn Morris <rgm@gnu.org>
5468
5469 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5470 Scrap superfluous subshells.
5471
5472 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5475 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5476
5477 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5478
5479 * calc/calc.el (calc-ensure-consistent-units): New variable.
5480
5481 * calc/calc-units.el (math-consistent-units-p)
5482 (math-check-unit-consistency): New functions.
5483 (calc-quick-units, calc-convert-units):
5484 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5485 is non-nil.
5486 (calc-extract-units): Fix typo.
5487
5488 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5491
5492 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5493 (flyspell-default-deplacement-commands): Don't spell check after
5494 repeated window/frame switches (e.g. triggered by mouse-movement).
5495 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5496 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5497 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5498 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5499 Remove unused vars.
5500 (flyspell-get-casechars, flyspell-get-not-casechars):
5501 Simplify; Don't bother removing a ] just to add it back.
5502 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5503
5504 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5505
5506 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5507 New functions.
5508 (math-function-table): Add support for more C functions.
5509
5510 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5511
5512 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5513 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5514 Protect delay handling for otherchars against empty otherchars.
5515
5516 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5519 their respective macro declarations.
5520 * skeleton.el (define-skeleton):
5521 * progmodes/compile.el (define-compilation-mode):
5522 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5523 (define-ibuffer-filter):
5524 * emacs-lisp/generic.el (define-generic-mode):
5525 * emacs-lisp/easy-mmode.el (define-minor-mode)
5526 (define-globalized-minor-mode):
5527 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5528 * emacs-lisp/byte-run.el (defsubst):
5529 * custom.el (deftheme): Add doc-string metadata.
5530
5531 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5534
5535 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5538
5539 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5540 * emacs-lisp/cl-macs.el: Idem.
5541 * emacs-lisp/cl-specs.el: Remove.
5542
5543 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 Minor renaming of internal CL functions and variables.
5546 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5547 (cl--position): Rename from cl-position.
5548 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5549 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5550 (cl--random-state): Rename from *random-state*.
5551
5552 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5555 parens around the arg list (bug#11499).
5556
5557 2012-05-17 Juri Linkov <juri@jurta.org>
5558
5559 * isearch.el (word-search-regexp, word-search-backward)
5560 (word-search-forward, word-search-backward-lax)
5561 (word-search-forward-lax): Move functions from search.c
5562 (bug#10145, bug#11381).
5563
5564 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5565
5566 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5567 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5568 Delay for otherchars as for normal word components.
5569
5570 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * minibuffer.el (completion--sifn-requote): Fix last change.
5573 (minibuffer-local-must-match-filename-map):
5574 Move define-obsolete-variable-alias before its var.
5575
5576 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5579
5580 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5581 behavior.
5582 (completion--string-equal-p): New function.
5583 (completion--twq-all): Use it to get better assertion failure data.
5584
5585 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5586 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5587 (shell--requote-argument): New functions.
5588 (shell-completion-vars): Use them.
5589 (shell--parse-pcomplete-arguments): Rename from
5590 shell-parse-pcomplete-arguments.
5591 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5592 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5593 Obey comint-file-name-quote-list.
5594
5595 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5596 (smie-indent-keyword): Use it.
5597
5598 2012-05-14 Stefan Merten <smerten@oekonux.de>
5599
5600 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5601
5602 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * net/rlogin.el (rlogin-mode-map): Fix last change.
5605
5606 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
5607
5608 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5609 the following \r\n using a single `process-send-string', since the
5610 Lotus SMTP server refuses to accept any commands if they are sent
5611 with two `process-send-string's (Bug#11444).
5612
5613 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * shell.el (shell-parse-pcomplete-arguments):
5616 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5617
5618 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5619
5620 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5621 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5622 (image-transform-width, image-transform-fit-width): New functions.
5623 (image-transform-properties): Use them.
5624 (image-transform-check-size): New function.
5625 (image-toggle-display-image): Use it (for testing).
5626 (image-transform-set-rotation): Reduce angle mod 360.
5627 Delete obsolete comment.
5628
5629 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5630
5631 * image-mode.el: Fix scaling (bug#11399).
5632 (image-transform-resize): Doc fix.
5633 (image-transform-properties): Default scale is 1 and height should
5634 be an integer.
5635
5636 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5637
5638 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5639 than hard-coding `car', to fix misbehavior when moving forward.
5640
5641 2012-05-13 Chong Yidong <cyd@gnu.org>
5642
5643 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5644 (tabulated-list-entries, tabulated-list-padding)
5645 (tabulated-list-sort-key): Make permanent-local.
5646
5647 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5648 (electric-buffer-list): Put electric buffer menu
5649 command descriptions in this docstring, instead of the docstring
5650 of electric-buffer-menu-mode. Code cleanups.
5651 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5652 Electric-buffer-menu-mode.
5653 (electric-buffer-update-highlight): Minor code cleanup.
5654
5655 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5656
5657 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5658 (Bug#11447)
5659
5660 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 Move define-obsolete-variable-alias before the var's definition.
5663 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5664 * tooltip.el (tooltip-hook):
5665 * textmodes/reftex-toc.el (reftex-toc-map):
5666 * textmodes/reftex-sel.el (reftex-select-label-map)
5667 (reftex-select-bib-map):
5668 * textmodes/reftex-index.el (reftex-index-map)
5669 (reftex-index-phrases-map):
5670 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5671 * progmodes/meta-mode.el (meta-mode-map):
5672 * novice.el (disabled-command-hook):
5673 * loadhist.el (unload-hook-features-list):
5674 * frame.el (blink-cursor):
5675 * files.el (find-file-not-found-hooks, write-file-hooks)
5676 (write-contents-hooks):
5677 * emulation/tpu-edt.el (GOLD-map):
5678 * emacs-lock.el (emacs-lock-from-exiting):
5679 * emacs-lisp/generic.el (generic-font-lock-defaults):
5680 * emacs-lisp/chart.el (chart-map):
5681 * dos-fns.el (register-name-alist):
5682 * dired-x.el (dired-omit-files-p):
5683 * desktop.el (desktop-enable):
5684 * cus-edit.el (custom-mode-hook):
5685 * buff-menu.el (buffer-menu-mode-hook):
5686 * bookmark.el (bookmark-read-annotation-text-func)
5687 (bookmark-exit-hooks):
5688 * allout.el (allout-mode-deactivate-hook)
5689 (allout-exposure-change-hook, allout-structure-added-hook)
5690 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5691 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5692 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5693 comes before the corresponding variable's definition.
5694
5695 2012-05-12 Chong Yidong <cyd@gnu.org>
5696
5697 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5698 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5699 (Buffer-menu-mode-map): Bind it.
5700 (Buffer-menu--pretty-name): Add a mouse-face property.
5701
5702 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5705 (prolog-upper-case-string, prolog-lower-case-string)
5706 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5707 (prolog-use-smie, prolog-smie-grammar): New vars.
5708 (prolog-smie-forward-token, prolog-smie-backward-token)
5709 (prolog-smie-rules): New funs.
5710 (prolog-comment-indent): Remove.
5711 (prolog-mode-variables): Use default comment indentation instead.
5712 Setup SMIE.
5713 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5714 (prolog-mode): Don't call them any more.
5715 (prolog-electric-colon, prolog-electric-dash)
5716 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5717
5718 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5719
5720 * minibuffer.el (completion--twq-all): Again, allow case differences.
5721
5722 * term.el: Move keymap initialization code to be more idiomatic.
5723 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5724 (term-terminal-menu): Move initialization into declaration.
5725 (term-escape-char): Let the user set it in her .emacs.
5726
5727 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5728 Provide SMIE-based indentation (not enabled by default yet).
5729 (sh-mode-map): Don't bind electric keys.
5730 Use electric-pair-mode instead of skeleton-pair.
5731 (sh-assignment-regexp): Fit within 80 columns.
5732 (sh-indent-supported): Specify actual shell name instead of boolean.
5733 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5734 (sh-maybe-here-document): Use it. Make obsolete.
5735 (sh-electric-here-document-mode) New minor mode.
5736 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5737 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5738 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5739 (sh-smie-rc-grammar, sh-use-smie): New vars.
5740 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5741 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5742 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5743 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5744 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5745 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5746 (sh-set-shell): Use smie-setup if requested.
5747
5748 * term.el (term-set-escape-char): Properly set term-escape-char.
5749 See http://stackoverflow.com/questions/10524656.
5750
5751 2012-05-10 Chong Yidong <cyd@gnu.org>
5752
5753 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5754 Use url-generic-parse-url, and handle host names and Windows
5755 filenames properly.
5756 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5757 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5758 URL schemes to work on.
5759 (ffap--toggle-read-only): New function.
5760 (ffap-read-only, ffap-read-only-other-window)
5761 (ffap-read-only-other-frame): Use it.
5762 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5763 necessary for ffap-url-unwrap-remote.
5764
5765 2012-05-10 Dave Abrahams <dave@boostpro.com>
5766
5767 * cus-start.el (create-lockfiles): Add it.
5768
5769 2012-05-09 Chong Yidong <cyd@gnu.org>
5770
5771 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5772 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5773
5774 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5777
5778 2012-05-09 Chong Yidong <cyd@gnu.org>
5779
5780 * ansi-color.el (ansi-color-process-output): Check for validity of
5781 comint-last-output-start before using it. This avoids a bad
5782 interaction with gdb-mi's input/output buffer.
5783
5784 2012-05-09 Glenn Morris <rgm@gnu.org>
5785
5786 * files.el (dir-locals-read-from-file):
5787 Mention dir-locals in any error message.
5788
5789 2012-05-09 Chong Yidong <cyd@gnu.org>
5790
5791 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5792 package (Bug#11410).
5793
5794 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5795 variables into description.
5796
5797 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5800 shell-delimiter-argument-list (bug#11348).
5801 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5802
5803 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5804
5805 * textmodes/rst.el: Silence byte-compiler warnings.
5806 (rst-re-alist, rst-reset-section-caches): Move around.
5807 (rst-re): Use `characterp', not `char-valid-p'.
5808 (font-lock-beg, font-lock-end): Declare.
5809
5810 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5811 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5812
5813 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5814
5815 2012-05-08 Glenn Morris <rgm@gnu.org>
5816
5817 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5818
5819 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * vc/log-edit.el: Add GNU coding standards highlighting.
5822 (log-edit-font-lock-gnu-style)
5823 (log-edit-font-lock-gnu-keywords): New vars.
5824 (log-edit-font-lock-keywords): New fun.
5825 (log-edit-mode): Don't fold case in font-lock.
5826 (log-edit-font-lock-keywords): Do not assume case-folding.
5827
5828 * imenu.el: Misc cleanup. Make docstrings out of comments.
5829 Use lexical-binding.
5830 (imenu--index-alist, imenu--last-menubar-index-alist)
5831 (imenu-menubar-modified-tick): Use defvar-local.
5832 (imenu--split-menu): Remove unused var.
5833 (imenu--cleanup-seen): Declare as global.
5834 (imenu--cleanup): Use dolist.
5835
5836 * subr.el (defvar-local): Add debug spec and doc-string position.
5837
5838 2012-05-08 Glenn Morris <rgm@gnu.org>
5839
5840 * language/burmese.el, language/cham.el, language/czech.el:
5841 * language/english.el, language/georgian.el, language/greek.el:
5842 * language/japanese.el, language/khmer.el, language/korean.el:
5843 * language/lao.el, language/misc-lang.el, language/romanian.el:
5844 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5845 * language/thai.el, language/utf-8-lang.el:
5846 Remove no-byte-compile setting.
5847
5848 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5849
5850 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5851
5852 * progmodes/make-mode.el (makefile-browse):
5853 Remove unnecessary interactive. (Bug#11324)
5854
5855 2012-05-07 Glenn Morris <rgm@gnu.org>
5856
5857 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5858
5859 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5860
5861 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * loadup.el: Preload newcomment.el.
5864 * newcomment.el: Move autoload-only code to toplevel.
5865
5866 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5867 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5868 Handle new :right-align column property.
5869 (tabulated-list-print-col): Idem, plus use `display' text-property to
5870 try and preserve alignment for variable pitch fonts.
5871
5872 2012-05-07 Chong Yidong <cyd@gnu.org>
5873
5874 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5875 (tabulated-list-use-header-line): New var.
5876 (tabulated-list-init-header): Use it.
5877 (tabulated-list-print-fake-header): New function.
5878 (tabulated-list-print): Use it.
5879 (tabulated-list-sort-button-map): Add non-header-line commands.
5880 (tabulated-list-init-header): Add column name property to basic
5881 labels as well.
5882 (tabulated-list-col-sort): Handle non-header-line button case.
5883 (tabulated-list--sort-by-column-name): Fix a corner case.
5884
5885 * buff-menu.el (list-buffers--refresh):
5886 Handle Buffer-menu-use-header-line.
5887
5888 2012-05-06 Chong Yidong <cyd@gnu.org>
5889
5890 * buff-menu.el: Convert to Tabulated List mode.
5891 (Buffer-menu-buffer+size-width): Make obsolete.
5892 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5893 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5894 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5895 documentation into docstring of buffer-menu.
5896 (Buffer-menu-toggle-files-only): Add an informative message.
5897 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5898 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5899 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5900 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5901 (Buffer-menu-execute, Buffer-menu-select)
5902 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5903 (Buffer-menu-bury): Use Tabulated List machinery.
5904 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5905 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5906 Delete.
5907 (list-buffers--refresh): New function.
5908 (list-buffers-noselect): Use it.
5909 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5910 (Buffer-menu--pretty-file-name): New helper functions.
5911
5912 * loadup.el: Preload tabulated-list.
5913
5914 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5915 tabulated-list-sort-column.
5916 (tabulated-list-init-header): Add the initial aligning space even
5917 if tabulated-list-padding is zero.
5918
5919 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5920
5921 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5922 whose cdr is not a cons cell correctly (bug#11038).
5923
5924 2012-05-06 Chong Yidong <cyd@gnu.org>
5925
5926 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5927 Accept additional plist in column descriptors.
5928 (tabulated-list-init-header): Obey it.
5929 (tabulated-list-get-entry): New function.
5930 (tabulated-list-put-tag): Use it. Use string-width instead of
5931 length.
5932 (tabulated-list--column-number): New function.
5933 (tabulated-list-print): Use it.
5934 (tabulated-list-print-col): New function.
5935 Set `tabulated-list-column-name' property on each column's text.
5936 (tabulated-list-print-entry): Use it.
5937 (tabulated-list-delete-entry, tabulated-list-set-col):
5938 New functions.
5939 (tabulated-list-sort-column): New command (Bug#11337).
5940
5941 * buff-menu.el (list-buffers): Move C-x C-b binding from
5942 buff-menu.el to bindings.el.
5943
5944 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5945 :advertised-binding feature.
5946
5947 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5948
5949 * progmodes/compile.el (compilation-internal-error-properties):
5950 Calculate start position correctly when end-col is set but
5951 end-line is not (Bug#11382).
5952
5953 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5954
5955 * man.el (Man-unindent): Use text-property-default-nonsticky to
5956 prevent untabify from inheriting face properties (Bug#11408).
5957
5958 2012-05-05 Stefan Merten <smerten@oekonux.de>
5959
5960 * textmodes/rst.el: Major merge with upstream development up to
5961 Docutils SVN r7399 / rst.el V1.2.1.
5962
5963 Clarify maintainership and authors.
5964
5965 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5966 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5967 (rst-official-version, rst-official-cvs-rev, rst-version)
5968 (rst-package-emacs-version-alist): New functions and variables
5969 for version information.
5970
5971 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5972 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5973 (rst-mode-syntax-table, rst-mode): New and corrected functions
5974 and variables representing reStructuredText features.
5975
5976 (rst-re): New function for reStructuredText regexes. Use in
5977 many places.
5978
5979 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5980 (rst-mode-map): Rebind keys.
5981
5982 (rst-mode-lazy, rst-font-lock-keywords)
5983 (rst-font-lock-extend-region)
5984 (rst-font-lock-extend-region-internal)
5985 (rst-font-lock-extend-region-extend)
5986 (rst-font-lock-find-unindented-line-limit)
5987 (rst-font-lock-find-unindented-line-match)
5988 (rst-adornment-level, rst-font-lock-adornment-level)
5989 (rst-font-lock-adornment-match)
5990 (rst-font-lock-handle-adornment-pre-match-form)
5991 (rst-font-lock-handle-adornment-matcher): Major revision of
5992 font-locking. Integrate with other code. Use `jit-lock-mode'.
5993
5994 (rst-preferred-adornments, rst-adjust-hook)
5995 (rst-new-adornment-down, rst-preferred-bullets)
5996 (rst-preferred-bullets, rst-indent, rst-indent-width)
5997 (rst-indent-field, rst-indent-literal-normal)
5998 (rst-indent-literal-minimized, rst-indent-comment): Change,
5999 extend and improve customization.
6000
6001 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6002 (rst-normalize-cursor-position, rst-get-decoration)
6003 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6004 (rst-rstrip, rst-toc-insert-find-delete-contents)
6005 (rst-shift-fill-region, rst-compute-bullet-tabs)
6006 (rst-debug-print-tabs, rst-debug-mark-found)
6007 (rst-shift-region-guts, rst-shift-region-right)
6008 (rst-shift-region-left, rst-use-char-classes)
6009 (rst-font-lock-keywords-function)
6010 (rst-font-lock-indentation-point)
6011 (rst-font-lock-find-unindented-line-begin)
6012 (rst-font-lock-find-unindented-line-end)
6013 (rst-font-lock-find-unindented-line)
6014 (rst-font-lock-adornment-point, rst-font-lock-level)
6015 (rst-adornment-level-alist): Remove functions and variables.
6016
6017 (rst-compare-adornments, rst-get-adornment-match)
6018 (rst-suggest-new-adornment, rst-get-adornments-around)
6019 (rst-adornment-complete-p, rst-get-next-adornment)
6020 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6021 (rst-straighten-adornments): Standardize function names to
6022 use "adornment" instead of "decoration". Correct callers.
6023 Similar standardizing in many places.
6024
6025 (rst-update-section, rst-adjust, rst-promote-region)
6026 (rst-enumerate-region, rst-bullet-list-region)
6027 (rst-repeat-last-character): Correct use of `interactive'.
6028
6029 (rst-classify-adornment, rst-find-all-adornments)
6030 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6031 (rst-find-leftmost-column, rst-repeat-last-character):
6032 Refactor functions.
6033
6034 (rst-find-title-line, rst-reset-section-caches)
6035 (rst-get-adornments-around, rst-adjust-adornment-work)
6036 (rst-arabic-to-roman, rst-roman-to-arabic)
6037 (rst-insert-list-pos, rst-insert-list-new-item)
6038 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6039 New functions.
6040
6041 (rst-all-sections, rst-section-hierarchy)
6042 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6043 New variables.
6044
6045 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6046 configuration instead of only buffer. Change where necessary.
6047
6048 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6049 (rst-shift-region, rst-adaptive-fill): New functions for
6050 indentation and filling.
6051
6052 (rst-comment-line-break, rst-comment-indent)
6053 (rst-comment-insert-comment, rst-comment-region)
6054 (rst-uncomment-region): New functions for handling comments.
6055
6056 (rst-compile): Quote shell arguments.
6057
6058 (rst-compile-pdf-preview, rst-compile-slides-preview):
6059 Delete temporary files after use.
6060
6061 2012-05-05 Glenn Morris <rgm@gnu.org>
6062
6063 * calendar/cal-html.el: Optionally include holidays in the output.
6064 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6065 (cal-html-holidays): New option.
6066 (cal-html-css-default): Add holiday entry.
6067 (holiday-in-range): Autoload it.
6068 (cal-html-htmlify-entry): Add optional class argument.
6069 (cal-html-htmlify-list): Add optional holidays argument.
6070 (cal-html-insert-agenda-days): Include holidays in the output.
6071 (cal-html-one-month): Maybe include holidays.
6072
6073 * calendar/holidays.el (holiday-in-range):
6074 Move here from cal-tex-list-holidays.
6075 * calendar/cal-tex.el (cal-tex-list-holidays):
6076 Make it an obsolete alias for holiday-in-range. Update all callers.
6077
6078 2012-05-05 Chong Yidong <cyd@gnu.org>
6079
6080 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6081 Nextstep.
6082
6083 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6084
6085 * files.el (file-auto-mode-skip): New var.
6086 (set-auto-mode-1): Use it.
6087
6088 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * repeat.el: Use lexical-binding.
6091 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6092 (repeat-undo-count): Remove.
6093 (repeat):
6094 * progmodes/octave-mod.el (octave-abbrev-start):
6095 * progmodes/f90.el (f90-abbrev-start):
6096 * face-remap.el (text-scale-adjust):
6097 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6098
6099 * emacs-lisp/pcase.el (pcase--let*): New function.
6100 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6101 a bit more.
6102 (pcase--split-pred): Be more clever about ruling out overlap between
6103 a predicate and some constant pattern.
6104 (pcase--q1): Use `null' instead of (eq foo nil).
6105
6106 * subr.el (setq-local, defvar-local): New macros.
6107 (kbd): Redefine as an alias.
6108 (with-selected-window): Leave unrelated frames alone.
6109 (set-temporary-overlay-map): New function.
6110
6111 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * subr.el (user-error): New function.
6114 * window.el (switch-to-buffer):
6115 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6116 (smerge-match-conflict):
6117 * simple.el (previous-matching-history-element)
6118 (next-matching-history-element, goto-history-element, undo-more)
6119 (undo-start):
6120 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6121 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6122 (next-file, tags-loop-scan, list-tags, complete-tag):
6123 * progmodes/compile.el (compilation-loop):
6124 * mouse.el (mouse-minibuffer-check):
6125 * man.el (Man-bgproc-sentinel, Man-goto-page):
6126 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6127 (Info-history-forward, Info-follow-reference, Info-menu)
6128 (Info-extract-menu-item, Info-extract-menu-counting)
6129 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6130 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6131 (Info-next-reference, Info-prev-reference, Info-index)
6132 (Info-index-next, Info-follow-nearest-node)
6133 (Info-copy-current-node-name):
6134 * imenu.el (imenu--make-index-alist)
6135 (imenu-default-create-index-function, imenu-add-to-menubar):
6136 * files.el (basic-save-buffer, recover-file):
6137 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6138 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6139 (checkdoc-message-text, checkdoc-defun):
6140 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6141 * cus-edit.el (customize-changed-options, customize-rogue)
6142 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6143 (custom-variable-mark-to-reset-standard)
6144 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6145 (custom-file):
6146 * completion.el (check-completion-length):
6147 * comint.el (comint-search-arg)
6148 (comint-previous-matching-input-string-position)
6149 (comint-previous-matching-input)
6150 (comint-replace-by-expanded-history-before-point, comint-send-input)
6151 (comint-copy-old-input, comint-backward-matching-input)
6152 (comint-goto-process-mark, comint-set-process-mark):
6153 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6154 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6155
6156 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6157
6158 * dabbrev.el (dabbrev--ignore-case-p): New function.
6159 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6160 Use it.
6161
6162 * files.el (automount-dir-prefix): Mark as obsolete.
6163
6164 2012-05-04 Glenn Morris <rgm@gnu.org>
6165
6166 * patcomp.el, play/bruce.el: Move to obsolete/.
6167
6168 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6169
6170 Fix minor Y10k bugs.
6171 * arc-mode.el (archive-unixdate):
6172 * autoinsert.el (auto-insert-alist):
6173 * calc/calc-forms.el (math-this-year):
6174 * emacs-lisp/copyright.el (copyright-current-year)
6175 (copyright-update-year, copyright):
6176 * tar-mode.el (tar-clip-time-string):
6177 * time.el (display-time-update):
6178 Don't assume years have 4 digits.
6179
6180 2012-05-04 Chong Yidong <cyd@gnu.org>
6181
6182 * dos-w32.el (file-name-buffer-file-type-alist)
6183 (direct-print-region-use-command-dot-com):
6184 * ffap.el (ffap-menu-regexp):
6185 * find-file.el (ff-special-constructs):
6186 * follow.el (follow-debug):
6187 * forms.el (forms--debug):
6188 * iswitchb.el (iswitchb-all-frames):
6189 * ido.el (ido-all-frames):
6190 * emacs-lisp/timer.el (timer-max-repeats):
6191 * mail/feedmail.el (feedmail-mail-send-hook)
6192 (feedmail-mail-send-hook-queued):
6193 * mail/footnote.el (footnote-signature-separator):
6194 * mail/mailabbrev.el (mail-alias-separator-string)
6195 (mail-abbrev-mode-regexp):
6196 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6197 * progmodes/idlwave.el (idlwave-libinfo-file)
6198 (idlwave-default-completion-case-is-down)
6199 (idlwave-library-routines): Convert defvars to defcustoms.
6200
6201 * mail/rmail.el (rmail-decode-mime-charset):
6202 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6203 (idlwave-shell-fix-inserted-breaks)
6204 (idlwave-shell-activate-alt-keybindings)
6205 (idlwave-shell-use-breakpoint-glyph):
6206 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6207
6208 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6211
6212 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6213
6214 * progmodes/verilog-mode.el (font-lock-keywords):
6215 Fix mis-highligting auto. Reported by Craig Barner.
6216 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6217 defines from global name space. Reported by Dan Dever.
6218 (verilog-auto-reset, verilog-auto-reset-widths)
6219 (verilog-auto-tieoff): Support using unbased numbers for
6220 AUTORESET and AUTOTIEOFF.
6221 (verilog-submit-bug-report): Update variable list.
6222 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6223 parenthesis from not matching. Reported by Michael Rytting.
6224 (verilog-auto-template-lint): Fix hash error when linting modules
6225 with no used templates.
6226 (verilog-warn, verilog-warn-error)
6227 (verilog-warn-fatal): When non-interactive report multiple
6228 warnings before exiting. Suggested by Brad Dobbie.
6229 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6230 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6231 to report unused template errors. Reported by Brad Dobbie.
6232 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6233 nets, bug438. Reported by Vns Blore.
6234 (verilog-auto-inout-module, verilog-auto-reg)
6235 (verilog-read-decls, verilog-read-sub-decls-sig)
6236 (verilog-signals-edit-wire-reg, verilog-signals-with):
6237 Fix passing of Verilog data types in ANSI input/output ports
6238 such as "output logic" into the AUTOs. Special case "wire" and
6239 "reg" for backwards compatibility presuming Verilog 2001.
6240 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6241 (verilog-preprocess): Fix replication of preprocess output.
6242 Reported by Brad Dobbie.
6243 (verilog-auto-inst-interfaced-ports):
6244 Create verilog-auto-inst-interfaced-ports, bug429.
6245 Reported by Julian Gorfajn.
6246 (verilog-after-save-font-hook)
6247 (verilog-before-save-font-hook): New variable.
6248 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6249 (verilog-save-font-mods): Wrap disabling fontification, reported
6250 by David Rogoff.
6251 (verilog-do-indent, verilog-pretty-declarations-auto)
6252 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6253 Reported by Pierre-David Pfister.
6254 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6255 of class declarations, bug292. Reported by Kevin Heilman.
6256 (verilog-read-decls): Fix 'parameter type' not appearing in
6257 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6258 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6259 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6260 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6261 Reported by David Kravitz.
6262
6263 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
6264
6265 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6266 assignment with tests in ifs and for loops.
6267 (verilog-extended-complete-re, verilog-complete-reg): Change so
6268 that DPI inport functions don't look like fuction declarations.
6269 (verilog-pretty-expr): Don't line up assignment
6270 operations to the test and increment in if and for loops
6271 (verilog-extended-complete-re, verilog-complete-reg): Change so
6272 that DPI inport functions don't look like fuction declarations.
6273
6274 2012-05-03 Kenichi Handa <handa@m17n.org>
6275
6276 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6277 decoding, and show a warning message without signaling an error
6278 (Bug#11282).
6279
6280 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * emacs-lisp/bytecomp.el
6283 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6284 since cconv.el might have introduced :fun-body, internal-make-closure,
6285 and friends for bytecomp to handle (bug#11391).
6286 * custom.el (defcustom): Avoid ((λ ..) ..).
6287
6288 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6289
6290 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6291
6292 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * notifications.el (dbus-debug):
6295 * term/linux.el (gpm-mouse-enable):
6296 * term/screen.el (xterm-register-default-colors): Declare.
6297
6298 2012-05-02 Chong Yidong <cyd@gnu.org>
6299
6300 * cus-start.el (gc-cons-percentage, exec-suffixes)
6301 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6302 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6303 (make-cursor-line-fully-visible, void-text-area-pointer)
6304 (font-list-limit): Add customization data.
6305
6306 * allout.el (allout-exposure-change-functions)
6307 (allout-structure-added-functions)
6308 (allout-structure-deleted-functions)
6309 (allout-structure-shifted-functions): Rename abnormal hooks from
6310 *-hook, and convert to defcustoms.
6311 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6312 Convert to defcustoms.
6313 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6314
6315 * allout-widgets.el: Hook callers changed.
6316
6317 2012-05-02 Eli Zaretskii <eliz@gnu.org>
6318
6319 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6320 the yanked message in preference to the default value of
6321 buffer-file-coding-system.
6322
6323 2012-05-02 Martin Rudalics <rudalics@gmx.at>
6324
6325 * window.el (display-buffer--action-function-custom-type):
6326 Fix entry.
6327
6328 2012-05-02 Alan Mackenzie <acm@muc.de>
6329
6330 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6331
6332 2012-05-01 Glenn Morris <rgm@gnu.org>
6333
6334 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6335
6336 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6337
6338 * cus-edit.el (custom-variable-documentation): Simplify with format.
6339
6340 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6341 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * simple.el (suggest-key-bindings, execute-extended-command):
6344 Move from keyboard.c.
6345
6346 2012-05-01 Chong Yidong <cyd@gnu.org>
6347
6348 * follow.el: Eliminate advice.
6349 (set-process-filter, process-filter, sit-for): Advice deleted.
6350 (follow-mode-off-hook): Obsolete hook removed.
6351 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6352 Vars deleted.
6353 (follow-auto): Use a :set function.
6354 (follow-mode): Rewritten. Don't advise process filters.
6355 (follow-switch-to-current-buffer-all, follow-scroll-up)
6356 (follow-scroll-down): Assume follow-mode is bound.
6357 (follow-comint-scroll-to-bottom)
6358 (follow-align-compilation-windows): New functions.
6359 (follow--window-sorter): New function.
6360 (follow-all-followers): Use it to explicitly sort windows by their
6361 positions; don't make assumptions about next-window order.
6362 (follow-windows-start-end, follow-delete-other-windows-and-split)
6363 (follow-calc-win-start): Doc fix.
6364 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6365 vertical-motion unnecessarily.
6366 (follow-adjust-window): New function.
6367 (follow-post-command-hook): Use it.
6368 (follow-call-set-process-filter, follow-call-process-filter)
6369 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6370 (follow-stop-intercept-process-output, follow-generic-filter):
6371 Functions deleted.
6372 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6373 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6374 New functions, replacing advice on scroll-bar-* commands.
6375 (follow-mwheel-scroll): New function (Bug#4112).
6376
6377 * comint.el (comint-adjust-point): New function.
6378 (comint-postoutput-scroll-to-bottom): Use it.
6379 Call follow-comint-scroll-to-bottom for Follow mode buffers.
6380
6381 2012-05-01 Glenn Morris <rgm@gnu.org>
6382
6383 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6384 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6385 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6386 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6387 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6388 Remove no-byte-compile setting.
6389
6390 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6393 all-completions code to not return a number in the last cdr.
6394
6395 2012-04-30 Leo Liu <sdl.web@gmail.com>
6396
6397 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6398 read-only error.
6399
6400 2012-04-29 Chong Yidong <cyd@gnu.org>
6401
6402 * follow.el (follow-calc-win-end): Rewrite to handle partial
6403 screen lines correctly (Bug#8390).
6404 (follow-avoid-tail-recenter): Minor cleanup.
6405
6406 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 Avoid the obsolete `assoc' package.
6409 * speedbar.el (speedbar-refresh): Avoid adelete.
6410 (speedbar-file-lists): Simplify and avoid aput.
6411 * man.el (Man--sections, Man--refpages): New vars, replacing
6412 Man-sections-alist and Man-refpages-alist.
6413 (Man-build-section-alist, Man-build-references-alist):
6414 Use them; avoid aput.
6415 (Man--last-section, Man--last-refpage): New vars.
6416 (Man-follow-manual-reference): Use them.
6417 Use the `default' arg of completing-read.
6418 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6419
6420 2012-04-27 Chong Yidong <cyd@gnu.org>
6421
6422 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6423
6424 * startup.el (x-apply-session-resources): New function.
6425
6426 * term/ns-win.el (ns-initialize-window-system):
6427 * term/w32-win.el (w32-initialize-window-system):
6428 * term/x-win.el (x-initialize-window-system): Use it to properly
6429 set menu-bar-mode and other vars from X resources, even if the
6430 initial frame is not a window-system frame (Bug#2299).
6431
6432 * subr.el (read-key): Avoid running filter function when setting
6433 up temporary tool bar entries (Bug#9922).
6434
6435 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6436
6437 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6438 (Bug#11344)
6439
6440 2012-04-27 Chong Yidong <cyd@gnu.org>
6441
6442 * select.el (xselect--encode-string): New function, split from
6443 xselect-convert-to-string.
6444 (xselect-convert-to-string): Use it.
6445 (xselect-convert-to-filename, xselect-convert-to-os)
6446 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6447 returned strings are properly encoded (Bug#11315).
6448
6449 2012-04-27 Chong Yidong <cyd@gnu.org>
6450
6451 * simple.el (delete-active-region): Move to killing custom group.
6452
6453 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
6454
6455 * progmodes/which-func.el (which-func-current): Quote %
6456 characters for mode-line processing.
6457
6458 2012-04-27 Chong Yidong <cyd@gnu.org>
6459
6460 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6461 reaching eob (Bug#11286).
6462
6463 2012-04-27 Eli Zaretskii <eliz@gnu.org>
6464
6465 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6466 (gdb): Make it buffer-local and init to zero.
6467 (gdb-control-commands-regexp): New variable.
6468 (gdb-send): Don't wrap in "-interpreter-exec console" if
6469 gdb-control-level is positive. Increment gdb-control-level
6470 whenever the command matches gdb-control-commands-regexp, and
6471 decrement it each time the command is "end". (Bug#11279)
6472
6473 2012-04-27 Martin Rudalics <rudalics@gmx.at>
6474
6475 * window.el (adjust-window-trailing-edge, enlarge-window)
6476 (shrink-window, window-resize):
6477 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6478 windows (Bug#11276).
6479
6480 2012-04-27 Chong Yidong <cyd@gnu.org>
6481
6482 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6483 fix "missing prefix" warning. All callers changed.
6484
6485 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * emacs-lisp/assoc.el: Move to obsolete/.
6488
6489 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6492
6493 * term/ns-win.el (ns-define-service):
6494 * progmodes/pascal.el (pascal-goto-defun):
6495 * progmodes/js.el (js--read-tab):
6496 * progmodes/etags.el (tags-lazy-completion-table):
6497 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6498 * emacs-lisp/ewoc.el (ewoc--wrap):
6499 * emacs-lisp/assoc.el (aput, adelete, amake):
6500 * doc-view.el (doc-view-convert-current-doc):
6501 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6502
6503 2012-04-26 Chong Yidong <cyd@gnu.org>
6504
6505 * image.el (image-type-from-buffer): Only return supported image
6506 type (Bug#9045).
6507
6508 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6509 value, for symmetry with diff-end-of-hunk.
6510 (diff-split-hunk, diff-find-source-location)
6511 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6512 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6513 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6514 compute the relevant hunk or file properly (Bug#6005).
6515 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6516
6517 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * vc/vc-mtn.el:
6520 * vc/vc-hg.el:
6521 * vc/vc-git.el:
6522 * vc/vc-dir.el:
6523 * vc/vc-cvs.el:
6524 * vc/vc-bzr.el:
6525 * vc/vc-arch.el:
6526 * vc/vc.el: Replace lexical-let by lexical-binding.
6527 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6528 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6529 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6530
6531 2012-04-26 Chong Yidong <cyd@gnu.org>
6532
6533 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6534 (diff-mode-shared-map): Bind it to / and [remap undo].
6535
6536 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6537 (ediff-window-setup-function): Use it as the default, to set up
6538 windows based on whether the current frame is graphical (Bug#2138).
6539 (ediff-choose-window-setup-function-automatically): Make obsolete.
6540
6541 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6542
6543 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * ffap.el: Remove old code for obsolete package.
6546 (ffap-complete-as-file-p): Remove.
6547
6548 Use completion-table-with-quoting for comint and pcomplete.
6549 * comint.el (comint--unquote&requote-argument)
6550 (comint--unquote-argument, comint--requote-argument): New functions.
6551 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6552 (comint-quote-filename): Use regexp-opt-charset.
6553 (comint--common-suffix, comint--common-quoted-suffix)
6554 (comint--table-subvert): Remove.
6555 (comint-unquote-function, comint-requote-function): New vars.
6556 (comint--complete-file-name-data): Use them with
6557 completion-table-with-quoting.
6558 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6559 * pcomplete.el (pcomplete-arg-quote-list)
6560 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6561 (pcomplete-unquote-argument-function): Default to non-nil.
6562 (pcomplete-unquote-argument): Simplify.
6563 (pcomplete--common-quoted-suffix): Remove.
6564 (pcomplete-requote-argument-function): New var.
6565 (pcomplete--common-suffix): New function.
6566 (pcomplete-completions-at-point): Use completion-table-with-quoting
6567 and completion-table-subvert.
6568
6569 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6570 (minibuffer--double-dollars): Preserve properties.
6571 (completion--sifn-requote): New function.
6572 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6573
6574 * minibuffer.el: Add support for completion of quoted/escaped data.
6575 (completion-table-with-quoting, completion-table-subvert): New funs.
6576 (completion--twq-try, completion--twq-all): New functions.
6577 (completion--nth-completion): New function.
6578 (completion-try-completion, completion-all-completions): Use it.
6579
6580 2012-04-25 Leo Liu <sdl.web@gmail.com>
6581
6582 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6583 Use compilation-message if available to find real filename.
6584
6585 2012-04-25 Chong Yidong <cyd@gnu.org>
6586
6587 * vc/diff-mode.el (diff-setup-whitespace): New function.
6588 (diff-mode): Use it.
6589
6590 * vc/diff.el (diff-sentinel):
6591 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6592 Whitespace mode variables based on diff style (Bug#8612).
6593
6594 2012-04-25 Leo Liu <sdl.web@gmail.com>
6595
6596 * progmodes/python.el (python-send-region): Add suffix .py to the
6597 temp file.
6598
6599 * files.el (auto-mode-alist): Use javascript-mode instead.
6600
6601 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6602
6603 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
6604
6605 * net/soap-client.el (soap-resolve-references-for-sequence-type)
6606 (soap-resolve-references-for-array-type): Hack to prevent self
6607 references, see Bug#9.
6608 (soap-parse-envelope): Report the contents of the 'detail' node
6609 when receiving a fault reply.
6610 (soap-parse-envelope): Report the contents of the entire 'detail' node.
6611
6612 * net/soap-inspect.el (soap-sample-value-for-simple-type)
6613 (soap-inspect-simple-type): New function.
6614
6615 * net/soap-client.el (soap-simple-type): New struct.
6616 (soap-default-xsd-types, soap-default-soapenc-types)
6617 (soap-decode-basic-type, soap-encode-basic-type):
6618 support unsignedInt and double basic types.
6619 (soap-resolve-references-for-simple-type)
6620 (soap-parse-simple-type, soap-encode-simple-type): New function.
6621 (soap-parse-schema): Parse xsd:simpleType declarations.
6622
6623 * net/soap-client.el (soap-default-xsd-types)
6624 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6625 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6626 the local name of "soapenc:Array".
6627 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6628 decoding integer, byte and anyURI xsd types.
6629
6630 2012-04-25 Chong Yidong <cyd@gnu.org>
6631
6632 * cus-edit.el (custom-buffer-create-internal): Update header text.
6633
6634 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6635
6636 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6637 settings on 'system-type', not on 'window-system'. On MS-Windows,
6638 set interactive-mode on in GDB.
6639
6640 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6643 (ruby-syntax-propertize-regexp): Remove.
6644 (ruby-syntax-propertize-function): Split regexp into chunks.
6645 Match following code directly.
6646
6647 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6650 (ruby-syntax-propertize-regexp): New function.
6651 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6652 by a special keyword.
6653
6654 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6655 (ruby-syntax-general-delimiters-goto-beg)
6656 (ruby-syntax-propertize-general-delimiters): New functions.
6657 (ruby-syntax-propertize-function): Use them to handle GDL.
6658 (ruby-font-lock-keywords): Move old handling of GDL...
6659 (ruby-font-lock-syntactic-keywords): .. to here.
6660 (ruby-calculate-indent): Adjust indentation for GDL.
6661
6662 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6663
6664 * notifications.el (top): Remove unneeded declarations.
6665 (notifications-specification-version): Change to "1.2".
6666 (notifications-interface, notifications-notify-method)
6667 (notifications-close-notification-method): Fix docstring.
6668 (notifications-get-capabilities-method): New defconst.
6669 (notifications-notify): Add :action-items, :resident and
6670 :transient hints. Change "image_data" to "image-data" and
6671 "image_path" to "image-path".
6672 (notifications-get-capabilities): New defun.
6673
6674 2012-04-24 Leo Liu <sdl.web@gmail.com>
6675
6676 * progmodes/python.el: Move hideshow setup to the end.
6677
6678 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6679
6680 * window.el (handle-select-window): Clear echo area since this is
6681 no more done by read_char (Bug#11304).
6682
6683 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6686 and `/ M' to filter-derived-mode.
6687 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6688 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6689 (ibuffer-mark-by-mode): Use default rather than initial-input.
6690 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6691
6692 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6693
6694 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6695 (ibuffer-filter-by-derived-mode): New filter.
6696 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6697
6698 2012-04-23 Andreas Politz <politza@fh-trier.de>
6699
6700 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6701
6702 2012-04-23 Chong Yidong <cyd@gnu.org>
6703
6704 * cus-edit.el (customize-apropos, customize-apropos-options):
6705 Disable matching of non-option variables (Bug#11176).
6706 (customize-option, customize-option-other-window)
6707 (customize-changed-options): Doc fix.
6708 (customize-apropos-options, customize-apropos-faces)
6709 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6710
6711 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6712 Fix word list splitting (Bug#11132).
6713 (apropos-symbol, apropos-keybinding, apropos-label)
6714 (apropos-property, apropos-function-button)
6715 (apropos-variable-button, apropos-misc-button): New faces.
6716 (apropos-symbol-face, apropos-keybinding-face)
6717 (apropos-label-face, apropos-property-face, apropos-match-face):
6718 Variables removed (Bug#8396).
6719 (apropos-library-button, apropos-format-plist, apropos-print)
6720 (apropos-print-doc, apropos-describe-plist): Callers changed.
6721
6722 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/xesam.el (xesam-mode-map): Use let-bound map in
6725 initialization. (Bug#11292)
6726
6727 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6728
6729 Preserve ispell session localwords when switching back to
6730 original buffer.
6731
6732 * textmodes/ispell.el (ispell-buffer-session-localwords):
6733 New buffer-local variable to hold buffer session localwords.
6734 (ispell-kill-ispell): Add option 'clear to delete session
6735 localwords.
6736 (ispell-command-loop, ispell-change-dictionary)
6737 (ispell-buffer-local-words): Preserve session localwords when
6738 needed.
6739
6740 * textmodes/flyspell.el (flyspell-process-localwords)
6741 (flyspell-do-correct): Preserve session localwords when needed.
6742
6743 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6744
6745 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6746 using obsolete `translation-table-for-input'.
6747 (ispell-word, ispell-process-line, ispell-complete-word):
6748 Use plain `insert' instead of removed `ispell-insert-word'.
6749
6750 2012-04-22 Chong Yidong <cyd@gnu.org>
6751
6752 * cus-edit.el (custom-variable-menu)
6753 (custom-variable-reset-saved, custom-face-menu)
6754 (custom-face-reset-saved): If there is no saved value, make the
6755 "reset-saved" operation bring back the default (Bug#9509).
6756 (custom-face-state): Properly detect themed faces.
6757
6758 * faces.el (face-spec-set): Stop supporting deprecated form of
6759 third arg.
6760
6761 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6762
6763 Move functions from C to Lisp. Make non-blocking method calls
6764 the default. Implement further D-Bus standard interfaces.
6765
6766 * net/dbus.el (dbus-message-internal): Declare function.
6767 Remove unneeded function declarations.
6768 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6769 (dbus-message-type-method-return, dbus-message-type-error)
6770 (dbus-message-type-signal): Declare variables. Remove local
6771 definitions.
6772 (dbus-interface-dbus, dbus-interface-peer)
6773 (dbus-interface-introspectable, dbus-interface-properties)
6774 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6775 Adapt docstring.
6776 (dbus-interface-objectmanager): New defconst.
6777 (dbus-call-method, dbus-call-method-asynchronously)
6778 (dbus-send-signal, dbus-method-return-internal)
6779 (dbus-method-error-internal, dbus-register-service)
6780 (dbus-register-signal, dbus-register-method): New defuns, moved
6781 from dbusbind.c
6782 (dbus-call-method-handler, dbus-setenv)
6783 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6784 New defuns.
6785 (dbus-call-method-non-blocking): Make it an obsolete function.
6786 (dbus-unregister-object, dbus-unregister-service)
6787 (dbus-handle-event, dbus-register-property)
6788 (dbus-property-handler): Obey the new structure of
6789 `bus-registered-objects'.
6790 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6791 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6792 Use `dbus-call-method'.
6793
6794 2012-04-22 Chong Yidong <cyd@gnu.org>
6795
6796 * cus-edit.el (custom-commands, custom-reset-menu)
6797 (Custom-reset-standard): Tweak labels.
6798 (custom-reset-button-menu): Change default to t.
6799 (custom-buffer-create-internal): For the custom-reset-button-menu
6800 case, put the revert button first.
6801 (custom-group-subtitle): New face.
6802 (custom-group-value-create): Align docstring to a specific column.
6803
6804 * wid-edit.el (widget-documentation-link-add): Don't handle
6805 indentation in this function.
6806 (widget-documentation-string-indent-to): New function.
6807 (widget-documentation-string-value-create): Use it.
6808
6809 * autorevert.el (auto-revert):
6810 * epg-config.el (epg):
6811 * ibuffer.el (ibuffer):
6812 * mpc.el (mpc):
6813 * ses.el (ses):
6814 * eshell/eshell.el (eshell):
6815 * net/ange-ftp.el (ange-ftp):
6816 * progmodes/ebnf2ps.el (postscript):
6817 * progmodes/flymake.el (flymake):
6818 * progmodes/prolog.el (prolog):
6819 * progmodes/verilog-mode.el (verilog-mode):
6820 * progmodes/which-func.el (which-func):
6821 * term/xterm.el (xterm):
6822 * textmodes/picture.el (picture):
6823 * textmodes/tildify.el (tildify):
6824 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6825 customization buffers.
6826
6827 2012-04-22 Alan Mackenzie <acm@muc.de>
6828
6829 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6830 Adding a ) can hide the resulting (..) from searches. Fix it.
6831 Bound the backward search to the position of the existing (.
6832
6833 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6834
6835 * progmodes/verilog-mode.el (verilog-mode): Check whether
6836 which-func-modes is t before adding verilog-mode.
6837 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6838
6839 2012-04-21 Leo Liu <sdl.web@gmail.com>
6840
6841 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6842
6843 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6844
6845 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6846 filling of the last column of a table (Bug#5635).
6847 (woman-find-next-control-line): New arg, specifying an additional
6848 regexp component for the control line.
6849 (woman2-roff-buffer): Use it.
6850 (woman-break-table): New function.
6851 (woman2-TS): Use it.
6852
6853 2012-04-21 Chong Yidong <cyd@gnu.org>
6854
6855 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6856 (woman-horizontal-escapes, woman-negative-vertical-space)
6857 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6858 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6859
6860 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * minibuffer.el (completion-file-name-table): Complete user names.
6863
6864 2012-04-20 Leo Liu <sdl.web@gmail.com>
6865
6866 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6867 and pcase-let*.
6868
6869 2012-04-20 Chong Yidong <cyd@gnu.org>
6870
6871 * server.el (server-execute): Respect initial-buffer-choice if it
6872 is a string and there are no files to open (Bug#2825).
6873 (server-create-window-system-frame, server-create-tty-frame):
6874 Don't switch buffers here.
6875 (server-process-filter): Only try to open a window system frame if
6876 compiled with graphical support (Bug#8314).
6877
6878 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6879
6880 * battery.el (battery-echo-area-format): Display remaining time
6881 for sysfs backend too (Bug#11269).
6882 (battery-linux-sysfs): Fix conditional for the charge.
6883
6884 2012-04-20 Chong Yidong <cyd@gnu.org>
6885
6886 * progmodes/gdb-mi.el (gdb): Revert previous change.
6887 (gdb-inferior-io--init-proc): New function.
6888 (gdb-init-1): Use it.
6889 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6890 responsible for allocating a new pty and hooking it to gdb when
6891 the old pty gets an EIO due to process exit.
6892 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6893 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6894 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6895
6896 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6897
6898 * window.el (window-min-size, window-sizable, window-min-delta)
6899 (window-max-delta, window--resizable, window-resizable)
6900 (window-total-size, window-full-height-p, window-full-width-p)
6901 (window-in-direction, window--resize-mini-window, window-resize)
6902 (window--resize-child-windows-normal)
6903 (window--resize-child-windows, window--resize-siblings)
6904 (window--resize-this-window, adjust-window-trailing-edge)
6905 (enlarge-window, shrink-window): Doc fixes.
6906
6907 2012-04-20 Chong Yidong <cyd@gnu.org>
6908
6909 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6910 New function to call delete-process on the gdb-inferior buffer's pty.
6911 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6912 pty process (Bug#11273).
6913 (gdb-update): New arg to suppress talking to the gdb process.
6914 (gdb-done-or-error): Use it.
6915 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6916 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6917 sentinel not being called.
6918
6919 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6920
6921 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6922
6923 2012-04-20 Glenn Morris <rgm@gnu.org>
6924
6925 * net/network-stream.el (open-network-stream): Doc fix.
6926
6927 2012-04-20 Chong Yidong <cyd@gnu.org>
6928
6929 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6930
6931 2012-04-20 Alan Mackenzie <acm@muc.de>
6932
6933 Ensure searching for keywords is case sensitive.
6934
6935 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6936 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6937 (c-defun-name, c-mark-function, c-cpp-define-name)
6938 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6939 (c-context-line-break): Bind case-fold-search to nil.
6940
6941 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6942 Bind case-fold-search to nil.
6943
6944 2012-04-20 Chong Yidong <cyd@gnu.org>
6945
6946 * mail/sendmail.el (mail-bury): Call return action with the right
6947 Rmail buffer (Bug#11242).
6948
6949 * server.el (server-process-filter): Handle corner case where both
6950 tty and nowait options are present (Bug#11102).
6951
6952 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6953
6954 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6955 (top level): Put into the executable the ident-style '$Id:' tag on
6956 windows-nt as well.
6957
6958 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * electric.el (electric-indent-post-self-insert-function): Check that
6961 electric-indent-mode is enabled in current buffer.
6962
6963 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6964
6965 * imenu.el (imenu-progress-message): Restore; it is "used" in
6966 erc/erc-imenu.el and net/snmp-mode.el.
6967
6968 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6971 (mouse-avoidance-nudge-mouse): Remove unused binding.
6972
6973 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6974
6975 * descr-text.el (describe-char):
6976 * progmodes/python.el (python-describe-symbol):
6977 Don't call `toggle-read-only', set `buffer-read-only'.
6978
6979 * imenu.el (imenu-default-goto-function): Mark unused args.
6980 (imenu-progress-message): Remove obsolete macro; all callers changed.
6981
6982 * subr.el (keymap-canonicalize): Remove unused binding.
6983 (read-passwd): Mark unused arg.
6984
6985 * tutorial.el (tutorial--display-changes): Remove unused binding.
6986 (tutorial--save-tutorial-to): Remove unused variable.
6987
6988 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6989 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6990 (package-generate-autoloads, package-menu--generate)
6991 (package-menu--find-upgrades): Remove unused bindings.
6992
6993 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6994 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6995 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6996 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6997 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6998 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6999 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7000 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7001 (cua-delete-char-rectangle): Mark unused args.
7002 (cua-align-rectangle): Remove unused binding.
7003
7004 * mail/rmail.el (compilation--message->loc)
7005 (epa--find-coding-system-for-mime-charset): Declare.
7006
7007 * net/dbus.el (dbus-register-service): Declare.
7008 (dbus-name-owner-changed-handler): Remove unused binding.
7009
7010 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7011 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7012 (nxml-scan-backward-within): Mark unused arg.
7013 (nxml-dynamic-markup-word): Remove unused binding.
7014
7015 * mouse.el (mouse-menu-major-mode-map):
7016 * emacs-lisp/authors.el (authors-scan-change-log)
7017 (authors-add-to-author-list):
7018 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7019 * emacs-lisp/smie.el (smie-auto-fill):
7020 * mail/sendmail.el (mail-bury):
7021 * mail/unrmail.el (unrmail):
7022 * net/tls.el (open-tls-stream):
7023 * textmodes/picture.el (picture-mouse-set-point):
7024 Remove unused bindings.
7025
7026 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7027
7028 * net/tramp.el (tramp-action-password): Let-bind
7029 `enable-recursive-minibuffers' to t.
7030
7031 2012-04-18 Sam Steingold <sds@gnu.org>
7032
7033 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7034 instead of 'string to accommodate values like [f11].
7035 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7036 * progmodes/gdb-mi.el: Likewise.
7037
7038 2012-04-18 Leo Liu <sdl.web@gmail.com>
7039
7040 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7041 current buffer.
7042 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7043 LOCAL is nil.
7044
7045 2012-04-18 Chong Yidong <cyd@gnu.org>
7046
7047 * simple.el (line-move): Use forward-line if in batch mode
7048 (Bug#11053).
7049
7050 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7051
7052 * files.el (after-find-file): Do not try to add a final newline if
7053 the buffer is read-only (Bug#11156).
7054
7055 2012-04-17 Richard Stallman <rms@gnu.org>
7056
7057 * mail/rmail.el (rmail-start-mail):
7058 Pass (rmail-mail-return...) for the return-action.
7059 Pass (rmail-yank-current-message...) for the yank-action.
7060 (rmail-yank-current-message): New function.
7061 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7062 (rmail-reply): Likewise.
7063 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7064
7065 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7066 buffer, not the last. Reject temp buffers. Use the rmail-mode
7067 buffer, not newbuf.
7068
7069 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7070
7071 * server.el (server-ensure-safe-dir): Simplify.
7072
7073 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/smie.el: Provide smarter auto-filling.
7076 (smie-auto-fill): New function.
7077 (smie-setup): Use it.
7078
7079 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7080
7081 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7082
7083 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7084 (comment-indent): Use it.
7085
7086 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7087
7088 * ses.el: The overall change is to add cell renaming, that is
7089 setting fancy names for cell symbols other than name matching
7090 "\\`[A-Z]+[0-9]+\\'" regexp .
7091 (ses-localvars): Add ses--renamed-cell-symb-list.
7092 (ses-create-cell-variable): New defun.
7093 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7094 (ses-relocate-formula): Relocate formulas only for cells the
7095 symbols of which are not renamed, i.e. symbols whose names do not
7096 match regexp "\\`[A-Z]+[0-9]+\\'".
7097 (ses-relocate-all): Relocate values only for cells the symbols of
7098 which are not renamed.
7099 (ses-load): Create cells variables as the (ses-cell ...) are read,
7100 in order to check row col consistency with cell symbol name only
7101 for cells that are not renamed.
7102 (ses-replace-name-in-formula): New defun.
7103 (ses-rename-cell): New defun.
7104
7105 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7106
7107 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7108 New option (bug#11118).
7109 (perl-calculate-indent): Respect it.
7110
7111 2012-04-17 Glenn Morris <rgm@gnu.org>
7112
7113 * dired-aux.el (dired-mark-read-string): Doc fix.
7114
7115 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7116
7117 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7118 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7119
7120 2012-04-17 Glenn Morris <rgm@gnu.org>
7121
7122 * mouse.el (mouse-drag-track):
7123 * speedbar.el (speedbar-frame-mode):
7124 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7125
7126 2012-04-16 Leo Liu <sdl.web@gmail.com>
7127
7128 * progmodes/python.el: Trivial cleanup.
7129
7130 2012-04-16 Glenn Morris <rgm@gnu.org>
7131
7132 * vc/vc.el (vc-string-prefix-p):
7133 * vc/pcvs-util.el (cvs-string-prefix-p):
7134 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7135 * mpc.el (mpc-string-prefix-p):
7136 Make all of these into obsolete aliases for string-prefix-p.
7137 Update callers.
7138 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7139
7140 * textmodes/two-column.el: Move custom options to the start.
7141 (frame-width): Remove compat definition.
7142 (2C-associate-buffer, 2C-dissociate):
7143 Use with-current-buffer rather than save-excursion.
7144 (2C-dissociate): Force a mode-line update.
7145 (2C-autoscroll): Use ignore-errors.
7146
7147 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7148 Autoload trivia.
7149
7150 * emacs-lisp/cl-extra.el (*random-state*):
7151 Remove unnecessary declaration.
7152
7153 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7154
7155 * play/cookie1.el (cookie-snarf):
7156 Give an explicit error if input file cannot be read.
7157
7158 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7159
7160 * progmodes/perl-mode.el (c-macro-expand):
7161 Remove unnecessary autoload (it is in loaddefs.el).
7162
7163 * textmodes/picture.el (picture-desired-column)
7164 (picture-update-desired-column): Convert comments to doc-strings.
7165 (picture-substitute): Remove function.
7166 (picture-mode-map): Initialize in the defvar.
7167
7168 * woman.el: Remove eval-after-load for tar-mode.
7169 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7170 (woman-tar-extract-file): Autoload it.
7171
7172 * frame.el (automatic-hscrolling): Make this alias obsolete.
7173
7174 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7175
7176 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7177 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7178 (ispell-dictionary-base-alist): Revert to original XEmacs
7179 friendly version for default. [:alpha:] will be added in
7180 `ispell-set-spellchecker-params' if needed.
7181
7182 2012-04-16 Chong Yidong <cyd@gnu.org>
7183
7184 * image.el (imagemagick--file-regexp): New variable.
7185 (imagemagick-register-types): Use it.
7186 (imagemagick-types-inhibit): Add :set function. Allow new value
7187 of t to inhibit all types.
7188
7189 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7190 so we can preload it.
7191
7192 * loadup.el (fboundp): Preload regexp-opt, needed by
7193 imagemagick-register-types.
7194
7195 2012-04-15 Chong Yidong <cyd@gnu.org>
7196
7197 * frame.el (scrolling): Remove nearly unused customization group.
7198
7199 * scroll-all.el (scroll-all-mode): Move to windows group.
7200
7201 2012-04-15 Chong Yidong <cyd@gnu.org>
7202
7203 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7204
7205 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7208 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7209
7210 2012-04-15 Glenn Morris <rgm@gnu.org>
7211
7212 * simple.el (process-file-side-effects): Doc fix.
7213
7214 2012-04-15 Glenn Morris <rgm@gnu.org>
7215
7216 * international/mule-cmds.el (set-language-environment): Doc fix.
7217
7218 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7219
7220 * server.el (server-auth-key, server-generate-key): Doc fixes.
7221 (server-get-auth-key): Doc fix. Use `string-match-p'.
7222 (server-start): Reflow docstring.
7223
7224 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7225
7226 * server.el (server-generate-key): `called-interactively-p'
7227 requires a parameter.
7228
7229 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
7230
7231 * server.el (server-auth-key): New variable.
7232 (server-generate-key, server-get-auth-key): New function.
7233 (server-start): Use the new variable and functions to allow
7234 setting a permanent server key (bug#9423).
7235
7236 2012-04-14 Leo Liu <sdl.web@gmail.com>
7237
7238 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7239
7240 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7241
7242 Spelling fixes.
7243 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7244 Emacs uses American spelling.
7245
7246 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7247
7248 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7249 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7250 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7251 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7252
7253 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * progmodes/which-func.el (which-func-modes): Change default.
7256
7257 2012-04-14 Kim F. Storm <storm@cua.dk>
7258
7259 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7260 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7261
7262 2012-04-14 Chong Yidong <cyd@gnu.org>
7263
7264 * custom.el (custom-theme-set-variables): Doc fix.
7265
7266 2012-04-14 Glenn Morris <rgm@gnu.org>
7267
7268 * international/mule.el (set-auto-coding-for-load): Doc fix.
7269
7270 2012-04-14 Alan Mackenzie <acm@muc.de>
7271
7272 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7273 imenu work again for Objective C Mode. Correct the *-index values,
7274 these having been disturbed by a previous change in 2011-08.
7275
7276 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7277 Correct two search limits.
7278
7279 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7282
7283 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
7284
7285 * international/characters.el: Fix sorting.
7286
7287 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7288
7289 * international/characters.el: Add more missing Latin case pairs.
7290
7291 2012-04-14 Glenn Morris <rgm@gnu.org>
7292
7293 * files.el (dir-locals-set-class-variables): Doc fix.
7294
7295 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7296
7297 * international/characters.el: Add set-case-syntax-pair call for
7298 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7299 counterpart. (Bug#11209)
7300
7301 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7302
7303 2012-04-14 Glenn Morris <rgm@gnu.org>
7304
7305 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7306
7307 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7308
7309 * textmodes/ispell.el (ispell-dictionary-base-alist):
7310 Add data for Hebrew.
7311
7312 2012-04-14 Chong Yidong <cyd@gnu.org>
7313
7314 * net/rcirc.el (rcirc-cmd-quit):
7315 Revert 2012-03-18 change (Bug#11192).
7316
7317 2012-04-14 Glenn Morris <rgm@gnu.org>
7318
7319 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7320
7321 2012-04-14 Eli Zaretskii <eliz@gnu.org>
7322
7323 * minibuffer.el (completion-in-region-mode-map):
7324 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
7325
7326 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7327
7328 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7329
7330 2012-04-13 Masatake YAMATO <yamato@redhat.com>
7331
7332 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7333 to allow `C-M-f' and `C-M-b' to move to the nearest path
7334 separator (bug#9511).
7335
7336 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7337
7338 * avoid.el: Require cl when compiling. And also move the
7339 `provide' to the end.
7340
7341 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7342
7343 * avoid.el (mouse-avoidance-banish-position): New variable.
7344 (mouse-avoidance-banish-destination): Use it (bug#10165).
7345
7346 2012-04-13 Leo Liu <sdl.web@gmail.com>
7347
7348 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7349
7350 2012-04-13 Ken Brown <kbrown@cornell.edu>
7351
7352 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7353 this is no longer needed now that cygstart understands file:// URLs.
7354 (browse-url-filename-alist): For the same reason, don't modify
7355 file:// URLs on Cygwin.
7356
7357 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7360 the region on shift if the binding is already shifted (bug#11221).
7361
7362 2012-04-12 Glenn Morris <rgm@gnu.org>
7363
7364 * mail/mailpost.el: Move to obsolete/.
7365
7366 2012-04-12 Drew Adams <drew.adams@oracle.com>
7367
7368 * imenu.el (imenu--generic-function): Ignore invisible definitions
7369 (bug#10123).
7370
7371 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7372
7373 * hexl.el (hexl-bits): New variable.
7374 (hexl-options): Mention the variable in the doc string.
7375 (hexl-rulerise, hexl-line-displen): New functions.
7376 (hexl-mode): Mention the new variable.
7377 (hexl-mode, hexl-current-address, hexl-current-address):
7378 Use the displen.
7379 (hexl-ascii-start-column): New function.
7380 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7381 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7382
7383 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7384
7385 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7386 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7387 the encoding, as expected by hunspell.
7388
7389 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * battery.el (battery--linux-sysfs-regexp): New const.
7392 (battery-status-function): Use it. Remove yeeloong special case.
7393 (battery-yeeloong-sysfs): Remove.
7394 (battery-echo-area-format): Remove yeeloong special case.
7395
7396 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7399 Reported by Noah Friedman.
7400
7401 * subr.el (read-passwd): Use read-string.
7402
7403 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7404
7405 * vcursor.el (vcursor-move): Increase the priority of the overlay
7406 (bug#9663).
7407
7408 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7409
7410 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7411 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7412
7413 2012-04-11 William Stevenson <yhvh2000@gmail.com>
7414
7415 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7416 define-minor-mode (bug#10760).
7417
7418 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
7419
7420 * progmodes/grep.el (rgrep): Tweak the find command line so
7421 that directories matching `grep-find-ignored-files' won't be
7422 pruned (bug#10351).
7423
7424 2012-04-11 Chong Yidong <cyd@gnu.org>
7425
7426 * startup.el (command-line): Remove support for long-obsolete
7427 variable font-lock-face-attributes.
7428
7429 2012-04-11 Glenn Morris <rgm@gnu.org>
7430
7431 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7432
7433 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * window.el (window--state-get-1): Obey window-point-insertion-type.
7436
7437 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7438
7439 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7440 to previous function when point is on the first character of a
7441 function. Take care of that in `narrow-to-defun' (bug#6157).
7442
7443 2012-04-11 Glenn Morris <rgm@gnu.org>
7444
7445 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7446 not just file-errors.
7447
7448 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7449 (vc-bzr-sha1): Use internal sha1.
7450
7451 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7454
7455 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7456
7457 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7458 that start in the middle of the line (bug#10496).
7459
7460 2012-04-10 Dan Nicolaescu <dann@gnu.org>
7461
7462 * battery.el (battery-linux-proc-acpi): Only one battery is
7463 discharged at a time, but that seems to confuse battery.el when
7464 computing `rate-type' for the battery not being discharged
7465 (bug#10332).
7466
7467 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7468
7469 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7470
7471 * international/quail.el: Use dolist and simplify.
7472 (quail-define-package, quail-update-keyboard-layout)
7473 (quail-define-rules): Use dolist.
7474 (quail-insert-kbd-layout, quail-get-translation): CSE.
7475
7476 * tmm.el: Use dolist, remove left over hook.
7477 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7478 Use dolist.
7479 (calendar-load-hook): Don't mess with it.
7480
7481 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7482 Use derived-mode-p. Run the diff asynchronously.
7483
7484 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485
7486 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7487
7488 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7491 (list-dynamic-libraries--loaded): New function.
7492 (list-dynamic-libraries--refresh): Use it.
7493
7494 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
7495
7496 * progmodes/python.el (python-fill-paragraph):
7497 Make python-fill-region in a multiline string work when font-lock is
7498 disabled (bug#7018).
7499
7500 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7501
7502 * language/european.el (cp775): Add oem/legacy (en)coding on
7503 DOS/MS Windows for the Baltic languages. There are still plenty
7504 of texts written in this encoding/codepage (bug#6519).
7505
7506 2012-04-10 Glenn Morris <rgm@gnu.org>
7507
7508 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7509 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7510
7511 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7512
7513 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7514 next-line "n" and previous-line "p" in order to make recentf more
7515 consistent with ibuffer, dired or org-mode (bug#9387).
7516
7517 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518
7519 * image.el (put-image): Return the overlay created instead of the
7520 optional input string (bug#7834). Note that this may break code
7521 that is (for some reason or other) depending on `put-image'
7522 returning the string.
7523
7524 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7525
7526 * simple.el (zap-to-char): Allow zapping using input methods
7527 (bug#1580).
7528
7529 * textmodes/fill.el (fill-region): Leave point and mark where they
7530 were before filling (bug#5399).
7531
7532 2012-04-09 Glenn Morris <rgm@gnu.org>
7533
7534 * version.el (emacs-bzr-get-version):
7535 Handle lightweight checkouts of local branches.
7536
7537 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7538
7539 * international/characters.el: Recover lost case pairs. (Bug#11209)
7540
7541 2012-04-09 Chong Yidong <cyd@gnu.org>
7542
7543 * custom.el (custom-variable-p): Return nil for non-symbol
7544 arguments instead of signaling an error.
7545 (user-variable-p): Obsolete alias for custom-variable-p.
7546
7547 * apropos.el (apropos-variable):
7548 * files-x.el (read-file-local-variable):
7549 * simple.el (set-variable):
7550 * woman.el (woman-mini-help):
7551 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7552
7553 2012-04-09 Glenn Morris <rgm@gnu.org>
7554
7555 * startup.el (normal-top-level): Don't look for leim-list.el
7556 in places where it will not be found. (Bug#910)
7557
7558 * international/mule-cmds.el (set-default-coding-systems):
7559 * files.el (normal-mode):
7560 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7561 This function was removed with ucs-tables.el in 2008.
7562
7563 2012-04-08 Eli Zaretskii <eliz@gnu.org>
7564
7565 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7566 ispell-encoding8-command to "-i", without a trailing space.
7567 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7568 separate command-line arguments, to specify the encoding, since
7569 that's how hunspell expects it.
7570
7571 2012-04-08 Glenn Morris <rgm@gnu.org>
7572
7573 * loadup.el: Load bindings before cus-start.
7574 This reduces somewhat the number of "rogue" settings in emacs -Q.
7575
7576 2012-04-07 Glenn Morris <rgm@gnu.org>
7577
7578 * version.el (emacs-bzr-get-version): New function.
7579 (emacs-bzr-version): New variable.
7580 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7581 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7582
7583 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7584
7585 * international/uni-bidi.el, international/uni-category.el:
7586 * international/uni-combining.el, international/uni-decimal.el:
7587 * international/uni-decomposition.el, international/uni-digit.el:
7588 * international/uni-lowercase.el, international/uni-mirrored.el:
7589 * international/uni-name.el, international/uni-numeric.el:
7590 * international/uni-titlecase.el, international/uni-uppercase.el:
7591 Update for Unicode 6.1.
7592
7593 2012-04-07 Eli Zaretskii <eliz@gnu.org>
7594
7595 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7596
7597 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7598
7599 * window.el (shrink-window): Mention the `window-min-height'
7600 variable in the doc string.
7601
7602 2012-04-05 Bastien Guerry <bzg@altern.org>
7603
7604 * color.el (color-lighten-name): Fix typo.
7605
7606 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * server.el (server--on-display-p): New function.
7609 (server--on-display-p): Use it.
7610
7611 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7612
7613 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7614 (bug#11145).
7615
7616 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * comint.el (comint--common-quoted-suffix): Check string boundary
7619 before comparing (bug#11158).
7620 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7621
7622 2012-04-04 Chong Yidong <cyd@gnu.org>
7623
7624 * minibuffer.el (completion-extra-properties): Doc fix.
7625
7626 * subr.el (delayed-warnings-hook): Doc fix.
7627
7628 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7629
7630 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7631 selection (Bug#11159).
7632 (epa-insert-keys): Inform that the default public key will be
7633 exported if no key is selected.
7634
7635 2012-04-04 Richard Stallman <rms@gnu.org>
7636
7637 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7638
7639 2012-04-03 Chong Yidong <cyd@gnu.org>
7640
7641 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7642 mail-insert-file, not its obsolete alias mail-attach-file.
7643
7644 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7645
7646 * notifications.el (notifications-notify): Fix docstring.
7647
7648 2012-04-02 Glenn Morris <rgm@gnu.org>
7649
7650 * emacs-lisp/authors.el (authors-aliases): Another addition.
7651
7652 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7653
7654 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7655 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7656 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7657
7658 2012-04-01 Chong Yidong <cyd@gnu.org>
7659
7660 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7661 Handle root directory properly.
7662 (copy-directory): Caller changed.
7663
7664 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7665 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7666
7667 2012-03-31 Glenn Morris <rgm@gnu.org>
7668
7669 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7670
7671 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7672
7673 * calendar/calendar.el (calendar-window-list)
7674 (calendar-hide-window): Restore. (Bug#11140)
7675 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7676
7677 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7678
7679 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7680
7681 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7682 Check if file is a symlink (Bug#10489).
7683
7684 * files.el (copy-directory): Likewise.
7685
7686 2012-03-30 Chong Yidong <cyd@gnu.org>
7687
7688 * image.el (imagemagick-types-inhibit)
7689 (imagemagick-register-types): Doc fix.
7690
7691 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7692
7693 * textmodes/ispell.el (ispell-get-extended-character-mode):
7694 Disable extended-char-mode for hunspell. hunspell does not support it
7695 and treats ~word as ordinary words in pipe mode.
7696
7697 2012-03-30 Glenn Morris <rgm@gnu.org>
7698
7699 * tutorial.el (help-with-tutorial): Ensure local variables don't
7700 happen to make the buffer read-only. (Bug#11127)
7701
7702 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7705 (perl-calculate-indent): Return `noindent' in strings.
7706
7707 2012-03-28 Sam Steingold <sds@gnu.org>
7708
7709 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7710 instead of the broken adhockery which does not prevent calendar
7711 buffers from being displayed at random after exit.
7712 (calendar-window-list, calendar-hide-window): Remove the broken
7713 adhockery.
7714
7715 2012-03-28 Glenn Morris <rgm@gnu.org>
7716
7717 * replace.el (query-replace-map): Doc fix.
7718
7719 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7720
7721 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7722 contents. (Bug#11109)
7723
7724 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7727 (bug#11077).
7728 (avl-tree--check, avl-tree--check-node): New funs.
7729
7730 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7731
7732 * window.el (switch-to-visible-buffer): New option.
7733 (switch-to-prev-buffer, switch-to-next-buffer):
7734 Observe switch-to-visible-buffer. Make sure that checking for a window
7735 showing a buffer already is done on the same frame.
7736
7737 2012-03-27 Glenn Morris <rgm@gnu.org>
7738
7739 * startup.el (mail-host-address): Doc fix.
7740
7741 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7744 than 197 variables.
7745
7746 2012-03-26 Ami Fischman <ami@fischman.org>
7747
7748 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7749
7750 2012-03-26 Glenn Morris <rgm@gnu.org>
7751
7752 * files.el (save-buffers-kill-emacs): Doc fix.
7753
7754 * startup.el (normal-top-level, command-line, command-line-1):
7755 Give them doc strings.
7756
7757 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7758
7759 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7760 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7761
7762 2012-03-25 Chong Yidong <cyd@gnu.org>
7763
7764 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7765 theme if it was previously enabled before (Bug#11031).
7766
7767 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7768 spec with custom-face-get-current-spec if its :shown-value is not
7769 determined yet (Bug#9337).
7770 (customize-create-theme, custom-theme-revert): Doc fixes.
7771
7772 * button.el (button-at): Minor addition to docstring.
7773
7774 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7775
7776 * vc/vc.el (vc-merge): Fix a prompt.
7777
7778 2012-03-24 Chong Yidong <cyd@gnu.org>
7779
7780 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7781 point (Bug#9623).
7782
7783 * button.el (button-at): Minor addition to docstring.
7784
7785 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * newcomment.el (comment-choose-indent): No space after BOL.
7788
7789 2012-03-22 Sam Steingold <sds@gnu.org>
7790
7791 * window.el (switch-to-prev-buffer): Revert last patch because the
7792 bug turned out to be an advertised feature (Elisp manual 28.14).
7793
7794 2012-03-22 Glenn Morris <rgm@gnu.org>
7795
7796 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7797 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7798
7799 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800
7801 * net/network-stream.el (network-stream-open-starttls): Make error
7802 message under Windows be less misleading.
7803
7804 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7805
7806 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7807 understands (bug#9942).
7808
7809 2012-03-22 Chong Yidong <cyd@gnu.org>
7810
7811 * simple.el (end-of-visible-line): Handle return value of
7812 next-single-property-change properly (Bug#9371).
7813
7814 2012-03-22 Kenichi Handa <handa@m17n.org>
7815
7816 * international/quail.el (quail-insert-kbd-layout): Fix previous
7817 change. To avoid unwanted bidi reordering, use
7818 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7819
7820 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7821
7822 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7823 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7824 (ruby-beginning-of-indent): Be more careful with the difference
7825 between word-boundary and symbol boundary.
7826 (ruby-mode-syntax-table): Make : a symbol constituent.
7827
7828 2012-03-21 Andreas Politz <politza@fh-trier.de>
7829
7830 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7831
7832 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * progmodes/etags.el (tags-completion-at-point-function):
7835 Improve last fix.
7836
7837 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7838
7839 2012-03-21 Sam Steingold <sds@gnu.org>
7840
7841 * progmodes/etags.el (tags-completion-at-point-function):
7842 Avoid the error when point is inside the pattern.
7843
7844 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7845
7846 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7847 line (Bug#10855).
7848
7849 2012-03-21 Drew Adams <drew.adams@oracle.com>
7850
7851 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7852
7853 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7854
7855 * ido.el (ido-set-current-directory, ido-read-internal)
7856 (ido-choose-completion-string, ido-completion-help): Handle nil
7857 value of ido-completion-buffer (Bug#11008).
7858
7859 2012-03-21 Sam Steingold <sds@gnu.org>
7860
7861 * window.el (switch-to-prev-buffer): Do not switch to a visible
7862 window previous buffer, just like with the frame previous buffers.
7863
7864 2012-03-21 Chong Yidong <cyd@gnu.org>
7865
7866 * faces.el (make-face, make-empty-face, copy-face):
7867 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7868 Doc fixes.
7869
7870 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7872 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7873 (widget-complete): Remove broken use of it.
7874
7875 2012-03-20 Chong Yidong <cyd@gnu.org>
7876
7877 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7878 Use string-width and truncate-string-width to handle arbitrary
7879 characters.
7880
7881 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7882
7883 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7884 to draw rectangles, not squares. (Regression introduced by revno
7885 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7886
7887 2012-03-18 Chong Yidong <cyd@gnu.org>
7888
7889 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7890 it is not yet defined (for temacs).
7891
7892 2012-03-18 Leo Liu <sdl.web@gmail.com>
7893
7894 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7895
7896 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7897
7898 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7899 (ispell-choices-win-default-height, ispell-silently-savep)
7900 (ispell-dictionary-alist, ispell-encoding8-command)
7901 (ispell-check-version, ispell-aspell-find-dictionary)
7902 (ispell-valid-dictionary-list, ispell-words-keyword)
7903 (ispell-get-word, ispell-internal-change-dictionary)
7904 (ispell-region, ispell-skip-region-list)
7905 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7906 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7907 (ispell-message-text-end, ispell-message)
7908 (ispell-buffer-local-parsing): Doc fix.
7909
7910 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7911
7912 * htmlfontify.el: Add support for code block fontification for ODT
7913 export (Bug #9914).
7914 (hfy-optimisations): Define new option
7915 `body-text-only'
7916 (hfy-fontify-buffer): Honor above setting.
7917 (hfy-begin-span, hfy-end-span): New routines factored out form
7918 `hfy-fontify-buffer'.
7919 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7920 that permit insertion of custom tags.
7921 (hfy-fontify-buffer): Use above handlers.
7922 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7923 (hfy-face-to-css): Re-defined to be a variable.
7924 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7925 over multiple runs. This is made possible by having the caller let
7926 bind a special variable `hfy-user-sheet-assoc'.
7927 (htmlfontify-string): New defun.
7928 (hfy-compile-face-map): Make sure that the last char in the
7929 buffer is correctly fontified.
7930 (hfy-face-resolve-face): Whitespace only change.
7931
7932 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7933
7934 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7935 message more clear.
7936
7937 2012-03-16 Leo Liu <sdl.web@gmail.com>
7938
7939 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7940
7941 2012-03-16 Alan Mackenzie <acm@muc.de>
7942
7943 Further optimise the handling of large macros.
7944
7945 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7946 limit to a call of `c-literal-limits'.
7947 (c-determine-+ve-limit): New function.
7948 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7949 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7950 In CASE 5B, restrict a search limit to 500.
7951 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7952
7953 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7954 Restrict macro bounds to +-500 from after-change's BEG END.
7955
7956 2012-03-16 Leo Liu <sdl.web@gmail.com>
7957
7958 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7959
7960 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7961
7962 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7963 `special-mode' setting of `buffer-read-only'. (Bug#11010)
7964
7965 2012-03-16 Glenn Morris <rgm@gnu.org>
7966
7967 * view.el (view-buffer, view-buffer-other-window)
7968 (view-buffer-other-frame): Doc fixes re special mode-class.
7969
7970 * subr.el (eval-after-load): If named feature is provided not from
7971 a file, run after-load forms. (Bug#10946)
7972
7973 * calendar/calendar.el (calendar-insert-at-column):
7974 Handle non-unit-width characters a bit better. (Bug#10978)
7975
7976 2012-03-15 Chong Yidong <cyd@gnu.org>
7977
7978 * emacs-lisp/ring.el (ring-extend): New function.
7979 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7980
7981 * comint.el (comint-read-input-ring)
7982 (comint-add-to-input-history): Grow comint-input-ring lazily.
7983
7984 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7987 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7988
7989 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7990 (imenu-add-to-menubar): Don't add a redundant index.
7991 (imenu-update-menubar): Handle a dynamically composed keymap.
7992
7993 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7994
7995 * mail/sendmail.el (mail-encode-header):
7996 Bind rfc2047-encode-encoded-words to nil.
7997
7998 2012-03-13 Glenn Morris <rgm@gnu.org>
7999
8000 * calendar/calendar.el (calendar-string-spread):
8001 Handle non-unit-width characters a bit better. (Bug#10978)
8002
8003 2012-03-13 Leo Liu <sdl.web@gmail.com>
8004
8005 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8006 directory and file as argument (Bug#10822).
8007
8008 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8009
8010 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8011 For dynamically generated code, follow $PC.
8012 (gdb-disassembly-handler-custom): Handle no function name case.
8013
8014 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8015
8016 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8017 * emulation/ws-mode.el (ws-query-replace):
8018 * sort.el (sort-regexp-fields):
8019 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8020
8021 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * dabbrev.el: Fix cycle completion order (bug#10963).
8024 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8025 (dabbrev-completion): Don't use an obarray; provide
8026 a cycle-sort-function.
8027
8028 2012-03-12 Leo Liu <sdl.web@gmail.com>
8029
8030 * simple.el (kill-new): Use equal-including-properties for comparison.
8031 (kill-do-not-save-duplicates): Doc fix.
8032
8033 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * dabbrev.el: Fix cycle completion (bug#10963).
8036 Use lexical binding and wrap to 80 columns.
8037 (dabbrev-completion): Delay computing the list of completions.
8038
8039 2012-03-12 Kenichi Handa <handa@m17n.org>
8040
8041 * international/quail.el (quail-insert-kbd-layout): Surround each
8042 row by LRO and PDF instead of inserting many LRMs. Pad the left
8043 and right of each non-spacing marks. Insert invisible space
8044 between lower and upper characters to prevent composition.
8045
8046 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * minibuffer.el (minibuffer-complete): Don't get confused when the
8049 function is run twice via different commands (bug#10958).
8050 (complete-with-action): Fix docstring.
8051
8052 2012-03-12 Chong Yidong <cyd@gnu.org>
8053
8054 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8055 (nxml-completion-at-point-function): New function.
8056 (nxml-mode): Use it.
8057 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8058
8059 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8060 Load generated autoloads file before byte compiling (Bug#10970).
8061 (package--make-autoloads-and-compile): New helper fun.
8062
8063 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8064
8065 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8066
8067 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8068
8069 * autorevert.el (auto-revert-handler): Ensure, that
8070 file-readable-p is applied only for local files or in
8071 auto-revert-tail-mode.
8072
8073 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8074
8075 * server.el (server-eval-at): Handle non-tcp connections.
8076 Decode result string.
8077
8078 * server.el (server-msg-size): New constant.
8079 (server-reply-print): New function.
8080 (server-eval-and-print): Use it.
8081 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8082 Handle -print-nonl.
8083
8084 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8085
8086 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8087 (Bug#10987).
8088
8089 2012-03-11 Chong Yidong <cyd@gnu.org>
8090
8091 * simple.el (goto-line): Doc fix (Bug#9938).
8092
8093 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8094
8095 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8096 when finished (Bug#10963).
8097
8098 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8099
8100 * window.el (split-window-below): Fix bug in case where
8101 split-window-keep-point is nil (Bug#10971).
8102
8103 2012-03-11 Juri Linkov <juri@jurta.org>
8104
8105 * replace.el (replace-highlight): Set isearch-word to nil
8106 unconditionally. (Bug#10887)
8107
8108 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8109
8110 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8111 mairix-replace-illegal-chars; all callers changed. Don't remove
8112 ^, ~, and = characters: they are meaningful in mairix search specs.
8113 (mairix-widget-create-query): Add usage information about mairix
8114 search forms: negating words, searching for substrings, etc.
8115
8116 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8117
8118 * international/fontset.el (font-encoding-alist): Add an entry for
8119 ksx1001 (Bug#5667).
8120
8121 2012-03-10 Richard Stallman <rms@gnu.org>
8122
8123 * mail/sendmail.el (mail-encode-header):
8124 Set rfc2047-encode-encoded-words.
8125
8126 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8127
8128 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8129 view buffer means not swapped.
8130 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8131 (rmail-write-region-annotate): Error if real text has disappeared.
8132
8133 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8134
8135 2012-03-10 Chong Yidong <cyd@gnu.org>
8136
8137 * emulation/cua-rect.el (cua--init-rectangles):
8138 * emulation/cua-base.el (cua--init-keymaps):
8139 Add delete-forward-char to remappings (Bug#9666).
8140
8141 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8142
8143 * speedbar.el (speedbar-unhighlight-one-tag-line):
8144 Avoid unhighlighting due to frame switching (Bug#10275).
8145
8146 2012-03-10 Chong Yidong <cyd@gnu.org>
8147
8148 * minibuffer.el (completion-in-region, completion-help-at-point):
8149 Give the completion field overlay a high priority (Bug#6830).
8150
8151 * dired.el (dired-goto-file): Recognize absolute file name
8152 listings (Bug#7126).
8153 (dired-goto-file-1): New helper function.
8154 (dired-toggle-read-only): Inhibit warnings.
8155
8156 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * net/dbus.el (dbus-property-handler): Return empty array if
8159 there are no properties.
8160
8161 2012-03-09 Leo Liu <sdl.web@gmail.com>
8162
8163 * savehist.el (savehist-printable): Stricter check for string
8164 value (Bug#10937).
8165
8166 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8167
8168 * mail/smtpmail.el (smtpmail-send-it):
8169 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8170 valid mbox format.
8171
8172 2012-03-09 Glenn Morris <rgm@gnu.org>
8173
8174 * files.el (dir-locals-find-file):
8175 Don't check result is regular, readable.
8176 (dir-locals-read-from-file): Demote errors.
8177
8178 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8179
8180 * international/quail.el (quail-insert-kbd-layout):
8181 Insert invisible LRM characters before each character in a keyboard
8182 layout cell, to prevent their reordering by bidi display engine.
8183 For details, see the discussion in
8184 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8185
8186 2012-03-08 Alan Mackenzie <acm@muc.de>
8187
8188 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8189 the starting position; make it extend the marked region when
8190 invoked repeatedly - all under appropriate circumstances.
8191 Fixes bugs #5525, #10906.
8192
8193 2012-03-08 Glenn Morris <rgm@gnu.org>
8194
8195 * files.el (locate-dominating-file, dir-locals-find-file):
8196 Undo 2012-03-06 change.
8197
8198 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8199
8200 * international/quail.el (quail-help):
8201 Force bidi-paragraph-direction be left-to-right. See discussion in
8202 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8203 for the reason.
8204
8205 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8206
8207 Avoid superfluous registering of signals. (Bug#10807)
8208
8209 * notifications.el (notifications-on-action-object)
8210 (notifications-on-close-object): New defvars.
8211 (notifications-on-action-signal, notifications-on-closed-signal):
8212 Unregister the signal if not needed any longer.
8213 (notifications-notify): Register `notifications-action-signal' or
8214 `notifications-closed-signal', if :on-action or :on-close has been
8215 passed as argument.
8216
8217 2012-03-07 Chong Yidong <cyd@gnu.org>
8218
8219 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8220 non-X platforms.
8221
8222 2012-03-06 Glenn Morris <rgm@gnu.org>
8223
8224 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8225 (x-disown-selection-internal, x-get-selection-internal):
8226 Doc fix (add arglist signatures). (Bug#10783)
8227
8228 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8229
8230 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8231 Handle breakpoints with no "type".
8232
8233 2012-03-06 Glenn Morris <rgm@gnu.org>
8234
8235 * files.el (locate-dominating-file): Add optional predicate argument.
8236 (dir-locals-find-file): Make use of above change.
8237
8238 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8239
8240 * info.el (Info-insert-dir): Also try "dir.gz".
8241
8242 2012-03-06 Glenn Morris <rgm@gnu.org>
8243
8244 * files.el (dir-locals-find-file):
8245 Ignore non-readable or non-regular files. (Bug#10928)
8246
8247 * files.el (locate-dominating-file): Doc fix.
8248
8249 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8250
8251 * calendar/calendar.el (calendar-set-mode-line):
8252 `getenv' returns a string. (Bug#10951)
8253
8254 2012-03-05 Leo Liu <sdl.web@gmail.com>
8255
8256 * simple.el (backward-delete-char-untabify): Constrain point to
8257 field (Bug#10939).
8258
8259 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8260
8261 2012-03-05 Chong Yidong <cyd@gnu.org>
8262
8263 * simple.el (count-words): If called from Lisp, return the word
8264 count, for symmetry with `count-lines'. Arglist changed.
8265 (count-words--message): Args changed. Consolidate counting code
8266 from count-words and count-words-region.
8267 (count-words-region): Caller changed.
8268 (count-lines-region): Make it an obsolete alias.
8269
8270 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8271
8272 * saveplace.el (save-place-to-alist)
8273 (save-place-ignore-files-regexp): Allow value nil to disable this
8274 feature.
8275
8276 2012-03-04 Chong Yidong <cyd@gnu.org>
8277
8278 * faces.el (face-spec-reset-face): For the default face, reset the
8279 attributes to default values (Bug#10748).
8280
8281 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8282
8283 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8284 previous patch: Check `message-send-mail-function', and not the
8285 default function (bug#10897).
8286
8287 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
8288
8289 * notifications.el (notifications-on-action-signal)
8290 (notifications-on-closed-signal): Check for unique service name of
8291 incoming event. Fix error in removing entry.
8292 (top): Register for signals with wildcard service name.
8293 (notifications-notify): Use daemon unique service name for map entries.
8294
8295 2012-03-04 Chong Yidong <cyd@gnu.org>
8296
8297 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8298
8299 2012-03-04 Glenn Morris <rgm@gnu.org>
8300
8301 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8302 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8303 (expand-abbrev, define-abbrev-table): Doc fixes.
8304
8305 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
8307 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8308 `message-default-send-mail-function' and not `send-mail-function'
8309 when doing the prompting for `sendmail-query-once' before sending
8310 in Message buffers (bug#10897).
8311
8312 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8313 This is inconsistent with all the other stream functions, which leave
8314 the setting up to the higher levels (if so wanted) (bug#10931).
8315
8316 2012-03-02 Alan Mackenzie <acm@muc.de>
8317
8318 Depessimize the handling of very large macros.
8319
8320 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8321 (c-macro-cache-syntactic): New variables to implement a one
8322 element macro cache.
8323 (c-invalidate-macro-cache): New function.
8324 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8325 Adapt to use the new cache.
8326 (c-state-safe-place): Use better the cache of safe positions.
8327 (c-state-semi-nonlit-pos-cache)
8328 (c-state-semi-nonlit-pos-cache-limit):
8329 New variables for...
8330 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8331 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8332 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8333 Use c-state-semi-safe-place.
8334
8335 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8336 Add c-invalidate-macro-cache to the C, C++, Obj entries.
8337
8338 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
8339
8340 * jka-compr.el (jka-compr-call-process):
8341 Apply `file-accessible-directory-p' only when the default directory is
8342 not remote.
8343
8344 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
8345
8346 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8347 access of FILE2, if FILE1 does not exist.
8348
8349 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8350 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8351
8352 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8353 Add "PAGER=" to `process-environment'.
8354
8355 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8356
8357 * progmodes/sql.el: Bug fix
8358 (sql-get-login-ext): Save login values in globals.
8359 (sql-get-login): Use new version of `sql-get-login-ext'.
8360 (sql-interactive-mode): Set global `sql-connection' to nil.
8361 (sql-connect): Set global values for connection.
8362 (sql-product-interactive): Save global values as buffer local.
8363
8364 2012-02-29 Leo Liu <sdl.web@gmail.com>
8365
8366 * abbrev.el (define-abbrevs): Reset sys to nil.
8367
8368 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8369
8370 * files.el (file-equal-p): Rename from `files-equal-p'.
8371 Return nil when one or both files don't exist.
8372 (file-subdir-of-p): Now only top directory must exists,
8373 return nil if it doesn't.
8374 (copy-directory): No need to test with `file-subdir-of-p' after
8375 creating dir.
8376 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8377 to `file-equal-p'.
8378
8379 2012-02-28 Glenn Morris <rgm@gnu.org>
8380
8381 * shell.el (shell-mode):
8382 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8383 * play/landmark.el (landmark-font-lock-face-O):
8384 * play/handwrite.el (handwrite):
8385 * play/gomoku.el (gomoku-O):
8386 * net/browse-url.el (browse-url-browser-display):
8387 * international/mule.el (define-charset):
8388 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8389 * filesets.el (filesets-find-file-delay):
8390 * eshell/em-xtra.el (eshell-xtra):
8391 * eshell/em-unix.el (eshell-grep):
8392 * emulation/viper.el (viper-mode):
8393 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8394 * emacs-lisp/easymenu.el (easy-menu-define):
8395 * calendar/timeclock.el (timeclock-use-display-time):
8396 * bs.el (bs-mode):
8397 * bookmark.el (bookmark-save-flag):
8398 Doc fix (standardize possessive apostrophe usage).
8399
8400 2012-02-27 Chong Yidong <cyd@gnu.org>
8401
8402 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8403 Fix key-binding lookup for ESC key (Bug#9146).
8404
8405 * font-lock.el (font-lock-specified-p): Rename from
8406 font-lock-spec-present. Callers changed.
8407
8408 2012-02-27 Daniel Hackney <dan@haxney.org>
8409
8410 * emacs-lisp/package.el (package-compute-transaction):
8411 Handle holding a package version to t in package-load-list.
8412
8413 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
8414
8415 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8416 (tramp-get-inode, tramp-get-device): Use cached values.
8417
8418 2012-02-26 Alan Mackenzie <acm@muc.de>
8419
8420 Check there is a font-lock specification before doing initial
8421 fontification.
8422
8423 * font-core.el (font-lock-mode): Move the conditional from
8424 :after-hook to font-lock-initial-fontify.
8425 (font-lock-default-function): Move the check for a specification
8426 to font-lock-spec-present.
8427
8428 * font-lock.el (font-lock-initial-fontify): Call ...
8429 (font-lock-spec-present): New function.
8430
8431 2012-02-26 Jim Blandy <jimb@red-bean.com>
8432
8433 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8434 (gdb-send): Apply it to the operand of the '-interpreter-exec
8435 console' command, so that we can pass arguments with (say) quotes
8436 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8437
8438 2012-02-26 Chong Yidong <cyd@gnu.org>
8439
8440 * help-fns.el (describe-function-1): Clarify description of
8441 remapping (Bug#10844).
8442
8443 * files.el (files-equal-p): Doc fix.
8444 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8445 and quit the loop once a mismatch is found.
8446
8447 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * bs.el (bs--show-with-configuration): Don't throw an error
8450 if the window cannot be split; otherwise, subsequent calls to
8451 bs-show fail, restoring a stale window config. (Bug#10882)
8452
8453 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8454
8455 * term/ns-win.el (global-map): Bind ns-drag-file to
8456 ns-find-file (Bug#5855, Bug#10050).
8457
8458 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8459
8460 * calendar/parse-time.el (parse-time-string): Allow extractor to
8461 return nil.
8462
8463 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
8464
8465 * net/tramp.el (tramp-file-name-for-operation):
8466 Add `files-equal-p' and `file-subdir-of-p'.
8467
8468 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8469 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8470 Add COPY-CONTENTS argument.
8471
8472 2012-02-25 Chong Yidong <cyd@gnu.org>
8473
8474 Add custom groups for VC backends, for consistency with vc-bzr.
8475
8476 * vc/vc-arch.el (vc-arch):
8477 * vc/vc-cvs.el (vc-cvs):
8478 * vc/vc-git.el (vc-git):
8479 * vc/vc-hg.el (vc-hg):
8480 * vc/vc-mtn.el (vc-mtn):
8481 * vc/vc-rcs.el (vc-rcs):
8482 * vc/vc-sccs.el (vc-sccs):
8483 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8484 All relevant defcustoms reassigned.
8485
8486 2012-02-25 Chong Yidong <cyd@gnu.org>
8487
8488 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8489
8490 * term/x-win.el (x-initialize-window-system): Reduce default for
8491 x-selection-timeout to 5 seconds (Bug#8869).
8492
8493 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8494
8495 * files.el (files-equal-p, file-subdir-of-p): New functions.
8496 (copy-directory): Error when trying to copy a directory on itself.
8497 Add missing copy-contents arg to tramp handler.
8498 * dired-aux.el (dired-copy-file-recursive): Same.
8499 (dired-create-files): Modify destination when source is equal to
8500 dest when copying files.
8501 Return also when dest is a subdir of source. (Bug#10489)
8502
8503 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
8504
8505 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8506 (Bug#10874)
8507
8508 2012-02-23 Alan Mackenzie <acm@muc.de>
8509
8510 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8511 parameter "after-hook:" to allow the expansion to run code after
8512 the execution of the mode hooks.
8513
8514 * font-lock.el (font-lock-initial-fontify): New function extracted
8515 from font-lock-mode-internal.
8516
8517 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8518 :after-hook.
8519
8520 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8523 (completion--cache-all-sorted-completions): New function.
8524 (completion-all-sorted-completions): Use it.
8525 (completion--do-completion, minibuffer-force-complete):
8526 Use it to re-instate the flush hook.
8527
8528 * icomplete.el (icomplete-completions): Replace last fix with a better
8529 one (bug#10850).
8530
8531 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8532
8533 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8534 when it might call us back infinitely (bug#10797).
8535
8536 2012-02-23 Glenn Morris <rgm@gnu.org>
8537
8538 * minibuffer.el (completion-category-overrides): Doc fix.
8539
8540 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8543 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8544
8545 2012-02-23 Glenn Morris <rgm@gnu.org>
8546
8547 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8548 (authors-obsolete-files-regexps, authors-ignored-files)
8549 (authors-ambiguous-files, authors-renamed-files-alist):
8550 Add more entries.
8551
8552 2012-02-23 Juri Linkov <juri@jurta.org>
8553
8554 * isearch.el (isearch-occur): Sync interactive spec with occur's
8555 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8556
8557 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8558
8559 2012-02-22 Juri Linkov <juri@jurta.org>
8560
8561 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8562 (ucs-insert): Doc fix. Check for hex digits in the string.
8563 Don't display `nil' in the error message. (Bug#10857)
8564
8565 2012-02-22 Alan Mackenzie <acm@muc.de>
8566
8567 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
8568
8569 2012-02-22 Glenn Morris <rgm@gnu.org>
8570
8571 * ffap.el (ffap-c-path):
8572 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8573
8574 2012-02-22 Chong Yidong <cyd@gnu.org>
8575
8576 * custom.el (load-theme): Doc fix.
8577
8578 2012-02-22 Glenn Morris <rgm@gnu.org>
8579
8580 * dired-x.el (dired-guess-shell-alist-default):
8581 Remove escape sequences from nroff output. (Bug#172)
8582
8583 2012-02-21 Glenn Morris <rgm@gnu.org>
8584
8585 * vc/emerge.el (emerge-defvar-local):
8586 Set `permanent-local' property rather than unused `preserved'.
8587
8588 * textmodes/picture.el (picture-delete-char): New alias.
8589 (picture-mode-map): Use it. (Bug#10860)
8590 (picture-mode): Doc fix.
8591
8592 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
8593
8594 * newcomment.el (uncomment-region-default): Remove unused binding.
8595
8596 2012-02-21 Glenn Morris <rgm@gnu.org>
8597
8598 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8599 (picture-self-insert, picture-tab-chars): Doc fix.
8600 (picture-mode-map): Fix C-a, C-e.
8601
8602 2012-02-20 Glenn Morris <rgm@gnu.org>
8603
8604 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8605
8606 2012-02-20 Leo Liu <sdl.web@gmail.com>
8607
8608 * icomplete.el (icomplete-completions): Check FROM arg before
8609 passing to substring (Bug#10850).
8610
8611 2012-02-19 Chong Yidong <cyd@gnu.org>
8612
8613 * comint.el: Require ansi-color.
8614 (comint-output-filter-functions): Add ansi-color-process-output.
8615
8616 * ansi-color.el: Don't set comint-output-filter-functions; it is
8617 now in the initial value defined in comint.el.
8618 (ansi-color-apply-face-function): New variable.
8619 (ansi-color-apply-on-region): Use it.
8620 (ansi-color-apply-overlay-face): New function.
8621
8622 * shell.el (shell): No need to require ansi-color.
8623 (shell-mode): Use ansi-color-apply-face-function to highlight
8624 color escapes using font-lock-face property (Bug#10835).
8625
8626 2012-02-19 Chong Yidong <cyd@gnu.org>
8627
8628 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8629 mode-line formats (Bug#10839).
8630
8631 2012-02-18 Glenn Morris <rgm@gnu.org>
8632
8633 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8634
8635 * mail/undigest.el (unforward-rmail-message): Doc fix.
8636
8637 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8638
8639 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8640
8641 * international/characters.el (script-list): Sync with the latest
8642 Unicode Character Database.
8643
8644 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8645
8646 * international/titdic-cnv.el: Remove duplicate coding tag.
8647 * language/cham.el: Likewise.
8648 * language/tai-viet.el: Likewise.
8649
8650 2012-02-18 Glenn Morris <rgm@gnu.org>
8651
8652 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8653 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8654 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8655 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8656 * calendar/holidays.el (holiday-bahai-holidays)
8657 (calendar-holidays, list-holidays):
8658 Use utf-8 Bahá'í in doc-strings, menus, etc.
8659
8660 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8661
8662 * saveplace.el (save-place-ignore-files-regexp): New variable
8663 allowing for excluding files from saving their location of point.
8664 The default value matches the temporary commit message editing
8665 files from Git, SVN, Bazaar, and Mercurial.
8666 (save-place-to-alist): Use it.
8667
8668 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8669 Stefan Monnier <monnier@iro.umontreal.ca>
8670
8671 * newcomment.el (uncomment-region-default): Don't leave extra space
8672 when an arg is provided (bug#8150).
8673
8674 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8675
8676 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8677
8678 2012-02-17 Glenn Morris <rgm@gnu.org>
8679
8680 * net/socks.el: Require network-stream. (Bug#10599)
8681
8682 2012-02-17 Kenichi Handa <handa@m17n.org>
8683
8684 * international/charprop.el:
8685 * international/uni-name.el:
8686 * international/uni-old-name.el:
8687 * international/uni-comment.el: Regenerate.
8688
8689 2012-02-16 Glenn Morris <rgm@gnu.org>
8690
8691 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8692 Interactively in calendar buffer, give an error if not on a date.
8693
8694 2012-02-15 Glenn Morris <rgm@gnu.org>
8695
8696 * shell.el (shell-delimiter-argument-list):
8697 Revert 2011-02-17 change. (Bug#8027)
8698
8699 2012-02-15 Chong Yidong <cyd@gnu.org>
8700
8701 * minibuffer.el (completion-at-point-functions): Doc fix.
8702
8703 * custom.el (defcustom): Doc fix; note use of defvar.
8704
8705 2012-02-15 Glenn Morris <rgm@gnu.org>
8706
8707 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8708 Doc fixes.
8709
8710 2012-02-14 Glenn Morris <rgm@gnu.org>
8711
8712 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8713
8714 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8715
8716 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8717 way the ports list is computed.
8718 (smtpmail-query-smtp-server): Prompt the user for a port number if
8719 we can't connect to any of the standard ports (bug#10810).
8720
8721 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8722
8723 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8724
8725 2012-02-13 Glenn Morris <rgm@gnu.org>
8726
8727 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8728
8729 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8730
8731 * net/gnutls.el (gnutls-trustfiles): New variable.
8732 (gnutls-negotiate): Use it.
8733
8734 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8735
8736 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8737 does its stuff if Gnus is running.
8738
8739 2012-02-13 Alan Mackenzie <acm@muc.de>
8740
8741 Fix a loop in c-set-fl-decl-start.
8742
8743 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8744 c-backward-syntactic-ws actually moves backwards.
8745
8746 2012-02-13 Leo Liu <sdl.web@gmail.com>
8747
8748 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8749 beginning so that all \C-o chars are removed.
8750
8751 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8752
8753 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8754
8755 2012-02-12 Alan Mackenzie <acm@muc.de>
8756
8757 Fix infinite loop with long macros.
8758 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8759
8760 2012-02-12 Chong Yidong <cyd@gnu.org>
8761
8762 * window.el (display-buffer): Doc fix (Bug#10785).
8763
8764 2012-02-12 Glenn Morris <rgm@gnu.org>
8765
8766 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8767 (x-disown-selection-internal, x-get-selection-internal):
8768 Sync docs with the xselect.c versions.
8769
8770 * allout-widgets.el: Add missing license notice.
8771
8772 2012-02-11 Glenn Morris <rgm@gnu.org>
8773
8774 * select.el (x-get-selection-internal, x-own-selection-internal)
8775 (x-disown-selection-internal):
8776 * x-dnd.el (x-get-selection-internal): Update declarations.
8777
8778 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8779
8780 * window.el (window-sides-slots):
8781 * tool-bar.el (tool-bar-position):
8782 * term/xterm.el (xterm-extra-capabilities):
8783 * ses.el (ses-self-reference-early-detection):
8784 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8785 (verilog-auto-wire-type)
8786 (verilog-auto-delete-trailing-whitespace)
8787 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8788 (verilog-auto-tieoff-declaration):
8789 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8790 (sql-oracle-statement-starters, sql-oracle-scan-on):
8791 * progmodes/prolog.el (prolog-align-comments-flag)
8792 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8793 (prolog-left-indent-regexp, prolog-paren-indent-p)
8794 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8795 (prolog-types, prolog-mode-specificators)
8796 (prolog-determinism-specificators, prolog-directives)
8797 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8798 (prolog-electric-dot-flag)
8799 (prolog-electric-dot-full-predicate-template)
8800 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8801 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8802 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8803 (prolog-program-switches, prolog-prompt-regexp)
8804 (prolog-debug-on-string, prolog-debug-off-string)
8805 (prolog-trace-on-string, prolog-trace-off-string)
8806 (prolog-zip-on-string, prolog-zip-off-string)
8807 (prolog-use-standard-consult-compile-method-flag)
8808 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8809 (prolog-imenu-max-lines, prolog-info-predicate-index)
8810 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8811 (prolog-char-quote-workaround):
8812 * progmodes/cc-vars.el (c-defun-tactic):
8813 * net/tramp.el (tramp-encoding-command-interactive)
8814 (tramp-local-end-of-line):
8815 * net/soap-client.el (soap-client):
8816 * net/netrc.el (netrc-file):
8817 * net/gnutls.el (gnutls):
8818 * minibuffer.el (completion-category-overrides)
8819 (completion-cycle-threshold)
8820 (completion-pcm-complete-word-inserts-delimiters):
8821 * man.el (Man-name-local-regexp):
8822 * mail/feedmail.el (feedmail-display-full-frame):
8823 * international/characters.el (glyphless-char-display-control):
8824 * eshell/em-ls.el (eshell-ls-date-format):
8825 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8826 (lisp-lambda-list-keyword-parameter-indentation)
8827 (lisp-lambda-list-keyword-parameter-alignment):
8828 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8829 * dired-x.el (dired-omit-verbose):
8830 * cus-theme.el (custom-theme-allow-multiple-selections):
8831 * calc/calc.el (calc-highlight-selections-with-faces)
8832 (calc-lu-field-reference, calc-lu-power-reference)
8833 (calc-note-threshold):
8834 * battery.el (battery-mode-line-limit):
8835 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8836 (archive-7z-update):
8837 * allout.el (allout-prefixed-keybindings)
8838 (allout-unprefixed-keybindings)
8839 (allout-inhibit-auto-fill-on-headline)
8840 (allout-flattened-numbering-abbreviation):
8841 * allout-widgets.el (allout-widgets-auto-activation)
8842 (allout-widgets-icons-dark-subdir)
8843 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8844 (allout-widgets-theme-dark-background)
8845 (allout-widgets-theme-light-background)
8846 (allout-widgets-item-image-properties-emacs)
8847 (allout-widgets-item-image-properties-xemacs)
8848 (allout-widgets-run-unit-tests-on-load)
8849 (allout-widgets-time-decoration-activity)
8850 (allout-widgets-hook-error-post-time)
8851 (allout-widgets-track-decoration):
8852 Add missing :version tags to new defcustoms and defgroups.
8853
8854 * progmodes/sql.el (sql-ansi-statement-starters)
8855 (sql-oracle-statement-starters): Add custom type.
8856
8857 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8858 (prolog-system-version): Give it a type.
8859
8860 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8861
8862 * term/pc-win.el (x-select-text, x-selection-owner-p)
8863 (x-own-selection-internal, x-disown-selection-internal)
8864 (x-get-selection-internal): Sync doc strings and argument lists
8865 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8866
8867 2012-02-11 Leo Liu <sdl.web@gmail.com>
8868
8869 * progmodes/python.el (python-end-of-statement): Fix infinite
8870 loop. (Bug#10788)
8871
8872 2012-02-10 Glenn Morris <rgm@gnu.org>
8873
8874 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8875 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8876
8877 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8878
8879 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8880 about SMTP before checking the From header.
8881
8882 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8883 into own function for reuse by emacsbug.el.
8884
8885 2012-02-10 Leo Liu <sdl.web@gmail.com>
8886
8887 * subr.el (condition-case-unless-debug): Rename from
8888 condition-case-no-debug. All callers changed.
8889 (with-demoted-errors): Fix caller.
8890
8891 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8892 * nxml/rng-valid.el (rng-do-some-validation):
8893 * emacs-lisp/package.el (package-refresh-contents)
8894 (package-menu-execute):
8895 * desktop.el (desktop-create-buffer):
8896 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8897
8898 2012-02-10 Glenn Morris <rgm@gnu.org>
8899
8900 * textmodes/bibtex.el:
8901 Add missing :version tags for new/changed defcustoms.
8902
8903 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8904
8905 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8906
8907 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8908 (smtpmail-via-smtp): Use it, or fall back on the From address.
8909 (smtpmail-send-it): Ditto.
8910
8911 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8914 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8915 (byte-compile-tmp-var): New const.
8916 (byte-compile-defvar): Use it to minimize .elc size.
8917 Just use `defvar' rather than simulate it (bug#10761).
8918
8919 2012-02-09 Glenn Morris <rgm@gnu.org>
8920
8921 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8922
8923 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8924 Add :version tags.
8925
8926 * progmodes/compile.el (compilation-error-screen-columns)
8927 (compilation-first-column, compilation-filter-start): Doc fixes.
8928
8929 * vc/log-view.el (log-view-toggle-entry-display):
8930 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8931
8932 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8933 (report-emacs-bug-can-use-xdg-email):
8934 (report-emacs-bug-insert-to-mailer): Doc fixes.
8935 (report-emacs-bug): Message fix.
8936
8937 * net/browse-url.el (browse-url-can-use-xdg-open)
8938 (browse-url-xdg-open): Doc fixes.
8939
8940 * electric.el (electric-indent-mode, electric-pair-mode)
8941 (electric-layout-rules, electric-layout-mode): Doc fixes.
8942 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8943
8944 2012-02-08 Martin Rudalics <rudalics@gmx.at>
8945
8946 * server.el (server-unselect-display): Don't inadvertently kill
8947 the current buffer. (Bug#10729)
8948
8949 2012-02-08 Glenn Morris <rgm@gnu.org>
8950
8951 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8952 (sql-list-table): Doc fixes.
8953
8954 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8955 Comment out (does nothing).
8956
8957 * completion.el (dynamic-completion-mode):
8958 * dirtrack.el (dirtrack-debug-mode):
8959 * electric.el (electric-layout-mode):
8960 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8961 * face-remap.el (text-scale-mode, buffer-face-mode):
8962 * iimage.el (iimage-mode):
8963 * image-mode.el (image-transform-mode):
8964 * minibuffer.el (completion-in-region-mode):
8965 * scroll-lock.el (scroll-lock-mode):
8966 * simple.el (next-error-follow-minor-mode):
8967 * tar-mode.el (tar-subfile-mode):
8968 * tooltip.el (tooltip-mode):
8969 * vcursor.el (vcursor-use-vcursor-map):
8970 * wid-browse.el (widget-minor-mode):
8971 * emulation/tpu-edt.el (tpu-edt-mode):
8972 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8973 * international/iso-ascii.el (iso-ascii-mode):
8974 * language/thai-util.el (thai-word-mode):
8975 * mail/supercite.el (sc-minor-mode):
8976 * net/goto-addr.el (goto-address-mode):
8977 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8978 * progmodes/cwarn.el (cwarn-mode):
8979 * progmodes/flymake.el (flymake-mode):
8980 * progmodes/glasses.el (glasses-mode):
8981 * progmodes/hideshow.el (hs-minor-mode):
8982 * progmodes/pascal.el (pascal-outline-mode):
8983 * textmodes/enriched.el (enriched-mode):
8984 * vc/smerge-mode.el (smerge-mode):
8985 Doc fixes (minor mode argument).
8986
8987 2012-02-07 Eli Zaretskii <eliz@gnu.org>
8988
8989 * ls-lisp.el (ls-lisp-sanitize): New function.
8990 (ls-lisp-insert-directory): Use it to fix or remove any elements
8991 in file-alist with missing attributes. (Bug#4673)
8992
8993 2012-02-07 Alan Mackenzie <acm@muc.de>
8994
8995 Fix spurious recognition of c-in-knr-argdecl.
8996
8997 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8998 putative K&R region.
8999
9000 2012-02-07 Alan Mackenzie <acm@muc.de>
9001
9002 * progmodes/cc-engine.el (c-forward-objc-directive):
9003 Prevent looping in "#pragma mark @implementation".
9004
9005 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9006
9007 * notifications.el (notifications-on-closed-signal): Make `reason'
9008 optional. (Bug#10744)
9009
9010 2012-02-07 Glenn Morris <rgm@gnu.org>
9011
9012 * emacs-lisp/easy-mmode.el (define-minor-mode):
9013 Doc fixes for the macro and the mode it defines.
9014
9015 * image.el (imagemagick-types-inhibit): Doc fix.
9016
9017 * cus-start.el (imagemagick-render-type): Add it.
9018
9019 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9020
9021 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9022 Set the default at load time, too, so that `font-lock-fontify-buffer'
9023 can be called without setting up the entire mode first. This fixes
9024 a bug in `mm-inline-text' with C MIME parts.
9025
9026 2012-02-06 Chong Yidong <cyd@gnu.org>
9027
9028 * simple.el (list-processes--refresh): Delete exited processes
9029 (Bug#8094).
9030
9031 * comint.el (comint-next-prompt): next-single-char-property-change
9032 and prev-single-char-property-change never return nil (Bug#8657).
9033
9034 * custom.el (defcustom): Doc fix (Bug#9711).
9035
9036 2012-02-05 Chong Yidong <cyd@gnu.org>
9037
9038 * cus-edit.el (custom-variable-reset-backup): Quote the value
9039 before storing it in the customized-value property (Bug#6712).
9040 (custom-display): Add a customization type tag.
9041 (custom-buffer-create-internal): Improve tooltip message.
9042
9043 * wid-edit.el (widget-field-value-get): New optional arg to
9044 suppress trailing whitespace truncation.
9045 (character): Use it (Bug#2689).
9046
9047 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9048
9049 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9050 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9051
9052 2012-02-05 Chong Yidong <cyd@gnu.org>
9053
9054 * cus-edit.el (custom-variable-value-create): For mismatched
9055 types, show the current value (Bug#7600).
9056
9057 * custom.el (defcustom): Doc fix.
9058
9059 2012-02-05 Glenn Morris <rgm@gnu.org>
9060
9061 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9062
9063 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9064
9065 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9066 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9067 (pp-last-sexp): Use `looking-at-p'.
9068
9069 2012-02-04 Glenn Morris <rgm@gnu.org>
9070
9071 * files.el (revert-buffer):
9072 Doc fix (mention revert-buffer-in-progress-p).
9073
9074 * emacs-lisp/ert-x.el (ert-simulate-command):
9075 Check deferred-action-list (which is obsolete) is bound.
9076
9077 * subr.el (with-wrapper-hook): Doc fixes.
9078
9079 * simple.el (filter-buffer-substring-functions)
9080 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9081
9082 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9083
9084 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9085 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9086
9087 2012-02-04 Leo Liu <sdl.web@gmail.com>
9088
9089 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9090
9091 2012-02-04 Glenn Morris <rgm@gnu.org>
9092
9093 * image.el (image-extension-data): Add obsolete alias.
9094
9095 * isearch.el (isearch-update): Doc fix.
9096
9097 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9098
9099 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9100
9101 2012-02-03 Glenn Morris <rgm@gnu.org>
9102
9103 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9104 (image-animate-timeout): Doc fix.
9105
9106 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9107
9108 2012-02-02 Glenn Morris <rgm@gnu.org>
9109
9110 * server.el (server-auth-dir): Doc fix.
9111 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9112
9113 * subr.el (run-mode-hooks): Doc fix.
9114
9115 2012-02-02 Juri Linkov <juri@jurta.org>
9116
9117 * image-mode.el (image-toggle-display-image): Remove tautological
9118 `major-mode' from the `derived-mode-p' test.
9119
9120 2012-02-02 Kenichi Handa <handa@m17n.org>
9121
9122 * composite.el (compose-region): Cancel previous change.
9123
9124 2012-02-02 Kenichi Handa <handa@m17n.org>
9125
9126 * composite.el (compose-region, compose-string): Signal error for
9127 a null string component (Bug#6988).
9128
9129 2012-02-01 Chong Yidong <cyd@gnu.org>
9130
9131 * view.el (view-buffer-other-window, view-buffer-other-frame):
9132 Handle special modes like view-buffer (Bug#10650).
9133 (view-buffer): Simplify.
9134
9135 * frame.el (set-frame-font): Tweak meaning of third argument.
9136
9137 * dynamic-setting.el (font-setting-change-default-font):
9138 Use set-frame-font (Bug#9982).
9139
9140 2012-02-01 Glenn Morris <rgm@gnu.org>
9141
9142 * progmodes/compile.el (compilation-internal-error-properties):
9143 Respect compilation-first-column in the "*compilation*" buffer.
9144
9145 * emacs-lisp/easy-mmode.el (define-minor-mode):
9146 Relax :variable's test for a named function.
9147
9148 2012-01-31 Alan Mackenzie <acm@muc.de>
9149
9150 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9151 off by one error.
9152
9153 2012-01-31 Chong Yidong <cyd@gnu.org>
9154
9155 * frame.el (set-frame-font): New arg ALL-FRAMES.
9156
9157 * menu-bar.el (menu-set-font): Use set-frame-font.
9158
9159 * faces.el (face-spec-reset-face): Don't apply unspecified
9160 attribute values to the default face.
9161
9162 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9163
9164 * progmodes/cwarn.el (cwarn): Remove dead link.
9165 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9166 Remove * from defcustom docstrings.
9167 (turn-on-cwarn-mode): Make obsolete.
9168 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9169 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9170
9171 2012-01-31 Glenn Morris <rgm@gnu.org>
9172
9173 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9174 Fix :variable handling of mode a symbol not equal to modefun.
9175 Allow named functions to be used as the cdr of :variable.
9176
9177 2012-01-30 Glenn Morris <rgm@gnu.org>
9178
9179 * emacs-lisp/authors.el (authors-fixed-entries):
9180 Remove reference to deleted file rnewspost.el.
9181
9182 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9183
9184 * window.el (window-with-parameter): Remove unused variable `windows'.
9185 (window--side-check): Remove unused variable `code'.
9186 (window--resize-siblings): Remove unused variable `first'.
9187 (adjust-window-trailing-edge): Remove unused variable `failed'.
9188 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9189 Use `let', not `let*'.
9190 (balance-windows-2): Remove unused variable `found'.
9191 (window--state-put-2): Remove unused variable `splits'.
9192 (window-state-put): Remove unused variable `selected'.
9193 (same-window-p): Use `string-match-p'.
9194 (display-buffer-assq-regexp): Remove unused variable `value'.
9195 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9196 Mark argument ALIST as ignored.
9197 (pop-to-buffer): Remove unused variable `old-window'.
9198
9199 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9200
9201 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9202 and .lzma compressed files.
9203
9204 2012-01-29 Chong Yidong <cyd@gnu.org>
9205
9206 * frame.el (window-system-default-frame-alist): Doc fix.
9207
9208 * dynamic-setting.el (font-setting-change-default-font): Don't
9209 change the default face if SET-FONT argument is non-nil (Bug#9982).
9210
9211 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9212
9213 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9214
9215 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9216
9217 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9218 breakpoints in files outside current directory (Bug#6098).
9219
9220 2012-01-29 Chong Yidong <cyd@gnu.org>
9221
9222 * progmodes/python.el: Require ansi-color at top-level.
9223
9224 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9225 Define and use in Emacs Lisp mode (Bug#9360).
9226 (lisp-mode-abbrev-table): Add doc.
9227 (lisp-mode-variables): Don't set local-abbrev-table.
9228 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9229
9230 2012-01-28 Roland Winkler <winkler@gnu.org>
9231
9232 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9233
9234 2012-01-28 Roland Winkler <winkler@gnu.org>
9235
9236 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9237 (bibtex-set-dialect): Use it. Either set global values of
9238 dialect-dependent variables or bind these variables buffer-locally
9239 (Bug#10254).
9240 (bibtex-mode): Call bibtex-set-dialect via
9241 hack-local-variables-hook.
9242 (bibtex-dialect): Update docstring.
9243 Add safe-local-variable predicate.
9244 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9245 bibtex-set-dialect.
9246 (bibtex-mode-map): Define menu for each dialect.
9247 (bibtex-entry): Fix docstring.
9248
9249 2012-01-28 Chong Yidong <cyd@gnu.org>
9250
9251 * eshell/esh-arg.el (eshell-quote-argument): New function.
9252
9253 * eshell/esh-ext.el (eshell-invoke-batch-file):
9254 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9255 first arg to eshell-parse-command (Bug#10523).
9256
9257 2012-01-28 Drew Adams <drew.adams@oracle.com>
9258
9259 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9260 `default-directory' is non-nil.
9261
9262 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9263
9264 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9265 line that displays system-configuration-options. (Bug#9924)
9266
9267 2012-01-28 Drew Adams <drew.adams@oracle.com>
9268
9269 * descr-text.el (describe-char): Show information about POS, in
9270 addition to information about the character at POS. Improve and
9271 update the doc string. Change "code point" to "code point in
9272 charset", to avoid confusion with the character's Unicode code
9273 point shown above that. (Bug#10129)
9274
9275 2012-01-28 Eli Zaretskii <eliz@gnu.org>
9276
9277 * descr-text.el (describe-char): Show the raw character, not only
9278 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9279 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9280 for the reasons.
9281
9282 2012-01-28 Phil Hagelberg <phil@hagelb.org>
9283
9284 * emacs-lisp/package.el (package-install):
9285 Run package-refresh-contents if there is no archive yet (Bug#9798).
9286
9287 2012-01-28 Chong Yidong <cyd@gnu.org>
9288
9289 * emacs-lisp/package.el (package-maybe-load-descriptor):
9290 New function, split from package-maybe-load-descriptor.
9291 (package-maybe-load-descriptor): Use it.
9292 (package-download-transaction): Fully load required packages
9293 inside the loop, so that `require' calls work (Bug#10593).
9294 (package-install): No need to call package-initialize now.
9295
9296 2012-01-28 Chong Yidong <cyd@gnu.org>
9297
9298 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9299
9300 * tooltip.el (tooltip-mode): Doc fix.
9301 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9302
9303 * frame.el (set-cursor-color): Doc fix (Bug#352).
9304
9305 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9306 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9307
9308 * cus-edit.el (custom-buffer-create-internal): Fix search button
9309 action (Bug#10542).
9310 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9311
9312 2012-01-27 Eduard Wiebe <usenet@pusto.de>
9313
9314 * dired.el (dired-mark-files-regexp):
9315 Include any subdirectory components. (Bug#10445)
9316
9317 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9318
9319 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9320 Handle [host]:port syntax. (Bug#10533)
9321
9322 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
9323
9324 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9325
9326 2012-01-26 Glenn Morris <rgm@gnu.org>
9327
9328 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9329 * term.el (term-raw-escape-map): Use Control-X-prefix.
9330 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9331
9332 2012-01-25 Martin Rudalics <rudalics@gmx.at>
9333
9334 * window.el (window-state-get, window--state-get-1): Don't deal
9335 with fixed-sizeness of windows. Simplify code.
9336
9337 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9338
9339 * window.el (window--state-get-1, window--state-put-2):
9340 Don't save and restore the mark.
9341
9342 2012-01-25 Chong Yidong <cyd@gnu.org>
9343
9344 * custom.el (custom-variable-p): Doc fix.
9345
9346 2012-01-25 Glenn Morris <rgm@gnu.org>
9347
9348 * dired.el (dired-goto-file): Handle some of the more common
9349 characters that `ls -b' escapes. (Bug#10596)
9350
9351 * progmodes/compile.el (compilation-next-error-function):
9352 Respect compilation-first-column in the "*compilation*" buffer.
9353 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9354
9355 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9356
9357 2012-01-24 Glenn Morris <rgm@gnu.org>
9358
9359 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9360
9361 2012-01-24 Julien Danjou <julien@danjou.info>
9362
9363 * color.el (color-rgb-to-hsl): Fix value computing.
9364 (color-hue-to-rgb): New function.
9365 (color-hsl-to-rgb): New function.
9366 (color-clamp, color-saturate-hsl, color-saturate-name)
9367 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9368 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9369
9370 2012-01-24 Glenn Morris <rgm@gnu.org>
9371
9372 * vc/vc-rcs.el (vc-rcs-create-tag):
9373 * vc/vc-sccs.el (vc-sccs-create-tag):
9374 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9375
9376 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9377
9378 * eshell/esh-util.el (eshell-read-hosts-file):
9379 Skip comment lines. (Bug#10549)
9380
9381 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9382
9383 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
9384
9385 * subr.el (display-delayed-warnings): Doc fix.
9386 (collapse-delayed-warnings): New function to collapse identical
9387 adjacent warnings.
9388 (delayed-warnings-hook): Add it.
9389
9390 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9393
9394 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9395 (tramp-default-user-alist): Don't add "pscp".
9396 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9397 property "login-as", if set. (Bug#10530)
9398
9399 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9402 "plink1" and "psftp". (Bug#10530)
9403
9404 2012-01-21 Kenichi Handa <handa@m17n.org>
9405
9406 * international/mule-cmds.el (prefer-coding-system): Show a
9407 warning message if the default value of file-name-coding-system
9408 was not changed.
9409
9410 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9411
9412 * windmove.el (windmove-reference-loc):
9413 Fix windmove-reference-loc miscalculation.
9414
9415 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9416
9417 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9418 default unit.
9419
9420 2012-01-21 Glenn Morris <rgm@gnu.org>
9421
9422 * international/mule.el (auto-coding-alist): Add .tbz.
9423
9424 * files.el (local-enable-local-variables): Doc fix.
9425 (inhibit-local-variables-regexps): Rename from
9426 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9427 Doc fix. Add some extensions from auto-coding-alist.
9428 (inhibit-local-variables-suffixes):
9429 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9430 (inhibit-local-variables-p):
9431 New function, extracted from set-auto-mode-1.
9432 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9433 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9434 (hack-local-variables): Doc fix. Make the mode-only case
9435 respect enable-local-variables and friends.
9436 Respect inhibit-local-variables-regexps for file-locals, but
9437 not for directory-locals.
9438 (set-visited-file-name):
9439 Take account of inhibit-local-variables-regexps.
9440 Whether it applies may change as the file name is changed.
9441 * jka-cmpr-hook.el (jka-compr-install):
9442 * jka-compr.el (jka-compr-uninstall):
9443 Update for inhibit-first-line-modes-suffixes name change.
9444
9445 2012-01-20 Martin Rudalics <rudalics@gmx.at>
9446
9447 * help-macro.el (make-help-screen): Temporarily restore original
9448 binding for minor-mode-map-alist (Bug#10454).
9449
9450 2012-01-19 Julien Danjou <julien@danjou.info>
9451
9452 * color.el (color-name-to-rgb): Use the white color to find the max
9453 color component value and return correctly computed values.
9454 (color-name-to-rgb): Add missing float conversion for max value.
9455
9456 2012-01-19 Martin Rudalics <rudalics@gmx.at>
9457
9458 * window.el (window--state-get-1, window-state-get): Do not use
9459 special state value for window-persistent-parameters.
9460 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
9461 (window--state-put-2): Reset all window parameters to nil before
9462 assigning values of persistent parameters.
9463
9464 2012-01-18 Alan Mackenzie <acm@muc.de>
9465
9466 Eliminate sluggishness and hangs in fontification of "semicolon
9467 deserts".
9468
9469 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9470 Change value 10000 -> 3000.
9471 (c-state-safe-place): Reformulate so it doesn't stack up an
9472 infinite number of wrong entries in c-state-nonlit-pos-cache.
9473 (c-determine-limit-get-base, c-determine-limit): New functions to
9474 determine backward search limits disregarding literals.
9475 (c-find-decl-spots): Amend commenting.
9476 (c-cheap-inside-bracelist-p): New function which detects "={".
9477
9478 * progmodes/cc-fonts.el
9479 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9480 backward search.
9481 (c-font-lock-declarations): Fix an occurrence of point being
9482 undefined. Check additionally for point being in a bracelist or
9483 near a macro invocation without a semicolon so as to avoid a
9484 fruitless time consuming search for a declarator. Give a more
9485 precise search limit for declarators using the new
9486 c-determine-limit.
9487
9488 2012-01-18 Glenn Morris <rgm@gnu.org>
9489
9490 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9491 (set-auto-mode): Doc fixes.
9492
9493 2012-01-17 Glenn Morris <rgm@gnu.org>
9494
9495 * isearch.el (search-nonincremental-instead): Fix doc typo.
9496
9497 * dired.el (dired-insert-directory): Handle newlines in directory name.
9498 (dired-build-subdir-alist): Unescape newlines in directory name.
9499
9500 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
9501
9502 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9503 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9504 (tramp-action-terminal): Use it. (Bug#10530)
9505
9506 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9509
9510 2012-01-16 Martin Rudalics <rudalics@gmx.at>
9511
9512 * window.el (window-state-ignored-parameters): Remove variable.
9513 (window--state-get-1): Rename argument MARKERS to IGNORE.
9514 Handle persistent window parameters. Make copy of clone-of
9515 parameter only if requested. (Bug#10348)
9516 (window--state-put-2): Install a window parameter only if it has
9517 a non-nil value or an existing parameter shall be overwritten.
9518
9519 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
9520
9521 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9522
9523 2012-01-14 Eli Zaretskii <eliz@gnu.org>
9524
9525 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9526 don't pass the (nil) value of `upnode' to string-match.
9527
9528 2012-01-14 Chong Yidong <cyd@gnu.org>
9529
9530 * startup.el (command-line): Fix X resource class for cursorColor.
9531 Fix values recognized by the cursorBlink resource.
9532
9533 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9534
9535 * epg.el (epg--make-temp-file): Avoid permission race condition
9536 when running on old Emacs versions (bug#10403).
9537
9538 2012-01-14 Glenn Morris <rgm@gnu.org>
9539
9540 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9541
9542 2012-01-13 Alan Mackenzie <acm@muc.de>
9543
9544 Fix filling for when filladapt mode is enabled.
9545
9546 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9547 c-mask-paragraph, pass in `fill-paragraph' rather than
9548 `fill-region-as-paragraph'. (This is a reversion of a previous
9549 change.)
9550 * progmodes/cc-mode.el (c-basic-common-init):
9551 Make fill-paragraph-handle-comment buffer local and set it to nil.
9552
9553 2012-01-13 Glenn Morris <rgm@gnu.org>
9554
9555 * dired.el (dired-switches-escape-p): New function.
9556 (dired-insert-directory): Use dired-switches-escape-p.
9557 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9558
9559 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9560
9561 2012-01-12 Glenn Morris <rgm@gnu.org>
9562
9563 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9564 changes in adaptive-fill-regexp. (Bug#10276)
9565
9566 2012-01-11 Alan Mackenzie <acm@muc.de>
9567
9568 Fix Emacs bug #10463 - put `widen's around the critical spots.
9569
9570 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9571 widen around each invocation of c-state-pp-to-literal. Remove an
9572 unused let variable.
9573
9574 2012-01-11 Glenn Morris <rgm@gnu.org>
9575
9576 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
9577 Doc fix.
9578
9579 2012-01-10 Chong Yidong <cyd@gnu.org>
9580
9581 * net/network-stream.el (network-stream-open-starttls):
9582 Avoid emitting a confusing error message when the server gives a bad
9583 response to the capability command.
9584
9585 2012-01-10 Glenn Morris <rgm@gnu.org>
9586
9587 * mail/unrmail.el (unrmail): Tweak previous change.
9588
9589 2012-01-09 Chong Yidong <cyd@gnu.org>
9590
9591 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9592
9593 2012-01-08 Alan Mackenzie <acm@muc.de>
9594
9595 Optimise font locking in long enum definitions.
9596
9597 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9598 arm to a cond form to handle enums.
9599 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9600 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9601
9602 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
9603
9604 * files.el (move-file-to-trash): Preserve default file modes on error.
9605 (Bug#10401)
9606
9607 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9608
9609 * faces.el (set-face-attribute): Clarify the meaning of the nil
9610 frame (bug#10294).
9611
9612 * subr.el (with-selected-frame): Mention that the selected frame
9613 is restored (bug#9980).
9614
9615 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9616 (bug#9759).
9617
9618 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9619 (password-read): Don't autoload unused function.
9620
9621 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9622
9623 * progmodes/which-func.el (which-func-mode): Turn into a
9624 non-interactive function and mark as obsolete (bug#10428).
9625
9626 2012-01-06 Chong Yidong <cyd@gnu.org>
9627
9628 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9629 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9630 functions, along with 1 and -1.
9631
9632 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9633
9634 * time.el (display-time-load-average)
9635 (display-time-default-load-average): Doc fixes. See the thread
9636 starting at
9637 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9638 for the details.
9639
9640 2012-01-06 Glenn Morris <rgm@gnu.org>
9641
9642 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9643 has no messages. (Bug#10377)
9644
9645 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9646 than Info-edit. (Bug#10385)
9647
9648 * time.el (display-time-load-average, display-time-next-load-average):
9649 Doc fixes.
9650
9651 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9652 local setting of buffer-read-only to the input buffer. (Bug#10419)
9653
9654 * calendar/calendar.el (calendar-mode):
9655 Locally set scroll-margin to 0. (Bug#10379)
9656
9657 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9658
9659 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9660
9661 2012-01-05 Glenn Morris <rgm@gnu.org>
9662
9663 * eshell/em-unix.el (diff-no-select): Autoload it.
9664 (eshell/diff): Use diff-no-select. (Bug#10420)
9665
9666 2012-01-05 Chong Yidong <cyd@gnu.org>
9667
9668 * shell.el (shell-dynamic-complete-functions): Revert last change.
9669 (shell-command-completion-function): New function.
9670 (shell-completion-vars): Use it to implement
9671 shell-completion-execonly (Bug#10417).
9672
9673 * custom.el (enable-theme): Don't set custom-safe-themes.
9674
9675 * cus-theme.el (custom-theme-merge-theme):
9676 Ignore custom-enabled-themes and custom-safe-themes.
9677
9678 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9679
9680 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9681 first prompt in `sql-interacive-mode'.
9682 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9683 keywords.
9684 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9685 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9686 context of original buffer. Invoke `sql-login-hook'.
9687
9688 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9689
9690 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9691 letters in cite-prefix.
9692
9693 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9696
9697 2012-01-03 Chong Yidong <cyd@gnu.org>
9698
9699 * shell.el (shell-dynamic-complete-functions):
9700 Put pcomplete-completions-at-point, so as to try
9701 comint-filename-completion first (Bug#10417).
9702
9703 2012-01-02 Richard Stallman <rms@gnu.org>
9704
9705 * battery.el (battery-status-function):
9706 Detect when to use battery-yeeloong-sysfs.
9707 (battery-echo-area-format): Add string for Yeeloong.
9708 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9709 (battery-yeeloong-sysfs): New function.
9710
9711 2012-01-02 Chong Yidong <cyd@gnu.org>
9712
9713 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9714 (dirtrack): Merge code for handling relative filenames in prompt
9715 from shell-dir-cookie-watcher.
9716 (dirtrack-debug-message): New arg to avoid excess format calls.
9717
9718 * shell.el (shell-dir-cookie-re): Variable deleted.
9719 (shell-dir-cookie-watcher): Function deleted.
9720 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9721 with dirtrack-mode.
9722
9723 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9724
9725 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9726 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9727 libgnutls-26.dll.
9728
9729 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9730
9731 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9732
9733 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9734
9735 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9736 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9737
9738 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9741 also for alternative shells.
9742 (tramp-open-connection-setup-interactive-shell): Check, whether
9743 the shell is a busybox.
9744 (tramp-send-command): Don't suppress multiple prompts for
9745 busyboxes, it hurts.
9746
9747 2011-12-28 Chong Yidong <cyd@gnu.org>
9748
9749 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9750 (gdb-get-source-file): Move mode line update to
9751 gdb-get-source-file (Bug#10087).
9752
9753 2011-12-25 Chong Yidong <cyd@gnu.org>
9754
9755 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9756 gud-gdb-marker-filter without taking it as an argument.
9757 (gud-gdb-run-command-fetch-lines): Caller changed.
9758 (gud-gdb-completion-function): New variable.
9759 (gud-gdb-completion-at-point): Use it.
9760 (gud-gdb-completions-1): Split from gud-gdb-completions.
9761
9762 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9763 function as separate arguments.
9764 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9765 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9766 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9767 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9768 (gdb-stopped, def-gdb-auto-update-trigger)
9769 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9770 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9771 Callers changed.
9772 (gud-gdbmi-completions): New function.
9773 (gdb): Use it for generating the completion table.
9774
9775 2011-12-24 Alan Mackenzie <acm@muc.de>
9776
9777 Introduce a mechanism to widen the region used in context font
9778 locking. Use this to protect declarations from losing their contexts.
9779
9780 * progmodes/cc-langs.el (c-before-font-lock-functions):
9781 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9782 (c-before-context-fontification-functions): New defvar, a list of
9783 functions to be run just before context (etc.) font locking.
9784
9785 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9786 New, functionality extracted from
9787 c-neutralize-syntax-in-and-mark-CPP.
9788 (c-in-after-change-fontification): New variable.
9789 (c-after-change): Set c-in-after-change-fontification.
9790 (c-set-fl-decl-start): Rejig its interface, so it can be called
9791 from both after-change and context fontifying.
9792 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9793 New functions.
9794 (c-standard-font-lock-fontify-region-function): New variable.
9795 (c-font-lock-fontify-region): New function.
9796
9797 2011-12-24 Juri Linkov <juri@jurta.org>
9798
9799 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9800 (Bug#10348)
9801
9802 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9803
9804 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9805 existence of source file. (Bug#10325)
9806
9807 2011-12-23 Alan Mackenzie <acm@muc.de>
9808
9809 Fix unstable fontification inside templates.
9810
9811 * progmodes/cc-langs.el (c-before-font-lock-functions):
9812 Newly created from the singular version. The (c c++ objc) entry now
9813 additionally has c-set-fl-decl-start. The other languages (apart
9814 from AWK) have that as a single entry.
9815
9816 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9817 The functionality for "local" declarations has been extracted to
9818 c-set-fl-decl-start.
9819
9820 * progmodes/cc-mode.el (c-common-init, c-after-change):
9821 Changes due to pluralisation of c-before-font-lock-functions.
9822 (c-set-fl-decl-start): New function, extracted from
9823 c-font-lock-enclosing-decls and enhanced.
9824
9825 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9826
9827 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9828
9829 2011-12-22 Juri Linkov <juri@jurta.org>
9830
9831 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9832
9833 2011-12-22 Chong Yidong <cyd@gnu.org>
9834
9835 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9836
9837 2011-12-21 Drew Adams <drew.adams@oracle.com>
9838
9839 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9840
9841 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9842
9843 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9844
9845 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9846
9847 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9848 highlighting and support. Fix up comments for capitalization.
9849 (cfengine-mode-debug): New var.
9850 (cfengine3-mode): Change the modeline indicator to "CFE3".
9851 (cfengine3-font-lock-keywords): Improve defun highlighting.
9852 (cfengine2-actions): Rename from `cfengine-actions'.
9853 (cfengine2-font-lock-keywords): Rename from
9854 `cfengine-font-lock-keywords'.
9855 (cfengine2-imenu-expression): Rename from
9856 `cfengine-imenu-expression'.
9857 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9858 (cfengine2-beginning-of-defun): Rename from
9859 `cfengine-beginning-of-defun'.
9860 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9861 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9862 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9863 modeline indicator to "CFE2".
9864 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9865 (cfengine-mode-abbrevs): Mark obsolete.
9866
9867 2011-12-21 Chong Yidong <cyd@gnu.org>
9868
9869 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9870 filename argument.
9871
9872 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9873
9874 * window.el (window-normalize-buffer-to-display): Remove.
9875 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9876
9877 2011-12-19 Chong Yidong <cyd@gnu.org>
9878
9879 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9880 Don't signal an error in a predicate function; return non-nil.
9881 (vc-dir-mark-file): Move the error here.
9882 (vc-dir-mark-unmark): If acting on the region, keep going if one
9883 of the entries cannot be marked/unmarked.
9884 (vc-dir-mark-all-files): If current entry is a directory, mark
9885 only child files, as documented.
9886
9887 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9888
9889 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9890 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9891 addition.
9892
9893 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9894
9895 * term/ns-win.el (ns-get-selection-internal)
9896 (ns-store-selection-internal): Declare.
9897 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9898 Declare as obsolete.
9899 (ns-get-pasteboard, ns-paste-secondary):
9900 Use ns-get-selection-internal.
9901 (ns-set-pasteboard, ns-copy-including-secondary):
9902 Use ns-store-selection-internal.
9903
9904 2011-12-17 Chong Yidong <cyd@gnu.org>
9905
9906 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9907 (vc-deduce-fileset): Doc fix.
9908
9909 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9912
9913 2011-12-13 Sam Steingold <sds@gnu.org>
9914
9915 * man.el (Man-getpage-in-background): When running under a
9916 window-system, ignore $MANWIDTH and $COLUMNS.
9917
9918 2011-12-15 Kenichi Handa <handa@m17n.org>
9919
9920 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9921 (setup-ethiopic-environment-internal): Comment out key-binding for
9922 ethio-toggle-punctuation.
9923
9924 2011-12-13 Alan Mackenzie <acm@muc.de>
9925
9926 Add the switch statement to AWK Mode.
9927
9928 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9929 "default" to the keywords regexp.
9930
9931 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9932 expression as the rest.
9933 (c-nonlabel-token-key): Allow string literals for AWK.
9934 Refactor for the other modes.
9935
9936 Large brace-block initialisation makes CC Mode slow: Fix.
9937 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9938 routines. Limit backward searching in c-font-lock-enclosing.decl.
9939
9940 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9941 pp-state and literal type in addition to the limits.
9942 (c-state-safe-place): New defun, extracted from c-state-literal-at.
9943 (c-state-literal-at): Use the above new defun.
9944 (c-slow-in-literal, c-fast-in-literal): Remove.
9945 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9946
9947 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9948 being in a literal. Add a limit for backward searching.
9949
9950 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9951 c-slow-in-literal.
9952
9953 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9956
9957 2011-12-13 Martin Rudalics <rudalics@gmx.at>
9958
9959 * window.el (delete-other-windows): Use correct frame in call to
9960 window-with-parameter.
9961
9962 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9963
9964 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9965 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9966 (makefile-gmake-statements, makefile-makepp-statements):
9967 Use it and add new makepp keywords.
9968 (makefile-makepp-font-lock-keywords): Add new patterns.
9969 (makefile-match-function-end): Match new [...] and [[...]].
9970
9971 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
9972
9973 * ses.el (ses-call-printer-return, ses-cell-property-get)
9974 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9975 (ses-create-cell-variable, ses-reset-header-string)
9976 (ses-cell-set-formula, ses-repair-cell-reference-all)
9977 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9978 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9979 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9980 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9981 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9982 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9983 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9984 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9985 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9986 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9987 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9988 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9989
9990 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9991
9992 * ses.el: The overall change is to add cell renaming, that is
9993 setting fancy names for cell symbols other than name matching
9994 "\\`[A-Z]+[0-9]+\\'" regexp .
9995 (ses-create-cell-variable): New defun.
9996 (ses-relocate-formula): Relocate formulas only for cells the
9997 symbols of which are not renamed, i.e. symbols whose names do not
9998 match regexp "\\`[A-Z]+[0-9]+\\'".
9999 (ses-relocate-all): Relocate values only for cells the symbols of
10000 which are not renamed.
10001 (ses-load): Create cells variables as the (ses-cell ...) are read,
10002 in order to check row col consistency with cell symbol name only
10003 for cells that are not renamed.
10004 (ses-replace-name-in-formula): New defun.
10005 (ses-rename-cell): New defun.
10006
10007 2011-12-11 Chong Yidong <cyd@gnu.org>
10008
10009 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10010 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10011
10012 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10013
10014 * window.el (other-window): Fix docstring.
10015
10016 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10017
10018 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10019 `from' or `to' address before taking its substring.
10020 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10021 encoded name is chopped in the middle of the encoded string, and
10022 thus displayed encoded.
10023
10024 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10025
10026 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10027
10028 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10029
10030 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10031 to use texinfo-update-node and commands that call it if the
10032 Texinfo file uses @node lines without next/prev/up pointers.
10033 Correct outdated description about texinfo-master-menu.
10034 (texinfo-all-menus-update, texinfo-master-menu)
10035 (texinfo-update-node, texinfo-every-node-update)
10036 (texinfo-multiple-files-update): Doc fix. Warn against updating
10037 all the @node lines.
10038 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10039 argument is numeric. Explain better in the doc string what the
10040 function really does.
10041 (texinfo-insert-master-menu-list): Improve the error message
10042 displayed if there's no menu in the Top node.
10043 (Bug#2975) See also this thread:
10044 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10045
10046 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10047
10048 * speedbar.el (speedbar-supported-extension-expressions):
10049 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10050
10051 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10052
10053 * printing.el (pr-mode-alist):
10054 * simple.el (filter-buffer-substring-functions)
10055 (completion-list-insert-choice-function):
10056 * window.el (window-with-parameter, window-atom-root)
10057 (window-sides-slots, window-size-fixed, window-min-delta)
10058 (window-max-delta, window--resize-mini-window)
10059 (window--resize-child-windows-normal, window-tree)
10060 (delete-other-windows, quit-window, split-window)
10061 (display-buffer-record-window, special-display-buffer-names)
10062 (special-display-regexps, special-display-popup-frame)
10063 (same-window-p, split-window-sensibly)
10064 (display-buffer-overriding-action, display-buffer-alist)
10065 (display-buffer-base-action, display-buffer, switch-to-buffer)
10066 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10067 (fit-window-to-buffer, recenter-positions)
10068 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10069 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10070 and remove unneeded backslashes in docstrings.
10071
10072 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10075
10076 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10077 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10078 end in ".mk".
10079 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10080 when reading the makefile (bug#10116).
10081
10082 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10085 (bug#10116).
10086
10087 2011-12-06 Glenn Morris <rgm@gnu.org>
10088
10089 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10090
10091 2011-12-06 Chong Yidong <cyd@gnu.org>
10092
10093 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10094
10095 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10096
10097 * textmodes/table.el (table-shorten-cell): Fix typo.
10098
10099 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10100
10101 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10102
10103 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10104
10105 * descr-text.el (describe-char): Fix display of strong
10106 right-to-left characters and directional embeddings and overrides.
10107
10108 * simple.el (what-cursor-position): Fix display of codepoints of
10109 strong right-to-left characters.
10110
10111 2011-12-05 Chong Yidong <cyd@gnu.org>
10112
10113 * faces.el (read-color): Doc fix.
10114
10115 2011-12-05 Glenn Morris <rgm@gnu.org>
10116
10117 * align.el (align--set-marker): Add doc-string.
10118 Don't try to move something that is not a marker. (Bug#10216)
10119
10120 2011-12-04 Glenn Morris <rgm@gnu.org>
10121
10122 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10123 overly zealous deletion of trailing whitespace.
10124
10125 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10126
10127 * server.el (server-delete-client): On Windows, do not try to delete
10128 the only terminal.
10129 (server-process-filter): On Windows, treat requests for a tty frame as
10130 if they were for a GUI frame if the running server is in GUI mode.
10131
10132 2011-12-03 Glenn Morris <rgm@gnu.org>
10133
10134 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10135
10136 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * electric.el: Streamline electric-indent's hook.
10139 (electric-indent-chars): Revert to simple list.
10140 (electric-indent-functions): New var.
10141 (electric-indent-post-self-insert-function): Use it.
10142
10143 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10144 there's no inferior buffer (bug#10196).
10145 (prolog-consult-compile): Don't use toggle-read-only.
10146
10147 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10148
10149 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10150 interrupt. (Bug#10187)
10151
10152 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10153
10154 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10155 (bug#9160).
10156
10157 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10158 (bug#10191).
10159
10160 2011-12-02 Juri Linkov <juri@jurta.org>
10161
10162 * info.el (Info-search): Display "end of manual" when Isearch
10163 reaches the end of single-file Info manual. (Bug#9918)
10164
10165 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10166
10167 * isearch.el (isearch-message-prefix): Run the input method part
10168 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10169
10170 2011-12-02 Juri Linkov <juri@jurta.org>
10171
10172 * isearch.el (isearch-occur): Use `word-search-regexp' for
10173 `isearch-word'.
10174 (isearch-search-and-update): Add condition for `isearch-word' and
10175 call `word-search-regexp'. (Bug#10145)
10176
10177 2011-12-01 Glenn Morris <rgm@gnu.org>
10178
10179 * eshell/em-hist.el (eshell-hist-initialize):
10180 Handle eshell-history-size nil and HISTSIZE set or unset.
10181 (eshell-history-file-name, eshell-history-size): Fix custom type.
10182
10183 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10186
10187 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10188
10189 * progmodes/verilog-mode.el (verilog-pretty-expr):
10190 Rework verilog-pretty-expr to handle new assignment operators in system
10191 verilog, such as += *= and the like.
10192 (verilog-assignment-operator-re): Regular expression to find the
10193 assigment operator in a verilog assignment.
10194 (verilog-assignment-operation-re): Regular expression to find an
10195 assignment statement for pretty-expr.
10196 (verilog-in-attribute-p): Query returns true if point is in an
10197 attribute context; used to skip these for expression line up from
10198 pretty-expr.
10199 (verilog-in-parameter-p): Query returns true if point is in an
10200 parameter definition context; used to skip these for expression
10201 line up from pretty-expr.
10202 (verilog-in-parenthesis-p): Query returns true if point is in a
10203 parenthetical expression, specifically ( ) but not [ ] or { };
10204 used by pretty-expr.
10205 (verilog-just-one-space): If there is no space, don't add one.
10206 (verilog-get-lineup-indent-2): Specifically skip just attribute
10207 contexts for expression lineup, rather than skipping all
10208 parenthetical expressions.
10209 (verilog-calculate-indent): Fix comment, and fix indent.
10210 (verilog-do-indent): Indent declarations in lists (suggested by
10211 Joachim Lechner).
10212 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10213 skeleton items.
10214 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10215 by Alain Mellan).
10216
10217 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10218
10219 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10220 parameters with embedded comments. Reported by Ray Stevens.
10221 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10222 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10223 Reported by Tim Holt.
10224 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10225 instantiated by upper module causing wrong expansion until AUTOed a
10226 second time. Reported by K C Buckenmaier.
10227 (verilog-diff-auto): Fix showing .* as a difference when
10228 `verilog-auto-star-save' off. Reported by Dan Dever.
10229 (verilog-auto-reset, verilog-read-always-signals)
10230 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10231 temporary signals in reset list if
10232 verilog-auto-reset-blocking-in-non is nil, and match assignment
10233 style to each signal's assignment type, bug381.
10234 Reported by Thomas Esposito.
10235 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10236 (verilog-uvm-statement-re): Support UVM indentation and
10237 highlighting, with old OVM keywords only.
10238 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10239 Support AUTOTIEOFF creating non-wire data types.
10240 Suggested by Jonathan Greenlaw.
10241 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10242 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10243 (verilog-inject-sense, verilog-read-inst-pins)
10244 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10245 Fix mismatching parenthesis inside commented out code when deleting
10246 AUTOINST, bug383. Reported by Jonathan Greenlaw.
10247 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10248 non-numeric vector width. Reported by Alex Reed.
10249 (verilog-auto-ascii-enum): Add "onehot" option to work around not
10250 detecting signals with parameter widths. Reported by Alex Reed.
10251 (verilog-auto-delete-trailing-whitespace):
10252 With `verilog-auto-delete-trailing-whitespace' remove trailing
10253 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10254 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10255 Fix verilog-scan-cache corruption when running user AUTO expansion
10256 hooks that call indentation routines.
10257 (verilog-simplify-range-expression): Fix typo ignoring lower case
10258 identifiers.
10259 (verilog-delete-auto): Fix delete-autos to also remove user created
10260 automatics, as long as they start with AUTO.
10261 (verilog-batch-diff-auto, verilog-diff-auto)
10262 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10263 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10264 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10265 (verilog-in-paren-quick, verilog-re-search-backward-quick)
10266 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10267 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10268 is disabled and its cache will get corrupt, causing AUTOS not to
10269 expand. Instead use only -quick functions.
10270 (verilog-scan-region): Fix scanning over escaped quotes.
10271 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10272 (verilog-re-search-backward-quick)
10273 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10274 related functions now ignore strings, to fix misparsing of strings
10275 with magic comments embedded in them.
10276 (verilog-read-auto-template):
10277 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10278 Reported by Brad Dobbie.
10279 (verilog-read-auto-template):
10280 Fix 'verilog-auto-inst-template-numbers' with comments.
10281 Reported by Brad Dobbie.
10282 (verilog-auto-inst, verilog-auto-inst-param)
10283 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10284 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10285 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10286 debugging templates without merge conflicts, bug357.
10287 Reported by Brad Dobbie.
10288 (verilog-read-auto-template):
10289 Fix verilog-auto-inst-template-numbers with multiple templates.
10290 Reported by Brad Dobbie.
10291 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10292 abbrevs so user won't be asked to save.
10293 (verilog-read-auto-lisp-present): Fix to start at beginning of
10294 buffer in case called outside of verilog-auto.
10295 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10296 to "X-2". Reported by Matthew Myers.
10297 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10298 all inputs from module templates. Reported by Leith Johnson.
10299 (verilog-module-inside-filename-p): Fix locating programs as with
10300 modules.
10301 (verilog-auto-inst-port): Fix vl-width expressions when using
10302 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10303 (verilog-decls-get-regs, verilog-decls-get-signals,
10304 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10305 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10306 verilog-read-decls): Combine reg and wire structures into one var
10307 structure to represent SystemVerilog concepts.
10308 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10309 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10310 (verilog-auto-wire-type, verilog-insert-definition):
10311 Add verilog-auto-wire-type and AUTOLOGIC to support using
10312 SystemVerilog "logic" keyword instead of "wire"/"reg".
10313 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10314 to declares outputs that also have assignments (presumably in an
10315 ifdef or generate if so there's not a driver conflict).
10316 Reported by Matthew Myers.
10317 (verilog-auto-declare-nettype, verilog-insert-definition):
10318 Add verilog-auto-declare-nettype to fix declarations using
10319 `default_nettype none. Reported by Julian Gorfajn.
10320 (verilog-read-always-signals-recurse, verilog-read-decls)
10321 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10322 malformed end statement, bug325. Reported by Joshua Wise and
10323 Andrew Drake.
10324 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10325 (verilog-inst-comment-re): Fix not deleting Interfaced comment
10326 when expanding .* in interfaces, bug320.
10327 Reported by Pierre-David Pfister.
10328 (verilog-read-module-name): Fix import statements between module
10329 name and open parenthesis, bug317.
10330 Reported by Pierre-David Pfister.
10331 (verilog-simplify-range-expression): Fix simplification of
10332 multiplications inside AUTOWIRE connections, bug303.
10333 (verilog-auto-inst-port): Support parameter expansion in
10334 multidimensional arrays.
10335 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10336 after "assert property". Reported by Julian Gorfajn.
10337 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10338 with multiplication, bug303.
10339 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10340 Reported by Jan Frode Lonnum.
10341
10342 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
10343
10344 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10345 (hfy-shell-file-name, hfy-shell):
10346 * international/fontset.el (x-decompose-font-name): Fix typos.
10347
10348 2011-11-29 Ken Brown <kbrown@cornell.edu>
10349
10350 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10351 (gdb-version): Remove defvar.
10352 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10353 (gdb-gud-context-command, gdb-non-stop-handler)
10354 (gdb-current-context-command, gdb-stopped): Use it.
10355 (gdb-init-1): Enable pretty printing here.
10356 (gdb-non-stop-handler): Don't enable pretty-printing here.
10357 Check to see if the target supports non-stop mode; if not, turn off
10358 non-stop mode. Use the following.
10359 (gdb-check-target-async): New defun.
10360 (gud-watch, gdb-stopped): Fix whitespace.
10361 (gdb-get-source-file): Don't try to display the source file if
10362 `gdb-main-file' is nil.
10363
10364 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10365
10366 * align.el: Try to generate fewer markers (bug#10047).
10367 (align--set-marker): New macro.
10368 (align-region): Use it.
10369
10370 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10373
10374 2011-11-29 Chong Yidong <cyd@gnu.org>
10375
10376 * indent.el (indent-for-tab-command, indent-according-to-mode):
10377 Doc fix.
10378 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10379
10380 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10383 aware of remote file names. (Bug#10124)
10384
10385 2011-11-29 Chong Yidong <cyd@gnu.org>
10386
10387 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10388
10389 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * files.el (find-file): Don't use force-same-window (bug#10144).
10392 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10393 use pop-to-buffer if the selected window can't be used.
10394 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10395
10396 2011-11-28 Eli Zaretskii <eliz@gnu.org>
10397
10398 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10399 special-mode-map.
10400
10401 2011-11-28 Chong Yidong <cyd@gnu.org>
10402
10403 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10404
10405 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
10406
10407 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10408 gdb-get-source-file-list on gdb-create-source-file-list.
10409
10410 2011-11-26 Eli Zaretskii <eliz@gnu.org>
10411
10412 * whitespace.el (whitespace-newline): Use a different foreground
10413 color for 16-color light-background displays.
10414
10415 2011-11-24 Chong Yidong <cyd@gnu.org>
10416
10417 * window.el (display-buffer--special-action): Doc fix.
10418
10419 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
10420
10421 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10422 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10423 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10424 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10425 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10426 (avl-tree-stack-first):
10427 * emacs-lisp/cconv.el (cconv--analyse-use):
10428 * net/gnutls.el (gnutls-negotiate): Fix typos.
10429
10430 2011-11-24 Glenn Morris <rgm@gnu.org>
10431
10432 * lpr.el (lpr-windows-system, lpr-lp-system):
10433 * mail/binhex.el (binhex-begin-line):
10434 * progmodes/grep.el (grep-history, grep-find-history):
10435 * textmodes/flyspell.el:
10436 * vc/pcvs-defs.el (cvs-global-menu):
10437 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10438 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10439 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10440
10441 * net/tls.el: Fix case of "GnuTLS".
10442
10443 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10444
10445 * version.el (emacs-build-system): Give it a doc-string.
10446
10447 2011-11-24 Juri Linkov <juri@jurta.org>
10448
10449 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10450
10451 2011-11-24 Glenn Morris <rgm@gnu.org>
10452
10453 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10454 if called on a non-mime message just toggle the headers. (Bug#8006)
10455
10456 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10459 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10460 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10461 (allout-rebullet-heading, allout-open-sibtopic)
10462 (allout-toggle-current-subtree-encryption)
10463 (allout-toggle-subtree-encryption, allout-encrypt-string)
10464 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10465 (allout-distinctive-bullets-string, allout-auto-activation):
10466 * window.el (window-normalize-buffer-to-display):
10467 * progmodes/verilog-mode.el (verilog-batch-indent):
10468 * textmodes/bibtex.el (bibtex-field-braces-opt)
10469 (bibtex-field-strings-opt):
10470 * vc/cvs-status.el (cvs-tree-merge):
10471 Fix typos.
10472
10473 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10476 `non-essential' to t, in order to avoid remote connections.
10477
10478 2011-11-23 Eli Zaretskii <eliz@gnu.org>
10479
10480 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10481 On MS-DOS and MS-Windows, compare with loaddefs.el
10482 case-insensitively.
10483
10484 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10485
10486 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10487
10488 2011-11-23 Glenn Morris <rgm@gnu.org>
10489
10490 * paths.el (rmail-file-name): Reformat the doc-string so that it
10491 is picked up.
10492
10493 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10494 (rmail-auto-file): Ignore case in the "special" field names,
10495 as mail-fetch-field does for all others.
10496
10497 * mail/rmail.el (rmail-forward):
10498 * mail/rmailkwd.el (rmail-set-label):
10499 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10500 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10501
10502 * mail/rmail.el (rmail-current-message): Doc fix.
10503
10504 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10505
10506 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10507
10508 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10509
10510 2011-11-22 Glenn Morris <rgm@gnu.org>
10511
10512 * mail/rmailmm.el (test-rmail-mime-handler)
10513 (test-rmail-mime-bulk-handler)
10514 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10515
10516 2011-11-21 Juri Linkov <juri@jurta.org>
10517
10518 * calc/calc.el (calc-read-key-sequence):
10519 Let-bind `input-method-function' to nil. (Bug#10018)
10520
10521 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10522
10523 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10524 Tell the caller that the next line needs recomputation, even
10525 though it doesn't start a sexp (bug#10094).
10526
10527 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10530
10531 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10534 Use force-same-window.
10535
10536 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * descr-text.el (describe-char-unicode-data):
10539 * json.el (json-string-escape):
10540 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10541 (Footnote-unicode, Footnote-style-p):
10542 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10543
10544 2011-11-20 Chong Yidong <cyd@gnu.org>
10545
10546 * window.el (replace-buffer-in-windows): Restore interactive spec.
10547
10548 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10551
10552 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10553 (byte-compile-global-not-obsolete-vars): New var.
10554 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10555 Use it.
10556 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10557
10558 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
10559
10560 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10561 * progmodes/pascal.el (electric-pascal-equal):
10562 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10563 * xml.el (xml-substitute-special): Fix typos.
10564
10565 2011-11-20 Glenn Morris <rgm@gnu.org>
10566
10567 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10568 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10569 Doc fixes.
10570 (rmail-decode-mime-charset): Mark as obsolete.
10571
10572 * mail/rmailsum.el (rmail-message-regexp-p-1):
10573 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10574 Before using mime functions, check they are set. (Bug#10077)
10575
10576 2011-11-19 Juri Linkov <juri@jurta.org>
10577
10578 * info.el (Info-finder-find-node): Use `package--builtins' instead
10579 of `package-alist'. Use node names formed by the pattern "Keyword "
10580 and the keyword name.
10581
10582 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10585
10586 2011-11-19 Juri Linkov <juri@jurta.org>
10587
10588 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10589 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10590 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10591 `old-history', `old-history-forward'. Add let-binding
10592 `window-selected'. Remove calls to `kill-buffer',
10593 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10594 before calling `Info-find-node', so `Info-find-node-2' will reread
10595 the Info file. Restore window positions only when `window-selected'
10596 is non-nil.
10597
10598 2011-11-19 Juri Linkov <juri@jurta.org>
10599
10600 * isearch.el (isearch-lazy-highlight-new-loop):
10601 Remove condition `(not isearch-error)'. (Bug#9918)
10602
10603 * misearch.el (multi-isearch-search-fun): Add condition
10604 `(not bound)' to ignore lazy-highlighting search.
10605 Add the search-failed message "end of multi" when the end of
10606 multi-sequence is reached. Uncapitalize the search-failed
10607 message "Repeat for next buffer".
10608
10609 * info.el (Info-search): Add the search-failed message
10610 "end of the manual" when the end of the manual is reached
10611 in Isearch mode.
10612
10613 2011-11-19 Juri Linkov <juri@jurta.org>
10614
10615 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10616 Use non-destructive `remove' instead of `delete' because
10617 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10618 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10619
10620 2011-11-19 Juri Linkov <juri@jurta.org>
10621
10622 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10623 to nil instead of binding `search-ring' and `regexp-search-ring'.
10624 (Bug#9185)
10625
10626 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10627
10628 * simple.el (line-move): Force movement by logical lines for any
10629 hscrolled window, not only when auto-hscroll-mode is on.
10630 (line-move-visual): Update doc string to that effect. (Bug#10076)
10631
10632 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10633
10634 * language/european.el (macintosh): Define as alias for mac-roman.
10635
10636 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10637
10638 * mail/rmailmm.el (rmail-mime-display-header)
10639 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10640 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10641 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10642 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10643 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10644 of a raw aref.
10645 (rmail-mime-entity-segment): To get past the tagline, move forward
10646 2 more lines, to account for the 2 empty lines that precede and
10647 follow the line with the buttons.
10648 (rmail-mime-update-tagline): Move one more line, to get past the
10649 empty line that follows the buttons in the tagline. (Bug#9520)
10650
10651 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10652
10653 * window.el (window-max-delta-1, window-min-delta-1)
10654 (window-min-size-1, window-state-get-1, window-state-put-1)
10655 (window-state-put-2): Use "window--" prefix.
10656
10657 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10658
10659 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10660 (smie-warning-count): New var.
10661 (smie-set-prec2tab): Use it.
10662 (smie-bnf->prec2): Improve warnings. Add docstring.
10663 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10664 (smie-bnf--set-class): New function.
10665 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10666 corner case.
10667
10668 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10669 (compilation-error-properties, compilation-move-to-column):
10670 Handle compilation-first-column while in the target buffer.
10671
10672 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10673 Don't hardcode point-min==1.
10674
10675 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10676 (eshell-rewrite-for-command): Remove workaround.
10677 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10678 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10679 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10680
10681 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10682
10683 2011-11-17 Glenn Morris <rgm@gnu.org>
10684
10685 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10686 Ignore buffer-local generated-autoload-file if it is the same
10687 as the global value. (Bug#10049)
10688
10689 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10690
10691 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10692 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10693 (reftex-toc-previous-heading, reftex-toc-max-level)
10694 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10695 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10696 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10697 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10698 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10699 (reftex-toc-rename-label, reftex-toc-visit-location)
10700 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10701 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10702 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10703 leaving "*toc*" only for references to the buffer.
10704
10705 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10706
10707 * window.el (window-resize, delete-window, split-window):
10708 Replace window-splits by window-combination-resize.
10709 * cus-start.el (window-splits): Replace by window-combination-resize.
10710
10711 2011-11-17 Glenn Morris <rgm@gnu.org>
10712
10713 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10714 Make bash entry derive from sh entry, not shell entry.
10715
10716 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10717
10718 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10719 local file name.
10720
10721 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10722
10723 * menu-bar.el (menu-bar-file-menu):
10724 * printing.el (pr-ps-utility):
10725 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10726 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10727 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10728 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10729 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10730 (icalendar--convert-cyclic-to-ical)
10731 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10732 (icalendar--convert-ical-to-diary)
10733 (icalendar--convert-recurring-to-diary)
10734 (icalendar--convert-non-recurring-all-day-to-diary)
10735 (icalendar-import-format-sample):
10736 * progmodes/idlw-shell.el (idlwave-shell-mode):
10737 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10738 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10739 (vhdl-ps-print-init): Fix typos.
10740
10741 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10742
10743 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10744 FSF and collapse date sequence, obscure author/maintainer email address
10745 better, remove extra version line, track relocation of author's webpage.
10746
10747 * progmodes/python.el (python-pdbtrack-input-prompt)
10748 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10749 regular python pdb prompts. Adjustments shamelessly taken exactly as
10750 suggested in EmacsWiki page (tiny change):
10751 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10752
10753 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * expand.el (expand-pos, expand-index, expand-point):
10756 Remove redundant info from docstring.
10757 (expand-add-abbrevs): Doc fix.
10758 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10759 (expand-sample-perl-mode-expand-list): Fix typos.
10760
10761 * net/dbus.el (dbus-event-member-name):
10762 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10763 * term/pc-win.el (msdos-create-frame-with-faces):
10764 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10765
10766 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10767
10768 * window.el (split-window, window-state-get-1)
10769 (window-state-put-1, window-state-put-2): Rename occurrences of
10770 window-nest to window-combination-limit.
10771 * cus-start.el (window-nest): Rename to window-combination-limit.
10772
10773 2011-11-16 Chong Yidong <cyd@gnu.org>
10774
10775 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10776 regexp (Bug#10033).
10777
10778 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10781 `completing-read' will remove *Completions* and will preserve
10782 current-buffer for us.
10783 (tmm-add-prompt): Users of *Completions* will always (re)set its
10784 major mode.
10785 (tmm-old-comp-map): Remove.
10786
10787 2011-11-16 Glenn Morris <rgm@gnu.org>
10788
10789 * mail/rmailedit.el: Require rmailmm when compiling.
10790 (rmail-old-mime-state): New declaration.
10791 (rmail-edit-current-message): If editing a mime message,
10792 edit the "raw" message from the mbox buffer.
10793 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10794
10795 2011-11-15 Glenn Morris <rgm@gnu.org>
10796
10797 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10798 which wasn't being used. Add optional arg to force given state.
10799 (rmail-mime): Add optional arg to force given state.
10800
10801 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10802
10803 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10804 * frame.el (display-mm-dimensions-alist):
10805 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10806 (outline-move-subtree-down):
10807 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10808 (newsticker--treeview-do-get-node):
10809 * net/quickurl.el (quickurl-list-buffer-name):
10810 * progmodes/dcl-mode.el (dcl-mode):
10811 * progmodes/gdb-mi.el (gdb-mapcar*):
10812 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10813
10814 2011-11-15 Glenn Morris <rgm@gnu.org>
10815
10816 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10817 in a boolean sense, so just make it a boolean, and fix the doc.
10818 (rmail-show-mime-function, rmail-mime-feature)
10819 (rmail-require-mime-maybe): Doc fixes.
10820 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10821
10822 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10823
10824 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10825
10826 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10827 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10828 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10829 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10830
10831 2011-11-15 Glenn Morris <rgm@gnu.org>
10832
10833 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10834 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10835 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10836 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10837 (rmail-mime, rmail-show-mime): Doc fixes.
10838
10839 * term/ns-win.el (mode-line-frame-identification):
10840 Leave it alone. (Bug#10051)
10841
10842 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10843
10844 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10845 Handle empty buffers. (Bug#9978)
10846
10847 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10848
10849 * international/mule.el (define-charset):
10850 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10851 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10852 * progmodes/verilog-mode.el (verilog-backward-token):
10853 * textmodes/ispell.el (lookup-words):
10854 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10855
10856 2011-11-14 Glenn Morris <rgm@gnu.org>
10857
10858 * progmodes/executable.el
10859 (executable-make-buffer-file-executable-if-script-p):
10860 Handle file-modes returning nil.
10861
10862 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10863 message - not necessary, and causes problems. (Bug#9831)
10864
10865 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10866
10867 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10868
10869 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10870 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10871 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10872
10873 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10874
10875 * window.el (window-resize, delete-window): Use window-splits
10876 variable instead of function.
10877 (window-state-get-1, window-state-put-2, window-state-put):
10878 Don't deal with windows' splits status.
10879
10880 2011-11-12 Glenn Morris <rgm@gnu.org>
10881
10882 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10883 (apropos-documentation): Doc fixes.
10884
10885 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10886
10887 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10888 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10889
10890 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * electric.el (electric-indent-post-self-insert-function): Make it
10893 possible for a char to only indent in some circumstances.
10894 (electric-indent-mode): Simplify.
10895
10896 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10897
10898 * window.el (windows-with-parameter): Remove unused function.
10899 (windows-at-side): Rename to window-at-side-list.
10900 (window-check, window-atom-check, window-atom-check-1)
10901 (window-side-check, window-size-ignore, window-size-fixed-1)
10902 (window-in-direction-2): Prefix with "window--".
10903 (window-tree-1): Rename to window--subtree, fix doc-string.
10904
10905 2011-11-11 Glenn Morris <rgm@gnu.org>
10906
10907 * subr.el (eval-after-load): If FILE is already loaded,
10908 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10909
10910 2011-11-10 Glenn Morris <rgm@gnu.org>
10911
10912 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10913 Call svn via vc-svn-command rather than vc-do-command.
10914 (vc-svn-command): Add --non-interactive. (Bug#9993)
10915 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10916
10917 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10918 Add toggle-read-only. (Bug#7292)
10919 * files.el (toggle-read-only): Mention that it should only
10920 be used interactively. (Bug#10006)
10921
10922 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10925 Adjust regexp for OCaml warnings.
10926
10927 * electric.el (electric-pair-post-self-insert-function): Let user
10928 turn it off buffer-locally (bug#9932).
10929
10930 * progmodes/python.el (python-beginning-of-statement):
10931 Rewrite (bug#2703).
10932
10933 * progmodes/compile.el: Better handle TABs (bug#9749).
10934 (compilation-internal-error-properties)
10935 (compilation-next-error-function): Obey the target buffer's
10936 compilation-error-screen-columns.
10937
10938 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10939
10940 * progmodes/meta-mode.el: Remove obsolete comments.
10941 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10942 Fix typos in docstrings.
10943
10944 2011-11-09 Martin Rudalics <rudalics@gmx.at>
10945
10946 * window.el (window-size-fixed-p): Rewrite doc-string.
10947 (window-resizable-p): Rename to window--resizable-p. Update callers.
10948 (window--resizable): New function. Make all callers of
10949 window-resizable call window--resizable instead.
10950 (window-resizable): Rewrite in terms of window--resizable.
10951
10952 2011-11-08 Glenn Morris <rgm@gnu.org>
10953
10954 * progmodes/delphi.el (delphi-mode-syntax-table):
10955 Let define-derived-mode define a proper syntax table. (Bug#9994)
10956
10957 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * window.el: Stay away from defsubst.
10960 (window-list-no-nils): Remove.
10961 (window-state-get-1, window-state-get): Use backquote instead.
10962
10963 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10964
10965 * emacs-lisp/find-func.el (find-function-read):
10966 Fix incorrect use of default argument in `completing-read'.
10967
10968 2011-11-08 Martin Rudalics <rudalics@gmx.at>
10969
10970 * window.el (display-buffer-function, special-display-function):
10971 Mention display-buffer-record-window but do not mention
10972 help-setup parameter in doc-strings.
10973 (window-min-delta): Fix doc-string typo.
10974
10975 2011-11-08 Chong Yidong <cyd@gnu.org>
10976
10977 * window.el (window-total-height, window-total-width): Doc fix.
10978 (window-body-size): Move from C.
10979 (window-body-height, window-body-width): Move to C.
10980
10981 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * window.el: Make special-display like display-buffer-alist (bug#9532).
10984 (display-buffer--special-action): New function, morphed
10985 from display-buffer--special.
10986 (display-buffer): Use it to handle special-display-buffers at higher
10987 priority (just after display-buffer-alist).
10988 (display-buffer-fallback-action, display-buffer--other-frame-action)
10989 (pop-to-buffer-same-window): Remove display-buffer--special.
10990
10991 2011-11-07 Glenn Morris <rgm@gnu.org>
10992
10993 * calendar/cal-menu.el (cal-menu-set-date-title):
10994 Do nothing if not in a calendar. (Bug#9976)
10995
10996 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10997
10998 * files.el (find-file): Always use selected-window.
10999
11000 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11001
11002 * window.el (window-combinations): Make WINDOW argument
11003 mandatory. Rewrite doc-string.
11004 (walk-window-subtree, window-atom-check, window-min-delta)
11005 (window-max-delta, window--resize-this-window)
11006 (window--resize-root-window-vertically, window-tree)
11007 (balance-windows, window-state-put): Rewrite doc-strings as to
11008 not mention the term "subwindow".
11009 (window--resize-subwindows-skip-p): Rename to
11010 window--resize-child-windows-skip-p.
11011 (window--resize-subwindows-normal): Rename to
11012 window--resize-child-windows-normal.
11013 (window--resize-subwindows): Rename to
11014 window--resize-child-windows.
11015 (window-or-subwindow-p): Rename to window--in-subtree-p.
11016
11017 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11018
11019 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11020 Ensure that mbox format messages end in two newlines (Bug#9974).
11021
11022 2011-11-06 Chong Yidong <cyd@gnu.org>
11023
11024 * window.el (window-combination-p): Function deleted; its
11025 side-effect is not used in any existing code.
11026 (window-combinations, window-combined-p): Call window-*-child
11027 directly.
11028
11029 2011-11-05 Chong Yidong <cyd@gnu.org>
11030
11031 * window.el (window-valid-p): Rename from window-any-p.
11032 (window-size-ignore, window-state-get): Callers changed.
11033 (window-normalize-window): Rename from window-normalize-any-window.
11034 New arg LIVE-ONLY, replacing window-normalize-live-window.
11035 (window-normalize-live-window): Delete.
11036 (window-combination-p, window-combined-p, window-combinations)
11037 (walk-window-subtree, window-atom-root, window-min-size)
11038 (window-sizable, window-sizable-p, window-size-fixed-p)
11039 (window-min-delta, window-max-delta, window-resizable)
11040 (window-resizable-p, window-full-height-p, window-full-width-p)
11041 (window-current-scroll-bars, window-point-1, set-window-point-1)
11042 (window-at-side-p, window-in-direction, window-resize)
11043 (adjust-window-trailing-edge, maximize-window, minimize-window)
11044 (window-deletable-p, delete-window, delete-other-windows)
11045 (record-window-buffer, unrecord-window-buffer)
11046 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11047 (quit-window, split-window, window-state-put)
11048 (set-window-text-height, fit-window-to-buffer)
11049 (shrink-window-if-larger-than-buffer): Callers changed.
11050
11051 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11052
11053 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11054 rfc2047-decode-string.
11055 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11056 warnings.
11057
11058 * window.el (window-body-height, window-body-width): Mention in
11059 the doc string that the return values are in frame's canonical
11060 units. (Bug#9949)
11061
11062 2011-11-03 Alan Mackenzie <acm@muc.de>
11063
11064 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11065 change in cc-engine.el.
11066
11067 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11068
11069 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11070
11071 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11072
11073 * window.el (quit-window): Call unrecord-window-buffer after
11074 showing another buffer in the window. (Bug#9937)
11075 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11076
11077 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11078
11079 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11080 Accept status with more than 9 shelves. (Bug#9935)
11081 Reported by Colin D Bennett <colin@gibibit.com>.
11082
11083 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11084
11085 * help.el (with-help-window): Don't reference
11086 temp-buffer-show-specifiers in doc-string.
11087
11088 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11089
11090 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11091 menu-item.
11092
11093 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11094
11095 * whitespace.el: New version 13.2.2.
11096 (whitespace-newline-mode): Disable properly. Reported by Sarah
11097 <EmacsWiki>.
11098
11099 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11100
11101 * net/newst-treeview.el: Remove "Time-stamp".
11102 (newsticker--group-manage-orphan-feeds): Do not call
11103 newsticker--treeview-tree-update.
11104 (newsticker-treeview-update, newsticker-treeview):
11105 Call newsticker--treeview-tree-update if necessary.
11106
11107 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11108
11109 * window.el (window-iso-combination-p, window-iso-combined-p)
11110 (window-iso-combinations): Remove "iso-" infix.
11111 Suggested by Chong Yidong.
11112 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11113 (window-max-delta-1, window-resize, window--resize-siblings)
11114 (window--resize-this-window, adjust-window-trailing-edge)
11115 (split-window, balance-windows-1)
11116 (shrink-window-if-larger-than-buffer):
11117 * calendar/calendar.el (calendar-generate-window):
11118 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11119
11120 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11121
11122 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11123 in place (bug#9907).
11124 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11125 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11126 (eshell-structure-basic-command, eshell-rewrite-while-command)
11127 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11128 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11129 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11130 (eshell-do-pipelines-synchronously, eshell-eval-command):
11131 Use backquotes and prefer setq to set.
11132 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11133 (eshell-macrop): Use functionp.
11134 (eshell-do-eval): Handle multiple expressions in `while' body.
11135
11136 2011-10-30 Chong Yidong <cyd@gnu.org>
11137
11138 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11139 instead of set-mark (Bug#9810).
11140
11141 2011-10-30 Chong Yidong <cyd@gnu.org>
11142
11143 * window.el (split-window-below, split-window-right): Rename from
11144 split-window-above-each-other and split-window-side-by-side
11145 respectively. All callers changed.
11146 (split-window-sensibly, split-window-sensibly): Use them.
11147 (split-window-keep-point): Doc fix.
11148
11149 * isearch.el: Add isearch-scroll property to split-window-below
11150 and split-window-right.
11151
11152 * follow.el (follow-mode):
11153 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11154 * progmodes/ada-xref.el (ada-gdb-application):
11155 * emulation/vip.el (vip-buffer-in-two-windows):
11156 * image-dired.el (image-dired-dired-with-window-configuration):
11157 * dired-x.el (dired-do-find-marked-files):
11158 * dired.el (dired-pop-to-buffer):
11159 * bs.el (bs--show-with-configuration):
11160 * vc/emerge.el (emerge-setup-windows):
11161 * textmodes/two-column.el (2C-two-columns):
11162 * textmodes/reftex-toc.el (reftex-toc):
11163 * progmodes/gdb-mi.el (gdb-setup-windows):
11164 * progmodes/fortran.el (fortran-window-create):
11165 * net/newst-treeview.el (newsticker--treeview-window-init):
11166 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11167 * emulation/tpu-edt.el (tpu-gold-map):
11168 * emulation/crisp.el (crisp-mode-map):
11169 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11170
11171 2011-10-29 Chong Yidong <cyd@gnu.org>
11172
11173 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11174
11175 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11176
11177 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11178 forged Ispell output (Bug#7904).
11179
11180 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11181
11182 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * doc-view.el: Avoid ugly errors about not finding nil.
11185 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11186 (doc-view-dvipdf-program, doc-view-unoconv-program)
11187 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11188 Avoid nil or absolute file name as default value.
11189 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11190
11191 2011-10-28 Alan Mackenzie <acm@muc.de>
11192
11193 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11194
11195 2011-10-28 Alan Mackenzie <acm@muc.de>
11196
11197 Amend the handling of c-beginning/end-of-defun in nested declaration
11198 scopes.
11199
11200 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11201 cc-langs.el. Change it to a defcustom.
11202
11203 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11204 cc-vars.el.
11205
11206 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11207 Prevent "class foo : bar" being spuriously recognized as a label.
11208
11209 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11210 Add parameter `inclusive' (to include enclosing braces in the region).
11211 (c-widen-to-enclosing-decl-scope): New function.
11212 (c-while-widening-to-decl-block): New macro.
11213 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11214 outward for defun boundaries, and correspondingly change symbol
11215 `respect-enclosure' to `go-outward'.
11216 (c-declaration-limits): Change algorithm to report only the "innermost"
11217 defun's boundaries.
11218
11219 2011-10-28 Deniz Dogan <deniz@dogan.se>
11220
11221 * net/rcirc.el (rcirc-mode): Use hard newlines.
11222
11223 2011-10-28 Alan Mackenzie <acm@muc.de>
11224
11225 Amend to indent and fontify macros "which include their own semicolon"
11226 correctly, using the "virtual semicolon" mechanism.
11227
11228 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11229
11230 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11231 Recode to scan one line at a time rather than having \n and \r
11232 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11233 (c-forward-label): Amend for virtual semicolons.
11234 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11235
11236 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11237 of the new C macros.
11238
11239 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11240 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11241 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11242 (c-opt-cpp-macro-define): Make into a full language variable.
11243 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11244 AWK Mode (including \n, \r) removed, no longer needed.
11245
11246 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11247 Invoke c-make-macro-with-semi-re.
11248
11249 * progmodes/cc-vars.el (c-macro-with-semi-re):
11250 (c-macro-names-with-semicolon): New variables.
11251 (c-make-macro-with-semi-re): New function.
11252
11253 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * vc/log-edit.el: Fill empty field rather than adding new one.
11256 (log-edit-add-field): New function.
11257 (log-edit-insert-changelog): Use it.
11258
11259 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11260
11261 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11262
11263 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11266 (gdb--check-interpreter): New function.
11267 (gdb): Use it.
11268
11269 2011-10-27 Glenn Morris <rgm@gnu.org>
11270
11271 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11272 (least-positive-float, least-negative-float)
11273 (least-positive-normalized-float, least-negative-normalized-float)
11274 (float-epsilon, float-negative-epsilon):
11275 Remove unnecessary declarations.
11276
11277 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11278 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11279 (least-positive-float, least-negative-float)
11280 (least-positive-normalized-float, least-negative-normalized-float)
11281 (float-epsilon, float-negative-epsilon): Add doc-strings,
11282 based on those in cl.texi.
11283
11284 * files.el (set-visited-file-name): If the major-mode changed,
11285 reload the local variables. (Bug#9796)
11286
11287 2011-10-27 Chong Yidong <cyd@gnu.org>
11288
11289 * subr.el (change-major-mode-after-body-hook): New hook.
11290 (run-mode-hooks): Run it.
11291
11292 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11293 Use change-major-mode-before-body-hook.
11294
11295 * simple.el (fundamental-mode):
11296 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11297 change introducing fundamental-mode-hook.
11298
11299 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11302
11303 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
11304
11305 * ido.el (ido-file-name-all-completions-1): Do not require
11306 tramp.el explicitly. (Bug#7583)
11307
11308 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * progmodes/octave-mod.el:
11311 * progmodes/octave-inf.el: Update maintainer.
11312
11313 2011-10-26 Chong Yidong <cyd@gnu.org>
11314
11315 * subr.el (with-wrapper-hook): Rewrite doc.
11316
11317 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
11318
11319 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11320 filenames "/method:foo:". (Bug#9793)
11321
11322 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11325 (bug#9865).
11326
11327 2011-10-24 Glenn Morris <rgm@gnu.org>
11328
11329 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11330
11331 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
11332
11333 * notifications.el: Add the requirement of a running D-Bus session
11334 bus to the Commentary.
11335
11336 2011-10-24 Juri Linkov <juri@jurta.org>
11337
11338 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11339 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11340 (Bug#9364)
11341
11342 2011-10-24 Juri Linkov <juri@jurta.org>
11343
11344 * info.el (Info-following-node-name-re): Add newline to the list
11345 of allowed characters for leading space. (Bug#9824)
11346
11347 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * progmodes/octave-inf.el (inferior-octave-mode-map):
11350 Fix C-c C-h binding.
11351 * progmodes/octave-mod.el (octave-help): Remove.
11352
11353 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
11354
11355 Sync with Tramp 2.2.3.
11356
11357 * net/tramp-cache.el (top): Pacify byte-compiler using
11358 `init-file-user' and `site-run-file'.
11359
11360 * net/trampver.el: Update release number.
11361
11362 2011-10-23 Chong Yidong <cyd@gnu.org>
11363
11364 * files.el (toggle-read-only): Remove obsolete comment about
11365 version control.
11366
11367 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11368 for toggle-read-only. Note that this hasn't called vc-next-action
11369 since 2008-05-02, though it wasn't documented at the time.
11370
11371 * vc/ediff-init.el (ediff-toggle-read-only-function):
11372 Use toggle-read-only.
11373
11374 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11375
11376 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11377 of c-parse-state.
11378
11379 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11380 correct faulty logical expression.
11381 (c-parse-state-state, c-record-parse-state-state):
11382 (c-replay-parse-state-state): New defvar/defuns.
11383 (c-debug-parse-state): Use new functions.
11384
11385 2011-10-22 Martin Rudalics <rudalics@gmx.at>
11386
11387 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11388 last fix. Use window-in-direction correctly.
11389
11390 2011-10-21 Chong Yidong <cyd@gnu.org>
11391
11392 * progmodes/idlwave.el (idlwave-mode):
11393 * progmodes/vera-mode.el (vera-mode): No need to set
11394 require-final-newline; that's done in prog-mode.
11395 Suggested by Stefan Monnier.
11396
11397 2011-10-21 Martin Rudalics <rudalics@gmx.at>
11398
11399 * mouse.el (mouse-drag-window-above)
11400 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11401 (mouse-drag-mode-line-1, mouse-drag-header-line)
11402 (mouse-drag-vertical-line-rightward-window): Remove.
11403 (mouse-drag-line): New function.
11404 (mouse-drag-mode-line, mouse-drag-header-line)
11405 (mouse-drag-vertical-line): Call mouse-drag-line.
11406 * window.el (window-at-side-p, windows-at-side): New functions.
11407
11408 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
11409
11410 * tar-mode.el (tar-grind-file-mode):
11411 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11412
11413 2011-10-21 Chong Yidong <cyd@gnu.org>
11414
11415 * progmodes/idlwave.el (idlwave-mode):
11416 * progmodes/vera-mode.el (vera-mode):
11417 Use mode-require-final-newline.
11418
11419 2011-10-20 Glenn Morris <rgm@gnu.org>
11420
11421 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
11422
11423 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11424
11425 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11426
11427 2011-10-20 Chong Yidong <cyd@gnu.org>
11428
11429 * emulation/cua-base.el (cua-mode):
11430 * mail/footnote.el (footnote-mode):
11431 * mail/mailabbrev.el (mail-abbrevs-mode):
11432 * net/xesam.el (xesam-minor-mode):
11433 * progmodes/bug-reference.el (bug-reference-mode):
11434 * progmodes/cap-words.el (capitalized-words-mode):
11435 * progmodes/compile.el (compilation-minor-mode)
11436 (compilation-shell-minor-mode):
11437 * progmodes/gud.el (gud-tooltip-mode):
11438 * progmodes/hideif.el (hide-ifdef-mode):
11439 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11440 * progmodes/subword.el (subword-mode):
11441 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11442 * progmodes/which-func.el (which-function-mode):
11443 * term/tvi970.el (tvi970-set-keypad-mode):
11444 * term/vt100.el (vt100-wide-mode):
11445 * textmodes/flyspell.el (flyspell-mode):
11446 * textmodes/ispell.el (ispell-minor-mode):
11447 * textmodes/nroff-mode.el (nroff-electric-mode):
11448 * textmodes/paragraphs.el (use-hard-newlines):
11449 * textmodes/refill.el (refill-mode):
11450 * textmodes/reftex.el (reftex-mode):
11451 * textmodes/rst.el (rst-minor-mode):
11452 * textmodes/sgml-mode.el (html-autoview-mode)
11453 (sgml-electric-tag-pair-mode):
11454 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11455 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11456 * emulation/crisp.el (crisp-mode):
11457 * emacs-lisp/eldoc.el (eldoc-mode):
11458 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11459 minor mode behavior.
11460
11461 2011-10-19 Juri Linkov <juri@jurta.org>
11462
11463 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11464 the list of hard-coded chars with escape-glyph face.
11465
11466 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11469
11470 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
11471
11472 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11473 running process.
11474
11475 2011-10-19 Glenn Morris <rgm@gnu.org>
11476
11477 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11478 Ignore ignored files. (Bug#9726)
11479
11480 2011-10-19 Chong Yidong <cyd@gnu.org>
11481
11482 Doc fix for minor modes, stating that an omitted argument enables
11483 the mode unconditionally when called from Lisp.
11484
11485 * abbrev.el (abbrev-mode):
11486 * allout.el (allout-mode):
11487 * autoinsert.el (auto-insert-mode):
11488 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11489 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11490 (global-auto-revert-mode):
11491 * battery.el (display-battery-mode):
11492 * composite.el (global-auto-composition-mode)
11493 (auto-composition-mode):
11494 * delsel.el (delete-selection-mode):
11495 * desktop.el (desktop-save-mode):
11496 * dired-x.el (dired-omit-mode):
11497 * dirtrack.el (dirtrack-mode):
11498 * doc-view.el (doc-view-minor-mode):
11499 * double.el (double-mode):
11500 * electric.el (electric-indent-mode, electric-pair-mode):
11501 * emacs-lock.el (emacs-lock-mode):
11502 * epa-hook.el (auto-encryption-mode):
11503 * follow.el (follow-mode):
11504 * font-core.el (font-lock-mode):
11505 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11506 * help.el (temp-buffer-resize-mode):
11507 * hilit-chg.el (highlight-changes-mode)
11508 (highlight-changes-visible-mode):
11509 * hi-lock.el (hi-lock-mode):
11510 * hl-line.el (hl-line-mode, global-hl-line-mode):
11511 * icomplete.el (icomplete-mode):
11512 * ido.el (ido-everywhere):
11513 * image-file.el (auto-image-file-mode):
11514 * image-mode.el (image-minor-mode):
11515 * iswitchb.el (iswitchb-mode):
11516 * jka-cmpr-hook.el (auto-compression-mode):
11517 * linum.el (linum-mode):
11518 * longlines.el (longlines-mode):
11519 * master.el (master-mode):
11520 * mb-depth.el (minibuffer-depth-indicate-mode):
11521 * menu-bar.el (menu-bar-mode):
11522 * minibuf-eldef.el (minibuffer-electric-default-mode):
11523 * mouse-sel.el (mouse-sel-mode):
11524 * msb.el (msb-mode):
11525 * mwheel.el (mouse-wheel-mode):
11526 * outline.el (outline-minor-mode):
11527 * paren.el (show-paren-mode):
11528 * recentf.el (recentf-mode):
11529 * reveal.el (reveal-mode, global-reveal-mode):
11530 * rfn-eshadow.el (file-name-shadow-mode):
11531 * ruler-mode.el (ruler-mode):
11532 * savehist.el (savehist-mode):
11533 * scroll-all.el (scroll-all-mode):
11534 * scroll-bar.el (scroll-bar-mode):
11535 * server.el (server-mode):
11536 * shell.el (shell-dirtrack-mode):
11537 * simple.el (auto-fill-mode, transient-mark-mode)
11538 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11539 (line-number-mode, column-number-mode, size-indication-mode)
11540 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11541 * strokes.el (strokes-mode):
11542 * time.el (display-time-mode):
11543 * t-mouse.el (gpm-mouse-mode):
11544 * tool-bar.el (tool-bar-mode):
11545 * tooltip.el (tooltip-mode):
11546 * type-break.el (type-break-mode-line-message-mode)
11547 (type-break-query-mode):
11548 * view.el (view-mode):
11549 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11550 (global-whitespace-mode, global-whitespace-newline-mode):
11551 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11552
11553 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11554 Fix autogenerated docstring.
11555
11556 2011-10-19 Juri Linkov <juri@jurta.org>
11557
11558 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11559 by checking environment variables "DESKTOP_SESSION" and
11560 "XDG_CURRENT_DESKTOP". (Bug#9779)
11561
11562 2011-10-19 Juri Linkov <juri@jurta.org>
11563
11564 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11565 (browse-url-chromium-program, browse-url-chromium-arguments):
11566 New defcustoms.
11567 (browse-url-default-browser): Check for `browse-url-chromium' and
11568 call `browse-url-chromium-program'.
11569 (browse-url-chromium): New command. (Bug#9779)
11570
11571 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
11572
11573 * facemenu.el (list-colors-duplicates): On Windows, detect more
11574 duplicates by assuming that only colors matching "^System" are
11575 special "system colors". (Bug#9722)
11576
11577 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11580 to distinguish the author from the committer.
11581
11582 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
11583
11584 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11585
11586 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11587
11588 * international/mule.el (sgml-html-meta-auto-coding-function):
11589 Add support for detecting encoding in HTML5 specified only as
11590 <meta charset="UTF-8">. Implementation just makes http-equiv and
11591 content-type parts from HTML4 encoding string optional. (Bug#9716)
11592
11593 2011-10-18 Glenn Morris <rgm@gnu.org>
11594
11595 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11596
11597 2011-10-18 Chong Yidong <cyd@gnu.org>
11598
11599 * faces.el (cursor): Doc fix.
11600
11601 2011-10-17 Chong Yidong <cyd@gnu.org>
11602
11603 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11604
11605 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
11606
11607 * dirtrack.el (dirtrack): Support shell buffers with path
11608 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11609
11610 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11611
11612 * json.el: Bump version to 1.3 and note change in History.
11613 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11614
11615 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * comint.el (comint-insert-input, comint-send-input)
11618 (comint-get-old-input-default, comint-backward-matching-input)
11619 (comint-next-prompt): Use nil instead of `input' for field property of
11620 past user input (bug#114).
11621
11622 * minibuffer.el (completion--replace): Inherit surrounding properties
11623 (bug#114).
11624 (minibuffer-complete-and-exit): Use it.
11625
11626 * comint.el (comint--table-subvert): Quote the all-completions output
11627 (bug#9160).
11628
11629 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11630
11631 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11632
11633 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11634 window on right of selected. (Bug#9350) Reword other window
11635 entries and separate them from frame entries.
11636
11637 2011-10-15 Glenn Morris <rgm@gnu.org>
11638
11639 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11640 Doc fixes.
11641
11642 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11643
11644 * net/network-stream.el (network-stream-open-starttls):
11645 Improve detection of failure due to lack of TLS support.
11646
11647 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11648 putting the input text in front and in bold.
11649
11650 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11653
11654 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11655 empty buffer.
11656
11657 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11658 unread-command-events rather than pushing yet-another event.
11659
11660 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11661
11662 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11663 the explanation of the possible choices. Make the options passed
11664 to completing-read shorter.
11665
11666 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11667
11668 * textmodes/flyspell.el (flyspell-large-region): Make sure
11669 extended character mode is used if defined (Bug#1339).
11670
11671 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11672
11673 * simple.el (what-cursor-position): Fix the display of the
11674 character info for LRE, LRO, RLE, and RLO characters by appending
11675 an invisible PDF.
11676
11677 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11680 even in case of error; add debug spec; simplify data flow.
11681 (with-timeout-handler): Remove.
11682
11683 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11684
11685 Fix Bug#6019, Bug#9315.
11686
11687 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11688 complete `buffer-file-name', the local file name part could look
11689 remotely (for example on VMS).
11690
11691 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11692 `tramp-run-real-handler'.
11693 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11694 already quoted by '"'.
11695
11696 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11697 Let `file-name-handler-alist' be nil, the local file name part
11698 could look remotely (for example on VMS).
11699
11700 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11703 from here...
11704 (flyspell-post-command-hook): ...to here.
11705
11706 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11709 if not needed.
11710 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11711 using completion. Protect against "slow" callers.
11712 Remove the "message hack".
11713
11714 2011-10-11 Juri Linkov <juri@jurta.org>
11715
11716 * isearch.el (isearch-lazy-highlight-word): New variable.
11717 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11718 Use it. (Bug#9727)
11719
11720 2011-10-11 Glenn Morris <rgm@gnu.org>
11721
11722 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11723 like f90-previous-statement does.
11724
11725 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11726
11727 * eshell/eshell.el (eshell-command): History should be saved
11728 only in interactive use, to avoid error.
11729
11730 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * minibuffer.el (completion-file-name-table): Fix last change,
11733 i.e. ignore normal errors but not the other ones.
11734
11735 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11736
11737 * window.el (special-display-buffer-names)
11738 (special-display-regexps): Remove some remnants of earlier
11739 changes from doc-strings.
11740 (quit-windows-on): New function.
11741
11742 * vc/vc.el (vc-revert, vc-rollback):
11743 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11744 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11745 (Bug#6183) (Bug#7074) (Bug#7447)
11746
11747 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11748
11749 * window.el (frame-auto-hide-function): Add version tag.
11750 (Bug#9699)
11751
11752 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11753
11754 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11755 condition.
11756
11757 2011-10-09 Leo Liu <sdl.web@gmail.com>
11758
11759 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11760 (Bug#9701)
11761
11762 2011-10-08 Glenn Morris <rgm@gnu.org>
11763
11764 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11765 before the first code statement zero indent. (Bug#9690)
11766
11767 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11768
11769 * simple.el (count-words-region): Always count in the region.
11770 Report the number of lines and characters too.
11771 (count-words): New command, which counts in the buffer if the
11772 region is inactive, as count-words-region used to.
11773 (count-words--message): New function. Handle plurals.
11774 (count-lines-region): Make it an alias for count-words-region.
11775
11776 * bindings.el (esc-map): Replace count-lines-region with
11777 count-words-region.
11778
11779 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11780
11781 * window.el (window--delete): Delete dedicated frame
11782 unconditionally when argument KILL is non-nil. (Bug#9699)
11783 (switch-to-buffer): Fix doc-string typo.
11784
11785 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11786
11787 * eshell/eshell.el (eshell-command): Avoid using hooks.
11788
11789 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11790
11791 * bindings.el ([M-left],[M-right]): Bind to left-word and
11792 right-word respectively.
11793
11794 2011-10-07 Glenn Morris <rgm@gnu.org>
11795
11796 * cus-start.el (debug-on-quit): Fix custom type.
11797
11798 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11799
11800 * subr.el (define-key-after): Clarify that the function is not
11801 useful for non-menu keymaps.
11802
11803 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11804
11805 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11806
11807 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11808 in current minibuffer (Fix bug with recursive minibuffers).
11809
11810 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11811
11812 * progmodes/gdb-mi.el (gdb): Doc fix.
11813
11814 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11815
11816 * window.el (frame-auto-hide-function): New option replacing
11817 frame-auto-delete. Suggested by Stefan Monnier.
11818 (window--delete): Call frame-auto-hide-function instead of
11819 investigating frame-auto-delete.
11820 (window-point-1, set-window-point-1): New functions.
11821 (window-in-direction, record-window-buffer, window-state-get-1)
11822 (display-buffer-record-window): Use window-point-1 instead of
11823 window-point.
11824 (set-window-buffer-start-and-point): Use set-window-point-1.
11825
11826 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11829
11830 2011-10-05 Glenn Morris <rgm@gnu.org>
11831
11832 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11833 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11834
11835 2011-10-05 Leo Liu <sdl.web@gmail.com>
11836
11837 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11838 works with buffer object.
11839
11840 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * mpc.el (mpc-tool-bar-map): Add labels.
11843
11844 2011-10-04 Glenn Morris <rgm@gnu.org>
11845
11846 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11847
11848 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11849
11850 * window.el (window--delete): New function.
11851 (frame-auto-delete): Resuscitate option.
11852 (bury-buffer, replace-buffer-in-windows)
11853 (quit-window): Rewrite using window--delete.
11854 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11855 Pass display-buffer-mark-dedicated to window--display-buffer-2
11856 (Bug#9639).
11857
11858 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11861 returns a list (bug#9554). Add remote file name completion.
11862 * comint.el (comint--table-subvert): Curry and get quote&unquote
11863 functions as arguments.
11864 (comint--complete-file-name-data): Adjust call accordingly.
11865 * pcomplete.el (pcomplete--table-subvert): Remove.
11866 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11867
11868 * minibuffer.el (completion-table-case-fold): Use currying.
11869 (completion--styles-type, completion--cycling-threshold-type):
11870 New constants.
11871 (completion-styles, completion-category-overrides)
11872 (completion-cycle-threshold): Use them.
11873 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11874 completion-table-case-fold.
11875
11876 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11877
11878 * minibuffer.el (completion-category-overrides): Fix type of styles
11879 and add more user friendly tags (bug#9660).
11880
11881 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11884 (mule-input-method-string): New widget.
11885 (default-input-method, language-info-custom-alist): Use it.
11886
11887 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * pcomplete.el: Require comint.
11890 (pcomplete--common-suffix): Remove.
11891 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11892 (pcomplete--table-subvert): Sync with comint--table-subvert.
11893 (pcomplete--entries): Use comint-completion-file-name-table.
11894 * comint.el (comint-unquote-filename): Simplify.
11895 (comint-completion-file-name-table): New function (bug#9616).
11896 (comint--complete-file-name-data): Use it.
11897
11898 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11899 (pcmpl-gnu-tar-buffer): Remove.
11900 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11901 around. Make sure pcomplete-suffix-list is only changed temporarily.
11902 Don't look inside the tar's file if it's too large.
11903
11904 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * cus-edit.el (custom-mode-map):
11907 * epa.el (epa-key-list-mode-map):
11908 * man.el (Man-mode-map):
11909 * startup.el (splash-screen-keymap):
11910 * simple.el (special-mode-map): Use scroll-up-command and
11911 scroll-down-command.
11912
11913 * progmodes/idlw-help.el (idlwave-help-mode-map):
11914 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11915 * net/newst-plainview.el (newsticker-mode-map):
11916 * emulation/ws-mode.el (wordstar-mode-map):
11917 * emulation/vi.el (vi-com-map):
11918 * calc/calc-graph.el (calc-graph-show-dumb):
11919 * term/sun.el (terminal-init-sun):
11920 * term/ns-win.el (global-map):
11921 * progmodes/grep.el (grep-mode-map):
11922 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11923 * mail/rmail.el (rmail-mode-map):
11924 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11925
11926 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11927 custom-safe-themes as special.
11928
11929 2011-10-01 Julien Danjou <julien@danjou.info>
11930
11931 * notifications.el (notifications-notify): Fix docstring.
11932
11933 2011-10-01 Per Starbäck <per@starback.se>
11934
11935 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11936
11937 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11938
11939 * startup.el (command-line-1): Fix last fix by inserting
11940 initial-scratch-message into *scratch* before displaying it.
11941 (Bug#9605) and (Bug#9636)
11942
11943 2011-09-29 Eli Zaretskii <eliz@gnu.org>
11944
11945 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11946 window is hscrolled, move by logical lines. (Bug#9607)
11947 (line-move-visual): Update the doc string to the above effect.
11948
11949 2011-09-29 Martin Rudalics <rudalics@gmx.at>
11950
11951 * window.el (display-buffer-record-window): When WINDOW is the
11952 selected window use `point' instead of `window-point'. (Bug#9626)
11953
11954 * startup.el (command-line-1): Use insert-before-markers when
11955 inserting initial-scratch-message. (Bug#9605)
11956
11957 * help.el (help-window): Remove variable.
11958
11959 2011-09-29 Glenn Morris <rgm@gnu.org>
11960
11961 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11962
11963 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * descr-text.el (describe-char-categories): Accept category
11966 descriptions more than one line long.
11967
11968 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * simple.el (delete-trailing-whitespace): Fix last change.
11971
11972 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11973 Don't confuse "y => 3" as the beginning of a `y' operation.
11974
11975 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11976 object has more than 4 slots (bug#9613).
11977
11978 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
11979
11980 * subr.el (with-output-to-temp-buffer):
11981 * net/quickurl.el (quickurl, quickurl-browse-url):
11982 Fix typos in docstrings.
11983
11984 2011-09-27 Eli Zaretskii <eliz@gnu.org>
11985
11986 * minibuffer.el (completion-styles)
11987 (completion-category-overrides): Cross reference each other in doc
11988 strings.
11989
11990 2011-09-27 Glenn Morris <rgm@gnu.org>
11991
11992 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11993 to split-string. (Bug#9606)
11994
11995 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
11997 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11998 (bug#9615).
11999
12000 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12001
12002 * emacs-lisp/package.el (list-packages): Fix echo area message.
12003
12004 2011-09-27 Leo Liu <sdl.web@gmail.com>
12005
12006 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12007
12008 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12009
12010 * net/dbus.el (dbus-unregister-object): Don't release services for
12011 registered signals. (Bug#9581)
12012
12013 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12014
12015 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12016 function that picks between cfengine 2 and 3 support
12017 automatically. Update docs accordingly.
12018
12019 2011-09-22 Kenichi Handa <handa@m17n.org>
12020
12021 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12022 ZERO.
12023 (indian-itrans-v5-table-for-tamil): New variable.
12024 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12025
12026 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12027
12028 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12029 that's true if the current command involved collapsing of text.
12030 It's reset to false at the beginning of the next command.
12031 (allout-post-command-business): Move the cursor to the beginning
12032 of entry if the cursor is hidden and collapsing activity just
12033 happened.
12034
12035 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12036
12037 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12038 tracking (Bug#9541).
12039
12040 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12041
12042 * net/newst-reader.el (newsticker-html-renderer)
12043 (newsticker-show-news): Automatically load html rendering package
12044 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12045 because w3m-fill-column is let-bound" and the error "Symbol's value
12046 as variable is void: w3m-fill-column".
12047
12048 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12049
12050 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12051 Release services only if they are defined. (Bug#9581)
12052
12053 2011-09-23 Richard Stallman <rms@gnu.org>
12054
12055 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12056 distinguish start of paragraph from start of its text.
12057
12058 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12059
12060 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12061 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12062 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12063
12064 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12065
12066 * international/mule-diag.el (mule-diag): Insert a newline after
12067 each fontset description.
12068
12069 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * simple.el (delete-trailing-whitespace):
12072 Document last change; simplify.
12073
12074 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12075
12076 * simple.el (delete-trailing-whitespace): Also delete
12077 extra newlines at the end of the buffer.
12078
12079 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12080 (picture-newline): Use forward-line so as to ignore fields.
12081
12082 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * subr.el (with-wrapper-hook): Fix edebug spec.
12085
12086 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12087
12088 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12089 (bug#4538).
12090
12091 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12094 Fix nasty bug using wrong cached values.
12095
12096 2011-09-23 Alan Mackenzie <acm@muc.de>
12097
12098 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12099
12100 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12101
12102 * window.el (pop-to-buffer): Ensure right window is selected if we
12103 chose another frame.
12104
12105 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12106
12107 * simple.el (what-cursor-position): Use get-char-property-change
12108 and next-single-char-property-change, to be able to show display
12109 properties that come from overlays as well as text properties.
12110
12111 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12112
12113 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12114
12115 * cmuscheme.el (run-scheme, switch-to-scheme):
12116 * cus-edit.el (customize-group, custom-buffer-create)
12117 (customize-browse):
12118 * info.el (info):
12119 * shell.el (shell):
12120 * mail/sendmail.el (mail):
12121 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12122
12123 2011-09-22 Richard Stallman <rms@gnu.org>
12124
12125 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12126 move back only to line beg, don't move back over blank lines.
12127
12128 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12129
12130 * files.el (copy-directory): Set directory attributes only in case
12131 they could be retrieved from the source directory. (Bug#9565)
12132
12133 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12134
12135 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12136 (hs-find-block-beginning, hs-hide-level-recursive):
12137 Ignore strings as well as comments. (Bug#9502)
12138
12139 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12140
12141 * progmodes/sql.el (sql-comint-postgres):
12142 Convert port number to a string. (Bug#9566)
12143
12144 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12145
12146 * window.el (quit-window): Undedicate window when switching to
12147 previous buffer. Reported by Thierry Volpiatto
12148 <thierry.volpiatto@gmail.com>.
12149 (special-display-popup-frame): When popping up a new frame reset
12150 its previous buffers to nil. Simplify code.
12151
12152 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12153
12154 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12155 and process filter, as done also in `shell-command'.
12156
12157 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12158
12159 * window.el (set-window-buffer-start-and-point):
12160 Call set-window-start with NOFORCE argument t.
12161 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12162 (quit-window): Reword doc-string. Handle new format of
12163 quit-restore parameter. Don't delete window if it has a
12164 previous buffer we can show instead of the present one.
12165 (display-buffer-record-window): Rewrite using a new format for
12166 the quit-restore window parameter
12167 (special-display-popup-frame, display-buffer-same-window)
12168 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12169 (display-buffer-pop-up-window, display-buffer-use-some-window):
12170 Adapt symbol passed to display-buffer-record-window.
12171 * help.el (help-window-setup): Handle new format of quit-restore
12172 parameter.
12173
12174 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * faces.el (face-list): Fix docstring (bug#9564).
12177
12178 * window.el (display-buffer--action-function-custom-type):
12179 Don't include internal functions in the Custom interface.
12180
12181 2011-09-20 Juri Linkov <juri@jurta.org>
12182
12183 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12184 (Info-forward-node, Info-backward-node, Info-next-preorder)
12185 (Info-last-preorder): Use it. (Bug#9528)
12186
12187 2011-09-20 Juri Linkov <juri@jurta.org>
12188
12189 * info.el (Info-last-preorder): Visit last menu item only when
12190 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12191
12192 2011-09-20 Julien Danjou <julien@danjou.info>
12193
12194 * password-cache.el (password-cache-remove): Remove entries even if the
12195 value is nil, so that password with a nil value (negative caching) is
12196 possible to invalidate.
12197
12198 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12199
12200 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12201 all whitespace around breakpoint. (Bug#9553)
12202 (f90-find-breakpoint): Only break at whitespace inside a comment.
12203
12204 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * minibuffer.el (completion-file-name-table): Keep track of errors.
12207 (completion-table-with-predicate): Handle the case where pred1 is nil.
12208 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12209
12210 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12213 (debugger-return-value): Signal an error if the debugging context does
12214 not await any return value.
12215
12216 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12217 * image-mode.el (image-toggle-display-text)
12218 (image-toggle-display-image): Stay away from evil `intangible'.
12219
12220 2011-09-19 Leo Liu <sdl.web@gmail.com>
12221
12222 * replace.el (occur-revert-arguments): Make it permanent-local.
12223 (occur-mode): Don't call font-lock-defontify.
12224
12225 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
12226
12227 * net/ldap.el (ldap-search-internal): Don't push empty search
12228 result (Bug#9508).
12229
12230 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12233
12234 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
12235
12236 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12237 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12238
12239 2011-09-18 Juri Linkov <juri@jurta.org>
12240
12241 * buff-menu.el (Buffer-menu-mode-map):
12242 * dired.el (dired-mode-map):
12243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12244 (lisp-interaction-mode-map):
12245 * emacs-lisp/package.el (package-menu-mode-map):
12246 * epa.el (epa-key-list-mode-map):
12247 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12248 (menu-bar-options-menu):
12249 * outline.el (outline-mode-menu-bar-map):
12250 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12251 * vc/vc-dir.el (vc-dir-menu-map):
12252 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12253 Capitalize non-function content words in menu item strings.
12254
12255 * dired.el (dired-mode-map): Add menu item for
12256 `image-dired-dired-toggle-marked-thumbs'.
12257
12258 2011-09-18 Juri Linkov <juri@jurta.org>
12259
12260 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12261 to `isearch-case-fold-search' and restore its original value
12262 after the `isearch-mode' call.
12263
12264 2011-09-18 Juri Linkov <juri@jurta.org>
12265
12266 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12267 because `zgrep' returns 1 for successful matches (bug#9226).
12268
12269 2011-09-18 Juri Linkov <juri@jurta.org>
12270
12271 * info.el (Info-extract-menu-node-name): Check the second match
12272 for empty string (second test-case of bug#9528).
12273 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12274 intermediate nodes to the history (first test-case of bug#9528).
12275
12276 2011-09-18 Juri Linkov <juri@jurta.org>
12277
12278 * info.el (Info-mode-syntax-table): New variable.
12279 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12280
12281 2011-09-18 Juri Linkov <juri@jurta.org>
12282
12283 * info.el (Info-file-supports-index-cookies):
12284 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12285 outputs one more line for long file names (bug#4142).
12286
12287 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12288
12289 * newcomment.el (comment-normalize-vars): If prompting for
12290 comment-start, set comment-start-skip too (Bug#8424).
12291
12292 2011-09-18 Johan Bockgård <bojohan@gnu.org>
12293
12294 * icomplete.el: Fix previous fix of Bug#5849.
12295 (icomplete-mode): Don't set completion-show-inline-help.
12296 (icomplete-minibuffer-setup): Set completion-show-inline-help
12297 locally during icompletion.
12298
12299 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * woman.el (woman2-process-escapes): Don't delete unrecognized
12302 escapes (Bug#7843).
12303
12304 * files.el (inhibit-first-line-modes-regexps): Add image files.
12305 (hack-local-variables-prop-line): Return nil for malformed
12306 prop-lines (Bug#9044).
12307
12308 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
12309
12310 * net/tramp.el (top): Don't require 'shell.
12311 (tramp-methods): Fix docstring.
12312 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12313 Return complete remote file name. Handle "smb" case.
12314 Use `tramp-tmpdir', if defined for the respective method.
12315 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12316
12317 * net/tramp-compat.el (top): Require 'shell.
12318
12319 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12320 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12321 `tramp-current-host'.
12322 (tramp-get-remote-tmpdir): Remove.
12323
12324 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12325 `tramp-tmpdir' entries.
12326 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12327 (tramp-smb-handle-file-attributes): Ignore errors.
12328 (tramp-smb-wait-for-output): Check also for process end.
12329
12330 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331
12332 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12333 when sending QUIT (bug#9312).
12334
12335 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
12336
12337 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12338 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12339 occur-mode-display-occurrence.
12340 (occur-edit-mode): Add usage message.
12341 (occur-cease-edit): New command.
12342 (occur-after-change-function): Use text properties to find the
12343 position of the prefix text.
12344 (occur-engine): Set stickiness of prefix text properties.
12345
12346 2011-09-17 Glenn Morris <rgm@gnu.org>
12347
12348 * progmodes/etags.el (complete-tag):
12349 Fix call to completion-in-region. (Bug#9526)
12350
12351 2011-09-17 Juri Linkov <juri@jurta.org>
12352
12353 * textmodes/ispell.el (ispell-word): Add to the error message
12354 the word, ispell program name and current dictionary (bug#9121).
12355 (ispell-tex-arg-end): Capitalize "error" in the error message.
12356
12357 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12358
12359 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12360 check. (Bug#4251)
12361
12362 2011-09-17 Juri Linkov <juri@jurta.org>
12363
12364 * window.el (window-safe-min-height, window-safe-min-width):
12365 Fix typos (followup to bug#9522).
12366
12367 2011-09-17 Sven Joachim <svenjoac@gmx.de>
12368
12369 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12370
12371 2011-09-16 Eli Zaretskii <eliz@gnu.org>
12372
12373 * simple.el (line-move): If goal-column is set, move by logical
12374 lines, not by display lines. (Bug#971)
12375 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12376 to reflect the above change.
12377
12378 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * image.el (imagemagick-register-types): Use regexp-opt.
12381
12382 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12383
12384 * window.el (display-buffer-base-action): Rename from
12385 display-buffer-default-action. Make default value empty.
12386 (display-buffer-overriding-action): Convert to defvar.
12387 (display-buffer-fallback-action): New var.
12388
12389 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
12390
12391 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12392 declaration.
12393 (package--add-to-archive-contents): If there is a duplicate entry
12394 with an older version, remove it.
12395 (package-menu-mark-delete, package-menu-mark-install)
12396 (package-menu-mark-unmark): Make unused args optional.
12397 (package-menu-mark-obsolete-for-deletion):
12398 Use package-menu-get-status instead of a regexp search.
12399 (package-menu-get-status): Use tabulated-list-entry.
12400 (package-menu-mark-upgrades): New command.
12401 (package-menu-mode-map): Bind it to U. Add it to menu bar.
12402 (package-menu-execute): Do installation before deletion.
12403 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12404 instead of checking major-mode.
12405 (package-menu--find-upgrades): New function.
12406
12407 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
12409 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12410 passwords in the log buffer.
12411 (smtpmail-process-filter): Update the process marker so that the
12412 "broken by peer" status message is inserted in the right place.
12413
12414 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12417 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12418 bibtex-completion-at-point-function.
12419 (bibtex-completion-at-point-function): Use them.
12420
12421 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12422
12423 * mpc.el (mpc-constraints-tag-lookup): New function.
12424 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12425 also to browser "album|playlist".
12426
12427 2011-09-14 Juri Linkov <juri@jurta.org>
12428
12429 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12430 (isearch-edit-string): Use length of `isearch-string' when
12431 `isearch-fail-pos' returns nil.
12432 (isearch-message): Remove duplicate code and call
12433 `isearch-fail-pos' with arg `t'.
12434
12435 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
12436
12437 * replace.el (occur-mode-goto-occurrence): Don't force using other
12438 window (Bug#9499).
12439
12440 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12441
12442 2011-09-14 Martin Rudalics <rudalics@gmx.at>
12443
12444 * window.el (display-buffer-window): Remove.
12445 (display-buffer-record-window): Use help-setup window parameter
12446 instead of variable display-buffer-window.
12447 (display-buffer-function, special-display-buffer-names)
12448 (special-display-function): Mention help-setup parameter instead
12449 of display-buffer-window in doc-string.
12450 * help.el (help-window-setup): New argument help-window.
12451 Use help-window-setup parameter instead of display-buffer-window.
12452 Reword some messages.
12453 (with-help-window): Pass window used for displaying the buffer
12454 to help-window-setup. Don't set display-buffer-window.
12455
12456 2011-09-13 Glenn Morris <rgm@gnu.org>
12457
12458 * emacs-lisp/debug.el (debugger-make-xrefs):
12459 Preserve point. (Bug#9462)
12460
12461 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12462
12463 * window.el (window-deletable-p): Use next-frame.
12464
12465 2011-09-13 Martin Rudalics <rudalics@gmx.at>
12466
12467 * window.el (window-auto-delete): Remove.
12468 (window-deletable-p): Remove argument FORCE. Don't deal with
12469 dedication and previous buffers.
12470 (switch-to-prev-buffer): Don't delete window.
12471 (delete-windows-on): Delete a window's frame if and only if the
12472 window is dedicated.
12473 (replace-buffer-in-windows): Delete buffer's window or frame if
12474 and only if window is dedicated.
12475 (quit-window): Handle quit-restore as before last change.
12476 (bury-buffer): Delete window only if window-deletable-p returns t.
12477
12478 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
12479
12480 * window.el (window-deletable-p): Never delete the last frame on a
12481 given terminal.
12482
12483 2011-09-13 Glenn Morris <rgm@gnu.org>
12484
12485 * help.el (describe-key-briefly): Copy previous standard-output change.
12486
12487 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
12488
12489 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12490
12491 2011-09-13 Glenn Morris <rgm@gnu.org>
12492
12493 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12494 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12495
12496 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
12497
12498 * dired-aux.el (dired-mark-read-string): Don't return default
12499 value on empty input (Bug#9361).
12500 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12501 Omit initial minibuffer contents.
12502 (dired-do-chmod): Signal an error on empty input.
12503 (dired-mark-read-string): Don't return default on empty input.
12504
12505 * files.el (file-modes-symbolic-to-number): Doc fix.
12506
12507 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * international/mule-cmds.el (ucs-completions): Remove.
12510 (read-char-by-name): Use complete-with-action instead; add metadata.
12511
12512 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12513
12514 * window.el (display-buffer--action-function-custom-type)
12515 (display-buffer--action-custom-type): New vars.
12516 (display-buffer-alist, display-buffer-default-action)
12517 (display-buffer-overriding-action): Add defcustom types.
12518
12519 * frame.el (delete-other-frames): Doc fix (Bug#276).
12520
12521 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12522
12523 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12524
12525 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
12526
12527 Change modes that used same-window-* vars to use switch-to-buffer.
12528
12529 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12530 Use switch-to-buffer.
12531
12532 * cus-edit.el (customize-group, custom-buffer-create)
12533 (customize-browse, custom-buffer-create-other-window):
12534 Use switch-to-buffer or switch-to-buffer-other-window.
12535
12536 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12537 (Info-prev, Info-up, Info-speedbar-goto-node)
12538 (info-display-manual): Use switch-to-buffer.
12539 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12540
12541 * mail/sendmail.el (mail): Use switch-to-buffer.
12542 (mail-recover): Use switch-to-buffer-other-window.
12543
12544 * cmuscheme.el (run-scheme, switch-to-scheme):
12545 * ielm.el (ielm):
12546 * shell.el (shell):
12547 * net/rlogin.el (rlogin):
12548 * net/telnet.el (telnet, rsh):
12549 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12550
12551 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12552
12553 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12554
12555 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12556
12557 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12558 so don't mention it (bug#9301).
12559 (dired-sort-toggle-or-edit): Clarify string further.
12560
12561 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12562 match `x', `w32' and `ns', like the manual says (bug#9029).
12563
12564 * subr.el (eval-after-load): Doc string clarification (bug#9125).
12565 (process-kill-buffer-query-function): Mention the buffer name in
12566 the query.
12567
12568 * image-mode.el (image-next-line): The line parameter is mandatory
12569 (bug#9258).
12570
12571 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12572 which can be useful (bug#9301).
12573
12574 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12575
12576 * subr.el (match-string): Mention that the current buffer should
12577 be the same as the search was done in (bug#9282).
12578
12579 * facemenu.el: Disable the remove-* commands if the mark isn't
12580 active (bug#9162).
12581
12582 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12583
12584 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12585 of display-buffer.
12586 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12587
12588 * replace.el (occur-mode-goto-occurrence)
12589 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12590 and display-buffer.
12591
12592 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12593 display-buffer.
12594
12595 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12596 special-display and same-window variables.
12597 (mail-other-window): Use switch-to-buffer-other-window.
12598 (mail-other-frame): USe switch-to-buffer-other-frame.
12599
12600 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12601 Use display-buffer-other-frame.
12602 (gdb-display-gdb-buffer): Use pop-to-buffer.
12603
12604 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12605
12606 * progmodes/python.el: Don't set same-window-buffer-names.
12607
12608 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12609
12610 * window.el (display-buffer-alist): Add *Python*.
12611
12612 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * window.el (display-buffer-alist): Add entry for buffers
12615 previously handled same-window-*.
12616 (display-buffer-alist, display-buffer-default-action)
12617 (display-buffer-overriding-action): Mark as risky.
12618 (display-buffer-alist): Document action function changes.
12619 (display-buffer--same-window-action)
12620 (display-buffer--other-frame-action): New variables.
12621 (switch-to-buffer, display-buffer-other-frame): Use them.
12622 (display-buffer): Rename reuse-frame entry to reusable-frames.
12623 (display-buffer-reuse-selected-window): Function deleted.
12624 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12625 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12626 (display-buffer-special): New function.
12627 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12628 display-buffer-reuse-or-pop-window. Split off special-display
12629 part into display-buffer-special.
12630 (display-buffer-use-some-window): Don't perform any special
12631 pop-up-frames handling.
12632 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12633 (display-buffer--maybe-same-window): Rename from
12634 display-buffer-maybe-same-window.
12635
12636 * info.el: Don't set same-window-regexps.
12637 (info-setup): New function.
12638 (info-other-window, info): Call it.
12639
12640 * cus-edit.el: Don't set same-window-regexps.
12641 (customize-group): New argument.
12642 (customize-group-other-window): Use it.
12643 (customize-face, customize-face-other-window): Likewise.
12644 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12645
12646 * net/rlogin.el:
12647 * net/telnet.el:
12648 * progmodes/gud.el: Don't set same-window-regexps.
12649
12650 * cmuscheme.el:
12651 * ielm.el:
12652 * shell.el:
12653 * mail/sendmail.el:
12654 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12655
12656 2011-09-10 Juri Linkov <juri@jurta.org>
12657
12658 * isearch.el (isearch-edit-string): Remove obsolete mention of
12659 `C-w' (`isearch-yank-word-or-char') from docstring.
12660 (isearch-query-replace): Fix typo in docstring (bug#9466).
12661
12662 2011-09-10 Juri Linkov <juri@jurta.org>
12663
12664 * paren.el (show-paren-function): Don't show escaped parens.
12665 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12666
12667 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12668
12669 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12670 (mm-default-file-encoding): Remove autoload forms, they are
12671 replaced with autoload cookies in mml.el and mm-encode.el.
12672 (mail-add-attachment): New command.
12673 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12674 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12675 the doc string.
12676 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12677
12678 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12679
12680 * simple.el (count-words-region): Use buffer if there's no region
12681 (bug#9429).
12682
12683 2011-09-09 Juri Linkov <juri@jurta.org>
12684
12685 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12686 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12687 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12688
12689 2011-09-09 Alan Mackenzie <acm@muc.de>
12690
12691 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12692 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12693
12694 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12695
12696 Fix for Savannah bug#9392.
12697 * simple.el (mail-encode-mml): New defvar.
12698
12699 * mail/rmail.el (mail-encode-mml): Add a defvar.
12700 (rmail-enable-mime-composing): Default to t.
12701 (rmail-forward): Use MIME method of forwarding only if both
12702 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12703 Set mail-encode-mml non-nil if the MIME method was used.
12704
12705 * mail/sendmail.el (mml-to-mime): Add autoload form.
12706 (mail-encode-mml): Add a defvar.
12707 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12708 to nil.
12709 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12710 message through mml-to-mime, and reset mail-encode-mml to nil.
12711
12712 2011-09-09 Glenn Morris <rgm@gnu.org>
12713
12714 * woman.el (woman-if-body): When processing an .el block,
12715 do not delete the next .el block as well. (Bug#9447)
12716 (woman-special-characters): Add oq, cq, and hy characters.
12717
12718 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12719
12720 * window.el (window-deletable-p): Make sure window is live before
12721 invoking window-prev-buffers.
12722
12723 2011-09-08 Leo Liu <sdl.web@gmail.com>
12724
12725 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12726
12727 2011-09-08 Juri Linkov <juri@jurta.org>
12728
12729 * progmodes/compile.el (compilation-environment): Make it
12730 a defcustom (bug#8340).
12731
12732 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12733
12734 * window.el (frame-auto-delete): Rename to window-auto-delete.
12735 Make it control auto-deletion of windows and/or frames.
12736 (window-deletable-p): New argument FORCE. Rewrite conditions
12737 for deleting window/frame. (Bug#9419)
12738 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12739 Rewrite handling of case when window/frame can be deleted.
12740 (delete-windows-on): Call window-deletable-p with new FORCE
12741 argument t. (Bug#9456)
12742
12743 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12744
12745 * help-mode.el (help-mode): Restore autoload.
12746
12747 2011-09-07 Juri Linkov <juri@jurta.org>
12748
12749 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12750 `compilation-environment'. Set buffer-local
12751 `compilation-environment' to `thisenv' later after (funcall mode).
12752 (Bug#8340)
12753
12754 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12755 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12756 instead of replacing its value. (Bug#8340)
12757
12758 2011-09-07 Juri Linkov <juri@jurta.org>
12759
12760 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12761 based on text properties put by `grep-filter' instead of matching
12762 escape sequences.
12763 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12764 to the value of `grep-error-screen-columns' (bug#9438).
12765
12766 2011-09-07 Juri Linkov <juri@jurta.org>
12767
12768 * simple.el (next-error-highlight, next-error-highlight-no-select):
12769 Doc fix (bug#9432).
12770
12771 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12772
12773 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12774 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12775
12776 2011-09-07 Leo Liu <sdl.web@gmail.com>
12777
12778 * net/rcirc.el (rcirc-mode): Conditionally initialize
12779 rcirc-input-ring.
12780
12781 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * emacs-lisp/find-func.el (find-function-C-source): Only set
12784 find-function-C-source-directory after checking that we found a source
12785 file there (bug#9440).
12786
12787 2011-09-06 Alan Mackenzie <acm@muc.de>
12788
12789 * isearch.el (isearch-other-meta-char): Wherever a key list is
12790 unread, "unread" the prefix arg, too. This fixes bug #8901.
12791
12792 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12793
12794 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12795
12796 2011-09-05 Juri Linkov <juri@jurta.org>
12797
12798 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12799
12800 2011-09-05 Juri Linkov <juri@jurta.org>
12801
12802 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12803 keeping point where processing of grep matches begins, and
12804 continue to delete remaining escape sequences from the same point.
12805 (grep-filter): Make leading zero optional in "0?1;31m" because
12806 git-grep emits "\033[1;31m" escape sequences unlike expected
12807 "\033[01;31m" as GNU Grep does (bug#9408).
12808 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12809
12810 2011-09-05 Juri Linkov <juri@jurta.org>
12811
12812 * subr.el (y-or-n-p): Capitalize "yes".
12813
12814 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12815
12816 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12817 `tramp-cache-unload-hook' where appropriate.
12818 (tramp-methods): Rename `tramp-remote-sh' to
12819 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12820 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12821
12822 * net/tramp-sh.el (top): Don't require 'shell.
12823 (tramp-methods): Add `tramp-remote-shell' and
12824 `tramp-remote-shell-args' entries.
12825 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12826 (tramp-sh-handle-shell-command): Remove.
12827 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12828 Use `tramp-remote-shell'.
12829
12830 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12831
12832 * mail/sendmail.el (sendmail-query-once-function): Delete.
12833 (sendmail-query-once): Save directly to send-mail-function.
12834 Update message-send-mail-function too.
12835
12836 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12837
12838 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12839
12840 * progmodes/python.el (python-mode-map): Use correct function to
12841 start python interpreter from menu-bar (as reported by Geert
12842 Kloosterman).
12843 (inferior-python-mode-map): Fix typo.
12844 (python-shell-map): Remove.
12845
12846 2011-09-03 Deniz Dogan <deniz@dogan.se>
12847
12848 * net/rcirc.el (rcirc-print): Simplify code for
12849 rcirc-scroll-show-maximum-output. There is no need to walk
12850 through all windows to find the right one.
12851
12852 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12853
12854 * help.el (help-return-method): Doc fix.
12855
12856 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12857
12858 * window.el (window-deletable-p): Don't return a non-nil value
12859 when there's a buffer that was shown in the window before.
12860 (Bug#9419)
12861 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12862 Set window's previous buffers to nil.
12863
12864 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12865
12866 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12867 newline before and after the tag line, so it doesn't interfere
12868 with determining the paragraph direction of bidirectional text.
12869
12870 2011-09-03 Leo Liu <sdl.web@gmail.com>
12871
12872 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12873
12874 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12875
12876 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12877 (pop-to-buffer): Change interactive spec. Pass second argument
12878 directly to display-buffer.
12879 (display-buffer): Fix interactive spec. Use functionp to
12880 distinguish between a function and a list of functions.
12881
12882 * abbrev.el (edit-abbrevs):
12883 * arc-mode.el (archive-extract):
12884 * autoinsert.el (auto-insert):
12885 * bookmark.el (bookmark-bmenu-list):
12886 * files.el (find-file):
12887 * view.el (view-buffer):
12888 * progmodes/compile.el (compilation-goto-locus):
12889 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12890
12891 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12892
12893 * window.el (display-buffer-alist): Doc fix.
12894 (display-buffer): Add docstring. Don't treat
12895 display-buffer-default specially.
12896 (display-buffer-reuse-selected-window)
12897 (display-buffer-same-window, display-buffer-maybe-same-window)
12898 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12899 (display-buffer-pop-up-window)
12900 (display-buffer-reuse-or-pop-window)
12901 (display-buffer-use-some-window): New functions.
12902 (display-buffer-default-action): Use them.
12903 (display-buffer-default): Delete.
12904 (pop-to-buffer-1): Fix choice of actions.
12905
12906 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12907
12908 * minibuffer.el (completion--insert-strings): Don't get confused by
12909 completion entries that end with an LF char.
12910
12911 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12912
12913 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12914
12915 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12916
12917 * window.el (display-buffer): Restore interactive spec.
12918 (display-buffer-same-window, display-buffer-other-window):
12919 New functions.
12920 (pop-to-buffer-1): New function. Use the above.
12921 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12922 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12923
12924 * view.el (view-buffer-other-window, view-buffer-other-frame):
12925 Just use pop-to-buffer.
12926
12927 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12928
12929 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12930
12931 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12932
12933 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12934
12935 2011-08-31 Richard Stallman <rms@gnu.org>
12936
12937 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12938 of the separation of rmail-view-buffer from rmail-buffer.
12939 If you say no to "replace original", the decrypt is in the
12940 view buffer. If you say yes, the decrypt goes into the
12941 rmail buffer also.
12942
12943 2011-08-31 Martin Rudalics <rudalics@gmx.at>
12944
12945 * window.el (display-buffer-window): Rewrite doc-string.
12946 (display-buffer-record-window): New function.
12947 (display-buffer-macro-specifiers)
12948 (display-buffer-even-window-sizes, display-buffer-set-height)
12949 (display-buffer-set-width, display-buffer-in-window)
12950 (display-buffer-reuse-window, display-buffer-split-specifiers)
12951 (display-buffer-side-specifiers, display-buffer-split-window-1)
12952 (display-buffer-split-window, display-buffer-split-atom-window)
12953 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12954 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12955 (display-buffer-other-window-means-other-frame)
12956 (display-buffer-normalize-special)
12957 (display-buffer-normalize-default)
12958 (display-buffer-normalize-argument)
12959 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12960 (display-buffer-normalize-specifiers, display-buffer-frame)
12961 (display-buffer-same-window, display-buffer-same-frame)
12962 (display-buffer-other-window)
12963 (display-buffer-same-frame-other-window)
12964 (display-buffer-other-frame, pop-to-buffer-same-window)
12965 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12966 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12967 (switch-to-buffer-same-frame)
12968 (switch-to-buffer-other-window-same-frame)
12969 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12970 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12971 (display-buffer-alist-set): Remove.
12972 (display-buffer-function, special-display-buffer-names)
12973 (special-display-regexps, special-display-function):
12974 In doc-string refer to display-buffer-window and quit-restore
12975 parameter.
12976 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12977 (special-display-frame-alist, special-display-popup-frame)
12978 (same-window-buffer-names, same-window-regexps, same-window-p)
12979 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12980 (split-window-preferred-function, split-height-threshold)
12981 (split-width-threshold, window-splittable-p)
12982 (split-window-sensibly, window--try-to-split-window)
12983 (window--frame-usable-p, even-window-heights)
12984 (window--even-window-heights, window--display-buffer-1)
12985 (window--display-buffer-2, display-buffer-other-frame):
12986 Restore old Emacs 23 code, order and doc-strings where applicable.
12987 (display-buffer-default, display-buffer-assq-regexp): New functions.
12988 (display-buffer-alist): Rewrite doc-string.
12989 (display-buffer-default-action)
12990 (display-buffer-overriding-action): New variables.
12991 (display-buffer, switch-to-buffer): Rewrite.
12992 (pop-to-buffer): Restore Emacs 23 behavior but use
12993 window-normalize-buffer-to-display.
12994 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12995 Restore Emacs 23 behavior but use
12996 window-normalize-buffer-to-switch-to.
12997 (pop-to-buffer-same-window): Rewrite.
12998 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12999 Rewrite using Emacs 23 options.
13000
13001 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13002
13003 * net/tramp.el (tramp-root-regexp): Remove.
13004 (tramp-completion-file-name-regexp-unified)
13005 (tramp-completion-file-name-regexp-separate)
13006 (tramp-completion-file-name-regexp-url): Don't use leading volume
13007 letter on w32 systems. (Bug#5303, Bug#9311)
13008 (tramp-drop-volume-letter): Simplify definition.
13009 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13010
13011 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13014 (bug#9356).
13015
13016 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13017
13018 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13019
13020 2011-08-29 Juri Linkov <juri@jurta.org>
13021
13022 * isearch.el (isearch-done): Don't display message "Mark saved"
13023 when arg `edit' is non-nil to prevent its flicker in the echo area.
13024
13025 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13026
13027 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13028 obsolete packages for deletion.
13029
13030 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13031
13032 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13033 (help-mode): Derive help-mode from special-mode. Don't invoke
13034 view-mode from help-mode.
13035 (help-xref-override-view-map): Remove.
13036 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13037 view-mode is not used anymore.
13038
13039 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13040
13041 * server.el (server-port): Doc fix.
13042
13043 * cus-theme.el (custom-theme-choose-mode): Inherit from
13044 special-mode (Bug#9124).
13045 (custom-theme-choose-mode-map): Add special-mode to parent.
13046
13047 2011-08-28 Alan Mackenzie <acm@muc.de>
13048
13049 * progmodes/cc-fonts.el
13050 (c-make-font-lock-BO-decl-search-function): New function.
13051 (c-basic-matchers-after - "Fontify the clauses after various
13052 keywords"): Extract the three keyword lists for the 3 erroneous
13053 constructs from the list of four, and use the new function above
13054 in place of an old one.
13055
13056 2011-08-28 Deniz Dogan <deniz@dogan.se>
13057
13058 * net/rcirc.el (rcirc-insert-prev-input)
13059 (rcirc-insert-next-input): Remove unused argument.
13060
13061 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13064
13065 2011-08-27 Alan Mackenzie <acm@muc.de>
13066
13067 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13068 handle function pointer parameters properly.
13069
13070 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13071
13072 * window.el (display-buffer-reuse-window): Fix case where
13073 selected window was reused with non-nil OTHER-WINDOW argument.
13074 (Bug#9381)
13075
13076 2011-08-27 Deniz Dogan <deniz@dogan.se>
13077
13078 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13079 oftc's NickServ messages.
13080
13081 2011-08-27 Glenn Morris <rgm@gnu.org>
13082
13083 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13084
13085 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13086
13087 * emacs-lisp/package.el (package-install): Call package-initialize
13088 if called interactively.
13089
13090 2011-08-26 Leo Liu <sdl.web@gmail.com>
13091
13092 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13093
13094 2011-08-25 Juri Linkov <juri@jurta.org>
13095
13096 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13097 `search-whitespace-regexp' (bug#9364).
13098
13099 2011-08-25 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13102 `regexp-search-ring' to their global values to protect from
13103 updating by `read-from-minibuffer' (bug#9185).
13104
13105 2011-08-25 Juri Linkov <juri@jurta.org>
13106
13107 * textmodes/ispell.el (ispell-command-loop): Add newline
13108 at the end of the "Use option `i'..." line.
13109
13110 2011-08-25 Juri Linkov <juri@jurta.org>
13111
13112 * battery.el (display-battery-mode): If `battery-status-function'
13113 or `battery-mode-line-format' is nil, display the message and set
13114 `display-battery-mode' to nil (bug#9363).
13115
13116 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13117
13118 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13119 bidi-string-mark-left-to-right; they are unnecessary now.
13120
13121 2011-08-25 Deniz Dogan <deniz@dogan.se>
13122
13123 * net/quickurl.el: Documentation typo fixes.
13124
13125 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13126
13127 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13128
13129 2011-08-25 Glenn Morris <rgm@gnu.org>
13130
13131 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13132
13133 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13134 (smtpmail-via-smtp): Handle nil response from smtp.
13135
13136 2011-08-24 Juri Linkov <juri@jurta.org>
13137
13138 * proced.el (proced-marked): Inherit from `error' instead of
13139 `font-lock-warning-face'.
13140
13141 * ibuffer.el (ibuffer-marked-face): Change default face from
13142 `font-lock-warning-face' to `warning'.
13143 (ibuffer-deletion-face): Change default face from
13144 `font-lock-type-face' to `error'.
13145
13146 * battery.el (battery-update): Use the face `error' instead of
13147 `font-lock-warning-face' (bug#6117).
13148
13149 2011-08-24 Juri Linkov <juri@jurta.org>
13150
13151 * faces.el (success): Change face color from "Green3" to
13152 "ForestGreen" on light background (bug#9353).
13153
13154 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13155
13156 * window.el (quit-window): Rename from quit-restore-window.
13157 Use same arglist as old quit-window.
13158 (frame-auto-delete): Doc fix.
13159
13160 * view.el (view-mode-exit): Use quit-window.
13161
13162 2011-08-24 Juri Linkov <juri@jurta.org>
13163
13164 * isearch.el (isearch-ring-adjust1): Start visiting previous
13165 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13166 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13167 for empty search string (when the last search string is reused
13168 automatically) to adjust the isearch ring to the last element and
13169 prepare the correct index for further M-p commands (bug#9185).
13170
13171 2011-08-24 Kenichi Handa <handa@m17n.org>
13172
13173 * international/ucs-normalize.el: If decomposition property of
13174 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13175 nil.
13176 (nfd, nfkd): Likewise.
13177
13178 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13181 from process filters aren't reliably transmitted to the surrounding
13182 accept-process-output.
13183 (mpc-proc-check): New function.
13184 (mpc-proc-sync): Use it (bug#8293)
13185
13186 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13189 Add compatibility functions (bug#9313).
13190
13191 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13192
13193 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13194
13195 * international/uni-bidi.el: Regenerate.
13196
13197 2011-08-23 Kenichi Handa <handa@m17n.org>
13198
13199 * international/charprop.el:
13200 * international/uni-bidi.el:
13201 * international/uni-category.el:
13202 * international/uni-combining.el:
13203 * international/uni-comment.el:
13204 * international/uni-decimal.el:
13205 * international/uni-decomposition.el:
13206 * international/uni-digit.el:
13207 * international/uni-lowercase.el:
13208 * international/uni-mirrored.el:
13209 * international/uni-name.el:
13210 * international/uni-numeric.el:
13211 * international/uni-old-name.el:
13212 * international/uni-titlecase.el:
13213 * international/uni-uppercase.el: Regenerate.
13214
13215 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13216
13217 * help.el (help-window-setup): Fix message displayed when other
13218 window is reused. (Bug#9341)
13219
13220 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13221
13222 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13223 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13224
13225 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13226 Mark obsolete.
13227 * shell.el (shell-parse-pcomplete-arguments): New function.
13228 (shell-completion-vars): Use it instead (bug#9160).
13229
13230 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13231
13232 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13233 strings and comments (bug#9333).
13234
13235 * emacs-lisp/debug.el (debug-arglist): New function.
13236 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13237 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13238
13239 2011-08-22 Juri Linkov <juri@jurta.org>
13240
13241 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13242 Revert regexp that highlights output switches to its old
13243 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13244
13245 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13246 to check for empty output (bug#9226).
13247
13248 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
13249
13250 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13251 symbol-constituent as the default, as that stops font-lock from
13252 working properly (Bug#8843).
13253
13254 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13255
13256 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13257 `coding-system-for-*' around the process open call to avoid
13258 auth-source side effects.
13259 (smtpmail-try-auth-methods): Expand the secret password.
13260 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13261 probe hangs.
13262
13263 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13264
13265 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13266
13267 * emacs-lisp/find-func.el (find-function-noselect): New arg
13268 lisp-only.
13269
13270 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13271 signal an error for built-in functions (Bug#6664).
13272
13273 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13274
13275 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13276 (smtpmail-try-auth-methods): Use it.
13277
13278 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
13279
13280 * font-lock.el (font-lock-fontify-region)
13281 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13282 (font-lock-default-unfontify-buffer)
13283 (font-lock-default-fontify-region)
13284 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13285
13286 * progmodes/compile.el (compilation-error-properties):
13287 Fix confusion between file struct and message struct (Bug#9319).
13288 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13289 `ant' regexp.
13290
13291 * net/browse-url.el (browse-url-firefox): Don't call
13292 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13293
13294 2011-08-20 Glenn Morris <rgm@gnu.org>
13295
13296 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13297
13298 * tutorial.el (tutorial--default-keys): Update some default bindings.
13299
13300 * files.el (hack-local-variables): Fully ignore case for "mode:".
13301
13302 2011-08-20 Alan Mackenzie <acm@muc.de>
13303
13304 Resolve invalid use of a regexp in regexp-opt.
13305
13306 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13307 detection for a java annotation.
13308
13309 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13310 detection for a java annotation.
13311
13312 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13313 handling for java.
13314 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13315
13316 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
13317
13318 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13319 (Bug#9274).
13320
13321 2011-08-20 Alan Mackenzie <acm@muc.de>
13322
13323 Fontify CPP expressions correctly when starting in the middle of
13324 such a construct. Mainly for when jit-lock etc. starts a chunk
13325 here.
13326
13327 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13328 variable.
13329 (c-make-font-lock-search-form): New function, extracted from
13330 c-make-font-lock-search-function.
13331 (c-make-font-lock-search-function): Use the above function.
13332 (c-make-font-lock-context-search-function): New function.
13333 (c-cpp-matchers): Enhance the preprocessor expression case with
13334 the above function
13335 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13336 which takes an expression.
13337
13338 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13339
13340 2011-08-20 Martin Rudalics <rudalics@gmx.at>
13341
13342 * window.el (display-buffer-reuse-window)
13343 (display-buffer-pop-up-window): Don't reuse or split a side
13344 window.
13345
13346 2011-08-19 Glenn Morris <rgm@gnu.org>
13347
13348 * files.el (hack-local-variables-prop-line, hack-local-variables):
13349 Downcase "Mode:". (Bug#9331)
13350
13351 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
13352
13353 * international/characters.el: Add L and R categories.
13354
13355 * subr.el (bidi-string-mark-left-to-right): Rename from
13356 string-mark-left-to-right. Use category search.
13357
13358 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13359
13360 2011-08-18 Juri Linkov <juri@jurta.org>
13361
13362 * faces.el (error, warning, success): New faces with definitions
13363 copied from old default values of `font-lock-warning-face',
13364 `compilation-warning', `compilation-info' (bug#6117).
13365
13366 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13367
13368 * progmodes/compile.el (compilation-error): Inherit from `error'.
13369 (compilation-warning): Inherit from `warning'.
13370 (compilation-info): Inherit from `success'.
13371
13372 * dired.el (dired-marked): Inherit from `warning'.
13373 (dired-flagged): Inherit from `error'.
13374
13375 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13376
13377 * mail/smtpmail.el (auth-source): Require to avoid problems with
13378 binding variables (bug#9298). Also clean up some unused
13379 autoloads.
13380
13381 * net/network-stream.el (network-stream-open-starttls):
13382 Support using starttls.el without using gnutls-cli.
13383
13384 2011-08-17 Juri Linkov <juri@jurta.org>
13385
13386 * progmodes/grep.el (rgrep): Handle the case when
13387 `grep-find-command' is a cons cell (bug#9278).
13388
13389 2011-08-17 Martin Rudalics <rudalics@gmx.at>
13390
13391 * window.el (display-buffer-pop-up-frame): Run frame creation
13392 function with BUFFER current (as special-display-popup-frame
13393 does). Reported by Drew Adams.
13394
13395 2011-08-17 Daiki Ueno <ueno@unixuser.org>
13396
13397 * epa-mail.el: Simplify GnuPG group expansion using
13398 epg-expand-group.
13399 (epa-mail-group-alist, epa-mail-group-modtime)
13400 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13401 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13402 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13403 Remove.
13404
13405 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
13406
13407 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13408
13409 2011-08-16 Alan Mackenzie <acm@muc.de>
13410
13411 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13412 Correct, to avoid the inside of macros.
13413
13414 2011-08-16 Richard Stallman <rms@gnu.org>
13415
13416 * epa-mail.el: Handle GnuPG group definitions.
13417 (epa-mail-group-alist, epa-mail-group-modtime)
13418 (epa-mail-gnupg-conf-file): New variables.
13419 (epa-mail-parse-groups, epa-mail-sync-groups)
13420 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13421 (epa-mail-expand-recipients): New functions.
13422 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13423
13424 * mail/rmail.el (rmail-epa-decrypt): New command.
13425
13426 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13427 Don't bind buffer-read-only, just inhibit-read-only.
13428 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13429 (epa-decrypt-armor-in-region): Make error message clearer.
13430
13431 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13434 and "a2b" to "ab" for `prefix'.
13435
13436 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
13437
13438 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13439 filter groups.
13440 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13441 Fourquet (Bug#8804).
13442
13443 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
13444
13445 * startup.el (argi): Declare as global variable (bug#9275).
13446
13447 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
13448
13449 * subr.el (string-mark-left-to-right): Search the entire string
13450 for RTL script, not just the terminating character. Doc fix.
13451
13452 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13453
13454 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13455 New function.
13456 (js--regexp-literal, js-syntax-propertize-function): Remove.
13457 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13458 (js-mode-map): Don't rebind electric keys.
13459 (js-insert-and-indent): Remove.
13460 (js-mode): Setup electric-layout and electric-indent instead.
13461
13462 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13463
13464 2011-08-12 Daiki Ueno <ueno@unixuser.org>
13465
13466 * epa.el (epa-progress-callback-function): Fix the logic of
13467 displaying progress.
13468 * epa-file.el (epa-file-insert-file-contents): Make progress
13469 display more user-friendly.
13470 (epa-file-write-region): Ditto.
13471
13472 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
13473
13474 * subr.el (string-mark-left-to-right): New function.
13475
13476 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13477 Use string-mark-left-to-right.
13478 (list-buffers-noselect): Caller changed.
13479
13480 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13481 Use string-mark-left-to-right.
13482 (tabulated-list-print): Recenter after moving point.
13483
13484 2011-08-10 Juri Linkov <juri@jurta.org>
13485
13486 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13487 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13488 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13489
13490 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
13491
13492 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13493 (Bug#7554).
13494
13495 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
13496
13497 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13498 character. (Bug#6594)
13499
13500 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13503 (image-dired--with-db-file): New macro.
13504 (image-dired-write-tags, image-dired-remove-tag)
13505 (image-dired-create-gallery-lists, image-dired-write-comments)
13506 (image-dired-get-comment, image-dired-mark-tagged-files)
13507 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13508 (image-dired-gallery-generate): Use insert-file-contents.
13509
13510 * time.el (display-time-world-list, display-time-world-display):
13511 * time-stamp.el (time-stamp-string):
13512 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13513 set-time-zone-rule (Bug#7337).
13514
13515 2011-08-08 Daiki Ueno <ueno@unixuser.org>
13516
13517 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13518 (epg-error-to-string, epg-errors-to-string): New function.
13519 (epg-wait-for-completion): Reverse errors list.
13520 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13521 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13522 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13523 (epg-sign-keys, epg-generate-key-from-file)
13524 (epg-generate-key-from-string): Format errors by using
13525 epg-errors-to-string (bug#9255).
13526 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13527
13528 2011-08-07 Juri Linkov <juri@jurta.org>
13529
13530 * faces.el (list-faces-display): Remove extra angle bracket
13531 from `help-mode-map'.
13532
13533 * info.el (Info-history-toc-nodes): Doc fix.
13534
13535 * longlines.el (longlines-mode): Doc fix.
13536
13537 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13540 of statements and in a few more cases (bug#9183).
13541
13542 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13543 New functions.
13544 (cl-transform-lambda): Use them (bug#9239).
13545
13546 2011-08-05 Martin Rudalics <rudalics@gmx.at>
13547
13548 * window.el (display-buffer-same-window)
13549 (display-buffer-same-frame, display-buffer-other-window)
13550 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13551 (pop-to-buffer-other-window)
13552 (pop-to-buffer-same-frame-other-window)
13553 (pop-to-buffer-other-frame): Make them defuns.
13554 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13555
13556 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * subr.el (make-composed-keymap): Move from C. Change calling
13559 convention, and improve docstring to bring attention to a subtle point.
13560 * minibuffer.el (completing-read-default): Adjust accordingly.
13561
13562 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
13563
13564 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13565 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13566
13567 * net/trampver.el: Update release number.
13568
13569 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13572 "in" (bug#9190).
13573
13574 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13575
13576 * mail/sendmail.el (sendmail-query-once): Restore the current
13577 buffer after querying (bug#9074).
13578
13579 * dired.el (dired-flagged): Use different faces for marked and
13580 flagged files (bug#6117).
13581
13582 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13583 (bug#4433).
13584
13585 * ido.el (ido-mode): Switch off the message if called
13586 non-interactively.
13587
13588 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13589 before 587, since it appears that that's more likely to work for
13590 more people.
13591
13592 * cus-edit.el (custom-file): When running under emacs -q, always
13593 refuse to save the customizations, even if the .emacs file doesn't
13594 exist.
13595
13596 * info.el: Remove the `Info-beginning-of-buffer' function
13597 (bug#8325).
13598
13599 * net/network-stream.el (network-stream-open-starttls):
13600 Use `starttls-available-p' to see whether starttls.el can be used.
13601
13602 2011-08-01 Martin Rudalics <rudalics@gmx.at>
13603
13604 * window.el (display-buffer-in-window): Don't set dedicated status
13605 of window here (Bug#9215).
13606 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13607 (display-buffer-pop-up-side-window)
13608 (display-buffer-in-side-window): Set dedicated status of window here.
13609
13610 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13613 before binding generated-autoload-file.
13614
13615 2011-08-01 Deniz Dogan <deniz@dogan.se>
13616
13617 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13618
13619 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
13620
13621 Sync with Tramp 2.2.2.
13622
13623 * net/trampver.el: Update release number.
13624
13625 2011-07-30 Juri Linkov <juri@jurta.org>
13626
13627 * dired-aux.el (dired-touch-initial): Remove function.
13628 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13629 current time, and `default' to the last modification time of the
13630 current marked file (bug#6887).
13631
13632 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13633
13634 * simple.el (goto-line): Use string-to-number to provide a
13635 numeric argument to read-number (bug#9163).
13636
13637 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13638
13639 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13640 connection process, it could be nil.
13641
13642 2011-07-27 Leo Liu <sdl.web@gmail.com>
13643
13644 Simplify url handling in rcirc-mode.
13645
13646 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13647 (rcirc-browse-url-at-mouse): Remove.
13648 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13649
13650 2011-07-26 Alan Mackenzie <acm@muc.de>
13651
13652 Fontify bitfield declarations properly.
13653
13654 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13655 (c-symbol-chars): Now exported as a lang variable.
13656 (c-not-primitive-type-keywords): New lang variable.
13657
13658 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13659 QT keyword "more" to prevent "more slots: ...." being spuriously
13660 parsed as a bitfield declaration.
13661
13662 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13663 Refactor and enhance to handle bitfield declarations.
13664 (c-punctuation-in): New function.
13665 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13666 declarations properly.
13667
13668 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13669
13670 * calendar/icalendar.el (icalendar--all-events): Take care of
13671 multiple vcalendars in a single file.
13672 (icalendar--convert-float-to-ical): Checkdoc fixes.
13673
13674 2011-07-25 Deniz Dogan <deniz@dogan.se>
13675
13676 * image.el (insert-image): Clarifying docstring.
13677
13678 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13679
13680 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13681 `tramp-send-command-and-check' if there is no error.
13682 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13683
13684 2011-07-22 Alan Mackenzie <acm@muc.de>
13685
13686 Prevent cc-langs.elc being loaded at run time.
13687
13688 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13689 cc-langs.
13690
13691 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13692 "(require 'cc-langs)". Quote a form so it will evaluate at
13693 (cc-mode's) compilation time.
13694
13695 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13696
13697 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13698 loading. (Bug#9114)
13699
13700 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13701
13702 * window.el (display-buffer-pop-up-window)
13703 (display-buffer-pop-up-side-window)
13704 (display-buffer-in-side-window): Call display-buffer-set-height
13705 and display-buffer-set-width after setting the new window's
13706 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13707
13708 2011-07-20 Sam Steingold <sds@gnu.org>
13709
13710 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13711 (etags-tags-included-tables): Call `convert-standard-filename' on
13712 the file names contained in TAGS so that windows Emacs can handle
13713 TAGS files created by cygwin ctags.
13714
13715 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13716
13717 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13718 which apparently didn't work.
13719
13720 2011-07-19 Roland Winkler <winkler@gnu.org>
13721
13722 * proced.el (proced-send-signal): For *Marked Processes* buffer
13723 put point at beginning of buffer.
13724
13725 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13726
13727 * proced.el (proced-format): Make header lines align with the text
13728 (bug#1779).
13729
13730 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13731
13732 * view.el (view-buffer): Allow running in `special' modes if we're
13733 visiting a file (bug#8615).
13734
13735 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13736
13737 * window.el (display-buffer-alist-of-strings-p)
13738 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13739 New functions.
13740 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13741 more accurately.
13742
13743 2011-07-18 Alan Mackenzie <acm@muc.de>
13744
13745 Fontify declarators properly when, e.g., a jit-lock chunk begins
13746 inside a declaration.
13747
13748 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13749
13750 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13751 New function.
13752 (c-complex-decl-matchers): Insert reference to
13753 c-font-lock-enclosing-decls.
13754
13755 * progmodes/cc-engine.el (c-backward-single-comment):
13756 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13757 to nil around calls to (forward-comment -1).
13758
13759 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13760
13761 * image.el (put-image): Doc typo fix.
13762
13763 * progmodes/etags.el (tags-search): Doc typo fix.
13764
13765 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13766 password if we get errors 550 to 554.
13767
13768 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13769
13770 * net/gnutls.el (gnutls-log-level): Remove.
13771
13772 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13773 indentation character (bug#6380).
13774
13775 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13776
13777 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13778 to clarify what the problem is (bug#4291).
13779
13780 * simple.el (current-kill): Clarify what
13781 `interprogram-paste-function' does (bug#7500).
13782 (auto-fill-mode): Document `auto-fill-function' in relation to
13783 `auto-fill-mode' (bug#2470).
13784
13785 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13786
13787 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13788 method if slot is read-only (bug#9035).
13789
13790 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13791
13792 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13793 * window.el (pop-to-buffer): Select window used even if it was
13794 selected before, see discussion of (Bug#8615), (Bug#6954).
13795 Pass argument NORECORD on to select-frame-set-input-focus.
13796
13797 2011-07-15 Glenn Morris <rgm@gnu.org>
13798
13799 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13800 Respect help-form.
13801
13802 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13803
13804 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13805 (gnutls-negotiate): Use it.
13806
13807 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13808
13809 * net/gnutls.el (gnutls-negotiate):
13810 Upcase `gnutls-algorithm-priority'.
13811
13812 2011-07-15 Glenn Morris <rgm@gnu.org>
13813
13814 * jka-compr.el (jka-compr-verbose): Move from here...
13815 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13816 Add missing :version tag.
13817 * info.el: No need to require jka-compr when compiling.
13818
13819 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13820
13821 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13822 (gnutls-negotiate): Use it.
13823
13824 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13825
13826 * info.el (Info-beginning-of-buffer): New command.
13827 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13828 announcing `b' as the key (bug#8325).
13829 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13830
13831 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13832
13833 * international/mule-cmds.el
13834 (describe-specified-language-support): Make the error message
13835 clearer (bug#8905).
13836
13837 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13838
13839 * isearch.el (isearch-barrier): Add a doc string, since it's
13840 mentioned in a function doc string (bug#8678).
13841
13842 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13843
13844 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13845 buffer argument (Bug#9083) and self-identifying label argument.
13846
13847 2011-07-15 Glenn Morris <rgm@gnu.org>
13848
13849 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13850
13851 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13852
13853 * man.el (Man-fontify-manpage): Fix message when formatting the
13854 man page (bug#7929).
13855
13856 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13857
13858 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13859 argument LRM; if non-nil, append an invisible LRM character to the
13860 buffer name.
13861 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13862 last argument non-nil, when formatting buffer names.
13863 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13864 paragraph direction.
13865
13866 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13867
13868 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13869 the man page name (bug#7929).
13870
13871 * image.el (put-image): Mention the `put-image' overlay property
13872 (bug#7834).
13873
13874 * scroll-bar.el (set-scroll-bar-mode): Mention that
13875 `scroll-bar-mode' lists the values (bug#7772).
13876
13877 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13878 command (bug#7729).
13879
13880 * rect.el (apply-on-rectangle): Return the point after the last
13881 operation.
13882 (string-rectangle): Go to the point after the last operation
13883 (bug#7522).
13884
13885 * printing.el (pr-toggle-region): Clarify the documentation
13886 slightly (bug#7493).
13887
13888 * time.el (display-time-update):
13889 Allow `display-time-mail-function' to return nil (bug#7158).
13890 Fix suggested by Detlev Zundel.
13891
13892 * vc/diff.el (diff): Clarify the order the file names are read
13893 (bug#7111).
13894
13895 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13896 the doc string (bug#7015).
13897
13898 * font-lock.el (font-lock-maximum-decoration): Mention what
13899 numeric levels mean (bug#6935).
13900
13901 * startup.el (initial-buffer-choice): Don't mention the `none'
13902 selection, which is against policy.
13903
13904 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13905
13906 * window.el (display-buffer-normalize-special):
13907 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13908
13909 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13910
13911 * subr.el (version<, version<=, version=): Mention "-CVS" and
13912 "-12345" alpha version numbers.
13913
13914 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13915
13916 * bindings.el: Add advertised binding for set-mark-command
13917 (Bug#5772).
13918
13919 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * bindings.el (mode-line-other-buffer):
13922 * bookmark.el (bookmark-bmenu-2-window):
13923 * bs.el (bs-cycle-next, bs-cycle-previous):
13924 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13925 switch-to-buffer.
13926
13927 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13928 Delete.
13929
13930 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13931
13932 * follow.el (follow-debug-message, follow-redisplay):
13933 * jka-cmpr-hook.el (with-auto-compression-mode):
13934 Fix typos in docstrings.
13935
13936 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13937
13938 * subr.el (with-silent-modifications): Clarify somewhat what the
13939 macro inhibits (bug#6525).
13940
13941 * simple.el (eval-expression): Note what it does if called
13942 interactively (bug#6495).
13943
13944 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13945
13946 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13947 Use pop-to-buffer buffer-or-name if it is nil.
13948
13949 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13950 Remove switch-to-buffer.
13951
13952 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13953
13954 * files.el (make-directory): Clarify that an error will be raised
13955 if there's an error (bug#6397).
13956
13957 * startup.el (initial-buffer-choice): Add `none' as a choice
13958 (bug#6234).
13959
13960 * subr.el (add-hook): Clarify section about buffer-local hooks
13961 (bug#6218).
13962
13963 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13964
13965 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13966
13967 * tabify.el (untabify): Preserve the current column so that point
13968 doesn't move (bug#6032).
13969
13970 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13971
13972 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13973 Rewrite to avoid awkward possessive "s" (bug#5986).
13974
13975 2011-07-13 Glenn Morris <rgm@gnu.org>
13976
13977 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13978 (dired-insert-directory): Give a message the first time
13979 if ls is found not to support --dired.
13980
13981 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13982
13983 * simple.el (toggle-truncate-lines): Clarify what is toggled
13984 (bug#5580). Text by Drew Adams.
13985
13986 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13987
13988 * simple.el (blink-matching-open): Make the error message from the
13989 last change less verbose.
13990
13991 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13992
13993 * font-lock.el (font-lock-comment-face): Use the high contrast
13994 "yellow" color for font-lock-comment-face on low color terminals
13995 using a dark background color (bug#4221).
13996
13997 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13998
13999 * dired.el (dired-insert-set-properties): Make the doc string
14000 reflect what it does now (bug#5325).
14001
14002 * simple.el (blink-matching-open): Say that we were unable to find
14003 the match within the limit, if we're limited (bug#5122).
14004
14005 * international/mule-cmds.el (prefer-coding-system): Add an
14006 example (bug#4869).
14007
14008 * progmodes/etags.el (tags-search): Document `file-list-form'
14009 (bug#4731).
14010
14011 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14012
14013 * net/browse-url.el (browse-url-default-browser)
14014 (browse-url-browser-function): Make the default browser choice a
14015 bit more logical (bug#4300). Also clean up the doc string.
14016
14017 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14018
14019 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14020 binary endings (bug#4440).
14021
14022 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023
14024 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14025 which can be pretty annoying (bug#8971).
14026
14027 * jka-compr.el (jka-compr-verbose): New variable, and use
14028 throughout (bug#8971).
14029
14030 * info.el (Info-find-file): Fall back on the installation
14031 directory if we can't find the info node anywhere else.
14032
14033 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14034
14035 * vc/vc.el (vc-revert-file):
14036 Don't set file time-stamp in the past. (Bug#5181)
14037
14038 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14039
14040 * files.el (after-find-file): Give a better error message when
14041 trying to find a symlink that points to a file that doesn't exist
14042 (bug#4398).
14043
14044 * progmodes/cc-vars.el: Remove (probably) misleading comment
14045 (bug#4396).
14046
14047 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14048
14049 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14050
14051 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14052
14053 * mouse-sel.el: Hack restoring functionality, while keeping
14054 compatibility with 2010-07-03 changes to mouse selection.
14055 (mouse-sel-primary-overlay): New var.
14056 (mouse-sel-selection-alist): Use it.
14057 (mouse-sel-mode): Doc fix; remove points that are default features
14058 of mouse.el.
14059
14060 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14061
14062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14063 Fix previous fix (bug#2490).
14064
14065 2011-07-12 Roland Winkler <winkler@gnu.org>
14066
14067 * textmodes/bibtex.el (bibtex-initialize):
14068 Use pop-to-buffer-same-window.
14069 (bibtex-search-entries): Fix interactive call.
14070
14071 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14072
14073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14074 Fontise bytecomp Error lines more correctly (bug#2490).
14075 Fix suggested by Johan Bockgård.
14076
14077 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14078
14079 * dired-x.el (dired-guess-default): Use `delete-dups'.
14080
14081 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14082
14083 * dired.el (dired-mark-prompt):
14084 * dired-aux.el (dired-read-shell-command): Doc fix.
14085
14086 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14087
14088 * mail/sendmail.el (sendmail-query-once):
14089 Use `customize-save-variable' unconditionally, now that it works under
14090 emacs -Q.
14091
14092 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14093
14094 * cus-edit.el (custom-file): Take an optional no-error variable.
14095 (customize-save-variable): Set the variable, and give a warning if
14096 running under "emacs -q".
14097
14098 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14099
14100 * loadhist.el (unload-feature-special-hooks):
14101 Add `auto-coding-functions', `fill-nobreak-predicate' and
14102 `find-directory-functions' (bug#5327).
14103
14104 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14105
14106 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14107
14108 * cus-edit.el (custom-guess-name-alist): -alist variables should
14109 use the `alist' type (bug#3120). Suggested by Drew Adams.
14110
14111 * printing.el: Add documentation to all the `pr-toggle-' commands.
14112
14113 2011-07-11 Leo Liu <sdl.web@gmail.com>
14114
14115 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14116 backends where it makes sense (bug#2623).
14117
14118 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14119
14120 * dired-x.el (dired-guess-default): Remove duplicate shell command
14121 entries (bug#2028).
14122 (dired-guess-default): Fix grammar in doc string (bug#2028).
14123 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14124
14125 * subr.el (remove-duplicates): New conveniency function.
14126
14127 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14128
14129 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14130 (bug#1526).
14131
14132 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14133
14134 * window.el (display-buffer-normalize-default): Don't invert
14135 meaning of even-window-heights. Reported by Eli Zaretskii
14136 <eliz@gnu.org>.
14137
14138 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14139
14140 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14141
14142 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14143
14144 * window.el (display-buffer): Fix arguments to
14145 display-buffer-reuse-window in last change.
14146
14147 * faces.el (link): Use a less saturated blue on light backgrounds.
14148
14149 * startup.el (fancy-startup-text, fancy-about-text)
14150 (fancy-startup-tail): Use font-lock faces, for background safety.
14151
14152 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14153
14154 * emulation/viper-cmd.el (viper-change-state-to-vi):
14155 Limit triggering of abbrev expansion (Bug#9038).
14156
14157 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14158
14159 * window.el (display-buffer-default-specifiers): Remove.
14160 (display-buffer-macro-specifiers): Remove default specifiers.
14161 (display-buffer-alist): Default to nil.
14162 (display-buffer-reuse-window): New optional argument other-window.
14163 (display-buffer-pop-up-window): Allow splitting internal
14164 windows. Check whether a live window was created.
14165 (display-buffer-other-window-means-other-frame)
14166 (display-buffer-normalize-arguments): Rename to
14167 display-buffer-normalize-argument and rewrite. Set the
14168 other-window specifier.
14169 (display-buffer-normalize-special): New function.
14170 (display-buffer-normalize-options): Rename to
14171 display-buffer-normalize-default and rewrite.
14172 (display-buffer-normalize-options-inhibit): Remove.
14173 (display-buffer-normalize-specifiers): Rewrite.
14174 (display-buffer): Process other-window specifier and call
14175 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14176 more faithfully.
14177 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14178 (display-buffer-alist-set): Don't handle 'unset default values.
14179 (display-buffer-in-window, display-buffer-alist-set):
14180 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14181 <tassilo@member.fsf.org>.
14182
14183 2011-07-09 Leo Liu <sdl.web@gmail.com>
14184
14185 * register.el (insert-register): Restore accidental change on
14186 2011-06-26. (Bug#9028)
14187
14188 2011-07-09 Glenn Morris <rgm@gnu.org>
14189
14190 * subr.el (remq): Handle the empty list. (Bug#9024)
14191
14192 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14193
14194 * mail/sendmail.el (send-mail-function): No longer delay custom
14195 initialization.
14196 * custom.el (custom-initialize-delay): Doc fix.
14197
14198 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14201
14202 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14203
14204 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14205 human-friendly prompt.
14206
14207 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14210 provided by a particular plugin.
14211
14212 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14213
14214 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14215 save customizations (with "emacs -Q"), just set the variable
14216 instead of erroring out.
14217
14218 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14219
14220 2011-07-08 Juri Linkov <juri@jurta.org>
14221
14222 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14223 (archive-zip-update-case): Use 7z if found by `executable-find'.
14224 The order of searching the available programs is the same as in
14225 `archive-zip-extract' (bug#8968).
14226
14227 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14228
14229 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14230 (menu-bar-options-menu): Tweak descriptions.
14231
14232 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14233
14234 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14235 menu items into verb phrases (bug#1421). Also refill to fit under
14236 80 columns.
14237
14238 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14241 (Info-read-node-name): Doc fix (Bug#1084).
14242
14243 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14244 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14245 (end-of-sexp, beginning-of-sexp)
14246 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14247 (forward-symbol, forward-same-syntax, word-at-point)
14248 (sentence-at-point): Doc fix (Bug#1144).
14249
14250 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14251
14252 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14253 should cover it (bug#1281).
14254
14255 * cus-edit.el (custom-show): Mark as obsolete.
14256
14257 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14258 negotiation fails, then possibly try again with a non-encrypted
14259 connection (bug#9017).
14260
14261 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14262 be used.
14263
14264 2011-07-07 Richard Stallman <rms@gnu.org>
14265
14266 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14267 property, and handle its changed format.
14268 Look for the correct line number.
14269 Use file's line contents (but not past first =) to find
14270 correct line in message.
14271
14272 2011-07-07 Kenichi Handa <handa@m17n.org>
14273
14274 * international/characters.el (build-unicode-category-table):
14275 Delete it.
14276 (unicode-category-table): Set it by unicode-property-table-internal.
14277
14278 * international/mule-cmds.el (char-code-property-alist): Move to
14279 to src/chartab.c.
14280 (get-char-code-property): Call unicode-property-table-internal to
14281 load a file. Call get-unicode-property-internal where necessary.
14282 (put-char-code-property): Call unicode-property-table-internal to
14283 load a file. Call put-unicode-property-internal where necessary.
14284 put-unicode-property-internal where necessary.
14285 (char-code-property-description):
14286 Call unicode-property-table-internal to load a file.
14287
14288 * international/charprop.el:
14289 * international/uni-bidi.el:
14290 * international/uni-category.el:
14291 * international/uni-combining.el:
14292 * international/uni-comment.el:
14293 * international/uni-decimal.el:
14294 * international/uni-decomposition.el:
14295 * international/uni-digit.el:
14296 * international/uni-lowercase.el:
14297 * international/uni-mirrored.el:
14298 * international/uni-name.el:
14299 * international/uni-numeric.el:
14300 * international/uni-old-name.el:
14301 * international/uni-titlecase.el:
14302 * international/uni-uppercase.el: Regenerate.
14303
14304 * loadup.el: Load international/charprop.el before
14305 international/characters.
14306
14307 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
14308
14309 * window.el (next-buffer, previous-buffer): Signal an error if
14310 called from a minibuffer window.
14311
14312 * bindings.el: Revert 2011-07-04 change.
14313
14314 2011-07-06 Richard Stallman <rms@gnu.org>
14315
14316 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14317 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14318 Treat markers like ints.
14319 (rmail-mime-entity): Doc fix.
14320
14321 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14322
14323 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14324 defcustom again for backwards compatibility.
14325
14326 * simple.el (shell-command-on-region): Fill.
14327
14328 * dired-aux.el (dired-kill-line): Add a doc string.
14329
14330 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14331 to "\\sw\\|\\s_" (bug#358).
14332
14333 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14334 (dired-unmark-backward): Ditto.
14335 (dired-flag-backup-files): Ditto.
14336
14337 * dired-x.el (dired-mark-sexp): Ditto.
14338
14339 2011-07-06 Richard Stallman <rms@gnu.org>
14340
14341 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14342 (rmail-mime-entity): New arg TRUNCATED.
14343 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14344 New functions.
14345 (rmail-mime-save): Warn if entity is truncated.
14346 (rmail-mime-toggle-hidden): Likewise, for showing.
14347 (rmail-mime-process-multipart): Record when an entity is truncated.
14348
14349 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14350 if ENTITY is a string.
14351
14352 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14353
14354 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14355 of faces when `M-C-x'-ing their definitions (bug#8378).
14356 Also clean up the code slightly.
14357
14358 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14359 because that makes the colors go away.
14360
14361 * mail/sendmail.el (send-mail-function): Change the default to
14362 `sendmail-query-once'.
14363 (sendmail-query-once): Add an autoload cookie.
14364
14365 * net/network-stream.el (network-stream-open-starttls): Try using
14366 a plain connection even if the server offered STARTTLS, and we
14367 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14368 capability. This should make smtpmail.el work in slightly more
14369 configurations.
14370
14371 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
14372
14373 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14374 New defun.
14375 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14376
14377 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14378
14379 * progmodes/sql.el: Version 3.0
14380 (sql-product-alist): Add product :completion-object,
14381 :completion-column, and :statement attributes.
14382 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14383 (sql-mode-syntax-table): Mark all punctuation.
14384 (sql-font-lock-keywords-builder): Temporarily remove fallback on
14385 ansi keywords.
14386 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14387 (sql-mode-oracle-font-lock-keywords): Improve.
14388 (sql-oracle-show-reserved-words): New function for development.
14389 (sql-product-font-lock): Simplify for source code buffers.
14390 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14391 New functions.
14392 (sql-highlight-product): Set product specific syntax table.
14393 (sql-mode-map): Add statement movement functions.
14394 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14395 New variable.
14396 (sql-statement-regexp, sql-beginning-of-statement)
14397 (sql-end-of-statement, sql-signum): New functions.
14398 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14399 (sql-show-sqli-buffer): Bug fix.
14400 (sql-interactive-mode): Store connection data as buffer local.
14401 (sql-connect): Add NEW-NAME parameter. Redesign interaction
14402 with sql-interactive-mode.
14403 (sql-save-connection): Save buffer local settings.
14404 (sql-connection-menu-filter): Change menu entry name.
14405 (sql-product-interactive): Bug fix.
14406 (sql-preoutput-hold): New variable.
14407 (sql-interactive-remove-continuation-prompt): Bug fixes.
14408 (sql-debug-redirect): New variable.
14409 (sql-str-literal): New function.
14410 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14411 Redesign.
14412 (sql-oracle-save-settings, sql-oracle-restore-settings)
14413 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14414 (sql-completion-object, sql-completion-column)
14415 (sql-completion-sqlbuf): New variables.
14416 (sql-build-completions-1, sql-build-completions)
14417 (sql-try-completion): New functions.
14418 (sql-read-table-name): Use them.
14419 (sql-contains-names): New buffer local variable.
14420 (sql-list-all, sql-list-table): Use it.
14421 (sql-oracle-completion-types): New variable.
14422 (sql-oracle-completion-object, sql-sqlite-completion-object)
14423 (sql-postgres-completion-object): New functions.
14424
14425 2011-07-06 Glenn Morris <rgm@gnu.org>
14426
14427 * window.el (pop-to-buffer): Doc fix.
14428
14429 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
14430
14431 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14432
14433 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
14434
14435 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14436
14437 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14438
14439 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
14440
14441 * button.el (button): Inherit from link face. Suggested by Dan
14442 Nicolaescu.
14443
14444 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * progmodes/gdb-mi.el: Fit in 80 columns.
14447 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14448 switch-to-buffer.
14449
14450 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14451 if imenu is simply not configured (bug#8941).
14452
14453 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14454
14455 * allout.el (allout-post-undo-hook): New allout outline-change
14456 event hook to signal undo activity.
14457 (allout-post-command-business): Run allout-post-undo-hook if an
14458 undo just occurred.
14459 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14460 * allout-widgets.el (allout-widgets-after-undo-function):
14461 Ensure the integrity of the current item's decoration after it has been
14462 in the vicinity of an undo.
14463 (allout-widgets-mode): Include allout-widgets-after-undo-function
14464 on the new allout-post-undo-hook.
14465
14466 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14469 Let define-derived-mode define it.
14470 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14471 cycles of abbrev-table inheritance (bug#8998).
14472
14473 2011-07-05 Roland Winkler <winkler@gnu.org>
14474
14475 * textmodes/bibtex.el: Add support for biblatex.
14476 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14477 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14478 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14479 (bibtex-entry-alist, bibtex-field-alist): New variables.
14480 (bibtex-entry-field-alist): Obsolete alias for
14481 bibtex-BibTeX-entry-alist.
14482 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14483 (bibtex-set-dialect): New command.
14484 (bibtex-entry-type, bibtex-entry-head)
14485 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14486 Bind via bibtex-set-dialect.
14487 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14488 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14489 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14490 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14491 Define via bibtex-set-dialect.
14492 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14493 Obey bibtex-no-opt-remove-re.
14494 (bibtex-vec-push, bibtex-vec-incr): New functions.
14495 (bibtex-format-entry, bibtex-field-list)
14496 (bibtex-print-help-message, bibtex-validate)
14497 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14498
14499 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 * progmodes/compile.el (compilation-goto-locus):
14502 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14503 * bs.el (bs-cycle-next, bs-cycle-previous):
14504 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14505 * bindings.el (mode-line-other-buffer):
14506 * autoinsert.el (auto-insert):
14507 * arc-mode.el (archive-extract):
14508 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14509
14510 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14511
14512 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14513 Fix check of `emacs-lock-unlockable-modes'.
14514 Coerce true values of `emacs-lock--try-unlocking' to t.
14515
14516 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14517
14518 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14519 * emacs-lock.el: New file.
14520
14521 2011-07-05 Julien Danjou <julien@danjou.info>
14522
14523 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14524 than `boundp' to check if face is set.
14525
14526 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
14527
14528 * register.el (registerv-make):
14529 * window.el (window-min-height): Fix typos in docstrings.
14530
14531 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14532
14533 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14534 Update doc string.
14535
14536 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14537
14538 * server.el (server-execute): Catch quit and call
14539 `server-return-error' to pass the error back to emacsclient and
14540 close the connection (bug#8942).
14541
14542 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14543
14544 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14545 insecure exception for current topic. Also note that auto-saves
14546 are handled differently.
14547
14548 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14549 State variables for tracking auto-save inhibition situation.
14550
14551 (allout-write-contents-hook-handler): Rename from
14552 'allout-write-file-hook-handler', and describe how it depends on
14553 write-contents-functions sensitivity to non-nil value to prevent
14554 file write.
14555
14556 (allout-auto-save-hook-handler): Remove. auto-save does not check
14557 this in individual buffers, only in the starting buffer, so this
14558 is not the right way for us to inhibit auto-save in a buffer
14559 according to its condition.
14560
14561 (allout-mode): Use new allout-write-contents-hook-handler, and
14562 only with write-contents-functions. Remove auto-save provisions -
14563 they're implemented elsewhere.
14564
14565 (allout-before-change-handler): If undo is in progress, note that
14566 for attention of allout-post-command-business.
14567
14568 (allout-post-command-business): If the command we're following was
14569 an undo, check for change in the status of encrypted items and
14570 adjust auto-save inhibitions accordingly.
14571
14572 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14573 according to whether there are or aren't any plain-text topics
14574 pending encryption.
14575
14576 (allout-inhibit-auto-save-info-for-decryption):
14577 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14578 if there are plain-text topics pending encryption.
14579
14580 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14581 buffer-saved-size and some allout state to not inhibit auto-saves
14582 if there are no longer any plain-text topics pending encryption.
14583
14584 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14585 No longer provide for exemption of the current topic.
14586
14587 2011-07-04 Juri Linkov <juri@jurta.org>
14588
14589 Add 7z operations to delete and save changed members (bug#8968).
14590 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14591 New defcustoms.
14592 (archive-7z-write-file-member): New function.
14593 (archive-7z-summarize): Fix the number of dashes in the
14594 listing output.
14595
14596 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14597
14598 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14599 (bug#8958).
14600
14601 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
14602
14603 * bindings.el: Ignore next-buffer and previous-buffer in
14604 minibuffer-local-map.
14605
14606 * font-lock.el (font-lock-builtin-face): Change light background
14607 color to dark slate blue (Bug#6693).
14608
14609 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14610
14611 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14612
14613 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14616 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14617 Add switch-to-buffer.
14618
14619 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14620
14621 * isearch.el (isearch-search-fun-function): Clarify further the
14622 meaning of the function returned.
14623
14624 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14625
14626 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14627
14628 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14629 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14630 Use it.
14631 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14632 `tramp-default-remote-path' does not exist.
14633 (tramp-send-command-and-read): New optional argument NOERROR.
14634 (tramp-open-connection-setup-interactive-shell)
14635 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14636 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14637 (tramp-process-sentinel): Flush also process' connection property.
14638 (tramp-sh-handle-start-file-process): Do not set process
14639 sentinel. It is done now ...
14640 (tramp-maybe-open-connection): ... here. (Bug#8929)
14641
14642 2011-07-04 MON KEY <monkey@sandpframing.com>
14643
14644 * play/animate.el (animate-string): Doc fixes and allow changing
14645 the buffer name (bug#5417).
14646
14647 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14648
14649 * play/animate.el (animation-buffer-name): Rename from *animate*.
14650
14651 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14652
14653 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14654 This is simpler and helps future-proof the code.
14655 (timer-until): Use time-subtract and float-time.
14656 (timer--time-less-p): Use time-less-p.
14657
14658 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14659
14660 * type-break.el (timep): Use the value of `float-time' to avoid a
14661 byte-compiler warning.
14662
14663 * server.el (server-eval-and-print): Return any result, even nil.
14664
14665 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14666
14667 * type-break.el: Accept time formats that the builtins accept.
14668 (timep, type-break-time-difference): Accept any format that
14669 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14670 This is simpler and helps future-proof the code.
14671 (type-break-time-difference): Round rather than ignoring
14672 subseconds components.
14673
14674 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14675
14676 * info.el (Info-apropos-matches): Make non-interactive, since it
14677 doesn't seem to do anything useful as a command (bug#8829).
14678
14679 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14680
14681 * frame.el (frame-background-mode, frame-set-background-mode):
14682 Move from faces.el.
14683 (frame-default-terminal-background): New function.
14684
14685 * custom.el (custom-push-theme): Don't record faces in `changed'
14686 theme; this doesn't work correctly for per-frame face settings.
14687 (disable-theme): Use face-set-after-frame-default to reset faces.
14688 (custom--frame-color-default): New function.
14689
14690 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14691
14692 * dired.el (dired-flagging-regexp): Remove unused variable
14693 (bug#8769).
14694
14695 2011-03-29 Kevin Ryde <user42@zip.com.au>
14696
14697 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14698 `perl-Test2' extend to match possible "fail #N" rep count
14699 (bug#8377).
14700
14701 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14702
14703 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14704 `smtpmail-via-smtp' now returns the error instead of nil.
14705
14706 * isearch.el (isearch-search-fun-function): Clarify the doc string
14707 (bug#8101).
14708
14709 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14710
14711 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14712 unnecessary spaces (bug#8987).
14713
14714 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14715
14716 * net/network-stream.el (open-network-stream): Use the
14717 :end-of-capability command thoughout.
14718
14719 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14720
14721 * net/network-stream.el (open-network-stream): Add the
14722 :end-of-capability command parameter, used by pop3.el.
14723
14724 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14725
14726 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14727
14728 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14729 for list)" (bug#6475).
14730
14731 * files.el (file-expand-wildcards): Ignore non-readable
14732 sub-directories while trying to find matches instead of signaling
14733 an error (bug#6297).
14734
14735 * man.el (Man-reference-regexp): Allow matching possible
14736 word-wrapped references (bug#6289).
14737
14738 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14739 for consistency with the other vc buffers (bug#6197).
14740 (vc-checkin): Ditto.
14741
14742 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14743
14744 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14745
14746 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14747
14748 * custom.el (defcustom): Clarify that :set is only used in the
14749 Customize user interface (bug#6089).
14750
14751 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14752 associated with a file, refuse to run instead of erroring out
14753 (bug#6084).
14754
14755 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14756 the doc string, since it appears that using `fill-column' always
14757 controls the width (bug#7845).
14758
14759 * simple.el (shell-command-on-region): Say where the error output
14760 went if `shell-command-default-error-buffer' is set (bug#6857).
14761
14762 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14763
14764 * allout.el (allout-yank-processing): Adjust cursor position for
14765 backwards-deleted space.
14766
14767 (allout-rebullet-heading): Register changes with
14768 allout-exposure-changed-hook, so the modified topic is properly
14769 decorated.
14770
14771 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14772
14773 * minibuffer.el (completion-in-region): Document PREDICATE
14774 (bug#7136).
14775
14776 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14777 of keyword/argument pairs (bug#6904).
14778
14779 * replace.el (multi-occur):
14780 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14781
14782 2011-07-02 Drew Adams <drew.adams@oracle.com>
14783
14784 * dired.el (dired-mark-if): Make the message about whether it's
14785 marking or unmarking clearer (bug#8523).
14786
14787 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14788
14789 * disp-table.el (display-table-print-array): New function.
14790 (describe-display-table): Use it to print the vectors more pretty
14791 (Bug#8859).
14792
14793 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14794
14795 * window.el (window-state-get-1): Don't assign clone numbers.
14796 Add clone-of item to list of window parameters.
14797 (window-state-put-2): Don't process clone numbers.
14798 (display-buffer-alist): Fix doc-string.
14799
14800 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * subr.el (remq): Don't allocate if it's not needed.
14803 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14804 (keymap--merge-bindings): New functions.
14805 (keymap-canonicalize): Use them to refine the canonicalization.
14806 * minibuffer.el (minibuffer-local-completion-map)
14807 (minibuffer-local-must-match-map): Move initialization from C.
14808 (minibuffer-local-filename-completion-map): Move initialization from C;
14809 don't inherit from anything here.
14810 (minibuffer-local-filename-must-match-map): Make obsolete.
14811 (completing-read-default): Use make-composed-keymap to combine
14812 minibuffer-local-filename-completion-map with either
14813 minibuffer-local-must-match-map or
14814 minibuffer-local-filename-completion-map.
14815
14816 2011-07-01 Glenn Morris <rgm@gnu.org>
14817
14818 * type-break.el (type-break-time-sum): Use dolist.
14819
14820 * textmodes/flyspell.el (flyspell-word-search-backward):
14821 Replace CL function.
14822
14823 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * mouse.el (mouse--strip-first-event): New function.
14826 (function-key-map): Use it to map fringe clicks to normal clicks
14827 by default.
14828
14829 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14830 (vc-bzr-revision-completion-table): Add support for annotate and date.
14831
14832 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14833 inherit from parent.
14834
14835 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14836
14837 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14838 (dired-show-file-type): Doc fixup (bug#8818).
14839
14840 * dired.el (dired-mode): Fix up the doc string as suggested by
14841 Drew Adams (bug#8817).
14842
14843 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14844 cookie, since the manual says that it should be possible to add
14845 this function to `find-file-hook' (bug#8709).
14846
14847 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14848
14849 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14850 here. Noted Ted Zlatanov as the maintainer.
14851 (cfengine-common-settings, cfengine-common-syntax): New functions
14852 to set up common things between `cfengine-mode' and
14853 `cfengine3-mode'.
14854 (cfengine3-mode): New mode.
14855 (cfengine3-defuns cfengine3-defuns-regex
14856 (cfengine3-class-selector-regex cfengine3-category-regex)
14857 (cfengine3-vartypes cfengine3-font-lock-keywords)
14858 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14859 (cfengine3-indent-line): Add from cfengine3.el.
14860
14861 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14862
14863 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14864
14865 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14866
14867 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14868
14869 * window.el (same-window-buffer-names, same-window-regexps)
14870 (same-window-p, special-display-frame-alist)
14871 (special-display-popup-frame, special-display-function)
14872 (special-display-buffer-names, special-display-regexps)
14873 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14874 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14875 (split-window-preferred-function, split-height-threshold)
14876 (split-width-threshold, even-window-heights)
14877 (display-buffer-mark-dedicated, window-splittable-p)
14878 (split-window-sensibly, window-safely-shrinkable-p):
14879 Un-obsolete.
14880 (display-buffer): Don't spread args with function specifier
14881 because special-display-popup-frame won't like it.
14882
14883 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14884
14885 Time-stamp simplifications and fixes.
14886 These improve accuracy slightly, and future-proof the code
14887 against some potential changes to current-time format.
14888
14889 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14890 by using time-since and float-time.
14891
14892 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14893 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14894 + NNN microseconds".
14895
14896 * type-break.el (type-break-time-sum): Rewrite using time-add.
14897
14898 * play/hanoi.el (hanoi-current-time-float): Remove.
14899 All uses replaced by float-time.
14900
14901 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14902 This yields a more-accurate answer.
14903 (rng-time-to-float): Remove; no longer needed.
14904
14905 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14906
14907 * calendar/timeclock.el (timeclock-seconds-to-time):
14908 Defalias to seconds-to-time, since they're the same thing.
14909
14910 * emacs-lisp/elp.el (elp-elapsed-time):
14911 * emacs-lisp/benchmark.el (benchmark-elapse):
14912 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14913
14914 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14915
14916 * window.el (bury-buffer): Don't iconify the only frame.
14917 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14918 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14919
14920 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14921
14922 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14923 Add mouse-yank-primary.
14924
14925 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14926
14927 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14928
14929 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14932 (find-library-name): Use it to find relative load names when provided
14933 absolute file name (bug#8803).
14934
14935 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14936
14937 * textmodes/flyspell.el (flyspell-word): Consider words that
14938 differ only in case as potential doublons (bug#5687).
14939
14940 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14941 Remove two rather uninteresting debugging-like messages to make
14942 debbugs.el more silent.
14943
14944 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14945 a password-like phrase.
14946
14947 2011-06-30 Masatake YAMATO <yamato@redhat.com>
14948
14949 * progmodes/cc-guess.el: New file.
14950
14951 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14952
14953 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14954 derived from `c-basic-common-init'.
14955
14956 * progmodes/cc-mode.el (top-level): Require cc-guess.
14957 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14958
14959 2011-06-30 Lawrence Mitchell <wence@gmx.li>
14960
14961 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14962
14963 2011-06-30 Alan Mackenzie <acm@muc.de>
14964
14965 * progmodes/cc-engine.el (c-guess-continued-construct):
14966 Correct the handling of template-args-cont, particularly for when font
14967 lock is disabled. Name this case as "CASE G".
14968
14969 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14970
14971 * allout.el (allout-yank-processing): Fix injection of extra space
14972 between bullet and non-whitespace character in first topic when
14973 pasting, ensuring that the actual spacing in the pasted topic
14974 following the bullet char is preserved. This extra space was
14975 causing pasted encrypted topics to get a decrypted status even
14976 when the content was actually still encrypted. Now the decryption
14977 status from before the paste is preserved.
14978
14979 (allout-flag-region): Set all allout overlays so they evaporate
14980 when reduced to zero length (evanescent), to prevent overlay
14981 leakage.
14982
14983 2011-06-30 Glenn Morris <rgm@gnu.org>
14984
14985 * w32-fns.el (w32-charset-info-alist): Declare.
14986
14987 * find-dired.el (find-grep-options): Simplify.
14988
14989 * term/ns-win.el (ns-set-resource): Declare.
14990
14991 * ses.el (row, col): Declare dynamic variables honestly.
14992
14993 * textmodes/reftex-parse.el (index-tags): Declare.
14994
14995 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
14996
14997 * cus-edit.el (customize-push-and-save): New function.
14998
14999 * files.el (hack-local-variables-confirm): Use it.
15000
15001 * custom.el (load-theme): New arg NO-CONFIRM.
15002 Use customize-push-and-save (Bug#8720).
15003 (custom-enabled-themes): Doc fix.
15004
15005 * cus-theme.el (customize-create-theme)
15006 (custom-theme-merge-theme): Callers to load-theme changed.
15007
15008 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15009
15010 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15011 short URLs have at least one dot in them (bug #7614).
15012
15013 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15014 nil, because using a pty is apparently too slow (bug #895).
15015
15016 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
15018 * mail/sendmail.el (sendmail-query-once): New function.
15019 (sendmail-query-once-function): New variable.
15020
15021 2011-06-29 Glenn Morris <rgm@gnu.org>
15022
15023 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15024
15025 * ses.el (top-level): Require cl when compiling.
15026 (ses-set-localvars): Fix error statement.
15027 Call it at compile time to silence a storm of warnings.
15028
15029 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15030
15031 * window.el (normalize-live-buffer): Rename to
15032 window-normalize-buffer.
15033 (normalize-live-frame): Rename to window-normalize-frame.
15034 (normalize-any-window): Rename to window-normalize-any-window.
15035 (normalize-live-window): Rename to window-normalize-live-window.
15036 (make-window-atom): Rename to window-make-atom.
15037 (window-resize-reset): Rename to window--resize-reset.
15038 (window-resize-reset-1): Rename to window--resize-reset-1.
15039 (resize-mini-window): Rename to window--resize-mini-window.
15040 (resize-subwindows-skip-p): Rename to
15041 window--resize-subwindows-skip-p.
15042 (resize-subwindows-normal): Rename to
15043 window--resize-subwindows-normal.
15044 (resize-subwindows): Rename to window--resize-subwindows.
15045 (resize-other-windows): Rename to window--resize-siblings.
15046 (resize-this-window): Rename to window--resize-this-window.
15047 (resize-root-window): Rename to window--resize-root-window.
15048 (resize-root-window-vertically): Rename to
15049 window--resize-root-window-vertically.
15050 (normalize-buffer-to-display): Rename to
15051 window-normalize-buffer-to-display.
15052 (normalize-buffer-to-switch-to): Rename to
15053 window-normalize-buffer-to-switch-to.
15054 Correspondingly update all callers of the functions listed
15055 above.
15056 (display-buffer-alist, display-buffer-normalize-arguments)
15057 (display-buffer-normalize-options, display-buffer)
15058 (display-buffer-alist-set): Use "function" instead of
15059 "fun-with-args".
15060
15061 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15062
15063 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15064 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15065 debbugs.gnu.org. Mention acknowledgment email.
15066
15067 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068
15069 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15070 buffer multibyteness, since it shouldn't matter.
15071
15072 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15073
15074 * window.el (display-buffer-in-side-window): Handle dedicated
15075 windows as in display-buffer-reuse-window.
15076 (display-buffer-normalize-alist): Use value of override
15077 specifier.
15078 (display-buffer-normalize-specifiers): Use value of
15079 other-window-means-other-frame specifier.
15080 (display-buffer-alist): Rewrite some texts in widgets.
15081 (display-buffer): Spread arguments when calling function
15082 specified by fun-with-args.
15083
15084 2011-06-28 Deniz Dogan <deniz@dogan.se>
15085
15086 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15087 Unnest `let'.
15088
15089 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15090 selectors (Bug#5732).
15091 (css-proprietary-nmstart-re): Use `regexp-opt'.
15092
15093 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15094
15095 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15096 (eshell-ls-date-format): New defcustom.
15097 (eshell-ls-file): Use it.
15098
15099 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15102
15103 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15104
15105 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15106 (ange-ftp-make-tmp-name): New arg.
15107 (ange-ftp-file-local-copy): Use it.
15108
15109 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15110
15111 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15112 no-conversion (Bug#8870).
15113
15114 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15115
15116 * window.el (window-right, window-left, window-child)
15117 (window-child-count, window-last-child)
15118 (window-iso-combination-p, walk-window-tree-1)
15119 (window-atom-check-1, window-tree-1, delete-window)
15120 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15121 new naming conventions - window-vchild, window-hchild,
15122 window-next and window-prev are now called window-top-child,
15123 window-left-child, window-next-sibling and window-prev-sibling
15124 respectively.
15125 (resize-window-reset): Rename to window-resize-reset.
15126 (resize-window-reset-1): Rename to window-resize-reset-1.
15127 (resize-window): Rename to window-resize.
15128 (window-min-height, window-min-width)
15129 (resize-mini-window, resize-this-window, resize-root-window)
15130 (resize-root-window-vertically, adjust-window-trailing-edge)
15131 (enlarge-window, shrink-window, maximize-window)
15132 (minimize-window, delete-window, quit-restore-window)
15133 (split-window, balance-windows, balance-windows-area-adjust)
15134 (balance-windows-area, window-state-put-2)
15135 (display-buffer-even-window-sizes, display-buffer-set-height)
15136 (display-buffer-set-width, set-window-text-height)
15137 (fit-window-to-buffer): Rename all "resize-window" prefixed
15138 calls to use the "window-resize" prefix convention.
15139 (display-buffer-alist): Fix symbol for label specifier.
15140 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15141 corresponding specifier.
15142 Reported by Juanma Barranquero <lekktu@gmail.com>.
15143
15144 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15145
15146 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15147 convention.
15148 (ses-call-printer): Does not pass an empty string to formatter when the
15149 cell is empty to keep from barking printer Calc math-format-value.
15150
15151 2011-06-27 Richard Stallman <rms@gnu.org>
15152
15153 * battery.el (battery-mode-line-limit): New variable.
15154 (battery-update): Handle it.
15155
15156 * mail/rmailmm.el (rmail-mime-process-multipart):
15157 Handle truncated messages.
15158
15159 2011-06-27 Glenn Morris <rgm@gnu.org>
15160
15161 * progmodes/flymake.el (flymake-err-line-patterns):
15162 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15163
15164 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15165
15166 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15167 (ses--clean-!, ses--clean-_): New functions.
15168 (ses-range): Add configurability of readout order, and conversion
15169 to Calc vector.
15170
15171 * ses.el (ses-repair-cell-reference-all): New function.
15172 (ses-cell-symbol): Set macro as safe, so that it can be used in
15173 formulas.
15174
15175 * ses.el: Update cycle detection algorithm.
15176 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15177 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15178 (ses-set-localvars): New function.
15179 (ses-make-cell): Add property-list as a cell element.
15180 (ses-cell-property-get-fun, ses-cell-property-get)
15181 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15182 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15183 New functions.
15184 (ses-cell-property-set, ses-cell-property-pop)
15185 (ses-cell-property-get-handle): New macro.
15186 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15187 New aliases, used for code readability.
15188 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15189 cycle detection.
15190 (ses-self-reference-early-detection): New defcustom.
15191 (ses-formula-references): Robustify against self-referring cells.
15192 (ses-mode): Use ses-set-localvars.
15193 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15194 before lauching the update processing.
15195 (ses-initialize-Dijkstra-attempt): New function.
15196 (ses-recalculate-cell): Update for cycle detection based on
15197 Dijkstra algorithm.
15198
15199 * ses.el: Fix commenting and indenting convention.
15200
15201 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 * bs.el (bs-cycle-next): Complete last change.
15204
15205 2011-06-27 Drew Adams <drew.adams@oracle.com>
15206
15207 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15208
15209 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15210
15211 * net/network-stream.el (network-stream-open-starttls):
15212 Don't re-get capabilities unless we've reestablished connection.
15213 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15214
15215 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15216 to binary to possibly avoid line encoding issues on Windows (among
15217 other things).
15218
15219 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
15221 * net/network-stream.el (open-network-stream): Return an :error
15222 saying what the problem was, if possible.
15223
15224 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15225 server.
15226
15227 * net/network-stream.el (network-stream-open-starttls): If we
15228 wanted to use STARTTLS, and the server offered it, but we weren't
15229 able to because we had no STARTTLS support, then close the connection.
15230 (open-network-stream): Return an :error element, if present.
15231
15232 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * hl-line.el (hl-line-sticky-flag): Doc fix.
15235 (global-hl-line-sticky-flag): New option (Bug#8323).
15236 (global-hl-line-highlight): Obey it.
15237
15238 * vc/vc.el (vc-revert-show-diff): Default to t.
15239
15240 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15241
15242 * allout-widgets.el (allout-widgets-post-command-business):
15243 Stop decorating intermediate isearch matches. They're not being
15244 undecorated when an isearch is continued past, and isearch
15245 automatically collapses them. This leads to "widget leaks", where
15246 decorated items accumulate in collapsed areas. Lines with lots of
15247 hidden widgets can slow down cursor travel, substantially.
15248 Too much complicated machinery would be needed to ensure undecoration,
15249 so we're doing without this nicety.
15250
15251 (allout-widgets-tally-string): Don't try to do a hash-table-count
15252 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15253 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15254 *Messages* when allout-widgets-maintain-tally is t.
15255
15256 2011-06-26 Martin Rudalics <rudalics@gmx.at>
15257
15258 * window.el (display-buffer-normalize-argument): Rename to
15259 display-buffer-normalize-arguments. Handle special meaning of
15260 LABEL argument. Respect special-display-function when popping up
15261 a new frame. Fix code searching for a window showing the buffer
15262 on another frame.
15263 (display-buffer-normalize-specifiers):
15264 Call display-buffer-normalize-arguments.
15265 (display-buffer-in-window): Don't undedicate the window if its
15266 buffer remains the same.
15267 Reported by Drew Adams <drew.adams@oracle.com>.
15268 (display-buffer-alist): Add choice for same-window macro
15269 specfier.
15270 (display-buffer): Mention special meaning of LABEL argument in
15271 doc-string. Fix quoting. Don't pop up a new frame even as
15272 fallback.
15273
15274 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
15275
15276 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15277 avoid deleting the current window in some cases (bug#8911).
15278
15279 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15280
15281 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15282 (Bug#8934)
15283
15284 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15285
15286 * net/network-stream.el (network-stream-open-starttls):
15287 Use built-in TLS support if `gnutls-available-p' is true.
15288 (network-stream-open-tls): Ditto.
15289
15290 2011-06-26 Leo Liu <sdl.web@gmail.com>
15291
15292 * register.el (registerv): New struct.
15293 (registerv-make): New function.
15294 (jump-to-register, describe-register-1, insert-register):
15295 Support the jump-func, print-func and insert-func slot of a registerv
15296 struct. (Bug#8415)
15297
15298 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
15299
15300 * vc/vc.el (vc-revert-show-diff): New defcustom.
15301 (vc-diff-internal): New arg specifying diff buffer.
15302 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15303 reuse an existing *vc-diff* buffer (Bug#8927).
15304
15305 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15306
15307 2011-06-26 Glenn Morris <rgm@gnu.org>
15308
15309 * progmodes/f90.el (f90-critical-indent): New option.
15310 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15311 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15312 (f90-mode): Doc fix.
15313 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15314 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15315 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15316 (f90-match-end): Handle block, critical.
15317
15318 2011-06-25 Glenn Morris <rgm@gnu.org>
15319
15320 * calendar/diary-lib.el (diary-included-files): Doc fix.
15321 (diary-include-files): New function, extracted from
15322 diary-include-other-diary-files and diary-mark-included-diary-files.
15323 (diary-include-other-diary-files, diary-mark-included-diary-files):
15324 Just call diary-include-files.
15325 (diary-mark-entries): Reset diary-included-files on first call.
15326
15327 * calendar/diary-lib.el (diary-mark-entries)
15328 (diary-mark-included-diary-files):
15329 Visit included diary-files in temp buffers.
15330
15331 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15332 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15333 (f90-start-block-re, f90-imenu-generic-expression)
15334 (f90-looking-at-program-block-start, f90-no-block-limit):
15335 Add support for submodules.
15336
15337 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15338 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15339
15340 2011-06-25 Eli Zaretskii <eliz@gnu.org>
15341
15342 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15343 buffer-file-type before setting its value, to avoid disastrous
15344 global effects on decoding files for DOS/Windows systems. (Bug#8780)
15345
15346 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15347
15348 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15349
15350 * ses.el (ses-unload-function):
15351 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15352
15353 * proced.el (proced-unload-function):
15354 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15355
15356 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15357
15358 * server.el (server-create-window-system-frame): Add parameters arg.
15359 (server-process-filter): Doc fix. Handle frame-parameters.
15360
15361 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
15362
15363 Fix bug#8730, bug#8781.
15364
15365 * loadhist.el (unload--set-major-mode): New function.
15366 (unload-feature): Use it.
15367
15368 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15369 (python-unload-function): New function.
15370
15371 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15374
15375 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15376
15377 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15378 the candidates list.
15379
15380 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
15381
15382 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15383
15384 2011-06-23 Richard Stallman <rms@gnu.org>
15385
15386 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15387 (rmail-variables): Set next-error-move-function.
15388 (rmail-what-message): Take argument POS.
15389 (rmail-next-error-move): New function.
15390
15391 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15394 messages for adjacent non-terminals.
15395
15396 2011-06-23 Richard Stallman <rms@gnu.org>
15397
15398 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15399 (rmail-show-message-1): Preserve buffer modified flag.
15400 (rmail-start-mail): Don't specify use of rmail-mail-return;
15401 that's done by mail-bury now.
15402 (rmail-mail-return): Handle arg NEWBUF.
15403
15404 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
15405
15406 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15407 SIZE is a number.
15408
15409 2011-06-23 Martin Rudalics <rudalics@gmx.at>
15410
15411 * window.el (get-lru-window, get-mru-window)
15412 (get-largest-window): Never return a minibuffer window.
15413 (display-buffer-pop-up-window): Fix a bug that could lead to
15414 reusing the minibuffer window.
15415 (display-buffer): Pass original specifier argument to
15416 display-buffer-function instead of the normalized one.
15417 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15418
15419 2011-06-22 Leo Liu <sdl.web@gmail.com>
15420
15421 * minibuffer.el (completing-read-function)
15422 (completing-read-default): Move from minibuf.c
15423
15424 2011-06-22 Richard Stallman <rms@gnu.org>
15425
15426 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15427 to Rmail even if not started by a special Rmail command.
15428
15429 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15430 Copy the buffer currently showing just one message.
15431
15432 2011-06-22 Roland Winkler <winkler@gnu.org>
15433
15434 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15435 (bibtex-clean-entry): First delete the old key so that a
15436 customized algorithm for generating the new key does not get
15437 confused by the old key.
15438 (bibtex-url): Obey regexp of first step.
15439 (bibtex-search-entries): Do not use add-to-list with local
15440 list-var.
15441
15442 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15443
15444 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15445 stored a user name, then query for the password first, instead of
15446 waiting for SMTP to give an error message and the trying again.
15447
15448 2011-06-22 Lawrence Mitchell <wence@gmx.li>
15449
15450 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15451 BUFFER in call-process.
15452
15453 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15454
15455 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15456 QUIT twice.
15457 (smtpmail-try-auth-methods): Require user name and password from
15458 auth-source.
15459
15460 2011-06-22 Martin Rudalics <rudalics@gmx.at>
15461
15462 * window.el (display-buffer-default-specifiers)
15463 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15464 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15465 (split-window): Normalize SIDE argument (Bug#8916).
15466
15467 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15468 (special-display-frame-alist, special-display-popup-frame):
15469 Remove duplicate declarations. These are now in window.el.
15470
15471 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15472
15473 * mail/smtpmail.el (smtpmail-via-smtp):
15474 Set :use-starttls-if-possible so that we always use STARTTLS if the
15475 server supports it. SMTP servers that support STARTTLS commonly
15476 require it.
15477
15478 * net/network-stream.el (network-stream-open-starttls): Support
15479 upgrading to STARTTLS always, even if we don't have built-in support.
15480 (open-network-stream): Add the :always-query-capabilities keyword.
15481
15482 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15483 upgrades with `open-network-stream', and rely solely on
15484 auth-source for all credentials. Big changes throughout the file,
15485 but in particular:
15486 (smtpmail-auth-credentials): Remove.
15487 (smtpmail-starttls-credentials): Remove.
15488 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15489 MAIL FROM, too.
15490
15491 * net/network-stream.el (network-stream-open-starttls):
15492 Provide support for client certificates both for external and built-in
15493 STARTTLS.
15494 (auth-source): Require.
15495 (open-network-stream): Document the :client-certificate keyword.
15496 (network-stream-certificate): Change cert-cert to cert and
15497 cert-key to key.
15498
15499 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
15500
15501 * net/tramp-cache.el (top): Don't load the persistency file when
15502 "emacs -Q" has been called.
15503
15504 2011-06-21 Tim Harper <timcharper@gmail.com>
15505
15506 * term/ns-win.el (ns-initialize-window-system):
15507 Set application-specific `ApplePressAndHoldEnabled' system
15508 resource to NO as it is not yet supported by the NS port.
15509
15510 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
15511
15512 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15513 (list-dynamic-libraries): ...not here.
15514
15515 2011-06-21 Leo Liu <sdl.web@gmail.com>
15516
15517 * subr.el (sha1): Implement sha1 using secure-hash.
15518
15519 2011-06-21 Martin Rudalics <rudalics@gmx.at>
15520
15521 * window.el (display-buffer-alist): In default value do not
15522 enforce searching a window on any but the selected frame.
15523 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15524 (display-buffer-select-window): Remove function.
15525 (display-buffer-in-window): When a window on another frame gets
15526 reused, do not select it any more but just raise its frame if
15527 necessary (Bug#8851) and (Bug#8856).
15528 (display-buffer-normalize-options): Handle pop-up-frames related
15529 options more faithfully.
15530 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15531 window if it is on another frame.
15532 (display-buffer-alist, display-buffer-default-specifiers):
15533 Don't make new frame unsplittable by default.
15534 (display-buffer-normalize-argument): Fix doc-string typo and use
15535 'same-frame-other-window instead of 'other-window when associating
15536 with display-buffer-macro-specifiers.
15537
15538 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15539
15540 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15541 New functions.
15542 (5x5-mode-map, 5x5-mode-menu): Bind them.
15543 (5x5-draw-grid): Tweak the solver's rendering.
15544
15545 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15548 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15549
15550 2011-06-21 Drew Adams <drew.adams@oracle.com>
15551
15552 * menu-bar.el: Use function variable instead of switch-to-buffer.
15553 (menu-bar-select-buffer-function): New variable.
15554 (menu-bar-update-buffers): Use it (bug#8876).
15555
15556 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15557
15558 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15559 variable's status.
15560
15561 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15562
15563 * x-dnd.el (x-dnd-version-from-flags)
15564 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15565 and long as number (Bug#8899).
15566 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15567
15568 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15571 (completion-try-completion, completion-all-completions): Compute the
15572 metadata argument if it's missing; make it optional (bug#8795).
15573
15574 * wid-edit.el: Use lex-bind and move towards completion-at-point.
15575 (widget-complete): Use new :completion-function property.
15576 (widget-completions-at-point): New function.
15577 (default): Use :completion-function instead of :complete.
15578 (widget-default-completions): Rename from widget-default-complete;
15579 Rewrite.
15580 (widget-string-complete, widget-file-complete, widget-color-complete):
15581 Remove functions.
15582 (file, symbol, function, variable, coding-system, color):
15583 * international/mule-cmds.el (default-input-method, charset)
15584 (language-info-custom-alist):
15585 * cus-edit.el (face): Use new property :completions.
15586
15587 * progmodes/pascal.el (pascal-completions-at-point): New function.
15588 (pascal-mode): Use it.
15589 (pascal-mode-map): Use completion-at-point.
15590 (pascal-toggle-completions): Make obsolete.
15591 (pascal-complete-word, pascal-show-completions):
15592 * progmodes/octave-mod.el (octave-complete-symbol):
15593 Redefine as obsolete alias.
15594 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15595 Signal absence of completion info for old Octave,
15596 (inferior-octave-complete): Redefine as obsolete alias.
15597 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15598 (meta-completions-at-point): Rename from meta-complete-symbol and
15599 adapt it for use on completion-at-point-functions.
15600 (meta-common-mode): Use it.
15601 (meta-looking-at-backward, meta-match-buffer): Remove.
15602 (meta-complete-symbol): Redefine as obsolete alias.
15603 (meta-common-mode-map): Use completion-at-point.
15604 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15605 (makefile-mode-map): Use completion-at-point.
15606 (makefile-completions-at-point): Rename from makefile-complete and
15607 adapt it for use on completion-at-point-functions.
15608 (makefile-mode): Use it.
15609 (makefile-complete): Redefine as obsolete alias.
15610
15611 2011-06-20 Deniz Dogan <deniz@dogan.se>
15612
15613 * net/rcirc.el: Delete trailing whitespaces once and for all.
15614
15615 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15616
15617 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15618
15619 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
15620
15621 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15622
15623 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15624
15625 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15626
15627 * window.el (display-buffer-other-window-means-other-frame):
15628 Call display-buffer-normalize-alist.
15629 (display-buffer-normalize-specifiers-1): Rename to
15630 display-buffer-normalize-argument. New argument other-frame.
15631 Rewrite.
15632 (display-buffer-normalize-specifiers-2): Rename to
15633 display-buffer-normalize-options.
15634 (display-buffer-normalize-alist-1): New function.
15635 (display-buffer-normalize-specifiers-3): Rename to
15636 display-buffer-normalize-alist.
15637 Call display-buffer-normalize-alist-1.
15638 (display-buffer-normalize-options-inhibit): New variable.
15639 (display-buffer-normalize-specifiers): Rewrite calling
15640 display-buffer-normalize-alist,
15641 display-buffer-normalize-argument, and
15642 display-buffer-normalize-options. Don't call the latter if
15643 display-buffer-normalize-options-inhibit is non-nil.
15644 (frame-auto-delete): New option.
15645 (window-deletable-p): Use frame-auto-delete.
15646 (window-list-no-nils, window-state-ignored-parameters)
15647 (window-state-get-1, window-state-get, window-state-put-list)
15648 (window-state-put-1, window-state-put-2, window-state-put):
15649 New functions.
15650 (display-buffer-normalize-options): Move special-display-p group
15651 after pop-up-frame group (Bug#8851) and (Bug#8856).
15652
15653 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15654
15655 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15656 groups (Bug#8776).
15657 (rx-submatch-n): New function.
15658 (rx): Document it.
15659
15660 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15661 (Bug#8768).
15662
15663 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15664
15665 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15666
15667 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15668 anytime existing face settings are present (Bug#8889).
15669
15670 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15671 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15672 Remove unused argument.
15673
15674 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15675
15676 * window.el (display-buffer-default-specifiers):
15677 Remove pop-up-frame. Add pop-up-window-min-height,
15678 pop-up-window-min-width, and another reuse-window specifier
15679 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15680 (display-buffer-normalize-specifiers-2):
15681 Handle split-height-threshold and split-width-threshold also when
15682 pop-up-windows is unset. Add a reuse-window specifier for the
15683 case popping up a new window fails.
15684 (special-display-popup-frame): Remove double quoting.
15685 (display-buffer-normalize-specifiers-1): Fix thinko.
15686
15687 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15688
15689 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15690 according to comint-completion-addsuffix.
15691
15692 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15693 (pcomplete-suffix-list): Mark as obsolete.
15694 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15695 pcomplete-seen in the closure.
15696 (pcomplete-comint-setup): Setup completion-at-point as well.
15697 (pcomplete--entries): New function.
15698 (pcomplete--env-regexp): New var.
15699 (pcomplete-entries): Rewrite to work with partial-completion and
15700 without relying on pcomplete-suffix-list.
15701 (pcomplete-pare-list): Remove, unused.
15702
15703 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15704
15705 * window.el (display-buffer-alist): Set pop-up-window-min-height
15706 and pop-up-window-min-width in default value. Reported by
15707 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15708 other-window-means-other-frame.
15709 (display-buffer-macro-specifiers): Comment out entry for
15710 other-window specifier.
15711 (display-buffer-other-window-means-other-frame): New function.
15712 (display-buffer-normalize-specifiers-1): New arguments
15713 buffer-name and label. Treat other-window case specially.
15714 (display-buffer-normalize-specifiers-2): Treat other-window case
15715 specially.
15716 (display-buffer-normalize-specifiers-3): New function.
15717 (display-buffer-normalize-specifiers):
15718 Call display-buffer-normalize-specifiers-3.
15719
15720 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15721
15722 * window.el (same-window-p): Fix two typos introduced when
15723 adding with-no-warnings.
15724 (display-buffer-normalize-specifiers-1): Don't check
15725 pop-up-frames for 'unset initialization.
15726 (display-buffer-normalize-specifiers-2): Major rewrite using
15727 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15728 (pop-up-frames, display-buffer-reuse-frames)
15729 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15730 Suggested by David Engster <deng@randomsample.de>.
15731 (even-window-heights): Initialize to 'unset.
15732 (display-buffer-alist-set): Handle new 'unset initializations.
15733 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15734 other window case.
15735
15736 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15737
15738 * window.el (display-buffer-normalize-specifiers-1):
15739 Respect current value of pop-up-frames for most reasonable values of
15740 second argument of display-buffer (Bug#8865).
15741 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15742 (switch-to-buffer-other-window-same-frame)
15743 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15744 Adams (Bug#8875).
15745 (display-buffer): Don't check noninteractive when calling
15746 display-buffer-pop-up-frame.
15747 (display-buffer-pop-up-frame): Never pop up a frame in
15748 noninteractive mode (Bug#8857).
15749 (enlarge-window, shrink-window): Don't report an error when the
15750 window can't be resized as requested (Bug#8862).
15751
15752 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15753
15754 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15755
15756 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15757
15758 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15759
15760 2011-06-15 Alan Mackenzie <acm@muc.de>
15761
15762 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15763 for declarators, disable knr checking to speed up for normal files.
15764 2: Refactor, replacing a sequence of nested if forms by a cond form.
15765
15766 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15767
15768 * net/network-stream.el (open-network-stream): Add the keyword
15769 :always-query-capabilities for the case where you want to force a
15770 `plain' network connection, but the protocol still requires the
15771 capabilitiy command (i.e., SMTP and EHLO).
15772
15773 * subr.el (process-live-p): Rename from `process-alive-p' for
15774 consistency with other `-live-p' functions.
15775
15776 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15777
15778 * window.el (same-window-buffer-names, same-window-regexps)
15779 (special-display-frame-alist, special-display-popup-frame)
15780 (special-display-function, special-display-buffer-names)
15781 (special-display-regexps, pop-up-frame-alist)
15782 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15783 (pop-up-windows, split-window-preferred-function)
15784 (split-height-threshold, split-width-threshold, even-window-heights)
15785 (display-buffer-mark-dedicated): Don't encourage the use of
15786 display-buffer-alist from Elisp code.
15787
15788 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15789
15790 * progmodes/python.el (python-mode): Derive from prog-mode.
15791 * progmodes/ps-mode.el (ps-mode):
15792 * progmodes/mixal-mode.el (mixal-mode):
15793 * progmodes/cfengine.el (cfengine-mode):
15794 * progmodes/ld-script.el (ld-script-mode): Likewise.
15795
15796 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15797
15798 * window.el (display-buffer-alist): Trim default value to avoid
15799 popping up a new frame (Bug#8857) or reusing an arbitrary window
15800 on another frame.
15801 (display-buffer): Do not fall back on popping up a new frame in
15802 batch mode (Bug#8857).
15803
15804 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15805
15806 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15807 (custom-theme-summary): New function.
15808 (customize-themes): Use it.
15809
15810 2011-06-13 Glenn Morris <rgm@gnu.org>
15811
15812 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15813
15814 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15815
15816 * help.el (help-window): Remove variable.
15817 (help-window-point-marker, temp-buffer-max-height)
15818 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15819 (help-print-return-message): Don't set help-window.
15820 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15821 (help-window-setup-finish): Remove.
15822 (help-window-display-message, help-window-setup)
15823 (with-help-window): Major rewrite based on new
15824 display-buffer-window variable.
15825
15826 * help-mode.el (help-mode-finish): Remove help-window related
15827 code.
15828
15829 * view.el (view-exits-all-viewing-windows): Remove reference to
15830 view-return-to-alist in doc-string.
15831 (view-return-to-alist): Make obsolete.
15832 (view-buffer): Call pop-to-buffer-same-window and remove
15833 undo-window code.
15834 (view-buffer-other-window): Call pop-to-buffer-other-window and
15835 simplify code. Ignore second argument.
15836 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15837 simplify code. Ignore second argument.
15838 (view-return-to-alist-update): Make obsolete.
15839 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15840 Rewrite using quit-restore window parameters.
15841 (view-mode-exit): Rename second argument to EXIT-ONLY.
15842 Rewrite using quit-restore-window.
15843 (View-exit, View-exit-and-edit, View-leave, View-quit)
15844 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15845 appropriate arguments.
15846 (view-end-message): Use quit-restore window parameter.
15847
15848 * window.el (display-buffer-function): Rewrite doc-string.
15849 (display-buffer-window, display-buffer-alist): New variables.
15850 (display-buffer-split-specifiers)
15851 (display-buffer-side-specifiers)
15852 (display-buffer-macro-specifiers): New constants.
15853 (display-buffer-even-window-sizes, display-buffer-set-height)
15854 (display-buffer-set-width, display-buffer-select-window)
15855 (display-buffer-in-window, display-buffer-reuse-window)
15856 (display-buffer-split-window-1, display-buffer-split-window)
15857 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15858 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15859 (display-buffer-in-side-window, normalize-buffer-to-display)
15860 (display-buffer-normalize-specifiers-1)
15861 (display-buffer-normalize-specifiers-2)
15862 (display-buffer-normalize-specifiers, display-buffer-frame):
15863 New functions.
15864 (display-buffer): Major rewrite.
15865 (display-buffer-other-window, display-buffer-other-frame)
15866 (pop-to-buffer, switch-to-buffer-other-window)
15867 (switch-to-buffer-other-frame): Rewrite.
15868 (display-buffer-same-window, display-buffer-same-frame)
15869 (display-buffer-same-frame-other-window)
15870 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15871 (pop-to-buffer-other-window)
15872 (pop-to-buffer-same-frame-other-window)
15873 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15874 (switch-to-buffer-other-window-same-frame): New functions.
15875 (same-window-p, special-display-p): Rewrite disabling warnings.
15876 Make obsolete.
15877 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15878 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15879 Make obsolete
15880 (same-window-buffer-names, same-window-regexps)
15881 (special-display-frame-alist, special-display-popup-frame)
15882 (special-display-function, special-display-buffer-names)
15883 (special-display-regexps, pop-up-frame-alist)
15884 (pop-up-frame-function, split-window-preferred-function)
15885 (split-height-threshold, split-width-threshold)
15886 (even-window-heights): Make obsolete.
15887
15888 2011-06-12 Glenn Morris <rgm@gnu.org>
15889
15890 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15891 Misc simplifications.
15892
15893 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15894
15895 * window.el (window-safely-shrinkable-p): Restore function which
15896 was inadvertently removed in change from 2011-06-11. Declare as
15897 obsolete.
15898
15899 * calendar/calendar.el (calendar-generate-window):
15900 Use window-iso-combined-p instead of combination of one-window-p and
15901 window-safely-shrinkable-p.
15902
15903 2011-06-12 Glenn Morris <rgm@gnu.org>
15904
15905 * progmodes/fortran.el (fortran-mode-syntax-table):
15906 * progmodes/f90.el (f90-mode-syntax-table):
15907 Set % to punctuation. (Bug#8820)
15908 (f90-find-tag-default): Remove, no longer needed.
15909
15910 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15911
15912 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15913
15914 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15915
15916 * image.el (image-animated-p): Return animation delay in seconds.
15917 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15918 (image-animate-timeout): Remove DELAY argument. Don't assume
15919 every subimage has the same delay; get it from image-animated-p.
15920 (image-animate): Caller changed.
15921
15922 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15923
15924 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15925 to ignored backtrace functions.
15926
15927 2011-06-11 Glenn Morris <rgm@gnu.org>
15928
15929 * calendar/appt.el (appt-disp-window-function): Doc fix.
15930 (appt-check): Handle overlapping appointments. (Bug#8337)
15931
15932 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15933
15934 * window.el (window-tree-1, window-tree): New functions, moving
15935 the latter to window.el.
15936 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15937 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15938 (bw-refresh-edges): Remove.
15939 (balance-windows-1, balance-windows-2): New functions.
15940 (balance-windows): Rewrite in terms of window tree functions,
15941 balance-windows-1 and balance-windows-2.
15942 (bw-adjust-window): Remove.
15943 (balance-windows-area-adjust): New function with functionality of
15944 bw-adjust-window but using resize-window.
15945 (set-window-text-height): Rewrite doc-string.
15946 Use normalize-live-window and resize-window.
15947 (enlarge-window-horizontally, shrink-window-horizontally):
15948 Rename argument to DELTA.
15949 (window-buffer-height): New function.
15950 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15951 Rewrite using new window resize routines.
15952 (kill-buffer-and-window, mouse-autoselect-window-select):
15953 Use ignore-errors instead of condition-case.
15954 (quit-window): Call delete-frame instead of delete-windows-on
15955 for the only buffer on frame.
15956
15957 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15958
15959 * loadup.el (top-level): Load window before files for the sake
15960 of replace-buffer-in-windows.
15961
15962 * files.el (read-buffer-to-switch)
15963 (switch-to-buffer-other-window)
15964 (switch-to-buffer-other-frame, display-buffer-other-frame):
15965 Move to window.el.
15966
15967 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15968 (previous-buffer): Move to window.el.
15969
15970 * bindings.el (unbury-buffer): Move to window.el.
15971
15972 * window.el (delete-other-windows-vertically): Move after
15973 definition of delete-other-windows.
15974 (other-window, delete-windows-on, replace-buffer-in-windows):
15975 Move here from window.c.
15976 (record-window-buffer, unrecord-window-buffer)
15977 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15978 (switch-to-next-buffer): New functions.
15979 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15980 from simple.el. Call switch-to-next-buffer.
15981 (previous-buffer): Move here from simple.el.
15982 Call switch-to-prev-buffer.
15983 (bury-buffer): Move here from buffer.c. Switch to previous
15984 buffer when window cannot be deleted.
15985 (unbury-buffer): Move here from bindings.el.
15986 (ctl-x-map): Move binding for other-window from window.c to
15987 here.
15988 (read-buffer-to-switch, switch-to-buffer-other-window)
15989 (switch-to-buffer-other-frame): Move here from files.el.
15990 (normalize-buffer-to-switch-to): New functions.
15991 (switch-to-buffer): Move here from buffer.c.
15992 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15993
15994 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15995
15996 * window.el (window-min-height, window-min-width): Move here
15997 from window.c. Add defcustoms and rewrite doc-strings.
15998 (resize-mini-window, resize-window): New functions.
15999 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16000 Move here from window.c.
16001 (maximize-window, minimize-window): New functions.
16002 (delete-window, delete-other-windows, split-window): Move here
16003 from window.c.
16004 (window-split-min-size): New function.
16005 (split-window-keep-point): Mention split-window-above-each-other
16006 instead of split-window-vertically.
16007 (split-window-above-each-other, split-window-vertically):
16008 Rename split-window-vertically to split-window-above-each-other
16009 and provide defalias for old definition.
16010 (split-window-side-by-side, split-window-horizontally):
16011 Rename split-window-horizontally to split-window-side-by-side
16012 and provide defalias for the old definition.
16013 (ctl-x-map): Move bindings for delete-window,
16014 delete-other-windows and enlarge-window here from window.c.
16015 Replace bindings for split-window-vertically and
16016 split-window-horizontally by bindings for
16017 split-window-above-each-other and split-window-side-by-side.
16018
16019 * cus-start.el (all): Remove entries for window-min-height and
16020 window-min-width. Add entries for window-splits and
16021 window-nest.
16022
16023 2011-06-09 Glenn Morris <rgm@gnu.org>
16024
16025 * calendar/appt.el (appt-mode-line): New function.
16026 (appt-check, appt-disp-window): Use it.
16027
16028 * files.el (hack-one-local-variable-eval-safep):
16029 Allow minor-modes with explicit +/-1 arguments.
16030
16031 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16032
16033 * term/xterm.el (xterm): Add defgroup.
16034 (xterm-extra-capabilities): Add defcustom to supply known xterm
16035 capabilities, skip querying them, or query them (default).
16036 (terminal-init-xterm): Use it.
16037 (terminal-init-xterm-modify-other-keys): New function to set up
16038 modifyOtherKeys support to simplify `terminal-init-xterm'.
16039
16040 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16041
16042 * window.el (resize-window-reset, resize-window-reset-1)
16043 (resize-subwindows-skip-p, resize-subwindows-normal)
16044 (resize-subwindows, resize-other-windows, resize-this-window)
16045 (resize-root-window, resize-root-window-vertically)
16046 (window-deletable-p, window-or-subwindow-p)
16047 (frame-root-window-p): New functions.
16048
16049 2011-06-09 Glenn Morris <rgm@gnu.org>
16050
16051 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16052 (ange-ftp-get-files): Use it.
16053
16054 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16055
16056 * mail/sendmail.el (mail-recover-1, mail-recover):
16057 * files.el (recover-file, recover-session):
16058 Handle dired-listing-switches not being just a single short option.
16059
16060 2011-06-09 Glenn Morris <rgm@gnu.org>
16061
16062 * calendar/appt.el (appt-display-message, appt-disp-window):
16063 Handle lists of appointments.
16064
16065 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (one-window-p): Move down in code.
16068 Rewrite doc-string.
16069 (window-current-scroll-bars): Rewrite doc-string.
16070 Normalize live window argument.
16071 (walk-windows, get-window-with-predicate, count-windows):
16072 Rewrite doc-string. Use window-list-1.
16073 (window-in-direction-2, window-in-direction, get-mru-window):
16074 New functions.
16075
16076 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16077
16078 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16079 Doc fix (Bug#8713).
16080
16081 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16082
16083 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16084
16085 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16086
16087 * loadhist.el (unload-feature-special-hooks):
16088 Add `comint-output-filter-functions'.
16089
16090 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16091
16092 * calendar/appt.el (appt-check): Move some initializations into the let.
16093
16094 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16095
16096 * window.el (window-height): Defalias to window-total-height.
16097 (window-width): Defalias to window-body-width.
16098
16099 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16100
16101 * image-mode.el (image-toggle-animation): New command.
16102 (image-mode-map): Bind it to RET.
16103 (image-mode): Update message.
16104 (image-toggle-display-image): Avoid a spurious cache flush.
16105 (image-transform-rotation): Doc fix.
16106 (image-transform-properties): Return quickly in the normal case.
16107 (image-animate-loop): Rename from image-animate-max-time.
16108
16109 * image.el (image-animate-max-time): Move to image-mode.el.
16110 (create-animated-image): Remove unnecessary function.
16111 (image-animate): Rename from image-animate-start. New arg.
16112 (image-animate-stop): Remove; just use image-animate-timer.
16113 (image-animate-timer): Use car-safe.
16114 (image-animate-timeout): Rename argument.
16115
16116 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16117
16118 * window.el (get-lru-window, get-largest-window): Move here from
16119 window.c. Rename first argument to ALL-FRAMES.
16120 Rephrase doc-strings.
16121 (get-buffer-window-list): Rewrite using window-list-1.
16122 Rephrase doc-string.
16123 (window-safe-min-height, window-safe-min-width): New constants.
16124 (window-size-ignore, window-min-size, window-min-size-1)
16125 (window-sizable, window-sizable-p, window-size-fixed-1)
16126 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16127 (window-max-delta-1, window-max-delta, window-resizable)
16128 (window-resizable-p, window-total-height, window-total-width)
16129 (window-body-width): New functions.
16130 (window-full-height-p, window-full-width-p): Rewrite using
16131 window-total-size.
16132 (window-body-height): Rewrite using window-body-size.
16133
16134 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16135
16136 * window.el (window-right, window-left, window-child)
16137 (window-child-count, window-last-child, window-any-p)
16138 (normalize-live-buffer, normalize-live-frame)
16139 (normalize-any-window, normalize-live-window)
16140 (window-iso-combination-p, window-iso-combined-p)
16141 (window-iso-combinations)
16142 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16143 (windows-with-parameter, window-with-parameter)
16144 (window-atom-root, make-window-atom, window-atom-check-1)
16145 (window-atom-check, window-side-check, window-check):
16146 New functions.
16147 (ignore-window-parameters, window-sides, window-sides-vertical)
16148 (window-sides-slots): New variables.
16149 (window-size-fixed): Move down in code. Minor doc-string fix.
16150
16151 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16152
16153 * comint.el (comint-dynamic-complete-as-filename)
16154 (comint-dynamic-complete-filename): Correctly call
16155 completion-in-region.
16156
16157 2011-06-05 Deniz Dogan <deniz@dogan.se>
16158
16159 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16160 in last change.
16161
16162 2011-06-05 Deniz Dogan <deniz@dogan.se>
16163
16164 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16165 (rcirc): Use it to prompt for encryption.
16166
16167 2011-06-05 Roland Winkler <winkler@gnu.org>
16168
16169 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16170 (bibtex-search-entries): New command bound to C-c C-a.
16171 (bibtex-display-entries): New function.
16172
16173 2011-06-05 Roland Winkler <winkler@gnu.org>
16174
16175 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16176 (bibtex-insert-kill): After yanking insert newline if necessary.
16177 (bibtex-initialize): Call bibtex-string-files-init only once.
16178 (bibtex-mode): Do not call easy-menu-add.
16179 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16180 (bibtex-yank): Set arg properly if nil.
16181
16182 2011-06-05 Roland Winkler <winkler@gnu.org>
16183
16184 * textmodes/bibtex.el (bibtex-search-entry-globally):
16185 New variable.
16186 (bibtex-search-entry): Use it.
16187
16188 2011-06-05 Roland Winkler <winkler@gnu.org>
16189
16190 * textmodes/bibtex.el (bibtex-entry-format): New option
16191 sort-fields.
16192 (bibtex-format-entry, bibtex-reformat): Honor this option.
16193 (bibtex-parse-entry): Return fields in proper order.
16194
16195 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16196
16197 * doc-view.el (doc-view-remove-if): Move computation of result out
16198 of `dolist' to silence misleading lexical-binding warning.
16199
16200 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16201
16202 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16203 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16204
16205 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16206
16207 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16208 "SunOS 5.10".
16209
16210 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16211
16212 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16213 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16214 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16215 (tramp-parse-putty):
16216 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16217 (tramp-completion-function-alist-ssh)
16218 (tramp-completion-function-alist-telnet)
16219 (tramp-completion-function-alist-su)
16220 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16221 cookie.
16222
16223 * net/tramp-ftp.el:
16224 * net/tramp-sh.el:
16225 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16226 load "tramp.el" `tramp-set-completion-function'.
16227
16228 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * shell.el: Require and use pcomplete.
16231 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16232 (shell-completion-vars): Set pcomplete-default-completion-function.
16233
16234 2011-06-04 Deniz Dogan <deniz@dogan.se>
16235
16236 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16237 `memq' (Bug#8799).
16238
16239 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16240
16241 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16242
16243 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
16244
16245 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16246 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16247 * vc/log-view.el (log-view-beginning-of-defun):
16248 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16249 (smerge-refine-forward, smerge-refine-chopup-region):
16250 Silence warning for unused `dotimes' counter variables.
16251
16252 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * net/tramp.el (tramp-with-progress-reporter): Rename from
16255 with-progress-reporter. Use `declare'.
16256 * net/tramp-smb.el:
16257 * net/tramp-sh.el:
16258 * net/tramp-gvfs.el: Update all uses.
16259
16260 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16261
16262 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16263 buffer isn't killed before making it current.
16264
16265 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16266
16267 Silence various byte-compiler warnings.
16268 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16269 `access-type' and new obsolescence format.
16270 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16271 new format.
16272 (byte-compile-check-variable): New `access-type' argument.
16273 Only warn if the access-type is obsolete.
16274 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16275 (byte-compile-variable-set): Adjust callers.
16276 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16277 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16278 setting it as obsolete.
16279 * simple.el (minibuffer-completing-symbol):
16280 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16281 access as obsolete.
16282 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16283 obsolete yet.
16284 * international/quail.el (quail-mouse-choose-completion): Remove unused
16285 code referring to obsolete var.
16286 (quail-choose-completion-string): Remove.
16287 * server.el (server-clients-with, server-kill-buffer-query-function)
16288 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16289 * proced.el (proced-send-signal):
16290 * emacs-lisp/lisp.el (lisp-complete-symbol):
16291 Replace completion-annotate-function with completion-extra-properties.
16292
16293 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16294
16295 * simple.el (goto-line): Use read-number.
16296 (overriding-map-is-bound): Remove.
16297 (saved-overriding-map): Change default.
16298 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16299 Take the map as argument.
16300 (universal-argument, negative-argument, digit-argument): Use it.
16301 (restore-overriding-map): Adjust.
16302 (do-auto-fill): Use fill-forward-paragraph.
16303 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16304
16305 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16306 (minibuffer-inactive-mode): New major mode.
16307 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16308 the *Messages* buffer" hack.
16309 (mouse-popup-menubar): Don't burp if the event is a normal key.
16310
16311 Miscellaneous tweaks.
16312 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16313 lexical scoping as in subr.el's dolist and dotimes.
16314 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16315 Silence compiler warning.
16316 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16317 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16318 * international/ccl.el (ccl-compile): Trivial simplification.
16319 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16320 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16321 `printflag' argument.
16322 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16323 Purecopy the whole obsolescence data.
16324
16325 2011-06-01 Leo Liu <sdl.web@gmail.com>
16326
16327 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16328 improve doc-string as suggested by Marco Pessotto
16329 <melmothx@gmail.com>.
16330 (rcirc-print): Fix last change.
16331
16332 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16333
16334 * minibuffer.el (complete-with-action): Return nil for the metadata and
16335 boundaries of non-functional tables.
16336 (completion-table-dynamic): Return nil for the metadata.
16337 (completion-table-with-terminator): Add default case, using
16338 complete-with-action.
16339 (completion--metadata): New function.
16340 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16341 to try and avoid pathological performance problems.
16342 (completion--embedded-envvar-table): Return `category' metadata.
16343
16344 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16345
16346 * subr.el (process-alive-p): New tiny convenience function.
16347
16348 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16349
16350 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16351 content but also its previous major mode.
16352
16353 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
16354
16355 * emacs-lisp/debug.el (debug): Restore the previous content of the
16356 *Backtrace* buffer when we exit with C-M-c.
16357
16358 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16359
16360 * minibuffer.el: Add metadata method to completion tables.
16361 (completion-category-overrides): New defcustom.
16362 (completion-metadata, completion--field-metadata)
16363 (completion-metadata-get, completion--styles)
16364 (completion--cycle-threshold): New functions.
16365 (completion-try-completion, completion-all-completions):
16366 Add `metadata' argument to choose completion-styles.
16367 (completion--do-completion): Use metadata to choose cycling.
16368 (completion-all-sorted-completions): Use metadata for sorting.
16369 Remove :completion-cycle-penalty which is not needed any more.
16370 (completion--try-word-completion): Add `metadata' argument.
16371 (minibuffer-completion-help): Check metadata for annotation function
16372 and sorting.
16373 (completion-file-name-table): Return `category' metadata.
16374 (minibuffer-completing-file-name): Make obsolete.
16375 * simple.el (minibuffer-completing-symbol): Make obsolete.
16376 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16377 completion-try-completion.
16378
16379 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16380
16381 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16382
16383 2011-05-30 Leo Liu <sdl.web@gmail.com>
16384
16385 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16386 (rcirc-print): Decode all incoming messages (bug#8744).
16387 (rcirc-decode-coding-system): Allow value nil for automatic coding
16388 system detection.
16389
16390 2011-06-01 Glenn Morris <rgm@gnu.org>
16391
16392 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16393
16394 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16395
16396 * image.el (image-animate-max-time): Allow nil and t values.
16397 Default to nil.
16398 (create-animated-image): Doc fix.
16399 (image-animate-start): Remove second arg; just use
16400 image-animate-max-time.
16401 (image-animate-timeout): Doc fix. Args changed.
16402
16403 * image-mode.el (image-toggle-display-image): Ensure that the
16404 image spec passed to the animate timer is the same object as in
16405 the buffer's display property (Bug#6981).
16406 (image-transform-properties): Doc fix.
16407
16408 * image.el (image-animate-max-time): Default to nil.
16409
16410 2011-05-29 Martin Rudalics <rudalics@gmx.at>
16411
16412 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16413 entire buffer list (Bug#8184).
16414
16415 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16416
16417 * image.el (imagemagick-types-inhibit)
16418 (imagemagick-register-types): Doc fix.
16419
16420 2011-05-29 Deniz Dogan <deniz@dogan.se>
16421
16422 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16423 default.
16424
16425 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
16426
16427 * select.el: Don't perform clipboard-manager saving in hooks;
16428 leave the hooks empty.
16429
16430 2011-05-28 Leo Liu <sdl.web@gmail.com>
16431
16432 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16433 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16434 (occur-edit-mode): New major mode (Bug#8463).
16435 (occur-after-change-function): New function.
16436 (occur-engine): Give Occur tags a read-only property.
16437
16438 2011-05-28 Kevin Ryde <user42@zip.com.au>
16439
16440 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16441
16442 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16443
16444 * bindings.el (help-echo): Make the initial non-indicator dash
16445 empty on graphical terminals (Bug#7295).
16446
16447 * files.el (auto-mode-alist): Move config rule after the
16448 in-stripping one (Bug#8547).
16449
16450 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16451
16452 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16453 setting (Bug#8740).
16454
16455 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16456
16457 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16458 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16459 (Bug#8539).
16460
16461 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16462
16463 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16464
16465 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16466
16467 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16468 (hs-hide-block-at-point, hs-find-block-beginning)
16469 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16470 (Bug#8279).
16471
16472 2011-05-28 Glenn Morris <rgm@gnu.org>
16473
16474 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16475
16476 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
16477
16478 * help-fns.el (describe-function-1): If the function is a derived
16479 major mode, print the parent mode.
16480
16481 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16482 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16483
16484 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16485
16486 * minibuffer.el (completion--capf-wrapper): Check applicability before
16487 returning non-nil for non-exclusive completion data.
16488 * progmodes/etags.el (tags-completion-at-point-function):
16489 * info-look.el (info-lookup-completions-at-point): Mark as
16490 non-exclusive.
16491 (info-complete): Adjust accordingly.
16492
16493 * info-look.el: Convert to lexical-binding and completion-at-point.
16494 (info-lookup-completions-at-point): New function.
16495 (info-complete): Use it and completion-in-region.
16496
16497 2011-05-28 Drew Adams <drew.adams@oracle.com>
16498
16499 * isearch.el: Let M-e start with point at the first mismatched char.
16500 (isearch-fail-pos): New function.
16501 (isearch-edit-string): Use it.
16502
16503 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16504
16505 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16506
16507 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
16508
16509 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16510 traversal functions for avl-trees.
16511 (avl-tree--stack): New struct.
16512 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16513 (avl-tree-enter): Add optional `updatefun' arg.
16514 (avl-tree--do-enter): Add optional `updatefun' arg.
16515 Change return value.
16516 (avl-tree-delete): Add optional `test' and `nilflag' args.
16517 (avl-tree--do-delete): Add `test' and `nilflag' args.
16518 Change return value.
16519 (avl-tree-member): Add optional `nilflag'
16520 (avl-tree-member-p): New function.
16521 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16522 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16523 (avl-tree-stack-empty-p): New functions.
16524
16525 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16526 avl-tree--del-balance1 and make it work both ways.
16527 (avl-tree--del-balance2): Remove.
16528 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16529 make it work both ways.
16530 (avl-tree--enter-balance2): Remove.
16531 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16532 New macros.
16533 (avl-tree--mapc, avl-tree-map): Add direction argument.
16534
16535 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
16536
16537 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16538
16539 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
16540
16541 * select.el: Support clipboard managers with built-in function
16542 x-clipboard-manager-save, via delete-frame-functions and
16543 kill-emacs-hook.
16544 (xselect-convert-to-targets): Add MULTIPLE target to list.
16545 (xselect-convert-to-save-targets): New function.
16546
16547 2011-05-27 Kenichi Handa <handa@m17n.org>
16548
16549 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16550 let-binding rfc2047-encode-encoded-words to nil.
16551
16552 2011-05-27 Glenn Morris <rgm@gnu.org>
16553
16554 * mail/emacsbug.el: Don't require url-util.
16555
16556 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16557
16558 * files.el (set-auto-mode):
16559 Also respect mode: entries at the end of the file. (Bug#8586)
16560
16561 2011-05-26 Glenn Morris <rgm@gnu.org>
16562
16563 * files.el (hack-local-variables-prop-line, hack-local-variables):
16564 Downcase mode names, as seems to be traditional.
16565 (hack-local-variables, hack-local-variables-apply): Doc fixes.
16566
16567 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16568 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16569
16570 2011-05-25 Julien Danjou <julien@danjou.info>
16571
16572 * textmodes/rst.el (rst-define-level-faces): Do not define face
16573 symbol if it is already defined.
16574
16575 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16576
16577 * play/5x5.el (5x5-new-game, 5x5-randomize):
16578 Reset 5x5-solver-output to nil when a new grid is cast.
16579 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16580 these debugging traces, as defmacro breaks the compiled code.
16581
16582 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16583
16584 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16585
16586 2011-05-24 Leo Liu <sdl.web@gmail.com>
16587
16588 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16589 (vc-bzr-sha1): Adapt.
16590
16591 * sha1.el: Remove. Function `sha1' is now builtin.
16592
16593 * bindings.el: Provide sha1 feature.
16594
16595 2011-05-24 Kenichi Handa <handa@m17n.org>
16596
16597 * mail/sendmail.el: Require `rfc2047'.
16598 (mail-insert-from-field): Do not perform RFC2047 encoding.
16599 (mail-encode-header): New function.
16600 (sendmail-send-it): Set buffer-file-coding-system of the work
16601 buffer to the return value of select-message-coding-system.
16602 Call mail-encode-header.
16603
16604 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16605
16606 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
16607
16608 * mail/supercite.el (sc-default-cite-frame):
16609 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16610
16611 2011-05-24 Glenn Morris <rgm@gnu.org>
16612
16613 * progmodes/python.el (brm-menu): Declare.
16614
16615 * emulation/viper.el (viper-set-hooks): Declare.
16616
16617 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16618 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16619 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16620 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16621 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16622 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16623
16624 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 Add an :exit-function for completion-at-point.
16627
16628 * minibuffer.el (completion--done): New fun.
16629 (completion--do-completion): Use it. New arg `expect-exact'.
16630 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16631 since completion--do-completion does it for us now.
16632 (minibuffer-force-complete): Use completion--done and
16633 completion--replace. Handle sole-completion case with more care.
16634 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16635 (completion-extra-properties): New var.
16636 (completion-annotate-function): Make obsolete.
16637 (minibuffer-completion-help): Adjust accordingly.
16638 Use completion-list-insert-choice-function.
16639 (completion-at-point, completion-help-at-point):
16640 Bind completion-extra-properties.
16641 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16642 * simple.el (completion-list-insert-choice-function): New var.
16643 (completion-setup-function): Preserve it.
16644 (choose-completion): Pay attention to it, shuffle the code a bit.
16645 (choose-completion-string): New arg `insert-function'.
16646
16647 * textmodes/bibtex.el: Convert to lexical binding.
16648 (bibtex-mode-map): Use completion-at-point.
16649 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16650 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16651 (bibtex-complete): Define as obsolete alias.
16652 (bibtex-complete-internal): Remove.
16653 (bibtex-format-entry): Remove unused sub-group in regexp.
16654 * shell.el (shell--command-completion-data)
16655 (shell-environment-variable-completion):
16656 * pcomplete.el (pcomplete-completions-at-point):
16657 * comint.el (comint--complete-file-name-data): Use :exit-function
16658 instead of completion-table-with-terminator so it also works for
16659 choose-completion.
16660
16661 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16662
16663 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16664
16665 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16666 (bug#8710).
16667
16668 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16669
16670 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16671
16672 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16673 customization variable and implement: If non-nil, auto-fill will
16674 be inhibited while on topic's header line.
16675
16676 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16677
16678 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16679 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16680 always have a solution in grid size = 5 cases.
16681 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16682 (5x5-solver-output, 5x5-log-buffer): New vars.
16683 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16684 Make these variables buffer local to achieve 5x5 multi-session-ness.
16685 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16686 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16687 (5x5-solve-suggest): New funs.
16688 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16689 randomize a grid so that we ensure that there is always a solution.
16690 (5x5-make-random-grid): Allow other movement than flipping.
16691
16692 2011-05-23 Kevin Ryde <user42@zip.com.au>
16693
16694 * emacs-lisp/advice.el (ad-read-advised-function):
16695 Use `function-called-at-point' as the default, if it has
16696 advice and passes PREDICATE.
16697
16698 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16699
16700 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16701 byte-compile-lambda if it's actually a lambda.
16702
16703 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16704 Fix function quoting. Use backquote better.
16705
16706 2011-05-22 Yuanle Song <sylecn@gmail.com>
16707
16708 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16709 matching (Bug#8516).
16710
16711 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16712
16713 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16714 different face (Bug#8178).
16715
16716 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16717
16718 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16719 defface (Bug#8144).
16720
16721 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16722
16723 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16724 funcall as well (bug#8712). Warn when performing those conversions.
16725 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16726
16727 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16728
16729 2011-05-22 Glenn Morris <rgm@gnu.org>
16730
16731 * files.el (hack-local-variables-prop-line): Small simplifications.
16732 (hack-local-variables, hack-local-variables-prop-line):
16733 If MODE-ONLY, return the mode, rather than just `t'.
16734
16735 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16738
16739 2011-05-21 Glenn Morris <rgm@gnu.org>
16740
16741 * files.el (hack-local-variables-prop-line, hack-local-variables):
16742 If only interested in the mode, don't bother doing the other stuff.
16743
16744 * image-mode.el (image-after-revert-hook):
16745 Redraw all frames on which the image is visible. (Bug#8567)
16746
16747 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16748
16749 * wid-edit.el (widget-checklist-match-inline):
16750 Fix 2011-04-19 change. (Bug#8649)
16751
16752 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16753
16754 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16755 Also allow singlespace after single-letter capitals followed by a dot.
16756
16757 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16758 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16759
16760 2011-05-20 Nix <nix@esperi.org.uk>
16761
16762 * files.el (basic-save-buffer-2):
16763 Fix handling of break-hardlink-on-save with non-existent files.
16764
16765 2011-05-19 Deniz Dogan <deniz@dogan.se>
16766
16767 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16768 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16769
16770 2011-05-19 Glenn Morris <rgm@gnu.org>
16771
16772 * progmodes/f90.el (f90-type-def-re):
16773 Handle "type, bind(c)". (Bug#8691)
16774
16775 * emacs-lisp/autoload.el (batch-update-autoloads):
16776 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16777
16778 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16779
16780 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16781 property for the correct connection in case of multihops.
16782
16783 2011-05-18 Glenn Morris <rgm@gnu.org>
16784
16785 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16786 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16787
16788 Rationalize calendar handling of day and month abbrev-arrays.
16789 * calendar/calendar.el (calendar-customized-p): New function.
16790 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16791 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16792 Add :set function.
16793 (calendar-abbrev-length, calendar-day-abbrev-array)
16794 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16795 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16796 Elements may no longer be nil.
16797 (calendar-day-name, calendar-month-name):
16798 Update for changed nature of abbrev arrays.
16799 * calendar/diary-lib.el (diary-name-pattern):
16800 Update for changed nature of abbrev arrays.
16801 (diary-mark-entries-1): Update calendar-make-alist calls.
16802 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16803 * calendar/cal-html.el (cal-html-day-abbrev-array):
16804 Simply inherit from calendar-day-abbrev-array.
16805
16806 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * progmodes/grep.el (grep-mode): Disable default
16809 compilation-directory-matcher setting (bug#8684).
16810
16811 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16812
16813 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16814 instead of "head" and "tail". There were problems with SunOS 5.9,
16815 and it performs better.
16816
16817 2011-05-17 Glenn Morris <rgm@gnu.org>
16818
16819 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16820
16821 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16822 Replace obsolete function.
16823
16824 * shell.el (pcomplete-parse-arguments-function): Declare.
16825
16826 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16827 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16828 (appt-check): Doc fixes.
16829 (appt-disp-window-function, appt-delete-window-function):
16830 Remove needless special case in custom :type.
16831 (appt-display-count): Default to 0, not nil.
16832 (appt-check): Reset appt-display-count to 0, not nil.
16833
16834 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * progmodes/python.el (python-font-lock-keywords):
16837 Add the Python 3.X keyword "nonlocal" (bug#8639).
16838
16839 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16840
16841 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16842
16843 2011-05-16 Kevin Ryde <user42@zip.com.au>
16844
16845 * info-look.el (makefile-automake-mode): New setups, looking in
16846 automake manual, then makefile-mode.
16847 (makefile-mode): Remove automake manual, have it just in
16848 makefile-automake-mode since there's various things different or
16849 not relevant to plain make.
16850 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16851 believe a hypothetical automake-mode would go to makefile-mode,
16852 not the other way around.
16853
16854 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16855
16856 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16857 hunk-end tags (Bug#8672).
16858
16859 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16860 vc-annotate-show-diff-revision-at-line (Bug#8671).
16861
16862 2011-05-14 Glenn Morris <rgm@gnu.org>
16863
16864 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16865 in the middle of an existing one with multiple authors. (Bug#8645)
16866 (change-log-font-lock-keywords): Also handle multiple author lines
16867 with leading tabs. (Bug#8644)
16868
16869 * calendar/appt.el (appt-check): Rename some local variables.
16870 Some simplification/reordering.
16871
16872 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16873 (feedmail-sendmail-f-doesnt-sell-me-out)
16874 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16875 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16876 (feedmail-queue-runner-message-sender): Set :version.
16877 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16878 (bbdb-dwim-net-address, vm-mail): Declare.
16879 (feedmail-binmail-gnulinuxish-template):
16880 Rename from feedmail-binmail-linuxish-template.
16881 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16882 Use insert-buffer-substring.
16883
16884 2011-05-14 Bill Carpenter <bill@carpenter.org>
16885
16886 * mail/feedmail.el (feedmail-patch-level): Increase.
16887 (feedmail-debug): New custom group.
16888 (feedmail-confirm-outgoing-timeout)
16889 (feedmail-sendmail-f-doesnt-sell-me-out)
16890 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16891 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16892 (feedmail-sender-line, feedmail-from-line)
16893 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16894 (feedmail-spray-this-address)
16895 (feedmail-spray-address-fiddle-plex-list)
16896 (feedmail-queue-use-send-time-for-date)
16897 (feedmail-queue-use-send-time-for-message-id)
16898 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16899 (feedmail-buffer-eating-function):
16900 Doc fixes.
16901 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16902 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16903 (feedmail-message-action-scroll-down): New functions.
16904 (feedmail-queue-directory, feedmail-queue-draft-directory):
16905 Use expand-file-name.
16906 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16907 Remove C-v help entry.
16908 (feedmail-queue-buffer-file-name): New variable.
16909 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16910 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16911 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16912 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16913 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16914 (feedmail-message-action-toggle-spray)
16915 (feedmail-run-the-queue-no-prompts)
16916 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16917 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16918 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16919 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16920 (feedmail-envelope-deducer, feedmail-fiddle-from)
16921 (feedmail-fiddle-sender, feedmail-default-date-generator)
16922 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16923 (feedmail-fiddle-spray-address)
16924 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16925 (feedmail-fiddle-list-of-fiddle-plexes)
16926 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16927 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16928 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16929 Change default. Doc fix.
16930 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16931 (feedmail-binmail-linuxish-template): New constant.
16932 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16933 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16934 (feedmail-send-it): Add debug call.
16935 Use feedmail-queue-buffer-file-name, and
16936 feedmail-send-it-immediately-wrapper.
16937 (feedmail-message-action-send): Add debug call.
16938 Use feedmail-send-it-immediately-wrapper.
16939 (feedmail-queue-express-to-queue): Add debug call.
16940 Run feedmail-queue-express-hook.
16941 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16942 (feedmail-message-action-help-blat):
16943 Rename from feedmail-queue-send-edit-prompt-help-first.
16944 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16945 Check line-endings. Handle errors better.
16946 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16947 Doc fix. Add debug call.
16948 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16949 Use feedmail-queue-send-edit-prompt-inner.
16950 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16951 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16952 from feedmail-queue-send-edit-prompt.
16953 (feedmail-queue-send-edit-prompt-help)
16954 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16955 (feedmail-tidy-up-slug): Add debug call.
16956 Respect feedmail-queue-slug-suspect-regexp.
16957 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16958 (feedmail-dump-message-to-queue): Add debug call.
16959 Expand queue-directory.
16960 (feedmail-dump-message-to-queue): Change message slightly.
16961 Use feedmail-say-chatter.
16962 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16963 (feedmail-send-it-immediately-wrapper): New function.
16964 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16965 Insert empty string rather than newline. Handle full-frame case.
16966 Use catch/throw. Use feedmail-say-chatter.
16967 (feedmail-fiddle-from): Try mail-host-address.
16968 (feedmail-default-message-id-generator): Doc fix.
16969 Bind system-time-locale. Handle missing end.
16970 (feedmail-fiddle-x-mailer): Add debug call.
16971 Handle feedmail-x-mailer-line being nil.
16972 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16973 Add debug call. Use buffer-substring-no-properties.
16974 (feedmail-say-debug, feedmail-say-chatter): New functions.
16975 (feedmail-find-eoh): Give an explicit error.
16976
16977 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
16978
16979 * net/newst-treeview.el (newsticker-treeview-face): Change default
16980 family from helvetica to sans.
16981 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16982 etc/images/newsticker.
16983
16984 * net/newst-reader.el (newsticker-feed-face): Change default
16985 family from helvetica to sans.
16986
16987 * net/newst-plainview.el (newsticker-new-item-face)
16988 (newsticker-old-item-face, newsticker-immortal-item-face)
16989 (newsticker-obsolete-item-face, newsticker-date-face)
16990 (newsticker-statistics-face): Change default family from
16991 helvetica to sans.
16992 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16993 etc/images/newsticker.
16994
16995 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16996 (newsticker--process-auto-mark-filter-match): Tell user about
16997 auto-marking.
16998
16999 2011-05-13 Didier Verna <didier@xemacs.org>
17000
17001 Common Lisp indentation improvements on defmethod and lambda-lists.
17002 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17003 TODO entries.
17004 (lisp-lambda-list-keyword-parameter-indentation)
17005 (lisp-lambda-list-keyword-parameter-alignment)
17006 (lisp-lambda-list-keyword-alignment): New customizable user options.
17007 (lisp-indent-defun-method): Improve docstring.
17008 (extended-loop-p): Fix comment.
17009 (lisp-indent-lambda-list-keywords-regexp): New variable.
17010 (lisp-indent-lambda-list): New function.
17011 (lisp-indent-259): Use it.
17012 (lisp-indent-defmethod): Support for more than one
17013 method qualifier and properly indent methods lambda-lists.
17014 (defgeneric): Provide a missing common-lisp-indent-function property.
17015
17016 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17019 bounds for the empty string (bug#8667).
17020
17021 2011-05-13 Glenn Morris <rgm@gnu.org>
17022
17023 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17024
17025 * mail/sendmail.el (sendmail-program): Try executable-find first.
17026 (sendmail-send-it): `sendmail-program' cannot be unbound.
17027
17028 * calendar/appt.el (appt-make-list): Simplify.
17029 (appt-time-msg-list): Doc fix.
17030 (appt-check): Change mode-line message at the time of the appointment.
17031
17032 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17033
17034 * progmodes/ld-script.el (ld-script-keywords)
17035 (ld-script-builtins): Update keywords list.
17036
17037 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17038
17039 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17040
17041 * shell.el (shell-completion-vars): New function.
17042 (shell-mode):
17043 * simple.el (read-shell-command): Use it.
17044 (blink-matching-open): No need for " [...]" in minibuffer-message.
17045
17046 2011-05-12 Glenn Morris <rgm@gnu.org>
17047
17048 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17049 (appt-check): Simplify.
17050
17051 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17052
17053 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17054 literal "/dev/null".
17055
17056 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17057
17058 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17059 Fix typo.
17060
17061 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17062
17063 * progmodes/which-func.el (which-function):
17064 Use add-log-current-defun instead of add-log-current-defun-function,
17065 which might not be defined (Bug#8260).
17066
17067 2011-05-12 Glenn Morris <rgm@gnu.org>
17068
17069 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17070 Let byte-compile-initial-macro-environment always take precedence.
17071
17072 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17073
17074 * net/rcirc.el: Add support for SSL/TLS connections.
17075 (rcirc-server-alist): New field `encryption'.
17076 (rcirc): Check `encryption' settings.
17077 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17078 Merge make-local-variable into `set'.
17079 (rcirc--connection-open-p): New function.
17080 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17081 the process is not a network process (e.g. running gnutls-cli).
17082 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17083 Make rcirc-(en|de)code-coding-system local here.
17084 (rcirc-mode): Merge make-local-variable into `set'.
17085 (rcirc-parent-buffer): Make permanent buffer-local.
17086 (rcirc-multiline-minor-mode): Don't do it here.
17087 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17088 there's no server buffer.
17089
17090 2011-05-11 Glenn Morris <rgm@gnu.org>
17091
17092 * newcomment.el (comment-kill): Prefix "unused" local.
17093
17094 * term/w32console.el (get-screen-color): Declare.
17095
17096 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17097 Handle symbol elements of byte-compile-initial-macro-environment.
17098
17099 2011-05-10 Leo Liu <sdl.web@gmail.com>
17100
17101 * bookmark.el (bookmark-bmenu-mode-map):
17102 Bind bookmark-bmenu-search to `/'.
17103
17104 * mail/footnote.el: Convert to utf-8 encoding.
17105 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17106 (Footnote-unicode): New function.
17107 (footnote-style-alist): Add unicode style to the list.
17108 (footnote-style): Doc fix.
17109
17110 2011-05-10 Jim Meyering <meyering@redhat.com>
17111
17112 Fix doubled-word typos.
17113 * international/quail.el (quail-insert-kbd-layout): and and -> and
17114 * kermit.el: and and -> and
17115 * net/ldap.el (ldap-search-internal): to to -> to
17116 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17117 * progmodes/js.el (js-mode): and and -> and
17118 * textmodes/artist.el (artist-move-to-xy): at at -> at
17119 (artist-draw-region-trim-line-endings): if if -> if
17120 And Safetyc -> Safety.
17121 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17122
17123 2011-05-10 Glenn Morris <rgm@gnu.org>
17124 Stefan Monnier <monnier@iro.umontreal.ca>
17125
17126 * files.el (hack-one-local-variable-eval-safep):
17127 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17128
17129 2011-05-10 Glenn Morris <rgm@gnu.org>
17130
17131 * calendar/diary-lib.el (diary-list-entries-hook)
17132 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17133 (diary-nongregorian-marking-hook, diary-list-entries)
17134 (diary-include-other-diary-files, diary-mark-entries)
17135 (diary-mark-included-diary-files): Doc fixes.
17136
17137 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17138
17139 * misc.el: Require tabulated-list.el during compilation.
17140
17141 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17142
17143 * progmodes/compile.el (compilation-start):
17144 Run compilation-filter-hook for the async case too.
17145 (compilation-filter-hook): Doc fix.
17146
17147 2011-05-09 Deniz Dogan <deniz@dogan.se>
17148
17149 * wdired.el: Remove outdated installation comment. Fix usage
17150 comment.
17151
17152 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17153
17154 * misc.el: Implement new command `list-dynamic-libraries'.
17155 (list-dynamic-libraries--loaded-only-p): New variable.
17156 (list-dynamic-libraries--refresh): New function.
17157 (list-dynamic-libraries): New command.
17158
17159 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17160
17161 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17162 Fix the ant regexp to handle end-line and end-column info from jikes.
17163 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17164 higher priority to avoid clobbering by gnu.
17165
17166 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17167
17168 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17169 if the face has existing theme settings (Bug#8454).
17170
17171 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17172
17173 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17174 Only match variables declared via `my' or `our' (Bug#8261).
17175
17176 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17177 special file names `.' and `..' (Bug#8259).
17178
17179 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17180
17181 * progmodes/grep.el (grep-mode-font-lock-keywords):
17182 Remove buffer-changing entries.
17183 (grep-filter): New function.
17184 (grep-mode): Add it to compilation-filter-hook.
17185
17186 * progmodes/compile.el (compilation-filter-hook)
17187 (compilation-filter-start): New defvars.
17188 (compilation-filter): Call compilation-filter-hook prior to
17189 updating the process mark.
17190
17191 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17192
17193 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17194
17195 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17196
17197 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17198 mailclient-send-it even if window-system is nil. (Bug#8595)
17199
17200 * term/w32console.el (terminal-init-w32console):
17201 Call get-screen-color and use its output to set the frame
17202 background-mode. (Bug#8597)
17203
17204 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17205
17206 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17207 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17208 New functions.
17209 (defgeneric, eieio--defmethod): Use them.
17210 (eieio-defgeneric): Remove.
17211 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17212
17213 2011-05-07 Glenn Morris <rgm@gnu.org>
17214
17215 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17216 Use let rather than let*.
17217 (timeclock-find-discrep): Remove unused local.
17218
17219 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17220
17221 * calendar/appt.el (appt-time-msg-list): Doc fix.
17222
17223 2011-05-06 Noah Friedman <friedman@splode.com>
17224
17225 * apropos.el (apropos-print-doc): Only use
17226 emacs-lisp-docstring-fill-column when it is bound to an integer,
17227 per that variable's documentation.
17228
17229 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17230
17231 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17232 and warnings are not silently discarded (e.g. use -d instead of -P).
17233
17234 2011-05-06 Glenn Morris <rgm@gnu.org>
17235
17236 * calendar/appt.el (appt-message-warning-time): Doc fix.
17237 (appt-warning-time-regexp): New option.
17238 (appt-make-list): Respect appt-message-warning-time.
17239
17240 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17241 New options.
17242 (diary-add-to-list): Strip comments from the displayed string.
17243 (diary-mode): Set comment-start and comment-end.
17244
17245 * vc/diff-mode.el (smerge-refine-subst): Declare.
17246 (diff-refine-hunk): Don't require smerge-mode when compiling.
17247
17248 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * simple.el (list-processes): Return nil as the docstring says.
17251
17252 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17253
17254 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17255 to "".
17256 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17257 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17258 determining of binary transfer. (Bug#7383)
17259
17260 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17261
17262 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17263 Fix port computation bug. (Bug#8618)
17264
17265 2011-05-05 Glenn Morris <rgm@gnu.org>
17266
17267 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17268
17269 * simple.el (shell-dynamic-complete-functions)
17270 (comint-dynamic-complete-functions): Declare.
17271
17272 * net/network-stream.el (gnutls-negotiate):
17273 * simple.el (tabulated-list-print): Fix declarations.
17274
17275 * progmodes/gud.el (syntax-symbol, syntax-point):
17276 Remove unnecessary and incorrect declarations.
17277
17278 * emacs-lisp/check-declare.el (check-declare-scan):
17279 Handle byte-compile-initial-macro-environment in bytecomp.el
17280
17281 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17282
17283 Fix earlier half-done eieio-defmethod change (bug#8338).
17284 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17285 Streamline and change calling convention.
17286 (defmethod): Adjust accordingly and simplify.
17287 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17288 new eieio--defmethod.
17289 (slot-boundp): Minor CSE simplification.
17290
17291 2011-05-05 Milan Zamazal <pdm@zamazal.org>
17292
17293 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17294 (glasses-make-readable): Use glasses-separate-capital-groups.
17295
17296 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
17297
17298 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17299 (warning-series): Doc fix.
17300 (display-warning): Don't try to create the buffer if we just found it.
17301
17302 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
17303
17304 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17305 (autoload-find-generated-file): New function.
17306 (generate-file-autoloads): Bind generated-autoload-file to
17307 buffer-file-name.
17308 (update-file-autoloads, update-directory-autoloads):
17309 Use autoload-find-generated-file. If called interactively, prompt for
17310 output file (Bug#7989).
17311 (batch-update-autoloads): Doc fix.
17312
17313 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
17314
17315 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17316
17317 2011-05-04 Glenn Morris <rgm@gnu.org>
17318
17319 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17320 function, so it follows changes in calendar-date-style.
17321 (diary-fancy-date-matcher): New function.
17322 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17323 (diary-fancy-font-lock-fontify-region-function):
17324 Use diary-fancy-date-pattern as a function.
17325
17326 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17327 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17328
17329 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17330
17331 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17332 instead of positional arguments. Allow :keylist and :crlfiles
17333 arguments.
17334 (open-gnutls-stream): Call it.
17335
17336 * net/network-stream.el (network-stream-open-starttls): Adjust to
17337 call `gnutls-negotiate' with :process and :hostname arguments.
17338
17339 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17340
17341 * minibuffer.el (completion--message): New function.
17342 (completion--do-completion, minibuffer-complete)
17343 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17344 (completion--do-completion): Don't ignore completion-auto-help when in
17345 icomplete-mode.
17346
17347 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17348 internal encoding (e.g. tibetan zero is not whitespace).
17349 (global-whitespace-mode): Prefer save-current-buffer.
17350 (whitespace-trailing-regexp): Remove useless save-match-data.
17351 (whitespace-empty-at-bob-regexp): Minor simplification.
17352
17353 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
17354
17355 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17356
17357 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17358
17359 * textmodes/ispell.el (ispell-add-per-file-word-list):
17360 Use `concat' to create string for insertion.
17361
17362 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17363
17364 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17365 Avoid open-line which runs post-self-insert-hook.
17366 (bibtex-fill-entry): Remove unused `end' var.
17367
17368 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17369
17370 * textmodes/ispell.el (ispell-add-per-file-word-list):
17371 Protect against `nil' value of `comment-start' (Bug#8579).
17372
17373 2011-05-03 Leo Liu <sdl.web@gmail.com>
17374
17375 * isearch.el (isearch-yank-pop): New command.
17376 (isearch-mode-map): Bind it to `M-y'.
17377 (isearch-forward): Mention it.
17378
17379 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * simple.el (minibuffer-complete-shell-command): Remove.
17382 (minibuffer-local-shell-command-map): Use completion-at-point.
17383 (read-shell-command): Setup completion vars here instead.
17384 (read-expression-map): Bind TAB to symbol completion.
17385
17386 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17387 error directly rather via storing it into `results'.
17388
17389 2011-05-02 Leo Liu <sdl.web@gmail.com>
17390
17391 * vc/diff.el: Fix description.
17392
17393 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17394
17395 * server.el (server-eval-at): New function.
17396
17397 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17398
17399 * net/network-stream.el (open-network-stream): Take a :nowait
17400 parameter and pass it on to `make-network-process'.
17401 (network-stream-open-plain): Ditto.
17402
17403 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17404
17405 * faces.el (face-spec-set-match-display): Don't match toolkit
17406 options on terminal frames.
17407
17408 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * progmodes/pascal.el: Use lexical binding.
17411 (pascal-mode-map): Remove author preferences.
17412
17413 * pcomplete.el (pcomplete-std-complete): Don't abuse
17414 completion-at-point.
17415
17416 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17417
17418 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17419 removing code that has been dead since 1991 or so.
17420
17421 * startup.el (command-line): When warning about "_emacs", use a
17422 delayed warning to allow the user to filter it out.
17423
17424 2011-04-28 Deniz Dogan <deniz@dogan.se>
17425
17426 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17427 user has not joined.
17428
17429 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17430
17431 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17432 aren't any completions at point.
17433
17434 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
17435
17436 * subr.el (display-delayed-warnings): New function.
17437 (delayed-warnings-hook): New variable.
17438
17439 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17440
17441 * minibuffer.el (completion-at-point, completion-help-at-point):
17442 Don't presume that a given completion-at-point-function will always
17443 use the same calling convention.
17444
17445 * pcomplete.el (pcomplete-completions-at-point):
17446 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17447 pcomplete-seen is non-nil.
17448 (pcomplete-comint-setup): Also recognize the new comint/shell
17449 completion functions.
17450 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17451 pcomplete-seen is non-nil.
17452
17453 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
17454
17455 * calendar/icalendar.el (diary-lib): Add require statement.
17456 (icalendar--create-uid): Read out a uid from a text-property on
17457 the first character in the entry. This allows for code to add its
17458 own uid to the entry.
17459 (icalendar--convert-float-to-ical): Add export of
17460 `diary-float'-entries save for those with the optional DAY
17461 argument.
17462
17463 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17464
17465 * subr.el (shell-quote-argument): Use alternate escaping strategy
17466 when we spot a variable reference in a string.
17467
17468 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17469
17470 * cus-start.el (all): Define customization for debug-on-event.
17471
17472 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17473
17474 * subr.el (shell-quote-argument): Escape correctly under Windows.
17475
17476 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17479
17480 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
17481
17482 * net/tramp.el (tramp-process-actions): Add POS argument.
17483 Delete region between POS and (pos).
17484
17485 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17486 Use `nil' position in `tramp-process-actions' call.
17487 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17488
17489 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17490 position in `tramp-process-actions' call.
17491
17492 * net/trampver.el: Update release number.
17493
17494 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17495
17496 * custom.el (defcustom): Obey lexical-binding.
17497
17498 Fix octave-inf completion problems reported by Alexander Klimov.
17499 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17500 Inherit from octave-mode-syntax-table.
17501 (inferior-octave-mode): Set info-lookup-mode.
17502 (inferior-octave-completion-at-point): New function.
17503 (inferior-octave-complete): Use it and completion-in-region.
17504 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17505 comint-filename-completion.
17506 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17507 symbol elements which shouldn't be word elements.
17508 (octave-font-lock-keywords, octave-beginning-of-defun)
17509 (octave-function-header-regexp): Adjust regexps accordingly.
17510 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17511
17512 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
17513
17514 * net/gnutls.el (gnutls-errorp): Declare before first use.
17515
17516 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17517
17518 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17519 verify-error, and verify-hostname-error parameters. Check whether
17520 default trustfile exists before going to use it. Add missing
17521 argument to gnutls-message-maybe call. Return value.
17522 Reported by Claudio Bley <claudio.bley@gmail.com>.
17523 (open-gnutls-stream): Add usage example.
17524
17525 * net/network-stream.el (network-stream-open-starttls): Give host
17526 parameter to `gnutls-negotiate'.
17527 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17528 * subr.el (shell-quote-argument): Escape correctly under Windows.
17529
17530 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
17531
17532 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17533 Use correct match group (bug#8438).
17534
17535 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17536
17537 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17538 (package-menu--generate): New arg specifying packages to show.
17539 (package-menu-refresh, package-menu-execute, list-packages):
17540 Callers changed.
17541 (package-show-package-list): New function, replacing deleted
17542 package--list-packages (renamed because it is non-internal).
17543
17544 * finder.el (finder-list-matches): Use package-show-package-list
17545 instead of deleted package--list-packages.
17546
17547 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17548 Based on a previous implementation by Juanma Barranquero (Bug#8366).
17549 (vc-annotate-mode-map): Bind it to RET.
17550
17551 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17552
17553 * progmodes/etags.el (next-file): Don't use set-buffer to change
17554 buffers (Bug#8478).
17555
17556 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
17557
17558 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17559
17560 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17561 (apropos-accumulator): Doc fix.
17562 (apropos-function, apropos-macro, apropos-command)
17563 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17564 (apropos-plist): Add face property.
17565 (apropos-symbols-internal): Fix indentation.
17566 (apropos-print): Simplify help, and recognize apropos-multi-type.
17567 (apropos-print-doc): Use button-type-get to extract the button's
17568 face property. Fill docstring (Bug#8352).
17569
17570 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
17571
17572 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17573
17574 * play/mpuz.el (mpuz-silent): Doc fix.
17575 (mpuz-mode-map): Use mapc.
17576 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17577 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17578 Fix typos in docstrings.
17579
17580 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17581 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17582
17583 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17584
17585 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
17586
17587 * minibuffer.el (completion--do-completion): Avoid the "Next char
17588 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17589
17590 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17591 mouse-2 into unread-command-events, it is interpreted correctly.
17592
17593 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17594 (image-toggle-display): Doc fix.
17595
17596 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
17597
17598 * textmodes/page.el (what-page): Use line-number-at-pos to
17599 calculate line number (Bug#6825).
17600
17601 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17602
17603 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17604 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17605 Pass argument NO-DEFAULT to `find-tag-interactive'.
17606
17607 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
17608
17609 Lexical-binding cleanup.
17610
17611 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17612 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17613 * progmodes/ada-prj.el (ada-prj-initialize-values)
17614 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17615 (ada-prj-show-value):
17616 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17617 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17618 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17619 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17620 * progmodes/bug-reference.el (bug-reference-push-button):
17621 * progmodes/fortran.el (fortran-line-length):
17622 * progmodes/glasses.el (glasses-change):
17623 * progmodes/octave-mod.el (octave-fill-paragraph):
17624 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17625 (python-pdbtrack-grub-for-buffer, python-sentinel):
17626 * progmodes/sql.el (sql-save-connection):
17627 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17628 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17629 Mark unused parameters.
17630
17631 * progmodes/compile.el (compilation--flush-directory-cache)
17632 (compilation--flush-parse, compile-internal): Mark unused parameters.
17633 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17634 (compilation-next-error-function): Remove unused variable `timestamp'.
17635
17636 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17637 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17638
17639 * progmodes/dcl-mode.el (dcl-end-of-command):
17640 Remove unused variable `start'.
17641 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17642 (dcl-option-value-basic, dcl-option-value-offset)
17643 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17644 Mark unused parameters.
17645 (dcl-save-local-variable): Remove unused variable `val'.
17646 (mode): Declare.
17647
17648 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17649 Mark unused parameters.
17650 (delphi-ignore-changes): Move before first use.
17651 (delphi-charset-token-at): Remove unused variable `start'.
17652 (delphi-else-start): Remove unused variable `if-count'.
17653 (delphi-comment-block-start, delphi-comment-block-end):
17654 Remove unused variable `kind'.
17655 (delphi-indent-line): Remove unused variable `new-point'.
17656
17657 * progmodes/ebrowse.el (ebrowse-files-list)
17658 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17659 Mark unused parameters. Don't quote `lambda'.
17660 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17661 Don't quote `lambda'.
17662 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17663 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17664 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17665 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17666 Use `ignore-errors'.
17667 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17668 (ebrowse-view/find-file-and-search-pattern)
17669 (ebrowse-view/find-member-declaration/definition):
17670 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17671 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17672 Rename parameter PREFIX-ARG to PREFIX.
17673 (ebrowse-tags-read-name): Remove unused variables `start' and
17674 `member-info'.
17675 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17676 to `tags-file'.
17677
17678 * progmodes/etags.el (local-find-tag-hook): Declare.
17679 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17680 Mark unused parameters.
17681
17682 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17683 (executable-interpret): Mark unused parameter.
17684
17685 * progmodes/flymake.el (flymake-process-sentinel)
17686 (flymake-after-change-function)
17687 (flymake-create-temp-with-folder-structure)
17688 (flymake-get-include-dirs-dot): Mark unused parameters.
17689 (flymake-safe-delete-directory): Remove unused variable `err'.
17690
17691 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17692 (speedbar-timer-fn, speedbar-line-text)
17693 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17694 (speedbar-center-buffer-smartly): Declare functions.
17695 (gdb-find-watch-expression): Remove unused variable `array'.
17696 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17697 (gdb-starting): Mark unused parameters.
17698 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17699 (gdb-table-string): Remove unused variable `res'.
17700 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17701 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17702 (gdb-display-buffer): Remove unused variable `cur-size'.
17703
17704 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17705 allow lexical-binding compilation.
17706 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17707 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17708 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17709 Mark unused parameters.
17710 (gud-gdb-marker-filter): Remove unused variable `match'.
17711 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17712 lambda expressions and funcall them, instead of using `fset'.
17713
17714 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17715 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17716
17717 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17718 variable `header-beg'; use `let'.
17719
17720 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17721 `restart', `last-sexp' and `at-do'.
17722
17723 * progmodes/js.el (js--debug): Mark unused parameter.
17724 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17725 (js--splice-into-items): Remove unused variable `item'.
17726 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17727
17728 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17729 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17730 (makefile-complete): Remove unused variable `try'.
17731 (makefile-fill-paragraph, makefile-match-function-end):
17732 Mark unused parameters.
17733
17734 * progmodes/octave-inf.el (inferior-octave-complete):
17735 Remove unused variable `proc'.
17736 (inferior-octave-output-digest): Mark unused parameter.
17737
17738 * progmodes/perl-mode.el (perl-calculate-indent):
17739 Remove unused variable `err'.
17740
17741 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17742 (prolog-indent-line): Mark unused parameters.
17743 (prolog-indent-line): Remove unused variable `beg'.
17744
17745 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17746 (reporter-dont-compact-list): Declare.
17747
17748 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17749 Remove unused variable `char'.
17750 (sh-debug): Mark unused parameter.
17751 (sh-get-indent-info): Remove unused variable `start'.
17752 (sh-calculate-indent): Remove unused variable `var'.
17753
17754 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17755 (simula-electric-keyword): Remove unused variable `null'.
17756 (simula-search-backward, simula-search-forward): Remove unused
17757 variables `begin' and `end'.
17758
17759 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17760 Remove unused variable `pos'.
17761 (vera-electric-tab, vera-comment-uncomment-region):
17762 Mark unused parameters.
17763 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17764
17765 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17766
17767 * emacs-lisp/package.el (package--builtins, package-alist)
17768 (package-load-descriptor, package-built-in-p, package-activate)
17769 (define-package, package-installed-p)
17770 (package-compute-transaction, package-buffer-info)
17771 (package--push): Doc fix. Distinguish more clearly between
17772 version strings and version lists.
17773
17774 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17775
17776 Lexical-binding cleanup.
17777
17778 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17779 (5x5-make-mutate-best):
17780 * play/fortune.el (fortune-in-buffer):
17781 * play/gomoku.el (gomoku-init-display):
17782 * play/solitaire.el (solitaire, solitaire-do-check):
17783 * play/tetris.el (tetris-default-update-speed-function):
17784 Mark unused parameters.
17785
17786 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17787 (bubbles--shift): Remove unused variable `char-org'.
17788 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17789 (bubbles--show-images): Remove unused variable `char'.
17790
17791 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17792 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17793 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17794 (decipher-analyze-buffer): Use ?\s.
17795 (decipher-make-checkpoint): Remove unused variable `mapping'.
17796
17797 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17798
17799 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17800 Remove unused variable `result'; use `let'.
17801
17802 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17803 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17804 (gametree-children-shown-p, gametree-compute-reduced-score):
17805 Use `ignore-errors'.
17806
17807 * play/handwrite.el (ps-lpr-switches): Declare.
17808 (handwrite): Remove unused variables `pmin' and `lastp'.
17809
17810 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17811
17812 * play/landmark.el (landmark-init-display)
17813 (landmark-update-naught-weights): Mark unused parameters.
17814 (landmark-y): Remove unused variable `noise'. Simplify.
17815 (landmark-human-plays): Remove unused variable `score'.
17816
17817 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17818 (mpuz-try-proposal): Remove unused variable `game'.
17819
17820 * play/zone.el (life-patterns): Declare.
17821
17822 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17823
17824 * vc/vc.el (ediff-vc-internal): Declare function.
17825
17826 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * shell.el: Use lexical-binding and std completion UI.
17829 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17830 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17831 comint-preoutput-filter-functions rather than on
17832 comint-output-filter-functions.
17833 (shell-command-completion, shell--command-completion-data)
17834 (shell-filename-completion, shell-environment-variable-completion)
17835 (shell-c-a-p-replace-by-expanded-directory): New functions.
17836 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17837 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17838 (shell-dynamic-complete-environment-variable): Use them.
17839 (shell-dynamic-complete-as-environment-variable)
17840 (shell-dynamic-complete-as-command): Remove.
17841 (shell-match-partial-variable): Match past point.
17842 * comint.el: Clean up use of completion-at-point-functions.
17843 (comint-completion-at-point): New function.
17844 (comint-mode): Use it completion-at-point-functions.
17845 (comint-dynamic-complete): Make it obsolete.
17846 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17847 (comint-c-a-p-replace-by-expanded-history): New function.
17848 (comint-dynamic-complete-functions)
17849 (comint-replace-by-expanded-history): Use it.
17850 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17851 termination strings. Try harder to avoid second try-completion.
17852 (completion-in-region-mode-map): Disable bindings that don't work yet.
17853
17854 * comint.el: Use lexical-binding. Require CL.
17855 (comint-dynamic-complete-functions): Use comint-filename-completion.
17856 (comint-completion-addsuffix): Tweak custom type.
17857 (comint-filename-completion, comint--common-suffix)
17858 (comint--common-quoted-suffix, comint--table-subvert)
17859 (comint--complete-file-name-data): New functions.
17860 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17861 (comint-dynamic-list-filename-completions): Use them.
17862 (comint-dynamic-simple-complete): Make obsolete.
17863
17864 * minibuffer.el (completion-in-region-mode):
17865 Keep completion-in-region-mode--predicate global.
17866 (completion-in-region--postch):
17867 Assume completion-in-region-mode--predicate is not null.
17868
17869 * progmodes/flymake.el (flymake-start-syntax-check-process):
17870 Obey `dir'. Simplify.
17871
17872 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17873 we're in VC after all.
17874
17875 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17876
17877 * vc/vc.el (vc-diff-build-argument-list-internal)
17878 (vc-version-ediff, vc-ediff): New commands.
17879 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17880
17881 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17884 add sanity check.
17885
17886 * obsolete/erc-hecomplete.el: Make obsolete.
17887 * obsolete/: Standardize obsolescence info in the header.
17888
17889 2011-04-20 Glenn Morris <rgm@gnu.org>
17890
17891 * calendar/solar.el (solar-horizontal-coordinates):
17892 Use the longitude argument rather than `calendar-longitude'.
17893 (solar-date-next-longitude): Remove unused locals.
17894
17895 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17896
17897 * whitespace.el: New version 13.2.1.
17898
17899 2011-04-20 felix <EmacsWiki> (tiny change)
17900
17901 * whitespace.el (global-whitespace-mode): Keep highlight when
17902 switching between major modes on a file.
17903
17904 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17905
17906 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17907 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17908 multi-line comments as well.
17909
17910 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17911
17912 Lexical-binding cleanup.
17913
17914 * arc-mode.el (archive-mode-revert):
17915 * cmuscheme.el (scheme-interactively-start-process):
17916 * custom.el (custom-initialize-delay):
17917 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17918 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17919 * emacs-lock.el (emacs-lock-clear-sentinel):
17920 * ezimage.el (defezimage):
17921 * follow.el (follow-avoid-tail-recenter):
17922 * fringe.el (set-fringe-mode-1):
17923 * generic-x.el (bat-generic-mode-compile):
17924 * help-mode.el (help-info-variable, help-do-xref)
17925 (help-mode-revert-buffer):
17926 * help.el (view-emacs-todo):
17927 * iswitchb.el (iswitchb-completion-help):
17928 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17929 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17930 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17931 * locate.el (locate-update):
17932 * longlines.el (longlines-encode-region)
17933 (longlines-after-change-function):
17934 * outline.el (outline-isearch-open-invisible):
17935 * ps-def.el (declare-function, charset-dimension, char-width)
17936 (encode-char):
17937 * ps-mule.el (ps-mule-plot-string):
17938 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17939 (recentf-edit-list-select, recentf-edit-list-validate)
17940 (recentf-open-files-action):
17941 * rect.el (delete-whitespace-rectangle-line)
17942 (rectangle-number-line-callback):
17943 * register.el (window-configuration-to-register)
17944 (frame-configuration-to-register):
17945 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17946 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17947 (xselect-convert-to-targets, xselect-convert-to-delete)
17948 (xselect-convert-to-filename, xselect-convert-to-charpos)
17949 (xselect-convert-to-lineno, xselect-convert-to-colno)
17950 (xselect-convert-to-os, xselect-convert-to-host)
17951 (xselect-convert-to-user, xselect-convert-to-class)
17952 (xselect-convert-to-name, xselect-convert-to-integer)
17953 (xselect-convert-to-atom, xselect-convert-to-identity):
17954 * subr.el (declare, ignore, process-kill-without-query)
17955 (text-clone-maintain):
17956 * terminal.el (te-get-char, te-tic-sentinel):
17957 * tool-bar.el (tool-bar-make-keymap):
17958 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17959 * type-break.el (type-break-mode, type-break-noninteractive-query):
17960 * view.el (View-back-to-mark):
17961 * wid-browse.el (widget-browse-action, widget-browse-widget)
17962 (widget-browse-widgets, widget-browse-sexp):
17963 * widget.el (define-widget-keywords):
17964 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17965 Mark unused parameters.
17966
17967 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17968 (align-areas): Remove unused variable `look'.
17969 (align-region): Remove unused variables `real-end' and `pos-list'.
17970
17971 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17972
17973 * bindings.el (mode-line-modified, mode-line-remote):
17974 Mark unused parameters.
17975 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17976
17977 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17978 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17979
17980 * comint.el (comint-history-isearch-pop-state)
17981 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17982 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17983 (comint-substitute-in-file-name): Doc fix.
17984
17985 * completion.el (cmpl-statistics-block): Mark unused parameter.
17986 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17987 (save-completions-to-file, load-completions-from-file):
17988 Remove unused local variable `e'.
17989
17990 * composite.el (compose-chars): Remove unused variable `len'.
17991 (lgstring-insert-glyph): Remove unused variable `g'.
17992 (compose-glyph-string): Remove unused variables `ascent',
17993 `descent', `lbearing' and `rbearing'.
17994 (compose-glyph-string-relative): Remove unused variables
17995 `lbearing', `rbearing' and `wadjust'.
17996 (compose-gstring-for-graphic): Remove unused variables `header',
17997 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17998 (compose-gstring-for-terminal): Remove unused variables `header'
17999 and `nchars'. Use `let', not `let*'.
18000
18001 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18002 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18003 (Custom-buffer-done, custom-buffer-create-internal)
18004 (custom-browse-visibility-action, custom-browse-group-tag-action)
18005 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18006 (widget-magic-mouse-down-action, custom-toggle-parent)
18007 (custom-add-parent-links, custom-toggle-hide-variable)
18008 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18009 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18010 (custom-face-menu-create, custom-variable-menu-create, get)
18011 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18012 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18013 (customize-apropos): Remove unused variable `tests'.
18014 (custom-group-value-create): Remove unused variable `hidden-p'.
18015 (sort-fold-case): Declare.
18016
18017 * cus-theme.el (custom-reset-standard-faces-list)
18018 (custom-reset-standard-variables-list): Declare.
18019 (customize-create-theme, custom-theme-revert, custom-theme-write)
18020 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18021 Mark unused parameters.
18022
18023 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18024
18025 * delim-col.el (delimit-columns-max): Move defvar before first use.
18026
18027 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18028 (describe-char): Don't quote `lambda'. Mark unused parameter.
18029
18030 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18031 (auto-insert): Declare.
18032 (desktop-restore-file-buffer): Rename desktop-* parameters;
18033 mark unused ones.
18034 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18035 (desktop-buffer): Rename desktop-* parameters.
18036
18037 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18038 (dframe-reposition-frame-xemacs, dframe-help-echo)
18039 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18040 Mark unused parameters.
18041
18042 * dired-aux.el (backup-extract-version-start, overwrite-query)
18043 (overwrite-backup-query, rename-regexp-query)
18044 (rename-non-directory-query): Declare.
18045 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18046 (dired-add-entry): Remove unused variable `orig-file-name'.
18047 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18048 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18049 `dired-copy-preserve-time' directly.
18050 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18051 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18052
18053 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18054 (dired-virtual-revert, dired-make-relative-symlink):
18055 Mark unused parameters.
18056 (manual-program): Declare.
18057 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18058 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18059 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18060
18061 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18062
18063 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18064
18065 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18066 Declare.
18067
18068 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18069
18070 * electric.el (Electric-command-loop): Rename parameter
18071 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18072
18073 * expand.el (expand-in-literal): Remove unused variable `here'.
18074
18075 * facemenu.el (facemenu-add-new-color):
18076 Remove unused variable `docstring'.
18077
18078 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18079 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18080 (face-attr-construct): Mark unused parameter. Doc fix.
18081 (read-color): Remove unused variable `hex-string'.
18082
18083 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18084 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18085 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18086 (display-buffer-other-frame): Remove unused variable `old-window'.
18087 (kill-buffer-hook): Declare.
18088 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18089 Mark unused parameters.
18090 (after-find-file): Pass 1 to `auto-save-mode', not t.
18091
18092 * files-x.el (auto-insert): Declare.
18093 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18094
18095 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18096 variable `buf'. Mark unused parameter.
18097 (find-lisp-insert-directory): Mark unused parameter.
18098
18099 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18100 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18101 (format-common-tail): Remove, unused.
18102 (format-deannotate-region): Remove unused variable `loc'.
18103 (format-annotate-region): Remove unused variable `p'.
18104 (format-annotate-single-property-change): Remove unused variables
18105 `default' and `tail'.
18106
18107 * forms.el (read-file-filter): Declare.
18108 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18109
18110 * frame.el (frame-creation-function-alist): Mark unused parameter.
18111 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18112
18113 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18114 Remove unused parameters.
18115 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18116 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18117
18118 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18119 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18120 (hfy-prepare-tag-map): Mark unused parameters.
18121 (htmlfontify-buffer): Use `called-interactively-p'.
18122
18123 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18124 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18125 (ibuffer-do-occur): Mark unused parameters.
18126 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18127 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18128
18129 * ibuffer.el: Don't quote `lambda'.
18130 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18131 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18132 Mark unused parameters.
18133
18134 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18135 (ido-completing-read): Mark unused parameters.
18136 (ido-copy-current-word): Mark unused parameters;
18137 remove unused variable `name'.
18138 (ido-sort-merged-list): Remove unused parameter `dirs'.
18139
18140 * ielm.el (ielm-input-sender): Mark unused parameter.
18141 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18142 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18143 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18144 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18145 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18146
18147 * image-dired.el (image-dired-display-thumbs): Remove unused
18148 variables `curr-file' and `count'.
18149 (image-dired-remove-tag): Remove unused variable `start'.
18150 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18151 variable `curr-file'
18152 (image-dired-rotate-original): Remove unused variable `temp-file'.
18153 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18154 Remove unused variable `file'.
18155 (image-dired-gallery-generate): Remove unused variable `curr'.
18156 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18157
18158 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18159
18160 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18161
18162 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18163
18164 * isearch.el (minibuffer-history-symbol): Declare.
18165 (isearch-edit-string): Remove unused variable `err'.
18166 (isearch-message-prefix, isearch-message-suffix):
18167 Mark unused parameters.
18168
18169 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18170
18171 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18172
18173 * makesum.el (double-column): Remove unused variable `cnt'.
18174
18175 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18176 (ido-ignore-item-temp-list): Declare.
18177
18178 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18179 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18180 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18181 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18182 `mouse-col-delta'.
18183
18184 * mouse-sel.el (mouse-extend-internal):
18185 Remove unused variable `orig-window-frame'.
18186
18187 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18188 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18189 Move declarations before first use.
18190 (pcomplete-opt): Mark unused parameters; doc fix.
18191
18192 * proced.el (proced-revert): Mark unused parameter.
18193 (proced-send-signal): Remove unused variable `err'.
18194
18195 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18196 Rename parameter PREFIX-ARG to ARG.
18197 (ps-basic-plot-string, ps-basic-plot-whitespace):
18198 Mark unused parameters.
18199
18200 * replace.el (replace-count): Define.
18201 (occur-revert-function): Mark unused parameters.
18202 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18203 (isearch-case-fold-search, isearch-string): Declare.
18204 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18205 bind `case-fold-search'. Remove unused variables `beg' and `end',
18206 and simplify.
18207 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18208 COUNT and bind `replace-count'.
18209 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18210 to COUNT.
18211
18212 * savehist.el (print-readably, print-string-length): Declare.
18213
18214 * shadowfile.el (shadow-expand-cluster-in-file-name):
18215 Remove unused variable `cluster'.
18216 (shadow-copy-file): Remove unused variable `i'.
18217 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18218 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18219 (shadow-define-literal-group, shadow-define-regexp-group)
18220 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18221
18222 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18223 (shell): Use `called-interactively-p'.
18224 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18225
18226 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18227 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18228 (delete-backward-char): Remove unused variable `ocol'.
18229 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18230 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18231 (event-apply-hyper-modifier, event-apply-shift-modifier)
18232 (event-apply-control-modifier, event-apply-meta-modifier):
18233 Mark unused parameters.
18234 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18235 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18236
18237 * speedbar.el (speedbar-ignored-directory-expressions)
18238 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18239 (speedbar-find-file, speedbar-dir-follow)
18240 (speedbar-directory-buttons-follow, speedbar-tag-find)
18241 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18242 (speedbar-buffers-line-directory, speedbar-buffer-click):
18243 Mark unused parameters.
18244 (speedbar-tag-file): Remove unused variable `mode'.
18245 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18246
18247 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18248
18249 * talk.el (talk): Remove unused variable `display'.
18250
18251 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18252 (tar-write-region-annotate): Mark unused parameter.
18253
18254 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18255 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18256 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18257 warning by another.
18258
18259 * time-stamp.el (time-stamp-string-preprocess):
18260 Remove unused variable `require-padding'.
18261
18262 * tree-widget.el (widget-glyph-enable): Declare.
18263 (tree-widget-action): Mark unused parameter.
18264
18265 * w32-fns.el (x-get-selection): Mark unused parameter.
18266 (autoload-make-program, generated-autoload-file): Declare.
18267
18268 * wdired.el (wdired-revert): Mark unused parameters.
18269 (wdired-xcase-word): Remove unused variable `err'.
18270
18271 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18272 (whitespace-help-scroll): Remove unused variable `data-help'.
18273
18274 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18275 (widget-image-insert, widget-after-change, default)
18276 (widget-default-format-handler, widget-default-notify)
18277 (widget-default-prompt-value, widget-info-link-action)
18278 (widget-url-link-action, widget-function-link-action)
18279 (widget-variable-link-action, widget-file-link-action)
18280 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18281 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18282 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18283 (widget-insert-button-action, widget-delete-button-action, visibility)
18284 (widget-documentation-link-action, widget-documentation-string-action)
18285 (widget-const-prompt-value, widget-regexp-match, symbol)
18286 (widget-coding-system-prompt-value)
18287 (widget-key-sequence-value-to-external, sexp)
18288 (widget-sexp-value-to-internal, character, vector, cons)
18289 (widget-choice-prompt-value, widget-boolean-prompt-value)
18290 (widget-color--choose-action): Mark unused parameters.
18291 (widget-item-match-inline, widget-choice-match-inline)
18292 (widget-checklist-match, widget-checklist-match-inline)
18293 (widget-group-match): Rename parameter VALUES to VALS.
18294 (widget-field-value-set): Remove unused variable `size'.
18295 (widget-color-action): Remove unused variables `value' and `start'.
18296
18297 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18298 variable `dir'. Doc fix.
18299 (windmove-find-other-window): Don't pass it.
18300
18301 * window.el (count-windows): Mark unused parameter.
18302 (bw-adjust-window): Remove unused variable `err'.
18303
18304 * woman.el (woman-file-name): Remove unused variable `default'.
18305 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18306 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18307 (global-font-lock-mode): Declare.
18308 (woman-decode-region): Mark unused parameter.
18309 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18310
18311 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18312 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18313 (x-dnd-handle-moz-url): Remove unused variable `title'.
18314 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18315
18316 * xml.el (xml-parse-tag, xml-parse-attlist):
18317 Remove unused variable `pos'.
18318
18319 2011-04-19 Glenn Morris <rgm@gnu.org>
18320
18321 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18322 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18323 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18324 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18325 * calendar/cal-html.el (cal-html-insert-minical):
18326 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18327 (calendar-mark-date-pattern):
18328 Prefix "unused" locals.
18329
18330 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18331 optional argument `style'.
18332
18333 * calendar/appt.el (appt-make-list):
18334 * calendar/cal-china.el (calendar-chinese-date-string):
18335 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18336 (diary-hebrew-yahrzeit):
18337 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18338 * calendar/calendar.el (calendar-generate-window):
18339 * calendar/time-date.el (time-to-days):
18340 Remove unused local variables.
18341
18342 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
18343
18344 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18345 glyphless-char-display table.
18346 (tabulated-list-glyphless-char-display): New var.
18347
18348 2011-04-18 Sam Steingold <sds@gnu.org>
18349
18350 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18351 to acknowledgments.
18352
18353 2011-04-17 Glenn Morris <rgm@gnu.org>
18354
18355 * calendar/diary-lib.el (diary-sexp-entry):
18356 * calendar/holidays.el (holiday-sexp):
18357 Set debug-on-error rather than the removed stack-trace-on-error.
18358
18359 2011-04-16 Glenn Morris <rgm@gnu.org>
18360
18361 * progmodes/f90.el: Use lexical-binding.
18362 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18363
18364 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18367 (mail-mode): Setup mailalias completion here instead.
18368 * mail/mailalias.el: Use lexical-binding.
18369 (pattern, mailalias-done): Declare dynamic.
18370 (mail-completion-at-point-function): New function, from mail-complete.
18371 (mail-complete): Use it.
18372 (mail-completion-expand): New function.
18373 (mail-get-names): Use it.
18374 (mail-directory, mail-directory-process, mail-directory-stream):
18375 Don't use `pattern' for lexically bound arg.
18376
18377 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18378
18379 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18380 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18381 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18382
18383 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18384 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18385 (byte-interactive-p): Define them again, for use when inlining
18386 old code.
18387
18388 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
18389
18390 * loadup.el: Use `string-to-number', not `string-to-int'.
18391
18392 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18393
18394 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18395 gud-gdb-complete-command.
18396 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18397 (gud-gdb-completion-at-point): New function.
18398 (gud-gdb-completions): Remove.
18399
18400 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
18401
18402 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18403 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18404 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18405 whether `executable-find' is bound.
18406
18407 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18408
18409 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * minibuffer.el (completion-in-region-mode-predicate)
18412 (completion-in-region-mode--predicate): New vars.
18413 (completion-in-region, completion-in-region--postch)
18414 (completion-in-region-mode): Use them.
18415 (completion--capf-wrapper): Also return the hook function.
18416 (completion-at-point, completion-help-at-point):
18417 Adjust and provide a predicate.
18418
18419 Preserve arg names for advice of subr and lexical functions (bug#8457).
18420 * help-fns.el (help-function-arglist): Consolidate the subr and
18421 new-byte-code cases. Add argument `preserve-names' to extract names
18422 from the docstring when needed.
18423 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18424 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18425 (ad-arglist): Use help-function-arglist's new arg.
18426 (ad-definition-type): Use cond.
18427
18428 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
18429
18430 * autorevert.el (auto-revert-handler):
18431 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18432 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18433 Don't quote lambda.
18434
18435 * image-mode.el (image-transform-set-scale):
18436 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18437
18438 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18439
18440 * net/network-stream.el (network-stream-open-starttls): Only do
18441 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18442 Upgrades via gnutls-cli are too slow to be done opportunistically.
18443
18444 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
18445
18446 * dframe.el (dframe-current-frame): Remove spurious quote.
18447
18448 2011-04-12 Glenn Morris <rgm@gnu.org>
18449
18450 * calendar/cal-tex.el (cal-tex-end-document):
18451 Try to automatically use latin1 input if needed.
18452
18453 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18454 Don't try to cons a mark onto an empty element.
18455
18456 2011-04-11 Leo Liu <sdl.web@gmail.com>
18457
18458 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18459 buffers.
18460 (ido-kill-buffer-at-head): Support killing virtual buffers.
18461
18462 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
18463
18464 * minibuffer.el (completion-show-inline-help): New var.
18465 (completion--do-completion, minibuffer-complete)
18466 (minibuffer-force-complete, minibuffer-complete-word):
18467 Inhibit minibuffer messages if completion-show-inline-help is nil.
18468
18469 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18470 to avoid interference from inline help (Bug#5849).
18471
18472 2011-04-10 Leo Liu <sdl.web@gmail.com>
18473
18474 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18475 Fix typo.
18476
18477 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
18478
18479 * image-mode.el (image-toggle-display-image): Signal an error if
18480 not in Image mode.
18481 (image-transform-mode, image-transform-resize)
18482 (image-transform-set-rotation): Doc fix.
18483 (image-transform-set-resize): Delete.
18484 (image-transform-set-scale, image-transform-fit-to-height)
18485 (image-transform-fit-to-width): Handle image-toggle-display-image
18486 and image-transform-resize directly.
18487
18488 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
18489
18490 * doc-view.el (doc-view-fit-width-to-window)
18491 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18492 New functions for fitting the shown image to the Emacs window size.
18493 (doc-view-mode-map): Add bindings for the new functions.
18494
18495 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
18496
18497 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18498 Fix typo in docstring.
18499
18500 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18501
18502 * files.el (file-size-human-readable): Produce one digit after
18503 decimal, like "ls -lh" does.
18504
18505 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18506 the file size representation.
18507
18508 * simple.el (list-processes): If async subprocesses are not
18509 available, error out with a clear error message.
18510
18511 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * help.el (help-form-show): New function, to be called from C.
18514 Put help-form output in a buffer named differently than *Help*.
18515
18516 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18517
18518 * files.el (file-size-human-readable): New function.
18519
18520 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18521 computing the representation inline. Don't require `cl'.
18522
18523 2011-04-08 Glenn Morris <rgm@gnu.org>
18524
18525 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18526
18527 * net/browse-url.el (browse-url-firefox):
18528 Test system-type, not system-configuration.
18529
18530 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18531 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18532 Use log-edit-empty-buffer-p. (Bug#7598)
18533
18534 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18535 (rlogin-mode-map): Initialize in the defvar.
18536 (rlogin): Use ignore-errors.
18537
18538 * replace.el (occur-mode-map): Some fixes for menu items.
18539
18540 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18541
18542 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18543
18544 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18545
18546 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18547 issuing unused warnings.
18548
18549 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18550 macro directly.
18551
18552 * simple.el: Lisp reimplement of list-processes. Based on an
18553 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18554 (process-menu-mode): New major mode.
18555 (list-processes--refresh, list-processes):
18556 (process-menu-visit-buffer): New functions.
18557
18558 * files.el (save-buffers-kill-emacs): Don't assume any return
18559 value of list-processes, which is undocumented anyway.
18560
18561 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
18562
18563 * emacs-lisp/tabulated-list.el: New file.
18564
18565 * emacs-lisp/package.el: Use Tabulated List mode.
18566 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18567 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18568 table format using Tabulated List mode variables.
18569 (package--push): New macro, replacing package-list-maybe-add.
18570 (package-menu--generate): Use package--push. Renamed from
18571 package--generate-package-list.
18572 (package-menu-refresh, list-packages): Use it.
18573 (package-menu--print-info): Rename from package-print-package.
18574 Return insertion data instead of inserting it directly.
18575 (package-menu-describe-package, package-menu-execute):
18576 Use tabulated-list-get-id.
18577 (package-menu-mark-delete, package-menu-mark-install)
18578 (package-menu-mark-unmark, package-menu-backup-unmark)
18579 (package-menu-mark-obsolete-for-deletion):
18580 Use tabulated-list-put-tag.
18581 (package--list-packages, package-menu-revert)
18582 (package-menu-get-package, package-menu-get-version)
18583 (package-menu-sort-by-column): Functions deleted.
18584 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18585 (package-menu--status-predicate, package-menu--version-predicate)
18586 (package-menu--name-predicate)
18587 (package-menu--description-predicate): Handle arguments in the
18588 Tabulated List format.
18589 (package-list-packages-no-fetch): Call list-packages.
18590
18591 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
18592
18593 * files.el (after-find-file-from-revert-buffer): Remove variable.
18594 (after-find-file): Don't bind it.
18595 (revert-buffer-in-progress-p): New variable.
18596 (revert-buffer): Bind it.
18597 Pass nil for `after-find-file-from-revert-buffer'.
18598
18599 * saveplace.el (save-place-find-file-hook): Use new variable
18600 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18601
18602 2011-04-06 Glenn Morris <rgm@gnu.org>
18603
18604 * Makefile.in (AUTOGEN_VCS): New variable.
18605 (autoloads): Use $AUTOGEN_VCS.
18606
18607 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18608 * calendar/calendar.el (calendar-mode-map):
18609 Check for toolkit scroll bars. (Bug#8305)
18610
18611 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18612
18613 * minibuffer.el (completion-in-region--postch)
18614 (completion-in-region-mode): Remove unnecessary messages.
18615
18616 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
18617
18618 * font-lock.el (font-lock-refresh-defaults):
18619 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18620 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18621
18622 * info.el (Info-directory-list, Info-read-node-name-2)
18623 (Info-split-parameter-string): Doc fixes.
18624 (Info-virtual-nodes): Reflow docstring.
18625 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18626 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18627 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18628 Fix typos in docstrings.
18629 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18630 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18631 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18632 (Info-restore-desktop-buffer): Mark unused parameters.
18633 (Info-directory-find-file, Info-directory-find-node)
18634 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18635 (Info-virtual-index-find-node, Info-apropos-find-file)
18636 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18637 Mark unused parameters; fix typos in docstrings.
18638 (Info-virtual-index): Remove unused local variable `nodename'.
18639
18640 2011-04-05 Deniz Dogan <deniz@dogan.se>
18641
18642 * net/rcirc.el: Update my e-mail address.
18643 (rcirc-mode-map): Remove M-o binding.
18644
18645 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18646
18647 * startup.el (command-line): Save the cursor's theme-face
18648 directly, instead of using face-override-spec.
18649
18650 * custom.el (load-theme): Minor optimization in assigning faces.
18651
18652 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18653
18654 * help-fns.el (describe-variable): Complete all variables having
18655 documentation, including keywords.
18656 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18657
18658 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18659
18660 Convert to lexical-binding.
18661
18662 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18663 (bs--get-marked-string, bs--get-modified-string)
18664 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18665 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18666 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18667
18668 * ehelp.el (electric-help-execute-extended)
18669 (electric-help-ctrl-x-prefix):
18670 * hexl.el (hexl-revert-buffer-function):
18671 * linum.el (linum-after-change, linum-after-scroll):
18672 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18673
18674 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18675
18676 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18677
18678 * epa-dired.el:
18679 * epa-mail.el:
18680 * epa-hook.el:
18681 * epa-file.el:
18682 * epa.el:
18683 * epg.el: Use lexical binding.
18684
18685 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18686
18687 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18688
18689 * textmodes/flyspell.el (flyspell-word): Recognize default
18690 dictionary case for flyspell-mark-duplications-exceptions.
18691 Use regexp matching for languages.
18692 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18693 default dictionary (Bug#7926).
18694
18695 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18696
18697 * emacs-lisp/package.el (package--with-work-buffer):
18698 Recognize https URLs.
18699
18700 * net/network-stream.el: Move from gnus/proto-stream.el.
18701 Change prefix to network-stream throughout.
18702 (open-protocol-stream): Merge into open-network-stream, leaving
18703 open-protocol-stream as an alias. Handle nil BUFFER args.
18704
18705 * subr.el (open-network-stream): Move to net/network-stream.el.
18706
18707 2011-04-02 Glenn Morris <rgm@gnu.org>
18708
18709 * find-dired.el (find-exec-terminator): New option.
18710 (find-ls-option): Test for -ls support.
18711 (find-ls-subdir-switches): Test for -b in find-ls-option.
18712 (find-dired, find-grep-dired): Doc fixes.
18713 (find-dired): Use find-exec-terminator.
18714
18715 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18716 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18717 (find-name-arg): Remove purecopy.
18718
18719 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18720 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18721 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18722 accordingly. Don't add the null-device if not needed.
18723
18724 * files.el (save-some-buffers): Doc fix.
18725
18726 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18727
18728 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18729
18730 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18731
18732 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18733 Use `dolist' rather than `mapcar'.
18734
18735 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18736
18737 Add lexical binding.
18738
18739 * subr.el (apply-partially): Use new closures rather than CL.
18740 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18741 (dolist, dotimes): Use slightly different expansion for lexical code.
18742 (functionp): Move to C.
18743 (letrec): New macro.
18744 (with-wrapper-hook): Use it and apply-partially instead of CL.
18745 (eval-after-load): Preserve lexical-binding.
18746 (save-window-excursion, with-output-to-temp-buffer): Turn them
18747 into macros.
18748
18749 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18750
18751 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18752 than the arglist.
18753 (help-add-fundoc-usage): Don't add `Not documented'.
18754 (help-function-arglist): Handle closures, subroutines, and new
18755 byte-code-functions.
18756 (help-make-usage): Remove leading underscores.
18757 (describe-function-1): Handle closures.
18758 (describe-variable): Use special-variable-p for completion.
18759
18760 * files.el (lexical-binding): Declare safe.
18761
18762 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18763 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18764 (pcase): Add `let' pattern.
18765 Change memoization so it actually works.
18766 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18767 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18768 <let>: New case.
18769
18770 * emacs-lisp/macroexp.el: Use lexical binding.
18771 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18772 Don't convert ' to #' without checking that it's indeed quoting
18773 a lambda.
18774
18775 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18776 Use eval-sexp-add-defvars.
18777 (eval-sexp-add-defvars): New fun.
18778
18779 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18780
18781 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18782 Don't autoload.
18783 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18784 than the internal `byte-compile-lambda'.
18785 (defmethod): Don't hide code under quotes.
18786 (eieio-defmethod): New `code' argument.
18787
18788 * emacs-lisp/eieio-comp.el: Remove.
18789
18790 * emacs-lisp/edebug.el (edebug-eval-defun)
18791 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18792 (edebug-toggle): Avoid `eval'.
18793
18794 * emacs-lisp/disass.el (disassemble-internal): Handle new
18795 `closure' objects.
18796 (disassemble-1): Handle new byte codes.
18797
18798 * emacs-lisp/cl.el (pushnew): Silence warning.
18799
18800 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18801 (cl-byte-compile-throw): Remove.
18802 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18803
18804 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18805 closures.
18806
18807 * emacs-lisp/cconv.el: New file.
18808
18809 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18810 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18811 (byte-compile-initial-macro-environment):
18812 Handle declare-function here.
18813 (byte-compile--lexical-environment): New var.
18814 (byte-stack-ref, byte-stack-set, byte-discardN)
18815 (byte-discardN-preserve-tos): New lap codes.
18816 (byte-interactive-p): Don't use any more.
18817 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18818 New macros.
18819 (byte-compile-lapcode): Use them and handle new lap codes.
18820 (byte-compile-obsolete): Remove.
18821 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18822 (byte-compile-arglist-warn): Check late def of inlinable funs.
18823 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18824 since they should have been expanded by now.
18825 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18826 (byte-compile-from-buffer): Remove unused second arg.
18827 (byte-compile-preprocess): New function.
18828 (byte-compile-toplevel-file-form): New function to distinguish
18829 file-form calls from outside from file-form calls from hunk-handlers.
18830 (byte-compile-file-form): Simplify.
18831 (byte-compile-file-form-defsubst): Remove.
18832 (byte-compile-file-form-defmumble): Simplify now that
18833 byte-compile-lambda always returns a byte-code-function.
18834 (byte-compile): Preprocess.
18835 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18836 Remove, not used any more.
18837 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18838 (byte-compile-make-args-desc): New funs.
18839 (byte-compile-lambda): Handle lexical functions. Always return
18840 a byte-code-function.
18841 (byte-compile-reserved-constants): New var, to make up room for
18842 closed-over variables.
18843 (byte-compile-constants-vector): Obey it.
18844 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18845 (byte-compile-macroexpand-declare-function): New function.
18846 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18847 byte-code-functions.
18848 (byte-compile-form): Check obsolescence here.
18849 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18850 (byte-compile-variable-ref): Remove.
18851 (byte-compile-dynamic-variable-op): New fun.
18852 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18853 (byte-compile-variable-set): New funs.
18854 (byte-compile-discard): Add 2 args.
18855 (byte-compile-stack-ref, byte-compile-stack-set)
18856 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18857 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18858 macroexpand-all instead.
18859 (byte-compile-quote-form): Remove.
18860 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18861 (byte-compile-bind, byte-compile-unbind): New funs.
18862 (byte-compile-let): Handle let* and lexical binding.
18863 (byte-compile-let*): Remove.
18864 (byte-compile-catch, byte-compile-unwind-protect)
18865 (byte-compile-track-mouse, byte-compile-condition-case):
18866 Handle a new :fun-body form, used for lexical scoping.
18867 (byte-compile-save-window-excursion)
18868 (byte-compile-with-output-to-temp-buffer): Remove.
18869 (byte-compile-defun): Simplify.
18870 (byte-compile-stack-adjustment): New fun.
18871 (byte-compile-out): Use it.
18872 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18873
18874 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18875 handler any more.
18876
18877 * emacs-lisp/byte-opt.el: Use lexical binding.
18878 (byte-inline-lapcode): Remove (to bytecomp).
18879 (byte-compile-inline-expand): Pay attention to inlining to/from
18880 lexically bound code.
18881 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18882 any more.
18883 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18884 any more and don't call compiler-macros.
18885 (byte-compile-splice-in-already-compiled-code): Remove.
18886 (byte-code): Don't inline any more.
18887 (disassemble-offset): Receive `bytes' as argument rather than via
18888 dynamic scoping.
18889 (byte-compile-tag-number): Declare before first use.
18890 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18891 `return' even if make-spliceable.
18892 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18893 obsolete interactive-p.
18894 (byte-optimize-lapcode): Optimize new lap-codes.
18895 Don't trip up on new form of `byte-constant' lap code.
18896
18897 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18898
18899 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18900
18901 * custom.el (custom-initialize-default, custom-declare-variable):
18902 Use `defvar'.
18903
18904 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18905 New variables.
18906 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18907 (COMPILE_FIRST): Add macroexp and cconv.
18908 * makefile.w32-in: Mirror changes in Makefile.in.
18909
18910 * vc/cvs-status.el:
18911 * vc/diff-mode.el:
18912 * vc/log-edit.el:
18913 * vc/log-view.el:
18914 * vc/smerge-mode.el:
18915 * textmodes/bibtex-style.el:
18916 * textmodes/css-mode.el:
18917 * startup.el:
18918 * uniquify.el:
18919 * minibuffer.el:
18920 * newcomment.el:
18921 * reveal.el:
18922 * server.el:
18923 * mpc.el:
18924 * emacs-lisp/smie.el:
18925 * doc-view.el:
18926 * dired.el:
18927 * abbrev.el: Use lexical binding.
18928
18929 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18930
18931 * info.el (info-display-manual): New function.
18932
18933 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18936
18937 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18938
18939 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18940 an entry for that server in rcirc-authinfo. (Bug#8385)
18941
18942 2011-03-31 Glenn Morris <rgm@gnu.org>
18943
18944 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18945
18946 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18947
18948 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18949
18950 * progmodes/python.el (python-default-interpreter)
18951 (python-python-command-args, python-jython-command-args)
18952 (python-which-shell, python-which-args, python-which-bufname)
18953 (python-file-queue, python-comint-output-filter-function)
18954 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18955 variables and functions.
18956
18957 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18958
18959 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18960 (completion-in-region-mode): New minor mode.
18961 (completion-in-region): Use it.
18962 (completion-in-region--data, completion-in-region-mode-map): New vars.
18963 (completion-in-region--postch): New function.
18964 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18965 New vars.
18966 (completion--capf-wrapper): New function.
18967 (completion-at-point): Use it to track well-behavedness of
18968 hook functions.
18969 (completion-help-at-point): New command.
18970
18971 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18972
18973 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18974 syntax class to search for whitespace on a single line
18975 (Message-ID: <4D938140.4030905@redhat.com>).
18976
18977 2011-03-30 Leo Liu <sdl.web@gmail.com>
18978
18979 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18980 New commands.
18981 (edit-abbrevs-map): Bind them here.
18982 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18983
18984 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18985
18986 * allout.el (allout-hide-by-annotation, allout-flag-region):
18987 Reduce possibility of overlay leakage by making them volatile.
18988
18989 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18990 hash is not shared between buffers. Mode initialization is
18991 responsible for giving it a useful starting value.
18992 (allout-item-span): Reduce possibility of overlay leakage by
18993 making them volatile.
18994 (allout-widgets-count-buttons-in-region): Add diagnostic function
18995 for tracking down button overlay leaks.
18996
18997 2011-03-29 Leo Liu <sdl.web@gmail.com>
18998
18999 * ido.el (ido-read-internal): Use the default history var
19000 minibuffer-history if no HISTORY is specified.
19001
19002 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19003
19004 * net/imap.el (imap-shell-open, imap-process-connection-type):
19005 Use imap-process-connection-type for 'shell' streams as well as
19006 Kerberos, SSL, other subprocesses.
19007
19008 2011-03-28 Leo Liu <sdl.web@gmail.com>
19009
19010 * abbrev.el (abbrev-table-empty-p): New function.
19011 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19012 nonempty ones. (Bug#5937)
19013
19014 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19015
19016 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19017
19018 2011-03-27 Leo Liu <sdl.web@gmail.com>
19019
19020 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19021 for foreground and background colors.
19022 (ansi-color-make-color-map): Adapt.
19023
19024 2011-03-25 Leo Liu <sdl.web@gmail.com>
19025
19026 * midnight.el (midnight-time-float): Remove. Note it calculates
19027 the microsecond component incorrectly and seconds-to-time does the
19028 same job.
19029 Remove redundant (require 'timer).
19030
19031 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19032 (ido-completions): Remove unused arguments. (Bug#8329)
19033
19034 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19035
19036 * minibuffer.el (completion--flush-all-sorted-completions):
19037 Remove itself from hook.
19038 (completion-at-point): Let the functions perform the completion
19039 immediately and return nil or t.
19040 * comint.el (comint-dynamic-complete-functions): Now identical to
19041 completion-at-point-functions.
19042 (comint-dynamic-list-input-ring): Remove unused var `index'.
19043 (comint--match-partial-filename, comint--unquote&expand-filename):
19044 New funs, split from comint-match-partial-filename.
19045 (comint-dynamic-complete): Use completion-at-point.
19046 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19047
19048 2011-03-24 Drew Adams <drew.adams@oracle.com>
19049
19050 * thingatpt.el: Support `defun'.
19051
19052 2011-03-23 Leo Liu <sdl.web@gmail.com>
19053
19054 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19055
19056 * help-mode.el (help-mode-finish): Tweak regexp.
19057
19058 2011-03-23 Glenn Morris <rgm@gnu.org>
19059
19060 * eshell/esh-opt.el (eshell-eval-using-options):
19061 Do not bind unused local variable `eshell-option-stub'.
19062
19063 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19064
19065 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19066
19067 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19068 keymap variable in `with-no-warnings' to avoid a warning when the
19069 keymap has been already `defconst'ed.
19070
19071 2011-03-22 Leo Liu <sdl.web@gmail.com>
19072
19073 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19074 encode all chars in abbrevs; otherwise use emacs-mule or
19075 utf-8-emacs. (Bug#8308)
19076
19077 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19078
19079 * simple.el (backward-delete-char-untabify):
19080 Avoid warning about using `delete-backward-char'.
19081
19082 * image.el (image-type-file-name-regexps): Make it variable.
19083 `imagemagick-register-types' modifies it, and the user may want
19084 to add new extensions for known image types.
19085 (imagemagick-register-types): Throw error if not using ImageMagick.
19086
19087 2011-03-22 Leo Liu <sdl.web@gmail.com>
19088
19089 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19090 located before rcirc-prompt-end-marker.
19091 (rcirc-complete): Error if point is not after rcirc prompt.
19092 Handle the case when table is nil.
19093 (rcirc-user-authenticated): Define to fix compiler warning.
19094
19095 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19096
19097 * custom.el (custom--inhibit-theme-enable): Make it affect only
19098 custom-theme-set-variables and custom-theme-set-faces.
19099 (provide-theme): Ignore custom--inhibit-theme-enable.
19100 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19101 (custom-enabling-themes): Delete variable.
19102 (enable-theme): Accept only loaded themes as arguments.
19103 Ignore the special custom-enabled-themes variable.
19104 (custom-enabled-themes): Forbid themes from setting this.
19105 Eliminate use of custom-enabling-themes.
19106 (custom-push-theme): Quote "changed" custom var entry.
19107
19108 2011-03-21 Leo Liu <sdl.web@gmail.com>
19109
19110 * ido.el (ido-read-internal): Add ido-selected to history instead
19111 of user input.
19112
19113 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19114
19115 * subr.el (deferred-action-list, deferred-action-function):
19116 Mark obsolete.
19117
19118 2011-03-21 Leo Liu <sdl.web@gmail.com>
19119
19120 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19121 change on 2011-02-13 (bug#8309).
19122
19123 * minibuffer.el (read-file-name-function): Change default value.
19124 (read-file-name--defaults): Rename from read-file-name-defaults.
19125 (read-file-name-default): Rename from read-file-name.
19126 (read-file-name): Call read-file-name-function.
19127
19128 2011-03-21 Glenn Morris <rgm@gnu.org>
19129
19130 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19131 Doc fixes.
19132
19133 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19134
19135 * cus-theme.el: Add missing provide statement.
19136 (customize-create-theme): Extract theme value correctly.
19137 (custom-theme-visit-theme): Autoload.
19138 (customize-create-theme): Prompt before inserting default faces.
19139
19140 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19141
19142 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19143 units and musical notes.
19144
19145 2011-03-20 Leo Liu <sdl.web@gmail.com>
19146
19147 * ido.el (ido-read-internal): Use completing-read-default.
19148 (ido-completing-read): Fix compatibility with completing-read.
19149
19150 2011-03-20 Christian Ohler <ohler@gnu.org>
19151
19152 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19153 (ert-delete-all-tests): Use `called-interactively-p' rather than
19154 `interactive-p'.
19155 (ert--make-xrefs-region): Respect END.
19156
19157 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19158
19159 * dired-aux.el (dired-create-directory): Signal an error if the
19160 directory already exists (Bug#8246).
19161
19162 * facemenu.el (list-colors-display): Call list-faces-display
19163 inside with-help-window.
19164 (list-colors-print): Use display property to align the final
19165 column, instead of checking window-width.
19166
19167 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19168
19169 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19170 windows-nt systems.
19171 (emerge-protect-metachars): Quote correctly for ms-dos and
19172 windows-nt systems.
19173
19174 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19175
19176 * info.el (info-initialize): Replace all uses of `:' with
19177 path-separator for compatibility with non-Unix systems.
19178 Cache quoting of path-separator. (Bug#8258)
19179
19180 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19181
19182 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19183 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19184 (mouse-avoidance-mode): Fix typos in docstrings.
19185
19186 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19187
19188 * startup.el (package-subdirectory-regexp): Move from package.el.
19189 Omit \\` and \\', and let callers add them.
19190
19191 * emacs-lisp/package.el (package-strip-version)
19192 (package-load-all-descriptors): Add \\` and \\' to
19193 package-subdirectory-regexp before using it.
19194 (package-untar-buffer): New arg DIR; ensure that file untars only
19195 into this expected directory. Remove superfluous delete-region.
19196 (package-unpack): Caller changed.
19197 (package-tar-file-info): Use package-subdirectory-regexp.
19198
19199 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19200
19201 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19202 diff-mode-shared-map (bug#8284).
19203 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19204
19205 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19206
19207 * calendar/time-date.el (format-seconds): Use assoc instead of
19208 assoc-string, since assoc-string doesn't exist in XEmacs.
19209
19210 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19211
19212 * custom.el (custom-known-themes): Reflow docstring.
19213 (custom-theme-load-path): Fix typo in docstring.
19214 (load-theme): Fix typo in error message.
19215 (custom-available-themes, custom-variable-theme-value):
19216 Use `let', not `let*'.
19217
19218 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19219
19220 * calc/README: Mention inclusion of musical notes.
19221
19222 * calc/calc-units.el (calc-lu-quant): Rename from
19223 `calc-logunits-quantity'.
19224 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19225 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19226 (calc-db): Rename from `calc-dblevel'.
19227 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19228 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19229 (calc-np): Rename from `calc-nplevel'.
19230 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19231 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19232 (calc-lu-plus): Rename from `calc-logunits-add'.
19233 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19234 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19235 (calc-lu-minus): Rename from `calc-logunits-sub'.
19236 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19237 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19238 (calc-lu-times): Rename from `calc-logunits-mul'.
19239 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19240 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19241 (calc-lu-divide): Rename from `calc-logunits-div'.
19242 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19243 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19244
19245 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19246 functions being autoloaded.
19247
19248 * calc/calc.el (calc-lu-power-reference): Rename from
19249 `calc-logunits-power-reference'.
19250 (calc-lu-field-reference): Rename from
19251 `calc-logunits-field-reference'.
19252
19253 * calc/calc-help.el (calc-l-prefix-help):
19254 Mention musical note functions.
19255
19256 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19257
19258 * minibuffer.el (completion-all-sorted-completions):
19259 Use :completion-cycle-penalty text property if present.
19260
19261 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19262
19263 * allout.el (allout-yank-processing): Adjust for new rebulleting
19264 regime so bullet being yanked is used without prompting the user
19265 for a choice.
19266
19267 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19268
19269 * startup.el (command-line): Warn the user that _emacs is deprecated.
19270
19271 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
19272
19273 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19274 (delphi-verbose, delphi-comment-face, delphi-string-face)
19275 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19276 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19277 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19278 (delphi-new-comment-line, delphi-font-lock-defaults)
19279 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19280 Fix typos in docstrings.
19281
19282 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19283
19284 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19285 Invert the roles of character and string values for INSTEAD, so a
19286 string is used for the more common case of a defaulting prompt.
19287
19288 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19289
19290 * progmodes/ruby-mode.el (ruby-backward-sexp):
19291 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19292 * play/gamegrid.el (gamegrid-make-face):
19293 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19294 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19295 * notifications.el (notifications-notify):
19296 * net/xesam.el (xesam-search-engines):
19297 * net/quickurl.el (quickurl-list-insert):
19298 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19299
19300 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
19301
19302 * startup.el (command-line): Update package subdirectory regexp.
19303
19304 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19305
19306 * allout.el (allout-abbreviate-flattened-numbering)
19307 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19308
19309 * subr.el (read-char-choice): Only show the cursor after the prompt,
19310 not after the answer.
19311
19312 2011-03-15 Kevin Ryde <user42@zip.com.au>
19313
19314 * help-fns.el (variable-at-point): Skip leading quotes, if any
19315 (bug#8253).
19316
19317 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19318
19319 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19320 warning message.
19321
19322 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
19323
19324 * shell.el (shell): When called interactively, offer to change the
19325 shell file name on remote hosts.
19326
19327 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19328
19329 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19330 integration for LDAP parameters. The host, base, user or binddn,
19331 and secret tokens can be specified in a netrc file, for instance.
19332 This is optional because an `auth-source' parameter must be
19333 specified in the search attributes.
19334
19335 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
19336
19337 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19338
19339 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19340
19341 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19342 into declaration. Remove redundant and harmful binding.
19343
19344 2011-03-12 Eli Zaretskii <eliz@gnu.org>
19345
19346 * files.el (file-ownership-preserved-p): Pass `integer' as an
19347 explicit 2nd argument to `file-attributes'. If the file's owner
19348 is the Administrators group on Windows, and the current user is
19349 Administrator, consider that a match.
19350
19351 * server.el (server-ensure-safe-dir): Consider server directory
19352 safe on MS-Windows if its owner is the Administrators group while
19353 the current Emacs user is Administrator. Use `=' to compare
19354 numerical UIDs, since they could be integers or floats.
19355
19356 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
19357
19358 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19359
19360 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
19361
19362 Sync with Tramp 2.2.1.
19363
19364 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19365
19366 * net/trampver.el: Update release number.
19367
19368 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19369
19370 * progmodes/compile.el (compilation--previous-directory): Fix up
19371 various nil/dead-marker mismatches (bug#8014).
19372 (compilation-directory-properties, compilation-error-properties):
19373 Don't call it at a position past the one we're about to change.
19374
19375 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19376 Disable obsolescence warnings in the file that declares it.
19377
19378 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19379
19380 * allout-widgets.el (allout-widgets-tally):
19381 Initialize allout-widgets-tally as a hash table rather than nil to
19382 prevent mode-line redisplay warnings. Also, clarify the module
19383 description and fix a comment typo.
19384
19385 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
19386
19387 * help-fns.el (describe-variable): Don't complete keywords.
19388 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19389
19390 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
19391
19392 * emacs-lisp/package.el (package-version-join): Impose a standard
19393 string representation for pre/alpha/beta version lists.
19394 (package-unpack-single): Standardize the directory name by passing
19395 it through package-version-join.
19396 (package-strip-rcs-id): Accept any version string that does not
19397 signal an error in version-to-list.
19398
19399 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
19400
19401 * simple.el (delete-trailing-whitespace): Return nil for the
19402 benefit of `write-file-functions'.
19403
19404 2011-03-10 Glenn Morris <rgm@gnu.org>
19405
19406 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19407
19408 * vc/vc-git.el (vc-git-program): New option.
19409 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19410 (vc-git--call): Use it.
19411
19412 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19413
19414 * cus-edit.el (Custom-newline): If no button at point, look
19415 for a subgroup button at start-of-line. (Bug#2298)
19416
19417 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19418
19419 2011-03-10 Julien Danjou <julien@danjou.info>
19420
19421 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19422 `cursor-type' is nil.
19423
19424 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19425
19426 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19427
19428 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19429
19430 * allout.el: Change so yank of distinctive-bullet items
19431 preserves the existing header prefix, rebulleting it if necessary,
19432 rather than replacing it. This is necessary for proper operation
19433 of cooperative addons like allout-widgets.
19434 (allout-make-topic-prefix, allout-rebullet-heading):
19435 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19436 value as alternate bullet to be used, instead of prompting the user
19437 for a bullet character.
19438
19439 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
19440
19441 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19442 Do not use `tramp-file-name-port', because this returns also
19443 `tramp-default-port'.
19444
19445 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19446
19447 * net/rcirc.el (rcirc-handler-001): Remove useless
19448 with-rcirc-process-buffer.
19449 (rcirc-check-auth-status): Swap arguments to string-match.
19450
19451 2011-03-09 Glenn Morris <rgm@gnu.org>
19452
19453 * shell.el (shell-mode):
19454 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19455
19456 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19457 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19458
19459 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19460
19461 * emacs-lisp/package.el (package-refresh-contents)
19462 (package-menu-execute): Use condition-case-no-debug.
19463
19464 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
19465
19466 * simple.el (shell-command-to-string): Use `process-file'.
19467
19468 * emacs-lisp/package.el (package-tar-file-info): Handle also
19469 remote files.
19470
19471 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19472 Use `equal' for upload base check.
19473
19474 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19475
19476 * textmodes/texinfo.el (texinfo-environments):
19477 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19478
19479 2011-03-08 Glenn Morris <rgm@gnu.org>
19480
19481 * cus-start.el (cursor-in-non-selected-windows):
19482 Fix :set quoting oddness. (Bug#8192)
19483
19484 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19485 in some setf expressions. (Bug#2159)
19486
19487 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
19488
19489 * custom.el (custom-available-themes): Return themes in
19490 alphabetical order.
19491
19492 See ChangeLog.15 for earlier changes.
19493
19494 ;; Local Variables:
19495 ;; coding: utf-8
19496 ;; End:
19497
19498 Copyright (C) 2011-2012 Free Software Foundation, Inc.
19499
19500 This file is part of GNU Emacs.
19501
19502 GNU Emacs is free software: you can redistribute it and/or modify
19503 it under the terms of the GNU General Public License as published by
19504 the Free Software Foundation, either version 3 of the License, or
19505 (at your option) any later version.
19506
19507 GNU Emacs is distributed in the hope that it will be useful,
19508 but WITHOUT ANY WARRANTY; without even the implied warranty of
19509 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19510 GNU General Public License for more details.
19511
19512 You should have received a copy of the GNU General Public License
19513 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.